googlebooks.pp 366 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378
  1. unit googlebooks;
  2. {$MODE objfpc}
  3. {$H+}
  4. interface
  5. uses sysutils, classes, googleservice, restbase, googlebase;
  6. type
  7. //Top-level schema types
  8. TAnnotation = Class;
  9. TAnnotationdata = Class;
  10. TAnnotations = Class;
  11. TAnnotationsSummary = Class;
  12. TAnnotationsdata = Class;
  13. TBooksAnnotationsRange = Class;
  14. TBooksCloudloadingResource = Class;
  15. TBooksVolumesRecommendedRateResponse = Class;
  16. TBookshelf = Class;
  17. TBookshelves = Class;
  18. TCategory = Class;
  19. TConcurrentAccessRestriction = Class;
  20. TDictlayerdata = Class;
  21. TDiscoveryclusters = Class;
  22. TDownloadAccessRestriction = Class;
  23. TDownloadAccesses = Class;
  24. TGeolayerdata = Class;
  25. TLayersummaries = Class;
  26. TLayersummary = Class;
  27. TMetadata = Class;
  28. TNotification = Class;
  29. TOffers = Class;
  30. TReadingPosition = Class;
  31. TRequestAccess = Class;
  32. TReview = Class;
  33. TSeries = Class;
  34. TSeriesmembership = Class;
  35. TUsersettings = Class;
  36. TVolume = Class;
  37. TVolume2 = Class;
  38. TVolumeannotation = Class;
  39. TVolumeannotations = Class;
  40. TVolumes = Class;
  41. TVolumeseriesinfo = Class;
  42. TAnnotationArray = Array of TAnnotation;
  43. TAnnotationdataArray = Array of TAnnotationdata;
  44. TAnnotationsArray = Array of TAnnotations;
  45. TAnnotationsSummaryArray = Array of TAnnotationsSummary;
  46. TAnnotationsdataArray = Array of TAnnotationsdata;
  47. TBooksAnnotationsRangeArray = Array of TBooksAnnotationsRange;
  48. TBooksCloudloadingResourceArray = Array of TBooksCloudloadingResource;
  49. TBooksVolumesRecommendedRateResponseArray = Array of TBooksVolumesRecommendedRateResponse;
  50. TBookshelfArray = Array of TBookshelf;
  51. TBookshelvesArray = Array of TBookshelves;
  52. TCategoryArray = Array of TCategory;
  53. TConcurrentAccessRestrictionArray = Array of TConcurrentAccessRestriction;
  54. TDictlayerdataArray = Array of TDictlayerdata;
  55. TDiscoveryclustersArray = Array of TDiscoveryclusters;
  56. TDownloadAccessRestrictionArray = Array of TDownloadAccessRestriction;
  57. TDownloadAccessesArray = Array of TDownloadAccesses;
  58. TGeolayerdataArray = Array of TGeolayerdata;
  59. TLayersummariesArray = Array of TLayersummaries;
  60. TLayersummaryArray = Array of TLayersummary;
  61. TMetadataArray = Array of TMetadata;
  62. TNotificationArray = Array of TNotification;
  63. TOffersArray = Array of TOffers;
  64. TReadingPositionArray = Array of TReadingPosition;
  65. TRequestAccessArray = Array of TRequestAccess;
  66. TReviewArray = Array of TReview;
  67. TSeriesArray = Array of TSeries;
  68. TSeriesmembershipArray = Array of TSeriesmembership;
  69. TUsersettingsArray = Array of TUsersettings;
  70. TVolumeArray = Array of TVolume;
  71. TVolume2Array = Array of TVolume2;
  72. TVolumeannotationArray = Array of TVolumeannotation;
  73. TVolumeannotationsArray = Array of TVolumeannotations;
  74. TVolumesArray = Array of TVolumes;
  75. TVolumeseriesinfoArray = Array of TVolumeseriesinfo;
  76. //Anonymous types, using auto-generated names
  77. TAnnotationTypeclientVersionRanges = Class;
  78. TAnnotationTypecurrentVersionRanges = Class;
  79. TAnnotationTypelayerSummary = Class;
  80. TAnnotationsSummaryTypelayersItem = Class;
  81. TCategoryTypeitemsItem = Class;
  82. TDictlayerdataTypecommon = Class;
  83. TDictlayerdataTypedictTypesource = Class;
  84. TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource = Class;
  85. TDictlayerdataTypedictTypewordsItemTypederivativesItem = Class;
  86. TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource = Class;
  87. TDictlayerdataTypedictTypewordsItemTypeexamplesItem = Class;
  88. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem = Class;
  89. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource = Class;
  90. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem = Class;
  91. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem = Class;
  92. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource = Class;
  93. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource = Class;
  94. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem = Class;
  95. TDictlayerdataTypedictTypewordsItemTypesensesItem = Class;
  96. TDictlayerdataTypedictTypewordsItemTypesource = Class;
  97. TDictlayerdataTypedictTypewordsItem = Class;
  98. TDictlayerdataTypedict = Class;
  99. TDiscoveryclustersTypeclustersItemTypebanner_with_content_container = Class;
  100. TDiscoveryclustersTypeclustersItem = Class;
  101. TGeolayerdataTypecommon = Class;
  102. TGeolayerdataTypegeoTypeboundaryItemItem = Class;
  103. TGeolayerdataTypegeoTypeviewportTypehi = Class;
  104. TGeolayerdataTypegeoTypeviewportTypelo = Class;
  105. TGeolayerdataTypegeoTypeviewport = Class;
  106. TGeolayerdataTypegeo = Class;
  107. TMetadataTypeitemsItem = Class;
  108. TOffersTypeitemsItemTypeitemsItem = Class;
  109. TOffersTypeitemsItem = Class;
  110. TReviewTypeauthor = Class;
  111. TReviewTypesource = Class;
  112. TSeriesTypeseriesItem = Class;
  113. TUsersettingsTypenotesExport = Class;
  114. TUsersettingsTypenotificationTypemoreFromAuthors = Class;
  115. TUsersettingsTypenotification = Class;
  116. TVolumeTypeaccessInfoTypeepub = Class;
  117. TVolumeTypeaccessInfoTypepdf = Class;
  118. TVolumeTypeaccessInfo = Class;
  119. TVolumeTypelayerInfoTypelayersItem = Class;
  120. TVolumeTypelayerInfo = Class;
  121. TVolumeTyperecommendedInfo = Class;
  122. TVolumeTypesaleInfoTypelistPrice = Class;
  123. TVolumeTypesaleInfoTypeoffersItemTypelistPrice = Class;
  124. TVolumeTypesaleInfoTypeoffersItemTyperentalDuration = Class;
  125. TVolumeTypesaleInfoTypeoffersItemTyperetailPrice = Class;
  126. TVolumeTypesaleInfoTypeoffersItem = Class;
  127. TVolumeTypesaleInfoTyperetailPrice = Class;
  128. TVolumeTypesaleInfo = Class;
  129. TVolumeTypesearchInfo = Class;
  130. TVolumeTypeuserInfoTypecopy = Class;
  131. TVolumeTypeuserInfoTypefamilySharing = Class;
  132. TVolumeTypeuserInfoTyperentalPeriod = Class;
  133. TVolumeTypeuserInfoTypeuserUploadedVolumeInfo = Class;
  134. TVolumeTypeuserInfo = Class;
  135. TVolumeTypevolumeInfoTypedimensions = Class;
  136. TVolumeTypevolumeInfoTypeimageLinks = Class;
  137. TVolumeTypevolumeInfoTypeindustryIdentifiersItem = Class;
  138. TVolumeTypevolumeInfo = Class;
  139. TVolumeannotationTypecontentRanges = Class;
  140. TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem = Class;
  141. TVolumeseriesinfoTypevolumeSeriesItem = Class;
  142. TAnnotationsTypeitemsArray = Array of TAnnotation;
  143. TAnnotationsSummaryTypelayersArray = Array of TAnnotationsSummaryTypelayersItem;
  144. TAnnotationsdataTypeitemsArray = Array of TAnnotationdata;
  145. TBookshelvesTypeitemsArray = Array of TBookshelf;
  146. TCategoryTypeitemsArray = Array of TCategoryTypeitemsItem;
  147. TDictlayerdataTypedictTypewordsItemTypederivativesArray = Array of TDictlayerdataTypedictTypewordsItemTypederivativesItem;
  148. TDictlayerdataTypedictTypewordsItemTypeexamplesArray = Array of TDictlayerdataTypedictTypewordsItemTypeexamplesItem;
  149. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsArray = Array of TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem;
  150. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesArray = Array of TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem;
  151. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsArray = Array of TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem;
  152. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsArray = Array of TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem;
  153. TDictlayerdataTypedictTypewordsItemTypesensesArray = Array of TDictlayerdataTypedictTypewordsItemTypesensesItem;
  154. TDictlayerdataTypedictTypewordsArray = Array of TDictlayerdataTypedictTypewordsItem;
  155. TDiscoveryclustersTypeclustersItemTypevolumesArray = Array of TVolume;
  156. TDiscoveryclustersTypeclustersArray = Array of TDiscoveryclustersTypeclustersItem;
  157. TDownloadAccessesTypedownloadAccessListArray = Array of TDownloadAccessRestriction;
  158. TGeolayerdataTypegeoTypeboundaryItemArray = Array of TGeolayerdataTypegeoTypeboundaryItemItem;
  159. TGeolayerdataTypegeoTypeboundaryArray = Array of TGeolayerdataTypegeoTypeboundaryItemArray;
  160. TLayersummariesTypeitemsArray = Array of TLayersummary;
  161. TMetadataTypeitemsArray = Array of TMetadataTypeitemsItem;
  162. TOffersTypeitemsItemTypeitemsArray = Array of TOffersTypeitemsItemTypeitemsItem;
  163. TOffersTypeitemsArray = Array of TOffersTypeitemsItem;
  164. TSeriesTypeseriesArray = Array of TSeriesTypeseriesItem;
  165. TSeriesmembershipTypememberArray = Array of TVolume;
  166. TVolumeTypelayerInfoTypelayersArray = Array of TVolumeTypelayerInfoTypelayersItem;
  167. TVolumeTypesaleInfoTypeoffersArray = Array of TVolumeTypesaleInfoTypeoffersItem;
  168. TVolumeTypevolumeInfoTypeindustryIdentifiersArray = Array of TVolumeTypevolumeInfoTypeindustryIdentifiersItem;
  169. TVolume2TypeitemsArray = Array of TVolume;
  170. TVolumeannotationsTypeitemsArray = Array of TVolumeannotation;
  171. TVolumesTypeitemsArray = Array of TVolume;
  172. TVolumeseriesinfoTypevolumeSeriesItemTypeissueArray = Array of TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem;
  173. TVolumeseriesinfoTypevolumeSeriesArray = Array of TVolumeseriesinfoTypevolumeSeriesItem;
  174. { --------------------------------------------------------------------
  175. TAnnotationTypeclientVersionRanges
  176. --------------------------------------------------------------------}
  177. TAnnotationTypeclientVersionRanges = Class(TGoogleBaseObject)
  178. Private
  179. FcfiRange : TBooksAnnotationsRange;
  180. FcontentVersion : String;
  181. FgbImageRange : TBooksAnnotationsRange;
  182. FgbTextRange : TBooksAnnotationsRange;
  183. FimageCfiRange : TBooksAnnotationsRange;
  184. Protected
  185. //Property setters
  186. Procedure SetcfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  187. Procedure SetcontentVersion(AIndex : Integer; const AValue : String); virtual;
  188. Procedure SetgbImageRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  189. Procedure SetgbTextRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  190. Procedure SetimageCfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  191. Public
  192. Published
  193. Property cfiRange : TBooksAnnotationsRange Index 0 Read FcfiRange Write SetcfiRange;
  194. Property contentVersion : String Index 8 Read FcontentVersion Write SetcontentVersion;
  195. Property gbImageRange : TBooksAnnotationsRange Index 16 Read FgbImageRange Write SetgbImageRange;
  196. Property gbTextRange : TBooksAnnotationsRange Index 24 Read FgbTextRange Write SetgbTextRange;
  197. Property imageCfiRange : TBooksAnnotationsRange Index 32 Read FimageCfiRange Write SetimageCfiRange;
  198. end;
  199. TAnnotationTypeclientVersionRangesClass = Class of TAnnotationTypeclientVersionRanges;
  200. { --------------------------------------------------------------------
  201. TAnnotationTypecurrentVersionRanges
  202. --------------------------------------------------------------------}
  203. TAnnotationTypecurrentVersionRanges = Class(TGoogleBaseObject)
  204. Private
  205. FcfiRange : TBooksAnnotationsRange;
  206. FcontentVersion : String;
  207. FgbImageRange : TBooksAnnotationsRange;
  208. FgbTextRange : TBooksAnnotationsRange;
  209. FimageCfiRange : TBooksAnnotationsRange;
  210. Protected
  211. //Property setters
  212. Procedure SetcfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  213. Procedure SetcontentVersion(AIndex : Integer; const AValue : String); virtual;
  214. Procedure SetgbImageRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  215. Procedure SetgbTextRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  216. Procedure SetimageCfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  217. Public
  218. Published
  219. Property cfiRange : TBooksAnnotationsRange Index 0 Read FcfiRange Write SetcfiRange;
  220. Property contentVersion : String Index 8 Read FcontentVersion Write SetcontentVersion;
  221. Property gbImageRange : TBooksAnnotationsRange Index 16 Read FgbImageRange Write SetgbImageRange;
  222. Property gbTextRange : TBooksAnnotationsRange Index 24 Read FgbTextRange Write SetgbTextRange;
  223. Property imageCfiRange : TBooksAnnotationsRange Index 32 Read FimageCfiRange Write SetimageCfiRange;
  224. end;
  225. TAnnotationTypecurrentVersionRangesClass = Class of TAnnotationTypecurrentVersionRanges;
  226. { --------------------------------------------------------------------
  227. TAnnotationTypelayerSummary
  228. --------------------------------------------------------------------}
  229. TAnnotationTypelayerSummary = Class(TGoogleBaseObject)
  230. Private
  231. FallowedCharacterCount : integer;
  232. FlimitType : String;
  233. FremainingCharacterCount : integer;
  234. Protected
  235. //Property setters
  236. Procedure SetallowedCharacterCount(AIndex : Integer; const AValue : integer); virtual;
  237. Procedure SetlimitType(AIndex : Integer; const AValue : String); virtual;
  238. Procedure SetremainingCharacterCount(AIndex : Integer; const AValue : integer); virtual;
  239. Public
  240. Published
  241. Property allowedCharacterCount : integer Index 0 Read FallowedCharacterCount Write SetallowedCharacterCount;
  242. Property limitType : String Index 8 Read FlimitType Write SetlimitType;
  243. Property remainingCharacterCount : integer Index 16 Read FremainingCharacterCount Write SetremainingCharacterCount;
  244. end;
  245. TAnnotationTypelayerSummaryClass = Class of TAnnotationTypelayerSummary;
  246. { --------------------------------------------------------------------
  247. TAnnotation
  248. --------------------------------------------------------------------}
  249. TAnnotation = Class(TGoogleBaseObject)
  250. Private
  251. FafterSelectedText : String;
  252. FbeforeSelectedText : String;
  253. FclientVersionRanges : TAnnotationTypeclientVersionRanges;
  254. Fcreated : TDatetime;
  255. FcurrentVersionRanges : TAnnotationTypecurrentVersionRanges;
  256. Fdata : String;
  257. Fdeleted : boolean;
  258. FhighlightStyle : String;
  259. Fid : String;
  260. Fkind : String;
  261. FlayerId : String;
  262. FlayerSummary : TAnnotationTypelayerSummary;
  263. FpageIds : TStringArray;
  264. FselectedText : String;
  265. FselfLink : String;
  266. Fupdated : TDatetime;
  267. FvolumeId : String;
  268. Protected
  269. //Property setters
  270. Procedure SetafterSelectedText(AIndex : Integer; const AValue : String); virtual;
  271. Procedure SetbeforeSelectedText(AIndex : Integer; const AValue : String); virtual;
  272. Procedure SetclientVersionRanges(AIndex : Integer; const AValue : TAnnotationTypeclientVersionRanges); virtual;
  273. Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
  274. Procedure SetcurrentVersionRanges(AIndex : Integer; const AValue : TAnnotationTypecurrentVersionRanges); virtual;
  275. Procedure Setdata(AIndex : Integer; const AValue : String); virtual;
  276. Procedure Setdeleted(AIndex : Integer; const AValue : boolean); virtual;
  277. Procedure SethighlightStyle(AIndex : Integer; const AValue : String); virtual;
  278. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  279. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  280. Procedure SetlayerId(AIndex : Integer; const AValue : String); virtual;
  281. Procedure SetlayerSummary(AIndex : Integer; const AValue : TAnnotationTypelayerSummary); virtual;
  282. Procedure SetpageIds(AIndex : Integer; const AValue : TStringArray); virtual;
  283. Procedure SetselectedText(AIndex : Integer; const AValue : String); virtual;
  284. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  285. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  286. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  287. //2.6.4. bug workaround
  288. {$IFDEF VER2_6}
  289. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  290. {$ENDIF VER2_6}
  291. Public
  292. Published
  293. Property afterSelectedText : String Index 0 Read FafterSelectedText Write SetafterSelectedText;
  294. Property beforeSelectedText : String Index 8 Read FbeforeSelectedText Write SetbeforeSelectedText;
  295. Property clientVersionRanges : TAnnotationTypeclientVersionRanges Index 16 Read FclientVersionRanges Write SetclientVersionRanges;
  296. Property created : TDatetime Index 24 Read Fcreated Write Setcreated;
  297. Property currentVersionRanges : TAnnotationTypecurrentVersionRanges Index 32 Read FcurrentVersionRanges Write SetcurrentVersionRanges;
  298. Property data : String Index 40 Read Fdata Write Setdata;
  299. Property deleted : boolean Index 48 Read Fdeleted Write Setdeleted;
  300. Property highlightStyle : String Index 56 Read FhighlightStyle Write SethighlightStyle;
  301. Property id : String Index 64 Read Fid Write Setid;
  302. Property kind : String Index 72 Read Fkind Write Setkind;
  303. Property layerId : String Index 80 Read FlayerId Write SetlayerId;
  304. Property layerSummary : TAnnotationTypelayerSummary Index 88 Read FlayerSummary Write SetlayerSummary;
  305. Property pageIds : TStringArray Index 96 Read FpageIds Write SetpageIds;
  306. Property selectedText : String Index 104 Read FselectedText Write SetselectedText;
  307. Property selfLink : String Index 112 Read FselfLink Write SetselfLink;
  308. Property updated : TDatetime Index 120 Read Fupdated Write Setupdated;
  309. Property volumeId : String Index 128 Read FvolumeId Write SetvolumeId;
  310. end;
  311. TAnnotationClass = Class of TAnnotation;
  312. { --------------------------------------------------------------------
  313. TAnnotationdata
  314. --------------------------------------------------------------------}
  315. TAnnotationdata = Class(TGoogleBaseObject)
  316. Private
  317. FannotationType : String;
  318. Fdata : TJSONSchema;
  319. Fencoded_data : String;
  320. Fid : String;
  321. Fkind : String;
  322. FlayerId : String;
  323. FselfLink : String;
  324. Fupdated : TDatetime;
  325. FvolumeId : String;
  326. Protected
  327. //Property setters
  328. Procedure SetannotationType(AIndex : Integer; const AValue : String); virtual;
  329. Procedure Setdata(AIndex : Integer; const AValue : TJSONSchema); virtual;
  330. Procedure Setencoded_data(AIndex : Integer; const AValue : String); virtual;
  331. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  332. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  333. Procedure SetlayerId(AIndex : Integer; const AValue : String); virtual;
  334. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  335. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  336. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  337. Public
  338. Published
  339. Property annotationType : String Index 0 Read FannotationType Write SetannotationType;
  340. Property data : TJSONSchema Index 8 Read Fdata Write Setdata;
  341. Property encoded_data : String Index 16 Read Fencoded_data Write Setencoded_data;
  342. Property id : String Index 24 Read Fid Write Setid;
  343. Property kind : String Index 32 Read Fkind Write Setkind;
  344. Property layerId : String Index 40 Read FlayerId Write SetlayerId;
  345. Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
  346. Property updated : TDatetime Index 56 Read Fupdated Write Setupdated;
  347. Property volumeId : String Index 64 Read FvolumeId Write SetvolumeId;
  348. end;
  349. TAnnotationdataClass = Class of TAnnotationdata;
  350. { --------------------------------------------------------------------
  351. TAnnotations
  352. --------------------------------------------------------------------}
  353. TAnnotations = Class(TGoogleBaseObject)
  354. Private
  355. Fitems : TAnnotationsTypeitemsArray;
  356. Fkind : String;
  357. FnextPageToken : String;
  358. FtotalItems : integer;
  359. Protected
  360. //Property setters
  361. Procedure Setitems(AIndex : Integer; const AValue : TAnnotationsTypeitemsArray); virtual;
  362. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  363. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  364. Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
  365. //2.6.4. bug workaround
  366. {$IFDEF VER2_6}
  367. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  368. {$ENDIF VER2_6}
  369. Public
  370. Published
  371. Property items : TAnnotationsTypeitemsArray Index 0 Read Fitems Write Setitems;
  372. Property kind : String Index 8 Read Fkind Write Setkind;
  373. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  374. Property totalItems : integer Index 24 Read FtotalItems Write SettotalItems;
  375. end;
  376. TAnnotationsClass = Class of TAnnotations;
  377. { --------------------------------------------------------------------
  378. TAnnotationsSummaryTypelayersItem
  379. --------------------------------------------------------------------}
  380. TAnnotationsSummaryTypelayersItem = Class(TGoogleBaseObject)
  381. Private
  382. FallowedCharacterCount : integer;
  383. FlayerId : String;
  384. FlimitType : String;
  385. FremainingCharacterCount : integer;
  386. Fupdated : TDatetime;
  387. Protected
  388. //Property setters
  389. Procedure SetallowedCharacterCount(AIndex : Integer; const AValue : integer); virtual;
  390. Procedure SetlayerId(AIndex : Integer; const AValue : String); virtual;
  391. Procedure SetlimitType(AIndex : Integer; const AValue : String); virtual;
  392. Procedure SetremainingCharacterCount(AIndex : Integer; const AValue : integer); virtual;
  393. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  394. Public
  395. Published
  396. Property allowedCharacterCount : integer Index 0 Read FallowedCharacterCount Write SetallowedCharacterCount;
  397. Property layerId : String Index 8 Read FlayerId Write SetlayerId;
  398. Property limitType : String Index 16 Read FlimitType Write SetlimitType;
  399. Property remainingCharacterCount : integer Index 24 Read FremainingCharacterCount Write SetremainingCharacterCount;
  400. Property updated : TDatetime Index 32 Read Fupdated Write Setupdated;
  401. end;
  402. TAnnotationsSummaryTypelayersItemClass = Class of TAnnotationsSummaryTypelayersItem;
  403. { --------------------------------------------------------------------
  404. TAnnotationsSummary
  405. --------------------------------------------------------------------}
  406. TAnnotationsSummary = Class(TGoogleBaseObject)
  407. Private
  408. Fkind : String;
  409. Flayers : TAnnotationsSummaryTypelayersArray;
  410. Protected
  411. //Property setters
  412. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  413. Procedure Setlayers(AIndex : Integer; const AValue : TAnnotationsSummaryTypelayersArray); virtual;
  414. //2.6.4. bug workaround
  415. {$IFDEF VER2_6}
  416. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  417. {$ENDIF VER2_6}
  418. Public
  419. Published
  420. Property kind : String Index 0 Read Fkind Write Setkind;
  421. Property layers : TAnnotationsSummaryTypelayersArray Index 8 Read Flayers Write Setlayers;
  422. end;
  423. TAnnotationsSummaryClass = Class of TAnnotationsSummary;
  424. { --------------------------------------------------------------------
  425. TAnnotationsdata
  426. --------------------------------------------------------------------}
  427. TAnnotationsdata = Class(TGoogleBaseObject)
  428. Private
  429. Fitems : TAnnotationsdataTypeitemsArray;
  430. Fkind : String;
  431. FnextPageToken : String;
  432. FtotalItems : integer;
  433. Protected
  434. //Property setters
  435. Procedure Setitems(AIndex : Integer; const AValue : TAnnotationsdataTypeitemsArray); virtual;
  436. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  437. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  438. Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
  439. //2.6.4. bug workaround
  440. {$IFDEF VER2_6}
  441. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  442. {$ENDIF VER2_6}
  443. Public
  444. Published
  445. Property items : TAnnotationsdataTypeitemsArray Index 0 Read Fitems Write Setitems;
  446. Property kind : String Index 8 Read Fkind Write Setkind;
  447. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  448. Property totalItems : integer Index 24 Read FtotalItems Write SettotalItems;
  449. end;
  450. TAnnotationsdataClass = Class of TAnnotationsdata;
  451. { --------------------------------------------------------------------
  452. TBooksAnnotationsRange
  453. --------------------------------------------------------------------}
  454. TBooksAnnotationsRange = Class(TGoogleBaseObject)
  455. Private
  456. FendOffset : String;
  457. FendPosition : String;
  458. FstartOffset : String;
  459. FstartPosition : String;
  460. Protected
  461. //Property setters
  462. Procedure SetendOffset(AIndex : Integer; const AValue : String); virtual;
  463. Procedure SetendPosition(AIndex : Integer; const AValue : String); virtual;
  464. Procedure SetstartOffset(AIndex : Integer; const AValue : String); virtual;
  465. Procedure SetstartPosition(AIndex : Integer; const AValue : String); virtual;
  466. Public
  467. Published
  468. Property endOffset : String Index 0 Read FendOffset Write SetendOffset;
  469. Property endPosition : String Index 8 Read FendPosition Write SetendPosition;
  470. Property startOffset : String Index 16 Read FstartOffset Write SetstartOffset;
  471. Property startPosition : String Index 24 Read FstartPosition Write SetstartPosition;
  472. end;
  473. TBooksAnnotationsRangeClass = Class of TBooksAnnotationsRange;
  474. { --------------------------------------------------------------------
  475. TBooksCloudloadingResource
  476. --------------------------------------------------------------------}
  477. TBooksCloudloadingResource = Class(TGoogleBaseObject)
  478. Private
  479. Fauthor : String;
  480. FprocessingState : String;
  481. Ftitle : String;
  482. FvolumeId : String;
  483. Protected
  484. //Property setters
  485. Procedure Setauthor(AIndex : Integer; const AValue : String); virtual;
  486. Procedure SetprocessingState(AIndex : Integer; const AValue : String); virtual;
  487. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  488. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  489. Public
  490. Published
  491. Property author : String Index 0 Read Fauthor Write Setauthor;
  492. Property processingState : String Index 8 Read FprocessingState Write SetprocessingState;
  493. Property title : String Index 16 Read Ftitle Write Settitle;
  494. Property volumeId : String Index 24 Read FvolumeId Write SetvolumeId;
  495. end;
  496. TBooksCloudloadingResourceClass = Class of TBooksCloudloadingResource;
  497. { --------------------------------------------------------------------
  498. TBooksVolumesRecommendedRateResponse
  499. --------------------------------------------------------------------}
  500. TBooksVolumesRecommendedRateResponse = Class(TGoogleBaseObject)
  501. Private
  502. Fconsistency_token : String;
  503. Protected
  504. //Property setters
  505. Procedure Setconsistency_token(AIndex : Integer; const AValue : String); virtual;
  506. Public
  507. Published
  508. Property consistency_token : String Index 0 Read Fconsistency_token Write Setconsistency_token;
  509. end;
  510. TBooksVolumesRecommendedRateResponseClass = Class of TBooksVolumesRecommendedRateResponse;
  511. { --------------------------------------------------------------------
  512. TBookshelf
  513. --------------------------------------------------------------------}
  514. TBookshelf = Class(TGoogleBaseObject)
  515. Private
  516. Faccess : String;
  517. Fcreated : TDatetime;
  518. Fdescription : String;
  519. Fid : integer;
  520. Fkind : String;
  521. FselfLink : String;
  522. Ftitle : String;
  523. Fupdated : TDatetime;
  524. FvolumeCount : integer;
  525. FvolumesLastUpdated : TDatetime;
  526. Protected
  527. //Property setters
  528. Procedure Setaccess(AIndex : Integer; const AValue : String); virtual;
  529. Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
  530. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  531. Procedure Setid(AIndex : Integer; const AValue : integer); virtual;
  532. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  533. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  534. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  535. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  536. Procedure SetvolumeCount(AIndex : Integer; const AValue : integer); virtual;
  537. Procedure SetvolumesLastUpdated(AIndex : Integer; const AValue : TDatetime); virtual;
  538. Public
  539. Published
  540. Property access : String Index 0 Read Faccess Write Setaccess;
  541. Property created : TDatetime Index 8 Read Fcreated Write Setcreated;
  542. Property description : String Index 16 Read Fdescription Write Setdescription;
  543. Property id : integer Index 24 Read Fid Write Setid;
  544. Property kind : String Index 32 Read Fkind Write Setkind;
  545. Property selfLink : String Index 40 Read FselfLink Write SetselfLink;
  546. Property title : String Index 48 Read Ftitle Write Settitle;
  547. Property updated : TDatetime Index 56 Read Fupdated Write Setupdated;
  548. Property volumeCount : integer Index 64 Read FvolumeCount Write SetvolumeCount;
  549. Property volumesLastUpdated : TDatetime Index 72 Read FvolumesLastUpdated Write SetvolumesLastUpdated;
  550. end;
  551. TBookshelfClass = Class of TBookshelf;
  552. { --------------------------------------------------------------------
  553. TBookshelves
  554. --------------------------------------------------------------------}
  555. TBookshelves = Class(TGoogleBaseObject)
  556. Private
  557. Fitems : TBookshelvesTypeitemsArray;
  558. Fkind : String;
  559. Protected
  560. //Property setters
  561. Procedure Setitems(AIndex : Integer; const AValue : TBookshelvesTypeitemsArray); virtual;
  562. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  563. //2.6.4. bug workaround
  564. {$IFDEF VER2_6}
  565. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  566. {$ENDIF VER2_6}
  567. Public
  568. Published
  569. Property items : TBookshelvesTypeitemsArray Index 0 Read Fitems Write Setitems;
  570. Property kind : String Index 8 Read Fkind Write Setkind;
  571. end;
  572. TBookshelvesClass = Class of TBookshelves;
  573. { --------------------------------------------------------------------
  574. TCategoryTypeitemsItem
  575. --------------------------------------------------------------------}
  576. TCategoryTypeitemsItem = Class(TGoogleBaseObject)
  577. Private
  578. FbadgeUrl : String;
  579. FcategoryId : String;
  580. Fname : String;
  581. Protected
  582. //Property setters
  583. Procedure SetbadgeUrl(AIndex : Integer; const AValue : String); virtual;
  584. Procedure SetcategoryId(AIndex : Integer; const AValue : String); virtual;
  585. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  586. Public
  587. Published
  588. Property badgeUrl : String Index 0 Read FbadgeUrl Write SetbadgeUrl;
  589. Property categoryId : String Index 8 Read FcategoryId Write SetcategoryId;
  590. Property name : String Index 16 Read Fname Write Setname;
  591. end;
  592. TCategoryTypeitemsItemClass = Class of TCategoryTypeitemsItem;
  593. { --------------------------------------------------------------------
  594. TCategory
  595. --------------------------------------------------------------------}
  596. TCategory = Class(TGoogleBaseObject)
  597. Private
  598. Fitems : TCategoryTypeitemsArray;
  599. Fkind : String;
  600. Protected
  601. //Property setters
  602. Procedure Setitems(AIndex : Integer; const AValue : TCategoryTypeitemsArray); virtual;
  603. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  604. //2.6.4. bug workaround
  605. {$IFDEF VER2_6}
  606. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  607. {$ENDIF VER2_6}
  608. Public
  609. Published
  610. Property items : TCategoryTypeitemsArray Index 0 Read Fitems Write Setitems;
  611. Property kind : String Index 8 Read Fkind Write Setkind;
  612. end;
  613. TCategoryClass = Class of TCategory;
  614. { --------------------------------------------------------------------
  615. TConcurrentAccessRestriction
  616. --------------------------------------------------------------------}
  617. TConcurrentAccessRestriction = Class(TGoogleBaseObject)
  618. Private
  619. FdeviceAllowed : boolean;
  620. Fkind : String;
  621. FmaxConcurrentDevices : integer;
  622. Fmessage : String;
  623. Fnonce : String;
  624. FreasonCode : String;
  625. Frestricted : boolean;
  626. Fsignature : String;
  627. Fsource : String;
  628. FtimeWindowSeconds : integer;
  629. FvolumeId : String;
  630. Protected
  631. //Property setters
  632. Procedure SetdeviceAllowed(AIndex : Integer; const AValue : boolean); virtual;
  633. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  634. Procedure SetmaxConcurrentDevices(AIndex : Integer; const AValue : integer); virtual;
  635. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  636. Procedure Setnonce(AIndex : Integer; const AValue : String); virtual;
  637. Procedure SetreasonCode(AIndex : Integer; const AValue : String); virtual;
  638. Procedure Setrestricted(AIndex : Integer; const AValue : boolean); virtual;
  639. Procedure Setsignature(AIndex : Integer; const AValue : String); virtual;
  640. Procedure Setsource(AIndex : Integer; const AValue : String); virtual;
  641. Procedure SettimeWindowSeconds(AIndex : Integer; const AValue : integer); virtual;
  642. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  643. Public
  644. Published
  645. Property deviceAllowed : boolean Index 0 Read FdeviceAllowed Write SetdeviceAllowed;
  646. Property kind : String Index 8 Read Fkind Write Setkind;
  647. Property maxConcurrentDevices : integer Index 16 Read FmaxConcurrentDevices Write SetmaxConcurrentDevices;
  648. Property message : String Index 24 Read Fmessage Write Setmessage;
  649. Property nonce : String Index 32 Read Fnonce Write Setnonce;
  650. Property reasonCode : String Index 40 Read FreasonCode Write SetreasonCode;
  651. Property restricted : boolean Index 48 Read Frestricted Write Setrestricted;
  652. Property signature : String Index 56 Read Fsignature Write Setsignature;
  653. Property source : String Index 64 Read Fsource Write Setsource;
  654. Property timeWindowSeconds : integer Index 72 Read FtimeWindowSeconds Write SettimeWindowSeconds;
  655. Property volumeId : String Index 80 Read FvolumeId Write SetvolumeId;
  656. end;
  657. TConcurrentAccessRestrictionClass = Class of TConcurrentAccessRestriction;
  658. { --------------------------------------------------------------------
  659. TDictlayerdataTypecommon
  660. --------------------------------------------------------------------}
  661. TDictlayerdataTypecommon = Class(TGoogleBaseObject)
  662. Private
  663. Ftitle : String;
  664. Protected
  665. //Property setters
  666. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  667. Public
  668. Published
  669. Property title : String Index 0 Read Ftitle Write Settitle;
  670. end;
  671. TDictlayerdataTypecommonClass = Class of TDictlayerdataTypecommon;
  672. { --------------------------------------------------------------------
  673. TDictlayerdataTypedictTypesource
  674. --------------------------------------------------------------------}
  675. TDictlayerdataTypedictTypesource = Class(TGoogleBaseObject)
  676. Private
  677. Fattribution : String;
  678. Furl : String;
  679. Protected
  680. //Property setters
  681. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  682. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  683. Public
  684. Published
  685. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  686. Property url : String Index 8 Read Furl Write Seturl;
  687. end;
  688. TDictlayerdataTypedictTypesourceClass = Class of TDictlayerdataTypedictTypesource;
  689. { --------------------------------------------------------------------
  690. TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource
  691. --------------------------------------------------------------------}
  692. TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource = Class(TGoogleBaseObject)
  693. Private
  694. Fattribution : String;
  695. Furl : String;
  696. Protected
  697. //Property setters
  698. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  699. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  700. Public
  701. Published
  702. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  703. Property url : String Index 8 Read Furl Write Seturl;
  704. end;
  705. TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesourceClass = Class of TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource;
  706. { --------------------------------------------------------------------
  707. TDictlayerdataTypedictTypewordsItemTypederivativesItem
  708. --------------------------------------------------------------------}
  709. TDictlayerdataTypedictTypewordsItemTypederivativesItem = Class(TGoogleBaseObject)
  710. Private
  711. Fsource : TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource;
  712. Ftext : String;
  713. Protected
  714. //Property setters
  715. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource); virtual;
  716. Procedure Settext(AIndex : Integer; const AValue : String); virtual;
  717. Public
  718. Published
  719. Property source : TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource Index 0 Read Fsource Write Setsource;
  720. Property text : String Index 8 Read Ftext Write Settext;
  721. end;
  722. TDictlayerdataTypedictTypewordsItemTypederivativesItemClass = Class of TDictlayerdataTypedictTypewordsItemTypederivativesItem;
  723. { --------------------------------------------------------------------
  724. TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource
  725. --------------------------------------------------------------------}
  726. TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource = Class(TGoogleBaseObject)
  727. Private
  728. Fattribution : String;
  729. Furl : String;
  730. Protected
  731. //Property setters
  732. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  733. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  734. Public
  735. Published
  736. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  737. Property url : String Index 8 Read Furl Write Seturl;
  738. end;
  739. TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesourceClass = Class of TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource;
  740. { --------------------------------------------------------------------
  741. TDictlayerdataTypedictTypewordsItemTypeexamplesItem
  742. --------------------------------------------------------------------}
  743. TDictlayerdataTypedictTypewordsItemTypeexamplesItem = Class(TGoogleBaseObject)
  744. Private
  745. Fsource : TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource;
  746. Ftext : String;
  747. Protected
  748. //Property setters
  749. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource); virtual;
  750. Procedure Settext(AIndex : Integer; const AValue : String); virtual;
  751. Public
  752. Published
  753. Property source : TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource Index 0 Read Fsource Write Setsource;
  754. Property text : String Index 8 Read Ftext Write Settext;
  755. end;
  756. TDictlayerdataTypedictTypewordsItemTypeexamplesItemClass = Class of TDictlayerdataTypedictTypewordsItemTypeexamplesItem;
  757. { --------------------------------------------------------------------
  758. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem
  759. --------------------------------------------------------------------}
  760. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem = Class(TGoogleBaseObject)
  761. Private
  762. F_type : String;
  763. Fvalue : String;
  764. Protected
  765. Class Function ExportPropertyName(Const AName : String) : string; override;
  766. //Property setters
  767. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  768. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  769. Public
  770. Published
  771. Property _type : String Index 0 Read F_type Write Set_type;
  772. Property value : String Index 8 Read Fvalue Write Setvalue;
  773. end;
  774. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItemClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem;
  775. { --------------------------------------------------------------------
  776. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource
  777. --------------------------------------------------------------------}
  778. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource = Class(TGoogleBaseObject)
  779. Private
  780. Fattribution : String;
  781. Furl : String;
  782. Protected
  783. //Property setters
  784. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  785. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  786. Public
  787. Published
  788. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  789. Property url : String Index 8 Read Furl Write Seturl;
  790. end;
  791. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesourceClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource;
  792. { --------------------------------------------------------------------
  793. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem
  794. --------------------------------------------------------------------}
  795. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem = Class(TGoogleBaseObject)
  796. Private
  797. Fsource : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource;
  798. Ftext : String;
  799. Protected
  800. //Property setters
  801. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource); virtual;
  802. Procedure Settext(AIndex : Integer; const AValue : String); virtual;
  803. Public
  804. Published
  805. Property source : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource Index 0 Read Fsource Write Setsource;
  806. Property text : String Index 8 Read Ftext Write Settext;
  807. end;
  808. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem;
  809. { --------------------------------------------------------------------
  810. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem
  811. --------------------------------------------------------------------}
  812. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem = Class(TGoogleBaseObject)
  813. Private
  814. Fdefinition : String;
  815. Fexamples : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesArray;
  816. Protected
  817. //Property setters
  818. Procedure Setdefinition(AIndex : Integer; const AValue : String); virtual;
  819. Procedure Setexamples(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesArray); virtual;
  820. //2.6.4. bug workaround
  821. {$IFDEF VER2_6}
  822. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  823. {$ENDIF VER2_6}
  824. Public
  825. Published
  826. Property definition : String Index 0 Read Fdefinition Write Setdefinition;
  827. Property examples : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesArray Index 8 Read Fexamples Write Setexamples;
  828. end;
  829. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem;
  830. { --------------------------------------------------------------------
  831. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource
  832. --------------------------------------------------------------------}
  833. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource = Class(TGoogleBaseObject)
  834. Private
  835. Fattribution : String;
  836. Furl : String;
  837. Protected
  838. //Property setters
  839. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  840. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  841. Public
  842. Published
  843. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  844. Property url : String Index 8 Read Furl Write Seturl;
  845. end;
  846. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesourceClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource;
  847. { --------------------------------------------------------------------
  848. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource
  849. --------------------------------------------------------------------}
  850. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource = Class(TGoogleBaseObject)
  851. Private
  852. Fattribution : String;
  853. Furl : String;
  854. Protected
  855. //Property setters
  856. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  857. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  858. Public
  859. Published
  860. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  861. Property url : String Index 8 Read Furl Write Seturl;
  862. end;
  863. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesourceClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource;
  864. { --------------------------------------------------------------------
  865. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem
  866. --------------------------------------------------------------------}
  867. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem = Class(TGoogleBaseObject)
  868. Private
  869. Fsource : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource;
  870. Ftext : String;
  871. Protected
  872. //Property setters
  873. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource); virtual;
  874. Procedure Settext(AIndex : Integer; const AValue : String); virtual;
  875. Public
  876. Published
  877. Property source : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource Index 0 Read Fsource Write Setsource;
  878. Property text : String Index 8 Read Ftext Write Settext;
  879. end;
  880. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem;
  881. { --------------------------------------------------------------------
  882. TDictlayerdataTypedictTypewordsItemTypesensesItem
  883. --------------------------------------------------------------------}
  884. TDictlayerdataTypedictTypewordsItemTypesensesItem = Class(TGoogleBaseObject)
  885. Private
  886. Fconjugations : TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsArray;
  887. Fdefinitions : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsArray;
  888. FpartOfSpeech : String;
  889. Fpronunciation : String;
  890. FpronunciationUrl : String;
  891. Fsource : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource;
  892. Fsyllabification : String;
  893. Fsynonyms : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsArray;
  894. Protected
  895. //Property setters
  896. Procedure Setconjugations(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsArray); virtual;
  897. Procedure Setdefinitions(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsArray); virtual;
  898. Procedure SetpartOfSpeech(AIndex : Integer; const AValue : String); virtual;
  899. Procedure Setpronunciation(AIndex : Integer; const AValue : String); virtual;
  900. Procedure SetpronunciationUrl(AIndex : Integer; const AValue : String); virtual;
  901. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource); virtual;
  902. Procedure Setsyllabification(AIndex : Integer; const AValue : String); virtual;
  903. Procedure Setsynonyms(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsArray); virtual;
  904. //2.6.4. bug workaround
  905. {$IFDEF VER2_6}
  906. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  907. {$ENDIF VER2_6}
  908. Public
  909. Published
  910. Property conjugations : TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsArray Index 0 Read Fconjugations Write Setconjugations;
  911. Property definitions : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsArray Index 8 Read Fdefinitions Write Setdefinitions;
  912. Property partOfSpeech : String Index 16 Read FpartOfSpeech Write SetpartOfSpeech;
  913. Property pronunciation : String Index 24 Read Fpronunciation Write Setpronunciation;
  914. Property pronunciationUrl : String Index 32 Read FpronunciationUrl Write SetpronunciationUrl;
  915. Property source : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource Index 40 Read Fsource Write Setsource;
  916. Property syllabification : String Index 48 Read Fsyllabification Write Setsyllabification;
  917. Property synonyms : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsArray Index 56 Read Fsynonyms Write Setsynonyms;
  918. end;
  919. TDictlayerdataTypedictTypewordsItemTypesensesItemClass = Class of TDictlayerdataTypedictTypewordsItemTypesensesItem;
  920. { --------------------------------------------------------------------
  921. TDictlayerdataTypedictTypewordsItemTypesource
  922. --------------------------------------------------------------------}
  923. TDictlayerdataTypedictTypewordsItemTypesource = Class(TGoogleBaseObject)
  924. Private
  925. Fattribution : String;
  926. Furl : String;
  927. Protected
  928. //Property setters
  929. Procedure Setattribution(AIndex : Integer; const AValue : String); virtual;
  930. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  931. Public
  932. Published
  933. Property attribution : String Index 0 Read Fattribution Write Setattribution;
  934. Property url : String Index 8 Read Furl Write Seturl;
  935. end;
  936. TDictlayerdataTypedictTypewordsItemTypesourceClass = Class of TDictlayerdataTypedictTypewordsItemTypesource;
  937. { --------------------------------------------------------------------
  938. TDictlayerdataTypedictTypewordsItem
  939. --------------------------------------------------------------------}
  940. TDictlayerdataTypedictTypewordsItem = Class(TGoogleBaseObject)
  941. Private
  942. Fderivatives : TDictlayerdataTypedictTypewordsItemTypederivativesArray;
  943. Fexamples : TDictlayerdataTypedictTypewordsItemTypeexamplesArray;
  944. Fsenses : TDictlayerdataTypedictTypewordsItemTypesensesArray;
  945. Fsource : TDictlayerdataTypedictTypewordsItemTypesource;
  946. Protected
  947. //Property setters
  948. Procedure Setderivatives(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypederivativesArray); virtual;
  949. Procedure Setexamples(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypeexamplesArray); virtual;
  950. Procedure Setsenses(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesArray); virtual;
  951. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesource); virtual;
  952. //2.6.4. bug workaround
  953. {$IFDEF VER2_6}
  954. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  955. {$ENDIF VER2_6}
  956. Public
  957. Published
  958. Property derivatives : TDictlayerdataTypedictTypewordsItemTypederivativesArray Index 0 Read Fderivatives Write Setderivatives;
  959. Property examples : TDictlayerdataTypedictTypewordsItemTypeexamplesArray Index 8 Read Fexamples Write Setexamples;
  960. Property senses : TDictlayerdataTypedictTypewordsItemTypesensesArray Index 16 Read Fsenses Write Setsenses;
  961. Property source : TDictlayerdataTypedictTypewordsItemTypesource Index 24 Read Fsource Write Setsource;
  962. end;
  963. TDictlayerdataTypedictTypewordsItemClass = Class of TDictlayerdataTypedictTypewordsItem;
  964. { --------------------------------------------------------------------
  965. TDictlayerdataTypedict
  966. --------------------------------------------------------------------}
  967. TDictlayerdataTypedict = Class(TGoogleBaseObject)
  968. Private
  969. Fsource : TDictlayerdataTypedictTypesource;
  970. Fwords : TDictlayerdataTypedictTypewordsArray;
  971. Protected
  972. //Property setters
  973. Procedure Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypesource); virtual;
  974. Procedure Setwords(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsArray); virtual;
  975. //2.6.4. bug workaround
  976. {$IFDEF VER2_6}
  977. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  978. {$ENDIF VER2_6}
  979. Public
  980. Published
  981. Property source : TDictlayerdataTypedictTypesource Index 0 Read Fsource Write Setsource;
  982. Property words : TDictlayerdataTypedictTypewordsArray Index 8 Read Fwords Write Setwords;
  983. end;
  984. TDictlayerdataTypedictClass = Class of TDictlayerdataTypedict;
  985. { --------------------------------------------------------------------
  986. TDictlayerdata
  987. --------------------------------------------------------------------}
  988. TDictlayerdata = Class(TGoogleBaseObject)
  989. Private
  990. Fcommon : TDictlayerdataTypecommon;
  991. Fdict : TDictlayerdataTypedict;
  992. Fkind : String;
  993. Protected
  994. //Property setters
  995. Procedure Setcommon(AIndex : Integer; const AValue : TDictlayerdataTypecommon); virtual;
  996. Procedure Setdict(AIndex : Integer; const AValue : TDictlayerdataTypedict); virtual;
  997. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  998. Public
  999. Published
  1000. Property common : TDictlayerdataTypecommon Index 0 Read Fcommon Write Setcommon;
  1001. Property dict : TDictlayerdataTypedict Index 8 Read Fdict Write Setdict;
  1002. Property kind : String Index 16 Read Fkind Write Setkind;
  1003. end;
  1004. TDictlayerdataClass = Class of TDictlayerdata;
  1005. { --------------------------------------------------------------------
  1006. TDiscoveryclustersTypeclustersItemTypebanner_with_content_container
  1007. --------------------------------------------------------------------}
  1008. TDiscoveryclustersTypeclustersItemTypebanner_with_content_container = Class(TGoogleBaseObject)
  1009. Private
  1010. FfillColorArgb : String;
  1011. FimageUrl : String;
  1012. FmaskColorArgb : String;
  1013. FmoreButtonText : String;
  1014. FmoreButtonUrl : String;
  1015. FtextColorArgb : String;
  1016. Protected
  1017. //Property setters
  1018. Procedure SetfillColorArgb(AIndex : Integer; const AValue : String); virtual;
  1019. Procedure SetimageUrl(AIndex : Integer; const AValue : String); virtual;
  1020. Procedure SetmaskColorArgb(AIndex : Integer; const AValue : String); virtual;
  1021. Procedure SetmoreButtonText(AIndex : Integer; const AValue : String); virtual;
  1022. Procedure SetmoreButtonUrl(AIndex : Integer; const AValue : String); virtual;
  1023. Procedure SettextColorArgb(AIndex : Integer; const AValue : String); virtual;
  1024. Public
  1025. Published
  1026. Property fillColorArgb : String Index 0 Read FfillColorArgb Write SetfillColorArgb;
  1027. Property imageUrl : String Index 8 Read FimageUrl Write SetimageUrl;
  1028. Property maskColorArgb : String Index 16 Read FmaskColorArgb Write SetmaskColorArgb;
  1029. Property moreButtonText : String Index 24 Read FmoreButtonText Write SetmoreButtonText;
  1030. Property moreButtonUrl : String Index 32 Read FmoreButtonUrl Write SetmoreButtonUrl;
  1031. Property textColorArgb : String Index 40 Read FtextColorArgb Write SettextColorArgb;
  1032. end;
  1033. TDiscoveryclustersTypeclustersItemTypebanner_with_content_containerClass = Class of TDiscoveryclustersTypeclustersItemTypebanner_with_content_container;
  1034. { --------------------------------------------------------------------
  1035. TDiscoveryclustersTypeclustersItem
  1036. --------------------------------------------------------------------}
  1037. TDiscoveryclustersTypeclustersItem = Class(TGoogleBaseObject)
  1038. Private
  1039. Fbanner_with_content_container : TDiscoveryclustersTypeclustersItemTypebanner_with_content_container;
  1040. FsubTitle : String;
  1041. Ftitle : String;
  1042. FtotalVolumes : integer;
  1043. Fuid : String;
  1044. Fvolumes : TDiscoveryclustersTypeclustersItemTypevolumesArray;
  1045. Protected
  1046. //Property setters
  1047. Procedure Setbanner_with_content_container(AIndex : Integer; const AValue : TDiscoveryclustersTypeclustersItemTypebanner_with_content_container); virtual;
  1048. Procedure SetsubTitle(AIndex : Integer; const AValue : String); virtual;
  1049. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1050. Procedure SettotalVolumes(AIndex : Integer; const AValue : integer); virtual;
  1051. Procedure Setuid(AIndex : Integer; const AValue : String); virtual;
  1052. Procedure Setvolumes(AIndex : Integer; const AValue : TDiscoveryclustersTypeclustersItemTypevolumesArray); virtual;
  1053. //2.6.4. bug workaround
  1054. {$IFDEF VER2_6}
  1055. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1056. {$ENDIF VER2_6}
  1057. Public
  1058. Published
  1059. Property banner_with_content_container : TDiscoveryclustersTypeclustersItemTypebanner_with_content_container Index 0 Read Fbanner_with_content_container Write Setbanner_with_content_container;
  1060. Property subTitle : String Index 8 Read FsubTitle Write SetsubTitle;
  1061. Property title : String Index 16 Read Ftitle Write Settitle;
  1062. Property totalVolumes : integer Index 24 Read FtotalVolumes Write SettotalVolumes;
  1063. Property uid : String Index 32 Read Fuid Write Setuid;
  1064. Property volumes : TDiscoveryclustersTypeclustersItemTypevolumesArray Index 40 Read Fvolumes Write Setvolumes;
  1065. end;
  1066. TDiscoveryclustersTypeclustersItemClass = Class of TDiscoveryclustersTypeclustersItem;
  1067. { --------------------------------------------------------------------
  1068. TDiscoveryclusters
  1069. --------------------------------------------------------------------}
  1070. TDiscoveryclusters = Class(TGoogleBaseObject)
  1071. Private
  1072. Fclusters : TDiscoveryclustersTypeclustersArray;
  1073. Fkind : String;
  1074. FtotalClusters : integer;
  1075. Protected
  1076. //Property setters
  1077. Procedure Setclusters(AIndex : Integer; const AValue : TDiscoveryclustersTypeclustersArray); virtual;
  1078. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1079. Procedure SettotalClusters(AIndex : Integer; const AValue : integer); virtual;
  1080. //2.6.4. bug workaround
  1081. {$IFDEF VER2_6}
  1082. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1083. {$ENDIF VER2_6}
  1084. Public
  1085. Published
  1086. Property clusters : TDiscoveryclustersTypeclustersArray Index 0 Read Fclusters Write Setclusters;
  1087. Property kind : String Index 8 Read Fkind Write Setkind;
  1088. Property totalClusters : integer Index 16 Read FtotalClusters Write SettotalClusters;
  1089. end;
  1090. TDiscoveryclustersClass = Class of TDiscoveryclusters;
  1091. { --------------------------------------------------------------------
  1092. TDownloadAccessRestriction
  1093. --------------------------------------------------------------------}
  1094. TDownloadAccessRestriction = Class(TGoogleBaseObject)
  1095. Private
  1096. FdeviceAllowed : boolean;
  1097. FdownloadsAcquired : integer;
  1098. FjustAcquired : boolean;
  1099. Fkind : String;
  1100. FmaxDownloadDevices : integer;
  1101. Fmessage : String;
  1102. Fnonce : String;
  1103. FreasonCode : String;
  1104. Frestricted : boolean;
  1105. Fsignature : String;
  1106. Fsource : String;
  1107. FvolumeId : String;
  1108. Protected
  1109. //Property setters
  1110. Procedure SetdeviceAllowed(AIndex : Integer; const AValue : boolean); virtual;
  1111. Procedure SetdownloadsAcquired(AIndex : Integer; const AValue : integer); virtual;
  1112. Procedure SetjustAcquired(AIndex : Integer; const AValue : boolean); virtual;
  1113. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1114. Procedure SetmaxDownloadDevices(AIndex : Integer; const AValue : integer); virtual;
  1115. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  1116. Procedure Setnonce(AIndex : Integer; const AValue : String); virtual;
  1117. Procedure SetreasonCode(AIndex : Integer; const AValue : String); virtual;
  1118. Procedure Setrestricted(AIndex : Integer; const AValue : boolean); virtual;
  1119. Procedure Setsignature(AIndex : Integer; const AValue : String); virtual;
  1120. Procedure Setsource(AIndex : Integer; const AValue : String); virtual;
  1121. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  1122. Public
  1123. Published
  1124. Property deviceAllowed : boolean Index 0 Read FdeviceAllowed Write SetdeviceAllowed;
  1125. Property downloadsAcquired : integer Index 8 Read FdownloadsAcquired Write SetdownloadsAcquired;
  1126. Property justAcquired : boolean Index 16 Read FjustAcquired Write SetjustAcquired;
  1127. Property kind : String Index 24 Read Fkind Write Setkind;
  1128. Property maxDownloadDevices : integer Index 32 Read FmaxDownloadDevices Write SetmaxDownloadDevices;
  1129. Property message : String Index 40 Read Fmessage Write Setmessage;
  1130. Property nonce : String Index 48 Read Fnonce Write Setnonce;
  1131. Property reasonCode : String Index 56 Read FreasonCode Write SetreasonCode;
  1132. Property restricted : boolean Index 64 Read Frestricted Write Setrestricted;
  1133. Property signature : String Index 72 Read Fsignature Write Setsignature;
  1134. Property source : String Index 80 Read Fsource Write Setsource;
  1135. Property volumeId : String Index 88 Read FvolumeId Write SetvolumeId;
  1136. end;
  1137. TDownloadAccessRestrictionClass = Class of TDownloadAccessRestriction;
  1138. { --------------------------------------------------------------------
  1139. TDownloadAccesses
  1140. --------------------------------------------------------------------}
  1141. TDownloadAccesses = Class(TGoogleBaseObject)
  1142. Private
  1143. FdownloadAccessList : TDownloadAccessesTypedownloadAccessListArray;
  1144. Fkind : String;
  1145. Protected
  1146. //Property setters
  1147. Procedure SetdownloadAccessList(AIndex : Integer; const AValue : TDownloadAccessesTypedownloadAccessListArray); virtual;
  1148. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1149. //2.6.4. bug workaround
  1150. {$IFDEF VER2_6}
  1151. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1152. {$ENDIF VER2_6}
  1153. Public
  1154. Published
  1155. Property downloadAccessList : TDownloadAccessesTypedownloadAccessListArray Index 0 Read FdownloadAccessList Write SetdownloadAccessList;
  1156. Property kind : String Index 8 Read Fkind Write Setkind;
  1157. end;
  1158. TDownloadAccessesClass = Class of TDownloadAccesses;
  1159. { --------------------------------------------------------------------
  1160. TGeolayerdataTypecommon
  1161. --------------------------------------------------------------------}
  1162. TGeolayerdataTypecommon = Class(TGoogleBaseObject)
  1163. Private
  1164. Flang : String;
  1165. FpreviewImageUrl : String;
  1166. Fsnippet : String;
  1167. FsnippetUrl : String;
  1168. Ftitle : String;
  1169. Protected
  1170. //Property setters
  1171. Procedure Setlang(AIndex : Integer; const AValue : String); virtual;
  1172. Procedure SetpreviewImageUrl(AIndex : Integer; const AValue : String); virtual;
  1173. Procedure Setsnippet(AIndex : Integer; const AValue : String); virtual;
  1174. Procedure SetsnippetUrl(AIndex : Integer; const AValue : String); virtual;
  1175. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1176. Public
  1177. Published
  1178. Property lang : String Index 0 Read Flang Write Setlang;
  1179. Property previewImageUrl : String Index 8 Read FpreviewImageUrl Write SetpreviewImageUrl;
  1180. Property snippet : String Index 16 Read Fsnippet Write Setsnippet;
  1181. Property snippetUrl : String Index 24 Read FsnippetUrl Write SetsnippetUrl;
  1182. Property title : String Index 32 Read Ftitle Write Settitle;
  1183. end;
  1184. TGeolayerdataTypecommonClass = Class of TGeolayerdataTypecommon;
  1185. { --------------------------------------------------------------------
  1186. TGeolayerdataTypegeoTypeboundaryItemItem
  1187. --------------------------------------------------------------------}
  1188. TGeolayerdataTypegeoTypeboundaryItemItem = Class(TGoogleBaseObject)
  1189. Private
  1190. Flatitude : integer;
  1191. Flongitude : integer;
  1192. Protected
  1193. //Property setters
  1194. Procedure Setlatitude(AIndex : Integer; const AValue : integer); virtual;
  1195. Procedure Setlongitude(AIndex : Integer; const AValue : integer); virtual;
  1196. Public
  1197. Published
  1198. Property latitude : integer Index 0 Read Flatitude Write Setlatitude;
  1199. Property longitude : integer Index 8 Read Flongitude Write Setlongitude;
  1200. end;
  1201. TGeolayerdataTypegeoTypeboundaryItemItemClass = Class of TGeolayerdataTypegeoTypeboundaryItemItem;
  1202. { --------------------------------------------------------------------
  1203. TGeolayerdataTypegeoTypeviewportTypehi
  1204. --------------------------------------------------------------------}
  1205. TGeolayerdataTypegeoTypeviewportTypehi = Class(TGoogleBaseObject)
  1206. Private
  1207. Flatitude : double;
  1208. Flongitude : double;
  1209. Protected
  1210. //Property setters
  1211. Procedure Setlatitude(AIndex : Integer; const AValue : double); virtual;
  1212. Procedure Setlongitude(AIndex : Integer; const AValue : double); virtual;
  1213. Public
  1214. Published
  1215. Property latitude : double Index 0 Read Flatitude Write Setlatitude;
  1216. Property longitude : double Index 8 Read Flongitude Write Setlongitude;
  1217. end;
  1218. TGeolayerdataTypegeoTypeviewportTypehiClass = Class of TGeolayerdataTypegeoTypeviewportTypehi;
  1219. { --------------------------------------------------------------------
  1220. TGeolayerdataTypegeoTypeviewportTypelo
  1221. --------------------------------------------------------------------}
  1222. TGeolayerdataTypegeoTypeviewportTypelo = Class(TGoogleBaseObject)
  1223. Private
  1224. Flatitude : double;
  1225. Flongitude : double;
  1226. Protected
  1227. //Property setters
  1228. Procedure Setlatitude(AIndex : Integer; const AValue : double); virtual;
  1229. Procedure Setlongitude(AIndex : Integer; const AValue : double); virtual;
  1230. Public
  1231. Published
  1232. Property latitude : double Index 0 Read Flatitude Write Setlatitude;
  1233. Property longitude : double Index 8 Read Flongitude Write Setlongitude;
  1234. end;
  1235. TGeolayerdataTypegeoTypeviewportTypeloClass = Class of TGeolayerdataTypegeoTypeviewportTypelo;
  1236. { --------------------------------------------------------------------
  1237. TGeolayerdataTypegeoTypeviewport
  1238. --------------------------------------------------------------------}
  1239. TGeolayerdataTypegeoTypeviewport = Class(TGoogleBaseObject)
  1240. Private
  1241. Fhi : TGeolayerdataTypegeoTypeviewportTypehi;
  1242. Flo : TGeolayerdataTypegeoTypeviewportTypelo;
  1243. Protected
  1244. //Property setters
  1245. Procedure Sethi(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeviewportTypehi); virtual;
  1246. Procedure Setlo(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeviewportTypelo); virtual;
  1247. Public
  1248. Published
  1249. Property hi : TGeolayerdataTypegeoTypeviewportTypehi Index 0 Read Fhi Write Sethi;
  1250. Property lo : TGeolayerdataTypegeoTypeviewportTypelo Index 8 Read Flo Write Setlo;
  1251. end;
  1252. TGeolayerdataTypegeoTypeviewportClass = Class of TGeolayerdataTypegeoTypeviewport;
  1253. { --------------------------------------------------------------------
  1254. TGeolayerdataTypegeo
  1255. --------------------------------------------------------------------}
  1256. TGeolayerdataTypegeo = Class(TGoogleBaseObject)
  1257. Private
  1258. Fboundary : TGeolayerdataTypegeoTypeboundaryArray;
  1259. FcachePolicy : String;
  1260. FcountryCode : String;
  1261. Flatitude : double;
  1262. Flongitude : double;
  1263. FmapType : String;
  1264. Fviewport : TGeolayerdataTypegeoTypeviewport;
  1265. Fzoom : integer;
  1266. Protected
  1267. //Property setters
  1268. Procedure Setboundary(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeboundaryArray); virtual;
  1269. Procedure SetcachePolicy(AIndex : Integer; const AValue : String); virtual;
  1270. Procedure SetcountryCode(AIndex : Integer; const AValue : String); virtual;
  1271. Procedure Setlatitude(AIndex : Integer; const AValue : double); virtual;
  1272. Procedure Setlongitude(AIndex : Integer; const AValue : double); virtual;
  1273. Procedure SetmapType(AIndex : Integer; const AValue : String); virtual;
  1274. Procedure Setviewport(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeviewport); virtual;
  1275. Procedure Setzoom(AIndex : Integer; const AValue : integer); virtual;
  1276. //2.6.4. bug workaround
  1277. {$IFDEF VER2_6}
  1278. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1279. {$ENDIF VER2_6}
  1280. Public
  1281. Published
  1282. Property boundary : TGeolayerdataTypegeoTypeboundaryArray Index 0 Read Fboundary Write Setboundary;
  1283. Property cachePolicy : String Index 8 Read FcachePolicy Write SetcachePolicy;
  1284. Property countryCode : String Index 16 Read FcountryCode Write SetcountryCode;
  1285. Property latitude : double Index 24 Read Flatitude Write Setlatitude;
  1286. Property longitude : double Index 32 Read Flongitude Write Setlongitude;
  1287. Property mapType : String Index 40 Read FmapType Write SetmapType;
  1288. Property viewport : TGeolayerdataTypegeoTypeviewport Index 48 Read Fviewport Write Setviewport;
  1289. Property zoom : integer Index 56 Read Fzoom Write Setzoom;
  1290. end;
  1291. TGeolayerdataTypegeoClass = Class of TGeolayerdataTypegeo;
  1292. { --------------------------------------------------------------------
  1293. TGeolayerdata
  1294. --------------------------------------------------------------------}
  1295. TGeolayerdata = Class(TGoogleBaseObject)
  1296. Private
  1297. Fcommon : TGeolayerdataTypecommon;
  1298. Fgeo : TGeolayerdataTypegeo;
  1299. Fkind : String;
  1300. Protected
  1301. //Property setters
  1302. Procedure Setcommon(AIndex : Integer; const AValue : TGeolayerdataTypecommon); virtual;
  1303. Procedure Setgeo(AIndex : Integer; const AValue : TGeolayerdataTypegeo); virtual;
  1304. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1305. Public
  1306. Published
  1307. Property common : TGeolayerdataTypecommon Index 0 Read Fcommon Write Setcommon;
  1308. Property geo : TGeolayerdataTypegeo Index 8 Read Fgeo Write Setgeo;
  1309. Property kind : String Index 16 Read Fkind Write Setkind;
  1310. end;
  1311. TGeolayerdataClass = Class of TGeolayerdata;
  1312. { --------------------------------------------------------------------
  1313. TLayersummaries
  1314. --------------------------------------------------------------------}
  1315. TLayersummaries = Class(TGoogleBaseObject)
  1316. Private
  1317. Fitems : TLayersummariesTypeitemsArray;
  1318. Fkind : String;
  1319. FtotalItems : integer;
  1320. Protected
  1321. //Property setters
  1322. Procedure Setitems(AIndex : Integer; const AValue : TLayersummariesTypeitemsArray); virtual;
  1323. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1324. Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
  1325. //2.6.4. bug workaround
  1326. {$IFDEF VER2_6}
  1327. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1328. {$ENDIF VER2_6}
  1329. Public
  1330. Published
  1331. Property items : TLayersummariesTypeitemsArray Index 0 Read Fitems Write Setitems;
  1332. Property kind : String Index 8 Read Fkind Write Setkind;
  1333. Property totalItems : integer Index 16 Read FtotalItems Write SettotalItems;
  1334. end;
  1335. TLayersummariesClass = Class of TLayersummaries;
  1336. { --------------------------------------------------------------------
  1337. TLayersummary
  1338. --------------------------------------------------------------------}
  1339. TLayersummary = Class(TGoogleBaseObject)
  1340. Private
  1341. FannotationCount : integer;
  1342. FannotationTypes : TStringArray;
  1343. FannotationsDataLink : String;
  1344. FannotationsLink : String;
  1345. FcontentVersion : String;
  1346. FdataCount : integer;
  1347. Fid : String;
  1348. Fkind : String;
  1349. FlayerId : String;
  1350. FselfLink : String;
  1351. Fupdated : TDatetime;
  1352. FvolumeAnnotationsVersion : String;
  1353. FvolumeId : String;
  1354. Protected
  1355. //Property setters
  1356. Procedure SetannotationCount(AIndex : Integer; const AValue : integer); virtual;
  1357. Procedure SetannotationTypes(AIndex : Integer; const AValue : TStringArray); virtual;
  1358. Procedure SetannotationsDataLink(AIndex : Integer; const AValue : String); virtual;
  1359. Procedure SetannotationsLink(AIndex : Integer; const AValue : String); virtual;
  1360. Procedure SetcontentVersion(AIndex : Integer; const AValue : String); virtual;
  1361. Procedure SetdataCount(AIndex : Integer; const AValue : integer); virtual;
  1362. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1363. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1364. Procedure SetlayerId(AIndex : Integer; const AValue : String); virtual;
  1365. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1366. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  1367. Procedure SetvolumeAnnotationsVersion(AIndex : Integer; const AValue : String); virtual;
  1368. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  1369. //2.6.4. bug workaround
  1370. {$IFDEF VER2_6}
  1371. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1372. {$ENDIF VER2_6}
  1373. Public
  1374. Published
  1375. Property annotationCount : integer Index 0 Read FannotationCount Write SetannotationCount;
  1376. Property annotationTypes : TStringArray Index 8 Read FannotationTypes Write SetannotationTypes;
  1377. Property annotationsDataLink : String Index 16 Read FannotationsDataLink Write SetannotationsDataLink;
  1378. Property annotationsLink : String Index 24 Read FannotationsLink Write SetannotationsLink;
  1379. Property contentVersion : String Index 32 Read FcontentVersion Write SetcontentVersion;
  1380. Property dataCount : integer Index 40 Read FdataCount Write SetdataCount;
  1381. Property id : String Index 48 Read Fid Write Setid;
  1382. Property kind : String Index 56 Read Fkind Write Setkind;
  1383. Property layerId : String Index 64 Read FlayerId Write SetlayerId;
  1384. Property selfLink : String Index 72 Read FselfLink Write SetselfLink;
  1385. Property updated : TDatetime Index 80 Read Fupdated Write Setupdated;
  1386. Property volumeAnnotationsVersion : String Index 88 Read FvolumeAnnotationsVersion Write SetvolumeAnnotationsVersion;
  1387. Property volumeId : String Index 96 Read FvolumeId Write SetvolumeId;
  1388. end;
  1389. TLayersummaryClass = Class of TLayersummary;
  1390. { --------------------------------------------------------------------
  1391. TMetadataTypeitemsItem
  1392. --------------------------------------------------------------------}
  1393. TMetadataTypeitemsItem = Class(TGoogleBaseObject)
  1394. Private
  1395. Fdownload_url : String;
  1396. Fencrypted_key : String;
  1397. Flanguage : String;
  1398. Fsize : String;
  1399. Fversion : String;
  1400. Protected
  1401. //Property setters
  1402. Procedure Setdownload_url(AIndex : Integer; const AValue : String); virtual;
  1403. Procedure Setencrypted_key(AIndex : Integer; const AValue : String); virtual;
  1404. Procedure Setlanguage(AIndex : Integer; const AValue : String); virtual;
  1405. Procedure Setsize(AIndex : Integer; const AValue : String); virtual;
  1406. Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
  1407. Public
  1408. Published
  1409. Property download_url : String Index 0 Read Fdownload_url Write Setdownload_url;
  1410. Property encrypted_key : String Index 8 Read Fencrypted_key Write Setencrypted_key;
  1411. Property language : String Index 16 Read Flanguage Write Setlanguage;
  1412. Property size : String Index 24 Read Fsize Write Setsize;
  1413. Property version : String Index 32 Read Fversion Write Setversion;
  1414. end;
  1415. TMetadataTypeitemsItemClass = Class of TMetadataTypeitemsItem;
  1416. { --------------------------------------------------------------------
  1417. TMetadata
  1418. --------------------------------------------------------------------}
  1419. TMetadata = Class(TGoogleBaseObject)
  1420. Private
  1421. Fitems : TMetadataTypeitemsArray;
  1422. Fkind : String;
  1423. Protected
  1424. //Property setters
  1425. Procedure Setitems(AIndex : Integer; const AValue : TMetadataTypeitemsArray); virtual;
  1426. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1427. //2.6.4. bug workaround
  1428. {$IFDEF VER2_6}
  1429. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1430. {$ENDIF VER2_6}
  1431. Public
  1432. Published
  1433. Property items : TMetadataTypeitemsArray Index 0 Read Fitems Write Setitems;
  1434. Property kind : String Index 8 Read Fkind Write Setkind;
  1435. end;
  1436. TMetadataClass = Class of TMetadata;
  1437. { --------------------------------------------------------------------
  1438. TNotification
  1439. --------------------------------------------------------------------}
  1440. TNotification = Class(TGoogleBaseObject)
  1441. Private
  1442. Fbody : String;
  1443. FcrmExperimentIds : TStringArray;
  1444. Fdoc_id : String;
  1445. Fdoc_type : String;
  1446. Fdont_show_notification : boolean;
  1447. FiconUrl : String;
  1448. Fkind : String;
  1449. Fnotification_type : String;
  1450. Fpcampaign_id : String;
  1451. Freason : String;
  1452. Fshow_notification_settings_action : boolean;
  1453. FtargetUrl : String;
  1454. Ftitle : String;
  1455. Protected
  1456. //Property setters
  1457. Procedure Setbody(AIndex : Integer; const AValue : String); virtual;
  1458. Procedure SetcrmExperimentIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1459. Procedure Setdoc_id(AIndex : Integer; const AValue : String); virtual;
  1460. Procedure Setdoc_type(AIndex : Integer; const AValue : String); virtual;
  1461. Procedure Setdont_show_notification(AIndex : Integer; const AValue : boolean); virtual;
  1462. Procedure SeticonUrl(AIndex : Integer; const AValue : String); virtual;
  1463. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1464. Procedure Setnotification_type(AIndex : Integer; const AValue : String); virtual;
  1465. Procedure Setpcampaign_id(AIndex : Integer; const AValue : String); virtual;
  1466. Procedure Setreason(AIndex : Integer; const AValue : String); virtual;
  1467. Procedure Setshow_notification_settings_action(AIndex : Integer; const AValue : boolean); virtual;
  1468. Procedure SettargetUrl(AIndex : Integer; const AValue : String); virtual;
  1469. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1470. //2.6.4. bug workaround
  1471. {$IFDEF VER2_6}
  1472. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1473. {$ENDIF VER2_6}
  1474. Public
  1475. Published
  1476. Property body : String Index 0 Read Fbody Write Setbody;
  1477. Property crmExperimentIds : TStringArray Index 8 Read FcrmExperimentIds Write SetcrmExperimentIds;
  1478. Property doc_id : String Index 16 Read Fdoc_id Write Setdoc_id;
  1479. Property doc_type : String Index 24 Read Fdoc_type Write Setdoc_type;
  1480. Property dont_show_notification : boolean Index 32 Read Fdont_show_notification Write Setdont_show_notification;
  1481. Property iconUrl : String Index 40 Read FiconUrl Write SeticonUrl;
  1482. Property kind : String Index 48 Read Fkind Write Setkind;
  1483. Property notification_type : String Index 56 Read Fnotification_type Write Setnotification_type;
  1484. Property pcampaign_id : String Index 64 Read Fpcampaign_id Write Setpcampaign_id;
  1485. Property reason : String Index 72 Read Freason Write Setreason;
  1486. Property show_notification_settings_action : boolean Index 80 Read Fshow_notification_settings_action Write Setshow_notification_settings_action;
  1487. Property targetUrl : String Index 88 Read FtargetUrl Write SettargetUrl;
  1488. Property title : String Index 96 Read Ftitle Write Settitle;
  1489. end;
  1490. TNotificationClass = Class of TNotification;
  1491. { --------------------------------------------------------------------
  1492. TOffersTypeitemsItemTypeitemsItem
  1493. --------------------------------------------------------------------}
  1494. TOffersTypeitemsItemTypeitemsItem = Class(TGoogleBaseObject)
  1495. Private
  1496. Fauthor : String;
  1497. FcanonicalVolumeLink : String;
  1498. FcoverUrl : String;
  1499. Fdescription : String;
  1500. Ftitle : String;
  1501. FvolumeId : String;
  1502. Protected
  1503. //Property setters
  1504. Procedure Setauthor(AIndex : Integer; const AValue : String); virtual;
  1505. Procedure SetcanonicalVolumeLink(AIndex : Integer; const AValue : String); virtual;
  1506. Procedure SetcoverUrl(AIndex : Integer; const AValue : String); virtual;
  1507. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1508. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1509. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  1510. Public
  1511. Published
  1512. Property author : String Index 0 Read Fauthor Write Setauthor;
  1513. Property canonicalVolumeLink : String Index 8 Read FcanonicalVolumeLink Write SetcanonicalVolumeLink;
  1514. Property coverUrl : String Index 16 Read FcoverUrl Write SetcoverUrl;
  1515. Property description : String Index 24 Read Fdescription Write Setdescription;
  1516. Property title : String Index 32 Read Ftitle Write Settitle;
  1517. Property volumeId : String Index 40 Read FvolumeId Write SetvolumeId;
  1518. end;
  1519. TOffersTypeitemsItemTypeitemsItemClass = Class of TOffersTypeitemsItemTypeitemsItem;
  1520. { --------------------------------------------------------------------
  1521. TOffersTypeitemsItem
  1522. --------------------------------------------------------------------}
  1523. TOffersTypeitemsItem = Class(TGoogleBaseObject)
  1524. Private
  1525. FartUrl : String;
  1526. FgservicesKey : String;
  1527. Fid : String;
  1528. Fitems : TOffersTypeitemsItemTypeitemsArray;
  1529. Protected
  1530. //Property setters
  1531. Procedure SetartUrl(AIndex : Integer; const AValue : String); virtual;
  1532. Procedure SetgservicesKey(AIndex : Integer; const AValue : String); virtual;
  1533. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1534. Procedure Setitems(AIndex : Integer; const AValue : TOffersTypeitemsItemTypeitemsArray); virtual;
  1535. //2.6.4. bug workaround
  1536. {$IFDEF VER2_6}
  1537. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1538. {$ENDIF VER2_6}
  1539. Public
  1540. Published
  1541. Property artUrl : String Index 0 Read FartUrl Write SetartUrl;
  1542. Property gservicesKey : String Index 8 Read FgservicesKey Write SetgservicesKey;
  1543. Property id : String Index 16 Read Fid Write Setid;
  1544. Property items : TOffersTypeitemsItemTypeitemsArray Index 24 Read Fitems Write Setitems;
  1545. end;
  1546. TOffersTypeitemsItemClass = Class of TOffersTypeitemsItem;
  1547. { --------------------------------------------------------------------
  1548. TOffers
  1549. --------------------------------------------------------------------}
  1550. TOffers = Class(TGoogleBaseObject)
  1551. Private
  1552. Fitems : TOffersTypeitemsArray;
  1553. Fkind : String;
  1554. Protected
  1555. //Property setters
  1556. Procedure Setitems(AIndex : Integer; const AValue : TOffersTypeitemsArray); virtual;
  1557. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1558. //2.6.4. bug workaround
  1559. {$IFDEF VER2_6}
  1560. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1561. {$ENDIF VER2_6}
  1562. Public
  1563. Published
  1564. Property items : TOffersTypeitemsArray Index 0 Read Fitems Write Setitems;
  1565. Property kind : String Index 8 Read Fkind Write Setkind;
  1566. end;
  1567. TOffersClass = Class of TOffers;
  1568. { --------------------------------------------------------------------
  1569. TReadingPosition
  1570. --------------------------------------------------------------------}
  1571. TReadingPosition = Class(TGoogleBaseObject)
  1572. Private
  1573. FepubCfiPosition : String;
  1574. FgbImagePosition : String;
  1575. FgbTextPosition : String;
  1576. Fkind : String;
  1577. FpdfPosition : String;
  1578. Fupdated : TDatetime;
  1579. FvolumeId : String;
  1580. Protected
  1581. //Property setters
  1582. Procedure SetepubCfiPosition(AIndex : Integer; const AValue : String); virtual;
  1583. Procedure SetgbImagePosition(AIndex : Integer; const AValue : String); virtual;
  1584. Procedure SetgbTextPosition(AIndex : Integer; const AValue : String); virtual;
  1585. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1586. Procedure SetpdfPosition(AIndex : Integer; const AValue : String); virtual;
  1587. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  1588. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  1589. Public
  1590. Published
  1591. Property epubCfiPosition : String Index 0 Read FepubCfiPosition Write SetepubCfiPosition;
  1592. Property gbImagePosition : String Index 8 Read FgbImagePosition Write SetgbImagePosition;
  1593. Property gbTextPosition : String Index 16 Read FgbTextPosition Write SetgbTextPosition;
  1594. Property kind : String Index 24 Read Fkind Write Setkind;
  1595. Property pdfPosition : String Index 32 Read FpdfPosition Write SetpdfPosition;
  1596. Property updated : TDatetime Index 40 Read Fupdated Write Setupdated;
  1597. Property volumeId : String Index 48 Read FvolumeId Write SetvolumeId;
  1598. end;
  1599. TReadingPositionClass = Class of TReadingPosition;
  1600. { --------------------------------------------------------------------
  1601. TRequestAccess
  1602. --------------------------------------------------------------------}
  1603. TRequestAccess = Class(TGoogleBaseObject)
  1604. Private
  1605. FconcurrentAccess : TConcurrentAccessRestriction;
  1606. FdownloadAccess : TDownloadAccessRestriction;
  1607. Fkind : String;
  1608. Protected
  1609. //Property setters
  1610. Procedure SetconcurrentAccess(AIndex : Integer; const AValue : TConcurrentAccessRestriction); virtual;
  1611. Procedure SetdownloadAccess(AIndex : Integer; const AValue : TDownloadAccessRestriction); virtual;
  1612. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1613. Public
  1614. Published
  1615. Property concurrentAccess : TConcurrentAccessRestriction Index 0 Read FconcurrentAccess Write SetconcurrentAccess;
  1616. Property downloadAccess : TDownloadAccessRestriction Index 8 Read FdownloadAccess Write SetdownloadAccess;
  1617. Property kind : String Index 16 Read Fkind Write Setkind;
  1618. end;
  1619. TRequestAccessClass = Class of TRequestAccess;
  1620. { --------------------------------------------------------------------
  1621. TReviewTypeauthor
  1622. --------------------------------------------------------------------}
  1623. TReviewTypeauthor = Class(TGoogleBaseObject)
  1624. Private
  1625. FdisplayName : String;
  1626. Protected
  1627. //Property setters
  1628. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  1629. Public
  1630. Published
  1631. Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
  1632. end;
  1633. TReviewTypeauthorClass = Class of TReviewTypeauthor;
  1634. { --------------------------------------------------------------------
  1635. TReviewTypesource
  1636. --------------------------------------------------------------------}
  1637. TReviewTypesource = Class(TGoogleBaseObject)
  1638. Private
  1639. Fdescription : String;
  1640. FextraDescription : String;
  1641. Furl : String;
  1642. Protected
  1643. //Property setters
  1644. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1645. Procedure SetextraDescription(AIndex : Integer; const AValue : String); virtual;
  1646. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  1647. Public
  1648. Published
  1649. Property description : String Index 0 Read Fdescription Write Setdescription;
  1650. Property extraDescription : String Index 8 Read FextraDescription Write SetextraDescription;
  1651. Property url : String Index 16 Read Furl Write Seturl;
  1652. end;
  1653. TReviewTypesourceClass = Class of TReviewTypesource;
  1654. { --------------------------------------------------------------------
  1655. TReview
  1656. --------------------------------------------------------------------}
  1657. TReview = Class(TGoogleBaseObject)
  1658. Private
  1659. Fauthor : TReviewTypeauthor;
  1660. Fcontent : String;
  1661. Fdate : String;
  1662. FfullTextUrl : String;
  1663. Fkind : String;
  1664. Frating : String;
  1665. Fsource : TReviewTypesource;
  1666. Ftitle : String;
  1667. F_type : String;
  1668. FvolumeId : String;
  1669. Protected
  1670. Class Function ExportPropertyName(Const AName : String) : string; override;
  1671. //Property setters
  1672. Procedure Setauthor(AIndex : Integer; const AValue : TReviewTypeauthor); virtual;
  1673. Procedure Setcontent(AIndex : Integer; const AValue : String); virtual;
  1674. Procedure Setdate(AIndex : Integer; const AValue : String); virtual;
  1675. Procedure SetfullTextUrl(AIndex : Integer; const AValue : String); virtual;
  1676. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1677. Procedure Setrating(AIndex : Integer; const AValue : String); virtual;
  1678. Procedure Setsource(AIndex : Integer; const AValue : TReviewTypesource); virtual;
  1679. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1680. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1681. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  1682. Public
  1683. Published
  1684. Property author : TReviewTypeauthor Index 0 Read Fauthor Write Setauthor;
  1685. Property content : String Index 8 Read Fcontent Write Setcontent;
  1686. Property date : String Index 16 Read Fdate Write Setdate;
  1687. Property fullTextUrl : String Index 24 Read FfullTextUrl Write SetfullTextUrl;
  1688. Property kind : String Index 32 Read Fkind Write Setkind;
  1689. Property rating : String Index 40 Read Frating Write Setrating;
  1690. Property source : TReviewTypesource Index 48 Read Fsource Write Setsource;
  1691. Property title : String Index 56 Read Ftitle Write Settitle;
  1692. Property _type : String Index 64 Read F_type Write Set_type;
  1693. Property volumeId : String Index 72 Read FvolumeId Write SetvolumeId;
  1694. end;
  1695. TReviewClass = Class of TReview;
  1696. { --------------------------------------------------------------------
  1697. TSeriesTypeseriesItem
  1698. --------------------------------------------------------------------}
  1699. TSeriesTypeseriesItem = Class(TGoogleBaseObject)
  1700. Private
  1701. FbannerImageUrl : String;
  1702. FimageUrl : String;
  1703. FseriesId : String;
  1704. FseriesType : String;
  1705. Ftitle : String;
  1706. Protected
  1707. //Property setters
  1708. Procedure SetbannerImageUrl(AIndex : Integer; const AValue : String); virtual;
  1709. Procedure SetimageUrl(AIndex : Integer; const AValue : String); virtual;
  1710. Procedure SetseriesId(AIndex : Integer; const AValue : String); virtual;
  1711. Procedure SetseriesType(AIndex : Integer; const AValue : String); virtual;
  1712. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1713. Public
  1714. Published
  1715. Property bannerImageUrl : String Index 0 Read FbannerImageUrl Write SetbannerImageUrl;
  1716. Property imageUrl : String Index 8 Read FimageUrl Write SetimageUrl;
  1717. Property seriesId : String Index 16 Read FseriesId Write SetseriesId;
  1718. Property seriesType : String Index 24 Read FseriesType Write SetseriesType;
  1719. Property title : String Index 32 Read Ftitle Write Settitle;
  1720. end;
  1721. TSeriesTypeseriesItemClass = Class of TSeriesTypeseriesItem;
  1722. { --------------------------------------------------------------------
  1723. TSeries
  1724. --------------------------------------------------------------------}
  1725. TSeries = Class(TGoogleBaseObject)
  1726. Private
  1727. Fkind : String;
  1728. Fseries : TSeriesTypeseriesArray;
  1729. Protected
  1730. //Property setters
  1731. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1732. Procedure Setseries(AIndex : Integer; const AValue : TSeriesTypeseriesArray); virtual;
  1733. //2.6.4. bug workaround
  1734. {$IFDEF VER2_6}
  1735. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1736. {$ENDIF VER2_6}
  1737. Public
  1738. Published
  1739. Property kind : String Index 0 Read Fkind Write Setkind;
  1740. Property series : TSeriesTypeseriesArray Index 8 Read Fseries Write Setseries;
  1741. end;
  1742. TSeriesClass = Class of TSeries;
  1743. { --------------------------------------------------------------------
  1744. TSeriesmembership
  1745. --------------------------------------------------------------------}
  1746. TSeriesmembership = Class(TGoogleBaseObject)
  1747. Private
  1748. Fkind : String;
  1749. Fmember : TSeriesmembershipTypememberArray;
  1750. FnextPageToken : String;
  1751. Protected
  1752. //Property setters
  1753. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1754. Procedure Setmember(AIndex : Integer; const AValue : TSeriesmembershipTypememberArray); virtual;
  1755. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1756. //2.6.4. bug workaround
  1757. {$IFDEF VER2_6}
  1758. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1759. {$ENDIF VER2_6}
  1760. Public
  1761. Published
  1762. Property kind : String Index 0 Read Fkind Write Setkind;
  1763. Property member : TSeriesmembershipTypememberArray Index 8 Read Fmember Write Setmember;
  1764. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1765. end;
  1766. TSeriesmembershipClass = Class of TSeriesmembership;
  1767. { --------------------------------------------------------------------
  1768. TUsersettingsTypenotesExport
  1769. --------------------------------------------------------------------}
  1770. TUsersettingsTypenotesExport = Class(TGoogleBaseObject)
  1771. Private
  1772. FfolderName : String;
  1773. FisEnabled : boolean;
  1774. Protected
  1775. //Property setters
  1776. Procedure SetfolderName(AIndex : Integer; const AValue : String); virtual;
  1777. Procedure SetisEnabled(AIndex : Integer; const AValue : boolean); virtual;
  1778. Public
  1779. Published
  1780. Property folderName : String Index 0 Read FfolderName Write SetfolderName;
  1781. Property isEnabled : boolean Index 8 Read FisEnabled Write SetisEnabled;
  1782. end;
  1783. TUsersettingsTypenotesExportClass = Class of TUsersettingsTypenotesExport;
  1784. { --------------------------------------------------------------------
  1785. TUsersettingsTypenotificationTypemoreFromAuthors
  1786. --------------------------------------------------------------------}
  1787. TUsersettingsTypenotificationTypemoreFromAuthors = Class(TGoogleBaseObject)
  1788. Private
  1789. Fopted_state : String;
  1790. Protected
  1791. //Property setters
  1792. Procedure Setopted_state(AIndex : Integer; const AValue : String); virtual;
  1793. Public
  1794. Published
  1795. Property opted_state : String Index 0 Read Fopted_state Write Setopted_state;
  1796. end;
  1797. TUsersettingsTypenotificationTypemoreFromAuthorsClass = Class of TUsersettingsTypenotificationTypemoreFromAuthors;
  1798. { --------------------------------------------------------------------
  1799. TUsersettingsTypenotification
  1800. --------------------------------------------------------------------}
  1801. TUsersettingsTypenotification = Class(TGoogleBaseObject)
  1802. Private
  1803. FmoreFromAuthors : TUsersettingsTypenotificationTypemoreFromAuthors;
  1804. Protected
  1805. //Property setters
  1806. Procedure SetmoreFromAuthors(AIndex : Integer; const AValue : TUsersettingsTypenotificationTypemoreFromAuthors); virtual;
  1807. Public
  1808. Published
  1809. Property moreFromAuthors : TUsersettingsTypenotificationTypemoreFromAuthors Index 0 Read FmoreFromAuthors Write SetmoreFromAuthors;
  1810. end;
  1811. TUsersettingsTypenotificationClass = Class of TUsersettingsTypenotification;
  1812. { --------------------------------------------------------------------
  1813. TUsersettings
  1814. --------------------------------------------------------------------}
  1815. TUsersettings = Class(TGoogleBaseObject)
  1816. Private
  1817. Fkind : String;
  1818. FnotesExport : TUsersettingsTypenotesExport;
  1819. Fnotification : TUsersettingsTypenotification;
  1820. Protected
  1821. //Property setters
  1822. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1823. Procedure SetnotesExport(AIndex : Integer; const AValue : TUsersettingsTypenotesExport); virtual;
  1824. Procedure Setnotification(AIndex : Integer; const AValue : TUsersettingsTypenotification); virtual;
  1825. Public
  1826. Published
  1827. Property kind : String Index 0 Read Fkind Write Setkind;
  1828. Property notesExport : TUsersettingsTypenotesExport Index 8 Read FnotesExport Write SetnotesExport;
  1829. Property notification : TUsersettingsTypenotification Index 16 Read Fnotification Write Setnotification;
  1830. end;
  1831. TUsersettingsClass = Class of TUsersettings;
  1832. { --------------------------------------------------------------------
  1833. TVolumeTypeaccessInfoTypeepub
  1834. --------------------------------------------------------------------}
  1835. TVolumeTypeaccessInfoTypeepub = Class(TGoogleBaseObject)
  1836. Private
  1837. FacsTokenLink : String;
  1838. FdownloadLink : String;
  1839. FisAvailable : boolean;
  1840. Protected
  1841. //Property setters
  1842. Procedure SetacsTokenLink(AIndex : Integer; const AValue : String); virtual;
  1843. Procedure SetdownloadLink(AIndex : Integer; const AValue : String); virtual;
  1844. Procedure SetisAvailable(AIndex : Integer; const AValue : boolean); virtual;
  1845. Public
  1846. Published
  1847. Property acsTokenLink : String Index 0 Read FacsTokenLink Write SetacsTokenLink;
  1848. Property downloadLink : String Index 8 Read FdownloadLink Write SetdownloadLink;
  1849. Property isAvailable : boolean Index 16 Read FisAvailable Write SetisAvailable;
  1850. end;
  1851. TVolumeTypeaccessInfoTypeepubClass = Class of TVolumeTypeaccessInfoTypeepub;
  1852. { --------------------------------------------------------------------
  1853. TVolumeTypeaccessInfoTypepdf
  1854. --------------------------------------------------------------------}
  1855. TVolumeTypeaccessInfoTypepdf = Class(TGoogleBaseObject)
  1856. Private
  1857. FacsTokenLink : String;
  1858. FdownloadLink : String;
  1859. FisAvailable : boolean;
  1860. Protected
  1861. //Property setters
  1862. Procedure SetacsTokenLink(AIndex : Integer; const AValue : String); virtual;
  1863. Procedure SetdownloadLink(AIndex : Integer; const AValue : String); virtual;
  1864. Procedure SetisAvailable(AIndex : Integer; const AValue : boolean); virtual;
  1865. Public
  1866. Published
  1867. Property acsTokenLink : String Index 0 Read FacsTokenLink Write SetacsTokenLink;
  1868. Property downloadLink : String Index 8 Read FdownloadLink Write SetdownloadLink;
  1869. Property isAvailable : boolean Index 16 Read FisAvailable Write SetisAvailable;
  1870. end;
  1871. TVolumeTypeaccessInfoTypepdfClass = Class of TVolumeTypeaccessInfoTypepdf;
  1872. { --------------------------------------------------------------------
  1873. TVolumeTypeaccessInfo
  1874. --------------------------------------------------------------------}
  1875. TVolumeTypeaccessInfo = Class(TGoogleBaseObject)
  1876. Private
  1877. FaccessViewStatus : String;
  1878. Fcountry : String;
  1879. FdownloadAccess : TDownloadAccessRestriction;
  1880. FdriveImportedContentLink : String;
  1881. Fembeddable : boolean;
  1882. Fepub : TVolumeTypeaccessInfoTypeepub;
  1883. FexplicitOfflineLicenseManagement : boolean;
  1884. Fpdf : TVolumeTypeaccessInfoTypepdf;
  1885. FpublicDomain : boolean;
  1886. FquoteSharingAllowed : boolean;
  1887. FtextToSpeechPermission : String;
  1888. FviewOrderUrl : String;
  1889. Fviewability : String;
  1890. FwebReaderLink : String;
  1891. Protected
  1892. //Property setters
  1893. Procedure SetaccessViewStatus(AIndex : Integer; const AValue : String); virtual;
  1894. Procedure Setcountry(AIndex : Integer; const AValue : String); virtual;
  1895. Procedure SetdownloadAccess(AIndex : Integer; const AValue : TDownloadAccessRestriction); virtual;
  1896. Procedure SetdriveImportedContentLink(AIndex : Integer; const AValue : String); virtual;
  1897. Procedure Setembeddable(AIndex : Integer; const AValue : boolean); virtual;
  1898. Procedure Setepub(AIndex : Integer; const AValue : TVolumeTypeaccessInfoTypeepub); virtual;
  1899. Procedure SetexplicitOfflineLicenseManagement(AIndex : Integer; const AValue : boolean); virtual;
  1900. Procedure Setpdf(AIndex : Integer; const AValue : TVolumeTypeaccessInfoTypepdf); virtual;
  1901. Procedure SetpublicDomain(AIndex : Integer; const AValue : boolean); virtual;
  1902. Procedure SetquoteSharingAllowed(AIndex : Integer; const AValue : boolean); virtual;
  1903. Procedure SettextToSpeechPermission(AIndex : Integer; const AValue : String); virtual;
  1904. Procedure SetviewOrderUrl(AIndex : Integer; const AValue : String); virtual;
  1905. Procedure Setviewability(AIndex : Integer; const AValue : String); virtual;
  1906. Procedure SetwebReaderLink(AIndex : Integer; const AValue : String); virtual;
  1907. Public
  1908. Published
  1909. Property accessViewStatus : String Index 0 Read FaccessViewStatus Write SetaccessViewStatus;
  1910. Property country : String Index 8 Read Fcountry Write Setcountry;
  1911. Property downloadAccess : TDownloadAccessRestriction Index 16 Read FdownloadAccess Write SetdownloadAccess;
  1912. Property driveImportedContentLink : String Index 24 Read FdriveImportedContentLink Write SetdriveImportedContentLink;
  1913. Property embeddable : boolean Index 32 Read Fembeddable Write Setembeddable;
  1914. Property epub : TVolumeTypeaccessInfoTypeepub Index 40 Read Fepub Write Setepub;
  1915. Property explicitOfflineLicenseManagement : boolean Index 48 Read FexplicitOfflineLicenseManagement Write SetexplicitOfflineLicenseManagement;
  1916. Property pdf : TVolumeTypeaccessInfoTypepdf Index 56 Read Fpdf Write Setpdf;
  1917. Property publicDomain : boolean Index 64 Read FpublicDomain Write SetpublicDomain;
  1918. Property quoteSharingAllowed : boolean Index 72 Read FquoteSharingAllowed Write SetquoteSharingAllowed;
  1919. Property textToSpeechPermission : String Index 80 Read FtextToSpeechPermission Write SettextToSpeechPermission;
  1920. Property viewOrderUrl : String Index 88 Read FviewOrderUrl Write SetviewOrderUrl;
  1921. Property viewability : String Index 96 Read Fviewability Write Setviewability;
  1922. Property webReaderLink : String Index 104 Read FwebReaderLink Write SetwebReaderLink;
  1923. end;
  1924. TVolumeTypeaccessInfoClass = Class of TVolumeTypeaccessInfo;
  1925. { --------------------------------------------------------------------
  1926. TVolumeTypelayerInfoTypelayersItem
  1927. --------------------------------------------------------------------}
  1928. TVolumeTypelayerInfoTypelayersItem = Class(TGoogleBaseObject)
  1929. Private
  1930. FlayerId : String;
  1931. FvolumeAnnotationsVersion : String;
  1932. Protected
  1933. //Property setters
  1934. Procedure SetlayerId(AIndex : Integer; const AValue : String); virtual;
  1935. Procedure SetvolumeAnnotationsVersion(AIndex : Integer; const AValue : String); virtual;
  1936. Public
  1937. Published
  1938. Property layerId : String Index 0 Read FlayerId Write SetlayerId;
  1939. Property volumeAnnotationsVersion : String Index 8 Read FvolumeAnnotationsVersion Write SetvolumeAnnotationsVersion;
  1940. end;
  1941. TVolumeTypelayerInfoTypelayersItemClass = Class of TVolumeTypelayerInfoTypelayersItem;
  1942. { --------------------------------------------------------------------
  1943. TVolumeTypelayerInfo
  1944. --------------------------------------------------------------------}
  1945. TVolumeTypelayerInfo = Class(TGoogleBaseObject)
  1946. Private
  1947. Flayers : TVolumeTypelayerInfoTypelayersArray;
  1948. Protected
  1949. //Property setters
  1950. Procedure Setlayers(AIndex : Integer; const AValue : TVolumeTypelayerInfoTypelayersArray); virtual;
  1951. //2.6.4. bug workaround
  1952. {$IFDEF VER2_6}
  1953. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1954. {$ENDIF VER2_6}
  1955. Public
  1956. Published
  1957. Property layers : TVolumeTypelayerInfoTypelayersArray Index 0 Read Flayers Write Setlayers;
  1958. end;
  1959. TVolumeTypelayerInfoClass = Class of TVolumeTypelayerInfo;
  1960. { --------------------------------------------------------------------
  1961. TVolumeTyperecommendedInfo
  1962. --------------------------------------------------------------------}
  1963. TVolumeTyperecommendedInfo = Class(TGoogleBaseObject)
  1964. Private
  1965. Fexplanation : String;
  1966. Protected
  1967. //Property setters
  1968. Procedure Setexplanation(AIndex : Integer; const AValue : String); virtual;
  1969. Public
  1970. Published
  1971. Property explanation : String Index 0 Read Fexplanation Write Setexplanation;
  1972. end;
  1973. TVolumeTyperecommendedInfoClass = Class of TVolumeTyperecommendedInfo;
  1974. { --------------------------------------------------------------------
  1975. TVolumeTypesaleInfoTypelistPrice
  1976. --------------------------------------------------------------------}
  1977. TVolumeTypesaleInfoTypelistPrice = Class(TGoogleBaseObject)
  1978. Private
  1979. Famount : double;
  1980. FcurrencyCode : String;
  1981. Protected
  1982. //Property setters
  1983. Procedure Setamount(AIndex : Integer; const AValue : double); virtual;
  1984. Procedure SetcurrencyCode(AIndex : Integer; const AValue : String); virtual;
  1985. Public
  1986. Published
  1987. Property amount : double Index 0 Read Famount Write Setamount;
  1988. Property currencyCode : String Index 8 Read FcurrencyCode Write SetcurrencyCode;
  1989. end;
  1990. TVolumeTypesaleInfoTypelistPriceClass = Class of TVolumeTypesaleInfoTypelistPrice;
  1991. { --------------------------------------------------------------------
  1992. TVolumeTypesaleInfoTypeoffersItemTypelistPrice
  1993. --------------------------------------------------------------------}
  1994. TVolumeTypesaleInfoTypeoffersItemTypelistPrice = Class(TGoogleBaseObject)
  1995. Private
  1996. FamountInMicros : double;
  1997. FcurrencyCode : String;
  1998. Protected
  1999. //Property setters
  2000. Procedure SetamountInMicros(AIndex : Integer; const AValue : double); virtual;
  2001. Procedure SetcurrencyCode(AIndex : Integer; const AValue : String); virtual;
  2002. Public
  2003. Published
  2004. Property amountInMicros : double Index 0 Read FamountInMicros Write SetamountInMicros;
  2005. Property currencyCode : String Index 8 Read FcurrencyCode Write SetcurrencyCode;
  2006. end;
  2007. TVolumeTypesaleInfoTypeoffersItemTypelistPriceClass = Class of TVolumeTypesaleInfoTypeoffersItemTypelistPrice;
  2008. { --------------------------------------------------------------------
  2009. TVolumeTypesaleInfoTypeoffersItemTyperentalDuration
  2010. --------------------------------------------------------------------}
  2011. TVolumeTypesaleInfoTypeoffersItemTyperentalDuration = Class(TGoogleBaseObject)
  2012. Private
  2013. Fcount : double;
  2014. F_unit : String;
  2015. Protected
  2016. Class Function ExportPropertyName(Const AName : String) : string; override;
  2017. //Property setters
  2018. Procedure Setcount(AIndex : Integer; const AValue : double); virtual;
  2019. Procedure Set_unit(AIndex : Integer; const AValue : String); virtual;
  2020. Public
  2021. Published
  2022. Property count : double Index 0 Read Fcount Write Setcount;
  2023. Property _unit : String Index 8 Read F_unit Write Set_unit;
  2024. end;
  2025. TVolumeTypesaleInfoTypeoffersItemTyperentalDurationClass = Class of TVolumeTypesaleInfoTypeoffersItemTyperentalDuration;
  2026. { --------------------------------------------------------------------
  2027. TVolumeTypesaleInfoTypeoffersItemTyperetailPrice
  2028. --------------------------------------------------------------------}
  2029. TVolumeTypesaleInfoTypeoffersItemTyperetailPrice = Class(TGoogleBaseObject)
  2030. Private
  2031. FamountInMicros : double;
  2032. FcurrencyCode : String;
  2033. Protected
  2034. //Property setters
  2035. Procedure SetamountInMicros(AIndex : Integer; const AValue : double); virtual;
  2036. Procedure SetcurrencyCode(AIndex : Integer; const AValue : String); virtual;
  2037. Public
  2038. Published
  2039. Property amountInMicros : double Index 0 Read FamountInMicros Write SetamountInMicros;
  2040. Property currencyCode : String Index 8 Read FcurrencyCode Write SetcurrencyCode;
  2041. end;
  2042. TVolumeTypesaleInfoTypeoffersItemTyperetailPriceClass = Class of TVolumeTypesaleInfoTypeoffersItemTyperetailPrice;
  2043. { --------------------------------------------------------------------
  2044. TVolumeTypesaleInfoTypeoffersItem
  2045. --------------------------------------------------------------------}
  2046. TVolumeTypesaleInfoTypeoffersItem = Class(TGoogleBaseObject)
  2047. Private
  2048. FfinskyOfferType : integer;
  2049. FlistPrice : TVolumeTypesaleInfoTypeoffersItemTypelistPrice;
  2050. FrentalDuration : TVolumeTypesaleInfoTypeoffersItemTyperentalDuration;
  2051. FretailPrice : TVolumeTypesaleInfoTypeoffersItemTyperetailPrice;
  2052. Protected
  2053. //Property setters
  2054. Procedure SetfinskyOfferType(AIndex : Integer; const AValue : integer); virtual;
  2055. Procedure SetlistPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersItemTypelistPrice); virtual;
  2056. Procedure SetrentalDuration(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersItemTyperentalDuration); virtual;
  2057. Procedure SetretailPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersItemTyperetailPrice); virtual;
  2058. Public
  2059. Published
  2060. Property finskyOfferType : integer Index 0 Read FfinskyOfferType Write SetfinskyOfferType;
  2061. Property listPrice : TVolumeTypesaleInfoTypeoffersItemTypelistPrice Index 8 Read FlistPrice Write SetlistPrice;
  2062. Property rentalDuration : TVolumeTypesaleInfoTypeoffersItemTyperentalDuration Index 16 Read FrentalDuration Write SetrentalDuration;
  2063. Property retailPrice : TVolumeTypesaleInfoTypeoffersItemTyperetailPrice Index 24 Read FretailPrice Write SetretailPrice;
  2064. end;
  2065. TVolumeTypesaleInfoTypeoffersItemClass = Class of TVolumeTypesaleInfoTypeoffersItem;
  2066. { --------------------------------------------------------------------
  2067. TVolumeTypesaleInfoTyperetailPrice
  2068. --------------------------------------------------------------------}
  2069. TVolumeTypesaleInfoTyperetailPrice = Class(TGoogleBaseObject)
  2070. Private
  2071. Famount : double;
  2072. FcurrencyCode : String;
  2073. Protected
  2074. //Property setters
  2075. Procedure Setamount(AIndex : Integer; const AValue : double); virtual;
  2076. Procedure SetcurrencyCode(AIndex : Integer; const AValue : String); virtual;
  2077. Public
  2078. Published
  2079. Property amount : double Index 0 Read Famount Write Setamount;
  2080. Property currencyCode : String Index 8 Read FcurrencyCode Write SetcurrencyCode;
  2081. end;
  2082. TVolumeTypesaleInfoTyperetailPriceClass = Class of TVolumeTypesaleInfoTyperetailPrice;
  2083. { --------------------------------------------------------------------
  2084. TVolumeTypesaleInfo
  2085. --------------------------------------------------------------------}
  2086. TVolumeTypesaleInfo = Class(TGoogleBaseObject)
  2087. Private
  2088. FbuyLink : String;
  2089. Fcountry : String;
  2090. FisEbook : boolean;
  2091. FlistPrice : TVolumeTypesaleInfoTypelistPrice;
  2092. Foffers : TVolumeTypesaleInfoTypeoffersArray;
  2093. FonSaleDate : TDatetime;
  2094. FretailPrice : TVolumeTypesaleInfoTyperetailPrice;
  2095. Fsaleability : String;
  2096. Protected
  2097. //Property setters
  2098. Procedure SetbuyLink(AIndex : Integer; const AValue : String); virtual;
  2099. Procedure Setcountry(AIndex : Integer; const AValue : String); virtual;
  2100. Procedure SetisEbook(AIndex : Integer; const AValue : boolean); virtual;
  2101. Procedure SetlistPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypelistPrice); virtual;
  2102. Procedure Setoffers(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersArray); virtual;
  2103. Procedure SetonSaleDate(AIndex : Integer; const AValue : TDatetime); virtual;
  2104. Procedure SetretailPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTyperetailPrice); virtual;
  2105. Procedure Setsaleability(AIndex : Integer; const AValue : String); virtual;
  2106. //2.6.4. bug workaround
  2107. {$IFDEF VER2_6}
  2108. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2109. {$ENDIF VER2_6}
  2110. Public
  2111. Published
  2112. Property buyLink : String Index 0 Read FbuyLink Write SetbuyLink;
  2113. Property country : String Index 8 Read Fcountry Write Setcountry;
  2114. Property isEbook : boolean Index 16 Read FisEbook Write SetisEbook;
  2115. Property listPrice : TVolumeTypesaleInfoTypelistPrice Index 24 Read FlistPrice Write SetlistPrice;
  2116. Property offers : TVolumeTypesaleInfoTypeoffersArray Index 32 Read Foffers Write Setoffers;
  2117. Property onSaleDate : TDatetime Index 40 Read FonSaleDate Write SetonSaleDate;
  2118. Property retailPrice : TVolumeTypesaleInfoTyperetailPrice Index 48 Read FretailPrice Write SetretailPrice;
  2119. Property saleability : String Index 56 Read Fsaleability Write Setsaleability;
  2120. end;
  2121. TVolumeTypesaleInfoClass = Class of TVolumeTypesaleInfo;
  2122. { --------------------------------------------------------------------
  2123. TVolumeTypesearchInfo
  2124. --------------------------------------------------------------------}
  2125. TVolumeTypesearchInfo = Class(TGoogleBaseObject)
  2126. Private
  2127. FtextSnippet : String;
  2128. Protected
  2129. //Property setters
  2130. Procedure SettextSnippet(AIndex : Integer; const AValue : String); virtual;
  2131. Public
  2132. Published
  2133. Property textSnippet : String Index 0 Read FtextSnippet Write SettextSnippet;
  2134. end;
  2135. TVolumeTypesearchInfoClass = Class of TVolumeTypesearchInfo;
  2136. { --------------------------------------------------------------------
  2137. TVolumeTypeuserInfoTypecopy
  2138. --------------------------------------------------------------------}
  2139. TVolumeTypeuserInfoTypecopy = Class(TGoogleBaseObject)
  2140. Private
  2141. FallowedCharacterCount : integer;
  2142. FlimitType : String;
  2143. FremainingCharacterCount : integer;
  2144. Fupdated : TDatetime;
  2145. Protected
  2146. //Property setters
  2147. Procedure SetallowedCharacterCount(AIndex : Integer; const AValue : integer); virtual;
  2148. Procedure SetlimitType(AIndex : Integer; const AValue : String); virtual;
  2149. Procedure SetremainingCharacterCount(AIndex : Integer; const AValue : integer); virtual;
  2150. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  2151. Public
  2152. Published
  2153. Property allowedCharacterCount : integer Index 0 Read FallowedCharacterCount Write SetallowedCharacterCount;
  2154. Property limitType : String Index 8 Read FlimitType Write SetlimitType;
  2155. Property remainingCharacterCount : integer Index 16 Read FremainingCharacterCount Write SetremainingCharacterCount;
  2156. Property updated : TDatetime Index 24 Read Fupdated Write Setupdated;
  2157. end;
  2158. TVolumeTypeuserInfoTypecopyClass = Class of TVolumeTypeuserInfoTypecopy;
  2159. { --------------------------------------------------------------------
  2160. TVolumeTypeuserInfoTypefamilySharing
  2161. --------------------------------------------------------------------}
  2162. TVolumeTypeuserInfoTypefamilySharing = Class(TGoogleBaseObject)
  2163. Private
  2164. FfamilyRole : String;
  2165. FisSharingAllowed : boolean;
  2166. FisSharingDisabledByFop : boolean;
  2167. Protected
  2168. //Property setters
  2169. Procedure SetfamilyRole(AIndex : Integer; const AValue : String); virtual;
  2170. Procedure SetisSharingAllowed(AIndex : Integer; const AValue : boolean); virtual;
  2171. Procedure SetisSharingDisabledByFop(AIndex : Integer; const AValue : boolean); virtual;
  2172. Public
  2173. Published
  2174. Property familyRole : String Index 0 Read FfamilyRole Write SetfamilyRole;
  2175. Property isSharingAllowed : boolean Index 8 Read FisSharingAllowed Write SetisSharingAllowed;
  2176. Property isSharingDisabledByFop : boolean Index 16 Read FisSharingDisabledByFop Write SetisSharingDisabledByFop;
  2177. end;
  2178. TVolumeTypeuserInfoTypefamilySharingClass = Class of TVolumeTypeuserInfoTypefamilySharing;
  2179. { --------------------------------------------------------------------
  2180. TVolumeTypeuserInfoTyperentalPeriod
  2181. --------------------------------------------------------------------}
  2182. TVolumeTypeuserInfoTyperentalPeriod = Class(TGoogleBaseObject)
  2183. Private
  2184. FendUtcSec : String;
  2185. FstartUtcSec : String;
  2186. Protected
  2187. //Property setters
  2188. Procedure SetendUtcSec(AIndex : Integer; const AValue : String); virtual;
  2189. Procedure SetstartUtcSec(AIndex : Integer; const AValue : String); virtual;
  2190. Public
  2191. Published
  2192. Property endUtcSec : String Index 0 Read FendUtcSec Write SetendUtcSec;
  2193. Property startUtcSec : String Index 8 Read FstartUtcSec Write SetstartUtcSec;
  2194. end;
  2195. TVolumeTypeuserInfoTyperentalPeriodClass = Class of TVolumeTypeuserInfoTyperentalPeriod;
  2196. { --------------------------------------------------------------------
  2197. TVolumeTypeuserInfoTypeuserUploadedVolumeInfo
  2198. --------------------------------------------------------------------}
  2199. TVolumeTypeuserInfoTypeuserUploadedVolumeInfo = Class(TGoogleBaseObject)
  2200. Private
  2201. FprocessingState : String;
  2202. Protected
  2203. //Property setters
  2204. Procedure SetprocessingState(AIndex : Integer; const AValue : String); virtual;
  2205. Public
  2206. Published
  2207. Property processingState : String Index 0 Read FprocessingState Write SetprocessingState;
  2208. end;
  2209. TVolumeTypeuserInfoTypeuserUploadedVolumeInfoClass = Class of TVolumeTypeuserInfoTypeuserUploadedVolumeInfo;
  2210. { --------------------------------------------------------------------
  2211. TVolumeTypeuserInfo
  2212. --------------------------------------------------------------------}
  2213. TVolumeTypeuserInfo = Class(TGoogleBaseObject)
  2214. Private
  2215. FacquiredTime : TDatetime;
  2216. FacquisitionType : integer;
  2217. Fcopy : TVolumeTypeuserInfoTypecopy;
  2218. FentitlementType : integer;
  2219. FfamilySharing : TVolumeTypeuserInfoTypefamilySharing;
  2220. FisFamilySharedFromUser : boolean;
  2221. FisFamilySharedToUser : boolean;
  2222. FisFamilySharingAllowed : boolean;
  2223. FisFamilySharingDisabledByFop : boolean;
  2224. FisInMyBooks : boolean;
  2225. FisPreordered : boolean;
  2226. FisPurchased : boolean;
  2227. FisUploaded : boolean;
  2228. FreadingPosition : TReadingPosition;
  2229. FrentalPeriod : TVolumeTypeuserInfoTyperentalPeriod;
  2230. FrentalState : String;
  2231. Freview : TReview;
  2232. Fupdated : TDatetime;
  2233. FuserUploadedVolumeInfo : TVolumeTypeuserInfoTypeuserUploadedVolumeInfo;
  2234. Protected
  2235. //Property setters
  2236. Procedure SetacquiredTime(AIndex : Integer; const AValue : TDatetime); virtual;
  2237. Procedure SetacquisitionType(AIndex : Integer; const AValue : integer); virtual;
  2238. Procedure Setcopy(AIndex : Integer; const AValue : TVolumeTypeuserInfoTypecopy); virtual;
  2239. Procedure SetentitlementType(AIndex : Integer; const AValue : integer); virtual;
  2240. Procedure SetfamilySharing(AIndex : Integer; const AValue : TVolumeTypeuserInfoTypefamilySharing); virtual;
  2241. Procedure SetisFamilySharedFromUser(AIndex : Integer; const AValue : boolean); virtual;
  2242. Procedure SetisFamilySharedToUser(AIndex : Integer; const AValue : boolean); virtual;
  2243. Procedure SetisFamilySharingAllowed(AIndex : Integer; const AValue : boolean); virtual;
  2244. Procedure SetisFamilySharingDisabledByFop(AIndex : Integer; const AValue : boolean); virtual;
  2245. Procedure SetisInMyBooks(AIndex : Integer; const AValue : boolean); virtual;
  2246. Procedure SetisPreordered(AIndex : Integer; const AValue : boolean); virtual;
  2247. Procedure SetisPurchased(AIndex : Integer; const AValue : boolean); virtual;
  2248. Procedure SetisUploaded(AIndex : Integer; const AValue : boolean); virtual;
  2249. Procedure SetreadingPosition(AIndex : Integer; const AValue : TReadingPosition); virtual;
  2250. Procedure SetrentalPeriod(AIndex : Integer; const AValue : TVolumeTypeuserInfoTyperentalPeriod); virtual;
  2251. Procedure SetrentalState(AIndex : Integer; const AValue : String); virtual;
  2252. Procedure Setreview(AIndex : Integer; const AValue : TReview); virtual;
  2253. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  2254. Procedure SetuserUploadedVolumeInfo(AIndex : Integer; const AValue : TVolumeTypeuserInfoTypeuserUploadedVolumeInfo); virtual;
  2255. Public
  2256. Published
  2257. Property acquiredTime : TDatetime Index 0 Read FacquiredTime Write SetacquiredTime;
  2258. Property acquisitionType : integer Index 8 Read FacquisitionType Write SetacquisitionType;
  2259. Property copy : TVolumeTypeuserInfoTypecopy Index 16 Read Fcopy Write Setcopy;
  2260. Property entitlementType : integer Index 24 Read FentitlementType Write SetentitlementType;
  2261. Property familySharing : TVolumeTypeuserInfoTypefamilySharing Index 32 Read FfamilySharing Write SetfamilySharing;
  2262. Property isFamilySharedFromUser : boolean Index 40 Read FisFamilySharedFromUser Write SetisFamilySharedFromUser;
  2263. Property isFamilySharedToUser : boolean Index 48 Read FisFamilySharedToUser Write SetisFamilySharedToUser;
  2264. Property isFamilySharingAllowed : boolean Index 56 Read FisFamilySharingAllowed Write SetisFamilySharingAllowed;
  2265. Property isFamilySharingDisabledByFop : boolean Index 64 Read FisFamilySharingDisabledByFop Write SetisFamilySharingDisabledByFop;
  2266. Property isInMyBooks : boolean Index 72 Read FisInMyBooks Write SetisInMyBooks;
  2267. Property isPreordered : boolean Index 80 Read FisPreordered Write SetisPreordered;
  2268. Property isPurchased : boolean Index 88 Read FisPurchased Write SetisPurchased;
  2269. Property isUploaded : boolean Index 96 Read FisUploaded Write SetisUploaded;
  2270. Property readingPosition : TReadingPosition Index 104 Read FreadingPosition Write SetreadingPosition;
  2271. Property rentalPeriod : TVolumeTypeuserInfoTyperentalPeriod Index 112 Read FrentalPeriod Write SetrentalPeriod;
  2272. Property rentalState : String Index 120 Read FrentalState Write SetrentalState;
  2273. Property review : TReview Index 128 Read Freview Write Setreview;
  2274. Property updated : TDatetime Index 136 Read Fupdated Write Setupdated;
  2275. Property userUploadedVolumeInfo : TVolumeTypeuserInfoTypeuserUploadedVolumeInfo Index 144 Read FuserUploadedVolumeInfo Write SetuserUploadedVolumeInfo;
  2276. end;
  2277. TVolumeTypeuserInfoClass = Class of TVolumeTypeuserInfo;
  2278. { --------------------------------------------------------------------
  2279. TVolumeTypevolumeInfoTypedimensions
  2280. --------------------------------------------------------------------}
  2281. TVolumeTypevolumeInfoTypedimensions = Class(TGoogleBaseObject)
  2282. Private
  2283. Fheight : String;
  2284. Fthickness : String;
  2285. Fwidth : String;
  2286. Protected
  2287. //Property setters
  2288. Procedure Setheight(AIndex : Integer; const AValue : String); virtual;
  2289. Procedure Setthickness(AIndex : Integer; const AValue : String); virtual;
  2290. Procedure Setwidth(AIndex : Integer; const AValue : String); virtual;
  2291. Public
  2292. Published
  2293. Property height : String Index 0 Read Fheight Write Setheight;
  2294. Property thickness : String Index 8 Read Fthickness Write Setthickness;
  2295. Property width : String Index 16 Read Fwidth Write Setwidth;
  2296. end;
  2297. TVolumeTypevolumeInfoTypedimensionsClass = Class of TVolumeTypevolumeInfoTypedimensions;
  2298. { --------------------------------------------------------------------
  2299. TVolumeTypevolumeInfoTypeimageLinks
  2300. --------------------------------------------------------------------}
  2301. TVolumeTypevolumeInfoTypeimageLinks = Class(TGoogleBaseObject)
  2302. Private
  2303. FextraLarge : String;
  2304. Flarge : String;
  2305. Fmedium : String;
  2306. Fsmall : String;
  2307. FsmallThumbnail : String;
  2308. Fthumbnail : String;
  2309. Protected
  2310. //Property setters
  2311. Procedure SetextraLarge(AIndex : Integer; const AValue : String); virtual;
  2312. Procedure Setlarge(AIndex : Integer; const AValue : String); virtual;
  2313. Procedure Setmedium(AIndex : Integer; const AValue : String); virtual;
  2314. Procedure Setsmall(AIndex : Integer; const AValue : String); virtual;
  2315. Procedure SetsmallThumbnail(AIndex : Integer; const AValue : String); virtual;
  2316. Procedure Setthumbnail(AIndex : Integer; const AValue : String); virtual;
  2317. Public
  2318. Published
  2319. Property extraLarge : String Index 0 Read FextraLarge Write SetextraLarge;
  2320. Property large : String Index 8 Read Flarge Write Setlarge;
  2321. Property medium : String Index 16 Read Fmedium Write Setmedium;
  2322. Property small : String Index 24 Read Fsmall Write Setsmall;
  2323. Property smallThumbnail : String Index 32 Read FsmallThumbnail Write SetsmallThumbnail;
  2324. Property thumbnail : String Index 40 Read Fthumbnail Write Setthumbnail;
  2325. end;
  2326. TVolumeTypevolumeInfoTypeimageLinksClass = Class of TVolumeTypevolumeInfoTypeimageLinks;
  2327. { --------------------------------------------------------------------
  2328. TVolumeTypevolumeInfoTypeindustryIdentifiersItem
  2329. --------------------------------------------------------------------}
  2330. TVolumeTypevolumeInfoTypeindustryIdentifiersItem = Class(TGoogleBaseObject)
  2331. Private
  2332. Fidentifier : String;
  2333. F_type : String;
  2334. Protected
  2335. Class Function ExportPropertyName(Const AName : String) : string; override;
  2336. //Property setters
  2337. Procedure Setidentifier(AIndex : Integer; const AValue : String); virtual;
  2338. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  2339. Public
  2340. Published
  2341. Property identifier : String Index 0 Read Fidentifier Write Setidentifier;
  2342. Property _type : String Index 8 Read F_type Write Set_type;
  2343. end;
  2344. TVolumeTypevolumeInfoTypeindustryIdentifiersItemClass = Class of TVolumeTypevolumeInfoTypeindustryIdentifiersItem;
  2345. { --------------------------------------------------------------------
  2346. TVolumeTypevolumeInfo
  2347. --------------------------------------------------------------------}
  2348. TVolumeTypevolumeInfo = Class(TGoogleBaseObject)
  2349. Private
  2350. FallowAnonLogging : boolean;
  2351. Fauthors : TStringArray;
  2352. FaverageRating : double;
  2353. FcanonicalVolumeLink : String;
  2354. Fcategories : TStringArray;
  2355. FcontentVersion : String;
  2356. Fdescription : String;
  2357. Fdimensions : TVolumeTypevolumeInfoTypedimensions;
  2358. FimageLinks : TVolumeTypevolumeInfoTypeimageLinks;
  2359. FindustryIdentifiers : TVolumeTypevolumeInfoTypeindustryIdentifiersArray;
  2360. FinfoLink : String;
  2361. Flanguage : String;
  2362. FmainCategory : String;
  2363. FmaturityRating : String;
  2364. FpageCount : integer;
  2365. FpreviewLink : String;
  2366. FprintType : String;
  2367. FprintedPageCount : integer;
  2368. FpublishedDate : String;
  2369. Fpublisher : String;
  2370. FratingsCount : integer;
  2371. FreadingModes : TJSONSchema;
  2372. FsamplePageCount : integer;
  2373. FseriesInfo : TVolumeseriesinfo;
  2374. Fsubtitle : String;
  2375. Ftitle : String;
  2376. Protected
  2377. //Property setters
  2378. Procedure SetallowAnonLogging(AIndex : Integer; const AValue : boolean); virtual;
  2379. Procedure Setauthors(AIndex : Integer; const AValue : TStringArray); virtual;
  2380. Procedure SetaverageRating(AIndex : Integer; const AValue : double); virtual;
  2381. Procedure SetcanonicalVolumeLink(AIndex : Integer; const AValue : String); virtual;
  2382. Procedure Setcategories(AIndex : Integer; const AValue : TStringArray); virtual;
  2383. Procedure SetcontentVersion(AIndex : Integer; const AValue : String); virtual;
  2384. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2385. Procedure Setdimensions(AIndex : Integer; const AValue : TVolumeTypevolumeInfoTypedimensions); virtual;
  2386. Procedure SetimageLinks(AIndex : Integer; const AValue : TVolumeTypevolumeInfoTypeimageLinks); virtual;
  2387. Procedure SetindustryIdentifiers(AIndex : Integer; const AValue : TVolumeTypevolumeInfoTypeindustryIdentifiersArray); virtual;
  2388. Procedure SetinfoLink(AIndex : Integer; const AValue : String); virtual;
  2389. Procedure Setlanguage(AIndex : Integer; const AValue : String); virtual;
  2390. Procedure SetmainCategory(AIndex : Integer; const AValue : String); virtual;
  2391. Procedure SetmaturityRating(AIndex : Integer; const AValue : String); virtual;
  2392. Procedure SetpageCount(AIndex : Integer; const AValue : integer); virtual;
  2393. Procedure SetpreviewLink(AIndex : Integer; const AValue : String); virtual;
  2394. Procedure SetprintType(AIndex : Integer; const AValue : String); virtual;
  2395. Procedure SetprintedPageCount(AIndex : Integer; const AValue : integer); virtual;
  2396. Procedure SetpublishedDate(AIndex : Integer; const AValue : String); virtual;
  2397. Procedure Setpublisher(AIndex : Integer; const AValue : String); virtual;
  2398. Procedure SetratingsCount(AIndex : Integer; const AValue : integer); virtual;
  2399. Procedure SetreadingModes(AIndex : Integer; const AValue : TJSONSchema); virtual;
  2400. Procedure SetsamplePageCount(AIndex : Integer; const AValue : integer); virtual;
  2401. Procedure SetseriesInfo(AIndex : Integer; const AValue : TVolumeseriesinfo); virtual;
  2402. Procedure Setsubtitle(AIndex : Integer; const AValue : String); virtual;
  2403. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  2404. //2.6.4. bug workaround
  2405. {$IFDEF VER2_6}
  2406. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2407. {$ENDIF VER2_6}
  2408. Public
  2409. Published
  2410. Property allowAnonLogging : boolean Index 0 Read FallowAnonLogging Write SetallowAnonLogging;
  2411. Property authors : TStringArray Index 8 Read Fauthors Write Setauthors;
  2412. Property averageRating : double Index 16 Read FaverageRating Write SetaverageRating;
  2413. Property canonicalVolumeLink : String Index 24 Read FcanonicalVolumeLink Write SetcanonicalVolumeLink;
  2414. Property categories : TStringArray Index 32 Read Fcategories Write Setcategories;
  2415. Property contentVersion : String Index 40 Read FcontentVersion Write SetcontentVersion;
  2416. Property description : String Index 48 Read Fdescription Write Setdescription;
  2417. Property dimensions : TVolumeTypevolumeInfoTypedimensions Index 56 Read Fdimensions Write Setdimensions;
  2418. Property imageLinks : TVolumeTypevolumeInfoTypeimageLinks Index 64 Read FimageLinks Write SetimageLinks;
  2419. Property industryIdentifiers : TVolumeTypevolumeInfoTypeindustryIdentifiersArray Index 72 Read FindustryIdentifiers Write SetindustryIdentifiers;
  2420. Property infoLink : String Index 80 Read FinfoLink Write SetinfoLink;
  2421. Property language : String Index 88 Read Flanguage Write Setlanguage;
  2422. Property mainCategory : String Index 96 Read FmainCategory Write SetmainCategory;
  2423. Property maturityRating : String Index 104 Read FmaturityRating Write SetmaturityRating;
  2424. Property pageCount : integer Index 112 Read FpageCount Write SetpageCount;
  2425. Property previewLink : String Index 120 Read FpreviewLink Write SetpreviewLink;
  2426. Property printType : String Index 128 Read FprintType Write SetprintType;
  2427. Property printedPageCount : integer Index 136 Read FprintedPageCount Write SetprintedPageCount;
  2428. Property publishedDate : String Index 144 Read FpublishedDate Write SetpublishedDate;
  2429. Property publisher : String Index 152 Read Fpublisher Write Setpublisher;
  2430. Property ratingsCount : integer Index 160 Read FratingsCount Write SetratingsCount;
  2431. Property readingModes : TJSONSchema Index 168 Read FreadingModes Write SetreadingModes;
  2432. Property samplePageCount : integer Index 176 Read FsamplePageCount Write SetsamplePageCount;
  2433. Property seriesInfo : TVolumeseriesinfo Index 184 Read FseriesInfo Write SetseriesInfo;
  2434. Property subtitle : String Index 192 Read Fsubtitle Write Setsubtitle;
  2435. Property title : String Index 200 Read Ftitle Write Settitle;
  2436. end;
  2437. TVolumeTypevolumeInfoClass = Class of TVolumeTypevolumeInfo;
  2438. { --------------------------------------------------------------------
  2439. TVolume
  2440. --------------------------------------------------------------------}
  2441. TVolume = Class(TGoogleBaseObject)
  2442. Private
  2443. FaccessInfo : TVolumeTypeaccessInfo;
  2444. Fetag : String;
  2445. Fid : String;
  2446. Fkind : String;
  2447. FlayerInfo : TVolumeTypelayerInfo;
  2448. FrecommendedInfo : TVolumeTyperecommendedInfo;
  2449. FsaleInfo : TVolumeTypesaleInfo;
  2450. FsearchInfo : TVolumeTypesearchInfo;
  2451. FselfLink : String;
  2452. FuserInfo : TVolumeTypeuserInfo;
  2453. FvolumeInfo : TVolumeTypevolumeInfo;
  2454. Protected
  2455. //Property setters
  2456. Procedure SetaccessInfo(AIndex : Integer; const AValue : TVolumeTypeaccessInfo); virtual;
  2457. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  2458. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2459. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2460. Procedure SetlayerInfo(AIndex : Integer; const AValue : TVolumeTypelayerInfo); virtual;
  2461. Procedure SetrecommendedInfo(AIndex : Integer; const AValue : TVolumeTyperecommendedInfo); virtual;
  2462. Procedure SetsaleInfo(AIndex : Integer; const AValue : TVolumeTypesaleInfo); virtual;
  2463. Procedure SetsearchInfo(AIndex : Integer; const AValue : TVolumeTypesearchInfo); virtual;
  2464. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2465. Procedure SetuserInfo(AIndex : Integer; const AValue : TVolumeTypeuserInfo); virtual;
  2466. Procedure SetvolumeInfo(AIndex : Integer; const AValue : TVolumeTypevolumeInfo); virtual;
  2467. Public
  2468. Published
  2469. Property accessInfo : TVolumeTypeaccessInfo Index 0 Read FaccessInfo Write SetaccessInfo;
  2470. Property etag : String Index 8 Read Fetag Write Setetag;
  2471. Property id : String Index 16 Read Fid Write Setid;
  2472. Property kind : String Index 24 Read Fkind Write Setkind;
  2473. Property layerInfo : TVolumeTypelayerInfo Index 32 Read FlayerInfo Write SetlayerInfo;
  2474. Property recommendedInfo : TVolumeTyperecommendedInfo Index 40 Read FrecommendedInfo Write SetrecommendedInfo;
  2475. Property saleInfo : TVolumeTypesaleInfo Index 48 Read FsaleInfo Write SetsaleInfo;
  2476. Property searchInfo : TVolumeTypesearchInfo Index 56 Read FsearchInfo Write SetsearchInfo;
  2477. Property selfLink : String Index 64 Read FselfLink Write SetselfLink;
  2478. Property userInfo : TVolumeTypeuserInfo Index 72 Read FuserInfo Write SetuserInfo;
  2479. Property volumeInfo : TVolumeTypevolumeInfo Index 80 Read FvolumeInfo Write SetvolumeInfo;
  2480. end;
  2481. TVolumeClass = Class of TVolume;
  2482. { --------------------------------------------------------------------
  2483. TVolume2
  2484. --------------------------------------------------------------------}
  2485. TVolume2 = Class(TGoogleBaseObject)
  2486. Private
  2487. Fitems : TVolume2TypeitemsArray;
  2488. Fkind : String;
  2489. FnextPageToken : String;
  2490. Protected
  2491. //Property setters
  2492. Procedure Setitems(AIndex : Integer; const AValue : TVolume2TypeitemsArray); virtual;
  2493. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2494. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2495. //2.6.4. bug workaround
  2496. {$IFDEF VER2_6}
  2497. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2498. {$ENDIF VER2_6}
  2499. Public
  2500. Published
  2501. Property items : TVolume2TypeitemsArray Index 0 Read Fitems Write Setitems;
  2502. Property kind : String Index 8 Read Fkind Write Setkind;
  2503. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  2504. end;
  2505. TVolume2Class = Class of TVolume2;
  2506. { --------------------------------------------------------------------
  2507. TVolumeannotationTypecontentRanges
  2508. --------------------------------------------------------------------}
  2509. TVolumeannotationTypecontentRanges = Class(TGoogleBaseObject)
  2510. Private
  2511. FcfiRange : TBooksAnnotationsRange;
  2512. FcontentVersion : String;
  2513. FgbImageRange : TBooksAnnotationsRange;
  2514. FgbTextRange : TBooksAnnotationsRange;
  2515. Protected
  2516. //Property setters
  2517. Procedure SetcfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  2518. Procedure SetcontentVersion(AIndex : Integer; const AValue : String); virtual;
  2519. Procedure SetgbImageRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  2520. Procedure SetgbTextRange(AIndex : Integer; const AValue : TBooksAnnotationsRange); virtual;
  2521. Public
  2522. Published
  2523. Property cfiRange : TBooksAnnotationsRange Index 0 Read FcfiRange Write SetcfiRange;
  2524. Property contentVersion : String Index 8 Read FcontentVersion Write SetcontentVersion;
  2525. Property gbImageRange : TBooksAnnotationsRange Index 16 Read FgbImageRange Write SetgbImageRange;
  2526. Property gbTextRange : TBooksAnnotationsRange Index 24 Read FgbTextRange Write SetgbTextRange;
  2527. end;
  2528. TVolumeannotationTypecontentRangesClass = Class of TVolumeannotationTypecontentRanges;
  2529. { --------------------------------------------------------------------
  2530. TVolumeannotation
  2531. --------------------------------------------------------------------}
  2532. TVolumeannotation = Class(TGoogleBaseObject)
  2533. Private
  2534. FannotationDataId : String;
  2535. FannotationDataLink : String;
  2536. FannotationType : String;
  2537. FcontentRanges : TVolumeannotationTypecontentRanges;
  2538. Fdata : String;
  2539. Fdeleted : boolean;
  2540. Fid : String;
  2541. Fkind : String;
  2542. FlayerId : String;
  2543. FpageIds : TStringArray;
  2544. FselectedText : String;
  2545. FselfLink : String;
  2546. Fupdated : TDatetime;
  2547. FvolumeId : String;
  2548. Protected
  2549. //Property setters
  2550. Procedure SetannotationDataId(AIndex : Integer; const AValue : String); virtual;
  2551. Procedure SetannotationDataLink(AIndex : Integer; const AValue : String); virtual;
  2552. Procedure SetannotationType(AIndex : Integer; const AValue : String); virtual;
  2553. Procedure SetcontentRanges(AIndex : Integer; const AValue : TVolumeannotationTypecontentRanges); virtual;
  2554. Procedure Setdata(AIndex : Integer; const AValue : String); virtual;
  2555. Procedure Setdeleted(AIndex : Integer; const AValue : boolean); virtual;
  2556. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2557. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2558. Procedure SetlayerId(AIndex : Integer; const AValue : String); virtual;
  2559. Procedure SetpageIds(AIndex : Integer; const AValue : TStringArray); virtual;
  2560. Procedure SetselectedText(AIndex : Integer; const AValue : String); virtual;
  2561. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2562. Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
  2563. Procedure SetvolumeId(AIndex : Integer; const AValue : String); virtual;
  2564. //2.6.4. bug workaround
  2565. {$IFDEF VER2_6}
  2566. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2567. {$ENDIF VER2_6}
  2568. Public
  2569. Published
  2570. Property annotationDataId : String Index 0 Read FannotationDataId Write SetannotationDataId;
  2571. Property annotationDataLink : String Index 8 Read FannotationDataLink Write SetannotationDataLink;
  2572. Property annotationType : String Index 16 Read FannotationType Write SetannotationType;
  2573. Property contentRanges : TVolumeannotationTypecontentRanges Index 24 Read FcontentRanges Write SetcontentRanges;
  2574. Property data : String Index 32 Read Fdata Write Setdata;
  2575. Property deleted : boolean Index 40 Read Fdeleted Write Setdeleted;
  2576. Property id : String Index 48 Read Fid Write Setid;
  2577. Property kind : String Index 56 Read Fkind Write Setkind;
  2578. Property layerId : String Index 64 Read FlayerId Write SetlayerId;
  2579. Property pageIds : TStringArray Index 72 Read FpageIds Write SetpageIds;
  2580. Property selectedText : String Index 80 Read FselectedText Write SetselectedText;
  2581. Property selfLink : String Index 88 Read FselfLink Write SetselfLink;
  2582. Property updated : TDatetime Index 96 Read Fupdated Write Setupdated;
  2583. Property volumeId : String Index 104 Read FvolumeId Write SetvolumeId;
  2584. end;
  2585. TVolumeannotationClass = Class of TVolumeannotation;
  2586. { --------------------------------------------------------------------
  2587. TVolumeannotations
  2588. --------------------------------------------------------------------}
  2589. TVolumeannotations = Class(TGoogleBaseObject)
  2590. Private
  2591. Fitems : TVolumeannotationsTypeitemsArray;
  2592. Fkind : String;
  2593. FnextPageToken : String;
  2594. FtotalItems : integer;
  2595. Fversion : String;
  2596. Protected
  2597. //Property setters
  2598. Procedure Setitems(AIndex : Integer; const AValue : TVolumeannotationsTypeitemsArray); virtual;
  2599. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2600. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2601. Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
  2602. Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
  2603. //2.6.4. bug workaround
  2604. {$IFDEF VER2_6}
  2605. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2606. {$ENDIF VER2_6}
  2607. Public
  2608. Published
  2609. Property items : TVolumeannotationsTypeitemsArray Index 0 Read Fitems Write Setitems;
  2610. Property kind : String Index 8 Read Fkind Write Setkind;
  2611. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  2612. Property totalItems : integer Index 24 Read FtotalItems Write SettotalItems;
  2613. Property version : String Index 32 Read Fversion Write Setversion;
  2614. end;
  2615. TVolumeannotationsClass = Class of TVolumeannotations;
  2616. { --------------------------------------------------------------------
  2617. TVolumes
  2618. --------------------------------------------------------------------}
  2619. TVolumes = Class(TGoogleBaseObject)
  2620. Private
  2621. Fitems : TVolumesTypeitemsArray;
  2622. Fkind : String;
  2623. FtotalItems : integer;
  2624. Protected
  2625. //Property setters
  2626. Procedure Setitems(AIndex : Integer; const AValue : TVolumesTypeitemsArray); virtual;
  2627. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2628. Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
  2629. //2.6.4. bug workaround
  2630. {$IFDEF VER2_6}
  2631. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2632. {$ENDIF VER2_6}
  2633. Public
  2634. Published
  2635. Property items : TVolumesTypeitemsArray Index 0 Read Fitems Write Setitems;
  2636. Property kind : String Index 8 Read Fkind Write Setkind;
  2637. Property totalItems : integer Index 16 Read FtotalItems Write SettotalItems;
  2638. end;
  2639. TVolumesClass = Class of TVolumes;
  2640. { --------------------------------------------------------------------
  2641. TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem
  2642. --------------------------------------------------------------------}
  2643. TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem = Class(TGoogleBaseObject)
  2644. Private
  2645. FissueDisplayNumber : String;
  2646. FissueOrderNumber : integer;
  2647. Protected
  2648. //Property setters
  2649. Procedure SetissueDisplayNumber(AIndex : Integer; const AValue : String); virtual;
  2650. Procedure SetissueOrderNumber(AIndex : Integer; const AValue : integer); virtual;
  2651. Public
  2652. Published
  2653. Property issueDisplayNumber : String Index 0 Read FissueDisplayNumber Write SetissueDisplayNumber;
  2654. Property issueOrderNumber : integer Index 8 Read FissueOrderNumber Write SetissueOrderNumber;
  2655. end;
  2656. TVolumeseriesinfoTypevolumeSeriesItemTypeissueItemClass = Class of TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem;
  2657. { --------------------------------------------------------------------
  2658. TVolumeseriesinfoTypevolumeSeriesItem
  2659. --------------------------------------------------------------------}
  2660. TVolumeseriesinfoTypevolumeSeriesItem = Class(TGoogleBaseObject)
  2661. Private
  2662. Fissue : TVolumeseriesinfoTypevolumeSeriesItemTypeissueArray;
  2663. ForderNumber : integer;
  2664. FseriesBookType : String;
  2665. FseriesId : String;
  2666. Protected
  2667. //Property setters
  2668. Procedure Setissue(AIndex : Integer; const AValue : TVolumeseriesinfoTypevolumeSeriesItemTypeissueArray); virtual;
  2669. Procedure SetorderNumber(AIndex : Integer; const AValue : integer); virtual;
  2670. Procedure SetseriesBookType(AIndex : Integer; const AValue : String); virtual;
  2671. Procedure SetseriesId(AIndex : Integer; const AValue : String); virtual;
  2672. //2.6.4. bug workaround
  2673. {$IFDEF VER2_6}
  2674. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2675. {$ENDIF VER2_6}
  2676. Public
  2677. Published
  2678. Property issue : TVolumeseriesinfoTypevolumeSeriesItemTypeissueArray Index 0 Read Fissue Write Setissue;
  2679. Property orderNumber : integer Index 8 Read ForderNumber Write SetorderNumber;
  2680. Property seriesBookType : String Index 16 Read FseriesBookType Write SetseriesBookType;
  2681. Property seriesId : String Index 24 Read FseriesId Write SetseriesId;
  2682. end;
  2683. TVolumeseriesinfoTypevolumeSeriesItemClass = Class of TVolumeseriesinfoTypevolumeSeriesItem;
  2684. { --------------------------------------------------------------------
  2685. TVolumeseriesinfo
  2686. --------------------------------------------------------------------}
  2687. TVolumeseriesinfo = Class(TGoogleBaseObject)
  2688. Private
  2689. FbookDisplayNumber : String;
  2690. Fkind : String;
  2691. FshortSeriesBookTitle : String;
  2692. FvolumeSeries : TVolumeseriesinfoTypevolumeSeriesArray;
  2693. Protected
  2694. //Property setters
  2695. Procedure SetbookDisplayNumber(AIndex : Integer; const AValue : String); virtual;
  2696. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2697. Procedure SetshortSeriesBookTitle(AIndex : Integer; const AValue : String); virtual;
  2698. Procedure SetvolumeSeries(AIndex : Integer; const AValue : TVolumeseriesinfoTypevolumeSeriesArray); virtual;
  2699. //2.6.4. bug workaround
  2700. {$IFDEF VER2_6}
  2701. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2702. {$ENDIF VER2_6}
  2703. Public
  2704. Published
  2705. Property bookDisplayNumber : String Index 0 Read FbookDisplayNumber Write SetbookDisplayNumber;
  2706. Property kind : String Index 8 Read Fkind Write Setkind;
  2707. Property shortSeriesBookTitle : String Index 16 Read FshortSeriesBookTitle Write SetshortSeriesBookTitle;
  2708. Property volumeSeries : TVolumeseriesinfoTypevolumeSeriesArray Index 24 Read FvolumeSeries Write SetvolumeSeries;
  2709. end;
  2710. TVolumeseriesinfoClass = Class of TVolumeseriesinfo;
  2711. { --------------------------------------------------------------------
  2712. TBookshelvesVolumesResource
  2713. --------------------------------------------------------------------}
  2714. //Optional query Options for TBookshelvesVolumesResource, method List
  2715. TBookshelvesVolumesListOptions = Record
  2716. maxResults : integer;
  2717. showPreorders : boolean;
  2718. source : String;
  2719. startIndex : integer;
  2720. end;
  2721. TBookshelvesVolumesResource = Class(TGoogleResource)
  2722. Public
  2723. Class Function ResourceName : String; override;
  2724. Class Function DefaultAPI : TGoogleAPIClass; override;
  2725. Function List(shelf: string; userId: string; AQuery : string = '') : TVolumes;
  2726. Function List(shelf: string; userId: string; AQuery : TBookshelvesVolumeslistOptions) : TVolumes;
  2727. end;
  2728. { --------------------------------------------------------------------
  2729. TBookshelvesResource
  2730. --------------------------------------------------------------------}
  2731. //Optional query Options for TBookshelvesResource, method Get
  2732. TBookshelvesGetOptions = Record
  2733. source : String;
  2734. end;
  2735. //Optional query Options for TBookshelvesResource, method List
  2736. TBookshelvesListOptions = Record
  2737. source : String;
  2738. end;
  2739. TBookshelvesResource = Class(TGoogleResource)
  2740. Private
  2741. FVolumesInstance : TBookshelvesVolumesResource;
  2742. Function GetVolumesInstance : TBookshelvesVolumesResource;virtual;
  2743. Public
  2744. Class Function ResourceName : String; override;
  2745. Class Function DefaultAPI : TGoogleAPIClass; override;
  2746. Function Get(shelf: string; userId: string; AQuery : string = '') : TBookshelf;
  2747. Function Get(shelf: string; userId: string; AQuery : TBookshelvesgetOptions) : TBookshelf;
  2748. Function List(userId: string; AQuery : string = '') : TBookshelves;
  2749. Function List(userId: string; AQuery : TBookshelveslistOptions) : TBookshelves;
  2750. Function CreateVolumesResource(AOwner : TComponent) : TBookshelvesVolumesResource;virtual;overload;
  2751. Function CreateVolumesResource : TBookshelvesVolumesResource;virtual;overload;
  2752. Property VolumesResource : TBookshelvesVolumesResource Read GetVolumesInstance;
  2753. end;
  2754. { --------------------------------------------------------------------
  2755. TCloudloadingResource
  2756. --------------------------------------------------------------------}
  2757. //Optional query Options for TCloudloadingResource, method AddBook
  2758. TCloudloadingAddBookOptions = Record
  2759. drive_document_id : String;
  2760. mime_type : String;
  2761. _name : String;
  2762. upload_client_token : String;
  2763. end;
  2764. //Optional query Options for TCloudloadingResource, method DeleteBook
  2765. TCloudloadingDeleteBookOptions = Record
  2766. volumeId : String;
  2767. end;
  2768. TCloudloadingResource = Class(TGoogleResource)
  2769. Public
  2770. Class Function ResourceName : String; override;
  2771. Class Function DefaultAPI : TGoogleAPIClass; override;
  2772. Function AddBook(AQuery : string = '') : TBooksCloudloadingResource;
  2773. Function AddBook(AQuery : TCloudloadingaddBookOptions) : TBooksCloudloadingResource;
  2774. Procedure DeleteBook(AQuery : string = '');
  2775. Procedure DeleteBook(AQuery : TCloudloadingdeleteBookOptions);
  2776. Function UpdateBook(aBooksCloudloadingResource : TBooksCloudloadingResource) : TBooksCloudloadingResource;
  2777. end;
  2778. { --------------------------------------------------------------------
  2779. TDictionaryResource
  2780. --------------------------------------------------------------------}
  2781. //Optional query Options for TDictionaryResource, method ListOfflineMetadata
  2782. TDictionaryListOfflineMetadataOptions = Record
  2783. cpksver : String;
  2784. end;
  2785. TDictionaryResource = Class(TGoogleResource)
  2786. Public
  2787. Class Function ResourceName : String; override;
  2788. Class Function DefaultAPI : TGoogleAPIClass; override;
  2789. Function ListOfflineMetadata(AQuery : string = '') : TMetadata;
  2790. Function ListOfflineMetadata(AQuery : TDictionarylistOfflineMetadataOptions) : TMetadata;
  2791. end;
  2792. { --------------------------------------------------------------------
  2793. TLayersAnnotationDataResource
  2794. --------------------------------------------------------------------}
  2795. //Optional query Options for TLayersAnnotationDataResource, method Get
  2796. TLayersAnnotationDataGetOptions = Record
  2797. allowWebDefinitions : boolean;
  2798. contentVersion : String;
  2799. h : integer;
  2800. locale : String;
  2801. scale : integer;
  2802. source : String;
  2803. w : integer;
  2804. end;
  2805. //Optional query Options for TLayersAnnotationDataResource, method List
  2806. TLayersAnnotationDataListOptions = Record
  2807. annotationDataId : String;
  2808. contentVersion : String;
  2809. h : integer;
  2810. locale : String;
  2811. maxResults : integer;
  2812. pageToken : String;
  2813. scale : integer;
  2814. source : String;
  2815. updatedMax : String;
  2816. updatedMin : String;
  2817. w : integer;
  2818. end;
  2819. TLayersAnnotationDataResource = Class(TGoogleResource)
  2820. Public
  2821. Class Function ResourceName : String; override;
  2822. Class Function DefaultAPI : TGoogleAPIClass; override;
  2823. Function Get(annotationDataId: string; layerId: string; volumeId: string; AQuery : string = '') : TAnnotationdata;
  2824. Function Get(annotationDataId: string; layerId: string; volumeId: string; AQuery : TLayersAnnotationDatagetOptions) : TAnnotationdata;
  2825. Function List(layerId: string; volumeId: string; AQuery : string = '') : TAnnotationsdata;
  2826. Function List(layerId: string; volumeId: string; AQuery : TLayersAnnotationDatalistOptions) : TAnnotationsdata;
  2827. end;
  2828. { --------------------------------------------------------------------
  2829. TLayersVolumeAnnotationsResource
  2830. --------------------------------------------------------------------}
  2831. //Optional query Options for TLayersVolumeAnnotationsResource, method Get
  2832. TLayersVolumeAnnotationsGetOptions = Record
  2833. locale : String;
  2834. source : String;
  2835. end;
  2836. //Optional query Options for TLayersVolumeAnnotationsResource, method List
  2837. TLayersVolumeAnnotationsListOptions = Record
  2838. contentVersion : String;
  2839. endOffset : String;
  2840. endPosition : String;
  2841. locale : String;
  2842. maxResults : integer;
  2843. pageToken : String;
  2844. showDeleted : boolean;
  2845. source : String;
  2846. startOffset : String;
  2847. startPosition : String;
  2848. updatedMax : String;
  2849. updatedMin : String;
  2850. volumeAnnotationsVersion : String;
  2851. end;
  2852. TLayersVolumeAnnotationsResource = Class(TGoogleResource)
  2853. Public
  2854. Class Function ResourceName : String; override;
  2855. Class Function DefaultAPI : TGoogleAPIClass; override;
  2856. Function Get(annotationId: string; layerId: string; volumeId: string; AQuery : string = '') : TVolumeannotation;
  2857. Function Get(annotationId: string; layerId: string; volumeId: string; AQuery : TLayersVolumeAnnotationsgetOptions) : TVolumeannotation;
  2858. Function List(layerId: string; volumeId: string; AQuery : string = '') : TVolumeannotations;
  2859. Function List(layerId: string; volumeId: string; AQuery : TLayersVolumeAnnotationslistOptions) : TVolumeannotations;
  2860. end;
  2861. { --------------------------------------------------------------------
  2862. TLayersResource
  2863. --------------------------------------------------------------------}
  2864. //Optional query Options for TLayersResource, method Get
  2865. TLayersGetOptions = Record
  2866. contentVersion : String;
  2867. source : String;
  2868. end;
  2869. //Optional query Options for TLayersResource, method List
  2870. TLayersListOptions = Record
  2871. contentVersion : String;
  2872. maxResults : integer;
  2873. pageToken : String;
  2874. source : String;
  2875. end;
  2876. TLayersResource = Class(TGoogleResource)
  2877. Private
  2878. FAnnotationDataInstance : TLayersAnnotationDataResource;
  2879. FVolumeAnnotationsInstance : TLayersVolumeAnnotationsResource;
  2880. Function GetAnnotationDataInstance : TLayersAnnotationDataResource;virtual;
  2881. Function GetVolumeAnnotationsInstance : TLayersVolumeAnnotationsResource;virtual;
  2882. Public
  2883. Class Function ResourceName : String; override;
  2884. Class Function DefaultAPI : TGoogleAPIClass; override;
  2885. Function Get(summaryId: string; volumeId: string; AQuery : string = '') : TLayersummary;
  2886. Function Get(summaryId: string; volumeId: string; AQuery : TLayersgetOptions) : TLayersummary;
  2887. Function List(volumeId: string; AQuery : string = '') : TLayersummaries;
  2888. Function List(volumeId: string; AQuery : TLayerslistOptions) : TLayersummaries;
  2889. Function CreateAnnotationDataResource(AOwner : TComponent) : TLayersAnnotationDataResource;virtual;overload;
  2890. Function CreateAnnotationDataResource : TLayersAnnotationDataResource;virtual;overload;
  2891. Function CreateVolumeAnnotationsResource(AOwner : TComponent) : TLayersVolumeAnnotationsResource;virtual;overload;
  2892. Function CreateVolumeAnnotationsResource : TLayersVolumeAnnotationsResource;virtual;overload;
  2893. Property AnnotationDataResource : TLayersAnnotationDataResource Read GetAnnotationDataInstance;
  2894. Property VolumeAnnotationsResource : TLayersVolumeAnnotationsResource Read GetVolumeAnnotationsInstance;
  2895. end;
  2896. { --------------------------------------------------------------------
  2897. TMyconfigResource
  2898. --------------------------------------------------------------------}
  2899. //Optional query Options for TMyconfigResource, method ReleaseDownloadAccess
  2900. TMyconfigReleaseDownloadAccessOptions = Record
  2901. cpksver : String;
  2902. locale : String;
  2903. source : String;
  2904. volumeIds : String;
  2905. end;
  2906. //Optional query Options for TMyconfigResource, method RequestAccess
  2907. TMyconfigRequestAccessOptions = Record
  2908. cpksver : String;
  2909. licenseTypes : String;
  2910. locale : String;
  2911. nonce : String;
  2912. source : String;
  2913. volumeId : String;
  2914. end;
  2915. //Optional query Options for TMyconfigResource, method SyncVolumeLicenses
  2916. TMyconfigSyncVolumeLicensesOptions = Record
  2917. cpksver : String;
  2918. features : String;
  2919. includeNonComicsSeries : boolean;
  2920. locale : String;
  2921. nonce : String;
  2922. showPreorders : boolean;
  2923. source : String;
  2924. volumeIds : String;
  2925. end;
  2926. TMyconfigResource = Class(TGoogleResource)
  2927. Public
  2928. Class Function ResourceName : String; override;
  2929. Class Function DefaultAPI : TGoogleAPIClass; override;
  2930. Function GetUserSettings : TUsersettings;
  2931. Function ReleaseDownloadAccess(AQuery : string = '') : TDownloadAccesses;
  2932. Function ReleaseDownloadAccess(AQuery : TMyconfigreleaseDownloadAccessOptions) : TDownloadAccesses;
  2933. Function RequestAccess(AQuery : string = '') : TRequestAccess;
  2934. Function RequestAccess(AQuery : TMyconfigrequestAccessOptions) : TRequestAccess;
  2935. Function SyncVolumeLicenses(AQuery : string = '') : TVolumes;
  2936. Function SyncVolumeLicenses(AQuery : TMyconfigsyncVolumeLicensesOptions) : TVolumes;
  2937. Function UpdateUserSettings(aUsersettings : TUsersettings) : TUsersettings;
  2938. end;
  2939. { --------------------------------------------------------------------
  2940. TMylibraryAnnotationsResource
  2941. --------------------------------------------------------------------}
  2942. //Optional query Options for TMylibraryAnnotationsResource, method Delete
  2943. TMylibraryAnnotationsDeleteOptions = Record
  2944. source : String;
  2945. end;
  2946. //Optional query Options for TMylibraryAnnotationsResource, method Insert
  2947. TMylibraryAnnotationsInsertOptions = Record
  2948. country : String;
  2949. showOnlySummaryInResponse : boolean;
  2950. source : String;
  2951. end;
  2952. //Optional query Options for TMylibraryAnnotationsResource, method List
  2953. TMylibraryAnnotationsListOptions = Record
  2954. contentVersion : String;
  2955. layerId : String;
  2956. layerIds : String;
  2957. maxResults : integer;
  2958. pageToken : String;
  2959. showDeleted : boolean;
  2960. source : String;
  2961. updatedMax : String;
  2962. updatedMin : String;
  2963. volumeId : String;
  2964. end;
  2965. //Optional query Options for TMylibraryAnnotationsResource, method Summary
  2966. TMylibraryAnnotationsSummaryOptions = Record
  2967. layerIds : String;
  2968. volumeId : String;
  2969. end;
  2970. //Optional query Options for TMylibraryAnnotationsResource, method Update
  2971. TMylibraryAnnotationsUpdateOptions = Record
  2972. source : String;
  2973. end;
  2974. TMylibraryAnnotationsResource = Class(TGoogleResource)
  2975. Public
  2976. Class Function ResourceName : String; override;
  2977. Class Function DefaultAPI : TGoogleAPIClass; override;
  2978. Procedure Delete(annotationId: string; AQuery : string = '');
  2979. Procedure Delete(annotationId: string; AQuery : TMylibraryAnnotationsdeleteOptions);
  2980. Function Insert(aAnnotation : TAnnotation; AQuery : string = '') : TAnnotation;
  2981. Function Insert(aAnnotation : TAnnotation; AQuery : TMylibraryAnnotationsinsertOptions) : TAnnotation;
  2982. Function List(AQuery : string = '') : TAnnotations;
  2983. Function List(AQuery : TMylibraryAnnotationslistOptions) : TAnnotations;
  2984. Function Summary(AQuery : string = '') : TAnnotationsSummary;
  2985. Function Summary(AQuery : TMylibraryAnnotationssummaryOptions) : TAnnotationsSummary;
  2986. Function Update(annotationId: string; aAnnotation : TAnnotation; AQuery : string = '') : TAnnotation;
  2987. Function Update(annotationId: string; aAnnotation : TAnnotation; AQuery : TMylibraryAnnotationsupdateOptions) : TAnnotation;
  2988. end;
  2989. { --------------------------------------------------------------------
  2990. TMylibraryBookshelvesVolumesResource
  2991. --------------------------------------------------------------------}
  2992. //Optional query Options for TMylibraryBookshelvesVolumesResource, method List
  2993. TMylibraryBookshelvesVolumesListOptions = Record
  2994. country : String;
  2995. maxResults : integer;
  2996. projection : String;
  2997. q : String;
  2998. showPreorders : boolean;
  2999. source : String;
  3000. startIndex : integer;
  3001. end;
  3002. TMylibraryBookshelvesVolumesResource = Class(TGoogleResource)
  3003. Public
  3004. Class Function ResourceName : String; override;
  3005. Class Function DefaultAPI : TGoogleAPIClass; override;
  3006. Function List(shelf: string; AQuery : string = '') : TVolumes;
  3007. Function List(shelf: string; AQuery : TMylibraryBookshelvesVolumeslistOptions) : TVolumes;
  3008. end;
  3009. { --------------------------------------------------------------------
  3010. TMylibraryBookshelvesResource
  3011. --------------------------------------------------------------------}
  3012. //Optional query Options for TMylibraryBookshelvesResource, method AddVolume
  3013. TMylibraryBookshelvesAddVolumeOptions = Record
  3014. reason : String;
  3015. source : String;
  3016. volumeId : String;
  3017. end;
  3018. //Optional query Options for TMylibraryBookshelvesResource, method ClearVolumes
  3019. TMylibraryBookshelvesClearVolumesOptions = Record
  3020. source : String;
  3021. end;
  3022. //Optional query Options for TMylibraryBookshelvesResource, method Get
  3023. TMylibraryBookshelvesGetOptions = Record
  3024. source : String;
  3025. end;
  3026. //Optional query Options for TMylibraryBookshelvesResource, method List
  3027. TMylibraryBookshelvesListOptions = Record
  3028. source : String;
  3029. end;
  3030. //Optional query Options for TMylibraryBookshelvesResource, method MoveVolume
  3031. TMylibraryBookshelvesMoveVolumeOptions = Record
  3032. source : String;
  3033. volumeId : String;
  3034. volumePosition : integer;
  3035. end;
  3036. //Optional query Options for TMylibraryBookshelvesResource, method RemoveVolume
  3037. TMylibraryBookshelvesRemoveVolumeOptions = Record
  3038. reason : String;
  3039. source : String;
  3040. volumeId : String;
  3041. end;
  3042. TMylibraryBookshelvesResource = Class(TGoogleResource)
  3043. Private
  3044. FVolumesInstance : TMylibraryBookshelvesVolumesResource;
  3045. Function GetVolumesInstance : TMylibraryBookshelvesVolumesResource;virtual;
  3046. Public
  3047. Class Function ResourceName : String; override;
  3048. Class Function DefaultAPI : TGoogleAPIClass; override;
  3049. Procedure AddVolume(shelf: string; AQuery : string = '');
  3050. Procedure AddVolume(shelf: string; AQuery : TMylibraryBookshelvesaddVolumeOptions);
  3051. Procedure ClearVolumes(shelf: string; AQuery : string = '');
  3052. Procedure ClearVolumes(shelf: string; AQuery : TMylibraryBookshelvesclearVolumesOptions);
  3053. Function Get(shelf: string; AQuery : string = '') : TBookshelf;
  3054. Function Get(shelf: string; AQuery : TMylibraryBookshelvesgetOptions) : TBookshelf;
  3055. Function List(AQuery : string = '') : TBookshelves;
  3056. Function List(AQuery : TMylibraryBookshelveslistOptions) : TBookshelves;
  3057. Procedure MoveVolume(shelf: string; AQuery : string = '');
  3058. Procedure MoveVolume(shelf: string; AQuery : TMylibraryBookshelvesmoveVolumeOptions);
  3059. Procedure RemoveVolume(shelf: string; AQuery : string = '');
  3060. Procedure RemoveVolume(shelf: string; AQuery : TMylibraryBookshelvesremoveVolumeOptions);
  3061. Function CreateVolumesResource(AOwner : TComponent) : TMylibraryBookshelvesVolumesResource;virtual;overload;
  3062. Function CreateVolumesResource : TMylibraryBookshelvesVolumesResource;virtual;overload;
  3063. Property VolumesResource : TMylibraryBookshelvesVolumesResource Read GetVolumesInstance;
  3064. end;
  3065. { --------------------------------------------------------------------
  3066. TMylibraryReadingpositionsResource
  3067. --------------------------------------------------------------------}
  3068. //Optional query Options for TMylibraryReadingpositionsResource, method Get
  3069. TMylibraryReadingpositionsGetOptions = Record
  3070. contentVersion : String;
  3071. source : String;
  3072. end;
  3073. //Optional query Options for TMylibraryReadingpositionsResource, method SetPosition
  3074. TMylibraryReadingpositionsSetPositionOptions = Record
  3075. action : String;
  3076. contentVersion : String;
  3077. deviceCookie : String;
  3078. position : String;
  3079. source : String;
  3080. timestamp : String;
  3081. end;
  3082. TMylibraryReadingpositionsResource = Class(TGoogleResource)
  3083. Public
  3084. Class Function ResourceName : String; override;
  3085. Class Function DefaultAPI : TGoogleAPIClass; override;
  3086. Function Get(volumeId: string; AQuery : string = '') : TReadingPosition;
  3087. Function Get(volumeId: string; AQuery : TMylibraryReadingpositionsgetOptions) : TReadingPosition;
  3088. Procedure SetPosition(volumeId: string; AQuery : string = '');
  3089. Procedure SetPosition(volumeId: string; AQuery : TMylibraryReadingpositionssetPositionOptions);
  3090. end;
  3091. { --------------------------------------------------------------------
  3092. TMylibraryResource
  3093. --------------------------------------------------------------------}
  3094. TMylibraryResource = Class(TGoogleResource)
  3095. Private
  3096. FAnnotationsInstance : TMylibraryAnnotationsResource;
  3097. FBookshelvesVolumesInstance : TMylibraryBookshelvesVolumesResource;
  3098. FBookshelvesInstance : TMylibraryBookshelvesResource;
  3099. FReadingpositionsInstance : TMylibraryReadingpositionsResource;
  3100. Function GetAnnotationsInstance : TMylibraryAnnotationsResource;virtual;
  3101. Function GetBookshelvesVolumesInstance : TMylibraryBookshelvesVolumesResource;virtual;
  3102. Function GetBookshelvesInstance : TMylibraryBookshelvesResource;virtual;
  3103. Function GetReadingpositionsInstance : TMylibraryReadingpositionsResource;virtual;
  3104. Public
  3105. Class Function ResourceName : String; override;
  3106. Class Function DefaultAPI : TGoogleAPIClass; override;
  3107. Function CreateAnnotationsResource(AOwner : TComponent) : TMylibraryAnnotationsResource;virtual;overload;
  3108. Function CreateAnnotationsResource : TMylibraryAnnotationsResource;virtual;overload;
  3109. Function CreateBookshelvesVolumesResource(AOwner : TComponent) : TMylibraryBookshelvesVolumesResource;virtual;overload;
  3110. Function CreateBookshelvesVolumesResource : TMylibraryBookshelvesVolumesResource;virtual;overload;
  3111. Function CreateBookshelvesResource(AOwner : TComponent) : TMylibraryBookshelvesResource;virtual;overload;
  3112. Function CreateBookshelvesResource : TMylibraryBookshelvesResource;virtual;overload;
  3113. Function CreateReadingpositionsResource(AOwner : TComponent) : TMylibraryReadingpositionsResource;virtual;overload;
  3114. Function CreateReadingpositionsResource : TMylibraryReadingpositionsResource;virtual;overload;
  3115. Property AnnotationsResource : TMylibraryAnnotationsResource Read GetAnnotationsInstance;
  3116. Property BookshelvesVolumesResource : TMylibraryBookshelvesVolumesResource Read GetBookshelvesVolumesInstance;
  3117. Property BookshelvesResource : TMylibraryBookshelvesResource Read GetBookshelvesInstance;
  3118. Property ReadingpositionsResource : TMylibraryReadingpositionsResource Read GetReadingpositionsInstance;
  3119. end;
  3120. { --------------------------------------------------------------------
  3121. TNotificationResource
  3122. --------------------------------------------------------------------}
  3123. //Optional query Options for TNotificationResource, method Get
  3124. TNotificationGetOptions = Record
  3125. locale : String;
  3126. notification_id : String;
  3127. source : String;
  3128. end;
  3129. TNotificationResource = Class(TGoogleResource)
  3130. Public
  3131. Class Function ResourceName : String; override;
  3132. Class Function DefaultAPI : TGoogleAPIClass; override;
  3133. Function Get(AQuery : string = '') : TNotification;
  3134. Function Get(AQuery : TNotificationgetOptions) : TNotification;
  3135. end;
  3136. { --------------------------------------------------------------------
  3137. TOnboardingResource
  3138. --------------------------------------------------------------------}
  3139. //Optional query Options for TOnboardingResource, method ListCategories
  3140. TOnboardingListCategoriesOptions = Record
  3141. locale : String;
  3142. end;
  3143. //Optional query Options for TOnboardingResource, method ListCategoryVolumes
  3144. TOnboardingListCategoryVolumesOptions = Record
  3145. categoryId : String;
  3146. locale : String;
  3147. maxAllowedMaturityRating : String;
  3148. pageSize : integer;
  3149. pageToken : String;
  3150. end;
  3151. TOnboardingResource = Class(TGoogleResource)
  3152. Public
  3153. Class Function ResourceName : String; override;
  3154. Class Function DefaultAPI : TGoogleAPIClass; override;
  3155. Function ListCategories(AQuery : string = '') : TCategory;
  3156. Function ListCategories(AQuery : TOnboardinglistCategoriesOptions) : TCategory;
  3157. Function ListCategoryVolumes(AQuery : string = '') : TVolume2;
  3158. Function ListCategoryVolumes(AQuery : TOnboardinglistCategoryVolumesOptions) : TVolume2;
  3159. end;
  3160. { --------------------------------------------------------------------
  3161. TPersonalizedstreamResource
  3162. --------------------------------------------------------------------}
  3163. //Optional query Options for TPersonalizedstreamResource, method Get
  3164. TPersonalizedstreamGetOptions = Record
  3165. locale : String;
  3166. maxAllowedMaturityRating : String;
  3167. source : String;
  3168. end;
  3169. TPersonalizedstreamResource = Class(TGoogleResource)
  3170. Public
  3171. Class Function ResourceName : String; override;
  3172. Class Function DefaultAPI : TGoogleAPIClass; override;
  3173. Function Get(AQuery : string = '') : TDiscoveryclusters;
  3174. Function Get(AQuery : TPersonalizedstreamgetOptions) : TDiscoveryclusters;
  3175. end;
  3176. { --------------------------------------------------------------------
  3177. TPromoofferResource
  3178. --------------------------------------------------------------------}
  3179. //Optional query Options for TPromoofferResource, method Accept
  3180. TPromoofferAcceptOptions = Record
  3181. androidId : String;
  3182. device : String;
  3183. manufacturer : String;
  3184. model : String;
  3185. offerId : String;
  3186. product : String;
  3187. serial : String;
  3188. volumeId : String;
  3189. end;
  3190. //Optional query Options for TPromoofferResource, method Dismiss
  3191. TPromoofferDismissOptions = Record
  3192. androidId : String;
  3193. device : String;
  3194. manufacturer : String;
  3195. model : String;
  3196. offerId : String;
  3197. product : String;
  3198. serial : String;
  3199. end;
  3200. //Optional query Options for TPromoofferResource, method Get
  3201. TPromoofferGetOptions = Record
  3202. androidId : String;
  3203. device : String;
  3204. manufacturer : String;
  3205. model : String;
  3206. product : String;
  3207. serial : String;
  3208. end;
  3209. TPromoofferResource = Class(TGoogleResource)
  3210. Public
  3211. Class Function ResourceName : String; override;
  3212. Class Function DefaultAPI : TGoogleAPIClass; override;
  3213. Procedure Accept(AQuery : string = '');
  3214. Procedure Accept(AQuery : TPromoofferacceptOptions);
  3215. Procedure Dismiss(AQuery : string = '');
  3216. Procedure Dismiss(AQuery : TPromoofferdismissOptions);
  3217. Function Get(AQuery : string = '') : TOffers;
  3218. Function Get(AQuery : TPromooffergetOptions) : TOffers;
  3219. end;
  3220. { --------------------------------------------------------------------
  3221. TSeriesMembershipResource
  3222. --------------------------------------------------------------------}
  3223. //Optional query Options for TSeriesMembershipResource, method Get
  3224. TSeriesMembershipGetOptions = Record
  3225. page_size : integer;
  3226. page_token : String;
  3227. series_id : String;
  3228. end;
  3229. TSeriesMembershipResource = Class(TGoogleResource)
  3230. Public
  3231. Class Function ResourceName : String; override;
  3232. Class Function DefaultAPI : TGoogleAPIClass; override;
  3233. Function Get(AQuery : string = '') : TSeriesmembership;
  3234. Function Get(AQuery : TSeriesMembershipgetOptions) : TSeriesmembership;
  3235. end;
  3236. { --------------------------------------------------------------------
  3237. TSeriesResource
  3238. --------------------------------------------------------------------}
  3239. //Optional query Options for TSeriesResource, method Get
  3240. TSeriesGetOptions = Record
  3241. series_id : String;
  3242. end;
  3243. TSeriesResource = Class(TGoogleResource)
  3244. Private
  3245. FMembershipInstance : TSeriesMembershipResource;
  3246. Function GetMembershipInstance : TSeriesMembershipResource;virtual;
  3247. Public
  3248. Class Function ResourceName : String; override;
  3249. Class Function DefaultAPI : TGoogleAPIClass; override;
  3250. Function Get(AQuery : string = '') : TSeries;
  3251. Function Get(AQuery : TSeriesgetOptions) : TSeries;
  3252. Function CreateMembershipResource(AOwner : TComponent) : TSeriesMembershipResource;virtual;overload;
  3253. Function CreateMembershipResource : TSeriesMembershipResource;virtual;overload;
  3254. Property MembershipResource : TSeriesMembershipResource Read GetMembershipInstance;
  3255. end;
  3256. { --------------------------------------------------------------------
  3257. TVolumesAssociatedResource
  3258. --------------------------------------------------------------------}
  3259. //Optional query Options for TVolumesAssociatedResource, method List
  3260. TVolumesAssociatedListOptions = Record
  3261. association : String;
  3262. locale : String;
  3263. maxAllowedMaturityRating : String;
  3264. source : String;
  3265. end;
  3266. TVolumesAssociatedResource = Class(TGoogleResource)
  3267. Public
  3268. Class Function ResourceName : String; override;
  3269. Class Function DefaultAPI : TGoogleAPIClass; override;
  3270. Function List(volumeId: string; AQuery : string = '') : TVolumes;
  3271. Function List(volumeId: string; AQuery : TVolumesAssociatedlistOptions) : TVolumes;
  3272. end;
  3273. { --------------------------------------------------------------------
  3274. TVolumesMybooksResource
  3275. --------------------------------------------------------------------}
  3276. //Optional query Options for TVolumesMybooksResource, method List
  3277. TVolumesMybooksListOptions = Record
  3278. acquireMethod : String;
  3279. country : String;
  3280. locale : String;
  3281. maxResults : integer;
  3282. processingState : String;
  3283. source : String;
  3284. startIndex : integer;
  3285. end;
  3286. TVolumesMybooksResource = Class(TGoogleResource)
  3287. Public
  3288. Class Function ResourceName : String; override;
  3289. Class Function DefaultAPI : TGoogleAPIClass; override;
  3290. Function List(AQuery : string = '') : TVolumes;
  3291. Function List(AQuery : TVolumesMybookslistOptions) : TVolumes;
  3292. end;
  3293. { --------------------------------------------------------------------
  3294. TVolumesRecommendedResource
  3295. --------------------------------------------------------------------}
  3296. //Optional query Options for TVolumesRecommendedResource, method List
  3297. TVolumesRecommendedListOptions = Record
  3298. locale : String;
  3299. maxAllowedMaturityRating : String;
  3300. source : String;
  3301. end;
  3302. //Optional query Options for TVolumesRecommendedResource, method Rate
  3303. TVolumesRecommendedRateOptions = Record
  3304. locale : String;
  3305. rating : String;
  3306. source : String;
  3307. volumeId : String;
  3308. end;
  3309. TVolumesRecommendedResource = Class(TGoogleResource)
  3310. Public
  3311. Class Function ResourceName : String; override;
  3312. Class Function DefaultAPI : TGoogleAPIClass; override;
  3313. Function List(AQuery : string = '') : TVolumes;
  3314. Function List(AQuery : TVolumesRecommendedlistOptions) : TVolumes;
  3315. Function Rate(AQuery : string = '') : TBooksVolumesRecommendedRateResponse;
  3316. Function Rate(AQuery : TVolumesRecommendedrateOptions) : TBooksVolumesRecommendedRateResponse;
  3317. end;
  3318. { --------------------------------------------------------------------
  3319. TVolumesUseruploadedResource
  3320. --------------------------------------------------------------------}
  3321. //Optional query Options for TVolumesUseruploadedResource, method List
  3322. TVolumesUseruploadedListOptions = Record
  3323. locale : String;
  3324. maxResults : integer;
  3325. processingState : String;
  3326. source : String;
  3327. startIndex : integer;
  3328. volumeId : String;
  3329. end;
  3330. TVolumesUseruploadedResource = Class(TGoogleResource)
  3331. Public
  3332. Class Function ResourceName : String; override;
  3333. Class Function DefaultAPI : TGoogleAPIClass; override;
  3334. Function List(AQuery : string = '') : TVolumes;
  3335. Function List(AQuery : TVolumesUseruploadedlistOptions) : TVolumes;
  3336. end;
  3337. { --------------------------------------------------------------------
  3338. TVolumesResource
  3339. --------------------------------------------------------------------}
  3340. //Optional query Options for TVolumesResource, method Get
  3341. TVolumesGetOptions = Record
  3342. country : String;
  3343. includeNonComicsSeries : boolean;
  3344. partner : String;
  3345. projection : String;
  3346. source : String;
  3347. user_library_consistent_read : boolean;
  3348. end;
  3349. //Optional query Options for TVolumesResource, method List
  3350. TVolumesListOptions = Record
  3351. download : String;
  3352. filter : String;
  3353. langRestrict : String;
  3354. libraryRestrict : String;
  3355. maxResults : integer;
  3356. orderBy : String;
  3357. partner : String;
  3358. printType : String;
  3359. projection : String;
  3360. q : String;
  3361. showPreorders : boolean;
  3362. source : String;
  3363. startIndex : integer;
  3364. end;
  3365. TVolumesResource = Class(TGoogleResource)
  3366. Private
  3367. FAssociatedInstance : TVolumesAssociatedResource;
  3368. FMybooksInstance : TVolumesMybooksResource;
  3369. FRecommendedInstance : TVolumesRecommendedResource;
  3370. FUseruploadedInstance : TVolumesUseruploadedResource;
  3371. Function GetAssociatedInstance : TVolumesAssociatedResource;virtual;
  3372. Function GetMybooksInstance : TVolumesMybooksResource;virtual;
  3373. Function GetRecommendedInstance : TVolumesRecommendedResource;virtual;
  3374. Function GetUseruploadedInstance : TVolumesUseruploadedResource;virtual;
  3375. Public
  3376. Class Function ResourceName : String; override;
  3377. Class Function DefaultAPI : TGoogleAPIClass; override;
  3378. Function Get(volumeId: string; AQuery : string = '') : TVolume;
  3379. Function Get(volumeId: string; AQuery : TVolumesgetOptions) : TVolume;
  3380. Function List(AQuery : string = '') : TVolumes;
  3381. Function List(AQuery : TVolumeslistOptions) : TVolumes;
  3382. Function CreateAssociatedResource(AOwner : TComponent) : TVolumesAssociatedResource;virtual;overload;
  3383. Function CreateAssociatedResource : TVolumesAssociatedResource;virtual;overload;
  3384. Function CreateMybooksResource(AOwner : TComponent) : TVolumesMybooksResource;virtual;overload;
  3385. Function CreateMybooksResource : TVolumesMybooksResource;virtual;overload;
  3386. Function CreateRecommendedResource(AOwner : TComponent) : TVolumesRecommendedResource;virtual;overload;
  3387. Function CreateRecommendedResource : TVolumesRecommendedResource;virtual;overload;
  3388. Function CreateUseruploadedResource(AOwner : TComponent) : TVolumesUseruploadedResource;virtual;overload;
  3389. Function CreateUseruploadedResource : TVolumesUseruploadedResource;virtual;overload;
  3390. Property AssociatedResource : TVolumesAssociatedResource Read GetAssociatedInstance;
  3391. Property MybooksResource : TVolumesMybooksResource Read GetMybooksInstance;
  3392. Property RecommendedResource : TVolumesRecommendedResource Read GetRecommendedInstance;
  3393. Property UseruploadedResource : TVolumesUseruploadedResource Read GetUseruploadedInstance;
  3394. end;
  3395. { --------------------------------------------------------------------
  3396. TBooksAPI
  3397. --------------------------------------------------------------------}
  3398. TBooksAPI = Class(TGoogleAPI)
  3399. Private
  3400. FBookshelvesVolumesInstance : TBookshelvesVolumesResource;
  3401. FBookshelvesInstance : TBookshelvesResource;
  3402. FCloudloadingInstance : TCloudloadingResource;
  3403. FDictionaryInstance : TDictionaryResource;
  3404. FLayersAnnotationDataInstance : TLayersAnnotationDataResource;
  3405. FLayersVolumeAnnotationsInstance : TLayersVolumeAnnotationsResource;
  3406. FLayersInstance : TLayersResource;
  3407. FMyconfigInstance : TMyconfigResource;
  3408. FMylibraryAnnotationsInstance : TMylibraryAnnotationsResource;
  3409. FMylibraryBookshelvesVolumesInstance : TMylibraryBookshelvesVolumesResource;
  3410. FMylibraryBookshelvesInstance : TMylibraryBookshelvesResource;
  3411. FMylibraryReadingpositionsInstance : TMylibraryReadingpositionsResource;
  3412. FMylibraryInstance : TMylibraryResource;
  3413. FNotificationInstance : TNotificationResource;
  3414. FOnboardingInstance : TOnboardingResource;
  3415. FPersonalizedstreamInstance : TPersonalizedstreamResource;
  3416. FPromoofferInstance : TPromoofferResource;
  3417. FSeriesMembershipInstance : TSeriesMembershipResource;
  3418. FSeriesInstance : TSeriesResource;
  3419. FVolumesAssociatedInstance : TVolumesAssociatedResource;
  3420. FVolumesMybooksInstance : TVolumesMybooksResource;
  3421. FVolumesRecommendedInstance : TVolumesRecommendedResource;
  3422. FVolumesUseruploadedInstance : TVolumesUseruploadedResource;
  3423. FVolumesInstance : TVolumesResource;
  3424. Function GetBookshelvesVolumesInstance : TBookshelvesVolumesResource;virtual;
  3425. Function GetBookshelvesInstance : TBookshelvesResource;virtual;
  3426. Function GetCloudloadingInstance : TCloudloadingResource;virtual;
  3427. Function GetDictionaryInstance : TDictionaryResource;virtual;
  3428. Function GetLayersAnnotationDataInstance : TLayersAnnotationDataResource;virtual;
  3429. Function GetLayersVolumeAnnotationsInstance : TLayersVolumeAnnotationsResource;virtual;
  3430. Function GetLayersInstance : TLayersResource;virtual;
  3431. Function GetMyconfigInstance : TMyconfigResource;virtual;
  3432. Function GetMylibraryAnnotationsInstance : TMylibraryAnnotationsResource;virtual;
  3433. Function GetMylibraryBookshelvesVolumesInstance : TMylibraryBookshelvesVolumesResource;virtual;
  3434. Function GetMylibraryBookshelvesInstance : TMylibraryBookshelvesResource;virtual;
  3435. Function GetMylibraryReadingpositionsInstance : TMylibraryReadingpositionsResource;virtual;
  3436. Function GetMylibraryInstance : TMylibraryResource;virtual;
  3437. Function GetNotificationInstance : TNotificationResource;virtual;
  3438. Function GetOnboardingInstance : TOnboardingResource;virtual;
  3439. Function GetPersonalizedstreamInstance : TPersonalizedstreamResource;virtual;
  3440. Function GetPromoofferInstance : TPromoofferResource;virtual;
  3441. Function GetSeriesMembershipInstance : TSeriesMembershipResource;virtual;
  3442. Function GetSeriesInstance : TSeriesResource;virtual;
  3443. Function GetVolumesAssociatedInstance : TVolumesAssociatedResource;virtual;
  3444. Function GetVolumesMybooksInstance : TVolumesMybooksResource;virtual;
  3445. Function GetVolumesRecommendedInstance : TVolumesRecommendedResource;virtual;
  3446. Function GetVolumesUseruploadedInstance : TVolumesUseruploadedResource;virtual;
  3447. Function GetVolumesInstance : TVolumesResource;virtual;
  3448. Public
  3449. //Override class functions with API info
  3450. Class Function APIName : String; override;
  3451. Class Function APIVersion : String; override;
  3452. Class Function APIRevision : String; override;
  3453. Class Function APIID : String; override;
  3454. Class Function APITitle : String; override;
  3455. Class Function APIDescription : String; override;
  3456. Class Function APIOwnerDomain : String; override;
  3457. Class Function APIOwnerName : String; override;
  3458. Class Function APIIcon16 : String; override;
  3459. Class Function APIIcon32 : String; override;
  3460. Class Function APIdocumentationLink : String; override;
  3461. Class Function APIrootUrl : string; override;
  3462. Class Function APIbasePath : string;override;
  3463. Class Function APIbaseURL : String;override;
  3464. Class Function APIProtocol : string;override;
  3465. Class Function APIservicePath : string;override;
  3466. Class Function APIbatchPath : String;override;
  3467. Class Function APIAuthScopes : TScopeInfoArray;override;
  3468. Class Function APINeedsAuth : Boolean;override;
  3469. Class Procedure RegisterAPIResources; override;
  3470. //Add create function for resources
  3471. Function CreateBookshelvesVolumesResource(AOwner : TComponent) : TBookshelvesVolumesResource;virtual;overload;
  3472. Function CreateBookshelvesVolumesResource : TBookshelvesVolumesResource;virtual;overload;
  3473. Function CreateBookshelvesResource(AOwner : TComponent) : TBookshelvesResource;virtual;overload;
  3474. Function CreateBookshelvesResource : TBookshelvesResource;virtual;overload;
  3475. Function CreateCloudloadingResource(AOwner : TComponent) : TCloudloadingResource;virtual;overload;
  3476. Function CreateCloudloadingResource : TCloudloadingResource;virtual;overload;
  3477. Function CreateDictionaryResource(AOwner : TComponent) : TDictionaryResource;virtual;overload;
  3478. Function CreateDictionaryResource : TDictionaryResource;virtual;overload;
  3479. Function CreateLayersAnnotationDataResource(AOwner : TComponent) : TLayersAnnotationDataResource;virtual;overload;
  3480. Function CreateLayersAnnotationDataResource : TLayersAnnotationDataResource;virtual;overload;
  3481. Function CreateLayersVolumeAnnotationsResource(AOwner : TComponent) : TLayersVolumeAnnotationsResource;virtual;overload;
  3482. Function CreateLayersVolumeAnnotationsResource : TLayersVolumeAnnotationsResource;virtual;overload;
  3483. Function CreateLayersResource(AOwner : TComponent) : TLayersResource;virtual;overload;
  3484. Function CreateLayersResource : TLayersResource;virtual;overload;
  3485. Function CreateMyconfigResource(AOwner : TComponent) : TMyconfigResource;virtual;overload;
  3486. Function CreateMyconfigResource : TMyconfigResource;virtual;overload;
  3487. Function CreateMylibraryAnnotationsResource(AOwner : TComponent) : TMylibraryAnnotationsResource;virtual;overload;
  3488. Function CreateMylibraryAnnotationsResource : TMylibraryAnnotationsResource;virtual;overload;
  3489. Function CreateMylibraryBookshelvesVolumesResource(AOwner : TComponent) : TMylibraryBookshelvesVolumesResource;virtual;overload;
  3490. Function CreateMylibraryBookshelvesVolumesResource : TMylibraryBookshelvesVolumesResource;virtual;overload;
  3491. Function CreateMylibraryBookshelvesResource(AOwner : TComponent) : TMylibraryBookshelvesResource;virtual;overload;
  3492. Function CreateMylibraryBookshelvesResource : TMylibraryBookshelvesResource;virtual;overload;
  3493. Function CreateMylibraryReadingpositionsResource(AOwner : TComponent) : TMylibraryReadingpositionsResource;virtual;overload;
  3494. Function CreateMylibraryReadingpositionsResource : TMylibraryReadingpositionsResource;virtual;overload;
  3495. Function CreateMylibraryResource(AOwner : TComponent) : TMylibraryResource;virtual;overload;
  3496. Function CreateMylibraryResource : TMylibraryResource;virtual;overload;
  3497. Function CreateNotificationResource(AOwner : TComponent) : TNotificationResource;virtual;overload;
  3498. Function CreateNotificationResource : TNotificationResource;virtual;overload;
  3499. Function CreateOnboardingResource(AOwner : TComponent) : TOnboardingResource;virtual;overload;
  3500. Function CreateOnboardingResource : TOnboardingResource;virtual;overload;
  3501. Function CreatePersonalizedstreamResource(AOwner : TComponent) : TPersonalizedstreamResource;virtual;overload;
  3502. Function CreatePersonalizedstreamResource : TPersonalizedstreamResource;virtual;overload;
  3503. Function CreatePromoofferResource(AOwner : TComponent) : TPromoofferResource;virtual;overload;
  3504. Function CreatePromoofferResource : TPromoofferResource;virtual;overload;
  3505. Function CreateSeriesMembershipResource(AOwner : TComponent) : TSeriesMembershipResource;virtual;overload;
  3506. Function CreateSeriesMembershipResource : TSeriesMembershipResource;virtual;overload;
  3507. Function CreateSeriesResource(AOwner : TComponent) : TSeriesResource;virtual;overload;
  3508. Function CreateSeriesResource : TSeriesResource;virtual;overload;
  3509. Function CreateVolumesAssociatedResource(AOwner : TComponent) : TVolumesAssociatedResource;virtual;overload;
  3510. Function CreateVolumesAssociatedResource : TVolumesAssociatedResource;virtual;overload;
  3511. Function CreateVolumesMybooksResource(AOwner : TComponent) : TVolumesMybooksResource;virtual;overload;
  3512. Function CreateVolumesMybooksResource : TVolumesMybooksResource;virtual;overload;
  3513. Function CreateVolumesRecommendedResource(AOwner : TComponent) : TVolumesRecommendedResource;virtual;overload;
  3514. Function CreateVolumesRecommendedResource : TVolumesRecommendedResource;virtual;overload;
  3515. Function CreateVolumesUseruploadedResource(AOwner : TComponent) : TVolumesUseruploadedResource;virtual;overload;
  3516. Function CreateVolumesUseruploadedResource : TVolumesUseruploadedResource;virtual;overload;
  3517. Function CreateVolumesResource(AOwner : TComponent) : TVolumesResource;virtual;overload;
  3518. Function CreateVolumesResource : TVolumesResource;virtual;overload;
  3519. //Add default on-demand instances for resources
  3520. Property BookshelvesVolumesResource : TBookshelvesVolumesResource Read GetBookshelvesVolumesInstance;
  3521. Property BookshelvesResource : TBookshelvesResource Read GetBookshelvesInstance;
  3522. Property CloudloadingResource : TCloudloadingResource Read GetCloudloadingInstance;
  3523. Property DictionaryResource : TDictionaryResource Read GetDictionaryInstance;
  3524. Property LayersAnnotationDataResource : TLayersAnnotationDataResource Read GetLayersAnnotationDataInstance;
  3525. Property LayersVolumeAnnotationsResource : TLayersVolumeAnnotationsResource Read GetLayersVolumeAnnotationsInstance;
  3526. Property LayersResource : TLayersResource Read GetLayersInstance;
  3527. Property MyconfigResource : TMyconfigResource Read GetMyconfigInstance;
  3528. Property MylibraryAnnotationsResource : TMylibraryAnnotationsResource Read GetMylibraryAnnotationsInstance;
  3529. Property MylibraryBookshelvesVolumesResource : TMylibraryBookshelvesVolumesResource Read GetMylibraryBookshelvesVolumesInstance;
  3530. Property MylibraryBookshelvesResource : TMylibraryBookshelvesResource Read GetMylibraryBookshelvesInstance;
  3531. Property MylibraryReadingpositionsResource : TMylibraryReadingpositionsResource Read GetMylibraryReadingpositionsInstance;
  3532. Property MylibraryResource : TMylibraryResource Read GetMylibraryInstance;
  3533. Property NotificationResource : TNotificationResource Read GetNotificationInstance;
  3534. Property OnboardingResource : TOnboardingResource Read GetOnboardingInstance;
  3535. Property PersonalizedstreamResource : TPersonalizedstreamResource Read GetPersonalizedstreamInstance;
  3536. Property PromoofferResource : TPromoofferResource Read GetPromoofferInstance;
  3537. Property SeriesMembershipResource : TSeriesMembershipResource Read GetSeriesMembershipInstance;
  3538. Property SeriesResource : TSeriesResource Read GetSeriesInstance;
  3539. Property VolumesAssociatedResource : TVolumesAssociatedResource Read GetVolumesAssociatedInstance;
  3540. Property VolumesMybooksResource : TVolumesMybooksResource Read GetVolumesMybooksInstance;
  3541. Property VolumesRecommendedResource : TVolumesRecommendedResource Read GetVolumesRecommendedInstance;
  3542. Property VolumesUseruploadedResource : TVolumesUseruploadedResource Read GetVolumesUseruploadedInstance;
  3543. Property VolumesResource : TVolumesResource Read GetVolumesInstance;
  3544. end;
  3545. implementation
  3546. { --------------------------------------------------------------------
  3547. TAnnotationTypeclientVersionRanges
  3548. --------------------------------------------------------------------}
  3549. Procedure TAnnotationTypeclientVersionRanges.SetcfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3550. begin
  3551. If (FcfiRange=AValue) then exit;
  3552. FcfiRange:=AValue;
  3553. MarkPropertyChanged(AIndex);
  3554. end;
  3555. Procedure TAnnotationTypeclientVersionRanges.SetcontentVersion(AIndex : Integer; const AValue : String);
  3556. begin
  3557. If (FcontentVersion=AValue) then exit;
  3558. FcontentVersion:=AValue;
  3559. MarkPropertyChanged(AIndex);
  3560. end;
  3561. Procedure TAnnotationTypeclientVersionRanges.SetgbImageRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3562. begin
  3563. If (FgbImageRange=AValue) then exit;
  3564. FgbImageRange:=AValue;
  3565. MarkPropertyChanged(AIndex);
  3566. end;
  3567. Procedure TAnnotationTypeclientVersionRanges.SetgbTextRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3568. begin
  3569. If (FgbTextRange=AValue) then exit;
  3570. FgbTextRange:=AValue;
  3571. MarkPropertyChanged(AIndex);
  3572. end;
  3573. Procedure TAnnotationTypeclientVersionRanges.SetimageCfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3574. begin
  3575. If (FimageCfiRange=AValue) then exit;
  3576. FimageCfiRange:=AValue;
  3577. MarkPropertyChanged(AIndex);
  3578. end;
  3579. { --------------------------------------------------------------------
  3580. TAnnotationTypecurrentVersionRanges
  3581. --------------------------------------------------------------------}
  3582. Procedure TAnnotationTypecurrentVersionRanges.SetcfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3583. begin
  3584. If (FcfiRange=AValue) then exit;
  3585. FcfiRange:=AValue;
  3586. MarkPropertyChanged(AIndex);
  3587. end;
  3588. Procedure TAnnotationTypecurrentVersionRanges.SetcontentVersion(AIndex : Integer; const AValue : String);
  3589. begin
  3590. If (FcontentVersion=AValue) then exit;
  3591. FcontentVersion:=AValue;
  3592. MarkPropertyChanged(AIndex);
  3593. end;
  3594. Procedure TAnnotationTypecurrentVersionRanges.SetgbImageRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3595. begin
  3596. If (FgbImageRange=AValue) then exit;
  3597. FgbImageRange:=AValue;
  3598. MarkPropertyChanged(AIndex);
  3599. end;
  3600. Procedure TAnnotationTypecurrentVersionRanges.SetgbTextRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3601. begin
  3602. If (FgbTextRange=AValue) then exit;
  3603. FgbTextRange:=AValue;
  3604. MarkPropertyChanged(AIndex);
  3605. end;
  3606. Procedure TAnnotationTypecurrentVersionRanges.SetimageCfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  3607. begin
  3608. If (FimageCfiRange=AValue) then exit;
  3609. FimageCfiRange:=AValue;
  3610. MarkPropertyChanged(AIndex);
  3611. end;
  3612. { --------------------------------------------------------------------
  3613. TAnnotationTypelayerSummary
  3614. --------------------------------------------------------------------}
  3615. Procedure TAnnotationTypelayerSummary.SetallowedCharacterCount(AIndex : Integer; const AValue : integer);
  3616. begin
  3617. If (FallowedCharacterCount=AValue) then exit;
  3618. FallowedCharacterCount:=AValue;
  3619. MarkPropertyChanged(AIndex);
  3620. end;
  3621. Procedure TAnnotationTypelayerSummary.SetlimitType(AIndex : Integer; const AValue : String);
  3622. begin
  3623. If (FlimitType=AValue) then exit;
  3624. FlimitType:=AValue;
  3625. MarkPropertyChanged(AIndex);
  3626. end;
  3627. Procedure TAnnotationTypelayerSummary.SetremainingCharacterCount(AIndex : Integer; const AValue : integer);
  3628. begin
  3629. If (FremainingCharacterCount=AValue) then exit;
  3630. FremainingCharacterCount:=AValue;
  3631. MarkPropertyChanged(AIndex);
  3632. end;
  3633. { --------------------------------------------------------------------
  3634. TAnnotation
  3635. --------------------------------------------------------------------}
  3636. Procedure TAnnotation.SetafterSelectedText(AIndex : Integer; const AValue : String);
  3637. begin
  3638. If (FafterSelectedText=AValue) then exit;
  3639. FafterSelectedText:=AValue;
  3640. MarkPropertyChanged(AIndex);
  3641. end;
  3642. Procedure TAnnotation.SetbeforeSelectedText(AIndex : Integer; const AValue : String);
  3643. begin
  3644. If (FbeforeSelectedText=AValue) then exit;
  3645. FbeforeSelectedText:=AValue;
  3646. MarkPropertyChanged(AIndex);
  3647. end;
  3648. Procedure TAnnotation.SetclientVersionRanges(AIndex : Integer; const AValue : TAnnotationTypeclientVersionRanges);
  3649. begin
  3650. If (FclientVersionRanges=AValue) then exit;
  3651. FclientVersionRanges:=AValue;
  3652. MarkPropertyChanged(AIndex);
  3653. end;
  3654. Procedure TAnnotation.Setcreated(AIndex : Integer; const AValue : TDatetime);
  3655. begin
  3656. If (Fcreated=AValue) then exit;
  3657. Fcreated:=AValue;
  3658. MarkPropertyChanged(AIndex);
  3659. end;
  3660. Procedure TAnnotation.SetcurrentVersionRanges(AIndex : Integer; const AValue : TAnnotationTypecurrentVersionRanges);
  3661. begin
  3662. If (FcurrentVersionRanges=AValue) then exit;
  3663. FcurrentVersionRanges:=AValue;
  3664. MarkPropertyChanged(AIndex);
  3665. end;
  3666. Procedure TAnnotation.Setdata(AIndex : Integer; const AValue : String);
  3667. begin
  3668. If (Fdata=AValue) then exit;
  3669. Fdata:=AValue;
  3670. MarkPropertyChanged(AIndex);
  3671. end;
  3672. Procedure TAnnotation.Setdeleted(AIndex : Integer; const AValue : boolean);
  3673. begin
  3674. If (Fdeleted=AValue) then exit;
  3675. Fdeleted:=AValue;
  3676. MarkPropertyChanged(AIndex);
  3677. end;
  3678. Procedure TAnnotation.SethighlightStyle(AIndex : Integer; const AValue : String);
  3679. begin
  3680. If (FhighlightStyle=AValue) then exit;
  3681. FhighlightStyle:=AValue;
  3682. MarkPropertyChanged(AIndex);
  3683. end;
  3684. Procedure TAnnotation.Setid(AIndex : Integer; const AValue : String);
  3685. begin
  3686. If (Fid=AValue) then exit;
  3687. Fid:=AValue;
  3688. MarkPropertyChanged(AIndex);
  3689. end;
  3690. Procedure TAnnotation.Setkind(AIndex : Integer; const AValue : String);
  3691. begin
  3692. If (Fkind=AValue) then exit;
  3693. Fkind:=AValue;
  3694. MarkPropertyChanged(AIndex);
  3695. end;
  3696. Procedure TAnnotation.SetlayerId(AIndex : Integer; const AValue : String);
  3697. begin
  3698. If (FlayerId=AValue) then exit;
  3699. FlayerId:=AValue;
  3700. MarkPropertyChanged(AIndex);
  3701. end;
  3702. Procedure TAnnotation.SetlayerSummary(AIndex : Integer; const AValue : TAnnotationTypelayerSummary);
  3703. begin
  3704. If (FlayerSummary=AValue) then exit;
  3705. FlayerSummary:=AValue;
  3706. MarkPropertyChanged(AIndex);
  3707. end;
  3708. Procedure TAnnotation.SetpageIds(AIndex : Integer; const AValue : TStringArray);
  3709. begin
  3710. If (FpageIds=AValue) then exit;
  3711. FpageIds:=AValue;
  3712. MarkPropertyChanged(AIndex);
  3713. end;
  3714. Procedure TAnnotation.SetselectedText(AIndex : Integer; const AValue : String);
  3715. begin
  3716. If (FselectedText=AValue) then exit;
  3717. FselectedText:=AValue;
  3718. MarkPropertyChanged(AIndex);
  3719. end;
  3720. Procedure TAnnotation.SetselfLink(AIndex : Integer; const AValue : String);
  3721. begin
  3722. If (FselfLink=AValue) then exit;
  3723. FselfLink:=AValue;
  3724. MarkPropertyChanged(AIndex);
  3725. end;
  3726. Procedure TAnnotation.Setupdated(AIndex : Integer; const AValue : TDatetime);
  3727. begin
  3728. If (Fupdated=AValue) then exit;
  3729. Fupdated:=AValue;
  3730. MarkPropertyChanged(AIndex);
  3731. end;
  3732. Procedure TAnnotation.SetvolumeId(AIndex : Integer; const AValue : String);
  3733. begin
  3734. If (FvolumeId=AValue) then exit;
  3735. FvolumeId:=AValue;
  3736. MarkPropertyChanged(AIndex);
  3737. end;
  3738. //2.6.4. bug workaround
  3739. {$IFDEF VER2_6}
  3740. Procedure TAnnotation.SetArrayLength(Const AName : String; ALength : Longint);
  3741. begin
  3742. Case AName of
  3743. 'pageids' : SetLength(FpageIds,ALength);
  3744. else
  3745. Inherited SetArrayLength(AName,ALength);
  3746. end;
  3747. end;
  3748. {$ENDIF VER2_6}
  3749. { --------------------------------------------------------------------
  3750. TAnnotationdata
  3751. --------------------------------------------------------------------}
  3752. Procedure TAnnotationdata.SetannotationType(AIndex : Integer; const AValue : String);
  3753. begin
  3754. If (FannotationType=AValue) then exit;
  3755. FannotationType:=AValue;
  3756. MarkPropertyChanged(AIndex);
  3757. end;
  3758. Procedure TAnnotationdata.Setdata(AIndex : Integer; const AValue : TJSONSchema);
  3759. begin
  3760. If (Fdata=AValue) then exit;
  3761. Fdata:=AValue;
  3762. MarkPropertyChanged(AIndex);
  3763. end;
  3764. Procedure TAnnotationdata.Setencoded_data(AIndex : Integer; const AValue : String);
  3765. begin
  3766. If (Fencoded_data=AValue) then exit;
  3767. Fencoded_data:=AValue;
  3768. MarkPropertyChanged(AIndex);
  3769. end;
  3770. Procedure TAnnotationdata.Setid(AIndex : Integer; const AValue : String);
  3771. begin
  3772. If (Fid=AValue) then exit;
  3773. Fid:=AValue;
  3774. MarkPropertyChanged(AIndex);
  3775. end;
  3776. Procedure TAnnotationdata.Setkind(AIndex : Integer; const AValue : String);
  3777. begin
  3778. If (Fkind=AValue) then exit;
  3779. Fkind:=AValue;
  3780. MarkPropertyChanged(AIndex);
  3781. end;
  3782. Procedure TAnnotationdata.SetlayerId(AIndex : Integer; const AValue : String);
  3783. begin
  3784. If (FlayerId=AValue) then exit;
  3785. FlayerId:=AValue;
  3786. MarkPropertyChanged(AIndex);
  3787. end;
  3788. Procedure TAnnotationdata.SetselfLink(AIndex : Integer; const AValue : String);
  3789. begin
  3790. If (FselfLink=AValue) then exit;
  3791. FselfLink:=AValue;
  3792. MarkPropertyChanged(AIndex);
  3793. end;
  3794. Procedure TAnnotationdata.Setupdated(AIndex : Integer; const AValue : TDatetime);
  3795. begin
  3796. If (Fupdated=AValue) then exit;
  3797. Fupdated:=AValue;
  3798. MarkPropertyChanged(AIndex);
  3799. end;
  3800. Procedure TAnnotationdata.SetvolumeId(AIndex : Integer; const AValue : String);
  3801. begin
  3802. If (FvolumeId=AValue) then exit;
  3803. FvolumeId:=AValue;
  3804. MarkPropertyChanged(AIndex);
  3805. end;
  3806. { --------------------------------------------------------------------
  3807. TAnnotations
  3808. --------------------------------------------------------------------}
  3809. Procedure TAnnotations.Setitems(AIndex : Integer; const AValue : TAnnotationsTypeitemsArray);
  3810. begin
  3811. If (Fitems=AValue) then exit;
  3812. Fitems:=AValue;
  3813. MarkPropertyChanged(AIndex);
  3814. end;
  3815. Procedure TAnnotations.Setkind(AIndex : Integer; const AValue : String);
  3816. begin
  3817. If (Fkind=AValue) then exit;
  3818. Fkind:=AValue;
  3819. MarkPropertyChanged(AIndex);
  3820. end;
  3821. Procedure TAnnotations.SetnextPageToken(AIndex : Integer; const AValue : String);
  3822. begin
  3823. If (FnextPageToken=AValue) then exit;
  3824. FnextPageToken:=AValue;
  3825. MarkPropertyChanged(AIndex);
  3826. end;
  3827. Procedure TAnnotations.SettotalItems(AIndex : Integer; const AValue : integer);
  3828. begin
  3829. If (FtotalItems=AValue) then exit;
  3830. FtotalItems:=AValue;
  3831. MarkPropertyChanged(AIndex);
  3832. end;
  3833. //2.6.4. bug workaround
  3834. {$IFDEF VER2_6}
  3835. Procedure TAnnotations.SetArrayLength(Const AName : String; ALength : Longint);
  3836. begin
  3837. Case AName of
  3838. 'items' : SetLength(Fitems,ALength);
  3839. else
  3840. Inherited SetArrayLength(AName,ALength);
  3841. end;
  3842. end;
  3843. {$ENDIF VER2_6}
  3844. { --------------------------------------------------------------------
  3845. TAnnotationsSummaryTypelayersItem
  3846. --------------------------------------------------------------------}
  3847. Procedure TAnnotationsSummaryTypelayersItem.SetallowedCharacterCount(AIndex : Integer; const AValue : integer);
  3848. begin
  3849. If (FallowedCharacterCount=AValue) then exit;
  3850. FallowedCharacterCount:=AValue;
  3851. MarkPropertyChanged(AIndex);
  3852. end;
  3853. Procedure TAnnotationsSummaryTypelayersItem.SetlayerId(AIndex : Integer; const AValue : String);
  3854. begin
  3855. If (FlayerId=AValue) then exit;
  3856. FlayerId:=AValue;
  3857. MarkPropertyChanged(AIndex);
  3858. end;
  3859. Procedure TAnnotationsSummaryTypelayersItem.SetlimitType(AIndex : Integer; const AValue : String);
  3860. begin
  3861. If (FlimitType=AValue) then exit;
  3862. FlimitType:=AValue;
  3863. MarkPropertyChanged(AIndex);
  3864. end;
  3865. Procedure TAnnotationsSummaryTypelayersItem.SetremainingCharacterCount(AIndex : Integer; const AValue : integer);
  3866. begin
  3867. If (FremainingCharacterCount=AValue) then exit;
  3868. FremainingCharacterCount:=AValue;
  3869. MarkPropertyChanged(AIndex);
  3870. end;
  3871. Procedure TAnnotationsSummaryTypelayersItem.Setupdated(AIndex : Integer; const AValue : TDatetime);
  3872. begin
  3873. If (Fupdated=AValue) then exit;
  3874. Fupdated:=AValue;
  3875. MarkPropertyChanged(AIndex);
  3876. end;
  3877. { --------------------------------------------------------------------
  3878. TAnnotationsSummary
  3879. --------------------------------------------------------------------}
  3880. Procedure TAnnotationsSummary.Setkind(AIndex : Integer; const AValue : String);
  3881. begin
  3882. If (Fkind=AValue) then exit;
  3883. Fkind:=AValue;
  3884. MarkPropertyChanged(AIndex);
  3885. end;
  3886. Procedure TAnnotationsSummary.Setlayers(AIndex : Integer; const AValue : TAnnotationsSummaryTypelayersArray);
  3887. begin
  3888. If (Flayers=AValue) then exit;
  3889. Flayers:=AValue;
  3890. MarkPropertyChanged(AIndex);
  3891. end;
  3892. //2.6.4. bug workaround
  3893. {$IFDEF VER2_6}
  3894. Procedure TAnnotationsSummary.SetArrayLength(Const AName : String; ALength : Longint);
  3895. begin
  3896. Case AName of
  3897. 'layers' : SetLength(Flayers,ALength);
  3898. else
  3899. Inherited SetArrayLength(AName,ALength);
  3900. end;
  3901. end;
  3902. {$ENDIF VER2_6}
  3903. { --------------------------------------------------------------------
  3904. TAnnotationsdata
  3905. --------------------------------------------------------------------}
  3906. Procedure TAnnotationsdata.Setitems(AIndex : Integer; const AValue : TAnnotationsdataTypeitemsArray);
  3907. begin
  3908. If (Fitems=AValue) then exit;
  3909. Fitems:=AValue;
  3910. MarkPropertyChanged(AIndex);
  3911. end;
  3912. Procedure TAnnotationsdata.Setkind(AIndex : Integer; const AValue : String);
  3913. begin
  3914. If (Fkind=AValue) then exit;
  3915. Fkind:=AValue;
  3916. MarkPropertyChanged(AIndex);
  3917. end;
  3918. Procedure TAnnotationsdata.SetnextPageToken(AIndex : Integer; const AValue : String);
  3919. begin
  3920. If (FnextPageToken=AValue) then exit;
  3921. FnextPageToken:=AValue;
  3922. MarkPropertyChanged(AIndex);
  3923. end;
  3924. Procedure TAnnotationsdata.SettotalItems(AIndex : Integer; const AValue : integer);
  3925. begin
  3926. If (FtotalItems=AValue) then exit;
  3927. FtotalItems:=AValue;
  3928. MarkPropertyChanged(AIndex);
  3929. end;
  3930. //2.6.4. bug workaround
  3931. {$IFDEF VER2_6}
  3932. Procedure TAnnotationsdata.SetArrayLength(Const AName : String; ALength : Longint);
  3933. begin
  3934. Case AName of
  3935. 'items' : SetLength(Fitems,ALength);
  3936. else
  3937. Inherited SetArrayLength(AName,ALength);
  3938. end;
  3939. end;
  3940. {$ENDIF VER2_6}
  3941. { --------------------------------------------------------------------
  3942. TBooksAnnotationsRange
  3943. --------------------------------------------------------------------}
  3944. Procedure TBooksAnnotationsRange.SetendOffset(AIndex : Integer; const AValue : String);
  3945. begin
  3946. If (FendOffset=AValue) then exit;
  3947. FendOffset:=AValue;
  3948. MarkPropertyChanged(AIndex);
  3949. end;
  3950. Procedure TBooksAnnotationsRange.SetendPosition(AIndex : Integer; const AValue : String);
  3951. begin
  3952. If (FendPosition=AValue) then exit;
  3953. FendPosition:=AValue;
  3954. MarkPropertyChanged(AIndex);
  3955. end;
  3956. Procedure TBooksAnnotationsRange.SetstartOffset(AIndex : Integer; const AValue : String);
  3957. begin
  3958. If (FstartOffset=AValue) then exit;
  3959. FstartOffset:=AValue;
  3960. MarkPropertyChanged(AIndex);
  3961. end;
  3962. Procedure TBooksAnnotationsRange.SetstartPosition(AIndex : Integer; const AValue : String);
  3963. begin
  3964. If (FstartPosition=AValue) then exit;
  3965. FstartPosition:=AValue;
  3966. MarkPropertyChanged(AIndex);
  3967. end;
  3968. { --------------------------------------------------------------------
  3969. TBooksCloudloadingResource
  3970. --------------------------------------------------------------------}
  3971. Procedure TBooksCloudloadingResource.Setauthor(AIndex : Integer; const AValue : String);
  3972. begin
  3973. If (Fauthor=AValue) then exit;
  3974. Fauthor:=AValue;
  3975. MarkPropertyChanged(AIndex);
  3976. end;
  3977. Procedure TBooksCloudloadingResource.SetprocessingState(AIndex : Integer; const AValue : String);
  3978. begin
  3979. If (FprocessingState=AValue) then exit;
  3980. FprocessingState:=AValue;
  3981. MarkPropertyChanged(AIndex);
  3982. end;
  3983. Procedure TBooksCloudloadingResource.Settitle(AIndex : Integer; const AValue : String);
  3984. begin
  3985. If (Ftitle=AValue) then exit;
  3986. Ftitle:=AValue;
  3987. MarkPropertyChanged(AIndex);
  3988. end;
  3989. Procedure TBooksCloudloadingResource.SetvolumeId(AIndex : Integer; const AValue : String);
  3990. begin
  3991. If (FvolumeId=AValue) then exit;
  3992. FvolumeId:=AValue;
  3993. MarkPropertyChanged(AIndex);
  3994. end;
  3995. { --------------------------------------------------------------------
  3996. TBooksVolumesRecommendedRateResponse
  3997. --------------------------------------------------------------------}
  3998. Procedure TBooksVolumesRecommendedRateResponse.Setconsistency_token(AIndex : Integer; const AValue : String);
  3999. begin
  4000. If (Fconsistency_token=AValue) then exit;
  4001. Fconsistency_token:=AValue;
  4002. MarkPropertyChanged(AIndex);
  4003. end;
  4004. { --------------------------------------------------------------------
  4005. TBookshelf
  4006. --------------------------------------------------------------------}
  4007. Procedure TBookshelf.Setaccess(AIndex : Integer; const AValue : String);
  4008. begin
  4009. If (Faccess=AValue) then exit;
  4010. Faccess:=AValue;
  4011. MarkPropertyChanged(AIndex);
  4012. end;
  4013. Procedure TBookshelf.Setcreated(AIndex : Integer; const AValue : TDatetime);
  4014. begin
  4015. If (Fcreated=AValue) then exit;
  4016. Fcreated:=AValue;
  4017. MarkPropertyChanged(AIndex);
  4018. end;
  4019. Procedure TBookshelf.Setdescription(AIndex : Integer; const AValue : String);
  4020. begin
  4021. If (Fdescription=AValue) then exit;
  4022. Fdescription:=AValue;
  4023. MarkPropertyChanged(AIndex);
  4024. end;
  4025. Procedure TBookshelf.Setid(AIndex : Integer; const AValue : integer);
  4026. begin
  4027. If (Fid=AValue) then exit;
  4028. Fid:=AValue;
  4029. MarkPropertyChanged(AIndex);
  4030. end;
  4031. Procedure TBookshelf.Setkind(AIndex : Integer; const AValue : String);
  4032. begin
  4033. If (Fkind=AValue) then exit;
  4034. Fkind:=AValue;
  4035. MarkPropertyChanged(AIndex);
  4036. end;
  4037. Procedure TBookshelf.SetselfLink(AIndex : Integer; const AValue : String);
  4038. begin
  4039. If (FselfLink=AValue) then exit;
  4040. FselfLink:=AValue;
  4041. MarkPropertyChanged(AIndex);
  4042. end;
  4043. Procedure TBookshelf.Settitle(AIndex : Integer; const AValue : String);
  4044. begin
  4045. If (Ftitle=AValue) then exit;
  4046. Ftitle:=AValue;
  4047. MarkPropertyChanged(AIndex);
  4048. end;
  4049. Procedure TBookshelf.Setupdated(AIndex : Integer; const AValue : TDatetime);
  4050. begin
  4051. If (Fupdated=AValue) then exit;
  4052. Fupdated:=AValue;
  4053. MarkPropertyChanged(AIndex);
  4054. end;
  4055. Procedure TBookshelf.SetvolumeCount(AIndex : Integer; const AValue : integer);
  4056. begin
  4057. If (FvolumeCount=AValue) then exit;
  4058. FvolumeCount:=AValue;
  4059. MarkPropertyChanged(AIndex);
  4060. end;
  4061. Procedure TBookshelf.SetvolumesLastUpdated(AIndex : Integer; const AValue : TDatetime);
  4062. begin
  4063. If (FvolumesLastUpdated=AValue) then exit;
  4064. FvolumesLastUpdated:=AValue;
  4065. MarkPropertyChanged(AIndex);
  4066. end;
  4067. { --------------------------------------------------------------------
  4068. TBookshelves
  4069. --------------------------------------------------------------------}
  4070. Procedure TBookshelves.Setitems(AIndex : Integer; const AValue : TBookshelvesTypeitemsArray);
  4071. begin
  4072. If (Fitems=AValue) then exit;
  4073. Fitems:=AValue;
  4074. MarkPropertyChanged(AIndex);
  4075. end;
  4076. Procedure TBookshelves.Setkind(AIndex : Integer; const AValue : String);
  4077. begin
  4078. If (Fkind=AValue) then exit;
  4079. Fkind:=AValue;
  4080. MarkPropertyChanged(AIndex);
  4081. end;
  4082. //2.6.4. bug workaround
  4083. {$IFDEF VER2_6}
  4084. Procedure TBookshelves.SetArrayLength(Const AName : String; ALength : Longint);
  4085. begin
  4086. Case AName of
  4087. 'items' : SetLength(Fitems,ALength);
  4088. else
  4089. Inherited SetArrayLength(AName,ALength);
  4090. end;
  4091. end;
  4092. {$ENDIF VER2_6}
  4093. { --------------------------------------------------------------------
  4094. TCategoryTypeitemsItem
  4095. --------------------------------------------------------------------}
  4096. Procedure TCategoryTypeitemsItem.SetbadgeUrl(AIndex : Integer; const AValue : String);
  4097. begin
  4098. If (FbadgeUrl=AValue) then exit;
  4099. FbadgeUrl:=AValue;
  4100. MarkPropertyChanged(AIndex);
  4101. end;
  4102. Procedure TCategoryTypeitemsItem.SetcategoryId(AIndex : Integer; const AValue : String);
  4103. begin
  4104. If (FcategoryId=AValue) then exit;
  4105. FcategoryId:=AValue;
  4106. MarkPropertyChanged(AIndex);
  4107. end;
  4108. Procedure TCategoryTypeitemsItem.Setname(AIndex : Integer; const AValue : String);
  4109. begin
  4110. If (Fname=AValue) then exit;
  4111. Fname:=AValue;
  4112. MarkPropertyChanged(AIndex);
  4113. end;
  4114. { --------------------------------------------------------------------
  4115. TCategory
  4116. --------------------------------------------------------------------}
  4117. Procedure TCategory.Setitems(AIndex : Integer; const AValue : TCategoryTypeitemsArray);
  4118. begin
  4119. If (Fitems=AValue) then exit;
  4120. Fitems:=AValue;
  4121. MarkPropertyChanged(AIndex);
  4122. end;
  4123. Procedure TCategory.Setkind(AIndex : Integer; const AValue : String);
  4124. begin
  4125. If (Fkind=AValue) then exit;
  4126. Fkind:=AValue;
  4127. MarkPropertyChanged(AIndex);
  4128. end;
  4129. //2.6.4. bug workaround
  4130. {$IFDEF VER2_6}
  4131. Procedure TCategory.SetArrayLength(Const AName : String; ALength : Longint);
  4132. begin
  4133. Case AName of
  4134. 'items' : SetLength(Fitems,ALength);
  4135. else
  4136. Inherited SetArrayLength(AName,ALength);
  4137. end;
  4138. end;
  4139. {$ENDIF VER2_6}
  4140. { --------------------------------------------------------------------
  4141. TConcurrentAccessRestriction
  4142. --------------------------------------------------------------------}
  4143. Procedure TConcurrentAccessRestriction.SetdeviceAllowed(AIndex : Integer; const AValue : boolean);
  4144. begin
  4145. If (FdeviceAllowed=AValue) then exit;
  4146. FdeviceAllowed:=AValue;
  4147. MarkPropertyChanged(AIndex);
  4148. end;
  4149. Procedure TConcurrentAccessRestriction.Setkind(AIndex : Integer; const AValue : String);
  4150. begin
  4151. If (Fkind=AValue) then exit;
  4152. Fkind:=AValue;
  4153. MarkPropertyChanged(AIndex);
  4154. end;
  4155. Procedure TConcurrentAccessRestriction.SetmaxConcurrentDevices(AIndex : Integer; const AValue : integer);
  4156. begin
  4157. If (FmaxConcurrentDevices=AValue) then exit;
  4158. FmaxConcurrentDevices:=AValue;
  4159. MarkPropertyChanged(AIndex);
  4160. end;
  4161. Procedure TConcurrentAccessRestriction.Setmessage(AIndex : Integer; const AValue : String);
  4162. begin
  4163. If (Fmessage=AValue) then exit;
  4164. Fmessage:=AValue;
  4165. MarkPropertyChanged(AIndex);
  4166. end;
  4167. Procedure TConcurrentAccessRestriction.Setnonce(AIndex : Integer; const AValue : String);
  4168. begin
  4169. If (Fnonce=AValue) then exit;
  4170. Fnonce:=AValue;
  4171. MarkPropertyChanged(AIndex);
  4172. end;
  4173. Procedure TConcurrentAccessRestriction.SetreasonCode(AIndex : Integer; const AValue : String);
  4174. begin
  4175. If (FreasonCode=AValue) then exit;
  4176. FreasonCode:=AValue;
  4177. MarkPropertyChanged(AIndex);
  4178. end;
  4179. Procedure TConcurrentAccessRestriction.Setrestricted(AIndex : Integer; const AValue : boolean);
  4180. begin
  4181. If (Frestricted=AValue) then exit;
  4182. Frestricted:=AValue;
  4183. MarkPropertyChanged(AIndex);
  4184. end;
  4185. Procedure TConcurrentAccessRestriction.Setsignature(AIndex : Integer; const AValue : String);
  4186. begin
  4187. If (Fsignature=AValue) then exit;
  4188. Fsignature:=AValue;
  4189. MarkPropertyChanged(AIndex);
  4190. end;
  4191. Procedure TConcurrentAccessRestriction.Setsource(AIndex : Integer; const AValue : String);
  4192. begin
  4193. If (Fsource=AValue) then exit;
  4194. Fsource:=AValue;
  4195. MarkPropertyChanged(AIndex);
  4196. end;
  4197. Procedure TConcurrentAccessRestriction.SettimeWindowSeconds(AIndex : Integer; const AValue : integer);
  4198. begin
  4199. If (FtimeWindowSeconds=AValue) then exit;
  4200. FtimeWindowSeconds:=AValue;
  4201. MarkPropertyChanged(AIndex);
  4202. end;
  4203. Procedure TConcurrentAccessRestriction.SetvolumeId(AIndex : Integer; const AValue : String);
  4204. begin
  4205. If (FvolumeId=AValue) then exit;
  4206. FvolumeId:=AValue;
  4207. MarkPropertyChanged(AIndex);
  4208. end;
  4209. { --------------------------------------------------------------------
  4210. TDictlayerdataTypecommon
  4211. --------------------------------------------------------------------}
  4212. Procedure TDictlayerdataTypecommon.Settitle(AIndex : Integer; const AValue : String);
  4213. begin
  4214. If (Ftitle=AValue) then exit;
  4215. Ftitle:=AValue;
  4216. MarkPropertyChanged(AIndex);
  4217. end;
  4218. { --------------------------------------------------------------------
  4219. TDictlayerdataTypedictTypesource
  4220. --------------------------------------------------------------------}
  4221. Procedure TDictlayerdataTypedictTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4222. begin
  4223. If (Fattribution=AValue) then exit;
  4224. Fattribution:=AValue;
  4225. MarkPropertyChanged(AIndex);
  4226. end;
  4227. Procedure TDictlayerdataTypedictTypesource.Seturl(AIndex : Integer; const AValue : String);
  4228. begin
  4229. If (Furl=AValue) then exit;
  4230. Furl:=AValue;
  4231. MarkPropertyChanged(AIndex);
  4232. end;
  4233. { --------------------------------------------------------------------
  4234. TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource
  4235. --------------------------------------------------------------------}
  4236. Procedure TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4237. begin
  4238. If (Fattribution=AValue) then exit;
  4239. Fattribution:=AValue;
  4240. MarkPropertyChanged(AIndex);
  4241. end;
  4242. Procedure TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource.Seturl(AIndex : Integer; const AValue : String);
  4243. begin
  4244. If (Furl=AValue) then exit;
  4245. Furl:=AValue;
  4246. MarkPropertyChanged(AIndex);
  4247. end;
  4248. { --------------------------------------------------------------------
  4249. TDictlayerdataTypedictTypewordsItemTypederivativesItem
  4250. --------------------------------------------------------------------}
  4251. Procedure TDictlayerdataTypedictTypewordsItemTypederivativesItem.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource);
  4252. begin
  4253. If (Fsource=AValue) then exit;
  4254. Fsource:=AValue;
  4255. MarkPropertyChanged(AIndex);
  4256. end;
  4257. Procedure TDictlayerdataTypedictTypewordsItemTypederivativesItem.Settext(AIndex : Integer; const AValue : String);
  4258. begin
  4259. If (Ftext=AValue) then exit;
  4260. Ftext:=AValue;
  4261. MarkPropertyChanged(AIndex);
  4262. end;
  4263. { --------------------------------------------------------------------
  4264. TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource
  4265. --------------------------------------------------------------------}
  4266. Procedure TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4267. begin
  4268. If (Fattribution=AValue) then exit;
  4269. Fattribution:=AValue;
  4270. MarkPropertyChanged(AIndex);
  4271. end;
  4272. Procedure TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource.Seturl(AIndex : Integer; const AValue : String);
  4273. begin
  4274. If (Furl=AValue) then exit;
  4275. Furl:=AValue;
  4276. MarkPropertyChanged(AIndex);
  4277. end;
  4278. { --------------------------------------------------------------------
  4279. TDictlayerdataTypedictTypewordsItemTypeexamplesItem
  4280. --------------------------------------------------------------------}
  4281. Procedure TDictlayerdataTypedictTypewordsItemTypeexamplesItem.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource);
  4282. begin
  4283. If (Fsource=AValue) then exit;
  4284. Fsource:=AValue;
  4285. MarkPropertyChanged(AIndex);
  4286. end;
  4287. Procedure TDictlayerdataTypedictTypewordsItemTypeexamplesItem.Settext(AIndex : Integer; const AValue : String);
  4288. begin
  4289. If (Ftext=AValue) then exit;
  4290. Ftext:=AValue;
  4291. MarkPropertyChanged(AIndex);
  4292. end;
  4293. { --------------------------------------------------------------------
  4294. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem
  4295. --------------------------------------------------------------------}
  4296. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem.Set_type(AIndex : Integer; const AValue : String);
  4297. begin
  4298. If (F_type=AValue) then exit;
  4299. F_type:=AValue;
  4300. MarkPropertyChanged(AIndex);
  4301. end;
  4302. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem.Setvalue(AIndex : Integer; const AValue : String);
  4303. begin
  4304. If (Fvalue=AValue) then exit;
  4305. Fvalue:=AValue;
  4306. MarkPropertyChanged(AIndex);
  4307. end;
  4308. Class Function TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem.ExportPropertyName(Const AName : String) :String;
  4309. begin
  4310. Case AName of
  4311. '_type' : Result:='type';
  4312. else
  4313. Result:=Inherited ExportPropertyName(AName);
  4314. end;
  4315. end;
  4316. { --------------------------------------------------------------------
  4317. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource
  4318. --------------------------------------------------------------------}
  4319. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4320. begin
  4321. If (Fattribution=AValue) then exit;
  4322. Fattribution:=AValue;
  4323. MarkPropertyChanged(AIndex);
  4324. end;
  4325. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource.Seturl(AIndex : Integer; const AValue : String);
  4326. begin
  4327. If (Furl=AValue) then exit;
  4328. Furl:=AValue;
  4329. MarkPropertyChanged(AIndex);
  4330. end;
  4331. { --------------------------------------------------------------------
  4332. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem
  4333. --------------------------------------------------------------------}
  4334. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource);
  4335. begin
  4336. If (Fsource=AValue) then exit;
  4337. Fsource:=AValue;
  4338. MarkPropertyChanged(AIndex);
  4339. end;
  4340. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem.Settext(AIndex : Integer; const AValue : String);
  4341. begin
  4342. If (Ftext=AValue) then exit;
  4343. Ftext:=AValue;
  4344. MarkPropertyChanged(AIndex);
  4345. end;
  4346. { --------------------------------------------------------------------
  4347. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem
  4348. --------------------------------------------------------------------}
  4349. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem.Setdefinition(AIndex : Integer; const AValue : String);
  4350. begin
  4351. If (Fdefinition=AValue) then exit;
  4352. Fdefinition:=AValue;
  4353. MarkPropertyChanged(AIndex);
  4354. end;
  4355. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem.Setexamples(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesArray);
  4356. begin
  4357. If (Fexamples=AValue) then exit;
  4358. Fexamples:=AValue;
  4359. MarkPropertyChanged(AIndex);
  4360. end;
  4361. //2.6.4. bug workaround
  4362. {$IFDEF VER2_6}
  4363. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem.SetArrayLength(Const AName : String; ALength : Longint);
  4364. begin
  4365. Case AName of
  4366. 'examples' : SetLength(Fexamples,ALength);
  4367. else
  4368. Inherited SetArrayLength(AName,ALength);
  4369. end;
  4370. end;
  4371. {$ENDIF VER2_6}
  4372. { --------------------------------------------------------------------
  4373. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource
  4374. --------------------------------------------------------------------}
  4375. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4376. begin
  4377. If (Fattribution=AValue) then exit;
  4378. Fattribution:=AValue;
  4379. MarkPropertyChanged(AIndex);
  4380. end;
  4381. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource.Seturl(AIndex : Integer; const AValue : String);
  4382. begin
  4383. If (Furl=AValue) then exit;
  4384. Furl:=AValue;
  4385. MarkPropertyChanged(AIndex);
  4386. end;
  4387. { --------------------------------------------------------------------
  4388. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource
  4389. --------------------------------------------------------------------}
  4390. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4391. begin
  4392. If (Fattribution=AValue) then exit;
  4393. Fattribution:=AValue;
  4394. MarkPropertyChanged(AIndex);
  4395. end;
  4396. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource.Seturl(AIndex : Integer; const AValue : String);
  4397. begin
  4398. If (Furl=AValue) then exit;
  4399. Furl:=AValue;
  4400. MarkPropertyChanged(AIndex);
  4401. end;
  4402. { --------------------------------------------------------------------
  4403. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem
  4404. --------------------------------------------------------------------}
  4405. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource);
  4406. begin
  4407. If (Fsource=AValue) then exit;
  4408. Fsource:=AValue;
  4409. MarkPropertyChanged(AIndex);
  4410. end;
  4411. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem.Settext(AIndex : Integer; const AValue : String);
  4412. begin
  4413. If (Ftext=AValue) then exit;
  4414. Ftext:=AValue;
  4415. MarkPropertyChanged(AIndex);
  4416. end;
  4417. { --------------------------------------------------------------------
  4418. TDictlayerdataTypedictTypewordsItemTypesensesItem
  4419. --------------------------------------------------------------------}
  4420. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.Setconjugations(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsArray);
  4421. begin
  4422. If (Fconjugations=AValue) then exit;
  4423. Fconjugations:=AValue;
  4424. MarkPropertyChanged(AIndex);
  4425. end;
  4426. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.Setdefinitions(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsArray);
  4427. begin
  4428. If (Fdefinitions=AValue) then exit;
  4429. Fdefinitions:=AValue;
  4430. MarkPropertyChanged(AIndex);
  4431. end;
  4432. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.SetpartOfSpeech(AIndex : Integer; const AValue : String);
  4433. begin
  4434. If (FpartOfSpeech=AValue) then exit;
  4435. FpartOfSpeech:=AValue;
  4436. MarkPropertyChanged(AIndex);
  4437. end;
  4438. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.Setpronunciation(AIndex : Integer; const AValue : String);
  4439. begin
  4440. If (Fpronunciation=AValue) then exit;
  4441. Fpronunciation:=AValue;
  4442. MarkPropertyChanged(AIndex);
  4443. end;
  4444. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.SetpronunciationUrl(AIndex : Integer; const AValue : String);
  4445. begin
  4446. If (FpronunciationUrl=AValue) then exit;
  4447. FpronunciationUrl:=AValue;
  4448. MarkPropertyChanged(AIndex);
  4449. end;
  4450. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource);
  4451. begin
  4452. If (Fsource=AValue) then exit;
  4453. Fsource:=AValue;
  4454. MarkPropertyChanged(AIndex);
  4455. end;
  4456. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.Setsyllabification(AIndex : Integer; const AValue : String);
  4457. begin
  4458. If (Fsyllabification=AValue) then exit;
  4459. Fsyllabification:=AValue;
  4460. MarkPropertyChanged(AIndex);
  4461. end;
  4462. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.Setsynonyms(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsArray);
  4463. begin
  4464. If (Fsynonyms=AValue) then exit;
  4465. Fsynonyms:=AValue;
  4466. MarkPropertyChanged(AIndex);
  4467. end;
  4468. //2.6.4. bug workaround
  4469. {$IFDEF VER2_6}
  4470. Procedure TDictlayerdataTypedictTypewordsItemTypesensesItem.SetArrayLength(Const AName : String; ALength : Longint);
  4471. begin
  4472. Case AName of
  4473. 'conjugations' : SetLength(Fconjugations,ALength);
  4474. 'definitions' : SetLength(Fdefinitions,ALength);
  4475. 'synonyms' : SetLength(Fsynonyms,ALength);
  4476. else
  4477. Inherited SetArrayLength(AName,ALength);
  4478. end;
  4479. end;
  4480. {$ENDIF VER2_6}
  4481. { --------------------------------------------------------------------
  4482. TDictlayerdataTypedictTypewordsItemTypesource
  4483. --------------------------------------------------------------------}
  4484. Procedure TDictlayerdataTypedictTypewordsItemTypesource.Setattribution(AIndex : Integer; const AValue : String);
  4485. begin
  4486. If (Fattribution=AValue) then exit;
  4487. Fattribution:=AValue;
  4488. MarkPropertyChanged(AIndex);
  4489. end;
  4490. Procedure TDictlayerdataTypedictTypewordsItemTypesource.Seturl(AIndex : Integer; const AValue : String);
  4491. begin
  4492. If (Furl=AValue) then exit;
  4493. Furl:=AValue;
  4494. MarkPropertyChanged(AIndex);
  4495. end;
  4496. { --------------------------------------------------------------------
  4497. TDictlayerdataTypedictTypewordsItem
  4498. --------------------------------------------------------------------}
  4499. Procedure TDictlayerdataTypedictTypewordsItem.Setderivatives(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypederivativesArray);
  4500. begin
  4501. If (Fderivatives=AValue) then exit;
  4502. Fderivatives:=AValue;
  4503. MarkPropertyChanged(AIndex);
  4504. end;
  4505. Procedure TDictlayerdataTypedictTypewordsItem.Setexamples(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypeexamplesArray);
  4506. begin
  4507. If (Fexamples=AValue) then exit;
  4508. Fexamples:=AValue;
  4509. MarkPropertyChanged(AIndex);
  4510. end;
  4511. Procedure TDictlayerdataTypedictTypewordsItem.Setsenses(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesensesArray);
  4512. begin
  4513. If (Fsenses=AValue) then exit;
  4514. Fsenses:=AValue;
  4515. MarkPropertyChanged(AIndex);
  4516. end;
  4517. Procedure TDictlayerdataTypedictTypewordsItem.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsItemTypesource);
  4518. begin
  4519. If (Fsource=AValue) then exit;
  4520. Fsource:=AValue;
  4521. MarkPropertyChanged(AIndex);
  4522. end;
  4523. //2.6.4. bug workaround
  4524. {$IFDEF VER2_6}
  4525. Procedure TDictlayerdataTypedictTypewordsItem.SetArrayLength(Const AName : String; ALength : Longint);
  4526. begin
  4527. Case AName of
  4528. 'derivatives' : SetLength(Fderivatives,ALength);
  4529. 'examples' : SetLength(Fexamples,ALength);
  4530. 'senses' : SetLength(Fsenses,ALength);
  4531. else
  4532. Inherited SetArrayLength(AName,ALength);
  4533. end;
  4534. end;
  4535. {$ENDIF VER2_6}
  4536. { --------------------------------------------------------------------
  4537. TDictlayerdataTypedict
  4538. --------------------------------------------------------------------}
  4539. Procedure TDictlayerdataTypedict.Setsource(AIndex : Integer; const AValue : TDictlayerdataTypedictTypesource);
  4540. begin
  4541. If (Fsource=AValue) then exit;
  4542. Fsource:=AValue;
  4543. MarkPropertyChanged(AIndex);
  4544. end;
  4545. Procedure TDictlayerdataTypedict.Setwords(AIndex : Integer; const AValue : TDictlayerdataTypedictTypewordsArray);
  4546. begin
  4547. If (Fwords=AValue) then exit;
  4548. Fwords:=AValue;
  4549. MarkPropertyChanged(AIndex);
  4550. end;
  4551. //2.6.4. bug workaround
  4552. {$IFDEF VER2_6}
  4553. Procedure TDictlayerdataTypedict.SetArrayLength(Const AName : String; ALength : Longint);
  4554. begin
  4555. Case AName of
  4556. 'words' : SetLength(Fwords,ALength);
  4557. else
  4558. Inherited SetArrayLength(AName,ALength);
  4559. end;
  4560. end;
  4561. {$ENDIF VER2_6}
  4562. { --------------------------------------------------------------------
  4563. TDictlayerdata
  4564. --------------------------------------------------------------------}
  4565. Procedure TDictlayerdata.Setcommon(AIndex : Integer; const AValue : TDictlayerdataTypecommon);
  4566. begin
  4567. If (Fcommon=AValue) then exit;
  4568. Fcommon:=AValue;
  4569. MarkPropertyChanged(AIndex);
  4570. end;
  4571. Procedure TDictlayerdata.Setdict(AIndex : Integer; const AValue : TDictlayerdataTypedict);
  4572. begin
  4573. If (Fdict=AValue) then exit;
  4574. Fdict:=AValue;
  4575. MarkPropertyChanged(AIndex);
  4576. end;
  4577. Procedure TDictlayerdata.Setkind(AIndex : Integer; const AValue : String);
  4578. begin
  4579. If (Fkind=AValue) then exit;
  4580. Fkind:=AValue;
  4581. MarkPropertyChanged(AIndex);
  4582. end;
  4583. { --------------------------------------------------------------------
  4584. TDiscoveryclustersTypeclustersItemTypebanner_with_content_container
  4585. --------------------------------------------------------------------}
  4586. Procedure TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.SetfillColorArgb(AIndex : Integer; const AValue : String);
  4587. begin
  4588. If (FfillColorArgb=AValue) then exit;
  4589. FfillColorArgb:=AValue;
  4590. MarkPropertyChanged(AIndex);
  4591. end;
  4592. Procedure TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.SetimageUrl(AIndex : Integer; const AValue : String);
  4593. begin
  4594. If (FimageUrl=AValue) then exit;
  4595. FimageUrl:=AValue;
  4596. MarkPropertyChanged(AIndex);
  4597. end;
  4598. Procedure TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.SetmaskColorArgb(AIndex : Integer; const AValue : String);
  4599. begin
  4600. If (FmaskColorArgb=AValue) then exit;
  4601. FmaskColorArgb:=AValue;
  4602. MarkPropertyChanged(AIndex);
  4603. end;
  4604. Procedure TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.SetmoreButtonText(AIndex : Integer; const AValue : String);
  4605. begin
  4606. If (FmoreButtonText=AValue) then exit;
  4607. FmoreButtonText:=AValue;
  4608. MarkPropertyChanged(AIndex);
  4609. end;
  4610. Procedure TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.SetmoreButtonUrl(AIndex : Integer; const AValue : String);
  4611. begin
  4612. If (FmoreButtonUrl=AValue) then exit;
  4613. FmoreButtonUrl:=AValue;
  4614. MarkPropertyChanged(AIndex);
  4615. end;
  4616. Procedure TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.SettextColorArgb(AIndex : Integer; const AValue : String);
  4617. begin
  4618. If (FtextColorArgb=AValue) then exit;
  4619. FtextColorArgb:=AValue;
  4620. MarkPropertyChanged(AIndex);
  4621. end;
  4622. { --------------------------------------------------------------------
  4623. TDiscoveryclustersTypeclustersItem
  4624. --------------------------------------------------------------------}
  4625. Procedure TDiscoveryclustersTypeclustersItem.Setbanner_with_content_container(AIndex : Integer; const AValue : TDiscoveryclustersTypeclustersItemTypebanner_with_content_container);
  4626. begin
  4627. If (Fbanner_with_content_container=AValue) then exit;
  4628. Fbanner_with_content_container:=AValue;
  4629. MarkPropertyChanged(AIndex);
  4630. end;
  4631. Procedure TDiscoveryclustersTypeclustersItem.SetsubTitle(AIndex : Integer; const AValue : String);
  4632. begin
  4633. If (FsubTitle=AValue) then exit;
  4634. FsubTitle:=AValue;
  4635. MarkPropertyChanged(AIndex);
  4636. end;
  4637. Procedure TDiscoveryclustersTypeclustersItem.Settitle(AIndex : Integer; const AValue : String);
  4638. begin
  4639. If (Ftitle=AValue) then exit;
  4640. Ftitle:=AValue;
  4641. MarkPropertyChanged(AIndex);
  4642. end;
  4643. Procedure TDiscoveryclustersTypeclustersItem.SettotalVolumes(AIndex : Integer; const AValue : integer);
  4644. begin
  4645. If (FtotalVolumes=AValue) then exit;
  4646. FtotalVolumes:=AValue;
  4647. MarkPropertyChanged(AIndex);
  4648. end;
  4649. Procedure TDiscoveryclustersTypeclustersItem.Setuid(AIndex : Integer; const AValue : String);
  4650. begin
  4651. If (Fuid=AValue) then exit;
  4652. Fuid:=AValue;
  4653. MarkPropertyChanged(AIndex);
  4654. end;
  4655. Procedure TDiscoveryclustersTypeclustersItem.Setvolumes(AIndex : Integer; const AValue : TDiscoveryclustersTypeclustersItemTypevolumesArray);
  4656. begin
  4657. If (Fvolumes=AValue) then exit;
  4658. Fvolumes:=AValue;
  4659. MarkPropertyChanged(AIndex);
  4660. end;
  4661. //2.6.4. bug workaround
  4662. {$IFDEF VER2_6}
  4663. Procedure TDiscoveryclustersTypeclustersItem.SetArrayLength(Const AName : String; ALength : Longint);
  4664. begin
  4665. Case AName of
  4666. 'volumes' : SetLength(Fvolumes,ALength);
  4667. else
  4668. Inherited SetArrayLength(AName,ALength);
  4669. end;
  4670. end;
  4671. {$ENDIF VER2_6}
  4672. { --------------------------------------------------------------------
  4673. TDiscoveryclusters
  4674. --------------------------------------------------------------------}
  4675. Procedure TDiscoveryclusters.Setclusters(AIndex : Integer; const AValue : TDiscoveryclustersTypeclustersArray);
  4676. begin
  4677. If (Fclusters=AValue) then exit;
  4678. Fclusters:=AValue;
  4679. MarkPropertyChanged(AIndex);
  4680. end;
  4681. Procedure TDiscoveryclusters.Setkind(AIndex : Integer; const AValue : String);
  4682. begin
  4683. If (Fkind=AValue) then exit;
  4684. Fkind:=AValue;
  4685. MarkPropertyChanged(AIndex);
  4686. end;
  4687. Procedure TDiscoveryclusters.SettotalClusters(AIndex : Integer; const AValue : integer);
  4688. begin
  4689. If (FtotalClusters=AValue) then exit;
  4690. FtotalClusters:=AValue;
  4691. MarkPropertyChanged(AIndex);
  4692. end;
  4693. //2.6.4. bug workaround
  4694. {$IFDEF VER2_6}
  4695. Procedure TDiscoveryclusters.SetArrayLength(Const AName : String; ALength : Longint);
  4696. begin
  4697. Case AName of
  4698. 'clusters' : SetLength(Fclusters,ALength);
  4699. else
  4700. Inherited SetArrayLength(AName,ALength);
  4701. end;
  4702. end;
  4703. {$ENDIF VER2_6}
  4704. { --------------------------------------------------------------------
  4705. TDownloadAccessRestriction
  4706. --------------------------------------------------------------------}
  4707. Procedure TDownloadAccessRestriction.SetdeviceAllowed(AIndex : Integer; const AValue : boolean);
  4708. begin
  4709. If (FdeviceAllowed=AValue) then exit;
  4710. FdeviceAllowed:=AValue;
  4711. MarkPropertyChanged(AIndex);
  4712. end;
  4713. Procedure TDownloadAccessRestriction.SetdownloadsAcquired(AIndex : Integer; const AValue : integer);
  4714. begin
  4715. If (FdownloadsAcquired=AValue) then exit;
  4716. FdownloadsAcquired:=AValue;
  4717. MarkPropertyChanged(AIndex);
  4718. end;
  4719. Procedure TDownloadAccessRestriction.SetjustAcquired(AIndex : Integer; const AValue : boolean);
  4720. begin
  4721. If (FjustAcquired=AValue) then exit;
  4722. FjustAcquired:=AValue;
  4723. MarkPropertyChanged(AIndex);
  4724. end;
  4725. Procedure TDownloadAccessRestriction.Setkind(AIndex : Integer; const AValue : String);
  4726. begin
  4727. If (Fkind=AValue) then exit;
  4728. Fkind:=AValue;
  4729. MarkPropertyChanged(AIndex);
  4730. end;
  4731. Procedure TDownloadAccessRestriction.SetmaxDownloadDevices(AIndex : Integer; const AValue : integer);
  4732. begin
  4733. If (FmaxDownloadDevices=AValue) then exit;
  4734. FmaxDownloadDevices:=AValue;
  4735. MarkPropertyChanged(AIndex);
  4736. end;
  4737. Procedure TDownloadAccessRestriction.Setmessage(AIndex : Integer; const AValue : String);
  4738. begin
  4739. If (Fmessage=AValue) then exit;
  4740. Fmessage:=AValue;
  4741. MarkPropertyChanged(AIndex);
  4742. end;
  4743. Procedure TDownloadAccessRestriction.Setnonce(AIndex : Integer; const AValue : String);
  4744. begin
  4745. If (Fnonce=AValue) then exit;
  4746. Fnonce:=AValue;
  4747. MarkPropertyChanged(AIndex);
  4748. end;
  4749. Procedure TDownloadAccessRestriction.SetreasonCode(AIndex : Integer; const AValue : String);
  4750. begin
  4751. If (FreasonCode=AValue) then exit;
  4752. FreasonCode:=AValue;
  4753. MarkPropertyChanged(AIndex);
  4754. end;
  4755. Procedure TDownloadAccessRestriction.Setrestricted(AIndex : Integer; const AValue : boolean);
  4756. begin
  4757. If (Frestricted=AValue) then exit;
  4758. Frestricted:=AValue;
  4759. MarkPropertyChanged(AIndex);
  4760. end;
  4761. Procedure TDownloadAccessRestriction.Setsignature(AIndex : Integer; const AValue : String);
  4762. begin
  4763. If (Fsignature=AValue) then exit;
  4764. Fsignature:=AValue;
  4765. MarkPropertyChanged(AIndex);
  4766. end;
  4767. Procedure TDownloadAccessRestriction.Setsource(AIndex : Integer; const AValue : String);
  4768. begin
  4769. If (Fsource=AValue) then exit;
  4770. Fsource:=AValue;
  4771. MarkPropertyChanged(AIndex);
  4772. end;
  4773. Procedure TDownloadAccessRestriction.SetvolumeId(AIndex : Integer; const AValue : String);
  4774. begin
  4775. If (FvolumeId=AValue) then exit;
  4776. FvolumeId:=AValue;
  4777. MarkPropertyChanged(AIndex);
  4778. end;
  4779. { --------------------------------------------------------------------
  4780. TDownloadAccesses
  4781. --------------------------------------------------------------------}
  4782. Procedure TDownloadAccesses.SetdownloadAccessList(AIndex : Integer; const AValue : TDownloadAccessesTypedownloadAccessListArray);
  4783. begin
  4784. If (FdownloadAccessList=AValue) then exit;
  4785. FdownloadAccessList:=AValue;
  4786. MarkPropertyChanged(AIndex);
  4787. end;
  4788. Procedure TDownloadAccesses.Setkind(AIndex : Integer; const AValue : String);
  4789. begin
  4790. If (Fkind=AValue) then exit;
  4791. Fkind:=AValue;
  4792. MarkPropertyChanged(AIndex);
  4793. end;
  4794. //2.6.4. bug workaround
  4795. {$IFDEF VER2_6}
  4796. Procedure TDownloadAccesses.SetArrayLength(Const AName : String; ALength : Longint);
  4797. begin
  4798. Case AName of
  4799. 'downloadaccesslist' : SetLength(FdownloadAccessList,ALength);
  4800. else
  4801. Inherited SetArrayLength(AName,ALength);
  4802. end;
  4803. end;
  4804. {$ENDIF VER2_6}
  4805. { --------------------------------------------------------------------
  4806. TGeolayerdataTypecommon
  4807. --------------------------------------------------------------------}
  4808. Procedure TGeolayerdataTypecommon.Setlang(AIndex : Integer; const AValue : String);
  4809. begin
  4810. If (Flang=AValue) then exit;
  4811. Flang:=AValue;
  4812. MarkPropertyChanged(AIndex);
  4813. end;
  4814. Procedure TGeolayerdataTypecommon.SetpreviewImageUrl(AIndex : Integer; const AValue : String);
  4815. begin
  4816. If (FpreviewImageUrl=AValue) then exit;
  4817. FpreviewImageUrl:=AValue;
  4818. MarkPropertyChanged(AIndex);
  4819. end;
  4820. Procedure TGeolayerdataTypecommon.Setsnippet(AIndex : Integer; const AValue : String);
  4821. begin
  4822. If (Fsnippet=AValue) then exit;
  4823. Fsnippet:=AValue;
  4824. MarkPropertyChanged(AIndex);
  4825. end;
  4826. Procedure TGeolayerdataTypecommon.SetsnippetUrl(AIndex : Integer; const AValue : String);
  4827. begin
  4828. If (FsnippetUrl=AValue) then exit;
  4829. FsnippetUrl:=AValue;
  4830. MarkPropertyChanged(AIndex);
  4831. end;
  4832. Procedure TGeolayerdataTypecommon.Settitle(AIndex : Integer; const AValue : String);
  4833. begin
  4834. If (Ftitle=AValue) then exit;
  4835. Ftitle:=AValue;
  4836. MarkPropertyChanged(AIndex);
  4837. end;
  4838. { --------------------------------------------------------------------
  4839. TGeolayerdataTypegeoTypeboundaryItemItem
  4840. --------------------------------------------------------------------}
  4841. Procedure TGeolayerdataTypegeoTypeboundaryItemItem.Setlatitude(AIndex : Integer; const AValue : integer);
  4842. begin
  4843. If (Flatitude=AValue) then exit;
  4844. Flatitude:=AValue;
  4845. MarkPropertyChanged(AIndex);
  4846. end;
  4847. Procedure TGeolayerdataTypegeoTypeboundaryItemItem.Setlongitude(AIndex : Integer; const AValue : integer);
  4848. begin
  4849. If (Flongitude=AValue) then exit;
  4850. Flongitude:=AValue;
  4851. MarkPropertyChanged(AIndex);
  4852. end;
  4853. { --------------------------------------------------------------------
  4854. TGeolayerdataTypegeoTypeviewportTypehi
  4855. --------------------------------------------------------------------}
  4856. Procedure TGeolayerdataTypegeoTypeviewportTypehi.Setlatitude(AIndex : Integer; const AValue : double);
  4857. begin
  4858. If (Flatitude=AValue) then exit;
  4859. Flatitude:=AValue;
  4860. MarkPropertyChanged(AIndex);
  4861. end;
  4862. Procedure TGeolayerdataTypegeoTypeviewportTypehi.Setlongitude(AIndex : Integer; const AValue : double);
  4863. begin
  4864. If (Flongitude=AValue) then exit;
  4865. Flongitude:=AValue;
  4866. MarkPropertyChanged(AIndex);
  4867. end;
  4868. { --------------------------------------------------------------------
  4869. TGeolayerdataTypegeoTypeviewportTypelo
  4870. --------------------------------------------------------------------}
  4871. Procedure TGeolayerdataTypegeoTypeviewportTypelo.Setlatitude(AIndex : Integer; const AValue : double);
  4872. begin
  4873. If (Flatitude=AValue) then exit;
  4874. Flatitude:=AValue;
  4875. MarkPropertyChanged(AIndex);
  4876. end;
  4877. Procedure TGeolayerdataTypegeoTypeviewportTypelo.Setlongitude(AIndex : Integer; const AValue : double);
  4878. begin
  4879. If (Flongitude=AValue) then exit;
  4880. Flongitude:=AValue;
  4881. MarkPropertyChanged(AIndex);
  4882. end;
  4883. { --------------------------------------------------------------------
  4884. TGeolayerdataTypegeoTypeviewport
  4885. --------------------------------------------------------------------}
  4886. Procedure TGeolayerdataTypegeoTypeviewport.Sethi(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeviewportTypehi);
  4887. begin
  4888. If (Fhi=AValue) then exit;
  4889. Fhi:=AValue;
  4890. MarkPropertyChanged(AIndex);
  4891. end;
  4892. Procedure TGeolayerdataTypegeoTypeviewport.Setlo(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeviewportTypelo);
  4893. begin
  4894. If (Flo=AValue) then exit;
  4895. Flo:=AValue;
  4896. MarkPropertyChanged(AIndex);
  4897. end;
  4898. { --------------------------------------------------------------------
  4899. TGeolayerdataTypegeo
  4900. --------------------------------------------------------------------}
  4901. Procedure TGeolayerdataTypegeo.Setboundary(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeboundaryArray);
  4902. begin
  4903. If (Fboundary=AValue) then exit;
  4904. Fboundary:=AValue;
  4905. MarkPropertyChanged(AIndex);
  4906. end;
  4907. Procedure TGeolayerdataTypegeo.SetcachePolicy(AIndex : Integer; const AValue : String);
  4908. begin
  4909. If (FcachePolicy=AValue) then exit;
  4910. FcachePolicy:=AValue;
  4911. MarkPropertyChanged(AIndex);
  4912. end;
  4913. Procedure TGeolayerdataTypegeo.SetcountryCode(AIndex : Integer; const AValue : String);
  4914. begin
  4915. If (FcountryCode=AValue) then exit;
  4916. FcountryCode:=AValue;
  4917. MarkPropertyChanged(AIndex);
  4918. end;
  4919. Procedure TGeolayerdataTypegeo.Setlatitude(AIndex : Integer; const AValue : double);
  4920. begin
  4921. If (Flatitude=AValue) then exit;
  4922. Flatitude:=AValue;
  4923. MarkPropertyChanged(AIndex);
  4924. end;
  4925. Procedure TGeolayerdataTypegeo.Setlongitude(AIndex : Integer; const AValue : double);
  4926. begin
  4927. If (Flongitude=AValue) then exit;
  4928. Flongitude:=AValue;
  4929. MarkPropertyChanged(AIndex);
  4930. end;
  4931. Procedure TGeolayerdataTypegeo.SetmapType(AIndex : Integer; const AValue : String);
  4932. begin
  4933. If (FmapType=AValue) then exit;
  4934. FmapType:=AValue;
  4935. MarkPropertyChanged(AIndex);
  4936. end;
  4937. Procedure TGeolayerdataTypegeo.Setviewport(AIndex : Integer; const AValue : TGeolayerdataTypegeoTypeviewport);
  4938. begin
  4939. If (Fviewport=AValue) then exit;
  4940. Fviewport:=AValue;
  4941. MarkPropertyChanged(AIndex);
  4942. end;
  4943. Procedure TGeolayerdataTypegeo.Setzoom(AIndex : Integer; const AValue : integer);
  4944. begin
  4945. If (Fzoom=AValue) then exit;
  4946. Fzoom:=AValue;
  4947. MarkPropertyChanged(AIndex);
  4948. end;
  4949. //2.6.4. bug workaround
  4950. {$IFDEF VER2_6}
  4951. Procedure TGeolayerdataTypegeo.SetArrayLength(Const AName : String; ALength : Longint);
  4952. begin
  4953. Case AName of
  4954. 'boundary' : SetLength(Fboundary,ALength);
  4955. else
  4956. Inherited SetArrayLength(AName,ALength);
  4957. end;
  4958. end;
  4959. {$ENDIF VER2_6}
  4960. { --------------------------------------------------------------------
  4961. TGeolayerdata
  4962. --------------------------------------------------------------------}
  4963. Procedure TGeolayerdata.Setcommon(AIndex : Integer; const AValue : TGeolayerdataTypecommon);
  4964. begin
  4965. If (Fcommon=AValue) then exit;
  4966. Fcommon:=AValue;
  4967. MarkPropertyChanged(AIndex);
  4968. end;
  4969. Procedure TGeolayerdata.Setgeo(AIndex : Integer; const AValue : TGeolayerdataTypegeo);
  4970. begin
  4971. If (Fgeo=AValue) then exit;
  4972. Fgeo:=AValue;
  4973. MarkPropertyChanged(AIndex);
  4974. end;
  4975. Procedure TGeolayerdata.Setkind(AIndex : Integer; const AValue : String);
  4976. begin
  4977. If (Fkind=AValue) then exit;
  4978. Fkind:=AValue;
  4979. MarkPropertyChanged(AIndex);
  4980. end;
  4981. { --------------------------------------------------------------------
  4982. TLayersummaries
  4983. --------------------------------------------------------------------}
  4984. Procedure TLayersummaries.Setitems(AIndex : Integer; const AValue : TLayersummariesTypeitemsArray);
  4985. begin
  4986. If (Fitems=AValue) then exit;
  4987. Fitems:=AValue;
  4988. MarkPropertyChanged(AIndex);
  4989. end;
  4990. Procedure TLayersummaries.Setkind(AIndex : Integer; const AValue : String);
  4991. begin
  4992. If (Fkind=AValue) then exit;
  4993. Fkind:=AValue;
  4994. MarkPropertyChanged(AIndex);
  4995. end;
  4996. Procedure TLayersummaries.SettotalItems(AIndex : Integer; const AValue : integer);
  4997. begin
  4998. If (FtotalItems=AValue) then exit;
  4999. FtotalItems:=AValue;
  5000. MarkPropertyChanged(AIndex);
  5001. end;
  5002. //2.6.4. bug workaround
  5003. {$IFDEF VER2_6}
  5004. Procedure TLayersummaries.SetArrayLength(Const AName : String; ALength : Longint);
  5005. begin
  5006. Case AName of
  5007. 'items' : SetLength(Fitems,ALength);
  5008. else
  5009. Inherited SetArrayLength(AName,ALength);
  5010. end;
  5011. end;
  5012. {$ENDIF VER2_6}
  5013. { --------------------------------------------------------------------
  5014. TLayersummary
  5015. --------------------------------------------------------------------}
  5016. Procedure TLayersummary.SetannotationCount(AIndex : Integer; const AValue : integer);
  5017. begin
  5018. If (FannotationCount=AValue) then exit;
  5019. FannotationCount:=AValue;
  5020. MarkPropertyChanged(AIndex);
  5021. end;
  5022. Procedure TLayersummary.SetannotationTypes(AIndex : Integer; const AValue : TStringArray);
  5023. begin
  5024. If (FannotationTypes=AValue) then exit;
  5025. FannotationTypes:=AValue;
  5026. MarkPropertyChanged(AIndex);
  5027. end;
  5028. Procedure TLayersummary.SetannotationsDataLink(AIndex : Integer; const AValue : String);
  5029. begin
  5030. If (FannotationsDataLink=AValue) then exit;
  5031. FannotationsDataLink:=AValue;
  5032. MarkPropertyChanged(AIndex);
  5033. end;
  5034. Procedure TLayersummary.SetannotationsLink(AIndex : Integer; const AValue : String);
  5035. begin
  5036. If (FannotationsLink=AValue) then exit;
  5037. FannotationsLink:=AValue;
  5038. MarkPropertyChanged(AIndex);
  5039. end;
  5040. Procedure TLayersummary.SetcontentVersion(AIndex : Integer; const AValue : String);
  5041. begin
  5042. If (FcontentVersion=AValue) then exit;
  5043. FcontentVersion:=AValue;
  5044. MarkPropertyChanged(AIndex);
  5045. end;
  5046. Procedure TLayersummary.SetdataCount(AIndex : Integer; const AValue : integer);
  5047. begin
  5048. If (FdataCount=AValue) then exit;
  5049. FdataCount:=AValue;
  5050. MarkPropertyChanged(AIndex);
  5051. end;
  5052. Procedure TLayersummary.Setid(AIndex : Integer; const AValue : String);
  5053. begin
  5054. If (Fid=AValue) then exit;
  5055. Fid:=AValue;
  5056. MarkPropertyChanged(AIndex);
  5057. end;
  5058. Procedure TLayersummary.Setkind(AIndex : Integer; const AValue : String);
  5059. begin
  5060. If (Fkind=AValue) then exit;
  5061. Fkind:=AValue;
  5062. MarkPropertyChanged(AIndex);
  5063. end;
  5064. Procedure TLayersummary.SetlayerId(AIndex : Integer; const AValue : String);
  5065. begin
  5066. If (FlayerId=AValue) then exit;
  5067. FlayerId:=AValue;
  5068. MarkPropertyChanged(AIndex);
  5069. end;
  5070. Procedure TLayersummary.SetselfLink(AIndex : Integer; const AValue : String);
  5071. begin
  5072. If (FselfLink=AValue) then exit;
  5073. FselfLink:=AValue;
  5074. MarkPropertyChanged(AIndex);
  5075. end;
  5076. Procedure TLayersummary.Setupdated(AIndex : Integer; const AValue : TDatetime);
  5077. begin
  5078. If (Fupdated=AValue) then exit;
  5079. Fupdated:=AValue;
  5080. MarkPropertyChanged(AIndex);
  5081. end;
  5082. Procedure TLayersummary.SetvolumeAnnotationsVersion(AIndex : Integer; const AValue : String);
  5083. begin
  5084. If (FvolumeAnnotationsVersion=AValue) then exit;
  5085. FvolumeAnnotationsVersion:=AValue;
  5086. MarkPropertyChanged(AIndex);
  5087. end;
  5088. Procedure TLayersummary.SetvolumeId(AIndex : Integer; const AValue : String);
  5089. begin
  5090. If (FvolumeId=AValue) then exit;
  5091. FvolumeId:=AValue;
  5092. MarkPropertyChanged(AIndex);
  5093. end;
  5094. //2.6.4. bug workaround
  5095. {$IFDEF VER2_6}
  5096. Procedure TLayersummary.SetArrayLength(Const AName : String; ALength : Longint);
  5097. begin
  5098. Case AName of
  5099. 'annotationtypes' : SetLength(FannotationTypes,ALength);
  5100. else
  5101. Inherited SetArrayLength(AName,ALength);
  5102. end;
  5103. end;
  5104. {$ENDIF VER2_6}
  5105. { --------------------------------------------------------------------
  5106. TMetadataTypeitemsItem
  5107. --------------------------------------------------------------------}
  5108. Procedure TMetadataTypeitemsItem.Setdownload_url(AIndex : Integer; const AValue : String);
  5109. begin
  5110. If (Fdownload_url=AValue) then exit;
  5111. Fdownload_url:=AValue;
  5112. MarkPropertyChanged(AIndex);
  5113. end;
  5114. Procedure TMetadataTypeitemsItem.Setencrypted_key(AIndex : Integer; const AValue : String);
  5115. begin
  5116. If (Fencrypted_key=AValue) then exit;
  5117. Fencrypted_key:=AValue;
  5118. MarkPropertyChanged(AIndex);
  5119. end;
  5120. Procedure TMetadataTypeitemsItem.Setlanguage(AIndex : Integer; const AValue : String);
  5121. begin
  5122. If (Flanguage=AValue) then exit;
  5123. Flanguage:=AValue;
  5124. MarkPropertyChanged(AIndex);
  5125. end;
  5126. Procedure TMetadataTypeitemsItem.Setsize(AIndex : Integer; const AValue : String);
  5127. begin
  5128. If (Fsize=AValue) then exit;
  5129. Fsize:=AValue;
  5130. MarkPropertyChanged(AIndex);
  5131. end;
  5132. Procedure TMetadataTypeitemsItem.Setversion(AIndex : Integer; const AValue : String);
  5133. begin
  5134. If (Fversion=AValue) then exit;
  5135. Fversion:=AValue;
  5136. MarkPropertyChanged(AIndex);
  5137. end;
  5138. { --------------------------------------------------------------------
  5139. TMetadata
  5140. --------------------------------------------------------------------}
  5141. Procedure TMetadata.Setitems(AIndex : Integer; const AValue : TMetadataTypeitemsArray);
  5142. begin
  5143. If (Fitems=AValue) then exit;
  5144. Fitems:=AValue;
  5145. MarkPropertyChanged(AIndex);
  5146. end;
  5147. Procedure TMetadata.Setkind(AIndex : Integer; const AValue : String);
  5148. begin
  5149. If (Fkind=AValue) then exit;
  5150. Fkind:=AValue;
  5151. MarkPropertyChanged(AIndex);
  5152. end;
  5153. //2.6.4. bug workaround
  5154. {$IFDEF VER2_6}
  5155. Procedure TMetadata.SetArrayLength(Const AName : String; ALength : Longint);
  5156. begin
  5157. Case AName of
  5158. 'items' : SetLength(Fitems,ALength);
  5159. else
  5160. Inherited SetArrayLength(AName,ALength);
  5161. end;
  5162. end;
  5163. {$ENDIF VER2_6}
  5164. { --------------------------------------------------------------------
  5165. TNotification
  5166. --------------------------------------------------------------------}
  5167. Procedure TNotification.Setbody(AIndex : Integer; const AValue : String);
  5168. begin
  5169. If (Fbody=AValue) then exit;
  5170. Fbody:=AValue;
  5171. MarkPropertyChanged(AIndex);
  5172. end;
  5173. Procedure TNotification.SetcrmExperimentIds(AIndex : Integer; const AValue : TStringArray);
  5174. begin
  5175. If (FcrmExperimentIds=AValue) then exit;
  5176. FcrmExperimentIds:=AValue;
  5177. MarkPropertyChanged(AIndex);
  5178. end;
  5179. Procedure TNotification.Setdoc_id(AIndex : Integer; const AValue : String);
  5180. begin
  5181. If (Fdoc_id=AValue) then exit;
  5182. Fdoc_id:=AValue;
  5183. MarkPropertyChanged(AIndex);
  5184. end;
  5185. Procedure TNotification.Setdoc_type(AIndex : Integer; const AValue : String);
  5186. begin
  5187. If (Fdoc_type=AValue) then exit;
  5188. Fdoc_type:=AValue;
  5189. MarkPropertyChanged(AIndex);
  5190. end;
  5191. Procedure TNotification.Setdont_show_notification(AIndex : Integer; const AValue : boolean);
  5192. begin
  5193. If (Fdont_show_notification=AValue) then exit;
  5194. Fdont_show_notification:=AValue;
  5195. MarkPropertyChanged(AIndex);
  5196. end;
  5197. Procedure TNotification.SeticonUrl(AIndex : Integer; const AValue : String);
  5198. begin
  5199. If (FiconUrl=AValue) then exit;
  5200. FiconUrl:=AValue;
  5201. MarkPropertyChanged(AIndex);
  5202. end;
  5203. Procedure TNotification.Setkind(AIndex : Integer; const AValue : String);
  5204. begin
  5205. If (Fkind=AValue) then exit;
  5206. Fkind:=AValue;
  5207. MarkPropertyChanged(AIndex);
  5208. end;
  5209. Procedure TNotification.Setnotification_type(AIndex : Integer; const AValue : String);
  5210. begin
  5211. If (Fnotification_type=AValue) then exit;
  5212. Fnotification_type:=AValue;
  5213. MarkPropertyChanged(AIndex);
  5214. end;
  5215. Procedure TNotification.Setpcampaign_id(AIndex : Integer; const AValue : String);
  5216. begin
  5217. If (Fpcampaign_id=AValue) then exit;
  5218. Fpcampaign_id:=AValue;
  5219. MarkPropertyChanged(AIndex);
  5220. end;
  5221. Procedure TNotification.Setreason(AIndex : Integer; const AValue : String);
  5222. begin
  5223. If (Freason=AValue) then exit;
  5224. Freason:=AValue;
  5225. MarkPropertyChanged(AIndex);
  5226. end;
  5227. Procedure TNotification.Setshow_notification_settings_action(AIndex : Integer; const AValue : boolean);
  5228. begin
  5229. If (Fshow_notification_settings_action=AValue) then exit;
  5230. Fshow_notification_settings_action:=AValue;
  5231. MarkPropertyChanged(AIndex);
  5232. end;
  5233. Procedure TNotification.SettargetUrl(AIndex : Integer; const AValue : String);
  5234. begin
  5235. If (FtargetUrl=AValue) then exit;
  5236. FtargetUrl:=AValue;
  5237. MarkPropertyChanged(AIndex);
  5238. end;
  5239. Procedure TNotification.Settitle(AIndex : Integer; const AValue : String);
  5240. begin
  5241. If (Ftitle=AValue) then exit;
  5242. Ftitle:=AValue;
  5243. MarkPropertyChanged(AIndex);
  5244. end;
  5245. //2.6.4. bug workaround
  5246. {$IFDEF VER2_6}
  5247. Procedure TNotification.SetArrayLength(Const AName : String; ALength : Longint);
  5248. begin
  5249. Case AName of
  5250. 'crmexperimentids' : SetLength(FcrmExperimentIds,ALength);
  5251. else
  5252. Inherited SetArrayLength(AName,ALength);
  5253. end;
  5254. end;
  5255. {$ENDIF VER2_6}
  5256. { --------------------------------------------------------------------
  5257. TOffersTypeitemsItemTypeitemsItem
  5258. --------------------------------------------------------------------}
  5259. Procedure TOffersTypeitemsItemTypeitemsItem.Setauthor(AIndex : Integer; const AValue : String);
  5260. begin
  5261. If (Fauthor=AValue) then exit;
  5262. Fauthor:=AValue;
  5263. MarkPropertyChanged(AIndex);
  5264. end;
  5265. Procedure TOffersTypeitemsItemTypeitemsItem.SetcanonicalVolumeLink(AIndex : Integer; const AValue : String);
  5266. begin
  5267. If (FcanonicalVolumeLink=AValue) then exit;
  5268. FcanonicalVolumeLink:=AValue;
  5269. MarkPropertyChanged(AIndex);
  5270. end;
  5271. Procedure TOffersTypeitemsItemTypeitemsItem.SetcoverUrl(AIndex : Integer; const AValue : String);
  5272. begin
  5273. If (FcoverUrl=AValue) then exit;
  5274. FcoverUrl:=AValue;
  5275. MarkPropertyChanged(AIndex);
  5276. end;
  5277. Procedure TOffersTypeitemsItemTypeitemsItem.Setdescription(AIndex : Integer; const AValue : String);
  5278. begin
  5279. If (Fdescription=AValue) then exit;
  5280. Fdescription:=AValue;
  5281. MarkPropertyChanged(AIndex);
  5282. end;
  5283. Procedure TOffersTypeitemsItemTypeitemsItem.Settitle(AIndex : Integer; const AValue : String);
  5284. begin
  5285. If (Ftitle=AValue) then exit;
  5286. Ftitle:=AValue;
  5287. MarkPropertyChanged(AIndex);
  5288. end;
  5289. Procedure TOffersTypeitemsItemTypeitemsItem.SetvolumeId(AIndex : Integer; const AValue : String);
  5290. begin
  5291. If (FvolumeId=AValue) then exit;
  5292. FvolumeId:=AValue;
  5293. MarkPropertyChanged(AIndex);
  5294. end;
  5295. { --------------------------------------------------------------------
  5296. TOffersTypeitemsItem
  5297. --------------------------------------------------------------------}
  5298. Procedure TOffersTypeitemsItem.SetartUrl(AIndex : Integer; const AValue : String);
  5299. begin
  5300. If (FartUrl=AValue) then exit;
  5301. FartUrl:=AValue;
  5302. MarkPropertyChanged(AIndex);
  5303. end;
  5304. Procedure TOffersTypeitemsItem.SetgservicesKey(AIndex : Integer; const AValue : String);
  5305. begin
  5306. If (FgservicesKey=AValue) then exit;
  5307. FgservicesKey:=AValue;
  5308. MarkPropertyChanged(AIndex);
  5309. end;
  5310. Procedure TOffersTypeitemsItem.Setid(AIndex : Integer; const AValue : String);
  5311. begin
  5312. If (Fid=AValue) then exit;
  5313. Fid:=AValue;
  5314. MarkPropertyChanged(AIndex);
  5315. end;
  5316. Procedure TOffersTypeitemsItem.Setitems(AIndex : Integer; const AValue : TOffersTypeitemsItemTypeitemsArray);
  5317. begin
  5318. If (Fitems=AValue) then exit;
  5319. Fitems:=AValue;
  5320. MarkPropertyChanged(AIndex);
  5321. end;
  5322. //2.6.4. bug workaround
  5323. {$IFDEF VER2_6}
  5324. Procedure TOffersTypeitemsItem.SetArrayLength(Const AName : String; ALength : Longint);
  5325. begin
  5326. Case AName of
  5327. 'items' : SetLength(Fitems,ALength);
  5328. else
  5329. Inherited SetArrayLength(AName,ALength);
  5330. end;
  5331. end;
  5332. {$ENDIF VER2_6}
  5333. { --------------------------------------------------------------------
  5334. TOffers
  5335. --------------------------------------------------------------------}
  5336. Procedure TOffers.Setitems(AIndex : Integer; const AValue : TOffersTypeitemsArray);
  5337. begin
  5338. If (Fitems=AValue) then exit;
  5339. Fitems:=AValue;
  5340. MarkPropertyChanged(AIndex);
  5341. end;
  5342. Procedure TOffers.Setkind(AIndex : Integer; const AValue : String);
  5343. begin
  5344. If (Fkind=AValue) then exit;
  5345. Fkind:=AValue;
  5346. MarkPropertyChanged(AIndex);
  5347. end;
  5348. //2.6.4. bug workaround
  5349. {$IFDEF VER2_6}
  5350. Procedure TOffers.SetArrayLength(Const AName : String; ALength : Longint);
  5351. begin
  5352. Case AName of
  5353. 'items' : SetLength(Fitems,ALength);
  5354. else
  5355. Inherited SetArrayLength(AName,ALength);
  5356. end;
  5357. end;
  5358. {$ENDIF VER2_6}
  5359. { --------------------------------------------------------------------
  5360. TReadingPosition
  5361. --------------------------------------------------------------------}
  5362. Procedure TReadingPosition.SetepubCfiPosition(AIndex : Integer; const AValue : String);
  5363. begin
  5364. If (FepubCfiPosition=AValue) then exit;
  5365. FepubCfiPosition:=AValue;
  5366. MarkPropertyChanged(AIndex);
  5367. end;
  5368. Procedure TReadingPosition.SetgbImagePosition(AIndex : Integer; const AValue : String);
  5369. begin
  5370. If (FgbImagePosition=AValue) then exit;
  5371. FgbImagePosition:=AValue;
  5372. MarkPropertyChanged(AIndex);
  5373. end;
  5374. Procedure TReadingPosition.SetgbTextPosition(AIndex : Integer; const AValue : String);
  5375. begin
  5376. If (FgbTextPosition=AValue) then exit;
  5377. FgbTextPosition:=AValue;
  5378. MarkPropertyChanged(AIndex);
  5379. end;
  5380. Procedure TReadingPosition.Setkind(AIndex : Integer; const AValue : String);
  5381. begin
  5382. If (Fkind=AValue) then exit;
  5383. Fkind:=AValue;
  5384. MarkPropertyChanged(AIndex);
  5385. end;
  5386. Procedure TReadingPosition.SetpdfPosition(AIndex : Integer; const AValue : String);
  5387. begin
  5388. If (FpdfPosition=AValue) then exit;
  5389. FpdfPosition:=AValue;
  5390. MarkPropertyChanged(AIndex);
  5391. end;
  5392. Procedure TReadingPosition.Setupdated(AIndex : Integer; const AValue : TDatetime);
  5393. begin
  5394. If (Fupdated=AValue) then exit;
  5395. Fupdated:=AValue;
  5396. MarkPropertyChanged(AIndex);
  5397. end;
  5398. Procedure TReadingPosition.SetvolumeId(AIndex : Integer; const AValue : String);
  5399. begin
  5400. If (FvolumeId=AValue) then exit;
  5401. FvolumeId:=AValue;
  5402. MarkPropertyChanged(AIndex);
  5403. end;
  5404. { --------------------------------------------------------------------
  5405. TRequestAccess
  5406. --------------------------------------------------------------------}
  5407. Procedure TRequestAccess.SetconcurrentAccess(AIndex : Integer; const AValue : TConcurrentAccessRestriction);
  5408. begin
  5409. If (FconcurrentAccess=AValue) then exit;
  5410. FconcurrentAccess:=AValue;
  5411. MarkPropertyChanged(AIndex);
  5412. end;
  5413. Procedure TRequestAccess.SetdownloadAccess(AIndex : Integer; const AValue : TDownloadAccessRestriction);
  5414. begin
  5415. If (FdownloadAccess=AValue) then exit;
  5416. FdownloadAccess:=AValue;
  5417. MarkPropertyChanged(AIndex);
  5418. end;
  5419. Procedure TRequestAccess.Setkind(AIndex : Integer; const AValue : String);
  5420. begin
  5421. If (Fkind=AValue) then exit;
  5422. Fkind:=AValue;
  5423. MarkPropertyChanged(AIndex);
  5424. end;
  5425. { --------------------------------------------------------------------
  5426. TReviewTypeauthor
  5427. --------------------------------------------------------------------}
  5428. Procedure TReviewTypeauthor.SetdisplayName(AIndex : Integer; const AValue : String);
  5429. begin
  5430. If (FdisplayName=AValue) then exit;
  5431. FdisplayName:=AValue;
  5432. MarkPropertyChanged(AIndex);
  5433. end;
  5434. { --------------------------------------------------------------------
  5435. TReviewTypesource
  5436. --------------------------------------------------------------------}
  5437. Procedure TReviewTypesource.Setdescription(AIndex : Integer; const AValue : String);
  5438. begin
  5439. If (Fdescription=AValue) then exit;
  5440. Fdescription:=AValue;
  5441. MarkPropertyChanged(AIndex);
  5442. end;
  5443. Procedure TReviewTypesource.SetextraDescription(AIndex : Integer; const AValue : String);
  5444. begin
  5445. If (FextraDescription=AValue) then exit;
  5446. FextraDescription:=AValue;
  5447. MarkPropertyChanged(AIndex);
  5448. end;
  5449. Procedure TReviewTypesource.Seturl(AIndex : Integer; const AValue : String);
  5450. begin
  5451. If (Furl=AValue) then exit;
  5452. Furl:=AValue;
  5453. MarkPropertyChanged(AIndex);
  5454. end;
  5455. { --------------------------------------------------------------------
  5456. TReview
  5457. --------------------------------------------------------------------}
  5458. Procedure TReview.Setauthor(AIndex : Integer; const AValue : TReviewTypeauthor);
  5459. begin
  5460. If (Fauthor=AValue) then exit;
  5461. Fauthor:=AValue;
  5462. MarkPropertyChanged(AIndex);
  5463. end;
  5464. Procedure TReview.Setcontent(AIndex : Integer; const AValue : String);
  5465. begin
  5466. If (Fcontent=AValue) then exit;
  5467. Fcontent:=AValue;
  5468. MarkPropertyChanged(AIndex);
  5469. end;
  5470. Procedure TReview.Setdate(AIndex : Integer; const AValue : String);
  5471. begin
  5472. If (Fdate=AValue) then exit;
  5473. Fdate:=AValue;
  5474. MarkPropertyChanged(AIndex);
  5475. end;
  5476. Procedure TReview.SetfullTextUrl(AIndex : Integer; const AValue : String);
  5477. begin
  5478. If (FfullTextUrl=AValue) then exit;
  5479. FfullTextUrl:=AValue;
  5480. MarkPropertyChanged(AIndex);
  5481. end;
  5482. Procedure TReview.Setkind(AIndex : Integer; const AValue : String);
  5483. begin
  5484. If (Fkind=AValue) then exit;
  5485. Fkind:=AValue;
  5486. MarkPropertyChanged(AIndex);
  5487. end;
  5488. Procedure TReview.Setrating(AIndex : Integer; const AValue : String);
  5489. begin
  5490. If (Frating=AValue) then exit;
  5491. Frating:=AValue;
  5492. MarkPropertyChanged(AIndex);
  5493. end;
  5494. Procedure TReview.Setsource(AIndex : Integer; const AValue : TReviewTypesource);
  5495. begin
  5496. If (Fsource=AValue) then exit;
  5497. Fsource:=AValue;
  5498. MarkPropertyChanged(AIndex);
  5499. end;
  5500. Procedure TReview.Settitle(AIndex : Integer; const AValue : String);
  5501. begin
  5502. If (Ftitle=AValue) then exit;
  5503. Ftitle:=AValue;
  5504. MarkPropertyChanged(AIndex);
  5505. end;
  5506. Procedure TReview.Set_type(AIndex : Integer; const AValue : String);
  5507. begin
  5508. If (F_type=AValue) then exit;
  5509. F_type:=AValue;
  5510. MarkPropertyChanged(AIndex);
  5511. end;
  5512. Procedure TReview.SetvolumeId(AIndex : Integer; const AValue : String);
  5513. begin
  5514. If (FvolumeId=AValue) then exit;
  5515. FvolumeId:=AValue;
  5516. MarkPropertyChanged(AIndex);
  5517. end;
  5518. Class Function TReview.ExportPropertyName(Const AName : String) :String;
  5519. begin
  5520. Case AName of
  5521. '_type' : Result:='type';
  5522. else
  5523. Result:=Inherited ExportPropertyName(AName);
  5524. end;
  5525. end;
  5526. { --------------------------------------------------------------------
  5527. TSeriesTypeseriesItem
  5528. --------------------------------------------------------------------}
  5529. Procedure TSeriesTypeseriesItem.SetbannerImageUrl(AIndex : Integer; const AValue : String);
  5530. begin
  5531. If (FbannerImageUrl=AValue) then exit;
  5532. FbannerImageUrl:=AValue;
  5533. MarkPropertyChanged(AIndex);
  5534. end;
  5535. Procedure TSeriesTypeseriesItem.SetimageUrl(AIndex : Integer; const AValue : String);
  5536. begin
  5537. If (FimageUrl=AValue) then exit;
  5538. FimageUrl:=AValue;
  5539. MarkPropertyChanged(AIndex);
  5540. end;
  5541. Procedure TSeriesTypeseriesItem.SetseriesId(AIndex : Integer; const AValue : String);
  5542. begin
  5543. If (FseriesId=AValue) then exit;
  5544. FseriesId:=AValue;
  5545. MarkPropertyChanged(AIndex);
  5546. end;
  5547. Procedure TSeriesTypeseriesItem.SetseriesType(AIndex : Integer; const AValue : String);
  5548. begin
  5549. If (FseriesType=AValue) then exit;
  5550. FseriesType:=AValue;
  5551. MarkPropertyChanged(AIndex);
  5552. end;
  5553. Procedure TSeriesTypeseriesItem.Settitle(AIndex : Integer; const AValue : String);
  5554. begin
  5555. If (Ftitle=AValue) then exit;
  5556. Ftitle:=AValue;
  5557. MarkPropertyChanged(AIndex);
  5558. end;
  5559. { --------------------------------------------------------------------
  5560. TSeries
  5561. --------------------------------------------------------------------}
  5562. Procedure TSeries.Setkind(AIndex : Integer; const AValue : String);
  5563. begin
  5564. If (Fkind=AValue) then exit;
  5565. Fkind:=AValue;
  5566. MarkPropertyChanged(AIndex);
  5567. end;
  5568. Procedure TSeries.Setseries(AIndex : Integer; const AValue : TSeriesTypeseriesArray);
  5569. begin
  5570. If (Fseries=AValue) then exit;
  5571. Fseries:=AValue;
  5572. MarkPropertyChanged(AIndex);
  5573. end;
  5574. //2.6.4. bug workaround
  5575. {$IFDEF VER2_6}
  5576. Procedure TSeries.SetArrayLength(Const AName : String; ALength : Longint);
  5577. begin
  5578. Case AName of
  5579. 'series' : SetLength(Fseries,ALength);
  5580. else
  5581. Inherited SetArrayLength(AName,ALength);
  5582. end;
  5583. end;
  5584. {$ENDIF VER2_6}
  5585. { --------------------------------------------------------------------
  5586. TSeriesmembership
  5587. --------------------------------------------------------------------}
  5588. Procedure TSeriesmembership.Setkind(AIndex : Integer; const AValue : String);
  5589. begin
  5590. If (Fkind=AValue) then exit;
  5591. Fkind:=AValue;
  5592. MarkPropertyChanged(AIndex);
  5593. end;
  5594. Procedure TSeriesmembership.Setmember(AIndex : Integer; const AValue : TSeriesmembershipTypememberArray);
  5595. begin
  5596. If (Fmember=AValue) then exit;
  5597. Fmember:=AValue;
  5598. MarkPropertyChanged(AIndex);
  5599. end;
  5600. Procedure TSeriesmembership.SetnextPageToken(AIndex : Integer; const AValue : String);
  5601. begin
  5602. If (FnextPageToken=AValue) then exit;
  5603. FnextPageToken:=AValue;
  5604. MarkPropertyChanged(AIndex);
  5605. end;
  5606. //2.6.4. bug workaround
  5607. {$IFDEF VER2_6}
  5608. Procedure TSeriesmembership.SetArrayLength(Const AName : String; ALength : Longint);
  5609. begin
  5610. Case AName of
  5611. 'member' : SetLength(Fmember,ALength);
  5612. else
  5613. Inherited SetArrayLength(AName,ALength);
  5614. end;
  5615. end;
  5616. {$ENDIF VER2_6}
  5617. { --------------------------------------------------------------------
  5618. TUsersettingsTypenotesExport
  5619. --------------------------------------------------------------------}
  5620. Procedure TUsersettingsTypenotesExport.SetfolderName(AIndex : Integer; const AValue : String);
  5621. begin
  5622. If (FfolderName=AValue) then exit;
  5623. FfolderName:=AValue;
  5624. MarkPropertyChanged(AIndex);
  5625. end;
  5626. Procedure TUsersettingsTypenotesExport.SetisEnabled(AIndex : Integer; const AValue : boolean);
  5627. begin
  5628. If (FisEnabled=AValue) then exit;
  5629. FisEnabled:=AValue;
  5630. MarkPropertyChanged(AIndex);
  5631. end;
  5632. { --------------------------------------------------------------------
  5633. TUsersettingsTypenotificationTypemoreFromAuthors
  5634. --------------------------------------------------------------------}
  5635. Procedure TUsersettingsTypenotificationTypemoreFromAuthors.Setopted_state(AIndex : Integer; const AValue : String);
  5636. begin
  5637. If (Fopted_state=AValue) then exit;
  5638. Fopted_state:=AValue;
  5639. MarkPropertyChanged(AIndex);
  5640. end;
  5641. { --------------------------------------------------------------------
  5642. TUsersettingsTypenotification
  5643. --------------------------------------------------------------------}
  5644. Procedure TUsersettingsTypenotification.SetmoreFromAuthors(AIndex : Integer; const AValue : TUsersettingsTypenotificationTypemoreFromAuthors);
  5645. begin
  5646. If (FmoreFromAuthors=AValue) then exit;
  5647. FmoreFromAuthors:=AValue;
  5648. MarkPropertyChanged(AIndex);
  5649. end;
  5650. { --------------------------------------------------------------------
  5651. TUsersettings
  5652. --------------------------------------------------------------------}
  5653. Procedure TUsersettings.Setkind(AIndex : Integer; const AValue : String);
  5654. begin
  5655. If (Fkind=AValue) then exit;
  5656. Fkind:=AValue;
  5657. MarkPropertyChanged(AIndex);
  5658. end;
  5659. Procedure TUsersettings.SetnotesExport(AIndex : Integer; const AValue : TUsersettingsTypenotesExport);
  5660. begin
  5661. If (FnotesExport=AValue) then exit;
  5662. FnotesExport:=AValue;
  5663. MarkPropertyChanged(AIndex);
  5664. end;
  5665. Procedure TUsersettings.Setnotification(AIndex : Integer; const AValue : TUsersettingsTypenotification);
  5666. begin
  5667. If (Fnotification=AValue) then exit;
  5668. Fnotification:=AValue;
  5669. MarkPropertyChanged(AIndex);
  5670. end;
  5671. { --------------------------------------------------------------------
  5672. TVolumeTypeaccessInfoTypeepub
  5673. --------------------------------------------------------------------}
  5674. Procedure TVolumeTypeaccessInfoTypeepub.SetacsTokenLink(AIndex : Integer; const AValue : String);
  5675. begin
  5676. If (FacsTokenLink=AValue) then exit;
  5677. FacsTokenLink:=AValue;
  5678. MarkPropertyChanged(AIndex);
  5679. end;
  5680. Procedure TVolumeTypeaccessInfoTypeepub.SetdownloadLink(AIndex : Integer; const AValue : String);
  5681. begin
  5682. If (FdownloadLink=AValue) then exit;
  5683. FdownloadLink:=AValue;
  5684. MarkPropertyChanged(AIndex);
  5685. end;
  5686. Procedure TVolumeTypeaccessInfoTypeepub.SetisAvailable(AIndex : Integer; const AValue : boolean);
  5687. begin
  5688. If (FisAvailable=AValue) then exit;
  5689. FisAvailable:=AValue;
  5690. MarkPropertyChanged(AIndex);
  5691. end;
  5692. { --------------------------------------------------------------------
  5693. TVolumeTypeaccessInfoTypepdf
  5694. --------------------------------------------------------------------}
  5695. Procedure TVolumeTypeaccessInfoTypepdf.SetacsTokenLink(AIndex : Integer; const AValue : String);
  5696. begin
  5697. If (FacsTokenLink=AValue) then exit;
  5698. FacsTokenLink:=AValue;
  5699. MarkPropertyChanged(AIndex);
  5700. end;
  5701. Procedure TVolumeTypeaccessInfoTypepdf.SetdownloadLink(AIndex : Integer; const AValue : String);
  5702. begin
  5703. If (FdownloadLink=AValue) then exit;
  5704. FdownloadLink:=AValue;
  5705. MarkPropertyChanged(AIndex);
  5706. end;
  5707. Procedure TVolumeTypeaccessInfoTypepdf.SetisAvailable(AIndex : Integer; const AValue : boolean);
  5708. begin
  5709. If (FisAvailable=AValue) then exit;
  5710. FisAvailable:=AValue;
  5711. MarkPropertyChanged(AIndex);
  5712. end;
  5713. { --------------------------------------------------------------------
  5714. TVolumeTypeaccessInfo
  5715. --------------------------------------------------------------------}
  5716. Procedure TVolumeTypeaccessInfo.SetaccessViewStatus(AIndex : Integer; const AValue : String);
  5717. begin
  5718. If (FaccessViewStatus=AValue) then exit;
  5719. FaccessViewStatus:=AValue;
  5720. MarkPropertyChanged(AIndex);
  5721. end;
  5722. Procedure TVolumeTypeaccessInfo.Setcountry(AIndex : Integer; const AValue : String);
  5723. begin
  5724. If (Fcountry=AValue) then exit;
  5725. Fcountry:=AValue;
  5726. MarkPropertyChanged(AIndex);
  5727. end;
  5728. Procedure TVolumeTypeaccessInfo.SetdownloadAccess(AIndex : Integer; const AValue : TDownloadAccessRestriction);
  5729. begin
  5730. If (FdownloadAccess=AValue) then exit;
  5731. FdownloadAccess:=AValue;
  5732. MarkPropertyChanged(AIndex);
  5733. end;
  5734. Procedure TVolumeTypeaccessInfo.SetdriveImportedContentLink(AIndex : Integer; const AValue : String);
  5735. begin
  5736. If (FdriveImportedContentLink=AValue) then exit;
  5737. FdriveImportedContentLink:=AValue;
  5738. MarkPropertyChanged(AIndex);
  5739. end;
  5740. Procedure TVolumeTypeaccessInfo.Setembeddable(AIndex : Integer; const AValue : boolean);
  5741. begin
  5742. If (Fembeddable=AValue) then exit;
  5743. Fembeddable:=AValue;
  5744. MarkPropertyChanged(AIndex);
  5745. end;
  5746. Procedure TVolumeTypeaccessInfo.Setepub(AIndex : Integer; const AValue : TVolumeTypeaccessInfoTypeepub);
  5747. begin
  5748. If (Fepub=AValue) then exit;
  5749. Fepub:=AValue;
  5750. MarkPropertyChanged(AIndex);
  5751. end;
  5752. Procedure TVolumeTypeaccessInfo.SetexplicitOfflineLicenseManagement(AIndex : Integer; const AValue : boolean);
  5753. begin
  5754. If (FexplicitOfflineLicenseManagement=AValue) then exit;
  5755. FexplicitOfflineLicenseManagement:=AValue;
  5756. MarkPropertyChanged(AIndex);
  5757. end;
  5758. Procedure TVolumeTypeaccessInfo.Setpdf(AIndex : Integer; const AValue : TVolumeTypeaccessInfoTypepdf);
  5759. begin
  5760. If (Fpdf=AValue) then exit;
  5761. Fpdf:=AValue;
  5762. MarkPropertyChanged(AIndex);
  5763. end;
  5764. Procedure TVolumeTypeaccessInfo.SetpublicDomain(AIndex : Integer; const AValue : boolean);
  5765. begin
  5766. If (FpublicDomain=AValue) then exit;
  5767. FpublicDomain:=AValue;
  5768. MarkPropertyChanged(AIndex);
  5769. end;
  5770. Procedure TVolumeTypeaccessInfo.SetquoteSharingAllowed(AIndex : Integer; const AValue : boolean);
  5771. begin
  5772. If (FquoteSharingAllowed=AValue) then exit;
  5773. FquoteSharingAllowed:=AValue;
  5774. MarkPropertyChanged(AIndex);
  5775. end;
  5776. Procedure TVolumeTypeaccessInfo.SettextToSpeechPermission(AIndex : Integer; const AValue : String);
  5777. begin
  5778. If (FtextToSpeechPermission=AValue) then exit;
  5779. FtextToSpeechPermission:=AValue;
  5780. MarkPropertyChanged(AIndex);
  5781. end;
  5782. Procedure TVolumeTypeaccessInfo.SetviewOrderUrl(AIndex : Integer; const AValue : String);
  5783. begin
  5784. If (FviewOrderUrl=AValue) then exit;
  5785. FviewOrderUrl:=AValue;
  5786. MarkPropertyChanged(AIndex);
  5787. end;
  5788. Procedure TVolumeTypeaccessInfo.Setviewability(AIndex : Integer; const AValue : String);
  5789. begin
  5790. If (Fviewability=AValue) then exit;
  5791. Fviewability:=AValue;
  5792. MarkPropertyChanged(AIndex);
  5793. end;
  5794. Procedure TVolumeTypeaccessInfo.SetwebReaderLink(AIndex : Integer; const AValue : String);
  5795. begin
  5796. If (FwebReaderLink=AValue) then exit;
  5797. FwebReaderLink:=AValue;
  5798. MarkPropertyChanged(AIndex);
  5799. end;
  5800. { --------------------------------------------------------------------
  5801. TVolumeTypelayerInfoTypelayersItem
  5802. --------------------------------------------------------------------}
  5803. Procedure TVolumeTypelayerInfoTypelayersItem.SetlayerId(AIndex : Integer; const AValue : String);
  5804. begin
  5805. If (FlayerId=AValue) then exit;
  5806. FlayerId:=AValue;
  5807. MarkPropertyChanged(AIndex);
  5808. end;
  5809. Procedure TVolumeTypelayerInfoTypelayersItem.SetvolumeAnnotationsVersion(AIndex : Integer; const AValue : String);
  5810. begin
  5811. If (FvolumeAnnotationsVersion=AValue) then exit;
  5812. FvolumeAnnotationsVersion:=AValue;
  5813. MarkPropertyChanged(AIndex);
  5814. end;
  5815. { --------------------------------------------------------------------
  5816. TVolumeTypelayerInfo
  5817. --------------------------------------------------------------------}
  5818. Procedure TVolumeTypelayerInfo.Setlayers(AIndex : Integer; const AValue : TVolumeTypelayerInfoTypelayersArray);
  5819. begin
  5820. If (Flayers=AValue) then exit;
  5821. Flayers:=AValue;
  5822. MarkPropertyChanged(AIndex);
  5823. end;
  5824. //2.6.4. bug workaround
  5825. {$IFDEF VER2_6}
  5826. Procedure TVolumeTypelayerInfo.SetArrayLength(Const AName : String; ALength : Longint);
  5827. begin
  5828. Case AName of
  5829. 'layers' : SetLength(Flayers,ALength);
  5830. else
  5831. Inherited SetArrayLength(AName,ALength);
  5832. end;
  5833. end;
  5834. {$ENDIF VER2_6}
  5835. { --------------------------------------------------------------------
  5836. TVolumeTyperecommendedInfo
  5837. --------------------------------------------------------------------}
  5838. Procedure TVolumeTyperecommendedInfo.Setexplanation(AIndex : Integer; const AValue : String);
  5839. begin
  5840. If (Fexplanation=AValue) then exit;
  5841. Fexplanation:=AValue;
  5842. MarkPropertyChanged(AIndex);
  5843. end;
  5844. { --------------------------------------------------------------------
  5845. TVolumeTypesaleInfoTypelistPrice
  5846. --------------------------------------------------------------------}
  5847. Procedure TVolumeTypesaleInfoTypelistPrice.Setamount(AIndex : Integer; const AValue : double);
  5848. begin
  5849. If (Famount=AValue) then exit;
  5850. Famount:=AValue;
  5851. MarkPropertyChanged(AIndex);
  5852. end;
  5853. Procedure TVolumeTypesaleInfoTypelistPrice.SetcurrencyCode(AIndex : Integer; const AValue : String);
  5854. begin
  5855. If (FcurrencyCode=AValue) then exit;
  5856. FcurrencyCode:=AValue;
  5857. MarkPropertyChanged(AIndex);
  5858. end;
  5859. { --------------------------------------------------------------------
  5860. TVolumeTypesaleInfoTypeoffersItemTypelistPrice
  5861. --------------------------------------------------------------------}
  5862. Procedure TVolumeTypesaleInfoTypeoffersItemTypelistPrice.SetamountInMicros(AIndex : Integer; const AValue : double);
  5863. begin
  5864. If (FamountInMicros=AValue) then exit;
  5865. FamountInMicros:=AValue;
  5866. MarkPropertyChanged(AIndex);
  5867. end;
  5868. Procedure TVolumeTypesaleInfoTypeoffersItemTypelistPrice.SetcurrencyCode(AIndex : Integer; const AValue : String);
  5869. begin
  5870. If (FcurrencyCode=AValue) then exit;
  5871. FcurrencyCode:=AValue;
  5872. MarkPropertyChanged(AIndex);
  5873. end;
  5874. { --------------------------------------------------------------------
  5875. TVolumeTypesaleInfoTypeoffersItemTyperentalDuration
  5876. --------------------------------------------------------------------}
  5877. Procedure TVolumeTypesaleInfoTypeoffersItemTyperentalDuration.Setcount(AIndex : Integer; const AValue : double);
  5878. begin
  5879. If (Fcount=AValue) then exit;
  5880. Fcount:=AValue;
  5881. MarkPropertyChanged(AIndex);
  5882. end;
  5883. Procedure TVolumeTypesaleInfoTypeoffersItemTyperentalDuration.Set_unit(AIndex : Integer; const AValue : String);
  5884. begin
  5885. If (F_unit=AValue) then exit;
  5886. F_unit:=AValue;
  5887. MarkPropertyChanged(AIndex);
  5888. end;
  5889. Class Function TVolumeTypesaleInfoTypeoffersItemTyperentalDuration.ExportPropertyName(Const AName : String) :String;
  5890. begin
  5891. Case AName of
  5892. '_unit' : Result:='unit';
  5893. else
  5894. Result:=Inherited ExportPropertyName(AName);
  5895. end;
  5896. end;
  5897. { --------------------------------------------------------------------
  5898. TVolumeTypesaleInfoTypeoffersItemTyperetailPrice
  5899. --------------------------------------------------------------------}
  5900. Procedure TVolumeTypesaleInfoTypeoffersItemTyperetailPrice.SetamountInMicros(AIndex : Integer; const AValue : double);
  5901. begin
  5902. If (FamountInMicros=AValue) then exit;
  5903. FamountInMicros:=AValue;
  5904. MarkPropertyChanged(AIndex);
  5905. end;
  5906. Procedure TVolumeTypesaleInfoTypeoffersItemTyperetailPrice.SetcurrencyCode(AIndex : Integer; const AValue : String);
  5907. begin
  5908. If (FcurrencyCode=AValue) then exit;
  5909. FcurrencyCode:=AValue;
  5910. MarkPropertyChanged(AIndex);
  5911. end;
  5912. { --------------------------------------------------------------------
  5913. TVolumeTypesaleInfoTypeoffersItem
  5914. --------------------------------------------------------------------}
  5915. Procedure TVolumeTypesaleInfoTypeoffersItem.SetfinskyOfferType(AIndex : Integer; const AValue : integer);
  5916. begin
  5917. If (FfinskyOfferType=AValue) then exit;
  5918. FfinskyOfferType:=AValue;
  5919. MarkPropertyChanged(AIndex);
  5920. end;
  5921. Procedure TVolumeTypesaleInfoTypeoffersItem.SetlistPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersItemTypelistPrice);
  5922. begin
  5923. If (FlistPrice=AValue) then exit;
  5924. FlistPrice:=AValue;
  5925. MarkPropertyChanged(AIndex);
  5926. end;
  5927. Procedure TVolumeTypesaleInfoTypeoffersItem.SetrentalDuration(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersItemTyperentalDuration);
  5928. begin
  5929. If (FrentalDuration=AValue) then exit;
  5930. FrentalDuration:=AValue;
  5931. MarkPropertyChanged(AIndex);
  5932. end;
  5933. Procedure TVolumeTypesaleInfoTypeoffersItem.SetretailPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersItemTyperetailPrice);
  5934. begin
  5935. If (FretailPrice=AValue) then exit;
  5936. FretailPrice:=AValue;
  5937. MarkPropertyChanged(AIndex);
  5938. end;
  5939. { --------------------------------------------------------------------
  5940. TVolumeTypesaleInfoTyperetailPrice
  5941. --------------------------------------------------------------------}
  5942. Procedure TVolumeTypesaleInfoTyperetailPrice.Setamount(AIndex : Integer; const AValue : double);
  5943. begin
  5944. If (Famount=AValue) then exit;
  5945. Famount:=AValue;
  5946. MarkPropertyChanged(AIndex);
  5947. end;
  5948. Procedure TVolumeTypesaleInfoTyperetailPrice.SetcurrencyCode(AIndex : Integer; const AValue : String);
  5949. begin
  5950. If (FcurrencyCode=AValue) then exit;
  5951. FcurrencyCode:=AValue;
  5952. MarkPropertyChanged(AIndex);
  5953. end;
  5954. { --------------------------------------------------------------------
  5955. TVolumeTypesaleInfo
  5956. --------------------------------------------------------------------}
  5957. Procedure TVolumeTypesaleInfo.SetbuyLink(AIndex : Integer; const AValue : String);
  5958. begin
  5959. If (FbuyLink=AValue) then exit;
  5960. FbuyLink:=AValue;
  5961. MarkPropertyChanged(AIndex);
  5962. end;
  5963. Procedure TVolumeTypesaleInfo.Setcountry(AIndex : Integer; const AValue : String);
  5964. begin
  5965. If (Fcountry=AValue) then exit;
  5966. Fcountry:=AValue;
  5967. MarkPropertyChanged(AIndex);
  5968. end;
  5969. Procedure TVolumeTypesaleInfo.SetisEbook(AIndex : Integer; const AValue : boolean);
  5970. begin
  5971. If (FisEbook=AValue) then exit;
  5972. FisEbook:=AValue;
  5973. MarkPropertyChanged(AIndex);
  5974. end;
  5975. Procedure TVolumeTypesaleInfo.SetlistPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypelistPrice);
  5976. begin
  5977. If (FlistPrice=AValue) then exit;
  5978. FlistPrice:=AValue;
  5979. MarkPropertyChanged(AIndex);
  5980. end;
  5981. Procedure TVolumeTypesaleInfo.Setoffers(AIndex : Integer; const AValue : TVolumeTypesaleInfoTypeoffersArray);
  5982. begin
  5983. If (Foffers=AValue) then exit;
  5984. Foffers:=AValue;
  5985. MarkPropertyChanged(AIndex);
  5986. end;
  5987. Procedure TVolumeTypesaleInfo.SetonSaleDate(AIndex : Integer; const AValue : TDatetime);
  5988. begin
  5989. If (FonSaleDate=AValue) then exit;
  5990. FonSaleDate:=AValue;
  5991. MarkPropertyChanged(AIndex);
  5992. end;
  5993. Procedure TVolumeTypesaleInfo.SetretailPrice(AIndex : Integer; const AValue : TVolumeTypesaleInfoTyperetailPrice);
  5994. begin
  5995. If (FretailPrice=AValue) then exit;
  5996. FretailPrice:=AValue;
  5997. MarkPropertyChanged(AIndex);
  5998. end;
  5999. Procedure TVolumeTypesaleInfo.Setsaleability(AIndex : Integer; const AValue : String);
  6000. begin
  6001. If (Fsaleability=AValue) then exit;
  6002. Fsaleability:=AValue;
  6003. MarkPropertyChanged(AIndex);
  6004. end;
  6005. //2.6.4. bug workaround
  6006. {$IFDEF VER2_6}
  6007. Procedure TVolumeTypesaleInfo.SetArrayLength(Const AName : String; ALength : Longint);
  6008. begin
  6009. Case AName of
  6010. 'offers' : SetLength(Foffers,ALength);
  6011. else
  6012. Inherited SetArrayLength(AName,ALength);
  6013. end;
  6014. end;
  6015. {$ENDIF VER2_6}
  6016. { --------------------------------------------------------------------
  6017. TVolumeTypesearchInfo
  6018. --------------------------------------------------------------------}
  6019. Procedure TVolumeTypesearchInfo.SettextSnippet(AIndex : Integer; const AValue : String);
  6020. begin
  6021. If (FtextSnippet=AValue) then exit;
  6022. FtextSnippet:=AValue;
  6023. MarkPropertyChanged(AIndex);
  6024. end;
  6025. { --------------------------------------------------------------------
  6026. TVolumeTypeuserInfoTypecopy
  6027. --------------------------------------------------------------------}
  6028. Procedure TVolumeTypeuserInfoTypecopy.SetallowedCharacterCount(AIndex : Integer; const AValue : integer);
  6029. begin
  6030. If (FallowedCharacterCount=AValue) then exit;
  6031. FallowedCharacterCount:=AValue;
  6032. MarkPropertyChanged(AIndex);
  6033. end;
  6034. Procedure TVolumeTypeuserInfoTypecopy.SetlimitType(AIndex : Integer; const AValue : String);
  6035. begin
  6036. If (FlimitType=AValue) then exit;
  6037. FlimitType:=AValue;
  6038. MarkPropertyChanged(AIndex);
  6039. end;
  6040. Procedure TVolumeTypeuserInfoTypecopy.SetremainingCharacterCount(AIndex : Integer; const AValue : integer);
  6041. begin
  6042. If (FremainingCharacterCount=AValue) then exit;
  6043. FremainingCharacterCount:=AValue;
  6044. MarkPropertyChanged(AIndex);
  6045. end;
  6046. Procedure TVolumeTypeuserInfoTypecopy.Setupdated(AIndex : Integer; const AValue : TDatetime);
  6047. begin
  6048. If (Fupdated=AValue) then exit;
  6049. Fupdated:=AValue;
  6050. MarkPropertyChanged(AIndex);
  6051. end;
  6052. { --------------------------------------------------------------------
  6053. TVolumeTypeuserInfoTypefamilySharing
  6054. --------------------------------------------------------------------}
  6055. Procedure TVolumeTypeuserInfoTypefamilySharing.SetfamilyRole(AIndex : Integer; const AValue : String);
  6056. begin
  6057. If (FfamilyRole=AValue) then exit;
  6058. FfamilyRole:=AValue;
  6059. MarkPropertyChanged(AIndex);
  6060. end;
  6061. Procedure TVolumeTypeuserInfoTypefamilySharing.SetisSharingAllowed(AIndex : Integer; const AValue : boolean);
  6062. begin
  6063. If (FisSharingAllowed=AValue) then exit;
  6064. FisSharingAllowed:=AValue;
  6065. MarkPropertyChanged(AIndex);
  6066. end;
  6067. Procedure TVolumeTypeuserInfoTypefamilySharing.SetisSharingDisabledByFop(AIndex : Integer; const AValue : boolean);
  6068. begin
  6069. If (FisSharingDisabledByFop=AValue) then exit;
  6070. FisSharingDisabledByFop:=AValue;
  6071. MarkPropertyChanged(AIndex);
  6072. end;
  6073. { --------------------------------------------------------------------
  6074. TVolumeTypeuserInfoTyperentalPeriod
  6075. --------------------------------------------------------------------}
  6076. Procedure TVolumeTypeuserInfoTyperentalPeriod.SetendUtcSec(AIndex : Integer; const AValue : String);
  6077. begin
  6078. If (FendUtcSec=AValue) then exit;
  6079. FendUtcSec:=AValue;
  6080. MarkPropertyChanged(AIndex);
  6081. end;
  6082. Procedure TVolumeTypeuserInfoTyperentalPeriod.SetstartUtcSec(AIndex : Integer; const AValue : String);
  6083. begin
  6084. If (FstartUtcSec=AValue) then exit;
  6085. FstartUtcSec:=AValue;
  6086. MarkPropertyChanged(AIndex);
  6087. end;
  6088. { --------------------------------------------------------------------
  6089. TVolumeTypeuserInfoTypeuserUploadedVolumeInfo
  6090. --------------------------------------------------------------------}
  6091. Procedure TVolumeTypeuserInfoTypeuserUploadedVolumeInfo.SetprocessingState(AIndex : Integer; const AValue : String);
  6092. begin
  6093. If (FprocessingState=AValue) then exit;
  6094. FprocessingState:=AValue;
  6095. MarkPropertyChanged(AIndex);
  6096. end;
  6097. { --------------------------------------------------------------------
  6098. TVolumeTypeuserInfo
  6099. --------------------------------------------------------------------}
  6100. Procedure TVolumeTypeuserInfo.SetacquiredTime(AIndex : Integer; const AValue : TDatetime);
  6101. begin
  6102. If (FacquiredTime=AValue) then exit;
  6103. FacquiredTime:=AValue;
  6104. MarkPropertyChanged(AIndex);
  6105. end;
  6106. Procedure TVolumeTypeuserInfo.SetacquisitionType(AIndex : Integer; const AValue : integer);
  6107. begin
  6108. If (FacquisitionType=AValue) then exit;
  6109. FacquisitionType:=AValue;
  6110. MarkPropertyChanged(AIndex);
  6111. end;
  6112. Procedure TVolumeTypeuserInfo.Setcopy(AIndex : Integer; const AValue : TVolumeTypeuserInfoTypecopy);
  6113. begin
  6114. If (Fcopy=AValue) then exit;
  6115. Fcopy:=AValue;
  6116. MarkPropertyChanged(AIndex);
  6117. end;
  6118. Procedure TVolumeTypeuserInfo.SetentitlementType(AIndex : Integer; const AValue : integer);
  6119. begin
  6120. If (FentitlementType=AValue) then exit;
  6121. FentitlementType:=AValue;
  6122. MarkPropertyChanged(AIndex);
  6123. end;
  6124. Procedure TVolumeTypeuserInfo.SetfamilySharing(AIndex : Integer; const AValue : TVolumeTypeuserInfoTypefamilySharing);
  6125. begin
  6126. If (FfamilySharing=AValue) then exit;
  6127. FfamilySharing:=AValue;
  6128. MarkPropertyChanged(AIndex);
  6129. end;
  6130. Procedure TVolumeTypeuserInfo.SetisFamilySharedFromUser(AIndex : Integer; const AValue : boolean);
  6131. begin
  6132. If (FisFamilySharedFromUser=AValue) then exit;
  6133. FisFamilySharedFromUser:=AValue;
  6134. MarkPropertyChanged(AIndex);
  6135. end;
  6136. Procedure TVolumeTypeuserInfo.SetisFamilySharedToUser(AIndex : Integer; const AValue : boolean);
  6137. begin
  6138. If (FisFamilySharedToUser=AValue) then exit;
  6139. FisFamilySharedToUser:=AValue;
  6140. MarkPropertyChanged(AIndex);
  6141. end;
  6142. Procedure TVolumeTypeuserInfo.SetisFamilySharingAllowed(AIndex : Integer; const AValue : boolean);
  6143. begin
  6144. If (FisFamilySharingAllowed=AValue) then exit;
  6145. FisFamilySharingAllowed:=AValue;
  6146. MarkPropertyChanged(AIndex);
  6147. end;
  6148. Procedure TVolumeTypeuserInfo.SetisFamilySharingDisabledByFop(AIndex : Integer; const AValue : boolean);
  6149. begin
  6150. If (FisFamilySharingDisabledByFop=AValue) then exit;
  6151. FisFamilySharingDisabledByFop:=AValue;
  6152. MarkPropertyChanged(AIndex);
  6153. end;
  6154. Procedure TVolumeTypeuserInfo.SetisInMyBooks(AIndex : Integer; const AValue : boolean);
  6155. begin
  6156. If (FisInMyBooks=AValue) then exit;
  6157. FisInMyBooks:=AValue;
  6158. MarkPropertyChanged(AIndex);
  6159. end;
  6160. Procedure TVolumeTypeuserInfo.SetisPreordered(AIndex : Integer; const AValue : boolean);
  6161. begin
  6162. If (FisPreordered=AValue) then exit;
  6163. FisPreordered:=AValue;
  6164. MarkPropertyChanged(AIndex);
  6165. end;
  6166. Procedure TVolumeTypeuserInfo.SetisPurchased(AIndex : Integer; const AValue : boolean);
  6167. begin
  6168. If (FisPurchased=AValue) then exit;
  6169. FisPurchased:=AValue;
  6170. MarkPropertyChanged(AIndex);
  6171. end;
  6172. Procedure TVolumeTypeuserInfo.SetisUploaded(AIndex : Integer; const AValue : boolean);
  6173. begin
  6174. If (FisUploaded=AValue) then exit;
  6175. FisUploaded:=AValue;
  6176. MarkPropertyChanged(AIndex);
  6177. end;
  6178. Procedure TVolumeTypeuserInfo.SetreadingPosition(AIndex : Integer; const AValue : TReadingPosition);
  6179. begin
  6180. If (FreadingPosition=AValue) then exit;
  6181. FreadingPosition:=AValue;
  6182. MarkPropertyChanged(AIndex);
  6183. end;
  6184. Procedure TVolumeTypeuserInfo.SetrentalPeriod(AIndex : Integer; const AValue : TVolumeTypeuserInfoTyperentalPeriod);
  6185. begin
  6186. If (FrentalPeriod=AValue) then exit;
  6187. FrentalPeriod:=AValue;
  6188. MarkPropertyChanged(AIndex);
  6189. end;
  6190. Procedure TVolumeTypeuserInfo.SetrentalState(AIndex : Integer; const AValue : String);
  6191. begin
  6192. If (FrentalState=AValue) then exit;
  6193. FrentalState:=AValue;
  6194. MarkPropertyChanged(AIndex);
  6195. end;
  6196. Procedure TVolumeTypeuserInfo.Setreview(AIndex : Integer; const AValue : TReview);
  6197. begin
  6198. If (Freview=AValue) then exit;
  6199. Freview:=AValue;
  6200. MarkPropertyChanged(AIndex);
  6201. end;
  6202. Procedure TVolumeTypeuserInfo.Setupdated(AIndex : Integer; const AValue : TDatetime);
  6203. begin
  6204. If (Fupdated=AValue) then exit;
  6205. Fupdated:=AValue;
  6206. MarkPropertyChanged(AIndex);
  6207. end;
  6208. Procedure TVolumeTypeuserInfo.SetuserUploadedVolumeInfo(AIndex : Integer; const AValue : TVolumeTypeuserInfoTypeuserUploadedVolumeInfo);
  6209. begin
  6210. If (FuserUploadedVolumeInfo=AValue) then exit;
  6211. FuserUploadedVolumeInfo:=AValue;
  6212. MarkPropertyChanged(AIndex);
  6213. end;
  6214. { --------------------------------------------------------------------
  6215. TVolumeTypevolumeInfoTypedimensions
  6216. --------------------------------------------------------------------}
  6217. Procedure TVolumeTypevolumeInfoTypedimensions.Setheight(AIndex : Integer; const AValue : String);
  6218. begin
  6219. If (Fheight=AValue) then exit;
  6220. Fheight:=AValue;
  6221. MarkPropertyChanged(AIndex);
  6222. end;
  6223. Procedure TVolumeTypevolumeInfoTypedimensions.Setthickness(AIndex : Integer; const AValue : String);
  6224. begin
  6225. If (Fthickness=AValue) then exit;
  6226. Fthickness:=AValue;
  6227. MarkPropertyChanged(AIndex);
  6228. end;
  6229. Procedure TVolumeTypevolumeInfoTypedimensions.Setwidth(AIndex : Integer; const AValue : String);
  6230. begin
  6231. If (Fwidth=AValue) then exit;
  6232. Fwidth:=AValue;
  6233. MarkPropertyChanged(AIndex);
  6234. end;
  6235. { --------------------------------------------------------------------
  6236. TVolumeTypevolumeInfoTypeimageLinks
  6237. --------------------------------------------------------------------}
  6238. Procedure TVolumeTypevolumeInfoTypeimageLinks.SetextraLarge(AIndex : Integer; const AValue : String);
  6239. begin
  6240. If (FextraLarge=AValue) then exit;
  6241. FextraLarge:=AValue;
  6242. MarkPropertyChanged(AIndex);
  6243. end;
  6244. Procedure TVolumeTypevolumeInfoTypeimageLinks.Setlarge(AIndex : Integer; const AValue : String);
  6245. begin
  6246. If (Flarge=AValue) then exit;
  6247. Flarge:=AValue;
  6248. MarkPropertyChanged(AIndex);
  6249. end;
  6250. Procedure TVolumeTypevolumeInfoTypeimageLinks.Setmedium(AIndex : Integer; const AValue : String);
  6251. begin
  6252. If (Fmedium=AValue) then exit;
  6253. Fmedium:=AValue;
  6254. MarkPropertyChanged(AIndex);
  6255. end;
  6256. Procedure TVolumeTypevolumeInfoTypeimageLinks.Setsmall(AIndex : Integer; const AValue : String);
  6257. begin
  6258. If (Fsmall=AValue) then exit;
  6259. Fsmall:=AValue;
  6260. MarkPropertyChanged(AIndex);
  6261. end;
  6262. Procedure TVolumeTypevolumeInfoTypeimageLinks.SetsmallThumbnail(AIndex : Integer; const AValue : String);
  6263. begin
  6264. If (FsmallThumbnail=AValue) then exit;
  6265. FsmallThumbnail:=AValue;
  6266. MarkPropertyChanged(AIndex);
  6267. end;
  6268. Procedure TVolumeTypevolumeInfoTypeimageLinks.Setthumbnail(AIndex : Integer; const AValue : String);
  6269. begin
  6270. If (Fthumbnail=AValue) then exit;
  6271. Fthumbnail:=AValue;
  6272. MarkPropertyChanged(AIndex);
  6273. end;
  6274. { --------------------------------------------------------------------
  6275. TVolumeTypevolumeInfoTypeindustryIdentifiersItem
  6276. --------------------------------------------------------------------}
  6277. Procedure TVolumeTypevolumeInfoTypeindustryIdentifiersItem.Setidentifier(AIndex : Integer; const AValue : String);
  6278. begin
  6279. If (Fidentifier=AValue) then exit;
  6280. Fidentifier:=AValue;
  6281. MarkPropertyChanged(AIndex);
  6282. end;
  6283. Procedure TVolumeTypevolumeInfoTypeindustryIdentifiersItem.Set_type(AIndex : Integer; const AValue : String);
  6284. begin
  6285. If (F_type=AValue) then exit;
  6286. F_type:=AValue;
  6287. MarkPropertyChanged(AIndex);
  6288. end;
  6289. Class Function TVolumeTypevolumeInfoTypeindustryIdentifiersItem.ExportPropertyName(Const AName : String) :String;
  6290. begin
  6291. Case AName of
  6292. '_type' : Result:='type';
  6293. else
  6294. Result:=Inherited ExportPropertyName(AName);
  6295. end;
  6296. end;
  6297. { --------------------------------------------------------------------
  6298. TVolumeTypevolumeInfo
  6299. --------------------------------------------------------------------}
  6300. Procedure TVolumeTypevolumeInfo.SetallowAnonLogging(AIndex : Integer; const AValue : boolean);
  6301. begin
  6302. If (FallowAnonLogging=AValue) then exit;
  6303. FallowAnonLogging:=AValue;
  6304. MarkPropertyChanged(AIndex);
  6305. end;
  6306. Procedure TVolumeTypevolumeInfo.Setauthors(AIndex : Integer; const AValue : TStringArray);
  6307. begin
  6308. If (Fauthors=AValue) then exit;
  6309. Fauthors:=AValue;
  6310. MarkPropertyChanged(AIndex);
  6311. end;
  6312. Procedure TVolumeTypevolumeInfo.SetaverageRating(AIndex : Integer; const AValue : double);
  6313. begin
  6314. If (FaverageRating=AValue) then exit;
  6315. FaverageRating:=AValue;
  6316. MarkPropertyChanged(AIndex);
  6317. end;
  6318. Procedure TVolumeTypevolumeInfo.SetcanonicalVolumeLink(AIndex : Integer; const AValue : String);
  6319. begin
  6320. If (FcanonicalVolumeLink=AValue) then exit;
  6321. FcanonicalVolumeLink:=AValue;
  6322. MarkPropertyChanged(AIndex);
  6323. end;
  6324. Procedure TVolumeTypevolumeInfo.Setcategories(AIndex : Integer; const AValue : TStringArray);
  6325. begin
  6326. If (Fcategories=AValue) then exit;
  6327. Fcategories:=AValue;
  6328. MarkPropertyChanged(AIndex);
  6329. end;
  6330. Procedure TVolumeTypevolumeInfo.SetcontentVersion(AIndex : Integer; const AValue : String);
  6331. begin
  6332. If (FcontentVersion=AValue) then exit;
  6333. FcontentVersion:=AValue;
  6334. MarkPropertyChanged(AIndex);
  6335. end;
  6336. Procedure TVolumeTypevolumeInfo.Setdescription(AIndex : Integer; const AValue : String);
  6337. begin
  6338. If (Fdescription=AValue) then exit;
  6339. Fdescription:=AValue;
  6340. MarkPropertyChanged(AIndex);
  6341. end;
  6342. Procedure TVolumeTypevolumeInfo.Setdimensions(AIndex : Integer; const AValue : TVolumeTypevolumeInfoTypedimensions);
  6343. begin
  6344. If (Fdimensions=AValue) then exit;
  6345. Fdimensions:=AValue;
  6346. MarkPropertyChanged(AIndex);
  6347. end;
  6348. Procedure TVolumeTypevolumeInfo.SetimageLinks(AIndex : Integer; const AValue : TVolumeTypevolumeInfoTypeimageLinks);
  6349. begin
  6350. If (FimageLinks=AValue) then exit;
  6351. FimageLinks:=AValue;
  6352. MarkPropertyChanged(AIndex);
  6353. end;
  6354. Procedure TVolumeTypevolumeInfo.SetindustryIdentifiers(AIndex : Integer; const AValue : TVolumeTypevolumeInfoTypeindustryIdentifiersArray);
  6355. begin
  6356. If (FindustryIdentifiers=AValue) then exit;
  6357. FindustryIdentifiers:=AValue;
  6358. MarkPropertyChanged(AIndex);
  6359. end;
  6360. Procedure TVolumeTypevolumeInfo.SetinfoLink(AIndex : Integer; const AValue : String);
  6361. begin
  6362. If (FinfoLink=AValue) then exit;
  6363. FinfoLink:=AValue;
  6364. MarkPropertyChanged(AIndex);
  6365. end;
  6366. Procedure TVolumeTypevolumeInfo.Setlanguage(AIndex : Integer; const AValue : String);
  6367. begin
  6368. If (Flanguage=AValue) then exit;
  6369. Flanguage:=AValue;
  6370. MarkPropertyChanged(AIndex);
  6371. end;
  6372. Procedure TVolumeTypevolumeInfo.SetmainCategory(AIndex : Integer; const AValue : String);
  6373. begin
  6374. If (FmainCategory=AValue) then exit;
  6375. FmainCategory:=AValue;
  6376. MarkPropertyChanged(AIndex);
  6377. end;
  6378. Procedure TVolumeTypevolumeInfo.SetmaturityRating(AIndex : Integer; const AValue : String);
  6379. begin
  6380. If (FmaturityRating=AValue) then exit;
  6381. FmaturityRating:=AValue;
  6382. MarkPropertyChanged(AIndex);
  6383. end;
  6384. Procedure TVolumeTypevolumeInfo.SetpageCount(AIndex : Integer; const AValue : integer);
  6385. begin
  6386. If (FpageCount=AValue) then exit;
  6387. FpageCount:=AValue;
  6388. MarkPropertyChanged(AIndex);
  6389. end;
  6390. Procedure TVolumeTypevolumeInfo.SetpreviewLink(AIndex : Integer; const AValue : String);
  6391. begin
  6392. If (FpreviewLink=AValue) then exit;
  6393. FpreviewLink:=AValue;
  6394. MarkPropertyChanged(AIndex);
  6395. end;
  6396. Procedure TVolumeTypevolumeInfo.SetprintType(AIndex : Integer; const AValue : String);
  6397. begin
  6398. If (FprintType=AValue) then exit;
  6399. FprintType:=AValue;
  6400. MarkPropertyChanged(AIndex);
  6401. end;
  6402. Procedure TVolumeTypevolumeInfo.SetprintedPageCount(AIndex : Integer; const AValue : integer);
  6403. begin
  6404. If (FprintedPageCount=AValue) then exit;
  6405. FprintedPageCount:=AValue;
  6406. MarkPropertyChanged(AIndex);
  6407. end;
  6408. Procedure TVolumeTypevolumeInfo.SetpublishedDate(AIndex : Integer; const AValue : String);
  6409. begin
  6410. If (FpublishedDate=AValue) then exit;
  6411. FpublishedDate:=AValue;
  6412. MarkPropertyChanged(AIndex);
  6413. end;
  6414. Procedure TVolumeTypevolumeInfo.Setpublisher(AIndex : Integer; const AValue : String);
  6415. begin
  6416. If (Fpublisher=AValue) then exit;
  6417. Fpublisher:=AValue;
  6418. MarkPropertyChanged(AIndex);
  6419. end;
  6420. Procedure TVolumeTypevolumeInfo.SetratingsCount(AIndex : Integer; const AValue : integer);
  6421. begin
  6422. If (FratingsCount=AValue) then exit;
  6423. FratingsCount:=AValue;
  6424. MarkPropertyChanged(AIndex);
  6425. end;
  6426. Procedure TVolumeTypevolumeInfo.SetreadingModes(AIndex : Integer; const AValue : TJSONSchema);
  6427. begin
  6428. If (FreadingModes=AValue) then exit;
  6429. FreadingModes:=AValue;
  6430. MarkPropertyChanged(AIndex);
  6431. end;
  6432. Procedure TVolumeTypevolumeInfo.SetsamplePageCount(AIndex : Integer; const AValue : integer);
  6433. begin
  6434. If (FsamplePageCount=AValue) then exit;
  6435. FsamplePageCount:=AValue;
  6436. MarkPropertyChanged(AIndex);
  6437. end;
  6438. Procedure TVolumeTypevolumeInfo.SetseriesInfo(AIndex : Integer; const AValue : TVolumeseriesinfo);
  6439. begin
  6440. If (FseriesInfo=AValue) then exit;
  6441. FseriesInfo:=AValue;
  6442. MarkPropertyChanged(AIndex);
  6443. end;
  6444. Procedure TVolumeTypevolumeInfo.Setsubtitle(AIndex : Integer; const AValue : String);
  6445. begin
  6446. If (Fsubtitle=AValue) then exit;
  6447. Fsubtitle:=AValue;
  6448. MarkPropertyChanged(AIndex);
  6449. end;
  6450. Procedure TVolumeTypevolumeInfo.Settitle(AIndex : Integer; const AValue : String);
  6451. begin
  6452. If (Ftitle=AValue) then exit;
  6453. Ftitle:=AValue;
  6454. MarkPropertyChanged(AIndex);
  6455. end;
  6456. //2.6.4. bug workaround
  6457. {$IFDEF VER2_6}
  6458. Procedure TVolumeTypevolumeInfo.SetArrayLength(Const AName : String; ALength : Longint);
  6459. begin
  6460. Case AName of
  6461. 'authors' : SetLength(Fauthors,ALength);
  6462. 'categories' : SetLength(Fcategories,ALength);
  6463. 'industryidentifiers' : SetLength(FindustryIdentifiers,ALength);
  6464. else
  6465. Inherited SetArrayLength(AName,ALength);
  6466. end;
  6467. end;
  6468. {$ENDIF VER2_6}
  6469. { --------------------------------------------------------------------
  6470. TVolume
  6471. --------------------------------------------------------------------}
  6472. Procedure TVolume.SetaccessInfo(AIndex : Integer; const AValue : TVolumeTypeaccessInfo);
  6473. begin
  6474. If (FaccessInfo=AValue) then exit;
  6475. FaccessInfo:=AValue;
  6476. MarkPropertyChanged(AIndex);
  6477. end;
  6478. Procedure TVolume.Setetag(AIndex : Integer; const AValue : String);
  6479. begin
  6480. If (Fetag=AValue) then exit;
  6481. Fetag:=AValue;
  6482. MarkPropertyChanged(AIndex);
  6483. end;
  6484. Procedure TVolume.Setid(AIndex : Integer; const AValue : String);
  6485. begin
  6486. If (Fid=AValue) then exit;
  6487. Fid:=AValue;
  6488. MarkPropertyChanged(AIndex);
  6489. end;
  6490. Procedure TVolume.Setkind(AIndex : Integer; const AValue : String);
  6491. begin
  6492. If (Fkind=AValue) then exit;
  6493. Fkind:=AValue;
  6494. MarkPropertyChanged(AIndex);
  6495. end;
  6496. Procedure TVolume.SetlayerInfo(AIndex : Integer; const AValue : TVolumeTypelayerInfo);
  6497. begin
  6498. If (FlayerInfo=AValue) then exit;
  6499. FlayerInfo:=AValue;
  6500. MarkPropertyChanged(AIndex);
  6501. end;
  6502. Procedure TVolume.SetrecommendedInfo(AIndex : Integer; const AValue : TVolumeTyperecommendedInfo);
  6503. begin
  6504. If (FrecommendedInfo=AValue) then exit;
  6505. FrecommendedInfo:=AValue;
  6506. MarkPropertyChanged(AIndex);
  6507. end;
  6508. Procedure TVolume.SetsaleInfo(AIndex : Integer; const AValue : TVolumeTypesaleInfo);
  6509. begin
  6510. If (FsaleInfo=AValue) then exit;
  6511. FsaleInfo:=AValue;
  6512. MarkPropertyChanged(AIndex);
  6513. end;
  6514. Procedure TVolume.SetsearchInfo(AIndex : Integer; const AValue : TVolumeTypesearchInfo);
  6515. begin
  6516. If (FsearchInfo=AValue) then exit;
  6517. FsearchInfo:=AValue;
  6518. MarkPropertyChanged(AIndex);
  6519. end;
  6520. Procedure TVolume.SetselfLink(AIndex : Integer; const AValue : String);
  6521. begin
  6522. If (FselfLink=AValue) then exit;
  6523. FselfLink:=AValue;
  6524. MarkPropertyChanged(AIndex);
  6525. end;
  6526. Procedure TVolume.SetuserInfo(AIndex : Integer; const AValue : TVolumeTypeuserInfo);
  6527. begin
  6528. If (FuserInfo=AValue) then exit;
  6529. FuserInfo:=AValue;
  6530. MarkPropertyChanged(AIndex);
  6531. end;
  6532. Procedure TVolume.SetvolumeInfo(AIndex : Integer; const AValue : TVolumeTypevolumeInfo);
  6533. begin
  6534. If (FvolumeInfo=AValue) then exit;
  6535. FvolumeInfo:=AValue;
  6536. MarkPropertyChanged(AIndex);
  6537. end;
  6538. { --------------------------------------------------------------------
  6539. TVolume2
  6540. --------------------------------------------------------------------}
  6541. Procedure TVolume2.Setitems(AIndex : Integer; const AValue : TVolume2TypeitemsArray);
  6542. begin
  6543. If (Fitems=AValue) then exit;
  6544. Fitems:=AValue;
  6545. MarkPropertyChanged(AIndex);
  6546. end;
  6547. Procedure TVolume2.Setkind(AIndex : Integer; const AValue : String);
  6548. begin
  6549. If (Fkind=AValue) then exit;
  6550. Fkind:=AValue;
  6551. MarkPropertyChanged(AIndex);
  6552. end;
  6553. Procedure TVolume2.SetnextPageToken(AIndex : Integer; const AValue : String);
  6554. begin
  6555. If (FnextPageToken=AValue) then exit;
  6556. FnextPageToken:=AValue;
  6557. MarkPropertyChanged(AIndex);
  6558. end;
  6559. //2.6.4. bug workaround
  6560. {$IFDEF VER2_6}
  6561. Procedure TVolume2.SetArrayLength(Const AName : String; ALength : Longint);
  6562. begin
  6563. Case AName of
  6564. 'items' : SetLength(Fitems,ALength);
  6565. else
  6566. Inherited SetArrayLength(AName,ALength);
  6567. end;
  6568. end;
  6569. {$ENDIF VER2_6}
  6570. { --------------------------------------------------------------------
  6571. TVolumeannotationTypecontentRanges
  6572. --------------------------------------------------------------------}
  6573. Procedure TVolumeannotationTypecontentRanges.SetcfiRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  6574. begin
  6575. If (FcfiRange=AValue) then exit;
  6576. FcfiRange:=AValue;
  6577. MarkPropertyChanged(AIndex);
  6578. end;
  6579. Procedure TVolumeannotationTypecontentRanges.SetcontentVersion(AIndex : Integer; const AValue : String);
  6580. begin
  6581. If (FcontentVersion=AValue) then exit;
  6582. FcontentVersion:=AValue;
  6583. MarkPropertyChanged(AIndex);
  6584. end;
  6585. Procedure TVolumeannotationTypecontentRanges.SetgbImageRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  6586. begin
  6587. If (FgbImageRange=AValue) then exit;
  6588. FgbImageRange:=AValue;
  6589. MarkPropertyChanged(AIndex);
  6590. end;
  6591. Procedure TVolumeannotationTypecontentRanges.SetgbTextRange(AIndex : Integer; const AValue : TBooksAnnotationsRange);
  6592. begin
  6593. If (FgbTextRange=AValue) then exit;
  6594. FgbTextRange:=AValue;
  6595. MarkPropertyChanged(AIndex);
  6596. end;
  6597. { --------------------------------------------------------------------
  6598. TVolumeannotation
  6599. --------------------------------------------------------------------}
  6600. Procedure TVolumeannotation.SetannotationDataId(AIndex : Integer; const AValue : String);
  6601. begin
  6602. If (FannotationDataId=AValue) then exit;
  6603. FannotationDataId:=AValue;
  6604. MarkPropertyChanged(AIndex);
  6605. end;
  6606. Procedure TVolumeannotation.SetannotationDataLink(AIndex : Integer; const AValue : String);
  6607. begin
  6608. If (FannotationDataLink=AValue) then exit;
  6609. FannotationDataLink:=AValue;
  6610. MarkPropertyChanged(AIndex);
  6611. end;
  6612. Procedure TVolumeannotation.SetannotationType(AIndex : Integer; const AValue : String);
  6613. begin
  6614. If (FannotationType=AValue) then exit;
  6615. FannotationType:=AValue;
  6616. MarkPropertyChanged(AIndex);
  6617. end;
  6618. Procedure TVolumeannotation.SetcontentRanges(AIndex : Integer; const AValue : TVolumeannotationTypecontentRanges);
  6619. begin
  6620. If (FcontentRanges=AValue) then exit;
  6621. FcontentRanges:=AValue;
  6622. MarkPropertyChanged(AIndex);
  6623. end;
  6624. Procedure TVolumeannotation.Setdata(AIndex : Integer; const AValue : String);
  6625. begin
  6626. If (Fdata=AValue) then exit;
  6627. Fdata:=AValue;
  6628. MarkPropertyChanged(AIndex);
  6629. end;
  6630. Procedure TVolumeannotation.Setdeleted(AIndex : Integer; const AValue : boolean);
  6631. begin
  6632. If (Fdeleted=AValue) then exit;
  6633. Fdeleted:=AValue;
  6634. MarkPropertyChanged(AIndex);
  6635. end;
  6636. Procedure TVolumeannotation.Setid(AIndex : Integer; const AValue : String);
  6637. begin
  6638. If (Fid=AValue) then exit;
  6639. Fid:=AValue;
  6640. MarkPropertyChanged(AIndex);
  6641. end;
  6642. Procedure TVolumeannotation.Setkind(AIndex : Integer; const AValue : String);
  6643. begin
  6644. If (Fkind=AValue) then exit;
  6645. Fkind:=AValue;
  6646. MarkPropertyChanged(AIndex);
  6647. end;
  6648. Procedure TVolumeannotation.SetlayerId(AIndex : Integer; const AValue : String);
  6649. begin
  6650. If (FlayerId=AValue) then exit;
  6651. FlayerId:=AValue;
  6652. MarkPropertyChanged(AIndex);
  6653. end;
  6654. Procedure TVolumeannotation.SetpageIds(AIndex : Integer; const AValue : TStringArray);
  6655. begin
  6656. If (FpageIds=AValue) then exit;
  6657. FpageIds:=AValue;
  6658. MarkPropertyChanged(AIndex);
  6659. end;
  6660. Procedure TVolumeannotation.SetselectedText(AIndex : Integer; const AValue : String);
  6661. begin
  6662. If (FselectedText=AValue) then exit;
  6663. FselectedText:=AValue;
  6664. MarkPropertyChanged(AIndex);
  6665. end;
  6666. Procedure TVolumeannotation.SetselfLink(AIndex : Integer; const AValue : String);
  6667. begin
  6668. If (FselfLink=AValue) then exit;
  6669. FselfLink:=AValue;
  6670. MarkPropertyChanged(AIndex);
  6671. end;
  6672. Procedure TVolumeannotation.Setupdated(AIndex : Integer; const AValue : TDatetime);
  6673. begin
  6674. If (Fupdated=AValue) then exit;
  6675. Fupdated:=AValue;
  6676. MarkPropertyChanged(AIndex);
  6677. end;
  6678. Procedure TVolumeannotation.SetvolumeId(AIndex : Integer; const AValue : String);
  6679. begin
  6680. If (FvolumeId=AValue) then exit;
  6681. FvolumeId:=AValue;
  6682. MarkPropertyChanged(AIndex);
  6683. end;
  6684. //2.6.4. bug workaround
  6685. {$IFDEF VER2_6}
  6686. Procedure TVolumeannotation.SetArrayLength(Const AName : String; ALength : Longint);
  6687. begin
  6688. Case AName of
  6689. 'pageids' : SetLength(FpageIds,ALength);
  6690. else
  6691. Inherited SetArrayLength(AName,ALength);
  6692. end;
  6693. end;
  6694. {$ENDIF VER2_6}
  6695. { --------------------------------------------------------------------
  6696. TVolumeannotations
  6697. --------------------------------------------------------------------}
  6698. Procedure TVolumeannotations.Setitems(AIndex : Integer; const AValue : TVolumeannotationsTypeitemsArray);
  6699. begin
  6700. If (Fitems=AValue) then exit;
  6701. Fitems:=AValue;
  6702. MarkPropertyChanged(AIndex);
  6703. end;
  6704. Procedure TVolumeannotations.Setkind(AIndex : Integer; const AValue : String);
  6705. begin
  6706. If (Fkind=AValue) then exit;
  6707. Fkind:=AValue;
  6708. MarkPropertyChanged(AIndex);
  6709. end;
  6710. Procedure TVolumeannotations.SetnextPageToken(AIndex : Integer; const AValue : String);
  6711. begin
  6712. If (FnextPageToken=AValue) then exit;
  6713. FnextPageToken:=AValue;
  6714. MarkPropertyChanged(AIndex);
  6715. end;
  6716. Procedure TVolumeannotations.SettotalItems(AIndex : Integer; const AValue : integer);
  6717. begin
  6718. If (FtotalItems=AValue) then exit;
  6719. FtotalItems:=AValue;
  6720. MarkPropertyChanged(AIndex);
  6721. end;
  6722. Procedure TVolumeannotations.Setversion(AIndex : Integer; const AValue : String);
  6723. begin
  6724. If (Fversion=AValue) then exit;
  6725. Fversion:=AValue;
  6726. MarkPropertyChanged(AIndex);
  6727. end;
  6728. //2.6.4. bug workaround
  6729. {$IFDEF VER2_6}
  6730. Procedure TVolumeannotations.SetArrayLength(Const AName : String; ALength : Longint);
  6731. begin
  6732. Case AName of
  6733. 'items' : SetLength(Fitems,ALength);
  6734. else
  6735. Inherited SetArrayLength(AName,ALength);
  6736. end;
  6737. end;
  6738. {$ENDIF VER2_6}
  6739. { --------------------------------------------------------------------
  6740. TVolumes
  6741. --------------------------------------------------------------------}
  6742. Procedure TVolumes.Setitems(AIndex : Integer; const AValue : TVolumesTypeitemsArray);
  6743. begin
  6744. If (Fitems=AValue) then exit;
  6745. Fitems:=AValue;
  6746. MarkPropertyChanged(AIndex);
  6747. end;
  6748. Procedure TVolumes.Setkind(AIndex : Integer; const AValue : String);
  6749. begin
  6750. If (Fkind=AValue) then exit;
  6751. Fkind:=AValue;
  6752. MarkPropertyChanged(AIndex);
  6753. end;
  6754. Procedure TVolumes.SettotalItems(AIndex : Integer; const AValue : integer);
  6755. begin
  6756. If (FtotalItems=AValue) then exit;
  6757. FtotalItems:=AValue;
  6758. MarkPropertyChanged(AIndex);
  6759. end;
  6760. //2.6.4. bug workaround
  6761. {$IFDEF VER2_6}
  6762. Procedure TVolumes.SetArrayLength(Const AName : String; ALength : Longint);
  6763. begin
  6764. Case AName of
  6765. 'items' : SetLength(Fitems,ALength);
  6766. else
  6767. Inherited SetArrayLength(AName,ALength);
  6768. end;
  6769. end;
  6770. {$ENDIF VER2_6}
  6771. { --------------------------------------------------------------------
  6772. TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem
  6773. --------------------------------------------------------------------}
  6774. Procedure TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem.SetissueDisplayNumber(AIndex : Integer; const AValue : String);
  6775. begin
  6776. If (FissueDisplayNumber=AValue) then exit;
  6777. FissueDisplayNumber:=AValue;
  6778. MarkPropertyChanged(AIndex);
  6779. end;
  6780. Procedure TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem.SetissueOrderNumber(AIndex : Integer; const AValue : integer);
  6781. begin
  6782. If (FissueOrderNumber=AValue) then exit;
  6783. FissueOrderNumber:=AValue;
  6784. MarkPropertyChanged(AIndex);
  6785. end;
  6786. { --------------------------------------------------------------------
  6787. TVolumeseriesinfoTypevolumeSeriesItem
  6788. --------------------------------------------------------------------}
  6789. Procedure TVolumeseriesinfoTypevolumeSeriesItem.Setissue(AIndex : Integer; const AValue : TVolumeseriesinfoTypevolumeSeriesItemTypeissueArray);
  6790. begin
  6791. If (Fissue=AValue) then exit;
  6792. Fissue:=AValue;
  6793. MarkPropertyChanged(AIndex);
  6794. end;
  6795. Procedure TVolumeseriesinfoTypevolumeSeriesItem.SetorderNumber(AIndex : Integer; const AValue : integer);
  6796. begin
  6797. If (ForderNumber=AValue) then exit;
  6798. ForderNumber:=AValue;
  6799. MarkPropertyChanged(AIndex);
  6800. end;
  6801. Procedure TVolumeseriesinfoTypevolumeSeriesItem.SetseriesBookType(AIndex : Integer; const AValue : String);
  6802. begin
  6803. If (FseriesBookType=AValue) then exit;
  6804. FseriesBookType:=AValue;
  6805. MarkPropertyChanged(AIndex);
  6806. end;
  6807. Procedure TVolumeseriesinfoTypevolumeSeriesItem.SetseriesId(AIndex : Integer; const AValue : String);
  6808. begin
  6809. If (FseriesId=AValue) then exit;
  6810. FseriesId:=AValue;
  6811. MarkPropertyChanged(AIndex);
  6812. end;
  6813. //2.6.4. bug workaround
  6814. {$IFDEF VER2_6}
  6815. Procedure TVolumeseriesinfoTypevolumeSeriesItem.SetArrayLength(Const AName : String; ALength : Longint);
  6816. begin
  6817. Case AName of
  6818. 'issue' : SetLength(Fissue,ALength);
  6819. else
  6820. Inherited SetArrayLength(AName,ALength);
  6821. end;
  6822. end;
  6823. {$ENDIF VER2_6}
  6824. { --------------------------------------------------------------------
  6825. TVolumeseriesinfo
  6826. --------------------------------------------------------------------}
  6827. Procedure TVolumeseriesinfo.SetbookDisplayNumber(AIndex : Integer; const AValue : String);
  6828. begin
  6829. If (FbookDisplayNumber=AValue) then exit;
  6830. FbookDisplayNumber:=AValue;
  6831. MarkPropertyChanged(AIndex);
  6832. end;
  6833. Procedure TVolumeseriesinfo.Setkind(AIndex : Integer; const AValue : String);
  6834. begin
  6835. If (Fkind=AValue) then exit;
  6836. Fkind:=AValue;
  6837. MarkPropertyChanged(AIndex);
  6838. end;
  6839. Procedure TVolumeseriesinfo.SetshortSeriesBookTitle(AIndex : Integer; const AValue : String);
  6840. begin
  6841. If (FshortSeriesBookTitle=AValue) then exit;
  6842. FshortSeriesBookTitle:=AValue;
  6843. MarkPropertyChanged(AIndex);
  6844. end;
  6845. Procedure TVolumeseriesinfo.SetvolumeSeries(AIndex : Integer; const AValue : TVolumeseriesinfoTypevolumeSeriesArray);
  6846. begin
  6847. If (FvolumeSeries=AValue) then exit;
  6848. FvolumeSeries:=AValue;
  6849. MarkPropertyChanged(AIndex);
  6850. end;
  6851. //2.6.4. bug workaround
  6852. {$IFDEF VER2_6}
  6853. Procedure TVolumeseriesinfo.SetArrayLength(Const AName : String; ALength : Longint);
  6854. begin
  6855. Case AName of
  6856. 'volumeseries' : SetLength(FvolumeSeries,ALength);
  6857. else
  6858. Inherited SetArrayLength(AName,ALength);
  6859. end;
  6860. end;
  6861. {$ENDIF VER2_6}
  6862. { --------------------------------------------------------------------
  6863. TBookshelvesVolumesResource
  6864. --------------------------------------------------------------------}
  6865. Class Function TBookshelvesVolumesResource.ResourceName : String;
  6866. begin
  6867. Result:='volumes';
  6868. end;
  6869. Class Function TBookshelvesVolumesResource.DefaultAPI : TGoogleAPIClass;
  6870. begin
  6871. Result:=TbooksAPI;
  6872. end;
  6873. Function TBookshelvesVolumesResource.List(shelf: string; userId: string; AQuery : string = '') : TVolumes;
  6874. Const
  6875. _HTTPMethod = 'GET';
  6876. _Path = 'users/{userId}/bookshelves/{shelf}/volumes';
  6877. _Methodid = 'books.bookshelves.volumes.list';
  6878. Var
  6879. _P : String;
  6880. begin
  6881. _P:=SubstitutePath(_Path,['shelf',shelf,'userId',userId]);
  6882. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVolumes) as TVolumes;
  6883. end;
  6884. Function TBookshelvesVolumesResource.List(shelf: string; userId: string; AQuery : TBookshelvesVolumeslistOptions) : TVolumes;
  6885. Var
  6886. _Q : String;
  6887. begin
  6888. _Q:='';
  6889. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  6890. AddToQuery(_Q,'showPreorders',AQuery.showPreorders);
  6891. AddToQuery(_Q,'source',AQuery.source);
  6892. AddToQuery(_Q,'startIndex',AQuery.startIndex);
  6893. Result:=List(shelf,userId,_Q);
  6894. end;
  6895. { --------------------------------------------------------------------
  6896. TBookshelvesResource
  6897. --------------------------------------------------------------------}
  6898. Class Function TBookshelvesResource.ResourceName : String;
  6899. begin
  6900. Result:='bookshelves';
  6901. end;
  6902. Class Function TBookshelvesResource.DefaultAPI : TGoogleAPIClass;
  6903. begin
  6904. Result:=TbooksAPI;
  6905. end;
  6906. Function TBookshelvesResource.Get(shelf: string; userId: string; AQuery : string = '') : TBookshelf;
  6907. Const
  6908. _HTTPMethod = 'GET';
  6909. _Path = 'users/{userId}/bookshelves/{shelf}';
  6910. _Methodid = 'books.bookshelves.get';
  6911. Var
  6912. _P : String;
  6913. begin
  6914. _P:=SubstitutePath(_Path,['shelf',shelf,'userId',userId]);
  6915. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TBookshelf) as TBookshelf;
  6916. end;
  6917. Function TBookshelvesResource.Get(shelf: string; userId: string; AQuery : TBookshelvesgetOptions) : TBookshelf;
  6918. Var
  6919. _Q : String;
  6920. begin
  6921. _Q:='';
  6922. AddToQuery(_Q,'source',AQuery.source);
  6923. Result:=Get(shelf,userId,_Q);
  6924. end;
  6925. Function TBookshelvesResource.List(userId: string; AQuery : string = '') : TBookshelves;
  6926. Const
  6927. _HTTPMethod = 'GET';
  6928. _Path = 'users/{userId}/bookshelves';
  6929. _Methodid = 'books.bookshelves.list';
  6930. Var
  6931. _P : String;
  6932. begin
  6933. _P:=SubstitutePath(_Path,['userId',userId]);
  6934. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TBookshelves) as TBookshelves;
  6935. end;
  6936. Function TBookshelvesResource.List(userId: string; AQuery : TBookshelveslistOptions) : TBookshelves;
  6937. Var
  6938. _Q : String;
  6939. begin
  6940. _Q:='';
  6941. AddToQuery(_Q,'source',AQuery.source);
  6942. Result:=List(userId,_Q);
  6943. end;
  6944. Function TBookshelvesResource.GetVolumesInstance : TBookshelvesVolumesResource;
  6945. begin
  6946. if (FVolumesInstance=Nil) then
  6947. FVolumesInstance:=CreateVolumesResource;
  6948. Result:=FVolumesInstance;
  6949. end;
  6950. Function TBookshelvesResource.CreateVolumesResource : TBookshelvesVolumesResource;
  6951. begin
  6952. Result:=CreateVolumesResource(Self);
  6953. end;
  6954. Function TBookshelvesResource.CreateVolumesResource(AOwner : TComponent) : TBookshelvesVolumesResource;
  6955. begin
  6956. Result:=TBookshelvesVolumesResource.Create(AOwner);
  6957. Result.API:=Self.API;
  6958. end;
  6959. { --------------------------------------------------------------------
  6960. TCloudloadingResource
  6961. --------------------------------------------------------------------}
  6962. Class Function TCloudloadingResource.ResourceName : String;
  6963. begin
  6964. Result:='cloudloading';
  6965. end;
  6966. Class Function TCloudloadingResource.DefaultAPI : TGoogleAPIClass;
  6967. begin
  6968. Result:=TbooksAPI;
  6969. end;
  6970. Function TCloudloadingResource.AddBook(AQuery : string = '') : TBooksCloudloadingResource;
  6971. Const
  6972. _HTTPMethod = 'POST';
  6973. _Path = 'cloudloading/addBook';
  6974. _Methodid = 'books.cloudloading.addBook';
  6975. begin
  6976. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TBooksCloudloadingResource) as TBooksCloudloadingResource;
  6977. end;
  6978. Function TCloudloadingResource.AddBook(AQuery : TCloudloadingaddBookOptions) : TBooksCloudloadingResource;
  6979. Var
  6980. _Q : String;
  6981. begin
  6982. _Q:='';
  6983. AddToQuery(_Q,'drive_document_id',AQuery.drive_document_id);
  6984. AddToQuery(_Q,'mime_type',AQuery.mime_type);
  6985. AddToQuery(_Q,'name',AQuery._name);
  6986. AddToQuery(_Q,'upload_client_token',AQuery.upload_client_token);
  6987. Result:=AddBook(_Q);
  6988. end;
  6989. Procedure TCloudloadingResource.DeleteBook(AQuery : string = '');
  6990. Const
  6991. _HTTPMethod = 'POST';
  6992. _Path = 'cloudloading/deleteBook';
  6993. _Methodid = 'books.cloudloading.deleteBook';
  6994. begin
  6995. ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
  6996. end;
  6997. Procedure TCloudloadingResource.DeleteBook(AQuery : TCloudloadingdeleteBookOptions);
  6998. Var
  6999. _Q : String;
  7000. begin
  7001. _Q:='';
  7002. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7003. DeleteBook(_Q);
  7004. end;
  7005. Function TCloudloadingResource.UpdateBook(aBooksCloudloadingResource : TBooksCloudloadingResource) : TBooksCloudloadingResource;
  7006. Const
  7007. _HTTPMethod = 'POST';
  7008. _Path = 'cloudloading/updateBook';
  7009. _Methodid = 'books.cloudloading.updateBook';
  7010. begin
  7011. Result:=ServiceCall(_HTTPMethod,_Path,'',aBooksCloudloadingResource,TBooksCloudloadingResource) as TBooksCloudloadingResource;
  7012. end;
  7013. { --------------------------------------------------------------------
  7014. TDictionaryResource
  7015. --------------------------------------------------------------------}
  7016. Class Function TDictionaryResource.ResourceName : String;
  7017. begin
  7018. Result:='dictionary';
  7019. end;
  7020. Class Function TDictionaryResource.DefaultAPI : TGoogleAPIClass;
  7021. begin
  7022. Result:=TbooksAPI;
  7023. end;
  7024. Function TDictionaryResource.ListOfflineMetadata(AQuery : string = '') : TMetadata;
  7025. Const
  7026. _HTTPMethod = 'GET';
  7027. _Path = 'dictionary/listOfflineMetadata';
  7028. _Methodid = 'books.dictionary.listOfflineMetadata';
  7029. begin
  7030. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TMetadata) as TMetadata;
  7031. end;
  7032. Function TDictionaryResource.ListOfflineMetadata(AQuery : TDictionarylistOfflineMetadataOptions) : TMetadata;
  7033. Var
  7034. _Q : String;
  7035. begin
  7036. _Q:='';
  7037. AddToQuery(_Q,'cpksver',AQuery.cpksver);
  7038. Result:=ListOfflineMetadata(_Q);
  7039. end;
  7040. { --------------------------------------------------------------------
  7041. TLayersAnnotationDataResource
  7042. --------------------------------------------------------------------}
  7043. Class Function TLayersAnnotationDataResource.ResourceName : String;
  7044. begin
  7045. Result:='annotationData';
  7046. end;
  7047. Class Function TLayersAnnotationDataResource.DefaultAPI : TGoogleAPIClass;
  7048. begin
  7049. Result:=TbooksAPI;
  7050. end;
  7051. Function TLayersAnnotationDataResource.Get(annotationDataId: string; layerId: string; volumeId: string; AQuery : string = '') : TAnnotationdata;
  7052. Const
  7053. _HTTPMethod = 'GET';
  7054. _Path = 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}';
  7055. _Methodid = 'books.layers.annotationData.get';
  7056. Var
  7057. _P : String;
  7058. begin
  7059. _P:=SubstitutePath(_Path,['annotationDataId',annotationDataId,'layerId',layerId,'volumeId',volumeId]);
  7060. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAnnotationdata) as TAnnotationdata;
  7061. end;
  7062. Function TLayersAnnotationDataResource.Get(annotationDataId: string; layerId: string; volumeId: string; AQuery : TLayersAnnotationDatagetOptions) : TAnnotationdata;
  7063. Var
  7064. _Q : String;
  7065. begin
  7066. _Q:='';
  7067. AddToQuery(_Q,'allowWebDefinitions',AQuery.allowWebDefinitions);
  7068. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7069. AddToQuery(_Q,'h',AQuery.h);
  7070. AddToQuery(_Q,'locale',AQuery.locale);
  7071. AddToQuery(_Q,'scale',AQuery.scale);
  7072. AddToQuery(_Q,'source',AQuery.source);
  7073. AddToQuery(_Q,'w',AQuery.w);
  7074. Result:=Get(annotationDataId,layerId,volumeId,_Q);
  7075. end;
  7076. Function TLayersAnnotationDataResource.List(layerId: string; volumeId: string; AQuery : string = '') : TAnnotationsdata;
  7077. Const
  7078. _HTTPMethod = 'GET';
  7079. _Path = 'volumes/{volumeId}/layers/{layerId}/data';
  7080. _Methodid = 'books.layers.annotationData.list';
  7081. Var
  7082. _P : String;
  7083. begin
  7084. _P:=SubstitutePath(_Path,['layerId',layerId,'volumeId',volumeId]);
  7085. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAnnotationsdata) as TAnnotationsdata;
  7086. end;
  7087. Function TLayersAnnotationDataResource.List(layerId: string; volumeId: string; AQuery : TLayersAnnotationDatalistOptions) : TAnnotationsdata;
  7088. Var
  7089. _Q : String;
  7090. begin
  7091. _Q:='';
  7092. AddToQuery(_Q,'annotationDataId',AQuery.annotationDataId);
  7093. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7094. AddToQuery(_Q,'h',AQuery.h);
  7095. AddToQuery(_Q,'locale',AQuery.locale);
  7096. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  7097. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  7098. AddToQuery(_Q,'scale',AQuery.scale);
  7099. AddToQuery(_Q,'source',AQuery.source);
  7100. AddToQuery(_Q,'updatedMax',AQuery.updatedMax);
  7101. AddToQuery(_Q,'updatedMin',AQuery.updatedMin);
  7102. AddToQuery(_Q,'w',AQuery.w);
  7103. Result:=List(layerId,volumeId,_Q);
  7104. end;
  7105. { --------------------------------------------------------------------
  7106. TLayersVolumeAnnotationsResource
  7107. --------------------------------------------------------------------}
  7108. Class Function TLayersVolumeAnnotationsResource.ResourceName : String;
  7109. begin
  7110. Result:='volumeAnnotations';
  7111. end;
  7112. Class Function TLayersVolumeAnnotationsResource.DefaultAPI : TGoogleAPIClass;
  7113. begin
  7114. Result:=TbooksAPI;
  7115. end;
  7116. Function TLayersVolumeAnnotationsResource.Get(annotationId: string; layerId: string; volumeId: string; AQuery : string = '') : TVolumeannotation;
  7117. Const
  7118. _HTTPMethod = 'GET';
  7119. _Path = 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}';
  7120. _Methodid = 'books.layers.volumeAnnotations.get';
  7121. Var
  7122. _P : String;
  7123. begin
  7124. _P:=SubstitutePath(_Path,['annotationId',annotationId,'layerId',layerId,'volumeId',volumeId]);
  7125. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVolumeannotation) as TVolumeannotation;
  7126. end;
  7127. Function TLayersVolumeAnnotationsResource.Get(annotationId: string; layerId: string; volumeId: string; AQuery : TLayersVolumeAnnotationsgetOptions) : TVolumeannotation;
  7128. Var
  7129. _Q : String;
  7130. begin
  7131. _Q:='';
  7132. AddToQuery(_Q,'locale',AQuery.locale);
  7133. AddToQuery(_Q,'source',AQuery.source);
  7134. Result:=Get(annotationId,layerId,volumeId,_Q);
  7135. end;
  7136. Function TLayersVolumeAnnotationsResource.List(layerId: string; volumeId: string; AQuery : string = '') : TVolumeannotations;
  7137. Const
  7138. _HTTPMethod = 'GET';
  7139. _Path = 'volumes/{volumeId}/layers/{layerId}';
  7140. _Methodid = 'books.layers.volumeAnnotations.list';
  7141. Var
  7142. _P : String;
  7143. begin
  7144. _P:=SubstitutePath(_Path,['layerId',layerId,'volumeId',volumeId]);
  7145. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVolumeannotations) as TVolumeannotations;
  7146. end;
  7147. Function TLayersVolumeAnnotationsResource.List(layerId: string; volumeId: string; AQuery : TLayersVolumeAnnotationslistOptions) : TVolumeannotations;
  7148. Var
  7149. _Q : String;
  7150. begin
  7151. _Q:='';
  7152. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7153. AddToQuery(_Q,'endOffset',AQuery.endOffset);
  7154. AddToQuery(_Q,'endPosition',AQuery.endPosition);
  7155. AddToQuery(_Q,'locale',AQuery.locale);
  7156. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  7157. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  7158. AddToQuery(_Q,'showDeleted',AQuery.showDeleted);
  7159. AddToQuery(_Q,'source',AQuery.source);
  7160. AddToQuery(_Q,'startOffset',AQuery.startOffset);
  7161. AddToQuery(_Q,'startPosition',AQuery.startPosition);
  7162. AddToQuery(_Q,'updatedMax',AQuery.updatedMax);
  7163. AddToQuery(_Q,'updatedMin',AQuery.updatedMin);
  7164. AddToQuery(_Q,'volumeAnnotationsVersion',AQuery.volumeAnnotationsVersion);
  7165. Result:=List(layerId,volumeId,_Q);
  7166. end;
  7167. { --------------------------------------------------------------------
  7168. TLayersResource
  7169. --------------------------------------------------------------------}
  7170. Class Function TLayersResource.ResourceName : String;
  7171. begin
  7172. Result:='layers';
  7173. end;
  7174. Class Function TLayersResource.DefaultAPI : TGoogleAPIClass;
  7175. begin
  7176. Result:=TbooksAPI;
  7177. end;
  7178. Function TLayersResource.Get(summaryId: string; volumeId: string; AQuery : string = '') : TLayersummary;
  7179. Const
  7180. _HTTPMethod = 'GET';
  7181. _Path = 'volumes/{volumeId}/layersummary/{summaryId}';
  7182. _Methodid = 'books.layers.get';
  7183. Var
  7184. _P : String;
  7185. begin
  7186. _P:=SubstitutePath(_Path,['summaryId',summaryId,'volumeId',volumeId]);
  7187. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TLayersummary) as TLayersummary;
  7188. end;
  7189. Function TLayersResource.Get(summaryId: string; volumeId: string; AQuery : TLayersgetOptions) : TLayersummary;
  7190. Var
  7191. _Q : String;
  7192. begin
  7193. _Q:='';
  7194. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7195. AddToQuery(_Q,'source',AQuery.source);
  7196. Result:=Get(summaryId,volumeId,_Q);
  7197. end;
  7198. Function TLayersResource.List(volumeId: string; AQuery : string = '') : TLayersummaries;
  7199. Const
  7200. _HTTPMethod = 'GET';
  7201. _Path = 'volumes/{volumeId}/layersummary';
  7202. _Methodid = 'books.layers.list';
  7203. Var
  7204. _P : String;
  7205. begin
  7206. _P:=SubstitutePath(_Path,['volumeId',volumeId]);
  7207. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TLayersummaries) as TLayersummaries;
  7208. end;
  7209. Function TLayersResource.List(volumeId: string; AQuery : TLayerslistOptions) : TLayersummaries;
  7210. Var
  7211. _Q : String;
  7212. begin
  7213. _Q:='';
  7214. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7215. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  7216. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  7217. AddToQuery(_Q,'source',AQuery.source);
  7218. Result:=List(volumeId,_Q);
  7219. end;
  7220. Function TLayersResource.GetAnnotationDataInstance : TLayersAnnotationDataResource;
  7221. begin
  7222. if (FAnnotationDataInstance=Nil) then
  7223. FAnnotationDataInstance:=CreateAnnotationDataResource;
  7224. Result:=FAnnotationDataInstance;
  7225. end;
  7226. Function TLayersResource.CreateAnnotationDataResource : TLayersAnnotationDataResource;
  7227. begin
  7228. Result:=CreateAnnotationDataResource(Self);
  7229. end;
  7230. Function TLayersResource.CreateAnnotationDataResource(AOwner : TComponent) : TLayersAnnotationDataResource;
  7231. begin
  7232. Result:=TLayersAnnotationDataResource.Create(AOwner);
  7233. Result.API:=Self.API;
  7234. end;
  7235. Function TLayersResource.GetVolumeAnnotationsInstance : TLayersVolumeAnnotationsResource;
  7236. begin
  7237. if (FVolumeAnnotationsInstance=Nil) then
  7238. FVolumeAnnotationsInstance:=CreateVolumeAnnotationsResource;
  7239. Result:=FVolumeAnnotationsInstance;
  7240. end;
  7241. Function TLayersResource.CreateVolumeAnnotationsResource : TLayersVolumeAnnotationsResource;
  7242. begin
  7243. Result:=CreateVolumeAnnotationsResource(Self);
  7244. end;
  7245. Function TLayersResource.CreateVolumeAnnotationsResource(AOwner : TComponent) : TLayersVolumeAnnotationsResource;
  7246. begin
  7247. Result:=TLayersVolumeAnnotationsResource.Create(AOwner);
  7248. Result.API:=Self.API;
  7249. end;
  7250. { --------------------------------------------------------------------
  7251. TMyconfigResource
  7252. --------------------------------------------------------------------}
  7253. Class Function TMyconfigResource.ResourceName : String;
  7254. begin
  7255. Result:='myconfig';
  7256. end;
  7257. Class Function TMyconfigResource.DefaultAPI : TGoogleAPIClass;
  7258. begin
  7259. Result:=TbooksAPI;
  7260. end;
  7261. Function TMyconfigResource.GetUserSettings : TUsersettings;
  7262. Const
  7263. _HTTPMethod = 'GET';
  7264. _Path = 'myconfig/getUserSettings';
  7265. _Methodid = 'books.myconfig.getUserSettings';
  7266. begin
  7267. Result:=ServiceCall(_HTTPMethod,_Path,'',Nil,TUsersettings) as TUsersettings;
  7268. end;
  7269. Function TMyconfigResource.ReleaseDownloadAccess(AQuery : string = '') : TDownloadAccesses;
  7270. Const
  7271. _HTTPMethod = 'POST';
  7272. _Path = 'myconfig/releaseDownloadAccess';
  7273. _Methodid = 'books.myconfig.releaseDownloadAccess';
  7274. begin
  7275. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TDownloadAccesses) as TDownloadAccesses;
  7276. end;
  7277. Function TMyconfigResource.ReleaseDownloadAccess(AQuery : TMyconfigreleaseDownloadAccessOptions) : TDownloadAccesses;
  7278. Var
  7279. _Q : String;
  7280. begin
  7281. _Q:='';
  7282. AddToQuery(_Q,'cpksver',AQuery.cpksver);
  7283. AddToQuery(_Q,'locale',AQuery.locale);
  7284. AddToQuery(_Q,'source',AQuery.source);
  7285. AddToQuery(_Q,'volumeIds',AQuery.volumeIds);
  7286. Result:=ReleaseDownloadAccess(_Q);
  7287. end;
  7288. Function TMyconfigResource.RequestAccess(AQuery : string = '') : TRequestAccess;
  7289. Const
  7290. _HTTPMethod = 'POST';
  7291. _Path = 'myconfig/requestAccess';
  7292. _Methodid = 'books.myconfig.requestAccess';
  7293. begin
  7294. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TRequestAccess) as TRequestAccess;
  7295. end;
  7296. Function TMyconfigResource.RequestAccess(AQuery : TMyconfigrequestAccessOptions) : TRequestAccess;
  7297. Var
  7298. _Q : String;
  7299. begin
  7300. _Q:='';
  7301. AddToQuery(_Q,'cpksver',AQuery.cpksver);
  7302. AddToQuery(_Q,'licenseTypes',AQuery.licenseTypes);
  7303. AddToQuery(_Q,'locale',AQuery.locale);
  7304. AddToQuery(_Q,'nonce',AQuery.nonce);
  7305. AddToQuery(_Q,'source',AQuery.source);
  7306. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7307. Result:=RequestAccess(_Q);
  7308. end;
  7309. Function TMyconfigResource.SyncVolumeLicenses(AQuery : string = '') : TVolumes;
  7310. Const
  7311. _HTTPMethod = 'POST';
  7312. _Path = 'myconfig/syncVolumeLicenses';
  7313. _Methodid = 'books.myconfig.syncVolumeLicenses';
  7314. begin
  7315. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVolumes) as TVolumes;
  7316. end;
  7317. Function TMyconfigResource.SyncVolumeLicenses(AQuery : TMyconfigsyncVolumeLicensesOptions) : TVolumes;
  7318. Var
  7319. _Q : String;
  7320. begin
  7321. _Q:='';
  7322. AddToQuery(_Q,'cpksver',AQuery.cpksver);
  7323. AddToQuery(_Q,'features',AQuery.features);
  7324. AddToQuery(_Q,'includeNonComicsSeries',AQuery.includeNonComicsSeries);
  7325. AddToQuery(_Q,'locale',AQuery.locale);
  7326. AddToQuery(_Q,'nonce',AQuery.nonce);
  7327. AddToQuery(_Q,'showPreorders',AQuery.showPreorders);
  7328. AddToQuery(_Q,'source',AQuery.source);
  7329. AddToQuery(_Q,'volumeIds',AQuery.volumeIds);
  7330. Result:=SyncVolumeLicenses(_Q);
  7331. end;
  7332. Function TMyconfigResource.UpdateUserSettings(aUsersettings : TUsersettings) : TUsersettings;
  7333. Const
  7334. _HTTPMethod = 'POST';
  7335. _Path = 'myconfig/updateUserSettings';
  7336. _Methodid = 'books.myconfig.updateUserSettings';
  7337. begin
  7338. Result:=ServiceCall(_HTTPMethod,_Path,'',aUsersettings,TUsersettings) as TUsersettings;
  7339. end;
  7340. { --------------------------------------------------------------------
  7341. TMylibraryAnnotationsResource
  7342. --------------------------------------------------------------------}
  7343. Class Function TMylibraryAnnotationsResource.ResourceName : String;
  7344. begin
  7345. Result:='annotations';
  7346. end;
  7347. Class Function TMylibraryAnnotationsResource.DefaultAPI : TGoogleAPIClass;
  7348. begin
  7349. Result:=TbooksAPI;
  7350. end;
  7351. Procedure TMylibraryAnnotationsResource.Delete(annotationId: string; AQuery : string = '');
  7352. Const
  7353. _HTTPMethod = 'DELETE';
  7354. _Path = 'mylibrary/annotations/{annotationId}';
  7355. _Methodid = 'books.mylibrary.annotations.delete';
  7356. Var
  7357. _P : String;
  7358. begin
  7359. _P:=SubstitutePath(_Path,['annotationId',annotationId]);
  7360. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  7361. end;
  7362. Procedure TMylibraryAnnotationsResource.Delete(annotationId: string; AQuery : TMylibraryAnnotationsdeleteOptions);
  7363. Var
  7364. _Q : String;
  7365. begin
  7366. _Q:='';
  7367. AddToQuery(_Q,'source',AQuery.source);
  7368. Delete(annotationId,_Q);
  7369. end;
  7370. Function TMylibraryAnnotationsResource.Insert(aAnnotation : TAnnotation; AQuery : string = '') : TAnnotation;
  7371. Const
  7372. _HTTPMethod = 'POST';
  7373. _Path = 'mylibrary/annotations';
  7374. _Methodid = 'books.mylibrary.annotations.insert';
  7375. begin
  7376. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aAnnotation,TAnnotation) as TAnnotation;
  7377. end;
  7378. Function TMylibraryAnnotationsResource.Insert(aAnnotation : TAnnotation; AQuery : TMylibraryAnnotationsinsertOptions) : TAnnotation;
  7379. Var
  7380. _Q : String;
  7381. begin
  7382. _Q:='';
  7383. AddToQuery(_Q,'country',AQuery.country);
  7384. AddToQuery(_Q,'showOnlySummaryInResponse',AQuery.showOnlySummaryInResponse);
  7385. AddToQuery(_Q,'source',AQuery.source);
  7386. Result:=Insert(aAnnotation,_Q);
  7387. end;
  7388. Function TMylibraryAnnotationsResource.List(AQuery : string = '') : TAnnotations;
  7389. Const
  7390. _HTTPMethod = 'GET';
  7391. _Path = 'mylibrary/annotations';
  7392. _Methodid = 'books.mylibrary.annotations.list';
  7393. begin
  7394. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TAnnotations) as TAnnotations;
  7395. end;
  7396. Function TMylibraryAnnotationsResource.List(AQuery : TMylibraryAnnotationslistOptions) : TAnnotations;
  7397. Var
  7398. _Q : String;
  7399. begin
  7400. _Q:='';
  7401. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7402. AddToQuery(_Q,'layerId',AQuery.layerId);
  7403. AddToQuery(_Q,'layerIds',AQuery.layerIds);
  7404. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  7405. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  7406. AddToQuery(_Q,'showDeleted',AQuery.showDeleted);
  7407. AddToQuery(_Q,'source',AQuery.source);
  7408. AddToQuery(_Q,'updatedMax',AQuery.updatedMax);
  7409. AddToQuery(_Q,'updatedMin',AQuery.updatedMin);
  7410. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7411. Result:=List(_Q);
  7412. end;
  7413. Function TMylibraryAnnotationsResource.Summary(AQuery : string = '') : TAnnotationsSummary;
  7414. Const
  7415. _HTTPMethod = 'POST';
  7416. _Path = 'mylibrary/annotations/summary';
  7417. _Methodid = 'books.mylibrary.annotations.summary';
  7418. begin
  7419. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TAnnotationsSummary) as TAnnotationsSummary;
  7420. end;
  7421. Function TMylibraryAnnotationsResource.Summary(AQuery : TMylibraryAnnotationssummaryOptions) : TAnnotationsSummary;
  7422. Var
  7423. _Q : String;
  7424. begin
  7425. _Q:='';
  7426. AddToQuery(_Q,'layerIds',AQuery.layerIds);
  7427. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7428. Result:=Summary(_Q);
  7429. end;
  7430. Function TMylibraryAnnotationsResource.Update(annotationId: string; aAnnotation : TAnnotation; AQuery : string = '') : TAnnotation;
  7431. Const
  7432. _HTTPMethod = 'PUT';
  7433. _Path = 'mylibrary/annotations/{annotationId}';
  7434. _Methodid = 'books.mylibrary.annotations.update';
  7435. Var
  7436. _P : String;
  7437. begin
  7438. _P:=SubstitutePath(_Path,['annotationId',annotationId]);
  7439. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAnnotation,TAnnotation) as TAnnotation;
  7440. end;
  7441. Function TMylibraryAnnotationsResource.Update(annotationId: string; aAnnotation : TAnnotation; AQuery : TMylibraryAnnotationsupdateOptions) : TAnnotation;
  7442. Var
  7443. _Q : String;
  7444. begin
  7445. _Q:='';
  7446. AddToQuery(_Q,'source',AQuery.source);
  7447. Result:=Update(annotationId,aAnnotation,_Q);
  7448. end;
  7449. { --------------------------------------------------------------------
  7450. TMylibraryBookshelvesVolumesResource
  7451. --------------------------------------------------------------------}
  7452. Class Function TMylibraryBookshelvesVolumesResource.ResourceName : String;
  7453. begin
  7454. Result:='volumes';
  7455. end;
  7456. Class Function TMylibraryBookshelvesVolumesResource.DefaultAPI : TGoogleAPIClass;
  7457. begin
  7458. Result:=TbooksAPI;
  7459. end;
  7460. Function TMylibraryBookshelvesVolumesResource.List(shelf: string; AQuery : string = '') : TVolumes;
  7461. Const
  7462. _HTTPMethod = 'GET';
  7463. _Path = 'mylibrary/bookshelves/{shelf}/volumes';
  7464. _Methodid = 'books.mylibrary.bookshelves.volumes.list';
  7465. Var
  7466. _P : String;
  7467. begin
  7468. _P:=SubstitutePath(_Path,['shelf',shelf]);
  7469. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVolumes) as TVolumes;
  7470. end;
  7471. Function TMylibraryBookshelvesVolumesResource.List(shelf: string; AQuery : TMylibraryBookshelvesVolumeslistOptions) : TVolumes;
  7472. Var
  7473. _Q : String;
  7474. begin
  7475. _Q:='';
  7476. AddToQuery(_Q,'country',AQuery.country);
  7477. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  7478. AddToQuery(_Q,'projection',AQuery.projection);
  7479. AddToQuery(_Q,'q',AQuery.q);
  7480. AddToQuery(_Q,'showPreorders',AQuery.showPreorders);
  7481. AddToQuery(_Q,'source',AQuery.source);
  7482. AddToQuery(_Q,'startIndex',AQuery.startIndex);
  7483. Result:=List(shelf,_Q);
  7484. end;
  7485. { --------------------------------------------------------------------
  7486. TMylibraryBookshelvesResource
  7487. --------------------------------------------------------------------}
  7488. Class Function TMylibraryBookshelvesResource.ResourceName : String;
  7489. begin
  7490. Result:='bookshelves';
  7491. end;
  7492. Class Function TMylibraryBookshelvesResource.DefaultAPI : TGoogleAPIClass;
  7493. begin
  7494. Result:=TbooksAPI;
  7495. end;
  7496. Procedure TMylibraryBookshelvesResource.AddVolume(shelf: string; AQuery : string = '');
  7497. Const
  7498. _HTTPMethod = 'POST';
  7499. _Path = 'mylibrary/bookshelves/{shelf}/addVolume';
  7500. _Methodid = 'books.mylibrary.bookshelves.addVolume';
  7501. Var
  7502. _P : String;
  7503. begin
  7504. _P:=SubstitutePath(_Path,['shelf',shelf]);
  7505. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  7506. end;
  7507. Procedure TMylibraryBookshelvesResource.AddVolume(shelf: string; AQuery : TMylibraryBookshelvesaddVolumeOptions);
  7508. Var
  7509. _Q : String;
  7510. begin
  7511. _Q:='';
  7512. AddToQuery(_Q,'reason',AQuery.reason);
  7513. AddToQuery(_Q,'source',AQuery.source);
  7514. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7515. AddVolume(shelf,_Q);
  7516. end;
  7517. Procedure TMylibraryBookshelvesResource.ClearVolumes(shelf: string; AQuery : string = '');
  7518. Const
  7519. _HTTPMethod = 'POST';
  7520. _Path = 'mylibrary/bookshelves/{shelf}/clearVolumes';
  7521. _Methodid = 'books.mylibrary.bookshelves.clearVolumes';
  7522. Var
  7523. _P : String;
  7524. begin
  7525. _P:=SubstitutePath(_Path,['shelf',shelf]);
  7526. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  7527. end;
  7528. Procedure TMylibraryBookshelvesResource.ClearVolumes(shelf: string; AQuery : TMylibraryBookshelvesclearVolumesOptions);
  7529. Var
  7530. _Q : String;
  7531. begin
  7532. _Q:='';
  7533. AddToQuery(_Q,'source',AQuery.source);
  7534. ClearVolumes(shelf,_Q);
  7535. end;
  7536. Function TMylibraryBookshelvesResource.Get(shelf: string; AQuery : string = '') : TBookshelf;
  7537. Const
  7538. _HTTPMethod = 'GET';
  7539. _Path = 'mylibrary/bookshelves/{shelf}';
  7540. _Methodid = 'books.mylibrary.bookshelves.get';
  7541. Var
  7542. _P : String;
  7543. begin
  7544. _P:=SubstitutePath(_Path,['shelf',shelf]);
  7545. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TBookshelf) as TBookshelf;
  7546. end;
  7547. Function TMylibraryBookshelvesResource.Get(shelf: string; AQuery : TMylibraryBookshelvesgetOptions) : TBookshelf;
  7548. Var
  7549. _Q : String;
  7550. begin
  7551. _Q:='';
  7552. AddToQuery(_Q,'source',AQuery.source);
  7553. Result:=Get(shelf,_Q);
  7554. end;
  7555. Function TMylibraryBookshelvesResource.List(AQuery : string = '') : TBookshelves;
  7556. Const
  7557. _HTTPMethod = 'GET';
  7558. _Path = 'mylibrary/bookshelves';
  7559. _Methodid = 'books.mylibrary.bookshelves.list';
  7560. begin
  7561. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TBookshelves) as TBookshelves;
  7562. end;
  7563. Function TMylibraryBookshelvesResource.List(AQuery : TMylibraryBookshelveslistOptions) : TBookshelves;
  7564. Var
  7565. _Q : String;
  7566. begin
  7567. _Q:='';
  7568. AddToQuery(_Q,'source',AQuery.source);
  7569. Result:=List(_Q);
  7570. end;
  7571. Procedure TMylibraryBookshelvesResource.MoveVolume(shelf: string; AQuery : string = '');
  7572. Const
  7573. _HTTPMethod = 'POST';
  7574. _Path = 'mylibrary/bookshelves/{shelf}/moveVolume';
  7575. _Methodid = 'books.mylibrary.bookshelves.moveVolume';
  7576. Var
  7577. _P : String;
  7578. begin
  7579. _P:=SubstitutePath(_Path,['shelf',shelf]);
  7580. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  7581. end;
  7582. Procedure TMylibraryBookshelvesResource.MoveVolume(shelf: string; AQuery : TMylibraryBookshelvesmoveVolumeOptions);
  7583. Var
  7584. _Q : String;
  7585. begin
  7586. _Q:='';
  7587. AddToQuery(_Q,'source',AQuery.source);
  7588. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7589. AddToQuery(_Q,'volumePosition',AQuery.volumePosition);
  7590. MoveVolume(shelf,_Q);
  7591. end;
  7592. Procedure TMylibraryBookshelvesResource.RemoveVolume(shelf: string; AQuery : string = '');
  7593. Const
  7594. _HTTPMethod = 'POST';
  7595. _Path = 'mylibrary/bookshelves/{shelf}/removeVolume';
  7596. _Methodid = 'books.mylibrary.bookshelves.removeVolume';
  7597. Var
  7598. _P : String;
  7599. begin
  7600. _P:=SubstitutePath(_Path,['shelf',shelf]);
  7601. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  7602. end;
  7603. Procedure TMylibraryBookshelvesResource.RemoveVolume(shelf: string; AQuery : TMylibraryBookshelvesremoveVolumeOptions);
  7604. Var
  7605. _Q : String;
  7606. begin
  7607. _Q:='';
  7608. AddToQuery(_Q,'reason',AQuery.reason);
  7609. AddToQuery(_Q,'source',AQuery.source);
  7610. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7611. RemoveVolume(shelf,_Q);
  7612. end;
  7613. Function TMylibraryBookshelvesResource.GetVolumesInstance : TMylibraryBookshelvesVolumesResource;
  7614. begin
  7615. if (FVolumesInstance=Nil) then
  7616. FVolumesInstance:=CreateVolumesResource;
  7617. Result:=FVolumesInstance;
  7618. end;
  7619. Function TMylibraryBookshelvesResource.CreateVolumesResource : TMylibraryBookshelvesVolumesResource;
  7620. begin
  7621. Result:=CreateVolumesResource(Self);
  7622. end;
  7623. Function TMylibraryBookshelvesResource.CreateVolumesResource(AOwner : TComponent) : TMylibraryBookshelvesVolumesResource;
  7624. begin
  7625. Result:=TMylibraryBookshelvesVolumesResource.Create(AOwner);
  7626. Result.API:=Self.API;
  7627. end;
  7628. { --------------------------------------------------------------------
  7629. TMylibraryReadingpositionsResource
  7630. --------------------------------------------------------------------}
  7631. Class Function TMylibraryReadingpositionsResource.ResourceName : String;
  7632. begin
  7633. Result:='readingpositions';
  7634. end;
  7635. Class Function TMylibraryReadingpositionsResource.DefaultAPI : TGoogleAPIClass;
  7636. begin
  7637. Result:=TbooksAPI;
  7638. end;
  7639. Function TMylibraryReadingpositionsResource.Get(volumeId: string; AQuery : string = '') : TReadingPosition;
  7640. Const
  7641. _HTTPMethod = 'GET';
  7642. _Path = 'mylibrary/readingpositions/{volumeId}';
  7643. _Methodid = 'books.mylibrary.readingpositions.get';
  7644. Var
  7645. _P : String;
  7646. begin
  7647. _P:=SubstitutePath(_Path,['volumeId',volumeId]);
  7648. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TReadingPosition) as TReadingPosition;
  7649. end;
  7650. Function TMylibraryReadingpositionsResource.Get(volumeId: string; AQuery : TMylibraryReadingpositionsgetOptions) : TReadingPosition;
  7651. Var
  7652. _Q : String;
  7653. begin
  7654. _Q:='';
  7655. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7656. AddToQuery(_Q,'source',AQuery.source);
  7657. Result:=Get(volumeId,_Q);
  7658. end;
  7659. Procedure TMylibraryReadingpositionsResource.SetPosition(volumeId: string; AQuery : string = '');
  7660. Const
  7661. _HTTPMethod = 'POST';
  7662. _Path = 'mylibrary/readingpositions/{volumeId}/setPosition';
  7663. _Methodid = 'books.mylibrary.readingpositions.setPosition';
  7664. Var
  7665. _P : String;
  7666. begin
  7667. _P:=SubstitutePath(_Path,['volumeId',volumeId]);
  7668. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  7669. end;
  7670. Procedure TMylibraryReadingpositionsResource.SetPosition(volumeId: string; AQuery : TMylibraryReadingpositionssetPositionOptions);
  7671. Var
  7672. _Q : String;
  7673. begin
  7674. _Q:='';
  7675. AddToQuery(_Q,'action',AQuery.action);
  7676. AddToQuery(_Q,'contentVersion',AQuery.contentVersion);
  7677. AddToQuery(_Q,'deviceCookie',AQuery.deviceCookie);
  7678. AddToQuery(_Q,'position',AQuery.position);
  7679. AddToQuery(_Q,'source',AQuery.source);
  7680. AddToQuery(_Q,'timestamp',AQuery.timestamp);
  7681. SetPosition(volumeId,_Q);
  7682. end;
  7683. { --------------------------------------------------------------------
  7684. TMylibraryResource
  7685. --------------------------------------------------------------------}
  7686. Class Function TMylibraryResource.ResourceName : String;
  7687. begin
  7688. Result:='mylibrary';
  7689. end;
  7690. Class Function TMylibraryResource.DefaultAPI : TGoogleAPIClass;
  7691. begin
  7692. Result:=TbooksAPI;
  7693. end;
  7694. Function TMylibraryResource.GetAnnotationsInstance : TMylibraryAnnotationsResource;
  7695. begin
  7696. if (FAnnotationsInstance=Nil) then
  7697. FAnnotationsInstance:=CreateAnnotationsResource;
  7698. Result:=FAnnotationsInstance;
  7699. end;
  7700. Function TMylibraryResource.CreateAnnotationsResource : TMylibraryAnnotationsResource;
  7701. begin
  7702. Result:=CreateAnnotationsResource(Self);
  7703. end;
  7704. Function TMylibraryResource.CreateAnnotationsResource(AOwner : TComponent) : TMylibraryAnnotationsResource;
  7705. begin
  7706. Result:=TMylibraryAnnotationsResource.Create(AOwner);
  7707. Result.API:=Self.API;
  7708. end;
  7709. Function TMylibraryResource.GetBookshelvesVolumesInstance : TMylibraryBookshelvesVolumesResource;
  7710. begin
  7711. if (FBookshelvesVolumesInstance=Nil) then
  7712. FBookshelvesVolumesInstance:=CreateBookshelvesVolumesResource;
  7713. Result:=FBookshelvesVolumesInstance;
  7714. end;
  7715. Function TMylibraryResource.CreateBookshelvesVolumesResource : TMylibraryBookshelvesVolumesResource;
  7716. begin
  7717. Result:=CreateBookshelvesVolumesResource(Self);
  7718. end;
  7719. Function TMylibraryResource.CreateBookshelvesVolumesResource(AOwner : TComponent) : TMylibraryBookshelvesVolumesResource;
  7720. begin
  7721. Result:=TMylibraryBookshelvesVolumesResource.Create(AOwner);
  7722. Result.API:=Self.API;
  7723. end;
  7724. Function TMylibraryResource.GetBookshelvesInstance : TMylibraryBookshelvesResource;
  7725. begin
  7726. if (FBookshelvesInstance=Nil) then
  7727. FBookshelvesInstance:=CreateBookshelvesResource;
  7728. Result:=FBookshelvesInstance;
  7729. end;
  7730. Function TMylibraryResource.CreateBookshelvesResource : TMylibraryBookshelvesResource;
  7731. begin
  7732. Result:=CreateBookshelvesResource(Self);
  7733. end;
  7734. Function TMylibraryResource.CreateBookshelvesResource(AOwner : TComponent) : TMylibraryBookshelvesResource;
  7735. begin
  7736. Result:=TMylibraryBookshelvesResource.Create(AOwner);
  7737. Result.API:=Self.API;
  7738. end;
  7739. Function TMylibraryResource.GetReadingpositionsInstance : TMylibraryReadingpositionsResource;
  7740. begin
  7741. if (FReadingpositionsInstance=Nil) then
  7742. FReadingpositionsInstance:=CreateReadingpositionsResource;
  7743. Result:=FReadingpositionsInstance;
  7744. end;
  7745. Function TMylibraryResource.CreateReadingpositionsResource : TMylibraryReadingpositionsResource;
  7746. begin
  7747. Result:=CreateReadingpositionsResource(Self);
  7748. end;
  7749. Function TMylibraryResource.CreateReadingpositionsResource(AOwner : TComponent) : TMylibraryReadingpositionsResource;
  7750. begin
  7751. Result:=TMylibraryReadingpositionsResource.Create(AOwner);
  7752. Result.API:=Self.API;
  7753. end;
  7754. { --------------------------------------------------------------------
  7755. TNotificationResource
  7756. --------------------------------------------------------------------}
  7757. Class Function TNotificationResource.ResourceName : String;
  7758. begin
  7759. Result:='notification';
  7760. end;
  7761. Class Function TNotificationResource.DefaultAPI : TGoogleAPIClass;
  7762. begin
  7763. Result:=TbooksAPI;
  7764. end;
  7765. Function TNotificationResource.Get(AQuery : string = '') : TNotification;
  7766. Const
  7767. _HTTPMethod = 'GET';
  7768. _Path = 'notification/get';
  7769. _Methodid = 'books.notification.get';
  7770. begin
  7771. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TNotification) as TNotification;
  7772. end;
  7773. Function TNotificationResource.Get(AQuery : TNotificationgetOptions) : TNotification;
  7774. Var
  7775. _Q : String;
  7776. begin
  7777. _Q:='';
  7778. AddToQuery(_Q,'locale',AQuery.locale);
  7779. AddToQuery(_Q,'notification_id',AQuery.notification_id);
  7780. AddToQuery(_Q,'source',AQuery.source);
  7781. Result:=Get(_Q);
  7782. end;
  7783. { --------------------------------------------------------------------
  7784. TOnboardingResource
  7785. --------------------------------------------------------------------}
  7786. Class Function TOnboardingResource.ResourceName : String;
  7787. begin
  7788. Result:='onboarding';
  7789. end;
  7790. Class Function TOnboardingResource.DefaultAPI : TGoogleAPIClass;
  7791. begin
  7792. Result:=TbooksAPI;
  7793. end;
  7794. Function TOnboardingResource.ListCategories(AQuery : string = '') : TCategory;
  7795. Const
  7796. _HTTPMethod = 'GET';
  7797. _Path = 'onboarding/listCategories';
  7798. _Methodid = 'books.onboarding.listCategories';
  7799. begin
  7800. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TCategory) as TCategory;
  7801. end;
  7802. Function TOnboardingResource.ListCategories(AQuery : TOnboardinglistCategoriesOptions) : TCategory;
  7803. Var
  7804. _Q : String;
  7805. begin
  7806. _Q:='';
  7807. AddToQuery(_Q,'locale',AQuery.locale);
  7808. Result:=ListCategories(_Q);
  7809. end;
  7810. Function TOnboardingResource.ListCategoryVolumes(AQuery : string = '') : TVolume2;
  7811. Const
  7812. _HTTPMethod = 'GET';
  7813. _Path = 'onboarding/listCategoryVolumes';
  7814. _Methodid = 'books.onboarding.listCategoryVolumes';
  7815. begin
  7816. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVolume2) as TVolume2;
  7817. end;
  7818. Function TOnboardingResource.ListCategoryVolumes(AQuery : TOnboardinglistCategoryVolumesOptions) : TVolume2;
  7819. Var
  7820. _Q : String;
  7821. begin
  7822. _Q:='';
  7823. AddToQuery(_Q,'categoryId',AQuery.categoryId);
  7824. AddToQuery(_Q,'locale',AQuery.locale);
  7825. AddToQuery(_Q,'maxAllowedMaturityRating',AQuery.maxAllowedMaturityRating);
  7826. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  7827. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  7828. Result:=ListCategoryVolumes(_Q);
  7829. end;
  7830. { --------------------------------------------------------------------
  7831. TPersonalizedstreamResource
  7832. --------------------------------------------------------------------}
  7833. Class Function TPersonalizedstreamResource.ResourceName : String;
  7834. begin
  7835. Result:='personalizedstream';
  7836. end;
  7837. Class Function TPersonalizedstreamResource.DefaultAPI : TGoogleAPIClass;
  7838. begin
  7839. Result:=TbooksAPI;
  7840. end;
  7841. Function TPersonalizedstreamResource.Get(AQuery : string = '') : TDiscoveryclusters;
  7842. Const
  7843. _HTTPMethod = 'GET';
  7844. _Path = 'personalizedstream/get';
  7845. _Methodid = 'books.personalizedstream.get';
  7846. begin
  7847. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TDiscoveryclusters) as TDiscoveryclusters;
  7848. end;
  7849. Function TPersonalizedstreamResource.Get(AQuery : TPersonalizedstreamgetOptions) : TDiscoveryclusters;
  7850. Var
  7851. _Q : String;
  7852. begin
  7853. _Q:='';
  7854. AddToQuery(_Q,'locale',AQuery.locale);
  7855. AddToQuery(_Q,'maxAllowedMaturityRating',AQuery.maxAllowedMaturityRating);
  7856. AddToQuery(_Q,'source',AQuery.source);
  7857. Result:=Get(_Q);
  7858. end;
  7859. { --------------------------------------------------------------------
  7860. TPromoofferResource
  7861. --------------------------------------------------------------------}
  7862. Class Function TPromoofferResource.ResourceName : String;
  7863. begin
  7864. Result:='promooffer';
  7865. end;
  7866. Class Function TPromoofferResource.DefaultAPI : TGoogleAPIClass;
  7867. begin
  7868. Result:=TbooksAPI;
  7869. end;
  7870. Procedure TPromoofferResource.Accept(AQuery : string = '');
  7871. Const
  7872. _HTTPMethod = 'POST';
  7873. _Path = 'promooffer/accept';
  7874. _Methodid = 'books.promooffer.accept';
  7875. begin
  7876. ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
  7877. end;
  7878. Procedure TPromoofferResource.Accept(AQuery : TPromoofferacceptOptions);
  7879. Var
  7880. _Q : String;
  7881. begin
  7882. _Q:='';
  7883. AddToQuery(_Q,'androidId',AQuery.androidId);
  7884. AddToQuery(_Q,'device',AQuery.device);
  7885. AddToQuery(_Q,'manufacturer',AQuery.manufacturer);
  7886. AddToQuery(_Q,'model',AQuery.model);
  7887. AddToQuery(_Q,'offerId',AQuery.offerId);
  7888. AddToQuery(_Q,'product',AQuery.product);
  7889. AddToQuery(_Q,'serial',AQuery.serial);
  7890. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  7891. Accept(_Q);
  7892. end;
  7893. Procedure TPromoofferResource.Dismiss(AQuery : string = '');
  7894. Const
  7895. _HTTPMethod = 'POST';
  7896. _Path = 'promooffer/dismiss';
  7897. _Methodid = 'books.promooffer.dismiss';
  7898. begin
  7899. ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
  7900. end;
  7901. Procedure TPromoofferResource.Dismiss(AQuery : TPromoofferdismissOptions);
  7902. Var
  7903. _Q : String;
  7904. begin
  7905. _Q:='';
  7906. AddToQuery(_Q,'androidId',AQuery.androidId);
  7907. AddToQuery(_Q,'device',AQuery.device);
  7908. AddToQuery(_Q,'manufacturer',AQuery.manufacturer);
  7909. AddToQuery(_Q,'model',AQuery.model);
  7910. AddToQuery(_Q,'offerId',AQuery.offerId);
  7911. AddToQuery(_Q,'product',AQuery.product);
  7912. AddToQuery(_Q,'serial',AQuery.serial);
  7913. Dismiss(_Q);
  7914. end;
  7915. Function TPromoofferResource.Get(AQuery : string = '') : TOffers;
  7916. Const
  7917. _HTTPMethod = 'GET';
  7918. _Path = 'promooffer/get';
  7919. _Methodid = 'books.promooffer.get';
  7920. begin
  7921. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TOffers) as TOffers;
  7922. end;
  7923. Function TPromoofferResource.Get(AQuery : TPromooffergetOptions) : TOffers;
  7924. Var
  7925. _Q : String;
  7926. begin
  7927. _Q:='';
  7928. AddToQuery(_Q,'androidId',AQuery.androidId);
  7929. AddToQuery(_Q,'device',AQuery.device);
  7930. AddToQuery(_Q,'manufacturer',AQuery.manufacturer);
  7931. AddToQuery(_Q,'model',AQuery.model);
  7932. AddToQuery(_Q,'product',AQuery.product);
  7933. AddToQuery(_Q,'serial',AQuery.serial);
  7934. Result:=Get(_Q);
  7935. end;
  7936. { --------------------------------------------------------------------
  7937. TSeriesMembershipResource
  7938. --------------------------------------------------------------------}
  7939. Class Function TSeriesMembershipResource.ResourceName : String;
  7940. begin
  7941. Result:='membership';
  7942. end;
  7943. Class Function TSeriesMembershipResource.DefaultAPI : TGoogleAPIClass;
  7944. begin
  7945. Result:=TbooksAPI;
  7946. end;
  7947. Function TSeriesMembershipResource.Get(AQuery : string = '') : TSeriesmembership;
  7948. Const
  7949. _HTTPMethod = 'GET';
  7950. _Path = 'series/membership/get';
  7951. _Methodid = 'books.series.membership.get';
  7952. begin
  7953. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TSeriesmembership) as TSeriesmembership;
  7954. end;
  7955. Function TSeriesMembershipResource.Get(AQuery : TSeriesMembershipgetOptions) : TSeriesmembership;
  7956. Var
  7957. _Q : String;
  7958. begin
  7959. _Q:='';
  7960. AddToQuery(_Q,'page_size',AQuery.page_size);
  7961. AddToQuery(_Q,'page_token',AQuery.page_token);
  7962. AddToQuery(_Q,'series_id',AQuery.series_id);
  7963. Result:=Get(_Q);
  7964. end;
  7965. { --------------------------------------------------------------------
  7966. TSeriesResource
  7967. --------------------------------------------------------------------}
  7968. Class Function TSeriesResource.ResourceName : String;
  7969. begin
  7970. Result:='series';
  7971. end;
  7972. Class Function TSeriesResource.DefaultAPI : TGoogleAPIClass;
  7973. begin
  7974. Result:=TbooksAPI;
  7975. end;
  7976. Function TSeriesResource.Get(AQuery : string = '') : TSeries;
  7977. Const
  7978. _HTTPMethod = 'GET';
  7979. _Path = 'series/get';
  7980. _Methodid = 'books.series.get';
  7981. begin
  7982. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TSeries) as TSeries;
  7983. end;
  7984. Function TSeriesResource.Get(AQuery : TSeriesgetOptions) : TSeries;
  7985. Var
  7986. _Q : String;
  7987. begin
  7988. _Q:='';
  7989. AddToQuery(_Q,'series_id',AQuery.series_id);
  7990. Result:=Get(_Q);
  7991. end;
  7992. Function TSeriesResource.GetMembershipInstance : TSeriesMembershipResource;
  7993. begin
  7994. if (FMembershipInstance=Nil) then
  7995. FMembershipInstance:=CreateMembershipResource;
  7996. Result:=FMembershipInstance;
  7997. end;
  7998. Function TSeriesResource.CreateMembershipResource : TSeriesMembershipResource;
  7999. begin
  8000. Result:=CreateMembershipResource(Self);
  8001. end;
  8002. Function TSeriesResource.CreateMembershipResource(AOwner : TComponent) : TSeriesMembershipResource;
  8003. begin
  8004. Result:=TSeriesMembershipResource.Create(AOwner);
  8005. Result.API:=Self.API;
  8006. end;
  8007. { --------------------------------------------------------------------
  8008. TVolumesAssociatedResource
  8009. --------------------------------------------------------------------}
  8010. Class Function TVolumesAssociatedResource.ResourceName : String;
  8011. begin
  8012. Result:='associated';
  8013. end;
  8014. Class Function TVolumesAssociatedResource.DefaultAPI : TGoogleAPIClass;
  8015. begin
  8016. Result:=TbooksAPI;
  8017. end;
  8018. Function TVolumesAssociatedResource.List(volumeId: string; AQuery : string = '') : TVolumes;
  8019. Const
  8020. _HTTPMethod = 'GET';
  8021. _Path = 'volumes/{volumeId}/associated';
  8022. _Methodid = 'books.volumes.associated.list';
  8023. Var
  8024. _P : String;
  8025. begin
  8026. _P:=SubstitutePath(_Path,['volumeId',volumeId]);
  8027. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVolumes) as TVolumes;
  8028. end;
  8029. Function TVolumesAssociatedResource.List(volumeId: string; AQuery : TVolumesAssociatedlistOptions) : TVolumes;
  8030. Var
  8031. _Q : String;
  8032. begin
  8033. _Q:='';
  8034. AddToQuery(_Q,'association',AQuery.association);
  8035. AddToQuery(_Q,'locale',AQuery.locale);
  8036. AddToQuery(_Q,'maxAllowedMaturityRating',AQuery.maxAllowedMaturityRating);
  8037. AddToQuery(_Q,'source',AQuery.source);
  8038. Result:=List(volumeId,_Q);
  8039. end;
  8040. { --------------------------------------------------------------------
  8041. TVolumesMybooksResource
  8042. --------------------------------------------------------------------}
  8043. Class Function TVolumesMybooksResource.ResourceName : String;
  8044. begin
  8045. Result:='mybooks';
  8046. end;
  8047. Class Function TVolumesMybooksResource.DefaultAPI : TGoogleAPIClass;
  8048. begin
  8049. Result:=TbooksAPI;
  8050. end;
  8051. Function TVolumesMybooksResource.List(AQuery : string = '') : TVolumes;
  8052. Const
  8053. _HTTPMethod = 'GET';
  8054. _Path = 'volumes/mybooks';
  8055. _Methodid = 'books.volumes.mybooks.list';
  8056. begin
  8057. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVolumes) as TVolumes;
  8058. end;
  8059. Function TVolumesMybooksResource.List(AQuery : TVolumesMybookslistOptions) : TVolumes;
  8060. Var
  8061. _Q : String;
  8062. begin
  8063. _Q:='';
  8064. AddToQuery(_Q,'acquireMethod',AQuery.acquireMethod);
  8065. AddToQuery(_Q,'country',AQuery.country);
  8066. AddToQuery(_Q,'locale',AQuery.locale);
  8067. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  8068. AddToQuery(_Q,'processingState',AQuery.processingState);
  8069. AddToQuery(_Q,'source',AQuery.source);
  8070. AddToQuery(_Q,'startIndex',AQuery.startIndex);
  8071. Result:=List(_Q);
  8072. end;
  8073. { --------------------------------------------------------------------
  8074. TVolumesRecommendedResource
  8075. --------------------------------------------------------------------}
  8076. Class Function TVolumesRecommendedResource.ResourceName : String;
  8077. begin
  8078. Result:='recommended';
  8079. end;
  8080. Class Function TVolumesRecommendedResource.DefaultAPI : TGoogleAPIClass;
  8081. begin
  8082. Result:=TbooksAPI;
  8083. end;
  8084. Function TVolumesRecommendedResource.List(AQuery : string = '') : TVolumes;
  8085. Const
  8086. _HTTPMethod = 'GET';
  8087. _Path = 'volumes/recommended';
  8088. _Methodid = 'books.volumes.recommended.list';
  8089. begin
  8090. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVolumes) as TVolumes;
  8091. end;
  8092. Function TVolumesRecommendedResource.List(AQuery : TVolumesRecommendedlistOptions) : TVolumes;
  8093. Var
  8094. _Q : String;
  8095. begin
  8096. _Q:='';
  8097. AddToQuery(_Q,'locale',AQuery.locale);
  8098. AddToQuery(_Q,'maxAllowedMaturityRating',AQuery.maxAllowedMaturityRating);
  8099. AddToQuery(_Q,'source',AQuery.source);
  8100. Result:=List(_Q);
  8101. end;
  8102. Function TVolumesRecommendedResource.Rate(AQuery : string = '') : TBooksVolumesRecommendedRateResponse;
  8103. Const
  8104. _HTTPMethod = 'POST';
  8105. _Path = 'volumes/recommended/rate';
  8106. _Methodid = 'books.volumes.recommended.rate';
  8107. begin
  8108. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TBooksVolumesRecommendedRateResponse) as TBooksVolumesRecommendedRateResponse;
  8109. end;
  8110. Function TVolumesRecommendedResource.Rate(AQuery : TVolumesRecommendedrateOptions) : TBooksVolumesRecommendedRateResponse;
  8111. Var
  8112. _Q : String;
  8113. begin
  8114. _Q:='';
  8115. AddToQuery(_Q,'locale',AQuery.locale);
  8116. AddToQuery(_Q,'rating',AQuery.rating);
  8117. AddToQuery(_Q,'source',AQuery.source);
  8118. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  8119. Result:=Rate(_Q);
  8120. end;
  8121. { --------------------------------------------------------------------
  8122. TVolumesUseruploadedResource
  8123. --------------------------------------------------------------------}
  8124. Class Function TVolumesUseruploadedResource.ResourceName : String;
  8125. begin
  8126. Result:='useruploaded';
  8127. end;
  8128. Class Function TVolumesUseruploadedResource.DefaultAPI : TGoogleAPIClass;
  8129. begin
  8130. Result:=TbooksAPI;
  8131. end;
  8132. Function TVolumesUseruploadedResource.List(AQuery : string = '') : TVolumes;
  8133. Const
  8134. _HTTPMethod = 'GET';
  8135. _Path = 'volumes/useruploaded';
  8136. _Methodid = 'books.volumes.useruploaded.list';
  8137. begin
  8138. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVolumes) as TVolumes;
  8139. end;
  8140. Function TVolumesUseruploadedResource.List(AQuery : TVolumesUseruploadedlistOptions) : TVolumes;
  8141. Var
  8142. _Q : String;
  8143. begin
  8144. _Q:='';
  8145. AddToQuery(_Q,'locale',AQuery.locale);
  8146. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  8147. AddToQuery(_Q,'processingState',AQuery.processingState);
  8148. AddToQuery(_Q,'source',AQuery.source);
  8149. AddToQuery(_Q,'startIndex',AQuery.startIndex);
  8150. AddToQuery(_Q,'volumeId',AQuery.volumeId);
  8151. Result:=List(_Q);
  8152. end;
  8153. { --------------------------------------------------------------------
  8154. TVolumesResource
  8155. --------------------------------------------------------------------}
  8156. Class Function TVolumesResource.ResourceName : String;
  8157. begin
  8158. Result:='volumes';
  8159. end;
  8160. Class Function TVolumesResource.DefaultAPI : TGoogleAPIClass;
  8161. begin
  8162. Result:=TbooksAPI;
  8163. end;
  8164. Function TVolumesResource.Get(volumeId: string; AQuery : string = '') : TVolume;
  8165. Const
  8166. _HTTPMethod = 'GET';
  8167. _Path = 'volumes/{volumeId}';
  8168. _Methodid = 'books.volumes.get';
  8169. Var
  8170. _P : String;
  8171. begin
  8172. _P:=SubstitutePath(_Path,['volumeId',volumeId]);
  8173. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVolume) as TVolume;
  8174. end;
  8175. Function TVolumesResource.Get(volumeId: string; AQuery : TVolumesgetOptions) : TVolume;
  8176. Var
  8177. _Q : String;
  8178. begin
  8179. _Q:='';
  8180. AddToQuery(_Q,'country',AQuery.country);
  8181. AddToQuery(_Q,'includeNonComicsSeries',AQuery.includeNonComicsSeries);
  8182. AddToQuery(_Q,'partner',AQuery.partner);
  8183. AddToQuery(_Q,'projection',AQuery.projection);
  8184. AddToQuery(_Q,'source',AQuery.source);
  8185. AddToQuery(_Q,'user_library_consistent_read',AQuery.user_library_consistent_read);
  8186. Result:=Get(volumeId,_Q);
  8187. end;
  8188. Function TVolumesResource.List(AQuery : string = '') : TVolumes;
  8189. Const
  8190. _HTTPMethod = 'GET';
  8191. _Path = 'volumes';
  8192. _Methodid = 'books.volumes.list';
  8193. begin
  8194. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVolumes) as TVolumes;
  8195. end;
  8196. Function TVolumesResource.List(AQuery : TVolumeslistOptions) : TVolumes;
  8197. Var
  8198. _Q : String;
  8199. begin
  8200. _Q:='';
  8201. AddToQuery(_Q,'download',AQuery.download);
  8202. AddToQuery(_Q,'filter',AQuery.filter);
  8203. AddToQuery(_Q,'langRestrict',AQuery.langRestrict);
  8204. AddToQuery(_Q,'libraryRestrict',AQuery.libraryRestrict);
  8205. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  8206. AddToQuery(_Q,'orderBy',AQuery.orderBy);
  8207. AddToQuery(_Q,'partner',AQuery.partner);
  8208. AddToQuery(_Q,'printType',AQuery.printType);
  8209. AddToQuery(_Q,'projection',AQuery.projection);
  8210. AddToQuery(_Q,'q',AQuery.q);
  8211. AddToQuery(_Q,'showPreorders',AQuery.showPreorders);
  8212. AddToQuery(_Q,'source',AQuery.source);
  8213. AddToQuery(_Q,'startIndex',AQuery.startIndex);
  8214. Result:=List(_Q);
  8215. end;
  8216. Function TVolumesResource.GetAssociatedInstance : TVolumesAssociatedResource;
  8217. begin
  8218. if (FAssociatedInstance=Nil) then
  8219. FAssociatedInstance:=CreateAssociatedResource;
  8220. Result:=FAssociatedInstance;
  8221. end;
  8222. Function TVolumesResource.CreateAssociatedResource : TVolumesAssociatedResource;
  8223. begin
  8224. Result:=CreateAssociatedResource(Self);
  8225. end;
  8226. Function TVolumesResource.CreateAssociatedResource(AOwner : TComponent) : TVolumesAssociatedResource;
  8227. begin
  8228. Result:=TVolumesAssociatedResource.Create(AOwner);
  8229. Result.API:=Self.API;
  8230. end;
  8231. Function TVolumesResource.GetMybooksInstance : TVolumesMybooksResource;
  8232. begin
  8233. if (FMybooksInstance=Nil) then
  8234. FMybooksInstance:=CreateMybooksResource;
  8235. Result:=FMybooksInstance;
  8236. end;
  8237. Function TVolumesResource.CreateMybooksResource : TVolumesMybooksResource;
  8238. begin
  8239. Result:=CreateMybooksResource(Self);
  8240. end;
  8241. Function TVolumesResource.CreateMybooksResource(AOwner : TComponent) : TVolumesMybooksResource;
  8242. begin
  8243. Result:=TVolumesMybooksResource.Create(AOwner);
  8244. Result.API:=Self.API;
  8245. end;
  8246. Function TVolumesResource.GetRecommendedInstance : TVolumesRecommendedResource;
  8247. begin
  8248. if (FRecommendedInstance=Nil) then
  8249. FRecommendedInstance:=CreateRecommendedResource;
  8250. Result:=FRecommendedInstance;
  8251. end;
  8252. Function TVolumesResource.CreateRecommendedResource : TVolumesRecommendedResource;
  8253. begin
  8254. Result:=CreateRecommendedResource(Self);
  8255. end;
  8256. Function TVolumesResource.CreateRecommendedResource(AOwner : TComponent) : TVolumesRecommendedResource;
  8257. begin
  8258. Result:=TVolumesRecommendedResource.Create(AOwner);
  8259. Result.API:=Self.API;
  8260. end;
  8261. Function TVolumesResource.GetUseruploadedInstance : TVolumesUseruploadedResource;
  8262. begin
  8263. if (FUseruploadedInstance=Nil) then
  8264. FUseruploadedInstance:=CreateUseruploadedResource;
  8265. Result:=FUseruploadedInstance;
  8266. end;
  8267. Function TVolumesResource.CreateUseruploadedResource : TVolumesUseruploadedResource;
  8268. begin
  8269. Result:=CreateUseruploadedResource(Self);
  8270. end;
  8271. Function TVolumesResource.CreateUseruploadedResource(AOwner : TComponent) : TVolumesUseruploadedResource;
  8272. begin
  8273. Result:=TVolumesUseruploadedResource.Create(AOwner);
  8274. Result.API:=Self.API;
  8275. end;
  8276. { --------------------------------------------------------------------
  8277. TBooksAPI
  8278. --------------------------------------------------------------------}
  8279. Class Function TBooksAPI.APIName : String;
  8280. begin
  8281. Result:='books';
  8282. end;
  8283. Class Function TBooksAPI.APIVersion : String;
  8284. begin
  8285. Result:='v1';
  8286. end;
  8287. Class Function TBooksAPI.APIRevision : String;
  8288. begin
  8289. Result:='20160411';
  8290. end;
  8291. Class Function TBooksAPI.APIID : String;
  8292. begin
  8293. Result:='books:v1';
  8294. end;
  8295. Class Function TBooksAPI.APITitle : String;
  8296. begin
  8297. Result:='Books API';
  8298. end;
  8299. Class Function TBooksAPI.APIDescription : String;
  8300. begin
  8301. Result:='Lets you search for books and manage your Google Books library.';
  8302. end;
  8303. Class Function TBooksAPI.APIOwnerDomain : String;
  8304. begin
  8305. Result:='google.com';
  8306. end;
  8307. Class Function TBooksAPI.APIOwnerName : String;
  8308. begin
  8309. Result:='Google';
  8310. end;
  8311. Class Function TBooksAPI.APIIcon16 : String;
  8312. begin
  8313. Result:='https://www.google.com/images/icons/product/ebooks-16.png';
  8314. end;
  8315. Class Function TBooksAPI.APIIcon32 : String;
  8316. begin
  8317. Result:='https://www.google.com/images/icons/product/ebooks-32.png';
  8318. end;
  8319. Class Function TBooksAPI.APIdocumentationLink : String;
  8320. begin
  8321. Result:='https://developers.google.com/books/docs/v1/getting_started';
  8322. end;
  8323. Class Function TBooksAPI.APIrootUrl : string;
  8324. begin
  8325. Result:='https://www.googleapis.com/';
  8326. end;
  8327. Class Function TBooksAPI.APIbasePath : string;
  8328. begin
  8329. Result:='/books/v1/';
  8330. end;
  8331. Class Function TBooksAPI.APIbaseURL : String;
  8332. begin
  8333. Result:='https://www.googleapis.com/books/v1/';
  8334. end;
  8335. Class Function TBooksAPI.APIProtocol : string;
  8336. begin
  8337. Result:='rest';
  8338. end;
  8339. Class Function TBooksAPI.APIservicePath : string;
  8340. begin
  8341. Result:='books/v1/';
  8342. end;
  8343. Class Function TBooksAPI.APIbatchPath : String;
  8344. begin
  8345. Result:='batch';
  8346. end;
  8347. Class Function TBooksAPI.APIAuthScopes : TScopeInfoArray;
  8348. begin
  8349. SetLength(Result,1);
  8350. Result[0].Name:='https://www.googleapis.com/auth/books';
  8351. Result[0].Description:='Manage your books';
  8352. end;
  8353. Class Function TBooksAPI.APINeedsAuth : Boolean;
  8354. begin
  8355. Result:=True;
  8356. end;
  8357. Class Procedure TBooksAPI.RegisterAPIResources;
  8358. begin
  8359. TAnnotationTypeclientVersionRanges.RegisterObject;
  8360. TAnnotationTypecurrentVersionRanges.RegisterObject;
  8361. TAnnotationTypelayerSummary.RegisterObject;
  8362. TAnnotation.RegisterObject;
  8363. TAnnotationdata.RegisterObject;
  8364. TAnnotations.RegisterObject;
  8365. TAnnotationsSummaryTypelayersItem.RegisterObject;
  8366. TAnnotationsSummary.RegisterObject;
  8367. TAnnotationsdata.RegisterObject;
  8368. TBooksAnnotationsRange.RegisterObject;
  8369. TBooksCloudloadingResource.RegisterObject;
  8370. TBooksVolumesRecommendedRateResponse.RegisterObject;
  8371. TBookshelf.RegisterObject;
  8372. TBookshelves.RegisterObject;
  8373. TCategoryTypeitemsItem.RegisterObject;
  8374. TCategory.RegisterObject;
  8375. TConcurrentAccessRestriction.RegisterObject;
  8376. TDictlayerdataTypecommon.RegisterObject;
  8377. TDictlayerdataTypedictTypesource.RegisterObject;
  8378. TDictlayerdataTypedictTypewordsItemTypederivativesItemTypesource.RegisterObject;
  8379. TDictlayerdataTypedictTypewordsItemTypederivativesItem.RegisterObject;
  8380. TDictlayerdataTypedictTypewordsItemTypeexamplesItemTypesource.RegisterObject;
  8381. TDictlayerdataTypedictTypewordsItemTypeexamplesItem.RegisterObject;
  8382. TDictlayerdataTypedictTypewordsItemTypesensesItemTypeconjugationsItem.RegisterObject;
  8383. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItemTypesource.RegisterObject;
  8384. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItemTypeexamplesItem.RegisterObject;
  8385. TDictlayerdataTypedictTypewordsItemTypesensesItemTypedefinitionsItem.RegisterObject;
  8386. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesource.RegisterObject;
  8387. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItemTypesource.RegisterObject;
  8388. TDictlayerdataTypedictTypewordsItemTypesensesItemTypesynonymsItem.RegisterObject;
  8389. TDictlayerdataTypedictTypewordsItemTypesensesItem.RegisterObject;
  8390. TDictlayerdataTypedictTypewordsItemTypesource.RegisterObject;
  8391. TDictlayerdataTypedictTypewordsItem.RegisterObject;
  8392. TDictlayerdataTypedict.RegisterObject;
  8393. TDictlayerdata.RegisterObject;
  8394. TDiscoveryclustersTypeclustersItemTypebanner_with_content_container.RegisterObject;
  8395. TDiscoveryclustersTypeclustersItem.RegisterObject;
  8396. TDiscoveryclusters.RegisterObject;
  8397. TDownloadAccessRestriction.RegisterObject;
  8398. TDownloadAccesses.RegisterObject;
  8399. TGeolayerdataTypecommon.RegisterObject;
  8400. TGeolayerdataTypegeoTypeboundaryItemItem.RegisterObject;
  8401. TGeolayerdataTypegeoTypeviewportTypehi.RegisterObject;
  8402. TGeolayerdataTypegeoTypeviewportTypelo.RegisterObject;
  8403. TGeolayerdataTypegeoTypeviewport.RegisterObject;
  8404. TGeolayerdataTypegeo.RegisterObject;
  8405. TGeolayerdata.RegisterObject;
  8406. TLayersummaries.RegisterObject;
  8407. TLayersummary.RegisterObject;
  8408. TMetadataTypeitemsItem.RegisterObject;
  8409. TMetadata.RegisterObject;
  8410. TNotification.RegisterObject;
  8411. TOffersTypeitemsItemTypeitemsItem.RegisterObject;
  8412. TOffersTypeitemsItem.RegisterObject;
  8413. TOffers.RegisterObject;
  8414. TReadingPosition.RegisterObject;
  8415. TRequestAccess.RegisterObject;
  8416. TReviewTypeauthor.RegisterObject;
  8417. TReviewTypesource.RegisterObject;
  8418. TReview.RegisterObject;
  8419. TSeriesTypeseriesItem.RegisterObject;
  8420. TSeries.RegisterObject;
  8421. TSeriesmembership.RegisterObject;
  8422. TUsersettingsTypenotesExport.RegisterObject;
  8423. TUsersettingsTypenotificationTypemoreFromAuthors.RegisterObject;
  8424. TUsersettingsTypenotification.RegisterObject;
  8425. TUsersettings.RegisterObject;
  8426. TVolumeTypeaccessInfoTypeepub.RegisterObject;
  8427. TVolumeTypeaccessInfoTypepdf.RegisterObject;
  8428. TVolumeTypeaccessInfo.RegisterObject;
  8429. TVolumeTypelayerInfoTypelayersItem.RegisterObject;
  8430. TVolumeTypelayerInfo.RegisterObject;
  8431. TVolumeTyperecommendedInfo.RegisterObject;
  8432. TVolumeTypesaleInfoTypelistPrice.RegisterObject;
  8433. TVolumeTypesaleInfoTypeoffersItemTypelistPrice.RegisterObject;
  8434. TVolumeTypesaleInfoTypeoffersItemTyperentalDuration.RegisterObject;
  8435. TVolumeTypesaleInfoTypeoffersItemTyperetailPrice.RegisterObject;
  8436. TVolumeTypesaleInfoTypeoffersItem.RegisterObject;
  8437. TVolumeTypesaleInfoTyperetailPrice.RegisterObject;
  8438. TVolumeTypesaleInfo.RegisterObject;
  8439. TVolumeTypesearchInfo.RegisterObject;
  8440. TVolumeTypeuserInfoTypecopy.RegisterObject;
  8441. TVolumeTypeuserInfoTypefamilySharing.RegisterObject;
  8442. TVolumeTypeuserInfoTyperentalPeriod.RegisterObject;
  8443. TVolumeTypeuserInfoTypeuserUploadedVolumeInfo.RegisterObject;
  8444. TVolumeTypeuserInfo.RegisterObject;
  8445. TVolumeTypevolumeInfoTypedimensions.RegisterObject;
  8446. TVolumeTypevolumeInfoTypeimageLinks.RegisterObject;
  8447. TVolumeTypevolumeInfoTypeindustryIdentifiersItem.RegisterObject;
  8448. TVolumeTypevolumeInfo.RegisterObject;
  8449. TVolume.RegisterObject;
  8450. TVolume2.RegisterObject;
  8451. TVolumeannotationTypecontentRanges.RegisterObject;
  8452. TVolumeannotation.RegisterObject;
  8453. TVolumeannotations.RegisterObject;
  8454. TVolumes.RegisterObject;
  8455. TVolumeseriesinfoTypevolumeSeriesItemTypeissueItem.RegisterObject;
  8456. TVolumeseriesinfoTypevolumeSeriesItem.RegisterObject;
  8457. TVolumeseriesinfo.RegisterObject;
  8458. end;
  8459. Function TBooksAPI.GetBookshelvesVolumesInstance : TBookshelvesVolumesResource;
  8460. begin
  8461. if (FBookshelvesVolumesInstance=Nil) then
  8462. FBookshelvesVolumesInstance:=CreateBookshelvesVolumesResource;
  8463. Result:=FBookshelvesVolumesInstance;
  8464. end;
  8465. Function TBooksAPI.CreateBookshelvesVolumesResource : TBookshelvesVolumesResource;
  8466. begin
  8467. Result:=CreateBookshelvesVolumesResource(Self);
  8468. end;
  8469. Function TBooksAPI.CreateBookshelvesVolumesResource(AOwner : TComponent) : TBookshelvesVolumesResource;
  8470. begin
  8471. Result:=TBookshelvesVolumesResource.Create(AOwner);
  8472. Result.API:=Self.API;
  8473. end;
  8474. Function TBooksAPI.GetBookshelvesInstance : TBookshelvesResource;
  8475. begin
  8476. if (FBookshelvesInstance=Nil) then
  8477. FBookshelvesInstance:=CreateBookshelvesResource;
  8478. Result:=FBookshelvesInstance;
  8479. end;
  8480. Function TBooksAPI.CreateBookshelvesResource : TBookshelvesResource;
  8481. begin
  8482. Result:=CreateBookshelvesResource(Self);
  8483. end;
  8484. Function TBooksAPI.CreateBookshelvesResource(AOwner : TComponent) : TBookshelvesResource;
  8485. begin
  8486. Result:=TBookshelvesResource.Create(AOwner);
  8487. Result.API:=Self.API;
  8488. end;
  8489. Function TBooksAPI.GetCloudloadingInstance : TCloudloadingResource;
  8490. begin
  8491. if (FCloudloadingInstance=Nil) then
  8492. FCloudloadingInstance:=CreateCloudloadingResource;
  8493. Result:=FCloudloadingInstance;
  8494. end;
  8495. Function TBooksAPI.CreateCloudloadingResource : TCloudloadingResource;
  8496. begin
  8497. Result:=CreateCloudloadingResource(Self);
  8498. end;
  8499. Function TBooksAPI.CreateCloudloadingResource(AOwner : TComponent) : TCloudloadingResource;
  8500. begin
  8501. Result:=TCloudloadingResource.Create(AOwner);
  8502. Result.API:=Self.API;
  8503. end;
  8504. Function TBooksAPI.GetDictionaryInstance : TDictionaryResource;
  8505. begin
  8506. if (FDictionaryInstance=Nil) then
  8507. FDictionaryInstance:=CreateDictionaryResource;
  8508. Result:=FDictionaryInstance;
  8509. end;
  8510. Function TBooksAPI.CreateDictionaryResource : TDictionaryResource;
  8511. begin
  8512. Result:=CreateDictionaryResource(Self);
  8513. end;
  8514. Function TBooksAPI.CreateDictionaryResource(AOwner : TComponent) : TDictionaryResource;
  8515. begin
  8516. Result:=TDictionaryResource.Create(AOwner);
  8517. Result.API:=Self.API;
  8518. end;
  8519. Function TBooksAPI.GetLayersAnnotationDataInstance : TLayersAnnotationDataResource;
  8520. begin
  8521. if (FLayersAnnotationDataInstance=Nil) then
  8522. FLayersAnnotationDataInstance:=CreateLayersAnnotationDataResource;
  8523. Result:=FLayersAnnotationDataInstance;
  8524. end;
  8525. Function TBooksAPI.CreateLayersAnnotationDataResource : TLayersAnnotationDataResource;
  8526. begin
  8527. Result:=CreateLayersAnnotationDataResource(Self);
  8528. end;
  8529. Function TBooksAPI.CreateLayersAnnotationDataResource(AOwner : TComponent) : TLayersAnnotationDataResource;
  8530. begin
  8531. Result:=TLayersAnnotationDataResource.Create(AOwner);
  8532. Result.API:=Self.API;
  8533. end;
  8534. Function TBooksAPI.GetLayersVolumeAnnotationsInstance : TLayersVolumeAnnotationsResource;
  8535. begin
  8536. if (FLayersVolumeAnnotationsInstance=Nil) then
  8537. FLayersVolumeAnnotationsInstance:=CreateLayersVolumeAnnotationsResource;
  8538. Result:=FLayersVolumeAnnotationsInstance;
  8539. end;
  8540. Function TBooksAPI.CreateLayersVolumeAnnotationsResource : TLayersVolumeAnnotationsResource;
  8541. begin
  8542. Result:=CreateLayersVolumeAnnotationsResource(Self);
  8543. end;
  8544. Function TBooksAPI.CreateLayersVolumeAnnotationsResource(AOwner : TComponent) : TLayersVolumeAnnotationsResource;
  8545. begin
  8546. Result:=TLayersVolumeAnnotationsResource.Create(AOwner);
  8547. Result.API:=Self.API;
  8548. end;
  8549. Function TBooksAPI.GetLayersInstance : TLayersResource;
  8550. begin
  8551. if (FLayersInstance=Nil) then
  8552. FLayersInstance:=CreateLayersResource;
  8553. Result:=FLayersInstance;
  8554. end;
  8555. Function TBooksAPI.CreateLayersResource : TLayersResource;
  8556. begin
  8557. Result:=CreateLayersResource(Self);
  8558. end;
  8559. Function TBooksAPI.CreateLayersResource(AOwner : TComponent) : TLayersResource;
  8560. begin
  8561. Result:=TLayersResource.Create(AOwner);
  8562. Result.API:=Self.API;
  8563. end;
  8564. Function TBooksAPI.GetMyconfigInstance : TMyconfigResource;
  8565. begin
  8566. if (FMyconfigInstance=Nil) then
  8567. FMyconfigInstance:=CreateMyconfigResource;
  8568. Result:=FMyconfigInstance;
  8569. end;
  8570. Function TBooksAPI.CreateMyconfigResource : TMyconfigResource;
  8571. begin
  8572. Result:=CreateMyconfigResource(Self);
  8573. end;
  8574. Function TBooksAPI.CreateMyconfigResource(AOwner : TComponent) : TMyconfigResource;
  8575. begin
  8576. Result:=TMyconfigResource.Create(AOwner);
  8577. Result.API:=Self.API;
  8578. end;
  8579. Function TBooksAPI.GetMylibraryAnnotationsInstance : TMylibraryAnnotationsResource;
  8580. begin
  8581. if (FMylibraryAnnotationsInstance=Nil) then
  8582. FMylibraryAnnotationsInstance:=CreateMylibraryAnnotationsResource;
  8583. Result:=FMylibraryAnnotationsInstance;
  8584. end;
  8585. Function TBooksAPI.CreateMylibraryAnnotationsResource : TMylibraryAnnotationsResource;
  8586. begin
  8587. Result:=CreateMylibraryAnnotationsResource(Self);
  8588. end;
  8589. Function TBooksAPI.CreateMylibraryAnnotationsResource(AOwner : TComponent) : TMylibraryAnnotationsResource;
  8590. begin
  8591. Result:=TMylibraryAnnotationsResource.Create(AOwner);
  8592. Result.API:=Self.API;
  8593. end;
  8594. Function TBooksAPI.GetMylibraryBookshelvesVolumesInstance : TMylibraryBookshelvesVolumesResource;
  8595. begin
  8596. if (FMylibraryBookshelvesVolumesInstance=Nil) then
  8597. FMylibraryBookshelvesVolumesInstance:=CreateMylibraryBookshelvesVolumesResource;
  8598. Result:=FMylibraryBookshelvesVolumesInstance;
  8599. end;
  8600. Function TBooksAPI.CreateMylibraryBookshelvesVolumesResource : TMylibraryBookshelvesVolumesResource;
  8601. begin
  8602. Result:=CreateMylibraryBookshelvesVolumesResource(Self);
  8603. end;
  8604. Function TBooksAPI.CreateMylibraryBookshelvesVolumesResource(AOwner : TComponent) : TMylibraryBookshelvesVolumesResource;
  8605. begin
  8606. Result:=TMylibraryBookshelvesVolumesResource.Create(AOwner);
  8607. Result.API:=Self.API;
  8608. end;
  8609. Function TBooksAPI.GetMylibraryBookshelvesInstance : TMylibraryBookshelvesResource;
  8610. begin
  8611. if (FMylibraryBookshelvesInstance=Nil) then
  8612. FMylibraryBookshelvesInstance:=CreateMylibraryBookshelvesResource;
  8613. Result:=FMylibraryBookshelvesInstance;
  8614. end;
  8615. Function TBooksAPI.CreateMylibraryBookshelvesResource : TMylibraryBookshelvesResource;
  8616. begin
  8617. Result:=CreateMylibraryBookshelvesResource(Self);
  8618. end;
  8619. Function TBooksAPI.CreateMylibraryBookshelvesResource(AOwner : TComponent) : TMylibraryBookshelvesResource;
  8620. begin
  8621. Result:=TMylibraryBookshelvesResource.Create(AOwner);
  8622. Result.API:=Self.API;
  8623. end;
  8624. Function TBooksAPI.GetMylibraryReadingpositionsInstance : TMylibraryReadingpositionsResource;
  8625. begin
  8626. if (FMylibraryReadingpositionsInstance=Nil) then
  8627. FMylibraryReadingpositionsInstance:=CreateMylibraryReadingpositionsResource;
  8628. Result:=FMylibraryReadingpositionsInstance;
  8629. end;
  8630. Function TBooksAPI.CreateMylibraryReadingpositionsResource : TMylibraryReadingpositionsResource;
  8631. begin
  8632. Result:=CreateMylibraryReadingpositionsResource(Self);
  8633. end;
  8634. Function TBooksAPI.CreateMylibraryReadingpositionsResource(AOwner : TComponent) : TMylibraryReadingpositionsResource;
  8635. begin
  8636. Result:=TMylibraryReadingpositionsResource.Create(AOwner);
  8637. Result.API:=Self.API;
  8638. end;
  8639. Function TBooksAPI.GetMylibraryInstance : TMylibraryResource;
  8640. begin
  8641. if (FMylibraryInstance=Nil) then
  8642. FMylibraryInstance:=CreateMylibraryResource;
  8643. Result:=FMylibraryInstance;
  8644. end;
  8645. Function TBooksAPI.CreateMylibraryResource : TMylibraryResource;
  8646. begin
  8647. Result:=CreateMylibraryResource(Self);
  8648. end;
  8649. Function TBooksAPI.CreateMylibraryResource(AOwner : TComponent) : TMylibraryResource;
  8650. begin
  8651. Result:=TMylibraryResource.Create(AOwner);
  8652. Result.API:=Self.API;
  8653. end;
  8654. Function TBooksAPI.GetNotificationInstance : TNotificationResource;
  8655. begin
  8656. if (FNotificationInstance=Nil) then
  8657. FNotificationInstance:=CreateNotificationResource;
  8658. Result:=FNotificationInstance;
  8659. end;
  8660. Function TBooksAPI.CreateNotificationResource : TNotificationResource;
  8661. begin
  8662. Result:=CreateNotificationResource(Self);
  8663. end;
  8664. Function TBooksAPI.CreateNotificationResource(AOwner : TComponent) : TNotificationResource;
  8665. begin
  8666. Result:=TNotificationResource.Create(AOwner);
  8667. Result.API:=Self.API;
  8668. end;
  8669. Function TBooksAPI.GetOnboardingInstance : TOnboardingResource;
  8670. begin
  8671. if (FOnboardingInstance=Nil) then
  8672. FOnboardingInstance:=CreateOnboardingResource;
  8673. Result:=FOnboardingInstance;
  8674. end;
  8675. Function TBooksAPI.CreateOnboardingResource : TOnboardingResource;
  8676. begin
  8677. Result:=CreateOnboardingResource(Self);
  8678. end;
  8679. Function TBooksAPI.CreateOnboardingResource(AOwner : TComponent) : TOnboardingResource;
  8680. begin
  8681. Result:=TOnboardingResource.Create(AOwner);
  8682. Result.API:=Self.API;
  8683. end;
  8684. Function TBooksAPI.GetPersonalizedstreamInstance : TPersonalizedstreamResource;
  8685. begin
  8686. if (FPersonalizedstreamInstance=Nil) then
  8687. FPersonalizedstreamInstance:=CreatePersonalizedstreamResource;
  8688. Result:=FPersonalizedstreamInstance;
  8689. end;
  8690. Function TBooksAPI.CreatePersonalizedstreamResource : TPersonalizedstreamResource;
  8691. begin
  8692. Result:=CreatePersonalizedstreamResource(Self);
  8693. end;
  8694. Function TBooksAPI.CreatePersonalizedstreamResource(AOwner : TComponent) : TPersonalizedstreamResource;
  8695. begin
  8696. Result:=TPersonalizedstreamResource.Create(AOwner);
  8697. Result.API:=Self.API;
  8698. end;
  8699. Function TBooksAPI.GetPromoofferInstance : TPromoofferResource;
  8700. begin
  8701. if (FPromoofferInstance=Nil) then
  8702. FPromoofferInstance:=CreatePromoofferResource;
  8703. Result:=FPromoofferInstance;
  8704. end;
  8705. Function TBooksAPI.CreatePromoofferResource : TPromoofferResource;
  8706. begin
  8707. Result:=CreatePromoofferResource(Self);
  8708. end;
  8709. Function TBooksAPI.CreatePromoofferResource(AOwner : TComponent) : TPromoofferResource;
  8710. begin
  8711. Result:=TPromoofferResource.Create(AOwner);
  8712. Result.API:=Self.API;
  8713. end;
  8714. Function TBooksAPI.GetSeriesMembershipInstance : TSeriesMembershipResource;
  8715. begin
  8716. if (FSeriesMembershipInstance=Nil) then
  8717. FSeriesMembershipInstance:=CreateSeriesMembershipResource;
  8718. Result:=FSeriesMembershipInstance;
  8719. end;
  8720. Function TBooksAPI.CreateSeriesMembershipResource : TSeriesMembershipResource;
  8721. begin
  8722. Result:=CreateSeriesMembershipResource(Self);
  8723. end;
  8724. Function TBooksAPI.CreateSeriesMembershipResource(AOwner : TComponent) : TSeriesMembershipResource;
  8725. begin
  8726. Result:=TSeriesMembershipResource.Create(AOwner);
  8727. Result.API:=Self.API;
  8728. end;
  8729. Function TBooksAPI.GetSeriesInstance : TSeriesResource;
  8730. begin
  8731. if (FSeriesInstance=Nil) then
  8732. FSeriesInstance:=CreateSeriesResource;
  8733. Result:=FSeriesInstance;
  8734. end;
  8735. Function TBooksAPI.CreateSeriesResource : TSeriesResource;
  8736. begin
  8737. Result:=CreateSeriesResource(Self);
  8738. end;
  8739. Function TBooksAPI.CreateSeriesResource(AOwner : TComponent) : TSeriesResource;
  8740. begin
  8741. Result:=TSeriesResource.Create(AOwner);
  8742. Result.API:=Self.API;
  8743. end;
  8744. Function TBooksAPI.GetVolumesAssociatedInstance : TVolumesAssociatedResource;
  8745. begin
  8746. if (FVolumesAssociatedInstance=Nil) then
  8747. FVolumesAssociatedInstance:=CreateVolumesAssociatedResource;
  8748. Result:=FVolumesAssociatedInstance;
  8749. end;
  8750. Function TBooksAPI.CreateVolumesAssociatedResource : TVolumesAssociatedResource;
  8751. begin
  8752. Result:=CreateVolumesAssociatedResource(Self);
  8753. end;
  8754. Function TBooksAPI.CreateVolumesAssociatedResource(AOwner : TComponent) : TVolumesAssociatedResource;
  8755. begin
  8756. Result:=TVolumesAssociatedResource.Create(AOwner);
  8757. Result.API:=Self.API;
  8758. end;
  8759. Function TBooksAPI.GetVolumesMybooksInstance : TVolumesMybooksResource;
  8760. begin
  8761. if (FVolumesMybooksInstance=Nil) then
  8762. FVolumesMybooksInstance:=CreateVolumesMybooksResource;
  8763. Result:=FVolumesMybooksInstance;
  8764. end;
  8765. Function TBooksAPI.CreateVolumesMybooksResource : TVolumesMybooksResource;
  8766. begin
  8767. Result:=CreateVolumesMybooksResource(Self);
  8768. end;
  8769. Function TBooksAPI.CreateVolumesMybooksResource(AOwner : TComponent) : TVolumesMybooksResource;
  8770. begin
  8771. Result:=TVolumesMybooksResource.Create(AOwner);
  8772. Result.API:=Self.API;
  8773. end;
  8774. Function TBooksAPI.GetVolumesRecommendedInstance : TVolumesRecommendedResource;
  8775. begin
  8776. if (FVolumesRecommendedInstance=Nil) then
  8777. FVolumesRecommendedInstance:=CreateVolumesRecommendedResource;
  8778. Result:=FVolumesRecommendedInstance;
  8779. end;
  8780. Function TBooksAPI.CreateVolumesRecommendedResource : TVolumesRecommendedResource;
  8781. begin
  8782. Result:=CreateVolumesRecommendedResource(Self);
  8783. end;
  8784. Function TBooksAPI.CreateVolumesRecommendedResource(AOwner : TComponent) : TVolumesRecommendedResource;
  8785. begin
  8786. Result:=TVolumesRecommendedResource.Create(AOwner);
  8787. Result.API:=Self.API;
  8788. end;
  8789. Function TBooksAPI.GetVolumesUseruploadedInstance : TVolumesUseruploadedResource;
  8790. begin
  8791. if (FVolumesUseruploadedInstance=Nil) then
  8792. FVolumesUseruploadedInstance:=CreateVolumesUseruploadedResource;
  8793. Result:=FVolumesUseruploadedInstance;
  8794. end;
  8795. Function TBooksAPI.CreateVolumesUseruploadedResource : TVolumesUseruploadedResource;
  8796. begin
  8797. Result:=CreateVolumesUseruploadedResource(Self);
  8798. end;
  8799. Function TBooksAPI.CreateVolumesUseruploadedResource(AOwner : TComponent) : TVolumesUseruploadedResource;
  8800. begin
  8801. Result:=TVolumesUseruploadedResource.Create(AOwner);
  8802. Result.API:=Self.API;
  8803. end;
  8804. Function TBooksAPI.GetVolumesInstance : TVolumesResource;
  8805. begin
  8806. if (FVolumesInstance=Nil) then
  8807. FVolumesInstance:=CreateVolumesResource;
  8808. Result:=FVolumesInstance;
  8809. end;
  8810. Function TBooksAPI.CreateVolumesResource : TVolumesResource;
  8811. begin
  8812. Result:=CreateVolumesResource(Self);
  8813. end;
  8814. Function TBooksAPI.CreateVolumesResource(AOwner : TComponent) : TVolumesResource;
  8815. begin
  8816. Result:=TVolumesResource.Create(AOwner);
  8817. Result.API:=Self.API;
  8818. end;
  8819. initialization
  8820. TBooksAPI.RegisterAPI;
  8821. end.