googleplusDomains.pp 164 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008
  1. unit googleplusDomains;
  2. {
  3. **********************************************************************
  4. This file is part of the Free Component Library (FCL)
  5. Copyright (c) 2015 The free pascal team.
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************
  12. }
  13. //Generated on: 16-5-15 08:53:06
  14. {$MODE objfpc}
  15. {$H+}
  16. interface
  17. uses sysutils, classes, googleservice, restbase, googlebase;
  18. type
  19. //Top-level schema types
  20. TAcl = Class;
  21. TActivity = Class;
  22. TActivityFeed = Class;
  23. TAudience = Class;
  24. TAudiencesFeed = Class;
  25. TCircle = Class;
  26. TCircleFeed = Class;
  27. TComment = Class;
  28. TCommentFeed = Class;
  29. TMedia = Class;
  30. TPeopleFeed = Class;
  31. TPerson = Class;
  32. TPlace = Class;
  33. TPlusDomainsAclentryResource = Class;
  34. TVideostream = Class;
  35. TAclArray = Array of TAcl;
  36. TActivityArray = Array of TActivity;
  37. TActivityFeedArray = Array of TActivityFeed;
  38. TAudienceArray = Array of TAudience;
  39. TAudiencesFeedArray = Array of TAudiencesFeed;
  40. TCircleArray = Array of TCircle;
  41. TCircleFeedArray = Array of TCircleFeed;
  42. TCommentArray = Array of TComment;
  43. TCommentFeedArray = Array of TCommentFeed;
  44. TMediaArray = Array of TMedia;
  45. TPeopleFeedArray = Array of TPeopleFeed;
  46. TPersonArray = Array of TPerson;
  47. TPlaceArray = Array of TPlace;
  48. TPlusDomainsAclentryResourceArray = Array of TPlusDomainsAclentryResource;
  49. TVideostreamArray = Array of TVideostream;
  50. //Anonymous types, using auto-generated names
  51. TActivityTypeactorTypeimage = Class;
  52. TActivityTypeactorTypename = Class;
  53. TActivityTypeactor = Class;
  54. TActivityTypeobjectTypeactorTypeimage = Class;
  55. TActivityTypeobjectTypeactor = Class;
  56. TActivityTypeobjectTypeattachmentsItemTypeembed = Class;
  57. TActivityTypeobjectTypeattachmentsItemTypefullImage = Class;
  58. TActivityTypeobjectTypeattachmentsItemTypeimage = Class;
  59. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem = Class;
  60. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage = Class;
  61. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem = Class;
  62. TActivityTypeobjectTypeattachmentsItem = Class;
  63. TActivityTypeobjectTypeplusoners = Class;
  64. TActivityTypeobjectTypereplies = Class;
  65. TActivityTypeobjectTyperesharers = Class;
  66. TActivityTypeobjectTypestatusForViewer = Class;
  67. TActivityTypeobject = Class;
  68. TActivityTypeprovider = Class;
  69. TCircleTypepeople = Class;
  70. TCommentTypeactorTypeimage = Class;
  71. TCommentTypeactor = Class;
  72. TCommentTypeinReplyToItem = Class;
  73. TCommentTypeobject = Class;
  74. TCommentTypeplusoners = Class;
  75. TMediaTypeauthorTypeimage = Class;
  76. TMediaTypeauthor = Class;
  77. TMediaTypeexif = Class;
  78. TPersonTypecoverTypecoverInfo = Class;
  79. TPersonTypecoverTypecoverPhoto = Class;
  80. TPersonTypecover = Class;
  81. TPersonTypeemailsItem = Class;
  82. TPersonTypeimage = Class;
  83. TPersonTypename = Class;
  84. TPersonTypeorganizationsItem = Class;
  85. TPersonTypeplacesLivedItem = Class;
  86. TPersonTypeurlsItem = Class;
  87. TPlaceTypeaddress = Class;
  88. TPlaceTypeposition = Class;
  89. TAclTypeitemsArray = Array of TPlusDomainsAclentryResource;
  90. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsArray = Array of TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem;
  91. TActivityTypeobjectTypeattachmentsItemTypethumbnailsArray = Array of TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem;
  92. TActivityTypeobjectTypeattachmentsArray = Array of TActivityTypeobjectTypeattachmentsItem;
  93. TActivityFeedTypeitemsArray = Array of TActivity;
  94. TAudiencesFeedTypeitemsArray = Array of TAudience;
  95. TCircleFeedTypeitemsArray = Array of TCircle;
  96. TCommentTypeinReplyToArray = Array of TCommentTypeinReplyToItem;
  97. TCommentFeedTypeitemsArray = Array of TComment;
  98. TMediaTypestreamsArray = Array of TVideostream;
  99. TPeopleFeedTypeitemsArray = Array of TPerson;
  100. TPersonTypeemailsArray = Array of TPersonTypeemailsItem;
  101. TPersonTypeorganizationsArray = Array of TPersonTypeorganizationsItem;
  102. TPersonTypeplacesLivedArray = Array of TPersonTypeplacesLivedItem;
  103. TPersonTypeurlsArray = Array of TPersonTypeurlsItem;
  104. { --------------------------------------------------------------------
  105. TAcl
  106. --------------------------------------------------------------------}
  107. TAcl = Class(TGoogleBaseObject)
  108. Private
  109. Fdescription : String;
  110. FdomainRestricted : boolean;
  111. Fitems : TAclTypeitemsArray;
  112. Fkind : String;
  113. Protected
  114. //Property setters
  115. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  116. Procedure SetdomainRestricted(AIndex : Integer; AValue : boolean); virtual;
  117. Procedure Setitems(AIndex : Integer; AValue : TAclTypeitemsArray); virtual;
  118. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  119. //2.6.4. bug workaround
  120. {$IFDEF VER2_6}
  121. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  122. {$ENDIF VER2_6}
  123. Public
  124. Published
  125. Property description : String Index 0 Read Fdescription Write Setdescription;
  126. Property domainRestricted : boolean Index 8 Read FdomainRestricted Write SetdomainRestricted;
  127. Property items : TAclTypeitemsArray Index 16 Read Fitems Write Setitems;
  128. Property kind : String Index 24 Read Fkind Write Setkind;
  129. end;
  130. TAclClass = Class of TAcl;
  131. { --------------------------------------------------------------------
  132. TActivityTypeactorTypeimage
  133. --------------------------------------------------------------------}
  134. TActivityTypeactorTypeimage = Class(TGoogleBaseObject)
  135. Private
  136. Furl : String;
  137. Protected
  138. //Property setters
  139. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  140. Public
  141. Published
  142. Property url : String Index 0 Read Furl Write Seturl;
  143. end;
  144. TActivityTypeactorTypeimageClass = Class of TActivityTypeactorTypeimage;
  145. { --------------------------------------------------------------------
  146. TActivityTypeactorTypename
  147. --------------------------------------------------------------------}
  148. TActivityTypeactorTypename = Class(TGoogleBaseObject)
  149. Private
  150. FfamilyName : String;
  151. FgivenName : String;
  152. Protected
  153. //Property setters
  154. Procedure SetfamilyName(AIndex : Integer; const AValue : String); virtual;
  155. Procedure SetgivenName(AIndex : Integer; const AValue : String); virtual;
  156. Public
  157. Published
  158. Property familyName : String Index 0 Read FfamilyName Write SetfamilyName;
  159. Property givenName : String Index 8 Read FgivenName Write SetgivenName;
  160. end;
  161. TActivityTypeactorTypenameClass = Class of TActivityTypeactorTypename;
  162. { --------------------------------------------------------------------
  163. TActivityTypeactor
  164. --------------------------------------------------------------------}
  165. TActivityTypeactor = Class(TGoogleBaseObject)
  166. Private
  167. FdisplayName : String;
  168. Fid : String;
  169. Fimage : TActivityTypeactorTypeimage;
  170. Fname : TActivityTypeactorTypename;
  171. Furl : String;
  172. Protected
  173. //Property setters
  174. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  175. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  176. Procedure Setimage(AIndex : Integer; AValue : TActivityTypeactorTypeimage); virtual;
  177. Procedure Setname(AIndex : Integer; AValue : TActivityTypeactorTypename); virtual;
  178. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  179. Public
  180. Published
  181. Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
  182. Property id : String Index 8 Read Fid Write Setid;
  183. Property image : TActivityTypeactorTypeimage Index 16 Read Fimage Write Setimage;
  184. Property name : TActivityTypeactorTypename Index 24 Read Fname Write Setname;
  185. Property url : String Index 32 Read Furl Write Seturl;
  186. end;
  187. TActivityTypeactorClass = Class of TActivityTypeactor;
  188. { --------------------------------------------------------------------
  189. TActivityTypeobjectTypeactorTypeimage
  190. --------------------------------------------------------------------}
  191. TActivityTypeobjectTypeactorTypeimage = Class(TGoogleBaseObject)
  192. Private
  193. Furl : String;
  194. Protected
  195. //Property setters
  196. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  197. Public
  198. Published
  199. Property url : String Index 0 Read Furl Write Seturl;
  200. end;
  201. TActivityTypeobjectTypeactorTypeimageClass = Class of TActivityTypeobjectTypeactorTypeimage;
  202. { --------------------------------------------------------------------
  203. TActivityTypeobjectTypeactor
  204. --------------------------------------------------------------------}
  205. TActivityTypeobjectTypeactor = Class(TGoogleBaseObject)
  206. Private
  207. FdisplayName : String;
  208. Fid : String;
  209. Fimage : TActivityTypeobjectTypeactorTypeimage;
  210. Furl : String;
  211. Protected
  212. //Property setters
  213. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  214. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  215. Procedure Setimage(AIndex : Integer; AValue : TActivityTypeobjectTypeactorTypeimage); virtual;
  216. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  217. Public
  218. Published
  219. Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
  220. Property id : String Index 8 Read Fid Write Setid;
  221. Property image : TActivityTypeobjectTypeactorTypeimage Index 16 Read Fimage Write Setimage;
  222. Property url : String Index 24 Read Furl Write Seturl;
  223. end;
  224. TActivityTypeobjectTypeactorClass = Class of TActivityTypeobjectTypeactor;
  225. { --------------------------------------------------------------------
  226. TActivityTypeobjectTypeattachmentsItemTypeembed
  227. --------------------------------------------------------------------}
  228. TActivityTypeobjectTypeattachmentsItemTypeembed = Class(TGoogleBaseObject)
  229. Private
  230. F_type : String;
  231. Furl : String;
  232. Protected
  233. Class Function ExportPropertyName(Const AName : String) : string; override;
  234. //Property setters
  235. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  236. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  237. Public
  238. Published
  239. Property _type : String Index 0 Read F_type Write Set_type;
  240. Property url : String Index 8 Read Furl Write Seturl;
  241. end;
  242. TActivityTypeobjectTypeattachmentsItemTypeembedClass = Class of TActivityTypeobjectTypeattachmentsItemTypeembed;
  243. { --------------------------------------------------------------------
  244. TActivityTypeobjectTypeattachmentsItemTypefullImage
  245. --------------------------------------------------------------------}
  246. TActivityTypeobjectTypeattachmentsItemTypefullImage = Class(TGoogleBaseObject)
  247. Private
  248. Fheight : integer;
  249. F_type : String;
  250. Furl : String;
  251. Fwidth : integer;
  252. Protected
  253. Class Function ExportPropertyName(Const AName : String) : string; override;
  254. //Property setters
  255. Procedure Setheight(AIndex : Integer; AValue : integer); virtual;
  256. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  257. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  258. Procedure Setwidth(AIndex : Integer; AValue : integer); virtual;
  259. Public
  260. Published
  261. Property height : integer Index 0 Read Fheight Write Setheight;
  262. Property _type : String Index 8 Read F_type Write Set_type;
  263. Property url : String Index 16 Read Furl Write Seturl;
  264. Property width : integer Index 24 Read Fwidth Write Setwidth;
  265. end;
  266. TActivityTypeobjectTypeattachmentsItemTypefullImageClass = Class of TActivityTypeobjectTypeattachmentsItemTypefullImage;
  267. { --------------------------------------------------------------------
  268. TActivityTypeobjectTypeattachmentsItemTypeimage
  269. --------------------------------------------------------------------}
  270. TActivityTypeobjectTypeattachmentsItemTypeimage = Class(TGoogleBaseObject)
  271. Private
  272. Fheight : integer;
  273. F_type : String;
  274. Furl : String;
  275. Fwidth : integer;
  276. Protected
  277. Class Function ExportPropertyName(Const AName : String) : string; override;
  278. //Property setters
  279. Procedure Setheight(AIndex : Integer; AValue : integer); virtual;
  280. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  281. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  282. Procedure Setwidth(AIndex : Integer; AValue : integer); virtual;
  283. Public
  284. Published
  285. Property height : integer Index 0 Read Fheight Write Setheight;
  286. Property _type : String Index 8 Read F_type Write Set_type;
  287. Property url : String Index 16 Read Furl Write Seturl;
  288. Property width : integer Index 24 Read Fwidth Write Setwidth;
  289. end;
  290. TActivityTypeobjectTypeattachmentsItemTypeimageClass = Class of TActivityTypeobjectTypeattachmentsItemTypeimage;
  291. { --------------------------------------------------------------------
  292. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem
  293. --------------------------------------------------------------------}
  294. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem = Class(TGoogleBaseObject)
  295. Private
  296. Furl : String;
  297. Protected
  298. //Property setters
  299. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  300. Public
  301. Published
  302. Property url : String Index 0 Read Furl Write Seturl;
  303. end;
  304. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItemClass = Class of TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem;
  305. { --------------------------------------------------------------------
  306. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage
  307. --------------------------------------------------------------------}
  308. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage = Class(TGoogleBaseObject)
  309. Private
  310. Fheight : integer;
  311. F_type : String;
  312. Furl : String;
  313. Fwidth : integer;
  314. Protected
  315. Class Function ExportPropertyName(Const AName : String) : string; override;
  316. //Property setters
  317. Procedure Setheight(AIndex : Integer; AValue : integer); virtual;
  318. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  319. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  320. Procedure Setwidth(AIndex : Integer; AValue : integer); virtual;
  321. Public
  322. Published
  323. Property height : integer Index 0 Read Fheight Write Setheight;
  324. Property _type : String Index 8 Read F_type Write Set_type;
  325. Property url : String Index 16 Read Furl Write Seturl;
  326. Property width : integer Index 24 Read Fwidth Write Setwidth;
  327. end;
  328. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimageClass = Class of TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage;
  329. { --------------------------------------------------------------------
  330. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem
  331. --------------------------------------------------------------------}
  332. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem = Class(TGoogleBaseObject)
  333. Private
  334. Fdescription : String;
  335. Fimage : TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage;
  336. Furl : String;
  337. Protected
  338. //Property setters
  339. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  340. Procedure Setimage(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage); virtual;
  341. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  342. Public
  343. Published
  344. Property description : String Index 0 Read Fdescription Write Setdescription;
  345. Property image : TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage Index 8 Read Fimage Write Setimage;
  346. Property url : String Index 16 Read Furl Write Seturl;
  347. end;
  348. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemClass = Class of TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem;
  349. { --------------------------------------------------------------------
  350. TActivityTypeobjectTypeattachmentsItem
  351. --------------------------------------------------------------------}
  352. TActivityTypeobjectTypeattachmentsItem = Class(TGoogleBaseObject)
  353. Private
  354. Fcontent : String;
  355. FdisplayName : String;
  356. Fembed : TActivityTypeobjectTypeattachmentsItemTypeembed;
  357. FfullImage : TActivityTypeobjectTypeattachmentsItemTypefullImage;
  358. Fid : String;
  359. Fimage : TActivityTypeobjectTypeattachmentsItemTypeimage;
  360. FobjectType : String;
  361. FpreviewThumbnails : TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsArray;
  362. Fthumbnails : TActivityTypeobjectTypeattachmentsItemTypethumbnailsArray;
  363. Furl : String;
  364. Protected
  365. //Property setters
  366. Procedure Setcontent(AIndex : Integer; const AValue : String); virtual;
  367. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  368. Procedure Setembed(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypeembed); virtual;
  369. Procedure SetfullImage(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypefullImage); virtual;
  370. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  371. Procedure Setimage(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypeimage); virtual;
  372. Procedure SetobjectType(AIndex : Integer; const AValue : String); virtual;
  373. Procedure SetpreviewThumbnails(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsArray); virtual;
  374. Procedure Setthumbnails(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypethumbnailsArray); virtual;
  375. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  376. //2.6.4. bug workaround
  377. {$IFDEF VER2_6}
  378. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  379. {$ENDIF VER2_6}
  380. Public
  381. Published
  382. Property content : String Index 0 Read Fcontent Write Setcontent;
  383. Property displayName : String Index 8 Read FdisplayName Write SetdisplayName;
  384. Property embed : TActivityTypeobjectTypeattachmentsItemTypeembed Index 16 Read Fembed Write Setembed;
  385. Property fullImage : TActivityTypeobjectTypeattachmentsItemTypefullImage Index 24 Read FfullImage Write SetfullImage;
  386. Property id : String Index 32 Read Fid Write Setid;
  387. Property image : TActivityTypeobjectTypeattachmentsItemTypeimage Index 40 Read Fimage Write Setimage;
  388. Property objectType : String Index 48 Read FobjectType Write SetobjectType;
  389. Property previewThumbnails : TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsArray Index 56 Read FpreviewThumbnails Write SetpreviewThumbnails;
  390. Property thumbnails : TActivityTypeobjectTypeattachmentsItemTypethumbnailsArray Index 64 Read Fthumbnails Write Setthumbnails;
  391. Property url : String Index 72 Read Furl Write Seturl;
  392. end;
  393. TActivityTypeobjectTypeattachmentsItemClass = Class of TActivityTypeobjectTypeattachmentsItem;
  394. { --------------------------------------------------------------------
  395. TActivityTypeobjectTypeplusoners
  396. --------------------------------------------------------------------}
  397. TActivityTypeobjectTypeplusoners = Class(TGoogleBaseObject)
  398. Private
  399. FselfLink : String;
  400. FtotalItems : integer;
  401. Protected
  402. //Property setters
  403. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  404. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  405. Public
  406. Published
  407. Property selfLink : String Index 0 Read FselfLink Write SetselfLink;
  408. Property totalItems : integer Index 8 Read FtotalItems Write SettotalItems;
  409. end;
  410. TActivityTypeobjectTypeplusonersClass = Class of TActivityTypeobjectTypeplusoners;
  411. { --------------------------------------------------------------------
  412. TActivityTypeobjectTypereplies
  413. --------------------------------------------------------------------}
  414. TActivityTypeobjectTypereplies = Class(TGoogleBaseObject)
  415. Private
  416. FselfLink : String;
  417. FtotalItems : integer;
  418. Protected
  419. //Property setters
  420. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  421. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  422. Public
  423. Published
  424. Property selfLink : String Index 0 Read FselfLink Write SetselfLink;
  425. Property totalItems : integer Index 8 Read FtotalItems Write SettotalItems;
  426. end;
  427. TActivityTypeobjectTyperepliesClass = Class of TActivityTypeobjectTypereplies;
  428. { --------------------------------------------------------------------
  429. TActivityTypeobjectTyperesharers
  430. --------------------------------------------------------------------}
  431. TActivityTypeobjectTyperesharers = Class(TGoogleBaseObject)
  432. Private
  433. FselfLink : String;
  434. FtotalItems : integer;
  435. Protected
  436. //Property setters
  437. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  438. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  439. Public
  440. Published
  441. Property selfLink : String Index 0 Read FselfLink Write SetselfLink;
  442. Property totalItems : integer Index 8 Read FtotalItems Write SettotalItems;
  443. end;
  444. TActivityTypeobjectTyperesharersClass = Class of TActivityTypeobjectTyperesharers;
  445. { --------------------------------------------------------------------
  446. TActivityTypeobjectTypestatusForViewer
  447. --------------------------------------------------------------------}
  448. TActivityTypeobjectTypestatusForViewer = Class(TGoogleBaseObject)
  449. Private
  450. FcanComment : boolean;
  451. FcanPlusone : boolean;
  452. FcanUpdate : boolean;
  453. FisPlusOned : boolean;
  454. FresharingDisabled : boolean;
  455. Protected
  456. //Property setters
  457. Procedure SetcanComment(AIndex : Integer; AValue : boolean); virtual;
  458. Procedure SetcanPlusone(AIndex : Integer; AValue : boolean); virtual;
  459. Procedure SetcanUpdate(AIndex : Integer; AValue : boolean); virtual;
  460. Procedure SetisPlusOned(AIndex : Integer; AValue : boolean); virtual;
  461. Procedure SetresharingDisabled(AIndex : Integer; AValue : boolean); virtual;
  462. Public
  463. Published
  464. Property canComment : boolean Index 0 Read FcanComment Write SetcanComment;
  465. Property canPlusone : boolean Index 8 Read FcanPlusone Write SetcanPlusone;
  466. Property canUpdate : boolean Index 16 Read FcanUpdate Write SetcanUpdate;
  467. Property isPlusOned : boolean Index 24 Read FisPlusOned Write SetisPlusOned;
  468. Property resharingDisabled : boolean Index 32 Read FresharingDisabled Write SetresharingDisabled;
  469. end;
  470. TActivityTypeobjectTypestatusForViewerClass = Class of TActivityTypeobjectTypestatusForViewer;
  471. { --------------------------------------------------------------------
  472. TActivityTypeobject
  473. --------------------------------------------------------------------}
  474. TActivityTypeobject = Class(TGoogleBaseObject)
  475. Private
  476. Factor : TActivityTypeobjectTypeactor;
  477. Fattachments : TActivityTypeobjectTypeattachmentsArray;
  478. Fcontent : String;
  479. Fid : String;
  480. FobjectType : String;
  481. ForiginalContent : String;
  482. Fplusoners : TActivityTypeobjectTypeplusoners;
  483. Freplies : TActivityTypeobjectTypereplies;
  484. Fresharers : TActivityTypeobjectTyperesharers;
  485. FstatusForViewer : TActivityTypeobjectTypestatusForViewer;
  486. Furl : String;
  487. Protected
  488. //Property setters
  489. Procedure Setactor(AIndex : Integer; AValue : TActivityTypeobjectTypeactor); virtual;
  490. Procedure Setattachments(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsArray); virtual;
  491. Procedure Setcontent(AIndex : Integer; const AValue : String); virtual;
  492. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  493. Procedure SetobjectType(AIndex : Integer; const AValue : String); virtual;
  494. Procedure SetoriginalContent(AIndex : Integer; const AValue : String); virtual;
  495. Procedure Setplusoners(AIndex : Integer; AValue : TActivityTypeobjectTypeplusoners); virtual;
  496. Procedure Setreplies(AIndex : Integer; AValue : TActivityTypeobjectTypereplies); virtual;
  497. Procedure Setresharers(AIndex : Integer; AValue : TActivityTypeobjectTyperesharers); virtual;
  498. Procedure SetstatusForViewer(AIndex : Integer; AValue : TActivityTypeobjectTypestatusForViewer); virtual;
  499. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  500. //2.6.4. bug workaround
  501. {$IFDEF VER2_6}
  502. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  503. {$ENDIF VER2_6}
  504. Public
  505. Published
  506. Property actor : TActivityTypeobjectTypeactor Index 0 Read Factor Write Setactor;
  507. Property attachments : TActivityTypeobjectTypeattachmentsArray Index 8 Read Fattachments Write Setattachments;
  508. Property content : String Index 16 Read Fcontent Write Setcontent;
  509. Property id : String Index 24 Read Fid Write Setid;
  510. Property objectType : String Index 32 Read FobjectType Write SetobjectType;
  511. Property originalContent : String Index 40 Read ForiginalContent Write SetoriginalContent;
  512. Property plusoners : TActivityTypeobjectTypeplusoners Index 48 Read Fplusoners Write Setplusoners;
  513. Property replies : TActivityTypeobjectTypereplies Index 56 Read Freplies Write Setreplies;
  514. Property resharers : TActivityTypeobjectTyperesharers Index 64 Read Fresharers Write Setresharers;
  515. Property statusForViewer : TActivityTypeobjectTypestatusForViewer Index 72 Read FstatusForViewer Write SetstatusForViewer;
  516. Property url : String Index 80 Read Furl Write Seturl;
  517. end;
  518. TActivityTypeobjectClass = Class of TActivityTypeobject;
  519. { --------------------------------------------------------------------
  520. TActivityTypeprovider
  521. --------------------------------------------------------------------}
  522. TActivityTypeprovider = Class(TGoogleBaseObject)
  523. Private
  524. Ftitle : String;
  525. Protected
  526. //Property setters
  527. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  528. Public
  529. Published
  530. Property title : String Index 0 Read Ftitle Write Settitle;
  531. end;
  532. TActivityTypeproviderClass = Class of TActivityTypeprovider;
  533. { --------------------------------------------------------------------
  534. TActivity
  535. --------------------------------------------------------------------}
  536. TActivity = Class(TGoogleBaseObject)
  537. Private
  538. Faccess : TAcl;
  539. Factor : TActivityTypeactor;
  540. Faddress : String;
  541. Fannotation : String;
  542. FcrosspostSource : String;
  543. Fetag : String;
  544. Fgeocode : String;
  545. Fid : String;
  546. Fkind : String;
  547. Flocation : TPlace;
  548. F_object : TActivityTypeobject;
  549. FplaceId : String;
  550. FplaceName : String;
  551. Fprovider : TActivityTypeprovider;
  552. F_published : TDatetime;
  553. Fradius : String;
  554. Ftitle : String;
  555. Fupdated : TDatetime;
  556. Furl : String;
  557. Fverb : String;
  558. Protected
  559. Class Function ExportPropertyName(Const AName : String) : string; override;
  560. //Property setters
  561. Procedure Setaccess(AIndex : Integer; AValue : TAcl); virtual;
  562. Procedure Setactor(AIndex : Integer; AValue : TActivityTypeactor); virtual;
  563. Procedure Setaddress(AIndex : Integer; const AValue : String); virtual;
  564. Procedure Setannotation(AIndex : Integer; const AValue : String); virtual;
  565. Procedure SetcrosspostSource(AIndex : Integer; const AValue : String); virtual;
  566. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  567. Procedure Setgeocode(AIndex : Integer; const AValue : String); virtual;
  568. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  569. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  570. Procedure Setlocation(AIndex : Integer; AValue : TPlace); virtual;
  571. Procedure Set_object(AIndex : Integer; AValue : TActivityTypeobject); virtual;
  572. Procedure SetplaceId(AIndex : Integer; const AValue : String); virtual;
  573. Procedure SetplaceName(AIndex : Integer; const AValue : String); virtual;
  574. Procedure Setprovider(AIndex : Integer; AValue : TActivityTypeprovider); virtual;
  575. Procedure Set_published(AIndex : Integer; AValue : TDatetime); virtual;
  576. Procedure Setradius(AIndex : Integer; const AValue : String); virtual;
  577. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  578. Procedure Setupdated(AIndex : Integer; AValue : TDatetime); virtual;
  579. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  580. Procedure Setverb(AIndex : Integer; const AValue : String); virtual;
  581. Public
  582. Published
  583. Property access : TAcl Index 0 Read Faccess Write Setaccess;
  584. Property actor : TActivityTypeactor Index 8 Read Factor Write Setactor;
  585. Property address : String Index 16 Read Faddress Write Setaddress;
  586. Property annotation : String Index 24 Read Fannotation Write Setannotation;
  587. Property crosspostSource : String Index 32 Read FcrosspostSource Write SetcrosspostSource;
  588. Property etag : String Index 40 Read Fetag Write Setetag;
  589. Property geocode : String Index 48 Read Fgeocode Write Setgeocode;
  590. Property id : String Index 56 Read Fid Write Setid;
  591. Property kind : String Index 64 Read Fkind Write Setkind;
  592. Property location : TPlace Index 72 Read Flocation Write Setlocation;
  593. Property _object : TActivityTypeobject Index 80 Read F_object Write Set_object;
  594. Property placeId : String Index 88 Read FplaceId Write SetplaceId;
  595. Property placeName : String Index 96 Read FplaceName Write SetplaceName;
  596. Property provider : TActivityTypeprovider Index 104 Read Fprovider Write Setprovider;
  597. Property _published : TDatetime Index 112 Read F_published Write Set_published;
  598. Property radius : String Index 120 Read Fradius Write Setradius;
  599. Property title : String Index 128 Read Ftitle Write Settitle;
  600. Property updated : TDatetime Index 136 Read Fupdated Write Setupdated;
  601. Property url : String Index 144 Read Furl Write Seturl;
  602. Property verb : String Index 152 Read Fverb Write Setverb;
  603. end;
  604. TActivityClass = Class of TActivity;
  605. { --------------------------------------------------------------------
  606. TActivityFeed
  607. --------------------------------------------------------------------}
  608. TActivityFeed = Class(TGoogleBaseObject)
  609. Private
  610. Fetag : String;
  611. Fid : String;
  612. Fitems : TActivityFeedTypeitemsArray;
  613. Fkind : String;
  614. FnextLink : String;
  615. FnextPageToken : String;
  616. FselfLink : String;
  617. Ftitle : String;
  618. Fupdated : TDatetime;
  619. Protected
  620. //Property setters
  621. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  622. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  623. Procedure Setitems(AIndex : Integer; AValue : TActivityFeedTypeitemsArray); virtual;
  624. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  625. Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
  626. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  627. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  628. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  629. Procedure Setupdated(AIndex : Integer; AValue : TDatetime); virtual;
  630. //2.6.4. bug workaround
  631. {$IFDEF VER2_6}
  632. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  633. {$ENDIF VER2_6}
  634. Public
  635. Published
  636. Property etag : String Index 0 Read Fetag Write Setetag;
  637. Property id : String Index 8 Read Fid Write Setid;
  638. Property items : TActivityFeedTypeitemsArray Index 16 Read Fitems Write Setitems;
  639. Property kind : String Index 24 Read Fkind Write Setkind;
  640. Property nextLink : String Index 32 Read FnextLink Write SetnextLink;
  641. Property nextPageToken : String Index 40 Read FnextPageToken Write SetnextPageToken;
  642. Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
  643. Property title : String Index 56 Read Ftitle Write Settitle;
  644. Property updated : TDatetime Index 64 Read Fupdated Write Setupdated;
  645. end;
  646. TActivityFeedClass = Class of TActivityFeed;
  647. { --------------------------------------------------------------------
  648. TAudience
  649. --------------------------------------------------------------------}
  650. TAudience = Class(TGoogleBaseObject)
  651. Private
  652. Fetag : String;
  653. Fitem : TPlusDomainsAclentryResource;
  654. Fkind : String;
  655. FmemberCount : integer;
  656. Fvisibility : String;
  657. Protected
  658. //Property setters
  659. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  660. Procedure Setitem(AIndex : Integer; AValue : TPlusDomainsAclentryResource); virtual;
  661. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  662. Procedure SetmemberCount(AIndex : Integer; AValue : integer); virtual;
  663. Procedure Setvisibility(AIndex : Integer; const AValue : String); virtual;
  664. Public
  665. Published
  666. Property etag : String Index 0 Read Fetag Write Setetag;
  667. Property item : TPlusDomainsAclentryResource Index 8 Read Fitem Write Setitem;
  668. Property kind : String Index 16 Read Fkind Write Setkind;
  669. Property memberCount : integer Index 24 Read FmemberCount Write SetmemberCount;
  670. Property visibility : String Index 32 Read Fvisibility Write Setvisibility;
  671. end;
  672. TAudienceClass = Class of TAudience;
  673. { --------------------------------------------------------------------
  674. TAudiencesFeed
  675. --------------------------------------------------------------------}
  676. TAudiencesFeed = Class(TGoogleBaseObject)
  677. Private
  678. Fetag : String;
  679. Fitems : TAudiencesFeedTypeitemsArray;
  680. Fkind : String;
  681. FnextPageToken : String;
  682. FtotalItems : integer;
  683. Protected
  684. //Property setters
  685. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  686. Procedure Setitems(AIndex : Integer; AValue : TAudiencesFeedTypeitemsArray); virtual;
  687. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  688. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  689. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  690. //2.6.4. bug workaround
  691. {$IFDEF VER2_6}
  692. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  693. {$ENDIF VER2_6}
  694. Public
  695. Published
  696. Property etag : String Index 0 Read Fetag Write Setetag;
  697. Property items : TAudiencesFeedTypeitemsArray Index 8 Read Fitems Write Setitems;
  698. Property kind : String Index 16 Read Fkind Write Setkind;
  699. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  700. Property totalItems : integer Index 32 Read FtotalItems Write SettotalItems;
  701. end;
  702. TAudiencesFeedClass = Class of TAudiencesFeed;
  703. { --------------------------------------------------------------------
  704. TCircleTypepeople
  705. --------------------------------------------------------------------}
  706. TCircleTypepeople = Class(TGoogleBaseObject)
  707. Private
  708. FtotalItems : integer;
  709. Protected
  710. //Property setters
  711. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  712. Public
  713. Published
  714. Property totalItems : integer Index 0 Read FtotalItems Write SettotalItems;
  715. end;
  716. TCircleTypepeopleClass = Class of TCircleTypepeople;
  717. { --------------------------------------------------------------------
  718. TCircle
  719. --------------------------------------------------------------------}
  720. TCircle = Class(TGoogleBaseObject)
  721. Private
  722. Fdescription : String;
  723. FdisplayName : String;
  724. Fetag : String;
  725. Fid : String;
  726. Fkind : String;
  727. Fpeople : TCircleTypepeople;
  728. FselfLink : String;
  729. Protected
  730. //Property setters
  731. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  732. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  733. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  734. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  735. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  736. Procedure Setpeople(AIndex : Integer; AValue : TCircleTypepeople); virtual;
  737. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  738. Public
  739. Published
  740. Property description : String Index 0 Read Fdescription Write Setdescription;
  741. Property displayName : String Index 8 Read FdisplayName Write SetdisplayName;
  742. Property etag : String Index 16 Read Fetag Write Setetag;
  743. Property id : String Index 24 Read Fid Write Setid;
  744. Property kind : String Index 32 Read Fkind Write Setkind;
  745. Property people : TCircleTypepeople Index 40 Read Fpeople Write Setpeople;
  746. Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
  747. end;
  748. TCircleClass = Class of TCircle;
  749. { --------------------------------------------------------------------
  750. TCircleFeed
  751. --------------------------------------------------------------------}
  752. TCircleFeed = Class(TGoogleBaseObject)
  753. Private
  754. Fetag : String;
  755. Fitems : TCircleFeedTypeitemsArray;
  756. Fkind : String;
  757. FnextLink : String;
  758. FnextPageToken : String;
  759. FselfLink : String;
  760. Ftitle : String;
  761. FtotalItems : integer;
  762. Protected
  763. //Property setters
  764. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  765. Procedure Setitems(AIndex : Integer; AValue : TCircleFeedTypeitemsArray); virtual;
  766. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  767. Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
  768. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  769. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  770. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  771. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  772. //2.6.4. bug workaround
  773. {$IFDEF VER2_6}
  774. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  775. {$ENDIF VER2_6}
  776. Public
  777. Published
  778. Property etag : String Index 0 Read Fetag Write Setetag;
  779. Property items : TCircleFeedTypeitemsArray Index 8 Read Fitems Write Setitems;
  780. Property kind : String Index 16 Read Fkind Write Setkind;
  781. Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
  782. Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
  783. Property selfLink : String Index 40 Read FselfLink Write SetselfLink;
  784. Property title : String Index 48 Read Ftitle Write Settitle;
  785. Property totalItems : integer Index 56 Read FtotalItems Write SettotalItems;
  786. end;
  787. TCircleFeedClass = Class of TCircleFeed;
  788. { --------------------------------------------------------------------
  789. TCommentTypeactorTypeimage
  790. --------------------------------------------------------------------}
  791. TCommentTypeactorTypeimage = Class(TGoogleBaseObject)
  792. Private
  793. Furl : String;
  794. Protected
  795. //Property setters
  796. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  797. Public
  798. Published
  799. Property url : String Index 0 Read Furl Write Seturl;
  800. end;
  801. TCommentTypeactorTypeimageClass = Class of TCommentTypeactorTypeimage;
  802. { --------------------------------------------------------------------
  803. TCommentTypeactor
  804. --------------------------------------------------------------------}
  805. TCommentTypeactor = Class(TGoogleBaseObject)
  806. Private
  807. FdisplayName : String;
  808. Fid : String;
  809. Fimage : TCommentTypeactorTypeimage;
  810. Furl : String;
  811. Protected
  812. //Property setters
  813. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  814. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  815. Procedure Setimage(AIndex : Integer; AValue : TCommentTypeactorTypeimage); virtual;
  816. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  817. Public
  818. Published
  819. Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
  820. Property id : String Index 8 Read Fid Write Setid;
  821. Property image : TCommentTypeactorTypeimage Index 16 Read Fimage Write Setimage;
  822. Property url : String Index 24 Read Furl Write Seturl;
  823. end;
  824. TCommentTypeactorClass = Class of TCommentTypeactor;
  825. { --------------------------------------------------------------------
  826. TCommentTypeinReplyToItem
  827. --------------------------------------------------------------------}
  828. TCommentTypeinReplyToItem = Class(TGoogleBaseObject)
  829. Private
  830. Fid : String;
  831. Furl : String;
  832. Protected
  833. //Property setters
  834. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  835. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  836. Public
  837. Published
  838. Property id : String Index 0 Read Fid Write Setid;
  839. Property url : String Index 8 Read Furl Write Seturl;
  840. end;
  841. TCommentTypeinReplyToItemClass = Class of TCommentTypeinReplyToItem;
  842. { --------------------------------------------------------------------
  843. TCommentTypeobject
  844. --------------------------------------------------------------------}
  845. TCommentTypeobject = Class(TGoogleBaseObject)
  846. Private
  847. Fcontent : String;
  848. FobjectType : String;
  849. ForiginalContent : String;
  850. Protected
  851. //Property setters
  852. Procedure Setcontent(AIndex : Integer; const AValue : String); virtual;
  853. Procedure SetobjectType(AIndex : Integer; const AValue : String); virtual;
  854. Procedure SetoriginalContent(AIndex : Integer; const AValue : String); virtual;
  855. Public
  856. Published
  857. Property content : String Index 0 Read Fcontent Write Setcontent;
  858. Property objectType : String Index 8 Read FobjectType Write SetobjectType;
  859. Property originalContent : String Index 16 Read ForiginalContent Write SetoriginalContent;
  860. end;
  861. TCommentTypeobjectClass = Class of TCommentTypeobject;
  862. { --------------------------------------------------------------------
  863. TCommentTypeplusoners
  864. --------------------------------------------------------------------}
  865. TCommentTypeplusoners = Class(TGoogleBaseObject)
  866. Private
  867. FtotalItems : integer;
  868. Protected
  869. //Property setters
  870. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  871. Public
  872. Published
  873. Property totalItems : integer Index 0 Read FtotalItems Write SettotalItems;
  874. end;
  875. TCommentTypeplusonersClass = Class of TCommentTypeplusoners;
  876. { --------------------------------------------------------------------
  877. TComment
  878. --------------------------------------------------------------------}
  879. TComment = Class(TGoogleBaseObject)
  880. Private
  881. Factor : TCommentTypeactor;
  882. Fetag : String;
  883. Fid : String;
  884. FinReplyTo : TCommentTypeinReplyToArray;
  885. Fkind : String;
  886. F_object : TCommentTypeobject;
  887. Fplusoners : TCommentTypeplusoners;
  888. F_published : TDatetime;
  889. FselfLink : String;
  890. Fupdated : TDatetime;
  891. Fverb : String;
  892. Protected
  893. Class Function ExportPropertyName(Const AName : String) : string; override;
  894. //Property setters
  895. Procedure Setactor(AIndex : Integer; AValue : TCommentTypeactor); virtual;
  896. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  897. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  898. Procedure SetinReplyTo(AIndex : Integer; AValue : TCommentTypeinReplyToArray); virtual;
  899. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  900. Procedure Set_object(AIndex : Integer; AValue : TCommentTypeobject); virtual;
  901. Procedure Setplusoners(AIndex : Integer; AValue : TCommentTypeplusoners); virtual;
  902. Procedure Set_published(AIndex : Integer; AValue : TDatetime); virtual;
  903. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  904. Procedure Setupdated(AIndex : Integer; AValue : TDatetime); virtual;
  905. Procedure Setverb(AIndex : Integer; const AValue : String); virtual;
  906. //2.6.4. bug workaround
  907. {$IFDEF VER2_6}
  908. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  909. {$ENDIF VER2_6}
  910. Public
  911. Published
  912. Property actor : TCommentTypeactor Index 0 Read Factor Write Setactor;
  913. Property etag : String Index 8 Read Fetag Write Setetag;
  914. Property id : String Index 16 Read Fid Write Setid;
  915. Property inReplyTo : TCommentTypeinReplyToArray Index 24 Read FinReplyTo Write SetinReplyTo;
  916. Property kind : String Index 32 Read Fkind Write Setkind;
  917. Property _object : TCommentTypeobject Index 40 Read F_object Write Set_object;
  918. Property plusoners : TCommentTypeplusoners Index 48 Read Fplusoners Write Setplusoners;
  919. Property _published : TDatetime Index 56 Read F_published Write Set_published;
  920. Property selfLink : String Index 64 Read FselfLink Write SetselfLink;
  921. Property updated : TDatetime Index 72 Read Fupdated Write Setupdated;
  922. Property verb : String Index 80 Read Fverb Write Setverb;
  923. end;
  924. TCommentClass = Class of TComment;
  925. { --------------------------------------------------------------------
  926. TCommentFeed
  927. --------------------------------------------------------------------}
  928. TCommentFeed = Class(TGoogleBaseObject)
  929. Private
  930. Fetag : String;
  931. Fid : String;
  932. Fitems : TCommentFeedTypeitemsArray;
  933. Fkind : String;
  934. FnextLink : String;
  935. FnextPageToken : String;
  936. Ftitle : String;
  937. Fupdated : TDatetime;
  938. Protected
  939. //Property setters
  940. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  941. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  942. Procedure Setitems(AIndex : Integer; AValue : TCommentFeedTypeitemsArray); virtual;
  943. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  944. Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
  945. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  946. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  947. Procedure Setupdated(AIndex : Integer; AValue : TDatetime); virtual;
  948. //2.6.4. bug workaround
  949. {$IFDEF VER2_6}
  950. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  951. {$ENDIF VER2_6}
  952. Public
  953. Published
  954. Property etag : String Index 0 Read Fetag Write Setetag;
  955. Property id : String Index 8 Read Fid Write Setid;
  956. Property items : TCommentFeedTypeitemsArray Index 16 Read Fitems Write Setitems;
  957. Property kind : String Index 24 Read Fkind Write Setkind;
  958. Property nextLink : String Index 32 Read FnextLink Write SetnextLink;
  959. Property nextPageToken : String Index 40 Read FnextPageToken Write SetnextPageToken;
  960. Property title : String Index 48 Read Ftitle Write Settitle;
  961. Property updated : TDatetime Index 56 Read Fupdated Write Setupdated;
  962. end;
  963. TCommentFeedClass = Class of TCommentFeed;
  964. { --------------------------------------------------------------------
  965. TMediaTypeauthorTypeimage
  966. --------------------------------------------------------------------}
  967. TMediaTypeauthorTypeimage = Class(TGoogleBaseObject)
  968. Private
  969. Furl : String;
  970. Protected
  971. //Property setters
  972. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  973. Public
  974. Published
  975. Property url : String Index 0 Read Furl Write Seturl;
  976. end;
  977. TMediaTypeauthorTypeimageClass = Class of TMediaTypeauthorTypeimage;
  978. { --------------------------------------------------------------------
  979. TMediaTypeauthor
  980. --------------------------------------------------------------------}
  981. TMediaTypeauthor = Class(TGoogleBaseObject)
  982. Private
  983. FdisplayName : String;
  984. Fid : String;
  985. Fimage : TMediaTypeauthorTypeimage;
  986. Furl : String;
  987. Protected
  988. //Property setters
  989. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  990. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  991. Procedure Setimage(AIndex : Integer; AValue : TMediaTypeauthorTypeimage); virtual;
  992. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  993. Public
  994. Published
  995. Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
  996. Property id : String Index 8 Read Fid Write Setid;
  997. Property image : TMediaTypeauthorTypeimage Index 16 Read Fimage Write Setimage;
  998. Property url : String Index 24 Read Furl Write Seturl;
  999. end;
  1000. TMediaTypeauthorClass = Class of TMediaTypeauthor;
  1001. { --------------------------------------------------------------------
  1002. TMediaTypeexif
  1003. --------------------------------------------------------------------}
  1004. TMediaTypeexif = Class(TGoogleBaseObject)
  1005. Private
  1006. Ftime : TDatetime;
  1007. Protected
  1008. //Property setters
  1009. Procedure Settime(AIndex : Integer; AValue : TDatetime); virtual;
  1010. Public
  1011. Published
  1012. Property time : TDatetime Index 0 Read Ftime Write Settime;
  1013. end;
  1014. TMediaTypeexifClass = Class of TMediaTypeexif;
  1015. { --------------------------------------------------------------------
  1016. TMedia
  1017. --------------------------------------------------------------------}
  1018. TMedia = Class(TGoogleBaseObject)
  1019. Private
  1020. Fauthor : TMediaTypeauthor;
  1021. FdisplayName : String;
  1022. Fetag : String;
  1023. Fexif : TMediaTypeexif;
  1024. Fheight : integer;
  1025. Fid : String;
  1026. Fkind : String;
  1027. FmediaCreatedTime : TDatetime;
  1028. FmediaUrl : String;
  1029. F_published : TDatetime;
  1030. FsizeBytes : String;
  1031. Fstreams : TMediaTypestreamsArray;
  1032. Fsummary : String;
  1033. Fupdated : TDatetime;
  1034. Furl : String;
  1035. FvideoDuration : String;
  1036. FvideoStatus : String;
  1037. Fwidth : integer;
  1038. Protected
  1039. Class Function ExportPropertyName(Const AName : String) : string; override;
  1040. //Property setters
  1041. Procedure Setauthor(AIndex : Integer; AValue : TMediaTypeauthor); virtual;
  1042. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  1043. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  1044. Procedure Setexif(AIndex : Integer; AValue : TMediaTypeexif); virtual;
  1045. Procedure Setheight(AIndex : Integer; AValue : integer); virtual;
  1046. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1047. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1048. Procedure SetmediaCreatedTime(AIndex : Integer; AValue : TDatetime); virtual;
  1049. Procedure SetmediaUrl(AIndex : Integer; const AValue : String); virtual;
  1050. Procedure Set_published(AIndex : Integer; AValue : TDatetime); virtual;
  1051. Procedure SetsizeBytes(AIndex : Integer; const AValue : String); virtual;
  1052. Procedure Setstreams(AIndex : Integer; AValue : TMediaTypestreamsArray); virtual;
  1053. Procedure Setsummary(AIndex : Integer; const AValue : String); virtual;
  1054. Procedure Setupdated(AIndex : Integer; AValue : TDatetime); virtual;
  1055. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  1056. Procedure SetvideoDuration(AIndex : Integer; const AValue : String); virtual;
  1057. Procedure SetvideoStatus(AIndex : Integer; const AValue : String); virtual;
  1058. Procedure Setwidth(AIndex : Integer; AValue : integer); virtual;
  1059. //2.6.4. bug workaround
  1060. {$IFDEF VER2_6}
  1061. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1062. {$ENDIF VER2_6}
  1063. Public
  1064. Published
  1065. Property author : TMediaTypeauthor Index 0 Read Fauthor Write Setauthor;
  1066. Property displayName : String Index 8 Read FdisplayName Write SetdisplayName;
  1067. Property etag : String Index 16 Read Fetag Write Setetag;
  1068. Property exif : TMediaTypeexif Index 24 Read Fexif Write Setexif;
  1069. Property height : integer Index 32 Read Fheight Write Setheight;
  1070. Property id : String Index 40 Read Fid Write Setid;
  1071. Property kind : String Index 48 Read Fkind Write Setkind;
  1072. Property mediaCreatedTime : TDatetime Index 56 Read FmediaCreatedTime Write SetmediaCreatedTime;
  1073. Property mediaUrl : String Index 64 Read FmediaUrl Write SetmediaUrl;
  1074. Property _published : TDatetime Index 72 Read F_published Write Set_published;
  1075. Property sizeBytes : String Index 80 Read FsizeBytes Write SetsizeBytes;
  1076. Property streams : TMediaTypestreamsArray Index 88 Read Fstreams Write Setstreams;
  1077. Property summary : String Index 96 Read Fsummary Write Setsummary;
  1078. Property updated : TDatetime Index 104 Read Fupdated Write Setupdated;
  1079. Property url : String Index 112 Read Furl Write Seturl;
  1080. Property videoDuration : String Index 120 Read FvideoDuration Write SetvideoDuration;
  1081. Property videoStatus : String Index 128 Read FvideoStatus Write SetvideoStatus;
  1082. Property width : integer Index 136 Read Fwidth Write Setwidth;
  1083. end;
  1084. TMediaClass = Class of TMedia;
  1085. { --------------------------------------------------------------------
  1086. TPeopleFeed
  1087. --------------------------------------------------------------------}
  1088. TPeopleFeed = Class(TGoogleBaseObject)
  1089. Private
  1090. Fetag : String;
  1091. Fitems : TPeopleFeedTypeitemsArray;
  1092. Fkind : String;
  1093. FnextPageToken : String;
  1094. FselfLink : String;
  1095. Ftitle : String;
  1096. FtotalItems : integer;
  1097. Protected
  1098. //Property setters
  1099. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  1100. Procedure Setitems(AIndex : Integer; AValue : TPeopleFeedTypeitemsArray); virtual;
  1101. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1102. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1103. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1104. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1105. Procedure SettotalItems(AIndex : Integer; AValue : integer); virtual;
  1106. //2.6.4. bug workaround
  1107. {$IFDEF VER2_6}
  1108. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1109. {$ENDIF VER2_6}
  1110. Public
  1111. Published
  1112. Property etag : String Index 0 Read Fetag Write Setetag;
  1113. Property items : TPeopleFeedTypeitemsArray Index 8 Read Fitems Write Setitems;
  1114. Property kind : String Index 16 Read Fkind Write Setkind;
  1115. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1116. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1117. Property title : String Index 40 Read Ftitle Write Settitle;
  1118. Property totalItems : integer Index 48 Read FtotalItems Write SettotalItems;
  1119. end;
  1120. TPeopleFeedClass = Class of TPeopleFeed;
  1121. { --------------------------------------------------------------------
  1122. TPersonTypecoverTypecoverInfo
  1123. --------------------------------------------------------------------}
  1124. TPersonTypecoverTypecoverInfo = Class(TGoogleBaseObject)
  1125. Private
  1126. FleftImageOffset : integer;
  1127. FtopImageOffset : integer;
  1128. Protected
  1129. //Property setters
  1130. Procedure SetleftImageOffset(AIndex : Integer; AValue : integer); virtual;
  1131. Procedure SettopImageOffset(AIndex : Integer; AValue : integer); virtual;
  1132. Public
  1133. Published
  1134. Property leftImageOffset : integer Index 0 Read FleftImageOffset Write SetleftImageOffset;
  1135. Property topImageOffset : integer Index 8 Read FtopImageOffset Write SettopImageOffset;
  1136. end;
  1137. TPersonTypecoverTypecoverInfoClass = Class of TPersonTypecoverTypecoverInfo;
  1138. { --------------------------------------------------------------------
  1139. TPersonTypecoverTypecoverPhoto
  1140. --------------------------------------------------------------------}
  1141. TPersonTypecoverTypecoverPhoto = Class(TGoogleBaseObject)
  1142. Private
  1143. Fheight : integer;
  1144. Furl : String;
  1145. Fwidth : integer;
  1146. Protected
  1147. //Property setters
  1148. Procedure Setheight(AIndex : Integer; AValue : integer); virtual;
  1149. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  1150. Procedure Setwidth(AIndex : Integer; AValue : integer); virtual;
  1151. Public
  1152. Published
  1153. Property height : integer Index 0 Read Fheight Write Setheight;
  1154. Property url : String Index 8 Read Furl Write Seturl;
  1155. Property width : integer Index 16 Read Fwidth Write Setwidth;
  1156. end;
  1157. TPersonTypecoverTypecoverPhotoClass = Class of TPersonTypecoverTypecoverPhoto;
  1158. { --------------------------------------------------------------------
  1159. TPersonTypecover
  1160. --------------------------------------------------------------------}
  1161. TPersonTypecover = Class(TGoogleBaseObject)
  1162. Private
  1163. FcoverInfo : TPersonTypecoverTypecoverInfo;
  1164. FcoverPhoto : TPersonTypecoverTypecoverPhoto;
  1165. Flayout : String;
  1166. Protected
  1167. //Property setters
  1168. Procedure SetcoverInfo(AIndex : Integer; AValue : TPersonTypecoverTypecoverInfo); virtual;
  1169. Procedure SetcoverPhoto(AIndex : Integer; AValue : TPersonTypecoverTypecoverPhoto); virtual;
  1170. Procedure Setlayout(AIndex : Integer; const AValue : String); virtual;
  1171. Public
  1172. Published
  1173. Property coverInfo : TPersonTypecoverTypecoverInfo Index 0 Read FcoverInfo Write SetcoverInfo;
  1174. Property coverPhoto : TPersonTypecoverTypecoverPhoto Index 8 Read FcoverPhoto Write SetcoverPhoto;
  1175. Property layout : String Index 16 Read Flayout Write Setlayout;
  1176. end;
  1177. TPersonTypecoverClass = Class of TPersonTypecover;
  1178. { --------------------------------------------------------------------
  1179. TPersonTypeemailsItem
  1180. --------------------------------------------------------------------}
  1181. TPersonTypeemailsItem = Class(TGoogleBaseObject)
  1182. Private
  1183. F_type : String;
  1184. Fvalue : String;
  1185. Protected
  1186. Class Function ExportPropertyName(Const AName : String) : string; override;
  1187. //Property setters
  1188. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1189. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1190. Public
  1191. Published
  1192. Property _type : String Index 0 Read F_type Write Set_type;
  1193. Property value : String Index 8 Read Fvalue Write Setvalue;
  1194. end;
  1195. TPersonTypeemailsItemClass = Class of TPersonTypeemailsItem;
  1196. { --------------------------------------------------------------------
  1197. TPersonTypeimage
  1198. --------------------------------------------------------------------}
  1199. TPersonTypeimage = Class(TGoogleBaseObject)
  1200. Private
  1201. FisDefault : boolean;
  1202. Furl : String;
  1203. Protected
  1204. //Property setters
  1205. Procedure SetisDefault(AIndex : Integer; AValue : boolean); virtual;
  1206. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  1207. Public
  1208. Published
  1209. Property isDefault : boolean Index 0 Read FisDefault Write SetisDefault;
  1210. Property url : String Index 8 Read Furl Write Seturl;
  1211. end;
  1212. TPersonTypeimageClass = Class of TPersonTypeimage;
  1213. { --------------------------------------------------------------------
  1214. TPersonTypename
  1215. --------------------------------------------------------------------}
  1216. TPersonTypename = Class(TGoogleBaseObject)
  1217. Private
  1218. FfamilyName : String;
  1219. Fformatted : String;
  1220. FgivenName : String;
  1221. FhonorificPrefix : String;
  1222. FhonorificSuffix : String;
  1223. FmiddleName : String;
  1224. Protected
  1225. //Property setters
  1226. Procedure SetfamilyName(AIndex : Integer; const AValue : String); virtual;
  1227. Procedure Setformatted(AIndex : Integer; const AValue : String); virtual;
  1228. Procedure SetgivenName(AIndex : Integer; const AValue : String); virtual;
  1229. Procedure SethonorificPrefix(AIndex : Integer; const AValue : String); virtual;
  1230. Procedure SethonorificSuffix(AIndex : Integer; const AValue : String); virtual;
  1231. Procedure SetmiddleName(AIndex : Integer; const AValue : String); virtual;
  1232. Public
  1233. Published
  1234. Property familyName : String Index 0 Read FfamilyName Write SetfamilyName;
  1235. Property formatted : String Index 8 Read Fformatted Write Setformatted;
  1236. Property givenName : String Index 16 Read FgivenName Write SetgivenName;
  1237. Property honorificPrefix : String Index 24 Read FhonorificPrefix Write SethonorificPrefix;
  1238. Property honorificSuffix : String Index 32 Read FhonorificSuffix Write SethonorificSuffix;
  1239. Property middleName : String Index 40 Read FmiddleName Write SetmiddleName;
  1240. end;
  1241. TPersonTypenameClass = Class of TPersonTypename;
  1242. { --------------------------------------------------------------------
  1243. TPersonTypeorganizationsItem
  1244. --------------------------------------------------------------------}
  1245. TPersonTypeorganizationsItem = Class(TGoogleBaseObject)
  1246. Private
  1247. Fdepartment : String;
  1248. Fdescription : String;
  1249. FendDate : String;
  1250. Flocation : String;
  1251. Fname : String;
  1252. Fprimary : boolean;
  1253. FstartDate : String;
  1254. Ftitle : String;
  1255. F_type : String;
  1256. Protected
  1257. Class Function ExportPropertyName(Const AName : String) : string; override;
  1258. //Property setters
  1259. Procedure Setdepartment(AIndex : Integer; const AValue : String); virtual;
  1260. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1261. Procedure SetendDate(AIndex : Integer; const AValue : String); virtual;
  1262. Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
  1263. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1264. Procedure Setprimary(AIndex : Integer; AValue : boolean); virtual;
  1265. Procedure SetstartDate(AIndex : Integer; const AValue : String); virtual;
  1266. Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
  1267. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1268. Public
  1269. Published
  1270. Property department : String Index 0 Read Fdepartment Write Setdepartment;
  1271. Property description : String Index 8 Read Fdescription Write Setdescription;
  1272. Property endDate : String Index 16 Read FendDate Write SetendDate;
  1273. Property location : String Index 24 Read Flocation Write Setlocation;
  1274. Property name : String Index 32 Read Fname Write Setname;
  1275. Property primary : boolean Index 40 Read Fprimary Write Setprimary;
  1276. Property startDate : String Index 48 Read FstartDate Write SetstartDate;
  1277. Property title : String Index 56 Read Ftitle Write Settitle;
  1278. Property _type : String Index 64 Read F_type Write Set_type;
  1279. end;
  1280. TPersonTypeorganizationsItemClass = Class of TPersonTypeorganizationsItem;
  1281. { --------------------------------------------------------------------
  1282. TPersonTypeplacesLivedItem
  1283. --------------------------------------------------------------------}
  1284. TPersonTypeplacesLivedItem = Class(TGoogleBaseObject)
  1285. Private
  1286. Fprimary : boolean;
  1287. Fvalue : String;
  1288. Protected
  1289. //Property setters
  1290. Procedure Setprimary(AIndex : Integer; AValue : boolean); virtual;
  1291. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1292. Public
  1293. Published
  1294. Property primary : boolean Index 0 Read Fprimary Write Setprimary;
  1295. Property value : String Index 8 Read Fvalue Write Setvalue;
  1296. end;
  1297. TPersonTypeplacesLivedItemClass = Class of TPersonTypeplacesLivedItem;
  1298. { --------------------------------------------------------------------
  1299. TPersonTypeurlsItem
  1300. --------------------------------------------------------------------}
  1301. TPersonTypeurlsItem = Class(TGoogleBaseObject)
  1302. Private
  1303. F_label : String;
  1304. F_type : String;
  1305. Fvalue : String;
  1306. Protected
  1307. Class Function ExportPropertyName(Const AName : String) : string; override;
  1308. //Property setters
  1309. Procedure Set_label(AIndex : Integer; const AValue : String); virtual;
  1310. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1311. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1312. Public
  1313. Published
  1314. Property _label : String Index 0 Read F_label Write Set_label;
  1315. Property _type : String Index 8 Read F_type Write Set_type;
  1316. Property value : String Index 16 Read Fvalue Write Setvalue;
  1317. end;
  1318. TPersonTypeurlsItemClass = Class of TPersonTypeurlsItem;
  1319. { --------------------------------------------------------------------
  1320. TPerson
  1321. --------------------------------------------------------------------}
  1322. TPerson = Class(TGoogleBaseObject)
  1323. Private
  1324. FaboutMe : String;
  1325. Fbirthday : String;
  1326. FbraggingRights : String;
  1327. FcircledByCount : integer;
  1328. Fcover : TPersonTypecover;
  1329. FcurrentLocation : String;
  1330. FdisplayName : String;
  1331. Fdomain : String;
  1332. Femails : TPersonTypeemailsArray;
  1333. Fetag : String;
  1334. Fgender : String;
  1335. Fid : String;
  1336. Fimage : TPersonTypeimage;
  1337. FisPlusUser : boolean;
  1338. Fkind : String;
  1339. Fname : TPersonTypename;
  1340. Fnickname : String;
  1341. FobjectType : String;
  1342. Foccupation : String;
  1343. Forganizations : TPersonTypeorganizationsArray;
  1344. FplacesLived : TPersonTypeplacesLivedArray;
  1345. FplusOneCount : integer;
  1346. FrelationshipStatus : String;
  1347. Fskills : String;
  1348. Ftagline : String;
  1349. Furl : String;
  1350. Furls : TPersonTypeurlsArray;
  1351. Fverified : boolean;
  1352. Protected
  1353. //Property setters
  1354. Procedure SetaboutMe(AIndex : Integer; const AValue : String); virtual;
  1355. Procedure Setbirthday(AIndex : Integer; const AValue : String); virtual;
  1356. Procedure SetbraggingRights(AIndex : Integer; const AValue : String); virtual;
  1357. Procedure SetcircledByCount(AIndex : Integer; AValue : integer); virtual;
  1358. Procedure Setcover(AIndex : Integer; AValue : TPersonTypecover); virtual;
  1359. Procedure SetcurrentLocation(AIndex : Integer; const AValue : String); virtual;
  1360. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  1361. Procedure Setdomain(AIndex : Integer; const AValue : String); virtual;
  1362. Procedure Setemails(AIndex : Integer; AValue : TPersonTypeemailsArray); virtual;
  1363. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  1364. Procedure Setgender(AIndex : Integer; const AValue : String); virtual;
  1365. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1366. Procedure Setimage(AIndex : Integer; AValue : TPersonTypeimage); virtual;
  1367. Procedure SetisPlusUser(AIndex : Integer; AValue : boolean); virtual;
  1368. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1369. Procedure Setname(AIndex : Integer; AValue : TPersonTypename); virtual;
  1370. Procedure Setnickname(AIndex : Integer; const AValue : String); virtual;
  1371. Procedure SetobjectType(AIndex : Integer; const AValue : String); virtual;
  1372. Procedure Setoccupation(AIndex : Integer; const AValue : String); virtual;
  1373. Procedure Setorganizations(AIndex : Integer; AValue : TPersonTypeorganizationsArray); virtual;
  1374. Procedure SetplacesLived(AIndex : Integer; AValue : TPersonTypeplacesLivedArray); virtual;
  1375. Procedure SetplusOneCount(AIndex : Integer; AValue : integer); virtual;
  1376. Procedure SetrelationshipStatus(AIndex : Integer; const AValue : String); virtual;
  1377. Procedure Setskills(AIndex : Integer; const AValue : String); virtual;
  1378. Procedure Settagline(AIndex : Integer; const AValue : String); virtual;
  1379. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  1380. Procedure Seturls(AIndex : Integer; AValue : TPersonTypeurlsArray); virtual;
  1381. Procedure Setverified(AIndex : Integer; AValue : boolean); virtual;
  1382. //2.6.4. bug workaround
  1383. {$IFDEF VER2_6}
  1384. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1385. {$ENDIF VER2_6}
  1386. Public
  1387. Published
  1388. Property aboutMe : String Index 0 Read FaboutMe Write SetaboutMe;
  1389. Property birthday : String Index 8 Read Fbirthday Write Setbirthday;
  1390. Property braggingRights : String Index 16 Read FbraggingRights Write SetbraggingRights;
  1391. Property circledByCount : integer Index 24 Read FcircledByCount Write SetcircledByCount;
  1392. Property cover : TPersonTypecover Index 32 Read Fcover Write Setcover;
  1393. Property currentLocation : String Index 40 Read FcurrentLocation Write SetcurrentLocation;
  1394. Property displayName : String Index 48 Read FdisplayName Write SetdisplayName;
  1395. Property domain : String Index 56 Read Fdomain Write Setdomain;
  1396. Property emails : TPersonTypeemailsArray Index 64 Read Femails Write Setemails;
  1397. Property etag : String Index 72 Read Fetag Write Setetag;
  1398. Property gender : String Index 80 Read Fgender Write Setgender;
  1399. Property id : String Index 88 Read Fid Write Setid;
  1400. Property image : TPersonTypeimage Index 96 Read Fimage Write Setimage;
  1401. Property isPlusUser : boolean Index 104 Read FisPlusUser Write SetisPlusUser;
  1402. Property kind : String Index 112 Read Fkind Write Setkind;
  1403. Property name : TPersonTypename Index 120 Read Fname Write Setname;
  1404. Property nickname : String Index 128 Read Fnickname Write Setnickname;
  1405. Property objectType : String Index 136 Read FobjectType Write SetobjectType;
  1406. Property occupation : String Index 144 Read Foccupation Write Setoccupation;
  1407. Property organizations : TPersonTypeorganizationsArray Index 152 Read Forganizations Write Setorganizations;
  1408. Property placesLived : TPersonTypeplacesLivedArray Index 160 Read FplacesLived Write SetplacesLived;
  1409. Property plusOneCount : integer Index 168 Read FplusOneCount Write SetplusOneCount;
  1410. Property relationshipStatus : String Index 176 Read FrelationshipStatus Write SetrelationshipStatus;
  1411. Property skills : String Index 184 Read Fskills Write Setskills;
  1412. Property tagline : String Index 192 Read Ftagline Write Settagline;
  1413. Property url : String Index 200 Read Furl Write Seturl;
  1414. Property urls : TPersonTypeurlsArray Index 208 Read Furls Write Seturls;
  1415. Property verified : boolean Index 216 Read Fverified Write Setverified;
  1416. end;
  1417. TPersonClass = Class of TPerson;
  1418. { --------------------------------------------------------------------
  1419. TPlaceTypeaddress
  1420. --------------------------------------------------------------------}
  1421. TPlaceTypeaddress = Class(TGoogleBaseObject)
  1422. Private
  1423. Fformatted : String;
  1424. Protected
  1425. //Property setters
  1426. Procedure Setformatted(AIndex : Integer; const AValue : String); virtual;
  1427. Public
  1428. Published
  1429. Property formatted : String Index 0 Read Fformatted Write Setformatted;
  1430. end;
  1431. TPlaceTypeaddressClass = Class of TPlaceTypeaddress;
  1432. { --------------------------------------------------------------------
  1433. TPlaceTypeposition
  1434. --------------------------------------------------------------------}
  1435. TPlaceTypeposition = Class(TGoogleBaseObject)
  1436. Private
  1437. Flatitude : double;
  1438. Flongitude : double;
  1439. Protected
  1440. //Property setters
  1441. Procedure Setlatitude(AIndex : Integer; AValue : double); virtual;
  1442. Procedure Setlongitude(AIndex : Integer; AValue : double); virtual;
  1443. Public
  1444. Published
  1445. Property latitude : double Index 0 Read Flatitude Write Setlatitude;
  1446. Property longitude : double Index 8 Read Flongitude Write Setlongitude;
  1447. end;
  1448. TPlaceTypepositionClass = Class of TPlaceTypeposition;
  1449. { --------------------------------------------------------------------
  1450. TPlace
  1451. --------------------------------------------------------------------}
  1452. TPlace = Class(TGoogleBaseObject)
  1453. Private
  1454. Faddress : TPlaceTypeaddress;
  1455. FdisplayName : String;
  1456. Fid : String;
  1457. Fkind : String;
  1458. Fposition : TPlaceTypeposition;
  1459. Protected
  1460. //Property setters
  1461. Procedure Setaddress(AIndex : Integer; AValue : TPlaceTypeaddress); virtual;
  1462. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  1463. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1464. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1465. Procedure Setposition(AIndex : Integer; AValue : TPlaceTypeposition); virtual;
  1466. Public
  1467. Published
  1468. Property address : TPlaceTypeaddress Index 0 Read Faddress Write Setaddress;
  1469. Property displayName : String Index 8 Read FdisplayName Write SetdisplayName;
  1470. Property id : String Index 16 Read Fid Write Setid;
  1471. Property kind : String Index 24 Read Fkind Write Setkind;
  1472. Property position : TPlaceTypeposition Index 32 Read Fposition Write Setposition;
  1473. end;
  1474. TPlaceClass = Class of TPlace;
  1475. { --------------------------------------------------------------------
  1476. TPlusDomainsAclentryResource
  1477. --------------------------------------------------------------------}
  1478. TPlusDomainsAclentryResource = Class(TGoogleBaseObject)
  1479. Private
  1480. FdisplayName : String;
  1481. Fid : String;
  1482. F_type : String;
  1483. Protected
  1484. Class Function ExportPropertyName(Const AName : String) : string; override;
  1485. //Property setters
  1486. Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
  1487. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1488. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1489. Public
  1490. Published
  1491. Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
  1492. Property id : String Index 8 Read Fid Write Setid;
  1493. Property _type : String Index 16 Read F_type Write Set_type;
  1494. end;
  1495. TPlusDomainsAclentryResourceClass = Class of TPlusDomainsAclentryResource;
  1496. { --------------------------------------------------------------------
  1497. TVideostream
  1498. --------------------------------------------------------------------}
  1499. TVideostream = Class(TGoogleBaseObject)
  1500. Private
  1501. Fheight : integer;
  1502. F_type : String;
  1503. Furl : String;
  1504. Fwidth : integer;
  1505. Protected
  1506. Class Function ExportPropertyName(Const AName : String) : string; override;
  1507. //Property setters
  1508. Procedure Setheight(AIndex : Integer; AValue : integer); virtual;
  1509. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1510. Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
  1511. Procedure Setwidth(AIndex : Integer; AValue : integer); virtual;
  1512. Public
  1513. Published
  1514. Property height : integer Index 0 Read Fheight Write Setheight;
  1515. Property _type : String Index 8 Read F_type Write Set_type;
  1516. Property url : String Index 16 Read Furl Write Seturl;
  1517. Property width : integer Index 24 Read Fwidth Write Setwidth;
  1518. end;
  1519. TVideostreamClass = Class of TVideostream;
  1520. { --------------------------------------------------------------------
  1521. TActivitiesResource
  1522. --------------------------------------------------------------------}
  1523. //Optional query Options for TActivitiesResource, method Insert
  1524. TActivitiesInsertOptions = Record
  1525. preview : boolean;
  1526. end;
  1527. //Optional query Options for TActivitiesResource, method List
  1528. TActivitiesListOptions = Record
  1529. maxResults : integer;
  1530. pageToken : String;
  1531. end;
  1532. TActivitiesResource = Class(TGoogleResource)
  1533. Public
  1534. Class Function ResourceName : String; override;
  1535. Class Function DefaultAPI : TGoogleAPIClass; override;
  1536. Function Get(activityId: string) : TActivity;
  1537. Function Insert(userId: string; aActivity : TActivity; AQuery : string = '') : TActivity;
  1538. Function Insert(userId: string; aActivity : TActivity; AQuery : TActivitiesinsertOptions) : TActivity;
  1539. Function List(collection: string; userId: string; AQuery : string = '') : TActivityFeed;
  1540. Function List(collection: string; userId: string; AQuery : TActivitieslistOptions) : TActivityFeed;
  1541. end;
  1542. { --------------------------------------------------------------------
  1543. TAudiencesResource
  1544. --------------------------------------------------------------------}
  1545. //Optional query Options for TAudiencesResource, method List
  1546. TAudiencesListOptions = Record
  1547. maxResults : integer;
  1548. pageToken : String;
  1549. end;
  1550. TAudiencesResource = Class(TGoogleResource)
  1551. Public
  1552. Class Function ResourceName : String; override;
  1553. Class Function DefaultAPI : TGoogleAPIClass; override;
  1554. Function List(userId: string; AQuery : string = '') : TAudiencesFeed;
  1555. Function List(userId: string; AQuery : TAudienceslistOptions) : TAudiencesFeed;
  1556. end;
  1557. { --------------------------------------------------------------------
  1558. TCirclesResource
  1559. --------------------------------------------------------------------}
  1560. //Optional query Options for TCirclesResource, method AddPeople
  1561. TCirclesAddPeopleOptions = Record
  1562. email : String;
  1563. userId : String;
  1564. end;
  1565. //Optional query Options for TCirclesResource, method List
  1566. TCirclesListOptions = Record
  1567. maxResults : integer;
  1568. pageToken : String;
  1569. end;
  1570. //Optional query Options for TCirclesResource, method RemovePeople
  1571. TCirclesRemovePeopleOptions = Record
  1572. email : String;
  1573. userId : String;
  1574. end;
  1575. TCirclesResource = Class(TGoogleResource)
  1576. Public
  1577. Class Function ResourceName : String; override;
  1578. Class Function DefaultAPI : TGoogleAPIClass; override;
  1579. Function AddPeople(circleId: string; AQuery : string = '') : TCircle;
  1580. Function AddPeople(circleId: string; AQuery : TCirclesaddPeopleOptions) : TCircle;
  1581. Function Get(circleId: string) : TCircle;
  1582. Function Insert(userId: string; aCircle : TCircle) : TCircle;
  1583. Function List(userId: string; AQuery : string = '') : TCircleFeed;
  1584. Function List(userId: string; AQuery : TCircleslistOptions) : TCircleFeed;
  1585. Function Patch(circleId: string; aCircle : TCircle) : TCircle;
  1586. Procedure Remove(circleId: string);
  1587. Procedure RemovePeople(circleId: string; AQuery : string = '');
  1588. Procedure RemovePeople(circleId: string; AQuery : TCirclesremovePeopleOptions);
  1589. Function Update(circleId: string; aCircle : TCircle) : TCircle;
  1590. end;
  1591. { --------------------------------------------------------------------
  1592. TCommentsResource
  1593. --------------------------------------------------------------------}
  1594. //Optional query Options for TCommentsResource, method List
  1595. TCommentsListOptions = Record
  1596. maxResults : integer;
  1597. pageToken : String;
  1598. sortOrder : String;
  1599. end;
  1600. TCommentsResource = Class(TGoogleResource)
  1601. Public
  1602. Class Function ResourceName : String; override;
  1603. Class Function DefaultAPI : TGoogleAPIClass; override;
  1604. Function Get(commentId: string) : TComment;
  1605. Function Insert(activityId: string; aComment : TComment) : TComment;
  1606. Function List(activityId: string; AQuery : string = '') : TCommentFeed;
  1607. Function List(activityId: string; AQuery : TCommentslistOptions) : TCommentFeed;
  1608. end;
  1609. { --------------------------------------------------------------------
  1610. TMediaResource
  1611. --------------------------------------------------------------------}
  1612. TMediaResource = Class(TGoogleResource)
  1613. Public
  1614. Class Function ResourceName : String; override;
  1615. Class Function DefaultAPI : TGoogleAPIClass; override;
  1616. Function Insert(collection: string; userId: string; aMedia : TMedia) : TMedia;
  1617. end;
  1618. { --------------------------------------------------------------------
  1619. TPeopleResource
  1620. --------------------------------------------------------------------}
  1621. //Optional query Options for TPeopleResource, method List
  1622. TPeopleListOptions = Record
  1623. maxResults : integer;
  1624. orderBy : String;
  1625. pageToken : String;
  1626. end;
  1627. //Optional query Options for TPeopleResource, method ListByActivity
  1628. TPeopleListByActivityOptions = Record
  1629. maxResults : integer;
  1630. pageToken : String;
  1631. end;
  1632. //Optional query Options for TPeopleResource, method ListByCircle
  1633. TPeopleListByCircleOptions = Record
  1634. maxResults : integer;
  1635. pageToken : String;
  1636. end;
  1637. TPeopleResource = Class(TGoogleResource)
  1638. Public
  1639. Class Function ResourceName : String; override;
  1640. Class Function DefaultAPI : TGoogleAPIClass; override;
  1641. Function Get(userId: string) : TPerson;
  1642. Function List(collection: string; userId: string; AQuery : string = '') : TPeopleFeed;
  1643. Function List(collection: string; userId: string; AQuery : TPeoplelistOptions) : TPeopleFeed;
  1644. Function ListByActivity(activityId: string; collection: string; AQuery : string = '') : TPeopleFeed;
  1645. Function ListByActivity(activityId: string; collection: string; AQuery : TPeoplelistByActivityOptions) : TPeopleFeed;
  1646. Function ListByCircle(circleId: string; AQuery : string = '') : TPeopleFeed;
  1647. Function ListByCircle(circleId: string; AQuery : TPeoplelistByCircleOptions) : TPeopleFeed;
  1648. end;
  1649. { --------------------------------------------------------------------
  1650. TPlusDomainsAPI
  1651. --------------------------------------------------------------------}
  1652. TPlusDomainsAPI = Class(TGoogleAPI)
  1653. Private
  1654. FActivitiesInstance : TActivitiesResource;
  1655. FAudiencesInstance : TAudiencesResource;
  1656. FCirclesInstance : TCirclesResource;
  1657. FCommentsInstance : TCommentsResource;
  1658. FMediaInstance : TMediaResource;
  1659. FPeopleInstance : TPeopleResource;
  1660. Function GetActivitiesInstance : TActivitiesResource;virtual;
  1661. Function GetAudiencesInstance : TAudiencesResource;virtual;
  1662. Function GetCirclesInstance : TCirclesResource;virtual;
  1663. Function GetCommentsInstance : TCommentsResource;virtual;
  1664. Function GetMediaInstance : TMediaResource;virtual;
  1665. Function GetPeopleInstance : TPeopleResource;virtual;
  1666. Public
  1667. //Override class functions with API info
  1668. Class Function APIName : String; override;
  1669. Class Function APIVersion : String; override;
  1670. Class Function APIRevision : String; override;
  1671. Class Function APIID : String; override;
  1672. Class Function APITitle : String; override;
  1673. Class Function APIDescription : String; override;
  1674. Class Function APIOwnerDomain : String; override;
  1675. Class Function APIOwnerName : String; override;
  1676. Class Function APIIcon16 : String; override;
  1677. Class Function APIIcon32 : String; override;
  1678. Class Function APIdocumentationLink : String; override;
  1679. Class Function APIrootUrl : string; override;
  1680. Class Function APIbasePath : string;override;
  1681. Class Function APIbaseURL : String;override;
  1682. Class Function APIProtocol : string;override;
  1683. Class Function APIservicePath : string;override;
  1684. Class Function APIbatchPath : String;override;
  1685. Class Function APIAuthScopes : TScopeInfoArray;override;
  1686. Class Function APINeedsAuth : Boolean;override;
  1687. Class Procedure RegisterAPIResources; override;
  1688. //Add create function for resources
  1689. Function CreateActivitiesResource(AOwner : TComponent) : TActivitiesResource;virtual;overload;
  1690. Function CreateActivitiesResource : TActivitiesResource;virtual;overload;
  1691. Function CreateAudiencesResource(AOwner : TComponent) : TAudiencesResource;virtual;overload;
  1692. Function CreateAudiencesResource : TAudiencesResource;virtual;overload;
  1693. Function CreateCirclesResource(AOwner : TComponent) : TCirclesResource;virtual;overload;
  1694. Function CreateCirclesResource : TCirclesResource;virtual;overload;
  1695. Function CreateCommentsResource(AOwner : TComponent) : TCommentsResource;virtual;overload;
  1696. Function CreateCommentsResource : TCommentsResource;virtual;overload;
  1697. Function CreateMediaResource(AOwner : TComponent) : TMediaResource;virtual;overload;
  1698. Function CreateMediaResource : TMediaResource;virtual;overload;
  1699. Function CreatePeopleResource(AOwner : TComponent) : TPeopleResource;virtual;overload;
  1700. Function CreatePeopleResource : TPeopleResource;virtual;overload;
  1701. //Add default on-demand instances for resources
  1702. Property ActivitiesResource : TActivitiesResource Read GetActivitiesInstance;
  1703. Property AudiencesResource : TAudiencesResource Read GetAudiencesInstance;
  1704. Property CirclesResource : TCirclesResource Read GetCirclesInstance;
  1705. Property CommentsResource : TCommentsResource Read GetCommentsInstance;
  1706. Property MediaResource : TMediaResource Read GetMediaInstance;
  1707. Property PeopleResource : TPeopleResource Read GetPeopleInstance;
  1708. end;
  1709. implementation
  1710. { --------------------------------------------------------------------
  1711. TAcl
  1712. --------------------------------------------------------------------}
  1713. Procedure TAcl.Setdescription(AIndex : Integer; const AValue : String);
  1714. begin
  1715. If (Fdescription=AValue) then exit;
  1716. Fdescription:=AValue;
  1717. MarkPropertyChanged(AIndex);
  1718. end;
  1719. Procedure TAcl.SetdomainRestricted(AIndex : Integer; AValue : boolean);
  1720. begin
  1721. If (FdomainRestricted=AValue) then exit;
  1722. FdomainRestricted:=AValue;
  1723. MarkPropertyChanged(AIndex);
  1724. end;
  1725. Procedure TAcl.Setitems(AIndex : Integer; AValue : TAclTypeitemsArray);
  1726. begin
  1727. If (Fitems=AValue) then exit;
  1728. Fitems:=AValue;
  1729. MarkPropertyChanged(AIndex);
  1730. end;
  1731. Procedure TAcl.Setkind(AIndex : Integer; const AValue : String);
  1732. begin
  1733. If (Fkind=AValue) then exit;
  1734. Fkind:=AValue;
  1735. MarkPropertyChanged(AIndex);
  1736. end;
  1737. //2.6.4. bug workaround
  1738. {$IFDEF VER2_6}
  1739. Procedure TAcl.SetArrayLength(Const AName : String; ALength : Longint);
  1740. begin
  1741. Case AName of
  1742. 'items' : SetLength(Fitems,ALength);
  1743. else
  1744. Inherited SetArrayLength(AName,ALength);
  1745. end;
  1746. end;
  1747. {$ENDIF VER2_6}
  1748. { --------------------------------------------------------------------
  1749. TActivityTypeactorTypeimage
  1750. --------------------------------------------------------------------}
  1751. Procedure TActivityTypeactorTypeimage.Seturl(AIndex : Integer; const AValue : String);
  1752. begin
  1753. If (Furl=AValue) then exit;
  1754. Furl:=AValue;
  1755. MarkPropertyChanged(AIndex);
  1756. end;
  1757. { --------------------------------------------------------------------
  1758. TActivityTypeactorTypename
  1759. --------------------------------------------------------------------}
  1760. Procedure TActivityTypeactorTypename.SetfamilyName(AIndex : Integer; const AValue : String);
  1761. begin
  1762. If (FfamilyName=AValue) then exit;
  1763. FfamilyName:=AValue;
  1764. MarkPropertyChanged(AIndex);
  1765. end;
  1766. Procedure TActivityTypeactorTypename.SetgivenName(AIndex : Integer; const AValue : String);
  1767. begin
  1768. If (FgivenName=AValue) then exit;
  1769. FgivenName:=AValue;
  1770. MarkPropertyChanged(AIndex);
  1771. end;
  1772. { --------------------------------------------------------------------
  1773. TActivityTypeactor
  1774. --------------------------------------------------------------------}
  1775. Procedure TActivityTypeactor.SetdisplayName(AIndex : Integer; const AValue : String);
  1776. begin
  1777. If (FdisplayName=AValue) then exit;
  1778. FdisplayName:=AValue;
  1779. MarkPropertyChanged(AIndex);
  1780. end;
  1781. Procedure TActivityTypeactor.Setid(AIndex : Integer; const AValue : String);
  1782. begin
  1783. If (Fid=AValue) then exit;
  1784. Fid:=AValue;
  1785. MarkPropertyChanged(AIndex);
  1786. end;
  1787. Procedure TActivityTypeactor.Setimage(AIndex : Integer; AValue : TActivityTypeactorTypeimage);
  1788. begin
  1789. If (Fimage=AValue) then exit;
  1790. Fimage:=AValue;
  1791. MarkPropertyChanged(AIndex);
  1792. end;
  1793. Procedure TActivityTypeactor.Setname(AIndex : Integer; AValue : TActivityTypeactorTypename);
  1794. begin
  1795. If (Fname=AValue) then exit;
  1796. Fname:=AValue;
  1797. MarkPropertyChanged(AIndex);
  1798. end;
  1799. Procedure TActivityTypeactor.Seturl(AIndex : Integer; const AValue : String);
  1800. begin
  1801. If (Furl=AValue) then exit;
  1802. Furl:=AValue;
  1803. MarkPropertyChanged(AIndex);
  1804. end;
  1805. { --------------------------------------------------------------------
  1806. TActivityTypeobjectTypeactorTypeimage
  1807. --------------------------------------------------------------------}
  1808. Procedure TActivityTypeobjectTypeactorTypeimage.Seturl(AIndex : Integer; const AValue : String);
  1809. begin
  1810. If (Furl=AValue) then exit;
  1811. Furl:=AValue;
  1812. MarkPropertyChanged(AIndex);
  1813. end;
  1814. { --------------------------------------------------------------------
  1815. TActivityTypeobjectTypeactor
  1816. --------------------------------------------------------------------}
  1817. Procedure TActivityTypeobjectTypeactor.SetdisplayName(AIndex : Integer; const AValue : String);
  1818. begin
  1819. If (FdisplayName=AValue) then exit;
  1820. FdisplayName:=AValue;
  1821. MarkPropertyChanged(AIndex);
  1822. end;
  1823. Procedure TActivityTypeobjectTypeactor.Setid(AIndex : Integer; const AValue : String);
  1824. begin
  1825. If (Fid=AValue) then exit;
  1826. Fid:=AValue;
  1827. MarkPropertyChanged(AIndex);
  1828. end;
  1829. Procedure TActivityTypeobjectTypeactor.Setimage(AIndex : Integer; AValue : TActivityTypeobjectTypeactorTypeimage);
  1830. begin
  1831. If (Fimage=AValue) then exit;
  1832. Fimage:=AValue;
  1833. MarkPropertyChanged(AIndex);
  1834. end;
  1835. Procedure TActivityTypeobjectTypeactor.Seturl(AIndex : Integer; const AValue : String);
  1836. begin
  1837. If (Furl=AValue) then exit;
  1838. Furl:=AValue;
  1839. MarkPropertyChanged(AIndex);
  1840. end;
  1841. { --------------------------------------------------------------------
  1842. TActivityTypeobjectTypeattachmentsItemTypeembed
  1843. --------------------------------------------------------------------}
  1844. Procedure TActivityTypeobjectTypeattachmentsItemTypeembed.Set_type(AIndex : Integer; const AValue : String);
  1845. begin
  1846. If (F_type=AValue) then exit;
  1847. F_type:=AValue;
  1848. MarkPropertyChanged(AIndex);
  1849. end;
  1850. Procedure TActivityTypeobjectTypeattachmentsItemTypeembed.Seturl(AIndex : Integer; const AValue : String);
  1851. begin
  1852. If (Furl=AValue) then exit;
  1853. Furl:=AValue;
  1854. MarkPropertyChanged(AIndex);
  1855. end;
  1856. Class Function TActivityTypeobjectTypeattachmentsItemTypeembed.ExportPropertyName(Const AName : String) :String;
  1857. begin
  1858. Case AName of
  1859. '_type' : Result:='type';
  1860. else
  1861. Result:=Inherited ExportPropertyName(AName);
  1862. end;
  1863. end;
  1864. { --------------------------------------------------------------------
  1865. TActivityTypeobjectTypeattachmentsItemTypefullImage
  1866. --------------------------------------------------------------------}
  1867. Procedure TActivityTypeobjectTypeattachmentsItemTypefullImage.Setheight(AIndex : Integer; AValue : integer);
  1868. begin
  1869. If (Fheight=AValue) then exit;
  1870. Fheight:=AValue;
  1871. MarkPropertyChanged(AIndex);
  1872. end;
  1873. Procedure TActivityTypeobjectTypeattachmentsItemTypefullImage.Set_type(AIndex : Integer; const AValue : String);
  1874. begin
  1875. If (F_type=AValue) then exit;
  1876. F_type:=AValue;
  1877. MarkPropertyChanged(AIndex);
  1878. end;
  1879. Procedure TActivityTypeobjectTypeattachmentsItemTypefullImage.Seturl(AIndex : Integer; const AValue : String);
  1880. begin
  1881. If (Furl=AValue) then exit;
  1882. Furl:=AValue;
  1883. MarkPropertyChanged(AIndex);
  1884. end;
  1885. Procedure TActivityTypeobjectTypeattachmentsItemTypefullImage.Setwidth(AIndex : Integer; AValue : integer);
  1886. begin
  1887. If (Fwidth=AValue) then exit;
  1888. Fwidth:=AValue;
  1889. MarkPropertyChanged(AIndex);
  1890. end;
  1891. Class Function TActivityTypeobjectTypeattachmentsItemTypefullImage.ExportPropertyName(Const AName : String) :String;
  1892. begin
  1893. Case AName of
  1894. '_type' : Result:='type';
  1895. else
  1896. Result:=Inherited ExportPropertyName(AName);
  1897. end;
  1898. end;
  1899. { --------------------------------------------------------------------
  1900. TActivityTypeobjectTypeattachmentsItemTypeimage
  1901. --------------------------------------------------------------------}
  1902. Procedure TActivityTypeobjectTypeattachmentsItemTypeimage.Setheight(AIndex : Integer; AValue : integer);
  1903. begin
  1904. If (Fheight=AValue) then exit;
  1905. Fheight:=AValue;
  1906. MarkPropertyChanged(AIndex);
  1907. end;
  1908. Procedure TActivityTypeobjectTypeattachmentsItemTypeimage.Set_type(AIndex : Integer; const AValue : String);
  1909. begin
  1910. If (F_type=AValue) then exit;
  1911. F_type:=AValue;
  1912. MarkPropertyChanged(AIndex);
  1913. end;
  1914. Procedure TActivityTypeobjectTypeattachmentsItemTypeimage.Seturl(AIndex : Integer; const AValue : String);
  1915. begin
  1916. If (Furl=AValue) then exit;
  1917. Furl:=AValue;
  1918. MarkPropertyChanged(AIndex);
  1919. end;
  1920. Procedure TActivityTypeobjectTypeattachmentsItemTypeimage.Setwidth(AIndex : Integer; AValue : integer);
  1921. begin
  1922. If (Fwidth=AValue) then exit;
  1923. Fwidth:=AValue;
  1924. MarkPropertyChanged(AIndex);
  1925. end;
  1926. Class Function TActivityTypeobjectTypeattachmentsItemTypeimage.ExportPropertyName(Const AName : String) :String;
  1927. begin
  1928. Case AName of
  1929. '_type' : Result:='type';
  1930. else
  1931. Result:=Inherited ExportPropertyName(AName);
  1932. end;
  1933. end;
  1934. { --------------------------------------------------------------------
  1935. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem
  1936. --------------------------------------------------------------------}
  1937. Procedure TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem.Seturl(AIndex : Integer; const AValue : String);
  1938. begin
  1939. If (Furl=AValue) then exit;
  1940. Furl:=AValue;
  1941. MarkPropertyChanged(AIndex);
  1942. end;
  1943. { --------------------------------------------------------------------
  1944. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage
  1945. --------------------------------------------------------------------}
  1946. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage.Setheight(AIndex : Integer; AValue : integer);
  1947. begin
  1948. If (Fheight=AValue) then exit;
  1949. Fheight:=AValue;
  1950. MarkPropertyChanged(AIndex);
  1951. end;
  1952. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage.Set_type(AIndex : Integer; const AValue : String);
  1953. begin
  1954. If (F_type=AValue) then exit;
  1955. F_type:=AValue;
  1956. MarkPropertyChanged(AIndex);
  1957. end;
  1958. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage.Seturl(AIndex : Integer; const AValue : String);
  1959. begin
  1960. If (Furl=AValue) then exit;
  1961. Furl:=AValue;
  1962. MarkPropertyChanged(AIndex);
  1963. end;
  1964. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage.Setwidth(AIndex : Integer; AValue : integer);
  1965. begin
  1966. If (Fwidth=AValue) then exit;
  1967. Fwidth:=AValue;
  1968. MarkPropertyChanged(AIndex);
  1969. end;
  1970. Class Function TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage.ExportPropertyName(Const AName : String) :String;
  1971. begin
  1972. Case AName of
  1973. '_type' : Result:='type';
  1974. else
  1975. Result:=Inherited ExportPropertyName(AName);
  1976. end;
  1977. end;
  1978. { --------------------------------------------------------------------
  1979. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem
  1980. --------------------------------------------------------------------}
  1981. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem.Setdescription(AIndex : Integer; const AValue : String);
  1982. begin
  1983. If (Fdescription=AValue) then exit;
  1984. Fdescription:=AValue;
  1985. MarkPropertyChanged(AIndex);
  1986. end;
  1987. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem.Setimage(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage);
  1988. begin
  1989. If (Fimage=AValue) then exit;
  1990. Fimage:=AValue;
  1991. MarkPropertyChanged(AIndex);
  1992. end;
  1993. Procedure TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem.Seturl(AIndex : Integer; const AValue : String);
  1994. begin
  1995. If (Furl=AValue) then exit;
  1996. Furl:=AValue;
  1997. MarkPropertyChanged(AIndex);
  1998. end;
  1999. { --------------------------------------------------------------------
  2000. TActivityTypeobjectTypeattachmentsItem
  2001. --------------------------------------------------------------------}
  2002. Procedure TActivityTypeobjectTypeattachmentsItem.Setcontent(AIndex : Integer; const AValue : String);
  2003. begin
  2004. If (Fcontent=AValue) then exit;
  2005. Fcontent:=AValue;
  2006. MarkPropertyChanged(AIndex);
  2007. end;
  2008. Procedure TActivityTypeobjectTypeattachmentsItem.SetdisplayName(AIndex : Integer; const AValue : String);
  2009. begin
  2010. If (FdisplayName=AValue) then exit;
  2011. FdisplayName:=AValue;
  2012. MarkPropertyChanged(AIndex);
  2013. end;
  2014. Procedure TActivityTypeobjectTypeattachmentsItem.Setembed(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypeembed);
  2015. begin
  2016. If (Fembed=AValue) then exit;
  2017. Fembed:=AValue;
  2018. MarkPropertyChanged(AIndex);
  2019. end;
  2020. Procedure TActivityTypeobjectTypeattachmentsItem.SetfullImage(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypefullImage);
  2021. begin
  2022. If (FfullImage=AValue) then exit;
  2023. FfullImage:=AValue;
  2024. MarkPropertyChanged(AIndex);
  2025. end;
  2026. Procedure TActivityTypeobjectTypeattachmentsItem.Setid(AIndex : Integer; const AValue : String);
  2027. begin
  2028. If (Fid=AValue) then exit;
  2029. Fid:=AValue;
  2030. MarkPropertyChanged(AIndex);
  2031. end;
  2032. Procedure TActivityTypeobjectTypeattachmentsItem.Setimage(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypeimage);
  2033. begin
  2034. If (Fimage=AValue) then exit;
  2035. Fimage:=AValue;
  2036. MarkPropertyChanged(AIndex);
  2037. end;
  2038. Procedure TActivityTypeobjectTypeattachmentsItem.SetobjectType(AIndex : Integer; const AValue : String);
  2039. begin
  2040. If (FobjectType=AValue) then exit;
  2041. FobjectType:=AValue;
  2042. MarkPropertyChanged(AIndex);
  2043. end;
  2044. Procedure TActivityTypeobjectTypeattachmentsItem.SetpreviewThumbnails(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsArray);
  2045. begin
  2046. If (FpreviewThumbnails=AValue) then exit;
  2047. FpreviewThumbnails:=AValue;
  2048. MarkPropertyChanged(AIndex);
  2049. end;
  2050. Procedure TActivityTypeobjectTypeattachmentsItem.Setthumbnails(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsItemTypethumbnailsArray);
  2051. begin
  2052. If (Fthumbnails=AValue) then exit;
  2053. Fthumbnails:=AValue;
  2054. MarkPropertyChanged(AIndex);
  2055. end;
  2056. Procedure TActivityTypeobjectTypeattachmentsItem.Seturl(AIndex : Integer; const AValue : String);
  2057. begin
  2058. If (Furl=AValue) then exit;
  2059. Furl:=AValue;
  2060. MarkPropertyChanged(AIndex);
  2061. end;
  2062. //2.6.4. bug workaround
  2063. {$IFDEF VER2_6}
  2064. Procedure TActivityTypeobjectTypeattachmentsItem.SetArrayLength(Const AName : String; ALength : Longint);
  2065. begin
  2066. Case AName of
  2067. 'previewthumbnails' : SetLength(FpreviewThumbnails,ALength);
  2068. 'thumbnails' : SetLength(Fthumbnails,ALength);
  2069. else
  2070. Inherited SetArrayLength(AName,ALength);
  2071. end;
  2072. end;
  2073. {$ENDIF VER2_6}
  2074. { --------------------------------------------------------------------
  2075. TActivityTypeobjectTypeplusoners
  2076. --------------------------------------------------------------------}
  2077. Procedure TActivityTypeobjectTypeplusoners.SetselfLink(AIndex : Integer; const AValue : String);
  2078. begin
  2079. If (FselfLink=AValue) then exit;
  2080. FselfLink:=AValue;
  2081. MarkPropertyChanged(AIndex);
  2082. end;
  2083. Procedure TActivityTypeobjectTypeplusoners.SettotalItems(AIndex : Integer; AValue : integer);
  2084. begin
  2085. If (FtotalItems=AValue) then exit;
  2086. FtotalItems:=AValue;
  2087. MarkPropertyChanged(AIndex);
  2088. end;
  2089. { --------------------------------------------------------------------
  2090. TActivityTypeobjectTypereplies
  2091. --------------------------------------------------------------------}
  2092. Procedure TActivityTypeobjectTypereplies.SetselfLink(AIndex : Integer; const AValue : String);
  2093. begin
  2094. If (FselfLink=AValue) then exit;
  2095. FselfLink:=AValue;
  2096. MarkPropertyChanged(AIndex);
  2097. end;
  2098. Procedure TActivityTypeobjectTypereplies.SettotalItems(AIndex : Integer; AValue : integer);
  2099. begin
  2100. If (FtotalItems=AValue) then exit;
  2101. FtotalItems:=AValue;
  2102. MarkPropertyChanged(AIndex);
  2103. end;
  2104. { --------------------------------------------------------------------
  2105. TActivityTypeobjectTyperesharers
  2106. --------------------------------------------------------------------}
  2107. Procedure TActivityTypeobjectTyperesharers.SetselfLink(AIndex : Integer; const AValue : String);
  2108. begin
  2109. If (FselfLink=AValue) then exit;
  2110. FselfLink:=AValue;
  2111. MarkPropertyChanged(AIndex);
  2112. end;
  2113. Procedure TActivityTypeobjectTyperesharers.SettotalItems(AIndex : Integer; AValue : integer);
  2114. begin
  2115. If (FtotalItems=AValue) then exit;
  2116. FtotalItems:=AValue;
  2117. MarkPropertyChanged(AIndex);
  2118. end;
  2119. { --------------------------------------------------------------------
  2120. TActivityTypeobjectTypestatusForViewer
  2121. --------------------------------------------------------------------}
  2122. Procedure TActivityTypeobjectTypestatusForViewer.SetcanComment(AIndex : Integer; AValue : boolean);
  2123. begin
  2124. If (FcanComment=AValue) then exit;
  2125. FcanComment:=AValue;
  2126. MarkPropertyChanged(AIndex);
  2127. end;
  2128. Procedure TActivityTypeobjectTypestatusForViewer.SetcanPlusone(AIndex : Integer; AValue : boolean);
  2129. begin
  2130. If (FcanPlusone=AValue) then exit;
  2131. FcanPlusone:=AValue;
  2132. MarkPropertyChanged(AIndex);
  2133. end;
  2134. Procedure TActivityTypeobjectTypestatusForViewer.SetcanUpdate(AIndex : Integer; AValue : boolean);
  2135. begin
  2136. If (FcanUpdate=AValue) then exit;
  2137. FcanUpdate:=AValue;
  2138. MarkPropertyChanged(AIndex);
  2139. end;
  2140. Procedure TActivityTypeobjectTypestatusForViewer.SetisPlusOned(AIndex : Integer; AValue : boolean);
  2141. begin
  2142. If (FisPlusOned=AValue) then exit;
  2143. FisPlusOned:=AValue;
  2144. MarkPropertyChanged(AIndex);
  2145. end;
  2146. Procedure TActivityTypeobjectTypestatusForViewer.SetresharingDisabled(AIndex : Integer; AValue : boolean);
  2147. begin
  2148. If (FresharingDisabled=AValue) then exit;
  2149. FresharingDisabled:=AValue;
  2150. MarkPropertyChanged(AIndex);
  2151. end;
  2152. { --------------------------------------------------------------------
  2153. TActivityTypeobject
  2154. --------------------------------------------------------------------}
  2155. Procedure TActivityTypeobject.Setactor(AIndex : Integer; AValue : TActivityTypeobjectTypeactor);
  2156. begin
  2157. If (Factor=AValue) then exit;
  2158. Factor:=AValue;
  2159. MarkPropertyChanged(AIndex);
  2160. end;
  2161. Procedure TActivityTypeobject.Setattachments(AIndex : Integer; AValue : TActivityTypeobjectTypeattachmentsArray);
  2162. begin
  2163. If (Fattachments=AValue) then exit;
  2164. Fattachments:=AValue;
  2165. MarkPropertyChanged(AIndex);
  2166. end;
  2167. Procedure TActivityTypeobject.Setcontent(AIndex : Integer; const AValue : String);
  2168. begin
  2169. If (Fcontent=AValue) then exit;
  2170. Fcontent:=AValue;
  2171. MarkPropertyChanged(AIndex);
  2172. end;
  2173. Procedure TActivityTypeobject.Setid(AIndex : Integer; const AValue : String);
  2174. begin
  2175. If (Fid=AValue) then exit;
  2176. Fid:=AValue;
  2177. MarkPropertyChanged(AIndex);
  2178. end;
  2179. Procedure TActivityTypeobject.SetobjectType(AIndex : Integer; const AValue : String);
  2180. begin
  2181. If (FobjectType=AValue) then exit;
  2182. FobjectType:=AValue;
  2183. MarkPropertyChanged(AIndex);
  2184. end;
  2185. Procedure TActivityTypeobject.SetoriginalContent(AIndex : Integer; const AValue : String);
  2186. begin
  2187. If (ForiginalContent=AValue) then exit;
  2188. ForiginalContent:=AValue;
  2189. MarkPropertyChanged(AIndex);
  2190. end;
  2191. Procedure TActivityTypeobject.Setplusoners(AIndex : Integer; AValue : TActivityTypeobjectTypeplusoners);
  2192. begin
  2193. If (Fplusoners=AValue) then exit;
  2194. Fplusoners:=AValue;
  2195. MarkPropertyChanged(AIndex);
  2196. end;
  2197. Procedure TActivityTypeobject.Setreplies(AIndex : Integer; AValue : TActivityTypeobjectTypereplies);
  2198. begin
  2199. If (Freplies=AValue) then exit;
  2200. Freplies:=AValue;
  2201. MarkPropertyChanged(AIndex);
  2202. end;
  2203. Procedure TActivityTypeobject.Setresharers(AIndex : Integer; AValue : TActivityTypeobjectTyperesharers);
  2204. begin
  2205. If (Fresharers=AValue) then exit;
  2206. Fresharers:=AValue;
  2207. MarkPropertyChanged(AIndex);
  2208. end;
  2209. Procedure TActivityTypeobject.SetstatusForViewer(AIndex : Integer; AValue : TActivityTypeobjectTypestatusForViewer);
  2210. begin
  2211. If (FstatusForViewer=AValue) then exit;
  2212. FstatusForViewer:=AValue;
  2213. MarkPropertyChanged(AIndex);
  2214. end;
  2215. Procedure TActivityTypeobject.Seturl(AIndex : Integer; const AValue : String);
  2216. begin
  2217. If (Furl=AValue) then exit;
  2218. Furl:=AValue;
  2219. MarkPropertyChanged(AIndex);
  2220. end;
  2221. //2.6.4. bug workaround
  2222. {$IFDEF VER2_6}
  2223. Procedure TActivityTypeobject.SetArrayLength(Const AName : String; ALength : Longint);
  2224. begin
  2225. Case AName of
  2226. 'attachments' : SetLength(Fattachments,ALength);
  2227. else
  2228. Inherited SetArrayLength(AName,ALength);
  2229. end;
  2230. end;
  2231. {$ENDIF VER2_6}
  2232. { --------------------------------------------------------------------
  2233. TActivityTypeprovider
  2234. --------------------------------------------------------------------}
  2235. Procedure TActivityTypeprovider.Settitle(AIndex : Integer; const AValue : String);
  2236. begin
  2237. If (Ftitle=AValue) then exit;
  2238. Ftitle:=AValue;
  2239. MarkPropertyChanged(AIndex);
  2240. end;
  2241. { --------------------------------------------------------------------
  2242. TActivity
  2243. --------------------------------------------------------------------}
  2244. Procedure TActivity.Setaccess(AIndex : Integer; AValue : TAcl);
  2245. begin
  2246. If (Faccess=AValue) then exit;
  2247. Faccess:=AValue;
  2248. MarkPropertyChanged(AIndex);
  2249. end;
  2250. Procedure TActivity.Setactor(AIndex : Integer; AValue : TActivityTypeactor);
  2251. begin
  2252. If (Factor=AValue) then exit;
  2253. Factor:=AValue;
  2254. MarkPropertyChanged(AIndex);
  2255. end;
  2256. Procedure TActivity.Setaddress(AIndex : Integer; const AValue : String);
  2257. begin
  2258. If (Faddress=AValue) then exit;
  2259. Faddress:=AValue;
  2260. MarkPropertyChanged(AIndex);
  2261. end;
  2262. Procedure TActivity.Setannotation(AIndex : Integer; const AValue : String);
  2263. begin
  2264. If (Fannotation=AValue) then exit;
  2265. Fannotation:=AValue;
  2266. MarkPropertyChanged(AIndex);
  2267. end;
  2268. Procedure TActivity.SetcrosspostSource(AIndex : Integer; const AValue : String);
  2269. begin
  2270. If (FcrosspostSource=AValue) then exit;
  2271. FcrosspostSource:=AValue;
  2272. MarkPropertyChanged(AIndex);
  2273. end;
  2274. Procedure TActivity.Setetag(AIndex : Integer; const AValue : String);
  2275. begin
  2276. If (Fetag=AValue) then exit;
  2277. Fetag:=AValue;
  2278. MarkPropertyChanged(AIndex);
  2279. end;
  2280. Procedure TActivity.Setgeocode(AIndex : Integer; const AValue : String);
  2281. begin
  2282. If (Fgeocode=AValue) then exit;
  2283. Fgeocode:=AValue;
  2284. MarkPropertyChanged(AIndex);
  2285. end;
  2286. Procedure TActivity.Setid(AIndex : Integer; const AValue : String);
  2287. begin
  2288. If (Fid=AValue) then exit;
  2289. Fid:=AValue;
  2290. MarkPropertyChanged(AIndex);
  2291. end;
  2292. Procedure TActivity.Setkind(AIndex : Integer; const AValue : String);
  2293. begin
  2294. If (Fkind=AValue) then exit;
  2295. Fkind:=AValue;
  2296. MarkPropertyChanged(AIndex);
  2297. end;
  2298. Procedure TActivity.Setlocation(AIndex : Integer; AValue : TPlace);
  2299. begin
  2300. If (Flocation=AValue) then exit;
  2301. Flocation:=AValue;
  2302. MarkPropertyChanged(AIndex);
  2303. end;
  2304. Procedure TActivity.Set_object(AIndex : Integer; AValue : TActivityTypeobject);
  2305. begin
  2306. If (F_object=AValue) then exit;
  2307. F_object:=AValue;
  2308. MarkPropertyChanged(AIndex);
  2309. end;
  2310. Procedure TActivity.SetplaceId(AIndex : Integer; const AValue : String);
  2311. begin
  2312. If (FplaceId=AValue) then exit;
  2313. FplaceId:=AValue;
  2314. MarkPropertyChanged(AIndex);
  2315. end;
  2316. Procedure TActivity.SetplaceName(AIndex : Integer; const AValue : String);
  2317. begin
  2318. If (FplaceName=AValue) then exit;
  2319. FplaceName:=AValue;
  2320. MarkPropertyChanged(AIndex);
  2321. end;
  2322. Procedure TActivity.Setprovider(AIndex : Integer; AValue : TActivityTypeprovider);
  2323. begin
  2324. If (Fprovider=AValue) then exit;
  2325. Fprovider:=AValue;
  2326. MarkPropertyChanged(AIndex);
  2327. end;
  2328. Procedure TActivity.Set_published(AIndex : Integer; AValue : TDatetime);
  2329. begin
  2330. If (F_published=AValue) then exit;
  2331. F_published:=AValue;
  2332. MarkPropertyChanged(AIndex);
  2333. end;
  2334. Procedure TActivity.Setradius(AIndex : Integer; const AValue : String);
  2335. begin
  2336. If (Fradius=AValue) then exit;
  2337. Fradius:=AValue;
  2338. MarkPropertyChanged(AIndex);
  2339. end;
  2340. Procedure TActivity.Settitle(AIndex : Integer; const AValue : String);
  2341. begin
  2342. If (Ftitle=AValue) then exit;
  2343. Ftitle:=AValue;
  2344. MarkPropertyChanged(AIndex);
  2345. end;
  2346. Procedure TActivity.Setupdated(AIndex : Integer; AValue : TDatetime);
  2347. begin
  2348. If (Fupdated=AValue) then exit;
  2349. Fupdated:=AValue;
  2350. MarkPropertyChanged(AIndex);
  2351. end;
  2352. Procedure TActivity.Seturl(AIndex : Integer; const AValue : String);
  2353. begin
  2354. If (Furl=AValue) then exit;
  2355. Furl:=AValue;
  2356. MarkPropertyChanged(AIndex);
  2357. end;
  2358. Procedure TActivity.Setverb(AIndex : Integer; const AValue : String);
  2359. begin
  2360. If (Fverb=AValue) then exit;
  2361. Fverb:=AValue;
  2362. MarkPropertyChanged(AIndex);
  2363. end;
  2364. Class Function TActivity.ExportPropertyName(Const AName : String) :String;
  2365. begin
  2366. Case AName of
  2367. '_object' : Result:='object';
  2368. '_published' : Result:='published';
  2369. else
  2370. Result:=Inherited ExportPropertyName(AName);
  2371. end;
  2372. end;
  2373. { --------------------------------------------------------------------
  2374. TActivityFeed
  2375. --------------------------------------------------------------------}
  2376. Procedure TActivityFeed.Setetag(AIndex : Integer; const AValue : String);
  2377. begin
  2378. If (Fetag=AValue) then exit;
  2379. Fetag:=AValue;
  2380. MarkPropertyChanged(AIndex);
  2381. end;
  2382. Procedure TActivityFeed.Setid(AIndex : Integer; const AValue : String);
  2383. begin
  2384. If (Fid=AValue) then exit;
  2385. Fid:=AValue;
  2386. MarkPropertyChanged(AIndex);
  2387. end;
  2388. Procedure TActivityFeed.Setitems(AIndex : Integer; AValue : TActivityFeedTypeitemsArray);
  2389. begin
  2390. If (Fitems=AValue) then exit;
  2391. Fitems:=AValue;
  2392. MarkPropertyChanged(AIndex);
  2393. end;
  2394. Procedure TActivityFeed.Setkind(AIndex : Integer; const AValue : String);
  2395. begin
  2396. If (Fkind=AValue) then exit;
  2397. Fkind:=AValue;
  2398. MarkPropertyChanged(AIndex);
  2399. end;
  2400. Procedure TActivityFeed.SetnextLink(AIndex : Integer; const AValue : String);
  2401. begin
  2402. If (FnextLink=AValue) then exit;
  2403. FnextLink:=AValue;
  2404. MarkPropertyChanged(AIndex);
  2405. end;
  2406. Procedure TActivityFeed.SetnextPageToken(AIndex : Integer; const AValue : String);
  2407. begin
  2408. If (FnextPageToken=AValue) then exit;
  2409. FnextPageToken:=AValue;
  2410. MarkPropertyChanged(AIndex);
  2411. end;
  2412. Procedure TActivityFeed.SetselfLink(AIndex : Integer; const AValue : String);
  2413. begin
  2414. If (FselfLink=AValue) then exit;
  2415. FselfLink:=AValue;
  2416. MarkPropertyChanged(AIndex);
  2417. end;
  2418. Procedure TActivityFeed.Settitle(AIndex : Integer; const AValue : String);
  2419. begin
  2420. If (Ftitle=AValue) then exit;
  2421. Ftitle:=AValue;
  2422. MarkPropertyChanged(AIndex);
  2423. end;
  2424. Procedure TActivityFeed.Setupdated(AIndex : Integer; AValue : TDatetime);
  2425. begin
  2426. If (Fupdated=AValue) then exit;
  2427. Fupdated:=AValue;
  2428. MarkPropertyChanged(AIndex);
  2429. end;
  2430. //2.6.4. bug workaround
  2431. {$IFDEF VER2_6}
  2432. Procedure TActivityFeed.SetArrayLength(Const AName : String; ALength : Longint);
  2433. begin
  2434. Case AName of
  2435. 'items' : SetLength(Fitems,ALength);
  2436. else
  2437. Inherited SetArrayLength(AName,ALength);
  2438. end;
  2439. end;
  2440. {$ENDIF VER2_6}
  2441. { --------------------------------------------------------------------
  2442. TAudience
  2443. --------------------------------------------------------------------}
  2444. Procedure TAudience.Setetag(AIndex : Integer; const AValue : String);
  2445. begin
  2446. If (Fetag=AValue) then exit;
  2447. Fetag:=AValue;
  2448. MarkPropertyChanged(AIndex);
  2449. end;
  2450. Procedure TAudience.Setitem(AIndex : Integer; AValue : TPlusDomainsAclentryResource);
  2451. begin
  2452. If (Fitem=AValue) then exit;
  2453. Fitem:=AValue;
  2454. MarkPropertyChanged(AIndex);
  2455. end;
  2456. Procedure TAudience.Setkind(AIndex : Integer; const AValue : String);
  2457. begin
  2458. If (Fkind=AValue) then exit;
  2459. Fkind:=AValue;
  2460. MarkPropertyChanged(AIndex);
  2461. end;
  2462. Procedure TAudience.SetmemberCount(AIndex : Integer; AValue : integer);
  2463. begin
  2464. If (FmemberCount=AValue) then exit;
  2465. FmemberCount:=AValue;
  2466. MarkPropertyChanged(AIndex);
  2467. end;
  2468. Procedure TAudience.Setvisibility(AIndex : Integer; const AValue : String);
  2469. begin
  2470. If (Fvisibility=AValue) then exit;
  2471. Fvisibility:=AValue;
  2472. MarkPropertyChanged(AIndex);
  2473. end;
  2474. { --------------------------------------------------------------------
  2475. TAudiencesFeed
  2476. --------------------------------------------------------------------}
  2477. Procedure TAudiencesFeed.Setetag(AIndex : Integer; const AValue : String);
  2478. begin
  2479. If (Fetag=AValue) then exit;
  2480. Fetag:=AValue;
  2481. MarkPropertyChanged(AIndex);
  2482. end;
  2483. Procedure TAudiencesFeed.Setitems(AIndex : Integer; AValue : TAudiencesFeedTypeitemsArray);
  2484. begin
  2485. If (Fitems=AValue) then exit;
  2486. Fitems:=AValue;
  2487. MarkPropertyChanged(AIndex);
  2488. end;
  2489. Procedure TAudiencesFeed.Setkind(AIndex : Integer; const AValue : String);
  2490. begin
  2491. If (Fkind=AValue) then exit;
  2492. Fkind:=AValue;
  2493. MarkPropertyChanged(AIndex);
  2494. end;
  2495. Procedure TAudiencesFeed.SetnextPageToken(AIndex : Integer; const AValue : String);
  2496. begin
  2497. If (FnextPageToken=AValue) then exit;
  2498. FnextPageToken:=AValue;
  2499. MarkPropertyChanged(AIndex);
  2500. end;
  2501. Procedure TAudiencesFeed.SettotalItems(AIndex : Integer; AValue : integer);
  2502. begin
  2503. If (FtotalItems=AValue) then exit;
  2504. FtotalItems:=AValue;
  2505. MarkPropertyChanged(AIndex);
  2506. end;
  2507. //2.6.4. bug workaround
  2508. {$IFDEF VER2_6}
  2509. Procedure TAudiencesFeed.SetArrayLength(Const AName : String; ALength : Longint);
  2510. begin
  2511. Case AName of
  2512. 'items' : SetLength(Fitems,ALength);
  2513. else
  2514. Inherited SetArrayLength(AName,ALength);
  2515. end;
  2516. end;
  2517. {$ENDIF VER2_6}
  2518. { --------------------------------------------------------------------
  2519. TCircleTypepeople
  2520. --------------------------------------------------------------------}
  2521. Procedure TCircleTypepeople.SettotalItems(AIndex : Integer; AValue : integer);
  2522. begin
  2523. If (FtotalItems=AValue) then exit;
  2524. FtotalItems:=AValue;
  2525. MarkPropertyChanged(AIndex);
  2526. end;
  2527. { --------------------------------------------------------------------
  2528. TCircle
  2529. --------------------------------------------------------------------}
  2530. Procedure TCircle.Setdescription(AIndex : Integer; const AValue : String);
  2531. begin
  2532. If (Fdescription=AValue) then exit;
  2533. Fdescription:=AValue;
  2534. MarkPropertyChanged(AIndex);
  2535. end;
  2536. Procedure TCircle.SetdisplayName(AIndex : Integer; const AValue : String);
  2537. begin
  2538. If (FdisplayName=AValue) then exit;
  2539. FdisplayName:=AValue;
  2540. MarkPropertyChanged(AIndex);
  2541. end;
  2542. Procedure TCircle.Setetag(AIndex : Integer; const AValue : String);
  2543. begin
  2544. If (Fetag=AValue) then exit;
  2545. Fetag:=AValue;
  2546. MarkPropertyChanged(AIndex);
  2547. end;
  2548. Procedure TCircle.Setid(AIndex : Integer; const AValue : String);
  2549. begin
  2550. If (Fid=AValue) then exit;
  2551. Fid:=AValue;
  2552. MarkPropertyChanged(AIndex);
  2553. end;
  2554. Procedure TCircle.Setkind(AIndex : Integer; const AValue : String);
  2555. begin
  2556. If (Fkind=AValue) then exit;
  2557. Fkind:=AValue;
  2558. MarkPropertyChanged(AIndex);
  2559. end;
  2560. Procedure TCircle.Setpeople(AIndex : Integer; AValue : TCircleTypepeople);
  2561. begin
  2562. If (Fpeople=AValue) then exit;
  2563. Fpeople:=AValue;
  2564. MarkPropertyChanged(AIndex);
  2565. end;
  2566. Procedure TCircle.SetselfLink(AIndex : Integer; const AValue : String);
  2567. begin
  2568. If (FselfLink=AValue) then exit;
  2569. FselfLink:=AValue;
  2570. MarkPropertyChanged(AIndex);
  2571. end;
  2572. { --------------------------------------------------------------------
  2573. TCircleFeed
  2574. --------------------------------------------------------------------}
  2575. Procedure TCircleFeed.Setetag(AIndex : Integer; const AValue : String);
  2576. begin
  2577. If (Fetag=AValue) then exit;
  2578. Fetag:=AValue;
  2579. MarkPropertyChanged(AIndex);
  2580. end;
  2581. Procedure TCircleFeed.Setitems(AIndex : Integer; AValue : TCircleFeedTypeitemsArray);
  2582. begin
  2583. If (Fitems=AValue) then exit;
  2584. Fitems:=AValue;
  2585. MarkPropertyChanged(AIndex);
  2586. end;
  2587. Procedure TCircleFeed.Setkind(AIndex : Integer; const AValue : String);
  2588. begin
  2589. If (Fkind=AValue) then exit;
  2590. Fkind:=AValue;
  2591. MarkPropertyChanged(AIndex);
  2592. end;
  2593. Procedure TCircleFeed.SetnextLink(AIndex : Integer; const AValue : String);
  2594. begin
  2595. If (FnextLink=AValue) then exit;
  2596. FnextLink:=AValue;
  2597. MarkPropertyChanged(AIndex);
  2598. end;
  2599. Procedure TCircleFeed.SetnextPageToken(AIndex : Integer; const AValue : String);
  2600. begin
  2601. If (FnextPageToken=AValue) then exit;
  2602. FnextPageToken:=AValue;
  2603. MarkPropertyChanged(AIndex);
  2604. end;
  2605. Procedure TCircleFeed.SetselfLink(AIndex : Integer; const AValue : String);
  2606. begin
  2607. If (FselfLink=AValue) then exit;
  2608. FselfLink:=AValue;
  2609. MarkPropertyChanged(AIndex);
  2610. end;
  2611. Procedure TCircleFeed.Settitle(AIndex : Integer; const AValue : String);
  2612. begin
  2613. If (Ftitle=AValue) then exit;
  2614. Ftitle:=AValue;
  2615. MarkPropertyChanged(AIndex);
  2616. end;
  2617. Procedure TCircleFeed.SettotalItems(AIndex : Integer; AValue : integer);
  2618. begin
  2619. If (FtotalItems=AValue) then exit;
  2620. FtotalItems:=AValue;
  2621. MarkPropertyChanged(AIndex);
  2622. end;
  2623. //2.6.4. bug workaround
  2624. {$IFDEF VER2_6}
  2625. Procedure TCircleFeed.SetArrayLength(Const AName : String; ALength : Longint);
  2626. begin
  2627. Case AName of
  2628. 'items' : SetLength(Fitems,ALength);
  2629. else
  2630. Inherited SetArrayLength(AName,ALength);
  2631. end;
  2632. end;
  2633. {$ENDIF VER2_6}
  2634. { --------------------------------------------------------------------
  2635. TCommentTypeactorTypeimage
  2636. --------------------------------------------------------------------}
  2637. Procedure TCommentTypeactorTypeimage.Seturl(AIndex : Integer; const AValue : String);
  2638. begin
  2639. If (Furl=AValue) then exit;
  2640. Furl:=AValue;
  2641. MarkPropertyChanged(AIndex);
  2642. end;
  2643. { --------------------------------------------------------------------
  2644. TCommentTypeactor
  2645. --------------------------------------------------------------------}
  2646. Procedure TCommentTypeactor.SetdisplayName(AIndex : Integer; const AValue : String);
  2647. begin
  2648. If (FdisplayName=AValue) then exit;
  2649. FdisplayName:=AValue;
  2650. MarkPropertyChanged(AIndex);
  2651. end;
  2652. Procedure TCommentTypeactor.Setid(AIndex : Integer; const AValue : String);
  2653. begin
  2654. If (Fid=AValue) then exit;
  2655. Fid:=AValue;
  2656. MarkPropertyChanged(AIndex);
  2657. end;
  2658. Procedure TCommentTypeactor.Setimage(AIndex : Integer; AValue : TCommentTypeactorTypeimage);
  2659. begin
  2660. If (Fimage=AValue) then exit;
  2661. Fimage:=AValue;
  2662. MarkPropertyChanged(AIndex);
  2663. end;
  2664. Procedure TCommentTypeactor.Seturl(AIndex : Integer; const AValue : String);
  2665. begin
  2666. If (Furl=AValue) then exit;
  2667. Furl:=AValue;
  2668. MarkPropertyChanged(AIndex);
  2669. end;
  2670. { --------------------------------------------------------------------
  2671. TCommentTypeinReplyToItem
  2672. --------------------------------------------------------------------}
  2673. Procedure TCommentTypeinReplyToItem.Setid(AIndex : Integer; const AValue : String);
  2674. begin
  2675. If (Fid=AValue) then exit;
  2676. Fid:=AValue;
  2677. MarkPropertyChanged(AIndex);
  2678. end;
  2679. Procedure TCommentTypeinReplyToItem.Seturl(AIndex : Integer; const AValue : String);
  2680. begin
  2681. If (Furl=AValue) then exit;
  2682. Furl:=AValue;
  2683. MarkPropertyChanged(AIndex);
  2684. end;
  2685. { --------------------------------------------------------------------
  2686. TCommentTypeobject
  2687. --------------------------------------------------------------------}
  2688. Procedure TCommentTypeobject.Setcontent(AIndex : Integer; const AValue : String);
  2689. begin
  2690. If (Fcontent=AValue) then exit;
  2691. Fcontent:=AValue;
  2692. MarkPropertyChanged(AIndex);
  2693. end;
  2694. Procedure TCommentTypeobject.SetobjectType(AIndex : Integer; const AValue : String);
  2695. begin
  2696. If (FobjectType=AValue) then exit;
  2697. FobjectType:=AValue;
  2698. MarkPropertyChanged(AIndex);
  2699. end;
  2700. Procedure TCommentTypeobject.SetoriginalContent(AIndex : Integer; const AValue : String);
  2701. begin
  2702. If (ForiginalContent=AValue) then exit;
  2703. ForiginalContent:=AValue;
  2704. MarkPropertyChanged(AIndex);
  2705. end;
  2706. { --------------------------------------------------------------------
  2707. TCommentTypeplusoners
  2708. --------------------------------------------------------------------}
  2709. Procedure TCommentTypeplusoners.SettotalItems(AIndex : Integer; AValue : integer);
  2710. begin
  2711. If (FtotalItems=AValue) then exit;
  2712. FtotalItems:=AValue;
  2713. MarkPropertyChanged(AIndex);
  2714. end;
  2715. { --------------------------------------------------------------------
  2716. TComment
  2717. --------------------------------------------------------------------}
  2718. Procedure TComment.Setactor(AIndex : Integer; AValue : TCommentTypeactor);
  2719. begin
  2720. If (Factor=AValue) then exit;
  2721. Factor:=AValue;
  2722. MarkPropertyChanged(AIndex);
  2723. end;
  2724. Procedure TComment.Setetag(AIndex : Integer; const AValue : String);
  2725. begin
  2726. If (Fetag=AValue) then exit;
  2727. Fetag:=AValue;
  2728. MarkPropertyChanged(AIndex);
  2729. end;
  2730. Procedure TComment.Setid(AIndex : Integer; const AValue : String);
  2731. begin
  2732. If (Fid=AValue) then exit;
  2733. Fid:=AValue;
  2734. MarkPropertyChanged(AIndex);
  2735. end;
  2736. Procedure TComment.SetinReplyTo(AIndex : Integer; AValue : TCommentTypeinReplyToArray);
  2737. begin
  2738. If (FinReplyTo=AValue) then exit;
  2739. FinReplyTo:=AValue;
  2740. MarkPropertyChanged(AIndex);
  2741. end;
  2742. Procedure TComment.Setkind(AIndex : Integer; const AValue : String);
  2743. begin
  2744. If (Fkind=AValue) then exit;
  2745. Fkind:=AValue;
  2746. MarkPropertyChanged(AIndex);
  2747. end;
  2748. Procedure TComment.Set_object(AIndex : Integer; AValue : TCommentTypeobject);
  2749. begin
  2750. If (F_object=AValue) then exit;
  2751. F_object:=AValue;
  2752. MarkPropertyChanged(AIndex);
  2753. end;
  2754. Procedure TComment.Setplusoners(AIndex : Integer; AValue : TCommentTypeplusoners);
  2755. begin
  2756. If (Fplusoners=AValue) then exit;
  2757. Fplusoners:=AValue;
  2758. MarkPropertyChanged(AIndex);
  2759. end;
  2760. Procedure TComment.Set_published(AIndex : Integer; AValue : TDatetime);
  2761. begin
  2762. If (F_published=AValue) then exit;
  2763. F_published:=AValue;
  2764. MarkPropertyChanged(AIndex);
  2765. end;
  2766. Procedure TComment.SetselfLink(AIndex : Integer; const AValue : String);
  2767. begin
  2768. If (FselfLink=AValue) then exit;
  2769. FselfLink:=AValue;
  2770. MarkPropertyChanged(AIndex);
  2771. end;
  2772. Procedure TComment.Setupdated(AIndex : Integer; AValue : TDatetime);
  2773. begin
  2774. If (Fupdated=AValue) then exit;
  2775. Fupdated:=AValue;
  2776. MarkPropertyChanged(AIndex);
  2777. end;
  2778. Procedure TComment.Setverb(AIndex : Integer; const AValue : String);
  2779. begin
  2780. If (Fverb=AValue) then exit;
  2781. Fverb:=AValue;
  2782. MarkPropertyChanged(AIndex);
  2783. end;
  2784. Class Function TComment.ExportPropertyName(Const AName : String) :String;
  2785. begin
  2786. Case AName of
  2787. '_object' : Result:='object';
  2788. '_published' : Result:='published';
  2789. else
  2790. Result:=Inherited ExportPropertyName(AName);
  2791. end;
  2792. end;
  2793. //2.6.4. bug workaround
  2794. {$IFDEF VER2_6}
  2795. Procedure TComment.SetArrayLength(Const AName : String; ALength : Longint);
  2796. begin
  2797. Case AName of
  2798. 'inreplyto' : SetLength(FinReplyTo,ALength);
  2799. else
  2800. Inherited SetArrayLength(AName,ALength);
  2801. end;
  2802. end;
  2803. {$ENDIF VER2_6}
  2804. { --------------------------------------------------------------------
  2805. TCommentFeed
  2806. --------------------------------------------------------------------}
  2807. Procedure TCommentFeed.Setetag(AIndex : Integer; const AValue : String);
  2808. begin
  2809. If (Fetag=AValue) then exit;
  2810. Fetag:=AValue;
  2811. MarkPropertyChanged(AIndex);
  2812. end;
  2813. Procedure TCommentFeed.Setid(AIndex : Integer; const AValue : String);
  2814. begin
  2815. If (Fid=AValue) then exit;
  2816. Fid:=AValue;
  2817. MarkPropertyChanged(AIndex);
  2818. end;
  2819. Procedure TCommentFeed.Setitems(AIndex : Integer; AValue : TCommentFeedTypeitemsArray);
  2820. begin
  2821. If (Fitems=AValue) then exit;
  2822. Fitems:=AValue;
  2823. MarkPropertyChanged(AIndex);
  2824. end;
  2825. Procedure TCommentFeed.Setkind(AIndex : Integer; const AValue : String);
  2826. begin
  2827. If (Fkind=AValue) then exit;
  2828. Fkind:=AValue;
  2829. MarkPropertyChanged(AIndex);
  2830. end;
  2831. Procedure TCommentFeed.SetnextLink(AIndex : Integer; const AValue : String);
  2832. begin
  2833. If (FnextLink=AValue) then exit;
  2834. FnextLink:=AValue;
  2835. MarkPropertyChanged(AIndex);
  2836. end;
  2837. Procedure TCommentFeed.SetnextPageToken(AIndex : Integer; const AValue : String);
  2838. begin
  2839. If (FnextPageToken=AValue) then exit;
  2840. FnextPageToken:=AValue;
  2841. MarkPropertyChanged(AIndex);
  2842. end;
  2843. Procedure TCommentFeed.Settitle(AIndex : Integer; const AValue : String);
  2844. begin
  2845. If (Ftitle=AValue) then exit;
  2846. Ftitle:=AValue;
  2847. MarkPropertyChanged(AIndex);
  2848. end;
  2849. Procedure TCommentFeed.Setupdated(AIndex : Integer; AValue : TDatetime);
  2850. begin
  2851. If (Fupdated=AValue) then exit;
  2852. Fupdated:=AValue;
  2853. MarkPropertyChanged(AIndex);
  2854. end;
  2855. //2.6.4. bug workaround
  2856. {$IFDEF VER2_6}
  2857. Procedure TCommentFeed.SetArrayLength(Const AName : String; ALength : Longint);
  2858. begin
  2859. Case AName of
  2860. 'items' : SetLength(Fitems,ALength);
  2861. else
  2862. Inherited SetArrayLength(AName,ALength);
  2863. end;
  2864. end;
  2865. {$ENDIF VER2_6}
  2866. { --------------------------------------------------------------------
  2867. TMediaTypeauthorTypeimage
  2868. --------------------------------------------------------------------}
  2869. Procedure TMediaTypeauthorTypeimage.Seturl(AIndex : Integer; const AValue : String);
  2870. begin
  2871. If (Furl=AValue) then exit;
  2872. Furl:=AValue;
  2873. MarkPropertyChanged(AIndex);
  2874. end;
  2875. { --------------------------------------------------------------------
  2876. TMediaTypeauthor
  2877. --------------------------------------------------------------------}
  2878. Procedure TMediaTypeauthor.SetdisplayName(AIndex : Integer; const AValue : String);
  2879. begin
  2880. If (FdisplayName=AValue) then exit;
  2881. FdisplayName:=AValue;
  2882. MarkPropertyChanged(AIndex);
  2883. end;
  2884. Procedure TMediaTypeauthor.Setid(AIndex : Integer; const AValue : String);
  2885. begin
  2886. If (Fid=AValue) then exit;
  2887. Fid:=AValue;
  2888. MarkPropertyChanged(AIndex);
  2889. end;
  2890. Procedure TMediaTypeauthor.Setimage(AIndex : Integer; AValue : TMediaTypeauthorTypeimage);
  2891. begin
  2892. If (Fimage=AValue) then exit;
  2893. Fimage:=AValue;
  2894. MarkPropertyChanged(AIndex);
  2895. end;
  2896. Procedure TMediaTypeauthor.Seturl(AIndex : Integer; const AValue : String);
  2897. begin
  2898. If (Furl=AValue) then exit;
  2899. Furl:=AValue;
  2900. MarkPropertyChanged(AIndex);
  2901. end;
  2902. { --------------------------------------------------------------------
  2903. TMediaTypeexif
  2904. --------------------------------------------------------------------}
  2905. Procedure TMediaTypeexif.Settime(AIndex : Integer; AValue : TDatetime);
  2906. begin
  2907. If (Ftime=AValue) then exit;
  2908. Ftime:=AValue;
  2909. MarkPropertyChanged(AIndex);
  2910. end;
  2911. { --------------------------------------------------------------------
  2912. TMedia
  2913. --------------------------------------------------------------------}
  2914. Procedure TMedia.Setauthor(AIndex : Integer; AValue : TMediaTypeauthor);
  2915. begin
  2916. If (Fauthor=AValue) then exit;
  2917. Fauthor:=AValue;
  2918. MarkPropertyChanged(AIndex);
  2919. end;
  2920. Procedure TMedia.SetdisplayName(AIndex : Integer; const AValue : String);
  2921. begin
  2922. If (FdisplayName=AValue) then exit;
  2923. FdisplayName:=AValue;
  2924. MarkPropertyChanged(AIndex);
  2925. end;
  2926. Procedure TMedia.Setetag(AIndex : Integer; const AValue : String);
  2927. begin
  2928. If (Fetag=AValue) then exit;
  2929. Fetag:=AValue;
  2930. MarkPropertyChanged(AIndex);
  2931. end;
  2932. Procedure TMedia.Setexif(AIndex : Integer; AValue : TMediaTypeexif);
  2933. begin
  2934. If (Fexif=AValue) then exit;
  2935. Fexif:=AValue;
  2936. MarkPropertyChanged(AIndex);
  2937. end;
  2938. Procedure TMedia.Setheight(AIndex : Integer; AValue : integer);
  2939. begin
  2940. If (Fheight=AValue) then exit;
  2941. Fheight:=AValue;
  2942. MarkPropertyChanged(AIndex);
  2943. end;
  2944. Procedure TMedia.Setid(AIndex : Integer; const AValue : String);
  2945. begin
  2946. If (Fid=AValue) then exit;
  2947. Fid:=AValue;
  2948. MarkPropertyChanged(AIndex);
  2949. end;
  2950. Procedure TMedia.Setkind(AIndex : Integer; const AValue : String);
  2951. begin
  2952. If (Fkind=AValue) then exit;
  2953. Fkind:=AValue;
  2954. MarkPropertyChanged(AIndex);
  2955. end;
  2956. Procedure TMedia.SetmediaCreatedTime(AIndex : Integer; AValue : TDatetime);
  2957. begin
  2958. If (FmediaCreatedTime=AValue) then exit;
  2959. FmediaCreatedTime:=AValue;
  2960. MarkPropertyChanged(AIndex);
  2961. end;
  2962. Procedure TMedia.SetmediaUrl(AIndex : Integer; const AValue : String);
  2963. begin
  2964. If (FmediaUrl=AValue) then exit;
  2965. FmediaUrl:=AValue;
  2966. MarkPropertyChanged(AIndex);
  2967. end;
  2968. Procedure TMedia.Set_published(AIndex : Integer; AValue : TDatetime);
  2969. begin
  2970. If (F_published=AValue) then exit;
  2971. F_published:=AValue;
  2972. MarkPropertyChanged(AIndex);
  2973. end;
  2974. Procedure TMedia.SetsizeBytes(AIndex : Integer; const AValue : String);
  2975. begin
  2976. If (FsizeBytes=AValue) then exit;
  2977. FsizeBytes:=AValue;
  2978. MarkPropertyChanged(AIndex);
  2979. end;
  2980. Procedure TMedia.Setstreams(AIndex : Integer; AValue : TMediaTypestreamsArray);
  2981. begin
  2982. If (Fstreams=AValue) then exit;
  2983. Fstreams:=AValue;
  2984. MarkPropertyChanged(AIndex);
  2985. end;
  2986. Procedure TMedia.Setsummary(AIndex : Integer; const AValue : String);
  2987. begin
  2988. If (Fsummary=AValue) then exit;
  2989. Fsummary:=AValue;
  2990. MarkPropertyChanged(AIndex);
  2991. end;
  2992. Procedure TMedia.Setupdated(AIndex : Integer; AValue : TDatetime);
  2993. begin
  2994. If (Fupdated=AValue) then exit;
  2995. Fupdated:=AValue;
  2996. MarkPropertyChanged(AIndex);
  2997. end;
  2998. Procedure TMedia.Seturl(AIndex : Integer; const AValue : String);
  2999. begin
  3000. If (Furl=AValue) then exit;
  3001. Furl:=AValue;
  3002. MarkPropertyChanged(AIndex);
  3003. end;
  3004. Procedure TMedia.SetvideoDuration(AIndex : Integer; const AValue : String);
  3005. begin
  3006. If (FvideoDuration=AValue) then exit;
  3007. FvideoDuration:=AValue;
  3008. MarkPropertyChanged(AIndex);
  3009. end;
  3010. Procedure TMedia.SetvideoStatus(AIndex : Integer; const AValue : String);
  3011. begin
  3012. If (FvideoStatus=AValue) then exit;
  3013. FvideoStatus:=AValue;
  3014. MarkPropertyChanged(AIndex);
  3015. end;
  3016. Procedure TMedia.Setwidth(AIndex : Integer; AValue : integer);
  3017. begin
  3018. If (Fwidth=AValue) then exit;
  3019. Fwidth:=AValue;
  3020. MarkPropertyChanged(AIndex);
  3021. end;
  3022. Class Function TMedia.ExportPropertyName(Const AName : String) :String;
  3023. begin
  3024. Case AName of
  3025. '_published' : Result:='published';
  3026. else
  3027. Result:=Inherited ExportPropertyName(AName);
  3028. end;
  3029. end;
  3030. //2.6.4. bug workaround
  3031. {$IFDEF VER2_6}
  3032. Procedure TMedia.SetArrayLength(Const AName : String; ALength : Longint);
  3033. begin
  3034. Case AName of
  3035. 'streams' : SetLength(Fstreams,ALength);
  3036. else
  3037. Inherited SetArrayLength(AName,ALength);
  3038. end;
  3039. end;
  3040. {$ENDIF VER2_6}
  3041. { --------------------------------------------------------------------
  3042. TPeopleFeed
  3043. --------------------------------------------------------------------}
  3044. Procedure TPeopleFeed.Setetag(AIndex : Integer; const AValue : String);
  3045. begin
  3046. If (Fetag=AValue) then exit;
  3047. Fetag:=AValue;
  3048. MarkPropertyChanged(AIndex);
  3049. end;
  3050. Procedure TPeopleFeed.Setitems(AIndex : Integer; AValue : TPeopleFeedTypeitemsArray);
  3051. begin
  3052. If (Fitems=AValue) then exit;
  3053. Fitems:=AValue;
  3054. MarkPropertyChanged(AIndex);
  3055. end;
  3056. Procedure TPeopleFeed.Setkind(AIndex : Integer; const AValue : String);
  3057. begin
  3058. If (Fkind=AValue) then exit;
  3059. Fkind:=AValue;
  3060. MarkPropertyChanged(AIndex);
  3061. end;
  3062. Procedure TPeopleFeed.SetnextPageToken(AIndex : Integer; const AValue : String);
  3063. begin
  3064. If (FnextPageToken=AValue) then exit;
  3065. FnextPageToken:=AValue;
  3066. MarkPropertyChanged(AIndex);
  3067. end;
  3068. Procedure TPeopleFeed.SetselfLink(AIndex : Integer; const AValue : String);
  3069. begin
  3070. If (FselfLink=AValue) then exit;
  3071. FselfLink:=AValue;
  3072. MarkPropertyChanged(AIndex);
  3073. end;
  3074. Procedure TPeopleFeed.Settitle(AIndex : Integer; const AValue : String);
  3075. begin
  3076. If (Ftitle=AValue) then exit;
  3077. Ftitle:=AValue;
  3078. MarkPropertyChanged(AIndex);
  3079. end;
  3080. Procedure TPeopleFeed.SettotalItems(AIndex : Integer; AValue : integer);
  3081. begin
  3082. If (FtotalItems=AValue) then exit;
  3083. FtotalItems:=AValue;
  3084. MarkPropertyChanged(AIndex);
  3085. end;
  3086. //2.6.4. bug workaround
  3087. {$IFDEF VER2_6}
  3088. Procedure TPeopleFeed.SetArrayLength(Const AName : String; ALength : Longint);
  3089. begin
  3090. Case AName of
  3091. 'items' : SetLength(Fitems,ALength);
  3092. else
  3093. Inherited SetArrayLength(AName,ALength);
  3094. end;
  3095. end;
  3096. {$ENDIF VER2_6}
  3097. { --------------------------------------------------------------------
  3098. TPersonTypecoverTypecoverInfo
  3099. --------------------------------------------------------------------}
  3100. Procedure TPersonTypecoverTypecoverInfo.SetleftImageOffset(AIndex : Integer; AValue : integer);
  3101. begin
  3102. If (FleftImageOffset=AValue) then exit;
  3103. FleftImageOffset:=AValue;
  3104. MarkPropertyChanged(AIndex);
  3105. end;
  3106. Procedure TPersonTypecoverTypecoverInfo.SettopImageOffset(AIndex : Integer; AValue : integer);
  3107. begin
  3108. If (FtopImageOffset=AValue) then exit;
  3109. FtopImageOffset:=AValue;
  3110. MarkPropertyChanged(AIndex);
  3111. end;
  3112. { --------------------------------------------------------------------
  3113. TPersonTypecoverTypecoverPhoto
  3114. --------------------------------------------------------------------}
  3115. Procedure TPersonTypecoverTypecoverPhoto.Setheight(AIndex : Integer; AValue : integer);
  3116. begin
  3117. If (Fheight=AValue) then exit;
  3118. Fheight:=AValue;
  3119. MarkPropertyChanged(AIndex);
  3120. end;
  3121. Procedure TPersonTypecoverTypecoverPhoto.Seturl(AIndex : Integer; const AValue : String);
  3122. begin
  3123. If (Furl=AValue) then exit;
  3124. Furl:=AValue;
  3125. MarkPropertyChanged(AIndex);
  3126. end;
  3127. Procedure TPersonTypecoverTypecoverPhoto.Setwidth(AIndex : Integer; AValue : integer);
  3128. begin
  3129. If (Fwidth=AValue) then exit;
  3130. Fwidth:=AValue;
  3131. MarkPropertyChanged(AIndex);
  3132. end;
  3133. { --------------------------------------------------------------------
  3134. TPersonTypecover
  3135. --------------------------------------------------------------------}
  3136. Procedure TPersonTypecover.SetcoverInfo(AIndex : Integer; AValue : TPersonTypecoverTypecoverInfo);
  3137. begin
  3138. If (FcoverInfo=AValue) then exit;
  3139. FcoverInfo:=AValue;
  3140. MarkPropertyChanged(AIndex);
  3141. end;
  3142. Procedure TPersonTypecover.SetcoverPhoto(AIndex : Integer; AValue : TPersonTypecoverTypecoverPhoto);
  3143. begin
  3144. If (FcoverPhoto=AValue) then exit;
  3145. FcoverPhoto:=AValue;
  3146. MarkPropertyChanged(AIndex);
  3147. end;
  3148. Procedure TPersonTypecover.Setlayout(AIndex : Integer; const AValue : String);
  3149. begin
  3150. If (Flayout=AValue) then exit;
  3151. Flayout:=AValue;
  3152. MarkPropertyChanged(AIndex);
  3153. end;
  3154. { --------------------------------------------------------------------
  3155. TPersonTypeemailsItem
  3156. --------------------------------------------------------------------}
  3157. Procedure TPersonTypeemailsItem.Set_type(AIndex : Integer; const AValue : String);
  3158. begin
  3159. If (F_type=AValue) then exit;
  3160. F_type:=AValue;
  3161. MarkPropertyChanged(AIndex);
  3162. end;
  3163. Procedure TPersonTypeemailsItem.Setvalue(AIndex : Integer; const AValue : String);
  3164. begin
  3165. If (Fvalue=AValue) then exit;
  3166. Fvalue:=AValue;
  3167. MarkPropertyChanged(AIndex);
  3168. end;
  3169. Class Function TPersonTypeemailsItem.ExportPropertyName(Const AName : String) :String;
  3170. begin
  3171. Case AName of
  3172. '_type' : Result:='type';
  3173. else
  3174. Result:=Inherited ExportPropertyName(AName);
  3175. end;
  3176. end;
  3177. { --------------------------------------------------------------------
  3178. TPersonTypeimage
  3179. --------------------------------------------------------------------}
  3180. Procedure TPersonTypeimage.SetisDefault(AIndex : Integer; AValue : boolean);
  3181. begin
  3182. If (FisDefault=AValue) then exit;
  3183. FisDefault:=AValue;
  3184. MarkPropertyChanged(AIndex);
  3185. end;
  3186. Procedure TPersonTypeimage.Seturl(AIndex : Integer; const AValue : String);
  3187. begin
  3188. If (Furl=AValue) then exit;
  3189. Furl:=AValue;
  3190. MarkPropertyChanged(AIndex);
  3191. end;
  3192. { --------------------------------------------------------------------
  3193. TPersonTypename
  3194. --------------------------------------------------------------------}
  3195. Procedure TPersonTypename.SetfamilyName(AIndex : Integer; const AValue : String);
  3196. begin
  3197. If (FfamilyName=AValue) then exit;
  3198. FfamilyName:=AValue;
  3199. MarkPropertyChanged(AIndex);
  3200. end;
  3201. Procedure TPersonTypename.Setformatted(AIndex : Integer; const AValue : String);
  3202. begin
  3203. If (Fformatted=AValue) then exit;
  3204. Fformatted:=AValue;
  3205. MarkPropertyChanged(AIndex);
  3206. end;
  3207. Procedure TPersonTypename.SetgivenName(AIndex : Integer; const AValue : String);
  3208. begin
  3209. If (FgivenName=AValue) then exit;
  3210. FgivenName:=AValue;
  3211. MarkPropertyChanged(AIndex);
  3212. end;
  3213. Procedure TPersonTypename.SethonorificPrefix(AIndex : Integer; const AValue : String);
  3214. begin
  3215. If (FhonorificPrefix=AValue) then exit;
  3216. FhonorificPrefix:=AValue;
  3217. MarkPropertyChanged(AIndex);
  3218. end;
  3219. Procedure TPersonTypename.SethonorificSuffix(AIndex : Integer; const AValue : String);
  3220. begin
  3221. If (FhonorificSuffix=AValue) then exit;
  3222. FhonorificSuffix:=AValue;
  3223. MarkPropertyChanged(AIndex);
  3224. end;
  3225. Procedure TPersonTypename.SetmiddleName(AIndex : Integer; const AValue : String);
  3226. begin
  3227. If (FmiddleName=AValue) then exit;
  3228. FmiddleName:=AValue;
  3229. MarkPropertyChanged(AIndex);
  3230. end;
  3231. { --------------------------------------------------------------------
  3232. TPersonTypeorganizationsItem
  3233. --------------------------------------------------------------------}
  3234. Procedure TPersonTypeorganizationsItem.Setdepartment(AIndex : Integer; const AValue : String);
  3235. begin
  3236. If (Fdepartment=AValue) then exit;
  3237. Fdepartment:=AValue;
  3238. MarkPropertyChanged(AIndex);
  3239. end;
  3240. Procedure TPersonTypeorganizationsItem.Setdescription(AIndex : Integer; const AValue : String);
  3241. begin
  3242. If (Fdescription=AValue) then exit;
  3243. Fdescription:=AValue;
  3244. MarkPropertyChanged(AIndex);
  3245. end;
  3246. Procedure TPersonTypeorganizationsItem.SetendDate(AIndex : Integer; const AValue : String);
  3247. begin
  3248. If (FendDate=AValue) then exit;
  3249. FendDate:=AValue;
  3250. MarkPropertyChanged(AIndex);
  3251. end;
  3252. Procedure TPersonTypeorganizationsItem.Setlocation(AIndex : Integer; const AValue : String);
  3253. begin
  3254. If (Flocation=AValue) then exit;
  3255. Flocation:=AValue;
  3256. MarkPropertyChanged(AIndex);
  3257. end;
  3258. Procedure TPersonTypeorganizationsItem.Setname(AIndex : Integer; const AValue : String);
  3259. begin
  3260. If (Fname=AValue) then exit;
  3261. Fname:=AValue;
  3262. MarkPropertyChanged(AIndex);
  3263. end;
  3264. Procedure TPersonTypeorganizationsItem.Setprimary(AIndex : Integer; AValue : boolean);
  3265. begin
  3266. If (Fprimary=AValue) then exit;
  3267. Fprimary:=AValue;
  3268. MarkPropertyChanged(AIndex);
  3269. end;
  3270. Procedure TPersonTypeorganizationsItem.SetstartDate(AIndex : Integer; const AValue : String);
  3271. begin
  3272. If (FstartDate=AValue) then exit;
  3273. FstartDate:=AValue;
  3274. MarkPropertyChanged(AIndex);
  3275. end;
  3276. Procedure TPersonTypeorganizationsItem.Settitle(AIndex : Integer; const AValue : String);
  3277. begin
  3278. If (Ftitle=AValue) then exit;
  3279. Ftitle:=AValue;
  3280. MarkPropertyChanged(AIndex);
  3281. end;
  3282. Procedure TPersonTypeorganizationsItem.Set_type(AIndex : Integer; const AValue : String);
  3283. begin
  3284. If (F_type=AValue) then exit;
  3285. F_type:=AValue;
  3286. MarkPropertyChanged(AIndex);
  3287. end;
  3288. Class Function TPersonTypeorganizationsItem.ExportPropertyName(Const AName : String) :String;
  3289. begin
  3290. Case AName of
  3291. '_type' : Result:='type';
  3292. else
  3293. Result:=Inherited ExportPropertyName(AName);
  3294. end;
  3295. end;
  3296. { --------------------------------------------------------------------
  3297. TPersonTypeplacesLivedItem
  3298. --------------------------------------------------------------------}
  3299. Procedure TPersonTypeplacesLivedItem.Setprimary(AIndex : Integer; AValue : boolean);
  3300. begin
  3301. If (Fprimary=AValue) then exit;
  3302. Fprimary:=AValue;
  3303. MarkPropertyChanged(AIndex);
  3304. end;
  3305. Procedure TPersonTypeplacesLivedItem.Setvalue(AIndex : Integer; const AValue : String);
  3306. begin
  3307. If (Fvalue=AValue) then exit;
  3308. Fvalue:=AValue;
  3309. MarkPropertyChanged(AIndex);
  3310. end;
  3311. { --------------------------------------------------------------------
  3312. TPersonTypeurlsItem
  3313. --------------------------------------------------------------------}
  3314. Procedure TPersonTypeurlsItem.Set_label(AIndex : Integer; const AValue : String);
  3315. begin
  3316. If (F_label=AValue) then exit;
  3317. F_label:=AValue;
  3318. MarkPropertyChanged(AIndex);
  3319. end;
  3320. Procedure TPersonTypeurlsItem.Set_type(AIndex : Integer; const AValue : String);
  3321. begin
  3322. If (F_type=AValue) then exit;
  3323. F_type:=AValue;
  3324. MarkPropertyChanged(AIndex);
  3325. end;
  3326. Procedure TPersonTypeurlsItem.Setvalue(AIndex : Integer; const AValue : String);
  3327. begin
  3328. If (Fvalue=AValue) then exit;
  3329. Fvalue:=AValue;
  3330. MarkPropertyChanged(AIndex);
  3331. end;
  3332. Class Function TPersonTypeurlsItem.ExportPropertyName(Const AName : String) :String;
  3333. begin
  3334. Case AName of
  3335. '_label' : Result:='label';
  3336. '_type' : Result:='type';
  3337. else
  3338. Result:=Inherited ExportPropertyName(AName);
  3339. end;
  3340. end;
  3341. { --------------------------------------------------------------------
  3342. TPerson
  3343. --------------------------------------------------------------------}
  3344. Procedure TPerson.SetaboutMe(AIndex : Integer; const AValue : String);
  3345. begin
  3346. If (FaboutMe=AValue) then exit;
  3347. FaboutMe:=AValue;
  3348. MarkPropertyChanged(AIndex);
  3349. end;
  3350. Procedure TPerson.Setbirthday(AIndex : Integer; const AValue : String);
  3351. begin
  3352. If (Fbirthday=AValue) then exit;
  3353. Fbirthday:=AValue;
  3354. MarkPropertyChanged(AIndex);
  3355. end;
  3356. Procedure TPerson.SetbraggingRights(AIndex : Integer; const AValue : String);
  3357. begin
  3358. If (FbraggingRights=AValue) then exit;
  3359. FbraggingRights:=AValue;
  3360. MarkPropertyChanged(AIndex);
  3361. end;
  3362. Procedure TPerson.SetcircledByCount(AIndex : Integer; AValue : integer);
  3363. begin
  3364. If (FcircledByCount=AValue) then exit;
  3365. FcircledByCount:=AValue;
  3366. MarkPropertyChanged(AIndex);
  3367. end;
  3368. Procedure TPerson.Setcover(AIndex : Integer; AValue : TPersonTypecover);
  3369. begin
  3370. If (Fcover=AValue) then exit;
  3371. Fcover:=AValue;
  3372. MarkPropertyChanged(AIndex);
  3373. end;
  3374. Procedure TPerson.SetcurrentLocation(AIndex : Integer; const AValue : String);
  3375. begin
  3376. If (FcurrentLocation=AValue) then exit;
  3377. FcurrentLocation:=AValue;
  3378. MarkPropertyChanged(AIndex);
  3379. end;
  3380. Procedure TPerson.SetdisplayName(AIndex : Integer; const AValue : String);
  3381. begin
  3382. If (FdisplayName=AValue) then exit;
  3383. FdisplayName:=AValue;
  3384. MarkPropertyChanged(AIndex);
  3385. end;
  3386. Procedure TPerson.Setdomain(AIndex : Integer; const AValue : String);
  3387. begin
  3388. If (Fdomain=AValue) then exit;
  3389. Fdomain:=AValue;
  3390. MarkPropertyChanged(AIndex);
  3391. end;
  3392. Procedure TPerson.Setemails(AIndex : Integer; AValue : TPersonTypeemailsArray);
  3393. begin
  3394. If (Femails=AValue) then exit;
  3395. Femails:=AValue;
  3396. MarkPropertyChanged(AIndex);
  3397. end;
  3398. Procedure TPerson.Setetag(AIndex : Integer; const AValue : String);
  3399. begin
  3400. If (Fetag=AValue) then exit;
  3401. Fetag:=AValue;
  3402. MarkPropertyChanged(AIndex);
  3403. end;
  3404. Procedure TPerson.Setgender(AIndex : Integer; const AValue : String);
  3405. begin
  3406. If (Fgender=AValue) then exit;
  3407. Fgender:=AValue;
  3408. MarkPropertyChanged(AIndex);
  3409. end;
  3410. Procedure TPerson.Setid(AIndex : Integer; const AValue : String);
  3411. begin
  3412. If (Fid=AValue) then exit;
  3413. Fid:=AValue;
  3414. MarkPropertyChanged(AIndex);
  3415. end;
  3416. Procedure TPerson.Setimage(AIndex : Integer; AValue : TPersonTypeimage);
  3417. begin
  3418. If (Fimage=AValue) then exit;
  3419. Fimage:=AValue;
  3420. MarkPropertyChanged(AIndex);
  3421. end;
  3422. Procedure TPerson.SetisPlusUser(AIndex : Integer; AValue : boolean);
  3423. begin
  3424. If (FisPlusUser=AValue) then exit;
  3425. FisPlusUser:=AValue;
  3426. MarkPropertyChanged(AIndex);
  3427. end;
  3428. Procedure TPerson.Setkind(AIndex : Integer; const AValue : String);
  3429. begin
  3430. If (Fkind=AValue) then exit;
  3431. Fkind:=AValue;
  3432. MarkPropertyChanged(AIndex);
  3433. end;
  3434. Procedure TPerson.Setname(AIndex : Integer; AValue : TPersonTypename);
  3435. begin
  3436. If (Fname=AValue) then exit;
  3437. Fname:=AValue;
  3438. MarkPropertyChanged(AIndex);
  3439. end;
  3440. Procedure TPerson.Setnickname(AIndex : Integer; const AValue : String);
  3441. begin
  3442. If (Fnickname=AValue) then exit;
  3443. Fnickname:=AValue;
  3444. MarkPropertyChanged(AIndex);
  3445. end;
  3446. Procedure TPerson.SetobjectType(AIndex : Integer; const AValue : String);
  3447. begin
  3448. If (FobjectType=AValue) then exit;
  3449. FobjectType:=AValue;
  3450. MarkPropertyChanged(AIndex);
  3451. end;
  3452. Procedure TPerson.Setoccupation(AIndex : Integer; const AValue : String);
  3453. begin
  3454. If (Foccupation=AValue) then exit;
  3455. Foccupation:=AValue;
  3456. MarkPropertyChanged(AIndex);
  3457. end;
  3458. Procedure TPerson.Setorganizations(AIndex : Integer; AValue : TPersonTypeorganizationsArray);
  3459. begin
  3460. If (Forganizations=AValue) then exit;
  3461. Forganizations:=AValue;
  3462. MarkPropertyChanged(AIndex);
  3463. end;
  3464. Procedure TPerson.SetplacesLived(AIndex : Integer; AValue : TPersonTypeplacesLivedArray);
  3465. begin
  3466. If (FplacesLived=AValue) then exit;
  3467. FplacesLived:=AValue;
  3468. MarkPropertyChanged(AIndex);
  3469. end;
  3470. Procedure TPerson.SetplusOneCount(AIndex : Integer; AValue : integer);
  3471. begin
  3472. If (FplusOneCount=AValue) then exit;
  3473. FplusOneCount:=AValue;
  3474. MarkPropertyChanged(AIndex);
  3475. end;
  3476. Procedure TPerson.SetrelationshipStatus(AIndex : Integer; const AValue : String);
  3477. begin
  3478. If (FrelationshipStatus=AValue) then exit;
  3479. FrelationshipStatus:=AValue;
  3480. MarkPropertyChanged(AIndex);
  3481. end;
  3482. Procedure TPerson.Setskills(AIndex : Integer; const AValue : String);
  3483. begin
  3484. If (Fskills=AValue) then exit;
  3485. Fskills:=AValue;
  3486. MarkPropertyChanged(AIndex);
  3487. end;
  3488. Procedure TPerson.Settagline(AIndex : Integer; const AValue : String);
  3489. begin
  3490. If (Ftagline=AValue) then exit;
  3491. Ftagline:=AValue;
  3492. MarkPropertyChanged(AIndex);
  3493. end;
  3494. Procedure TPerson.Seturl(AIndex : Integer; const AValue : String);
  3495. begin
  3496. If (Furl=AValue) then exit;
  3497. Furl:=AValue;
  3498. MarkPropertyChanged(AIndex);
  3499. end;
  3500. Procedure TPerson.Seturls(AIndex : Integer; AValue : TPersonTypeurlsArray);
  3501. begin
  3502. If (Furls=AValue) then exit;
  3503. Furls:=AValue;
  3504. MarkPropertyChanged(AIndex);
  3505. end;
  3506. Procedure TPerson.Setverified(AIndex : Integer; AValue : boolean);
  3507. begin
  3508. If (Fverified=AValue) then exit;
  3509. Fverified:=AValue;
  3510. MarkPropertyChanged(AIndex);
  3511. end;
  3512. //2.6.4. bug workaround
  3513. {$IFDEF VER2_6}
  3514. Procedure TPerson.SetArrayLength(Const AName : String; ALength : Longint);
  3515. begin
  3516. Case AName of
  3517. 'emails' : SetLength(Femails,ALength);
  3518. 'organizations' : SetLength(Forganizations,ALength);
  3519. 'placeslived' : SetLength(FplacesLived,ALength);
  3520. 'urls' : SetLength(Furls,ALength);
  3521. else
  3522. Inherited SetArrayLength(AName,ALength);
  3523. end;
  3524. end;
  3525. {$ENDIF VER2_6}
  3526. { --------------------------------------------------------------------
  3527. TPlaceTypeaddress
  3528. --------------------------------------------------------------------}
  3529. Procedure TPlaceTypeaddress.Setformatted(AIndex : Integer; const AValue : String);
  3530. begin
  3531. If (Fformatted=AValue) then exit;
  3532. Fformatted:=AValue;
  3533. MarkPropertyChanged(AIndex);
  3534. end;
  3535. { --------------------------------------------------------------------
  3536. TPlaceTypeposition
  3537. --------------------------------------------------------------------}
  3538. Procedure TPlaceTypeposition.Setlatitude(AIndex : Integer; AValue : double);
  3539. begin
  3540. If (Flatitude=AValue) then exit;
  3541. Flatitude:=AValue;
  3542. MarkPropertyChanged(AIndex);
  3543. end;
  3544. Procedure TPlaceTypeposition.Setlongitude(AIndex : Integer; AValue : double);
  3545. begin
  3546. If (Flongitude=AValue) then exit;
  3547. Flongitude:=AValue;
  3548. MarkPropertyChanged(AIndex);
  3549. end;
  3550. { --------------------------------------------------------------------
  3551. TPlace
  3552. --------------------------------------------------------------------}
  3553. Procedure TPlace.Setaddress(AIndex : Integer; AValue : TPlaceTypeaddress);
  3554. begin
  3555. If (Faddress=AValue) then exit;
  3556. Faddress:=AValue;
  3557. MarkPropertyChanged(AIndex);
  3558. end;
  3559. Procedure TPlace.SetdisplayName(AIndex : Integer; const AValue : String);
  3560. begin
  3561. If (FdisplayName=AValue) then exit;
  3562. FdisplayName:=AValue;
  3563. MarkPropertyChanged(AIndex);
  3564. end;
  3565. Procedure TPlace.Setid(AIndex : Integer; const AValue : String);
  3566. begin
  3567. If (Fid=AValue) then exit;
  3568. Fid:=AValue;
  3569. MarkPropertyChanged(AIndex);
  3570. end;
  3571. Procedure TPlace.Setkind(AIndex : Integer; const AValue : String);
  3572. begin
  3573. If (Fkind=AValue) then exit;
  3574. Fkind:=AValue;
  3575. MarkPropertyChanged(AIndex);
  3576. end;
  3577. Procedure TPlace.Setposition(AIndex : Integer; AValue : TPlaceTypeposition);
  3578. begin
  3579. If (Fposition=AValue) then exit;
  3580. Fposition:=AValue;
  3581. MarkPropertyChanged(AIndex);
  3582. end;
  3583. { --------------------------------------------------------------------
  3584. TPlusDomainsAclentryResource
  3585. --------------------------------------------------------------------}
  3586. Procedure TPlusDomainsAclentryResource.SetdisplayName(AIndex : Integer; const AValue : String);
  3587. begin
  3588. If (FdisplayName=AValue) then exit;
  3589. FdisplayName:=AValue;
  3590. MarkPropertyChanged(AIndex);
  3591. end;
  3592. Procedure TPlusDomainsAclentryResource.Setid(AIndex : Integer; const AValue : String);
  3593. begin
  3594. If (Fid=AValue) then exit;
  3595. Fid:=AValue;
  3596. MarkPropertyChanged(AIndex);
  3597. end;
  3598. Procedure TPlusDomainsAclentryResource.Set_type(AIndex : Integer; const AValue : String);
  3599. begin
  3600. If (F_type=AValue) then exit;
  3601. F_type:=AValue;
  3602. MarkPropertyChanged(AIndex);
  3603. end;
  3604. Class Function TPlusDomainsAclentryResource.ExportPropertyName(Const AName : String) :String;
  3605. begin
  3606. Case AName of
  3607. '_type' : Result:='type';
  3608. else
  3609. Result:=Inherited ExportPropertyName(AName);
  3610. end;
  3611. end;
  3612. { --------------------------------------------------------------------
  3613. TVideostream
  3614. --------------------------------------------------------------------}
  3615. Procedure TVideostream.Setheight(AIndex : Integer; AValue : integer);
  3616. begin
  3617. If (Fheight=AValue) then exit;
  3618. Fheight:=AValue;
  3619. MarkPropertyChanged(AIndex);
  3620. end;
  3621. Procedure TVideostream.Set_type(AIndex : Integer; const AValue : String);
  3622. begin
  3623. If (F_type=AValue) then exit;
  3624. F_type:=AValue;
  3625. MarkPropertyChanged(AIndex);
  3626. end;
  3627. Procedure TVideostream.Seturl(AIndex : Integer; const AValue : String);
  3628. begin
  3629. If (Furl=AValue) then exit;
  3630. Furl:=AValue;
  3631. MarkPropertyChanged(AIndex);
  3632. end;
  3633. Procedure TVideostream.Setwidth(AIndex : Integer; AValue : integer);
  3634. begin
  3635. If (Fwidth=AValue) then exit;
  3636. Fwidth:=AValue;
  3637. MarkPropertyChanged(AIndex);
  3638. end;
  3639. Class Function TVideostream.ExportPropertyName(Const AName : String) :String;
  3640. begin
  3641. Case AName of
  3642. '_type' : Result:='type';
  3643. else
  3644. Result:=Inherited ExportPropertyName(AName);
  3645. end;
  3646. end;
  3647. { --------------------------------------------------------------------
  3648. TActivitiesResource
  3649. --------------------------------------------------------------------}
  3650. Class Function TActivitiesResource.ResourceName : String;
  3651. begin
  3652. Result:='activities';
  3653. end;
  3654. Class Function TActivitiesResource.DefaultAPI : TGoogleAPIClass;
  3655. begin
  3656. Result:=TplusDomainsAPI;
  3657. end;
  3658. Function TActivitiesResource.Get(activityId: string) : TActivity;
  3659. Const
  3660. _HTTPMethod = 'GET';
  3661. _Path = 'activities/{activityId}';
  3662. _Methodid = 'plusDomains.activities.get';
  3663. Var
  3664. _P : String;
  3665. begin
  3666. _P:=SubstitutePath(_Path,['activityId',activityId]);
  3667. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TActivity) as TActivity;
  3668. end;
  3669. Function TActivitiesResource.Insert(userId: string; aActivity : TActivity; AQuery : string = '') : TActivity;
  3670. Const
  3671. _HTTPMethod = 'POST';
  3672. _Path = 'people/{userId}/activities';
  3673. _Methodid = 'plusDomains.activities.insert';
  3674. Var
  3675. _P : String;
  3676. begin
  3677. _P:=SubstitutePath(_Path,['userId',userId]);
  3678. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aActivity,TActivity) as TActivity;
  3679. end;
  3680. Function TActivitiesResource.Insert(userId: string; aActivity : TActivity; AQuery : TActivitiesinsertOptions) : TActivity;
  3681. Var
  3682. _Q : String;
  3683. begin
  3684. _Q:='';
  3685. AddToQuery(_Q,'preview',AQuery.preview);
  3686. Result:=Insert(userId,aActivity,_Q);
  3687. end;
  3688. Function TActivitiesResource.List(collection: string; userId: string; AQuery : string = '') : TActivityFeed;
  3689. Const
  3690. _HTTPMethod = 'GET';
  3691. _Path = 'people/{userId}/activities/{collection}';
  3692. _Methodid = 'plusDomains.activities.list';
  3693. Var
  3694. _P : String;
  3695. begin
  3696. _P:=SubstitutePath(_Path,['collection',collection,'userId',userId]);
  3697. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TActivityFeed) as TActivityFeed;
  3698. end;
  3699. Function TActivitiesResource.List(collection: string; userId: string; AQuery : TActivitieslistOptions) : TActivityFeed;
  3700. Var
  3701. _Q : String;
  3702. begin
  3703. _Q:='';
  3704. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  3705. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  3706. Result:=List(collection,userId,_Q);
  3707. end;
  3708. { --------------------------------------------------------------------
  3709. TAudiencesResource
  3710. --------------------------------------------------------------------}
  3711. Class Function TAudiencesResource.ResourceName : String;
  3712. begin
  3713. Result:='audiences';
  3714. end;
  3715. Class Function TAudiencesResource.DefaultAPI : TGoogleAPIClass;
  3716. begin
  3717. Result:=TplusDomainsAPI;
  3718. end;
  3719. Function TAudiencesResource.List(userId: string; AQuery : string = '') : TAudiencesFeed;
  3720. Const
  3721. _HTTPMethod = 'GET';
  3722. _Path = 'people/{userId}/audiences';
  3723. _Methodid = 'plusDomains.audiences.list';
  3724. Var
  3725. _P : String;
  3726. begin
  3727. _P:=SubstitutePath(_Path,['userId',userId]);
  3728. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAudiencesFeed) as TAudiencesFeed;
  3729. end;
  3730. Function TAudiencesResource.List(userId: string; AQuery : TAudienceslistOptions) : TAudiencesFeed;
  3731. Var
  3732. _Q : String;
  3733. begin
  3734. _Q:='';
  3735. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  3736. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  3737. Result:=List(userId,_Q);
  3738. end;
  3739. { --------------------------------------------------------------------
  3740. TCirclesResource
  3741. --------------------------------------------------------------------}
  3742. Class Function TCirclesResource.ResourceName : String;
  3743. begin
  3744. Result:='circles';
  3745. end;
  3746. Class Function TCirclesResource.DefaultAPI : TGoogleAPIClass;
  3747. begin
  3748. Result:=TplusDomainsAPI;
  3749. end;
  3750. Function TCirclesResource.AddPeople(circleId: string; AQuery : string = '') : TCircle;
  3751. Const
  3752. _HTTPMethod = 'PUT';
  3753. _Path = 'circles/{circleId}/people';
  3754. _Methodid = 'plusDomains.circles.addPeople';
  3755. Var
  3756. _P : String;
  3757. begin
  3758. _P:=SubstitutePath(_Path,['circleId',circleId]);
  3759. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCircle) as TCircle;
  3760. end;
  3761. Function TCirclesResource.AddPeople(circleId: string; AQuery : TCirclesaddPeopleOptions) : TCircle;
  3762. Var
  3763. _Q : String;
  3764. begin
  3765. _Q:='';
  3766. AddToQuery(_Q,'email',AQuery.email);
  3767. AddToQuery(_Q,'userId',AQuery.userId);
  3768. Result:=AddPeople(circleId,_Q);
  3769. end;
  3770. Function TCirclesResource.Get(circleId: string) : TCircle;
  3771. Const
  3772. _HTTPMethod = 'GET';
  3773. _Path = 'circles/{circleId}';
  3774. _Methodid = 'plusDomains.circles.get';
  3775. Var
  3776. _P : String;
  3777. begin
  3778. _P:=SubstitutePath(_Path,['circleId',circleId]);
  3779. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCircle) as TCircle;
  3780. end;
  3781. Function TCirclesResource.Insert(userId: string; aCircle : TCircle) : TCircle;
  3782. Const
  3783. _HTTPMethod = 'POST';
  3784. _Path = 'people/{userId}/circles';
  3785. _Methodid = 'plusDomains.circles.insert';
  3786. Var
  3787. _P : String;
  3788. begin
  3789. _P:=SubstitutePath(_Path,['userId',userId]);
  3790. Result:=ServiceCall(_HTTPMethod,_P,'',aCircle,TCircle) as TCircle;
  3791. end;
  3792. Function TCirclesResource.List(userId: string; AQuery : string = '') : TCircleFeed;
  3793. Const
  3794. _HTTPMethod = 'GET';
  3795. _Path = 'people/{userId}/circles';
  3796. _Methodid = 'plusDomains.circles.list';
  3797. Var
  3798. _P : String;
  3799. begin
  3800. _P:=SubstitutePath(_Path,['userId',userId]);
  3801. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCircleFeed) as TCircleFeed;
  3802. end;
  3803. Function TCirclesResource.List(userId: string; AQuery : TCircleslistOptions) : TCircleFeed;
  3804. Var
  3805. _Q : String;
  3806. begin
  3807. _Q:='';
  3808. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  3809. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  3810. Result:=List(userId,_Q);
  3811. end;
  3812. Function TCirclesResource.Patch(circleId: string; aCircle : TCircle) : TCircle;
  3813. Const
  3814. _HTTPMethod = 'PATCH';
  3815. _Path = 'circles/{circleId}';
  3816. _Methodid = 'plusDomains.circles.patch';
  3817. Var
  3818. _P : String;
  3819. begin
  3820. _P:=SubstitutePath(_Path,['circleId',circleId]);
  3821. Result:=ServiceCall(_HTTPMethod,_P,'',aCircle,TCircle) as TCircle;
  3822. end;
  3823. Procedure TCirclesResource.Remove(circleId: string);
  3824. Const
  3825. _HTTPMethod = 'DELETE';
  3826. _Path = 'circles/{circleId}';
  3827. _Methodid = 'plusDomains.circles.remove';
  3828. Var
  3829. _P : String;
  3830. begin
  3831. _P:=SubstitutePath(_Path,['circleId',circleId]);
  3832. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  3833. end;
  3834. Procedure TCirclesResource.RemovePeople(circleId: string; AQuery : string = '');
  3835. Const
  3836. _HTTPMethod = 'DELETE';
  3837. _Path = 'circles/{circleId}/people';
  3838. _Methodid = 'plusDomains.circles.removePeople';
  3839. Var
  3840. _P : String;
  3841. begin
  3842. _P:=SubstitutePath(_Path,['circleId',circleId]);
  3843. ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
  3844. end;
  3845. Procedure TCirclesResource.RemovePeople(circleId: string; AQuery : TCirclesremovePeopleOptions);
  3846. Var
  3847. _Q : String;
  3848. begin
  3849. _Q:='';
  3850. AddToQuery(_Q,'email',AQuery.email);
  3851. AddToQuery(_Q,'userId',AQuery.userId);
  3852. RemovePeople(circleId,_Q);
  3853. end;
  3854. Function TCirclesResource.Update(circleId: string; aCircle : TCircle) : TCircle;
  3855. Const
  3856. _HTTPMethod = 'PUT';
  3857. _Path = 'circles/{circleId}';
  3858. _Methodid = 'plusDomains.circles.update';
  3859. Var
  3860. _P : String;
  3861. begin
  3862. _P:=SubstitutePath(_Path,['circleId',circleId]);
  3863. Result:=ServiceCall(_HTTPMethod,_P,'',aCircle,TCircle) as TCircle;
  3864. end;
  3865. { --------------------------------------------------------------------
  3866. TCommentsResource
  3867. --------------------------------------------------------------------}
  3868. Class Function TCommentsResource.ResourceName : String;
  3869. begin
  3870. Result:='comments';
  3871. end;
  3872. Class Function TCommentsResource.DefaultAPI : TGoogleAPIClass;
  3873. begin
  3874. Result:=TplusDomainsAPI;
  3875. end;
  3876. Function TCommentsResource.Get(commentId: string) : TComment;
  3877. Const
  3878. _HTTPMethod = 'GET';
  3879. _Path = 'comments/{commentId}';
  3880. _Methodid = 'plusDomains.comments.get';
  3881. Var
  3882. _P : String;
  3883. begin
  3884. _P:=SubstitutePath(_Path,['commentId',commentId]);
  3885. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TComment) as TComment;
  3886. end;
  3887. Function TCommentsResource.Insert(activityId: string; aComment : TComment) : TComment;
  3888. Const
  3889. _HTTPMethod = 'POST';
  3890. _Path = 'activities/{activityId}/comments';
  3891. _Methodid = 'plusDomains.comments.insert';
  3892. Var
  3893. _P : String;
  3894. begin
  3895. _P:=SubstitutePath(_Path,['activityId',activityId]);
  3896. Result:=ServiceCall(_HTTPMethod,_P,'',aComment,TComment) as TComment;
  3897. end;
  3898. Function TCommentsResource.List(activityId: string; AQuery : string = '') : TCommentFeed;
  3899. Const
  3900. _HTTPMethod = 'GET';
  3901. _Path = 'activities/{activityId}/comments';
  3902. _Methodid = 'plusDomains.comments.list';
  3903. Var
  3904. _P : String;
  3905. begin
  3906. _P:=SubstitutePath(_Path,['activityId',activityId]);
  3907. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCommentFeed) as TCommentFeed;
  3908. end;
  3909. Function TCommentsResource.List(activityId: string; AQuery : TCommentslistOptions) : TCommentFeed;
  3910. Var
  3911. _Q : String;
  3912. begin
  3913. _Q:='';
  3914. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  3915. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  3916. AddToQuery(_Q,'sortOrder',AQuery.sortOrder);
  3917. Result:=List(activityId,_Q);
  3918. end;
  3919. { --------------------------------------------------------------------
  3920. TMediaResource
  3921. --------------------------------------------------------------------}
  3922. Class Function TMediaResource.ResourceName : String;
  3923. begin
  3924. Result:='media';
  3925. end;
  3926. Class Function TMediaResource.DefaultAPI : TGoogleAPIClass;
  3927. begin
  3928. Result:=TplusDomainsAPI;
  3929. end;
  3930. Function TMediaResource.Insert(collection: string; userId: string; aMedia : TMedia) : TMedia;
  3931. Const
  3932. _HTTPMethod = 'POST';
  3933. _Path = 'people/{userId}/media/{collection}';
  3934. _Methodid = 'plusDomains.media.insert';
  3935. Var
  3936. _P : String;
  3937. begin
  3938. _P:=SubstitutePath(_Path,['collection',collection,'userId',userId]);
  3939. Result:=ServiceCall(_HTTPMethod,_P,'',aMedia,TMedia) as TMedia;
  3940. end;
  3941. { --------------------------------------------------------------------
  3942. TPeopleResource
  3943. --------------------------------------------------------------------}
  3944. Class Function TPeopleResource.ResourceName : String;
  3945. begin
  3946. Result:='people';
  3947. end;
  3948. Class Function TPeopleResource.DefaultAPI : TGoogleAPIClass;
  3949. begin
  3950. Result:=TplusDomainsAPI;
  3951. end;
  3952. Function TPeopleResource.Get(userId: string) : TPerson;
  3953. Const
  3954. _HTTPMethod = 'GET';
  3955. _Path = 'people/{userId}';
  3956. _Methodid = 'plusDomains.people.get';
  3957. Var
  3958. _P : String;
  3959. begin
  3960. _P:=SubstitutePath(_Path,['userId',userId]);
  3961. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TPerson) as TPerson;
  3962. end;
  3963. Function TPeopleResource.List(collection: string; userId: string; AQuery : string = '') : TPeopleFeed;
  3964. Const
  3965. _HTTPMethod = 'GET';
  3966. _Path = 'people/{userId}/people/{collection}';
  3967. _Methodid = 'plusDomains.people.list';
  3968. Var
  3969. _P : String;
  3970. begin
  3971. _P:=SubstitutePath(_Path,['collection',collection,'userId',userId]);
  3972. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPeopleFeed) as TPeopleFeed;
  3973. end;
  3974. Function TPeopleResource.List(collection: string; userId: string; AQuery : TPeoplelistOptions) : TPeopleFeed;
  3975. Var
  3976. _Q : String;
  3977. begin
  3978. _Q:='';
  3979. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  3980. AddToQuery(_Q,'orderBy',AQuery.orderBy);
  3981. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  3982. Result:=List(collection,userId,_Q);
  3983. end;
  3984. Function TPeopleResource.ListByActivity(activityId: string; collection: string; AQuery : string = '') : TPeopleFeed;
  3985. Const
  3986. _HTTPMethod = 'GET';
  3987. _Path = 'activities/{activityId}/people/{collection}';
  3988. _Methodid = 'plusDomains.people.listByActivity';
  3989. Var
  3990. _P : String;
  3991. begin
  3992. _P:=SubstitutePath(_Path,['activityId',activityId,'collection',collection]);
  3993. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPeopleFeed) as TPeopleFeed;
  3994. end;
  3995. Function TPeopleResource.ListByActivity(activityId: string; collection: string; AQuery : TPeoplelistByActivityOptions) : TPeopleFeed;
  3996. Var
  3997. _Q : String;
  3998. begin
  3999. _Q:='';
  4000. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  4001. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  4002. Result:=ListByActivity(activityId,collection,_Q);
  4003. end;
  4004. Function TPeopleResource.ListByCircle(circleId: string; AQuery : string = '') : TPeopleFeed;
  4005. Const
  4006. _HTTPMethod = 'GET';
  4007. _Path = 'circles/{circleId}/people';
  4008. _Methodid = 'plusDomains.people.listByCircle';
  4009. Var
  4010. _P : String;
  4011. begin
  4012. _P:=SubstitutePath(_Path,['circleId',circleId]);
  4013. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TPeopleFeed) as TPeopleFeed;
  4014. end;
  4015. Function TPeopleResource.ListByCircle(circleId: string; AQuery : TPeoplelistByCircleOptions) : TPeopleFeed;
  4016. Var
  4017. _Q : String;
  4018. begin
  4019. _Q:='';
  4020. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  4021. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  4022. Result:=ListByCircle(circleId,_Q);
  4023. end;
  4024. { --------------------------------------------------------------------
  4025. TPlusDomainsAPI
  4026. --------------------------------------------------------------------}
  4027. Class Function TPlusDomainsAPI.APIName : String;
  4028. begin
  4029. Result:='plusDomains';
  4030. end;
  4031. Class Function TPlusDomainsAPI.APIVersion : String;
  4032. begin
  4033. Result:='v1';
  4034. end;
  4035. Class Function TPlusDomainsAPI.APIRevision : String;
  4036. begin
  4037. Result:='20150302';
  4038. end;
  4039. Class Function TPlusDomainsAPI.APIID : String;
  4040. begin
  4041. Result:='plusDomains:v1';
  4042. end;
  4043. Class Function TPlusDomainsAPI.APITitle : String;
  4044. begin
  4045. Result:='Google+ Domains API';
  4046. end;
  4047. Class Function TPlusDomainsAPI.APIDescription : String;
  4048. begin
  4049. Result:='The Google+ API enables developers to build on top of the Google+ platform.';
  4050. end;
  4051. Class Function TPlusDomainsAPI.APIOwnerDomain : String;
  4052. begin
  4053. Result:='google.com';
  4054. end;
  4055. Class Function TPlusDomainsAPI.APIOwnerName : String;
  4056. begin
  4057. Result:='Google';
  4058. end;
  4059. Class Function TPlusDomainsAPI.APIIcon16 : String;
  4060. begin
  4061. Result:='http://www.google.com/images/icons/product/gplus-16.png';
  4062. end;
  4063. Class Function TPlusDomainsAPI.APIIcon32 : String;
  4064. begin
  4065. Result:='http://www.google.com/images/icons/product/gplus-32.png';
  4066. end;
  4067. Class Function TPlusDomainsAPI.APIdocumentationLink : String;
  4068. begin
  4069. Result:='https://developers.google.com/+/domains/';
  4070. end;
  4071. Class Function TPlusDomainsAPI.APIrootUrl : string;
  4072. begin
  4073. Result:='https://www.googleapis.com:443/';
  4074. end;
  4075. Class Function TPlusDomainsAPI.APIbasePath : string;
  4076. begin
  4077. Result:='/plusDomains/v1/';
  4078. end;
  4079. Class Function TPlusDomainsAPI.APIbaseURL : String;
  4080. begin
  4081. Result:='https://www.googleapis.com:443/plusDomains/v1/';
  4082. end;
  4083. Class Function TPlusDomainsAPI.APIProtocol : string;
  4084. begin
  4085. Result:='rest';
  4086. end;
  4087. Class Function TPlusDomainsAPI.APIservicePath : string;
  4088. begin
  4089. Result:='plusDomains/v1/';
  4090. end;
  4091. Class Function TPlusDomainsAPI.APIbatchPath : String;
  4092. begin
  4093. Result:='batch';
  4094. end;
  4095. Class Function TPlusDomainsAPI.APIAuthScopes : TScopeInfoArray;
  4096. begin
  4097. SetLength(Result,10);
  4098. Result[0].Name:='https://www.googleapis.com/auth/plus.circles.read';
  4099. Result[0].Description:='View your circles and the people and pages in them';
  4100. Result[1].Name:='https://www.googleapis.com/auth/plus.circles.write';
  4101. Result[1].Description:='Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.';
  4102. Result[2].Name:='https://www.googleapis.com/auth/plus.login';
  4103. Result[2].Description:='Know your basic profile info and list of people in your circles.';
  4104. Result[3].Name:='https://www.googleapis.com/auth/plus.me';
  4105. Result[3].Description:='Know who you are on Google';
  4106. Result[4].Name:='https://www.googleapis.com/auth/plus.media.upload';
  4107. Result[4].Description:='Send your photos and videos to Google+';
  4108. Result[5].Name:='https://www.googleapis.com/auth/plus.profiles.read';
  4109. Result[5].Description:='View your own Google+ profile and profiles visible to you';
  4110. Result[6].Name:='https://www.googleapis.com/auth/plus.stream.read';
  4111. Result[6].Description:='View your Google+ posts, comments, and stream';
  4112. Result[7].Name:='https://www.googleapis.com/auth/plus.stream.write';
  4113. Result[7].Description:='Manage your Google+ posts, comments, and stream';
  4114. Result[8].Name:='https://www.googleapis.com/auth/userinfo.email';
  4115. Result[8].Description:='View your email address';
  4116. Result[9].Name:='https://www.googleapis.com/auth/userinfo.profile';
  4117. Result[9].Description:='View your basic profile info';
  4118. end;
  4119. Class Function TPlusDomainsAPI.APINeedsAuth : Boolean;
  4120. begin
  4121. Result:=True;
  4122. end;
  4123. Class Procedure TPlusDomainsAPI.RegisterAPIResources;
  4124. begin
  4125. TAcl.RegisterObject;
  4126. TActivityTypeactorTypeimage.RegisterObject;
  4127. TActivityTypeactorTypename.RegisterObject;
  4128. TActivityTypeactor.RegisterObject;
  4129. TActivityTypeobjectTypeactorTypeimage.RegisterObject;
  4130. TActivityTypeobjectTypeactor.RegisterObject;
  4131. TActivityTypeobjectTypeattachmentsItemTypeembed.RegisterObject;
  4132. TActivityTypeobjectTypeattachmentsItemTypefullImage.RegisterObject;
  4133. TActivityTypeobjectTypeattachmentsItemTypeimage.RegisterObject;
  4134. TActivityTypeobjectTypeattachmentsItemTypepreviewThumbnailsItem.RegisterObject;
  4135. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItemTypeimage.RegisterObject;
  4136. TActivityTypeobjectTypeattachmentsItemTypethumbnailsItem.RegisterObject;
  4137. TActivityTypeobjectTypeattachmentsItem.RegisterObject;
  4138. TActivityTypeobjectTypeplusoners.RegisterObject;
  4139. TActivityTypeobjectTypereplies.RegisterObject;
  4140. TActivityTypeobjectTyperesharers.RegisterObject;
  4141. TActivityTypeobjectTypestatusForViewer.RegisterObject;
  4142. TActivityTypeobject.RegisterObject;
  4143. TActivityTypeprovider.RegisterObject;
  4144. TActivity.RegisterObject;
  4145. TActivityFeed.RegisterObject;
  4146. TAudience.RegisterObject;
  4147. TAudiencesFeed.RegisterObject;
  4148. TCircleTypepeople.RegisterObject;
  4149. TCircle.RegisterObject;
  4150. TCircleFeed.RegisterObject;
  4151. TCommentTypeactorTypeimage.RegisterObject;
  4152. TCommentTypeactor.RegisterObject;
  4153. TCommentTypeinReplyToItem.RegisterObject;
  4154. TCommentTypeobject.RegisterObject;
  4155. TCommentTypeplusoners.RegisterObject;
  4156. TComment.RegisterObject;
  4157. TCommentFeed.RegisterObject;
  4158. TMediaTypeauthorTypeimage.RegisterObject;
  4159. TMediaTypeauthor.RegisterObject;
  4160. TMediaTypeexif.RegisterObject;
  4161. TMedia.RegisterObject;
  4162. TPeopleFeed.RegisterObject;
  4163. TPersonTypecoverTypecoverInfo.RegisterObject;
  4164. TPersonTypecoverTypecoverPhoto.RegisterObject;
  4165. TPersonTypecover.RegisterObject;
  4166. TPersonTypeemailsItem.RegisterObject;
  4167. TPersonTypeimage.RegisterObject;
  4168. TPersonTypename.RegisterObject;
  4169. TPersonTypeorganizationsItem.RegisterObject;
  4170. TPersonTypeplacesLivedItem.RegisterObject;
  4171. TPersonTypeurlsItem.RegisterObject;
  4172. TPerson.RegisterObject;
  4173. TPlaceTypeaddress.RegisterObject;
  4174. TPlaceTypeposition.RegisterObject;
  4175. TPlace.RegisterObject;
  4176. TPlusDomainsAclentryResource.RegisterObject;
  4177. TVideostream.RegisterObject;
  4178. end;
  4179. Function TPlusDomainsAPI.GetActivitiesInstance : TActivitiesResource;
  4180. begin
  4181. if (FActivitiesInstance=Nil) then
  4182. FActivitiesInstance:=CreateActivitiesResource;
  4183. Result:=FActivitiesInstance;
  4184. end;
  4185. Function TPlusDomainsAPI.CreateActivitiesResource : TActivitiesResource;
  4186. begin
  4187. Result:=CreateActivitiesResource(Self);
  4188. end;
  4189. Function TPlusDomainsAPI.CreateActivitiesResource(AOwner : TComponent) : TActivitiesResource;
  4190. begin
  4191. Result:=TActivitiesResource.Create(AOwner);
  4192. Result.API:=Self.API;
  4193. end;
  4194. Function TPlusDomainsAPI.GetAudiencesInstance : TAudiencesResource;
  4195. begin
  4196. if (FAudiencesInstance=Nil) then
  4197. FAudiencesInstance:=CreateAudiencesResource;
  4198. Result:=FAudiencesInstance;
  4199. end;
  4200. Function TPlusDomainsAPI.CreateAudiencesResource : TAudiencesResource;
  4201. begin
  4202. Result:=CreateAudiencesResource(Self);
  4203. end;
  4204. Function TPlusDomainsAPI.CreateAudiencesResource(AOwner : TComponent) : TAudiencesResource;
  4205. begin
  4206. Result:=TAudiencesResource.Create(AOwner);
  4207. Result.API:=Self.API;
  4208. end;
  4209. Function TPlusDomainsAPI.GetCirclesInstance : TCirclesResource;
  4210. begin
  4211. if (FCirclesInstance=Nil) then
  4212. FCirclesInstance:=CreateCirclesResource;
  4213. Result:=FCirclesInstance;
  4214. end;
  4215. Function TPlusDomainsAPI.CreateCirclesResource : TCirclesResource;
  4216. begin
  4217. Result:=CreateCirclesResource(Self);
  4218. end;
  4219. Function TPlusDomainsAPI.CreateCirclesResource(AOwner : TComponent) : TCirclesResource;
  4220. begin
  4221. Result:=TCirclesResource.Create(AOwner);
  4222. Result.API:=Self.API;
  4223. end;
  4224. Function TPlusDomainsAPI.GetCommentsInstance : TCommentsResource;
  4225. begin
  4226. if (FCommentsInstance=Nil) then
  4227. FCommentsInstance:=CreateCommentsResource;
  4228. Result:=FCommentsInstance;
  4229. end;
  4230. Function TPlusDomainsAPI.CreateCommentsResource : TCommentsResource;
  4231. begin
  4232. Result:=CreateCommentsResource(Self);
  4233. end;
  4234. Function TPlusDomainsAPI.CreateCommentsResource(AOwner : TComponent) : TCommentsResource;
  4235. begin
  4236. Result:=TCommentsResource.Create(AOwner);
  4237. Result.API:=Self.API;
  4238. end;
  4239. Function TPlusDomainsAPI.GetMediaInstance : TMediaResource;
  4240. begin
  4241. if (FMediaInstance=Nil) then
  4242. FMediaInstance:=CreateMediaResource;
  4243. Result:=FMediaInstance;
  4244. end;
  4245. Function TPlusDomainsAPI.CreateMediaResource : TMediaResource;
  4246. begin
  4247. Result:=CreateMediaResource(Self);
  4248. end;
  4249. Function TPlusDomainsAPI.CreateMediaResource(AOwner : TComponent) : TMediaResource;
  4250. begin
  4251. Result:=TMediaResource.Create(AOwner);
  4252. Result.API:=Self.API;
  4253. end;
  4254. Function TPlusDomainsAPI.GetPeopleInstance : TPeopleResource;
  4255. begin
  4256. if (FPeopleInstance=Nil) then
  4257. FPeopleInstance:=CreatePeopleResource;
  4258. Result:=FPeopleInstance;
  4259. end;
  4260. Function TPlusDomainsAPI.CreatePeopleResource : TPeopleResource;
  4261. begin
  4262. Result:=CreatePeopleResource(Self);
  4263. end;
  4264. Function TPlusDomainsAPI.CreatePeopleResource(AOwner : TComponent) : TPeopleResource;
  4265. begin
  4266. Result:=TPeopleResource.Create(AOwner);
  4267. Result.API:=Self.API;
  4268. end;
  4269. initialization
  4270. TPlusDomainsAPI.RegisterAPI;
  4271. end.