123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078 |
- unit googleanalytics;
- {$MODE objfpc}
- {$H+}
- interface
- uses sysutils, classes, googleservice, restbase, googlebase;
- type
-
- //Top-level schema types
- TAccount = Class;
- TAccountRef = Class;
- TAccountSummaries = Class;
- TAccountSummary = Class;
- TAccountTicket = Class;
- TAccounts = Class;
- TAdWordsAccount = Class;
- TAnalyticsDataimportDeleteUploadDataRequest = Class;
- TColumn = Class;
- TColumns = Class;
- TCustomDataSource = Class;
- TCustomDataSources = Class;
- TCustomDimension = Class;
- TCustomDimensions = Class;
- TCustomMetric = Class;
- TCustomMetrics = Class;
- TEntityAdWordsLink = Class;
- TEntityAdWordsLinks = Class;
- TEntityUserLink = Class;
- TEntityUserLinks = Class;
- TExperiment = Class;
- TExperiments = Class;
- TFilter = Class;
- TFilterExpression = Class;
- TFilterRef = Class;
- TFilters = Class;
- TGaData = Class;
- TGoal = Class;
- TGoals = Class;
- TMcfData = Class;
- TProfile = Class;
- TProfileFilterLink = Class;
- TProfileFilterLinks = Class;
- TProfileRef = Class;
- TProfileSummary = Class;
- TProfiles = Class;
- TRealtimeData = Class;
- TSegment = Class;
- TSegments = Class;
- TUnsampledReport = Class;
- TUnsampledReports = Class;
- TUpload = Class;
- TUploads = Class;
- TUserRef = Class;
- TWebPropertyRef = Class;
- TWebPropertySummary = Class;
- TWebproperties = Class;
- TWebproperty = Class;
- TAccountArray = Array of TAccount;
- TAccountRefArray = Array of TAccountRef;
- TAccountSummariesArray = Array of TAccountSummaries;
- TAccountSummaryArray = Array of TAccountSummary;
- TAccountTicketArray = Array of TAccountTicket;
- TAccountsArray = Array of TAccounts;
- TAdWordsAccountArray = Array of TAdWordsAccount;
- TAnalyticsDataimportDeleteUploadDataRequestArray = Array of TAnalyticsDataimportDeleteUploadDataRequest;
- TColumnArray = Array of TColumn;
- TColumnsArray = Array of TColumns;
- TCustomDataSourceArray = Array of TCustomDataSource;
- TCustomDataSourcesArray = Array of TCustomDataSources;
- TCustomDimensionArray = Array of TCustomDimension;
- TCustomDimensionsArray = Array of TCustomDimensions;
- TCustomMetricArray = Array of TCustomMetric;
- TCustomMetricsArray = Array of TCustomMetrics;
- TEntityAdWordsLinkArray = Array of TEntityAdWordsLink;
- TEntityAdWordsLinksArray = Array of TEntityAdWordsLinks;
- TEntityUserLinkArray = Array of TEntityUserLink;
- TEntityUserLinksArray = Array of TEntityUserLinks;
- TExperimentArray = Array of TExperiment;
- TExperimentsArray = Array of TExperiments;
- TFilterArray = Array of TFilter;
- TFilterExpressionArray = Array of TFilterExpression;
- TFilterRefArray = Array of TFilterRef;
- TFiltersArray = Array of TFilters;
- TGaDataArray = Array of TGaData;
- TGoalArray = Array of TGoal;
- TGoalsArray = Array of TGoals;
- TMcfDataArray = Array of TMcfData;
- TProfileArray = Array of TProfile;
- TProfileFilterLinkArray = Array of TProfileFilterLink;
- TProfileFilterLinksArray = Array of TProfileFilterLinks;
- TProfileRefArray = Array of TProfileRef;
- TProfileSummaryArray = Array of TProfileSummary;
- TProfilesArray = Array of TProfiles;
- TRealtimeDataArray = Array of TRealtimeData;
- TSegmentArray = Array of TSegment;
- TSegmentsArray = Array of TSegments;
- TUnsampledReportArray = Array of TUnsampledReport;
- TUnsampledReportsArray = Array of TUnsampledReports;
- TUploadArray = Array of TUpload;
- TUploadsArray = Array of TUploads;
- TUserRefArray = Array of TUserRef;
- TWebPropertyRefArray = Array of TWebPropertyRef;
- TWebPropertySummaryArray = Array of TWebPropertySummary;
- TWebpropertiesArray = Array of TWebproperties;
- TWebpropertyArray = Array of TWebproperty;
- //Anonymous types, using auto-generated names
- TAccountTypechildLink = Class;
- TAccountTypepermissions = Class;
- TColumnTypeattributes = Class;
- TCustomDataSourceTypechildLink = Class;
- TCustomDataSourceTypeparentLink = Class;
- TCustomDimensionTypeparentLink = Class;
- TCustomMetricTypeparentLink = Class;
- TEntityAdWordsLinkTypeentity = Class;
- TEntityUserLinkTypeentity = Class;
- TEntityUserLinkTypepermissions = Class;
- TExperimentTypeparentLink = Class;
- TExperimentTypevariationsItem = Class;
- TFilterTypeadvancedDetails = Class;
- TFilterTypelowercaseDetails = Class;
- TFilterTypeparentLink = Class;
- TFilterTypesearchAndReplaceDetails = Class;
- TFilterTypeuppercaseDetails = Class;
- TGaDataTypecolumnHeadersItem = Class;
- TGaDataTypedataTableTypecolsItem = Class;
- TGaDataTypedataTableTyperowsItemTypecItem = Class;
- TGaDataTypedataTableTyperowsItem = Class;
- TGaDataTypedataTable = Class;
- TGaDataTypeprofileInfo = Class;
- TGaDataTypequery = Class;
- TGaDataTypetotalsForAllResults = Class;
- TGoalTypeeventDetailsTypeeventConditionsItem = Class;
- TGoalTypeeventDetails = Class;
- TGoalTypeparentLink = Class;
- TGoalTypeurlDestinationDetailsTypestepsItem = Class;
- TGoalTypeurlDestinationDetails = Class;
- TGoalTypevisitNumPagesDetails = Class;
- TGoalTypevisitTimeOnSiteDetails = Class;
- TMcfDataTypecolumnHeadersItem = Class;
- TMcfDataTypeprofileInfo = Class;
- TMcfDataTypequery = Class;
- TMcfDataTyperowsItemItemTypeconversionPathValueItem = Class;
- TMcfDataTyperowsItemItem = Class;
- TMcfDataTypetotalsForAllResults = Class;
- TProfileTypechildLink = Class;
- TProfileTypeparentLink = Class;
- TProfileTypepermissions = Class;
- TRealtimeDataTypecolumnHeadersItem = Class;
- TRealtimeDataTypeprofileInfo = Class;
- TRealtimeDataTypequery = Class;
- TRealtimeDataTypetotalsForAllResults = Class;
- TUnsampledReportTypecloudStorageDownloadDetails = Class;
- TUnsampledReportTypedriveDownloadDetails = Class;
- TWebpropertyTypechildLink = Class;
- TWebpropertyTypeparentLink = Class;
- TWebpropertyTypepermissions = Class;
- TAccountSummariesTypeitemsArray = Array of TAccountSummary;
- TAccountSummaryTypewebPropertiesArray = Array of TWebPropertySummary;
- TAccountsTypeitemsArray = Array of TAccount;
- TColumnsTypeitemsArray = Array of TColumn;
- TCustomDataSourcesTypeitemsArray = Array of TCustomDataSource;
- TCustomDimensionsTypeitemsArray = Array of TCustomDimension;
- TCustomMetricsTypeitemsArray = Array of TCustomMetric;
- TEntityAdWordsLinkTypeadWordsAccountsArray = Array of TAdWordsAccount;
- TEntityAdWordsLinksTypeitemsArray = Array of TEntityAdWordsLink;
- TEntityUserLinksTypeitemsArray = Array of TEntityUserLink;
- TExperimentTypevariationsArray = Array of TExperimentTypevariationsItem;
- TExperimentsTypeitemsArray = Array of TExperiment;
- TFiltersTypeitemsArray = Array of TFilter;
- TGaDataTypecolumnHeadersArray = Array of TGaDataTypecolumnHeadersItem;
- TGaDataTypedataTableTypecolsArray = Array of TGaDataTypedataTableTypecolsItem;
- TGaDataTypedataTableTyperowsItemTypecArray = Array of TGaDataTypedataTableTyperowsItemTypecItem;
- TGaDataTypedataTableTyperowsArray = Array of TGaDataTypedataTableTyperowsItem;
- TGaDataTyperowsArray = Array of TStringArray;
- TGoalTypeeventDetailsTypeeventConditionsArray = Array of TGoalTypeeventDetailsTypeeventConditionsItem;
- TGoalTypeurlDestinationDetailsTypestepsArray = Array of TGoalTypeurlDestinationDetailsTypestepsItem;
- TGoalsTypeitemsArray = Array of TGoal;
- TMcfDataTypecolumnHeadersArray = Array of TMcfDataTypecolumnHeadersItem;
- TMcfDataTyperowsItemItemTypeconversionPathValueArray = Array of TMcfDataTyperowsItemItemTypeconversionPathValueItem;
- TMcfDataTyperowsItemArray = Array of TMcfDataTyperowsItemItem;
- TMcfDataTyperowsArray = Array of TMcfDataTyperowsItemArray;
- TProfileFilterLinksTypeitemsArray = Array of TProfileFilterLink;
- TProfilesTypeitemsArray = Array of TProfile;
- TRealtimeDataTypecolumnHeadersArray = Array of TRealtimeDataTypecolumnHeadersItem;
- TRealtimeDataTyperowsArray = Array of TStringArray;
- TSegmentsTypeitemsArray = Array of TSegment;
- TUnsampledReportsTypeitemsArray = Array of TUnsampledReport;
- TUploadsTypeitemsArray = Array of TUpload;
- TWebPropertySummaryTypeprofilesArray = Array of TProfileSummary;
- TWebpropertiesTypeitemsArray = Array of TWebproperty;
-
- { --------------------------------------------------------------------
- TAccountTypechildLink
- --------------------------------------------------------------------}
-
- TAccountTypechildLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TAccountTypechildLinkClass = Class of TAccountTypechildLink;
-
- { --------------------------------------------------------------------
- TAccountTypepermissions
- --------------------------------------------------------------------}
-
- TAccountTypepermissions = Class(TGoogleBaseObject)
- Private
- Feffective : TStringArray;
- Protected
- //Property setters
- Procedure Seteffective(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property effective : TStringArray Index 0 Read Feffective Write Seteffective;
- end;
- TAccountTypepermissionsClass = Class of TAccountTypepermissions;
-
- { --------------------------------------------------------------------
- TAccount
- --------------------------------------------------------------------}
-
- TAccount = Class(TGoogleBaseObject)
- Private
- FchildLink : TAccountTypechildLink;
- Fcreated : TDatetime;
- Fid : String;
- Fkind : String;
- Fname : String;
- Fpermissions : TAccountTypepermissions;
- FselfLink : String;
- Fstarred : boolean;
- Fupdated : TDatetime;
- Protected
- //Property setters
- Procedure SetchildLink(AIndex : Integer; const AValue : TAccountTypechildLink); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setpermissions(AIndex : Integer; const AValue : TAccountTypepermissions); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstarred(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Public
- Published
- Property childLink : TAccountTypechildLink Index 0 Read FchildLink Write SetchildLink;
- Property created : TDatetime Index 8 Read Fcreated Write Setcreated;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property name : String Index 32 Read Fname Write Setname;
- Property permissions : TAccountTypepermissions Index 40 Read Fpermissions Write Setpermissions;
- Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
- Property starred : boolean Index 56 Read Fstarred Write Setstarred;
- Property updated : TDatetime Index 64 Read Fupdated Write Setupdated;
- end;
- TAccountClass = Class of TAccount;
-
- { --------------------------------------------------------------------
- TAccountRef
- --------------------------------------------------------------------}
-
- TAccountRef = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- Fid : String;
- Fkind : String;
- Fname : String;
- Protected
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property name : String Index 24 Read Fname Write Setname;
- end;
- TAccountRefClass = Class of TAccountRef;
-
- { --------------------------------------------------------------------
- TAccountSummaries
- --------------------------------------------------------------------}
-
- TAccountSummaries = Class(TGoogleBaseObject)
- Private
- Fitems : TAccountSummariesTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TAccountSummariesTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TAccountSummariesTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TAccountSummariesClass = Class of TAccountSummaries;
-
- { --------------------------------------------------------------------
- TAccountSummary
- --------------------------------------------------------------------}
-
- TAccountSummary = Class(TGoogleBaseObject)
- Private
- Fid : String;
- Fkind : String;
- Fname : String;
- Fstarred : boolean;
- FwebProperties : TAccountSummaryTypewebPropertiesArray;
- Protected
- //Property setters
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstarred(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetwebProperties(AIndex : Integer; const AValue : TAccountSummaryTypewebPropertiesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property id : String Index 0 Read Fid Write Setid;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property name : String Index 16 Read Fname Write Setname;
- Property starred : boolean Index 24 Read Fstarred Write Setstarred;
- Property webProperties : TAccountSummaryTypewebPropertiesArray Index 32 Read FwebProperties Write SetwebProperties;
- end;
- TAccountSummaryClass = Class of TAccountSummary;
-
- { --------------------------------------------------------------------
- TAccountTicket
- --------------------------------------------------------------------}
-
- TAccountTicket = Class(TGoogleBaseObject)
- Private
- Faccount : TAccount;
- Fid : String;
- Fkind : String;
- Fprofile : TProfile;
- FredirectUri : String;
- Fwebproperty : TWebproperty;
- Protected
- //Property setters
- Procedure Setaccount(AIndex : Integer; const AValue : TAccount); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setprofile(AIndex : Integer; const AValue : TProfile); virtual;
- Procedure SetredirectUri(AIndex : Integer; const AValue : String); virtual;
- Procedure Setwebproperty(AIndex : Integer; const AValue : TWebproperty); virtual;
- Public
- Published
- Property account : TAccount Index 0 Read Faccount Write Setaccount;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property profile : TProfile Index 24 Read Fprofile Write Setprofile;
- Property redirectUri : String Index 32 Read FredirectUri Write SetredirectUri;
- Property webproperty : TWebproperty Index 40 Read Fwebproperty Write Setwebproperty;
- end;
- TAccountTicketClass = Class of TAccountTicket;
-
- { --------------------------------------------------------------------
- TAccounts
- --------------------------------------------------------------------}
-
- TAccounts = Class(TGoogleBaseObject)
- Private
- Fitems : TAccountsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TAccountsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TAccountsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TAccountsClass = Class of TAccounts;
-
- { --------------------------------------------------------------------
- TAdWordsAccount
- --------------------------------------------------------------------}
-
- TAdWordsAccount = Class(TGoogleBaseObject)
- Private
- FautoTaggingEnabled : boolean;
- FcustomerId : String;
- Fkind : String;
- Protected
- //Property setters
- Procedure SetautoTaggingEnabled(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetcustomerId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property autoTaggingEnabled : boolean Index 0 Read FautoTaggingEnabled Write SetautoTaggingEnabled;
- Property customerId : String Index 8 Read FcustomerId Write SetcustomerId;
- Property kind : String Index 16 Read Fkind Write Setkind;
- end;
- TAdWordsAccountClass = Class of TAdWordsAccount;
-
- { --------------------------------------------------------------------
- TAnalyticsDataimportDeleteUploadDataRequest
- --------------------------------------------------------------------}
-
- TAnalyticsDataimportDeleteUploadDataRequest = Class(TGoogleBaseObject)
- Private
- FcustomDataImportUids : TStringArray;
- Protected
- //Property setters
- Procedure SetcustomDataImportUids(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property customDataImportUids : TStringArray Index 0 Read FcustomDataImportUids Write SetcustomDataImportUids;
- end;
- TAnalyticsDataimportDeleteUploadDataRequestClass = Class of TAnalyticsDataimportDeleteUploadDataRequest;
-
- { --------------------------------------------------------------------
- TColumnTypeattributes
- --------------------------------------------------------------------}
-
- TColumnTypeattributes = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TColumnTypeattributesClass = Class of TColumnTypeattributes;
-
- { --------------------------------------------------------------------
- TColumn
- --------------------------------------------------------------------}
-
- TColumn = Class(TGoogleBaseObject)
- Private
- Fattributes : TColumnTypeattributes;
- Fid : String;
- Fkind : String;
- Protected
- //Property setters
- Procedure Setattributes(AIndex : Integer; const AValue : TColumnTypeattributes); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property attributes : TColumnTypeattributes Index 0 Read Fattributes Write Setattributes;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- end;
- TColumnClass = Class of TColumn;
-
- { --------------------------------------------------------------------
- TColumns
- --------------------------------------------------------------------}
-
- TColumns = Class(TGoogleBaseObject)
- Private
- FattributeNames : TStringArray;
- Fetag : String;
- Fitems : TColumnsTypeitemsArray;
- Fkind : String;
- FtotalResults : integer;
- Protected
- //Property setters
- Procedure SetattributeNames(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TColumnsTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property attributeNames : TStringArray Index 0 Read FattributeNames Write SetattributeNames;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property items : TColumnsTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property totalResults : integer Index 32 Read FtotalResults Write SettotalResults;
- end;
- TColumnsClass = Class of TColumns;
-
- { --------------------------------------------------------------------
- TCustomDataSourceTypechildLink
- --------------------------------------------------------------------}
-
- TCustomDataSourceTypechildLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TCustomDataSourceTypechildLinkClass = Class of TCustomDataSourceTypechildLink;
-
- { --------------------------------------------------------------------
- TCustomDataSourceTypeparentLink
- --------------------------------------------------------------------}
-
- TCustomDataSourceTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TCustomDataSourceTypeparentLinkClass = Class of TCustomDataSourceTypeparentLink;
-
- { --------------------------------------------------------------------
- TCustomDataSource
- --------------------------------------------------------------------}
-
- TCustomDataSource = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FchildLink : TCustomDataSourceTypechildLink;
- Fcreated : TDatetime;
- Fdescription : String;
- Fid : String;
- FimportBehavior : String;
- Fkind : String;
- Fname : String;
- FparentLink : TCustomDataSourceTypeparentLink;
- FprofilesLinked : TStringArray;
- FselfLink : String;
- F_type : String;
- Fupdated : TDatetime;
- FuploadType : String;
- FwebPropertyId : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchildLink(AIndex : Integer; const AValue : TCustomDataSourceTypechildLink); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetimportBehavior(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TCustomDataSourceTypeparentLink); virtual;
- Procedure SetprofilesLinked(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetuploadType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property childLink : TCustomDataSourceTypechildLink Index 8 Read FchildLink Write SetchildLink;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property description : String Index 24 Read Fdescription Write Setdescription;
- Property id : String Index 32 Read Fid Write Setid;
- Property importBehavior : String Index 40 Read FimportBehavior Write SetimportBehavior;
- Property kind : String Index 48 Read Fkind Write Setkind;
- Property name : String Index 56 Read Fname Write Setname;
- Property parentLink : TCustomDataSourceTypeparentLink Index 64 Read FparentLink Write SetparentLink;
- Property profilesLinked : TStringArray Index 72 Read FprofilesLinked Write SetprofilesLinked;
- Property selfLink : String Index 80 Read FselfLink Write SetselfLink;
- Property _type : String Index 88 Read F_type Write Set_type;
- Property updated : TDatetime Index 96 Read Fupdated Write Setupdated;
- Property uploadType : String Index 104 Read FuploadType Write SetuploadType;
- Property webPropertyId : String Index 112 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TCustomDataSourceClass = Class of TCustomDataSource;
-
- { --------------------------------------------------------------------
- TCustomDataSources
- --------------------------------------------------------------------}
-
- TCustomDataSources = Class(TGoogleBaseObject)
- Private
- Fitems : TCustomDataSourcesTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TCustomDataSourcesTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TCustomDataSourcesTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TCustomDataSourcesClass = Class of TCustomDataSources;
-
- { --------------------------------------------------------------------
- TCustomDimensionTypeparentLink
- --------------------------------------------------------------------}
-
- TCustomDimensionTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TCustomDimensionTypeparentLinkClass = Class of TCustomDimensionTypeparentLink;
-
- { --------------------------------------------------------------------
- TCustomDimension
- --------------------------------------------------------------------}
-
- TCustomDimension = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Factive : boolean;
- Fcreated : TDatetime;
- Fid : String;
- Findex : integer;
- Fkind : String;
- Fname : String;
- FparentLink : TCustomDimensionTypeparentLink;
- Fscope : String;
- FselfLink : String;
- Fupdated : TDatetime;
- FwebPropertyId : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setindex(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TCustomDimensionTypeparentLink); virtual;
- Procedure Setscope(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property active : boolean Index 8 Read Factive Write Setactive;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property id : String Index 24 Read Fid Write Setid;
- Property index : integer Index 32 Read Findex Write Setindex;
- Property kind : String Index 40 Read Fkind Write Setkind;
- Property name : String Index 48 Read Fname Write Setname;
- Property parentLink : TCustomDimensionTypeparentLink Index 56 Read FparentLink Write SetparentLink;
- Property scope : String Index 64 Read Fscope Write Setscope;
- Property selfLink : String Index 72 Read FselfLink Write SetselfLink;
- Property updated : TDatetime Index 80 Read Fupdated Write Setupdated;
- Property webPropertyId : String Index 88 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TCustomDimensionClass = Class of TCustomDimension;
-
- { --------------------------------------------------------------------
- TCustomDimensions
- --------------------------------------------------------------------}
-
- TCustomDimensions = Class(TGoogleBaseObject)
- Private
- Fitems : TCustomDimensionsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TCustomDimensionsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TCustomDimensionsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TCustomDimensionsClass = Class of TCustomDimensions;
-
- { --------------------------------------------------------------------
- TCustomMetricTypeparentLink
- --------------------------------------------------------------------}
-
- TCustomMetricTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TCustomMetricTypeparentLinkClass = Class of TCustomMetricTypeparentLink;
-
- { --------------------------------------------------------------------
- TCustomMetric
- --------------------------------------------------------------------}
-
- TCustomMetric = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Factive : boolean;
- Fcreated : TDatetime;
- Fid : String;
- Findex : integer;
- Fkind : String;
- Fmax_value : String;
- Fmin_value : String;
- Fname : String;
- FparentLink : TCustomMetricTypeparentLink;
- Fscope : String;
- FselfLink : String;
- F_type : String;
- Fupdated : TDatetime;
- FwebPropertyId : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setindex(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmax_value(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmin_value(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TCustomMetricTypeparentLink); virtual;
- Procedure Setscope(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property active : boolean Index 8 Read Factive Write Setactive;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property id : String Index 24 Read Fid Write Setid;
- Property index : integer Index 32 Read Findex Write Setindex;
- Property kind : String Index 40 Read Fkind Write Setkind;
- Property max_value : String Index 48 Read Fmax_value Write Setmax_value;
- Property min_value : String Index 56 Read Fmin_value Write Setmin_value;
- Property name : String Index 64 Read Fname Write Setname;
- Property parentLink : TCustomMetricTypeparentLink Index 72 Read FparentLink Write SetparentLink;
- Property scope : String Index 80 Read Fscope Write Setscope;
- Property selfLink : String Index 88 Read FselfLink Write SetselfLink;
- Property _type : String Index 96 Read F_type Write Set_type;
- Property updated : TDatetime Index 104 Read Fupdated Write Setupdated;
- Property webPropertyId : String Index 112 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TCustomMetricClass = Class of TCustomMetric;
-
- { --------------------------------------------------------------------
- TCustomMetrics
- --------------------------------------------------------------------}
-
- TCustomMetrics = Class(TGoogleBaseObject)
- Private
- Fitems : TCustomMetricsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TCustomMetricsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TCustomMetricsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TCustomMetricsClass = Class of TCustomMetrics;
-
- { --------------------------------------------------------------------
- TEntityAdWordsLinkTypeentity
- --------------------------------------------------------------------}
-
- TEntityAdWordsLinkTypeentity = Class(TGoogleBaseObject)
- Private
- FwebPropertyRef : TWebPropertyRef;
- Protected
- //Property setters
- Procedure SetwebPropertyRef(AIndex : Integer; const AValue : TWebPropertyRef); virtual;
- Public
- Published
- Property webPropertyRef : TWebPropertyRef Index 0 Read FwebPropertyRef Write SetwebPropertyRef;
- end;
- TEntityAdWordsLinkTypeentityClass = Class of TEntityAdWordsLinkTypeentity;
-
- { --------------------------------------------------------------------
- TEntityAdWordsLink
- --------------------------------------------------------------------}
-
- TEntityAdWordsLink = Class(TGoogleBaseObject)
- Private
- FadWordsAccounts : TEntityAdWordsLinkTypeadWordsAccountsArray;
- Fentity : TEntityAdWordsLinkTypeentity;
- Fid : String;
- Fkind : String;
- Fname : String;
- FprofileIds : TStringArray;
- FselfLink : String;
- Protected
- //Property setters
- Procedure SetadWordsAccounts(AIndex : Integer; const AValue : TEntityAdWordsLinkTypeadWordsAccountsArray); virtual;
- Procedure Setentity(AIndex : Integer; const AValue : TEntityAdWordsLinkTypeentity); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileIds(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property adWordsAccounts : TEntityAdWordsLinkTypeadWordsAccountsArray Index 0 Read FadWordsAccounts Write SetadWordsAccounts;
- Property entity : TEntityAdWordsLinkTypeentity Index 8 Read Fentity Write Setentity;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property name : String Index 32 Read Fname Write Setname;
- Property profileIds : TStringArray Index 40 Read FprofileIds Write SetprofileIds;
- Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
- end;
- TEntityAdWordsLinkClass = Class of TEntityAdWordsLink;
-
- { --------------------------------------------------------------------
- TEntityAdWordsLinks
- --------------------------------------------------------------------}
-
- TEntityAdWordsLinks = Class(TGoogleBaseObject)
- Private
- Fitems : TEntityAdWordsLinksTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TEntityAdWordsLinksTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TEntityAdWordsLinksTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- end;
- TEntityAdWordsLinksClass = Class of TEntityAdWordsLinks;
-
- { --------------------------------------------------------------------
- TEntityUserLinkTypeentity
- --------------------------------------------------------------------}
-
- TEntityUserLinkTypeentity = Class(TGoogleBaseObject)
- Private
- FaccountRef : TAccountRef;
- FprofileRef : TProfileRef;
- FwebPropertyRef : TWebPropertyRef;
- Protected
- //Property setters
- Procedure SetaccountRef(AIndex : Integer; const AValue : TAccountRef); virtual;
- Procedure SetprofileRef(AIndex : Integer; const AValue : TProfileRef); virtual;
- Procedure SetwebPropertyRef(AIndex : Integer; const AValue : TWebPropertyRef); virtual;
- Public
- Published
- Property accountRef : TAccountRef Index 0 Read FaccountRef Write SetaccountRef;
- Property profileRef : TProfileRef Index 8 Read FprofileRef Write SetprofileRef;
- Property webPropertyRef : TWebPropertyRef Index 16 Read FwebPropertyRef Write SetwebPropertyRef;
- end;
- TEntityUserLinkTypeentityClass = Class of TEntityUserLinkTypeentity;
-
- { --------------------------------------------------------------------
- TEntityUserLinkTypepermissions
- --------------------------------------------------------------------}
-
- TEntityUserLinkTypepermissions = Class(TGoogleBaseObject)
- Private
- Feffective : TStringArray;
- Flocal : TStringArray;
- Protected
- //Property setters
- Procedure Seteffective(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setlocal(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property effective : TStringArray Index 0 Read Feffective Write Seteffective;
- Property local : TStringArray Index 8 Read Flocal Write Setlocal;
- end;
- TEntityUserLinkTypepermissionsClass = Class of TEntityUserLinkTypepermissions;
-
- { --------------------------------------------------------------------
- TEntityUserLink
- --------------------------------------------------------------------}
-
- TEntityUserLink = Class(TGoogleBaseObject)
- Private
- Fentity : TEntityUserLinkTypeentity;
- Fid : String;
- Fkind : String;
- Fpermissions : TEntityUserLinkTypepermissions;
- FselfLink : String;
- FuserRef : TUserRef;
- Protected
- //Property setters
- Procedure Setentity(AIndex : Integer; const AValue : TEntityUserLinkTypeentity); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setpermissions(AIndex : Integer; const AValue : TEntityUserLinkTypepermissions); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetuserRef(AIndex : Integer; const AValue : TUserRef); virtual;
- Public
- Published
- Property entity : TEntityUserLinkTypeentity Index 0 Read Fentity Write Setentity;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property permissions : TEntityUserLinkTypepermissions Index 24 Read Fpermissions Write Setpermissions;
- Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
- Property userRef : TUserRef Index 40 Read FuserRef Write SetuserRef;
- end;
- TEntityUserLinkClass = Class of TEntityUserLink;
-
- { --------------------------------------------------------------------
- TEntityUserLinks
- --------------------------------------------------------------------}
-
- TEntityUserLinks = Class(TGoogleBaseObject)
- Private
- Fitems : TEntityUserLinksTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TEntityUserLinksTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TEntityUserLinksTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- end;
- TEntityUserLinksClass = Class of TEntityUserLinks;
-
- { --------------------------------------------------------------------
- TExperimentTypeparentLink
- --------------------------------------------------------------------}
-
- TExperimentTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TExperimentTypeparentLinkClass = Class of TExperimentTypeparentLink;
-
- { --------------------------------------------------------------------
- TExperimentTypevariationsItem
- --------------------------------------------------------------------}
-
- TExperimentTypevariationsItem = Class(TGoogleBaseObject)
- Private
- Fname : String;
- Fstatus : String;
- Furl : String;
- Fweight : double;
- Fwon : boolean;
- Protected
- //Property setters
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
- Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
- Procedure Setweight(AIndex : Integer; const AValue : double); virtual;
- Procedure Setwon(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property name : String Index 0 Read Fname Write Setname;
- Property status : String Index 8 Read Fstatus Write Setstatus;
- Property url : String Index 16 Read Furl Write Seturl;
- Property weight : double Index 24 Read Fweight Write Setweight;
- Property won : boolean Index 32 Read Fwon Write Setwon;
- end;
- TExperimentTypevariationsItemClass = Class of TExperimentTypevariationsItem;
-
- { --------------------------------------------------------------------
- TExperiment
- --------------------------------------------------------------------}
-
- TExperiment = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Fcreated : TDatetime;
- Fdescription : String;
- FeditableInGaUi : boolean;
- FendTime : TDatetime;
- FequalWeighting : boolean;
- Fid : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- FminimumExperimentLengthInDays : integer;
- Fname : String;
- FobjectiveMetric : String;
- FoptimizationType : String;
- FparentLink : TExperimentTypeparentLink;
- FprofileId : String;
- FreasonExperimentEnded : String;
- FrewriteVariationUrlsAsOriginal : boolean;
- FselfLink : String;
- FservingFramework : String;
- Fsnippet : String;
- FstartTime : TDatetime;
- Fstatus : String;
- FtrafficCoverage : double;
- Fupdated : TDatetime;
- Fvariations : TExperimentTypevariationsArray;
- FwebPropertyId : String;
- FwinnerConfidenceLevel : double;
- FwinnerFound : boolean;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteditableInGaUi(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetendTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetequalWeighting(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetminimumExperimentLengthInDays(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetobjectiveMetric(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoptimizationType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TExperimentTypeparentLink); virtual;
- Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetreasonExperimentEnded(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrewriteVariationUrlsAsOriginal(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetservingFramework(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SettrafficCoverage(AIndex : Integer; const AValue : double); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setvariations(AIndex : Integer; const AValue : TExperimentTypevariationsArray); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwinnerConfidenceLevel(AIndex : Integer; const AValue : double); virtual;
- Procedure SetwinnerFound(AIndex : Integer; const AValue : boolean); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property created : TDatetime Index 8 Read Fcreated Write Setcreated;
- Property description : String Index 16 Read Fdescription Write Setdescription;
- Property editableInGaUi : boolean Index 24 Read FeditableInGaUi Write SeteditableInGaUi;
- Property endTime : TDatetime Index 32 Read FendTime Write SetendTime;
- Property equalWeighting : boolean Index 40 Read FequalWeighting Write SetequalWeighting;
- Property id : String Index 48 Read Fid Write Setid;
- Property internalWebPropertyId : String Index 56 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 64 Read Fkind Write Setkind;
- Property minimumExperimentLengthInDays : integer Index 72 Read FminimumExperimentLengthInDays Write SetminimumExperimentLengthInDays;
- Property name : String Index 80 Read Fname Write Setname;
- Property objectiveMetric : String Index 88 Read FobjectiveMetric Write SetobjectiveMetric;
- Property optimizationType : String Index 96 Read FoptimizationType Write SetoptimizationType;
- Property parentLink : TExperimentTypeparentLink Index 104 Read FparentLink Write SetparentLink;
- Property profileId : String Index 112 Read FprofileId Write SetprofileId;
- Property reasonExperimentEnded : String Index 120 Read FreasonExperimentEnded Write SetreasonExperimentEnded;
- Property rewriteVariationUrlsAsOriginal : boolean Index 128 Read FrewriteVariationUrlsAsOriginal Write SetrewriteVariationUrlsAsOriginal;
- Property selfLink : String Index 136 Read FselfLink Write SetselfLink;
- Property servingFramework : String Index 144 Read FservingFramework Write SetservingFramework;
- Property snippet : String Index 152 Read Fsnippet Write Setsnippet;
- Property startTime : TDatetime Index 160 Read FstartTime Write SetstartTime;
- Property status : String Index 168 Read Fstatus Write Setstatus;
- Property trafficCoverage : double Index 176 Read FtrafficCoverage Write SettrafficCoverage;
- Property updated : TDatetime Index 184 Read Fupdated Write Setupdated;
- Property variations : TExperimentTypevariationsArray Index 192 Read Fvariations Write Setvariations;
- Property webPropertyId : String Index 200 Read FwebPropertyId Write SetwebPropertyId;
- Property winnerConfidenceLevel : double Index 208 Read FwinnerConfidenceLevel Write SetwinnerConfidenceLevel;
- Property winnerFound : boolean Index 216 Read FwinnerFound Write SetwinnerFound;
- end;
- TExperimentClass = Class of TExperiment;
-
- { --------------------------------------------------------------------
- TExperiments
- --------------------------------------------------------------------}
-
- TExperiments = Class(TGoogleBaseObject)
- Private
- Fitems : TExperimentsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TExperimentsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TExperimentsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TExperimentsClass = Class of TExperiments;
-
- { --------------------------------------------------------------------
- TFilterTypeadvancedDetails
- --------------------------------------------------------------------}
-
- TFilterTypeadvancedDetails = Class(TGoogleBaseObject)
- Private
- FcaseSensitive : boolean;
- FextractA : String;
- FextractB : String;
- FfieldA : String;
- FfieldAIndex : integer;
- FfieldARequired : boolean;
- FfieldB : String;
- FfieldBIndex : integer;
- FfieldBRequired : boolean;
- FoutputConstructor : String;
- FoutputToField : String;
- FoutputToFieldIndex : integer;
- FoverrideOutputField : boolean;
- Protected
- //Property setters
- Procedure SetcaseSensitive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetextractA(AIndex : Integer; const AValue : String); virtual;
- Procedure SetextractB(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldA(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldAIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetfieldARequired(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetfieldB(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldBIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetfieldBRequired(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetoutputConstructor(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoutputToField(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoutputToFieldIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetoverrideOutputField(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property caseSensitive : boolean Index 0 Read FcaseSensitive Write SetcaseSensitive;
- Property extractA : String Index 8 Read FextractA Write SetextractA;
- Property extractB : String Index 16 Read FextractB Write SetextractB;
- Property fieldA : String Index 24 Read FfieldA Write SetfieldA;
- Property fieldAIndex : integer Index 32 Read FfieldAIndex Write SetfieldAIndex;
- Property fieldARequired : boolean Index 40 Read FfieldARequired Write SetfieldARequired;
- Property fieldB : String Index 48 Read FfieldB Write SetfieldB;
- Property fieldBIndex : integer Index 56 Read FfieldBIndex Write SetfieldBIndex;
- Property fieldBRequired : boolean Index 64 Read FfieldBRequired Write SetfieldBRequired;
- Property outputConstructor : String Index 72 Read FoutputConstructor Write SetoutputConstructor;
- Property outputToField : String Index 80 Read FoutputToField Write SetoutputToField;
- Property outputToFieldIndex : integer Index 88 Read FoutputToFieldIndex Write SetoutputToFieldIndex;
- Property overrideOutputField : boolean Index 96 Read FoverrideOutputField Write SetoverrideOutputField;
- end;
- TFilterTypeadvancedDetailsClass = Class of TFilterTypeadvancedDetails;
-
- { --------------------------------------------------------------------
- TFilterTypelowercaseDetails
- --------------------------------------------------------------------}
-
- TFilterTypelowercaseDetails = Class(TGoogleBaseObject)
- Private
- Ffield : String;
- FfieldIndex : integer;
- Protected
- //Property setters
- Procedure Setfield(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldIndex(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property field : String Index 0 Read Ffield Write Setfield;
- Property fieldIndex : integer Index 8 Read FfieldIndex Write SetfieldIndex;
- end;
- TFilterTypelowercaseDetailsClass = Class of TFilterTypelowercaseDetails;
-
- { --------------------------------------------------------------------
- TFilterTypeparentLink
- --------------------------------------------------------------------}
-
- TFilterTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TFilterTypeparentLinkClass = Class of TFilterTypeparentLink;
-
- { --------------------------------------------------------------------
- TFilterTypesearchAndReplaceDetails
- --------------------------------------------------------------------}
-
- TFilterTypesearchAndReplaceDetails = Class(TGoogleBaseObject)
- Private
- FcaseSensitive : boolean;
- Ffield : String;
- FfieldIndex : integer;
- FreplaceString : String;
- FsearchString : String;
- Protected
- //Property setters
- Procedure SetcaseSensitive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setfield(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetreplaceString(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsearchString(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property caseSensitive : boolean Index 0 Read FcaseSensitive Write SetcaseSensitive;
- Property field : String Index 8 Read Ffield Write Setfield;
- Property fieldIndex : integer Index 16 Read FfieldIndex Write SetfieldIndex;
- Property replaceString : String Index 24 Read FreplaceString Write SetreplaceString;
- Property searchString : String Index 32 Read FsearchString Write SetsearchString;
- end;
- TFilterTypesearchAndReplaceDetailsClass = Class of TFilterTypesearchAndReplaceDetails;
-
- { --------------------------------------------------------------------
- TFilterTypeuppercaseDetails
- --------------------------------------------------------------------}
-
- TFilterTypeuppercaseDetails = Class(TGoogleBaseObject)
- Private
- Ffield : String;
- FfieldIndex : integer;
- Protected
- //Property setters
- Procedure Setfield(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldIndex(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property field : String Index 0 Read Ffield Write Setfield;
- Property fieldIndex : integer Index 8 Read FfieldIndex Write SetfieldIndex;
- end;
- TFilterTypeuppercaseDetailsClass = Class of TFilterTypeuppercaseDetails;
-
- { --------------------------------------------------------------------
- TFilter
- --------------------------------------------------------------------}
-
- TFilter = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FadvancedDetails : TFilterTypeadvancedDetails;
- Fcreated : TDatetime;
- FexcludeDetails : TFilterExpression;
- Fid : String;
- FincludeDetails : TFilterExpression;
- Fkind : String;
- FlowercaseDetails : TFilterTypelowercaseDetails;
- Fname : String;
- FparentLink : TFilterTypeparentLink;
- FsearchAndReplaceDetails : TFilterTypesearchAndReplaceDetails;
- FselfLink : String;
- F_type : String;
- Fupdated : TDatetime;
- FuppercaseDetails : TFilterTypeuppercaseDetails;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetadvancedDetails(AIndex : Integer; const AValue : TFilterTypeadvancedDetails); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetexcludeDetails(AIndex : Integer; const AValue : TFilterExpression); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetincludeDetails(AIndex : Integer; const AValue : TFilterExpression); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlowercaseDetails(AIndex : Integer; const AValue : TFilterTypelowercaseDetails); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TFilterTypeparentLink); virtual;
- Procedure SetsearchAndReplaceDetails(AIndex : Integer; const AValue : TFilterTypesearchAndReplaceDetails); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetuppercaseDetails(AIndex : Integer; const AValue : TFilterTypeuppercaseDetails); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property advancedDetails : TFilterTypeadvancedDetails Index 8 Read FadvancedDetails Write SetadvancedDetails;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property excludeDetails : TFilterExpression Index 24 Read FexcludeDetails Write SetexcludeDetails;
- Property id : String Index 32 Read Fid Write Setid;
- Property includeDetails : TFilterExpression Index 40 Read FincludeDetails Write SetincludeDetails;
- Property kind : String Index 48 Read Fkind Write Setkind;
- Property lowercaseDetails : TFilterTypelowercaseDetails Index 56 Read FlowercaseDetails Write SetlowercaseDetails;
- Property name : String Index 64 Read Fname Write Setname;
- Property parentLink : TFilterTypeparentLink Index 72 Read FparentLink Write SetparentLink;
- Property searchAndReplaceDetails : TFilterTypesearchAndReplaceDetails Index 80 Read FsearchAndReplaceDetails Write SetsearchAndReplaceDetails;
- Property selfLink : String Index 88 Read FselfLink Write SetselfLink;
- Property _type : String Index 96 Read F_type Write Set_type;
- Property updated : TDatetime Index 104 Read Fupdated Write Setupdated;
- Property uppercaseDetails : TFilterTypeuppercaseDetails Index 112 Read FuppercaseDetails Write SetuppercaseDetails;
- end;
- TFilterClass = Class of TFilter;
-
- { --------------------------------------------------------------------
- TFilterExpression
- --------------------------------------------------------------------}
-
- TFilterExpression = Class(TGoogleBaseObject)
- Private
- FcaseSensitive : boolean;
- FexpressionValue : String;
- Ffield : String;
- FfieldIndex : integer;
- Fkind : String;
- FmatchType : String;
- Protected
- //Property setters
- Procedure SetcaseSensitive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetexpressionValue(AIndex : Integer; const AValue : String); virtual;
- Procedure Setfield(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmatchType(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property caseSensitive : boolean Index 0 Read FcaseSensitive Write SetcaseSensitive;
- Property expressionValue : String Index 8 Read FexpressionValue Write SetexpressionValue;
- Property field : String Index 16 Read Ffield Write Setfield;
- Property fieldIndex : integer Index 24 Read FfieldIndex Write SetfieldIndex;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property matchType : String Index 40 Read FmatchType Write SetmatchType;
- end;
- TFilterExpressionClass = Class of TFilterExpression;
-
- { --------------------------------------------------------------------
- TFilterRef
- --------------------------------------------------------------------}
-
- TFilterRef = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Fhref : String;
- Fid : String;
- Fkind : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property href : String Index 8 Read Fhref Write Sethref;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property name : String Index 32 Read Fname Write Setname;
- end;
- TFilterRefClass = Class of TFilterRef;
-
- { --------------------------------------------------------------------
- TFilters
- --------------------------------------------------------------------}
-
- TFilters = Class(TGoogleBaseObject)
- Private
- Fitems : TFiltersTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TFiltersTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TFiltersTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TFiltersClass = Class of TFilters;
-
- { --------------------------------------------------------------------
- TGaDataTypecolumnHeadersItem
- --------------------------------------------------------------------}
-
- TGaDataTypecolumnHeadersItem = Class(TGoogleBaseObject)
- Private
- FcolumnType : String;
- FdataType : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetcolumnType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdataType(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property columnType : String Index 0 Read FcolumnType Write SetcolumnType;
- Property dataType : String Index 8 Read FdataType Write SetdataType;
- Property name : String Index 16 Read Fname Write Setname;
- end;
- TGaDataTypecolumnHeadersItemClass = Class of TGaDataTypecolumnHeadersItem;
-
- { --------------------------------------------------------------------
- TGaDataTypedataTableTypecolsItem
- --------------------------------------------------------------------}
-
- TGaDataTypedataTableTypecolsItem = Class(TGoogleBaseObject)
- Private
- Fid : String;
- F_label : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_label(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property id : String Index 0 Read Fid Write Setid;
- Property _label : String Index 8 Read F_label Write Set_label;
- Property _type : String Index 16 Read F_type Write Set_type;
- end;
- TGaDataTypedataTableTypecolsItemClass = Class of TGaDataTypedataTableTypecolsItem;
-
- { --------------------------------------------------------------------
- TGaDataTypedataTableTyperowsItemTypecItem
- --------------------------------------------------------------------}
-
- TGaDataTypedataTableTyperowsItemTypecItem = Class(TGoogleBaseObject)
- Private
- Fv : String;
- Protected
- //Property setters
- Procedure Setv(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property v : String Index 0 Read Fv Write Setv;
- end;
- TGaDataTypedataTableTyperowsItemTypecItemClass = Class of TGaDataTypedataTableTyperowsItemTypecItem;
-
- { --------------------------------------------------------------------
- TGaDataTypedataTableTyperowsItem
- --------------------------------------------------------------------}
-
- TGaDataTypedataTableTyperowsItem = Class(TGoogleBaseObject)
- Private
- Fc : TGaDataTypedataTableTyperowsItemTypecArray;
- Protected
- //Property setters
- Procedure Setc(AIndex : Integer; const AValue : TGaDataTypedataTableTyperowsItemTypecArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property c : TGaDataTypedataTableTyperowsItemTypecArray Index 0 Read Fc Write Setc;
- end;
- TGaDataTypedataTableTyperowsItemClass = Class of TGaDataTypedataTableTyperowsItem;
-
- { --------------------------------------------------------------------
- TGaDataTypedataTable
- --------------------------------------------------------------------}
-
- TGaDataTypedataTable = Class(TGoogleBaseObject)
- Private
- Fcols : TGaDataTypedataTableTypecolsArray;
- Frows : TGaDataTypedataTableTyperowsArray;
- Protected
- //Property setters
- Procedure Setcols(AIndex : Integer; const AValue : TGaDataTypedataTableTypecolsArray); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TGaDataTypedataTableTyperowsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property cols : TGaDataTypedataTableTypecolsArray Index 0 Read Fcols Write Setcols;
- Property rows : TGaDataTypedataTableTyperowsArray Index 8 Read Frows Write Setrows;
- end;
- TGaDataTypedataTableClass = Class of TGaDataTypedataTable;
-
- { --------------------------------------------------------------------
- TGaDataTypeprofileInfo
- --------------------------------------------------------------------}
-
- TGaDataTypeprofileInfo = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FinternalWebPropertyId : String;
- FprofileId : String;
- FprofileName : String;
- FtableId : String;
- FwebPropertyId : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileName(AIndex : Integer; const AValue : String); virtual;
- Procedure SettableId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property internalWebPropertyId : String Index 8 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property profileId : String Index 16 Read FprofileId Write SetprofileId;
- Property profileName : String Index 24 Read FprofileName Write SetprofileName;
- Property tableId : String Index 32 Read FtableId Write SettableId;
- Property webPropertyId : String Index 40 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TGaDataTypeprofileInfoClass = Class of TGaDataTypeprofileInfo;
-
- { --------------------------------------------------------------------
- TGaDataTypequery
- --------------------------------------------------------------------}
-
- TGaDataTypequery = Class(TGoogleBaseObject)
- Private
- Fdimensions : String;
- Fenddate : String;
- Ffilters : String;
- Fids : String;
- Fmaxresults : integer;
- Fmetrics : TStringArray;
- FsamplingLevel : String;
- Fsegment : String;
- Fsort : TStringArray;
- Fstartdate : String;
- Fstartindex : integer;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setdimensions(AIndex : Integer; const AValue : String); virtual;
- Procedure Setenddate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setfilters(AIndex : Integer; const AValue : String); virtual;
- Procedure Setids(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmaxresults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setmetrics(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetsamplingLevel(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsegment(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsort(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setstartdate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstartindex(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property dimensions : String Index 0 Read Fdimensions Write Setdimensions;
- Property enddate : String Index 8 Read Fenddate Write Setenddate;
- Property filters : String Index 16 Read Ffilters Write Setfilters;
- Property ids : String Index 24 Read Fids Write Setids;
- Property maxresults : integer Index 32 Read Fmaxresults Write Setmaxresults;
- Property metrics : TStringArray Index 40 Read Fmetrics Write Setmetrics;
- Property samplingLevel : String Index 48 Read FsamplingLevel Write SetsamplingLevel;
- Property segment : String Index 56 Read Fsegment Write Setsegment;
- Property sort : TStringArray Index 64 Read Fsort Write Setsort;
- Property startdate : String Index 72 Read Fstartdate Write Setstartdate;
- Property startindex : integer Index 80 Read Fstartindex Write Setstartindex;
- end;
- TGaDataTypequeryClass = Class of TGaDataTypequery;
-
- { --------------------------------------------------------------------
- TGaDataTypetotalsForAllResults
- --------------------------------------------------------------------}
-
- TGaDataTypetotalsForAllResults = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TGaDataTypetotalsForAllResultsClass = Class of TGaDataTypetotalsForAllResults;
-
- { --------------------------------------------------------------------
- TGaData
- --------------------------------------------------------------------}
-
- TGaData = Class(TGoogleBaseObject)
- Private
- FcolumnHeaders : TGaDataTypecolumnHeadersArray;
- FcontainsSampledData : boolean;
- FdataTable : TGaDataTypedataTable;
- Fid : String;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FprofileInfo : TGaDataTypeprofileInfo;
- Fquery : TGaDataTypequery;
- Frows : TGaDataTyperowsArray;
- FsampleSize : String;
- FsampleSpace : String;
- FselfLink : String;
- FtotalResults : integer;
- FtotalsForAllResults : TGaDataTypetotalsForAllResults;
- Protected
- //Property setters
- Procedure SetcolumnHeaders(AIndex : Integer; const AValue : TGaDataTypecolumnHeadersArray); virtual;
- Procedure SetcontainsSampledData(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetdataTable(AIndex : Integer; const AValue : TGaDataTypedataTable); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileInfo(AIndex : Integer; const AValue : TGaDataTypeprofileInfo); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : TGaDataTypequery); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TGaDataTyperowsArray); virtual;
- Procedure SetsampleSize(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsampleSpace(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalsForAllResults(AIndex : Integer; const AValue : TGaDataTypetotalsForAllResults); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property columnHeaders : TGaDataTypecolumnHeadersArray Index 0 Read FcolumnHeaders Write SetcolumnHeaders;
- Property containsSampledData : boolean Index 8 Read FcontainsSampledData Write SetcontainsSampledData;
- Property dataTable : TGaDataTypedataTable Index 16 Read FdataTable Write SetdataTable;
- Property id : String Index 24 Read Fid Write Setid;
- Property itemsPerPage : integer Index 32 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 40 Read Fkind Write Setkind;
- Property nextLink : String Index 48 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 56 Read FpreviousLink Write SetpreviousLink;
- Property profileInfo : TGaDataTypeprofileInfo Index 64 Read FprofileInfo Write SetprofileInfo;
- Property query : TGaDataTypequery Index 72 Read Fquery Write Setquery;
- Property rows : TGaDataTyperowsArray Index 80 Read Frows Write Setrows;
- Property sampleSize : String Index 88 Read FsampleSize Write SetsampleSize;
- Property sampleSpace : String Index 96 Read FsampleSpace Write SetsampleSpace;
- Property selfLink : String Index 104 Read FselfLink Write SetselfLink;
- Property totalResults : integer Index 112 Read FtotalResults Write SettotalResults;
- Property totalsForAllResults : TGaDataTypetotalsForAllResults Index 120 Read FtotalsForAllResults Write SettotalsForAllResults;
- end;
- TGaDataClass = Class of TGaData;
-
- { --------------------------------------------------------------------
- TGoalTypeeventDetailsTypeeventConditionsItem
- --------------------------------------------------------------------}
-
- TGoalTypeeventDetailsTypeeventConditionsItem = Class(TGoogleBaseObject)
- Private
- FcomparisonType : String;
- FcomparisonValue : String;
- Fexpression : String;
- FmatchType : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetcomparisonType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcomparisonValue(AIndex : Integer; const AValue : String); virtual;
- Procedure Setexpression(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmatchType(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property comparisonType : String Index 0 Read FcomparisonType Write SetcomparisonType;
- Property comparisonValue : String Index 8 Read FcomparisonValue Write SetcomparisonValue;
- Property expression : String Index 16 Read Fexpression Write Setexpression;
- Property matchType : String Index 24 Read FmatchType Write SetmatchType;
- Property _type : String Index 32 Read F_type Write Set_type;
- end;
- TGoalTypeeventDetailsTypeeventConditionsItemClass = Class of TGoalTypeeventDetailsTypeeventConditionsItem;
-
- { --------------------------------------------------------------------
- TGoalTypeeventDetails
- --------------------------------------------------------------------}
-
- TGoalTypeeventDetails = Class(TGoogleBaseObject)
- Private
- FeventConditions : TGoalTypeeventDetailsTypeeventConditionsArray;
- FuseEventValue : boolean;
- Protected
- //Property setters
- Procedure SeteventConditions(AIndex : Integer; const AValue : TGoalTypeeventDetailsTypeeventConditionsArray); virtual;
- Procedure SetuseEventValue(AIndex : Integer; const AValue : boolean); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property eventConditions : TGoalTypeeventDetailsTypeeventConditionsArray Index 0 Read FeventConditions Write SeteventConditions;
- Property useEventValue : boolean Index 8 Read FuseEventValue Write SetuseEventValue;
- end;
- TGoalTypeeventDetailsClass = Class of TGoalTypeeventDetails;
-
- { --------------------------------------------------------------------
- TGoalTypeparentLink
- --------------------------------------------------------------------}
-
- TGoalTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TGoalTypeparentLinkClass = Class of TGoalTypeparentLink;
-
- { --------------------------------------------------------------------
- TGoalTypeurlDestinationDetailsTypestepsItem
- --------------------------------------------------------------------}
-
- TGoalTypeurlDestinationDetailsTypestepsItem = Class(TGoogleBaseObject)
- Private
- Fname : String;
- Fnumber : integer;
- Furl : String;
- Protected
- //Property setters
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setnumber(AIndex : Integer; const AValue : integer); virtual;
- Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property name : String Index 0 Read Fname Write Setname;
- Property number : integer Index 8 Read Fnumber Write Setnumber;
- Property url : String Index 16 Read Furl Write Seturl;
- end;
- TGoalTypeurlDestinationDetailsTypestepsItemClass = Class of TGoalTypeurlDestinationDetailsTypestepsItem;
-
- { --------------------------------------------------------------------
- TGoalTypeurlDestinationDetails
- --------------------------------------------------------------------}
-
- TGoalTypeurlDestinationDetails = Class(TGoogleBaseObject)
- Private
- FcaseSensitive : boolean;
- FfirstStepRequired : boolean;
- FmatchType : String;
- Fsteps : TGoalTypeurlDestinationDetailsTypestepsArray;
- Furl : String;
- Protected
- //Property setters
- Procedure SetcaseSensitive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetfirstStepRequired(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetmatchType(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsteps(AIndex : Integer; const AValue : TGoalTypeurlDestinationDetailsTypestepsArray); virtual;
- Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property caseSensitive : boolean Index 0 Read FcaseSensitive Write SetcaseSensitive;
- Property firstStepRequired : boolean Index 8 Read FfirstStepRequired Write SetfirstStepRequired;
- Property matchType : String Index 16 Read FmatchType Write SetmatchType;
- Property steps : TGoalTypeurlDestinationDetailsTypestepsArray Index 24 Read Fsteps Write Setsteps;
- Property url : String Index 32 Read Furl Write Seturl;
- end;
- TGoalTypeurlDestinationDetailsClass = Class of TGoalTypeurlDestinationDetails;
-
- { --------------------------------------------------------------------
- TGoalTypevisitNumPagesDetails
- --------------------------------------------------------------------}
-
- TGoalTypevisitNumPagesDetails = Class(TGoogleBaseObject)
- Private
- FcomparisonType : String;
- FcomparisonValue : String;
- Protected
- //Property setters
- Procedure SetcomparisonType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcomparisonValue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property comparisonType : String Index 0 Read FcomparisonType Write SetcomparisonType;
- Property comparisonValue : String Index 8 Read FcomparisonValue Write SetcomparisonValue;
- end;
- TGoalTypevisitNumPagesDetailsClass = Class of TGoalTypevisitNumPagesDetails;
-
- { --------------------------------------------------------------------
- TGoalTypevisitTimeOnSiteDetails
- --------------------------------------------------------------------}
-
- TGoalTypevisitTimeOnSiteDetails = Class(TGoogleBaseObject)
- Private
- FcomparisonType : String;
- FcomparisonValue : String;
- Protected
- //Property setters
- Procedure SetcomparisonType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcomparisonValue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property comparisonType : String Index 0 Read FcomparisonType Write SetcomparisonType;
- Property comparisonValue : String Index 8 Read FcomparisonValue Write SetcomparisonValue;
- end;
- TGoalTypevisitTimeOnSiteDetailsClass = Class of TGoalTypevisitTimeOnSiteDetails;
-
- { --------------------------------------------------------------------
- TGoal
- --------------------------------------------------------------------}
-
- TGoal = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Factive : boolean;
- Fcreated : TDatetime;
- FeventDetails : TGoalTypeeventDetails;
- Fid : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- Fname : String;
- FparentLink : TGoalTypeparentLink;
- FprofileId : String;
- FselfLink : String;
- F_type : String;
- Fupdated : TDatetime;
- FurlDestinationDetails : TGoalTypeurlDestinationDetails;
- Fvalue : integer;
- FvisitNumPagesDetails : TGoalTypevisitNumPagesDetails;
- FvisitTimeOnSiteDetails : TGoalTypevisitTimeOnSiteDetails;
- FwebPropertyId : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setactive(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SeteventDetails(AIndex : Integer; const AValue : TGoalTypeeventDetails); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TGoalTypeparentLink); virtual;
- Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SeturlDestinationDetails(AIndex : Integer; const AValue : TGoalTypeurlDestinationDetails); virtual;
- Procedure Setvalue(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetvisitNumPagesDetails(AIndex : Integer; const AValue : TGoalTypevisitNumPagesDetails); virtual;
- Procedure SetvisitTimeOnSiteDetails(AIndex : Integer; const AValue : TGoalTypevisitTimeOnSiteDetails); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property active : boolean Index 8 Read Factive Write Setactive;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property eventDetails : TGoalTypeeventDetails Index 24 Read FeventDetails Write SeteventDetails;
- Property id : String Index 32 Read Fid Write Setid;
- Property internalWebPropertyId : String Index 40 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 48 Read Fkind Write Setkind;
- Property name : String Index 56 Read Fname Write Setname;
- Property parentLink : TGoalTypeparentLink Index 64 Read FparentLink Write SetparentLink;
- Property profileId : String Index 72 Read FprofileId Write SetprofileId;
- Property selfLink : String Index 80 Read FselfLink Write SetselfLink;
- Property _type : String Index 88 Read F_type Write Set_type;
- Property updated : TDatetime Index 96 Read Fupdated Write Setupdated;
- Property urlDestinationDetails : TGoalTypeurlDestinationDetails Index 104 Read FurlDestinationDetails Write SeturlDestinationDetails;
- Property value : integer Index 112 Read Fvalue Write Setvalue;
- Property visitNumPagesDetails : TGoalTypevisitNumPagesDetails Index 120 Read FvisitNumPagesDetails Write SetvisitNumPagesDetails;
- Property visitTimeOnSiteDetails : TGoalTypevisitTimeOnSiteDetails Index 128 Read FvisitTimeOnSiteDetails Write SetvisitTimeOnSiteDetails;
- Property webPropertyId : String Index 136 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TGoalClass = Class of TGoal;
-
- { --------------------------------------------------------------------
- TGoals
- --------------------------------------------------------------------}
-
- TGoals = Class(TGoogleBaseObject)
- Private
- Fitems : TGoalsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TGoalsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TGoalsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TGoalsClass = Class of TGoals;
-
- { --------------------------------------------------------------------
- TMcfDataTypecolumnHeadersItem
- --------------------------------------------------------------------}
-
- TMcfDataTypecolumnHeadersItem = Class(TGoogleBaseObject)
- Private
- FcolumnType : String;
- FdataType : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetcolumnType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdataType(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property columnType : String Index 0 Read FcolumnType Write SetcolumnType;
- Property dataType : String Index 8 Read FdataType Write SetdataType;
- Property name : String Index 16 Read Fname Write Setname;
- end;
- TMcfDataTypecolumnHeadersItemClass = Class of TMcfDataTypecolumnHeadersItem;
-
- { --------------------------------------------------------------------
- TMcfDataTypeprofileInfo
- --------------------------------------------------------------------}
-
- TMcfDataTypeprofileInfo = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FinternalWebPropertyId : String;
- FprofileId : String;
- FprofileName : String;
- FtableId : String;
- FwebPropertyId : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileName(AIndex : Integer; const AValue : String); virtual;
- Procedure SettableId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property internalWebPropertyId : String Index 8 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property profileId : String Index 16 Read FprofileId Write SetprofileId;
- Property profileName : String Index 24 Read FprofileName Write SetprofileName;
- Property tableId : String Index 32 Read FtableId Write SettableId;
- Property webPropertyId : String Index 40 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TMcfDataTypeprofileInfoClass = Class of TMcfDataTypeprofileInfo;
-
- { --------------------------------------------------------------------
- TMcfDataTypequery
- --------------------------------------------------------------------}
-
- TMcfDataTypequery = Class(TGoogleBaseObject)
- Private
- Fdimensions : String;
- Fenddate : String;
- Ffilters : String;
- Fids : String;
- Fmaxresults : integer;
- Fmetrics : TStringArray;
- FsamplingLevel : String;
- Fsegment : String;
- Fsort : TStringArray;
- Fstartdate : String;
- Fstartindex : integer;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setdimensions(AIndex : Integer; const AValue : String); virtual;
- Procedure Setenddate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setfilters(AIndex : Integer; const AValue : String); virtual;
- Procedure Setids(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmaxresults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setmetrics(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetsamplingLevel(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsegment(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsort(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setstartdate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstartindex(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property dimensions : String Index 0 Read Fdimensions Write Setdimensions;
- Property enddate : String Index 8 Read Fenddate Write Setenddate;
- Property filters : String Index 16 Read Ffilters Write Setfilters;
- Property ids : String Index 24 Read Fids Write Setids;
- Property maxresults : integer Index 32 Read Fmaxresults Write Setmaxresults;
- Property metrics : TStringArray Index 40 Read Fmetrics Write Setmetrics;
- Property samplingLevel : String Index 48 Read FsamplingLevel Write SetsamplingLevel;
- Property segment : String Index 56 Read Fsegment Write Setsegment;
- Property sort : TStringArray Index 64 Read Fsort Write Setsort;
- Property startdate : String Index 72 Read Fstartdate Write Setstartdate;
- Property startindex : integer Index 80 Read Fstartindex Write Setstartindex;
- end;
- TMcfDataTypequeryClass = Class of TMcfDataTypequery;
-
- { --------------------------------------------------------------------
- TMcfDataTyperowsItemItemTypeconversionPathValueItem
- --------------------------------------------------------------------}
-
- TMcfDataTyperowsItemItemTypeconversionPathValueItem = Class(TGoogleBaseObject)
- Private
- FinteractionType : String;
- FnodeValue : String;
- Protected
- //Property setters
- Procedure SetinteractionType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnodeValue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property interactionType : String Index 0 Read FinteractionType Write SetinteractionType;
- Property nodeValue : String Index 8 Read FnodeValue Write SetnodeValue;
- end;
- TMcfDataTyperowsItemItemTypeconversionPathValueItemClass = Class of TMcfDataTyperowsItemItemTypeconversionPathValueItem;
-
- { --------------------------------------------------------------------
- TMcfDataTyperowsItemItem
- --------------------------------------------------------------------}
-
- TMcfDataTyperowsItemItem = Class(TGoogleBaseObject)
- Private
- FconversionPathValue : TMcfDataTyperowsItemItemTypeconversionPathValueArray;
- FprimitiveValue : String;
- Protected
- //Property setters
- Procedure SetconversionPathValue(AIndex : Integer; const AValue : TMcfDataTyperowsItemItemTypeconversionPathValueArray); virtual;
- Procedure SetprimitiveValue(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property conversionPathValue : TMcfDataTyperowsItemItemTypeconversionPathValueArray Index 0 Read FconversionPathValue Write SetconversionPathValue;
- Property primitiveValue : String Index 8 Read FprimitiveValue Write SetprimitiveValue;
- end;
- TMcfDataTyperowsItemItemClass = Class of TMcfDataTyperowsItemItem;
-
- { --------------------------------------------------------------------
- TMcfDataTypetotalsForAllResults
- --------------------------------------------------------------------}
-
- TMcfDataTypetotalsForAllResults = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TMcfDataTypetotalsForAllResultsClass = Class of TMcfDataTypetotalsForAllResults;
-
- { --------------------------------------------------------------------
- TMcfData
- --------------------------------------------------------------------}
-
- TMcfData = Class(TGoogleBaseObject)
- Private
- FcolumnHeaders : TMcfDataTypecolumnHeadersArray;
- FcontainsSampledData : boolean;
- Fid : String;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FprofileInfo : TMcfDataTypeprofileInfo;
- Fquery : TMcfDataTypequery;
- Frows : TMcfDataTyperowsArray;
- FsampleSize : String;
- FsampleSpace : String;
- FselfLink : String;
- FtotalResults : integer;
- FtotalsForAllResults : TMcfDataTypetotalsForAllResults;
- Protected
- //Property setters
- Procedure SetcolumnHeaders(AIndex : Integer; const AValue : TMcfDataTypecolumnHeadersArray); virtual;
- Procedure SetcontainsSampledData(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileInfo(AIndex : Integer; const AValue : TMcfDataTypeprofileInfo); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : TMcfDataTypequery); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TMcfDataTyperowsArray); virtual;
- Procedure SetsampleSize(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsampleSpace(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalsForAllResults(AIndex : Integer; const AValue : TMcfDataTypetotalsForAllResults); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property columnHeaders : TMcfDataTypecolumnHeadersArray Index 0 Read FcolumnHeaders Write SetcolumnHeaders;
- Property containsSampledData : boolean Index 8 Read FcontainsSampledData Write SetcontainsSampledData;
- Property id : String Index 16 Read Fid Write Setid;
- Property itemsPerPage : integer Index 24 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property nextLink : String Index 40 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 48 Read FpreviousLink Write SetpreviousLink;
- Property profileInfo : TMcfDataTypeprofileInfo Index 56 Read FprofileInfo Write SetprofileInfo;
- Property query : TMcfDataTypequery Index 64 Read Fquery Write Setquery;
- Property rows : TMcfDataTyperowsArray Index 72 Read Frows Write Setrows;
- Property sampleSize : String Index 80 Read FsampleSize Write SetsampleSize;
- Property sampleSpace : String Index 88 Read FsampleSpace Write SetsampleSpace;
- Property selfLink : String Index 96 Read FselfLink Write SetselfLink;
- Property totalResults : integer Index 104 Read FtotalResults Write SettotalResults;
- Property totalsForAllResults : TMcfDataTypetotalsForAllResults Index 112 Read FtotalsForAllResults Write SettotalsForAllResults;
- end;
- TMcfDataClass = Class of TMcfData;
-
- { --------------------------------------------------------------------
- TProfileTypechildLink
- --------------------------------------------------------------------}
-
- TProfileTypechildLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TProfileTypechildLinkClass = Class of TProfileTypechildLink;
-
- { --------------------------------------------------------------------
- TProfileTypeparentLink
- --------------------------------------------------------------------}
-
- TProfileTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TProfileTypeparentLinkClass = Class of TProfileTypeparentLink;
-
- { --------------------------------------------------------------------
- TProfileTypepermissions
- --------------------------------------------------------------------}
-
- TProfileTypepermissions = Class(TGoogleBaseObject)
- Private
- Feffective : TStringArray;
- Protected
- //Property setters
- Procedure Seteffective(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property effective : TStringArray Index 0 Read Feffective Write Seteffective;
- end;
- TProfileTypepermissionsClass = Class of TProfileTypepermissions;
-
- { --------------------------------------------------------------------
- TProfile
- --------------------------------------------------------------------}
-
- TProfile = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FbotFilteringEnabled : boolean;
- FchildLink : TProfileTypechildLink;
- Fcreated : TDatetime;
- Fcurrency : String;
- FdefaultPage : String;
- FeCommerceTracking : boolean;
- FenhancedECommerceTracking : boolean;
- FexcludeQueryParameters : String;
- Fid : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- Fname : String;
- FparentLink : TProfileTypeparentLink;
- Fpermissions : TProfileTypepermissions;
- FselfLink : String;
- FsiteSearchCategoryParameters : String;
- FsiteSearchQueryParameters : String;
- Fstarred : boolean;
- FstripSiteSearchCategoryParameters : boolean;
- FstripSiteSearchQueryParameters : boolean;
- Ftimezone : String;
- F_type : String;
- Fupdated : TDatetime;
- FwebPropertyId : String;
- FwebsiteUrl : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbotFilteringEnabled(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetchildLink(AIndex : Integer; const AValue : TProfileTypechildLink); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setcurrency(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultPage(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteCommerceTracking(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetenhancedECommerceTracking(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetexcludeQueryParameters(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TProfileTypeparentLink); virtual;
- Procedure Setpermissions(AIndex : Integer; const AValue : TProfileTypepermissions); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsiteSearchCategoryParameters(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsiteSearchQueryParameters(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstarred(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetstripSiteSearchCategoryParameters(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetstripSiteSearchQueryParameters(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Settimezone(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebsiteUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property botFilteringEnabled : boolean Index 8 Read FbotFilteringEnabled Write SetbotFilteringEnabled;
- Property childLink : TProfileTypechildLink Index 16 Read FchildLink Write SetchildLink;
- Property created : TDatetime Index 24 Read Fcreated Write Setcreated;
- Property currency : String Index 32 Read Fcurrency Write Setcurrency;
- Property defaultPage : String Index 40 Read FdefaultPage Write SetdefaultPage;
- Property eCommerceTracking : boolean Index 48 Read FeCommerceTracking Write SeteCommerceTracking;
- Property enhancedECommerceTracking : boolean Index 56 Read FenhancedECommerceTracking Write SetenhancedECommerceTracking;
- Property excludeQueryParameters : String Index 64 Read FexcludeQueryParameters Write SetexcludeQueryParameters;
- Property id : String Index 72 Read Fid Write Setid;
- Property internalWebPropertyId : String Index 80 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 88 Read Fkind Write Setkind;
- Property name : String Index 96 Read Fname Write Setname;
- Property parentLink : TProfileTypeparentLink Index 104 Read FparentLink Write SetparentLink;
- Property permissions : TProfileTypepermissions Index 112 Read Fpermissions Write Setpermissions;
- Property selfLink : String Index 120 Read FselfLink Write SetselfLink;
- Property siteSearchCategoryParameters : String Index 128 Read FsiteSearchCategoryParameters Write SetsiteSearchCategoryParameters;
- Property siteSearchQueryParameters : String Index 136 Read FsiteSearchQueryParameters Write SetsiteSearchQueryParameters;
- Property starred : boolean Index 144 Read Fstarred Write Setstarred;
- Property stripSiteSearchCategoryParameters : boolean Index 152 Read FstripSiteSearchCategoryParameters Write SetstripSiteSearchCategoryParameters;
- Property stripSiteSearchQueryParameters : boolean Index 160 Read FstripSiteSearchQueryParameters Write SetstripSiteSearchQueryParameters;
- Property timezone : String Index 168 Read Ftimezone Write Settimezone;
- Property _type : String Index 176 Read F_type Write Set_type;
- Property updated : TDatetime Index 184 Read Fupdated Write Setupdated;
- Property webPropertyId : String Index 192 Read FwebPropertyId Write SetwebPropertyId;
- Property websiteUrl : String Index 200 Read FwebsiteUrl Write SetwebsiteUrl;
- end;
- TProfileClass = Class of TProfile;
-
- { --------------------------------------------------------------------
- TProfileFilterLink
- --------------------------------------------------------------------}
-
- TProfileFilterLink = Class(TGoogleBaseObject)
- Private
- FfilterRef : TFilterRef;
- Fid : String;
- Fkind : String;
- FprofileRef : TProfileRef;
- Frank : integer;
- FselfLink : String;
- Protected
- //Property setters
- Procedure SetfilterRef(AIndex : Integer; const AValue : TFilterRef); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileRef(AIndex : Integer; const AValue : TProfileRef); virtual;
- Procedure Setrank(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property filterRef : TFilterRef Index 0 Read FfilterRef Write SetfilterRef;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property profileRef : TProfileRef Index 24 Read FprofileRef Write SetprofileRef;
- Property rank : integer Index 32 Read Frank Write Setrank;
- Property selfLink : String Index 40 Read FselfLink Write SetselfLink;
- end;
- TProfileFilterLinkClass = Class of TProfileFilterLink;
-
- { --------------------------------------------------------------------
- TProfileFilterLinks
- --------------------------------------------------------------------}
-
- TProfileFilterLinks = Class(TGoogleBaseObject)
- Private
- Fitems : TProfileFilterLinksTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TProfileFilterLinksTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TProfileFilterLinksTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TProfileFilterLinksClass = Class of TProfileFilterLinks;
-
- { --------------------------------------------------------------------
- TProfileRef
- --------------------------------------------------------------------}
-
- TProfileRef = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Fhref : String;
- Fid : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- Fname : String;
- FwebPropertyId : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property href : String Index 8 Read Fhref Write Sethref;
- Property id : String Index 16 Read Fid Write Setid;
- Property internalWebPropertyId : String Index 24 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property name : String Index 40 Read Fname Write Setname;
- Property webPropertyId : String Index 48 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TProfileRefClass = Class of TProfileRef;
-
- { --------------------------------------------------------------------
- TProfileSummary
- --------------------------------------------------------------------}
-
- TProfileSummary = Class(TGoogleBaseObject)
- Private
- Fid : String;
- Fkind : String;
- Fname : String;
- Fstarred : boolean;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstarred(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property id : String Index 0 Read Fid Write Setid;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property name : String Index 16 Read Fname Write Setname;
- Property starred : boolean Index 24 Read Fstarred Write Setstarred;
- Property _type : String Index 32 Read F_type Write Set_type;
- end;
- TProfileSummaryClass = Class of TProfileSummary;
-
- { --------------------------------------------------------------------
- TProfiles
- --------------------------------------------------------------------}
-
- TProfiles = Class(TGoogleBaseObject)
- Private
- Fitems : TProfilesTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TProfilesTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TProfilesTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TProfilesClass = Class of TProfiles;
-
- { --------------------------------------------------------------------
- TRealtimeDataTypecolumnHeadersItem
- --------------------------------------------------------------------}
-
- TRealtimeDataTypecolumnHeadersItem = Class(TGoogleBaseObject)
- Private
- FcolumnType : String;
- FdataType : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetcolumnType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdataType(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property columnType : String Index 0 Read FcolumnType Write SetcolumnType;
- Property dataType : String Index 8 Read FdataType Write SetdataType;
- Property name : String Index 16 Read Fname Write Setname;
- end;
- TRealtimeDataTypecolumnHeadersItemClass = Class of TRealtimeDataTypecolumnHeadersItem;
-
- { --------------------------------------------------------------------
- TRealtimeDataTypeprofileInfo
- --------------------------------------------------------------------}
-
- TRealtimeDataTypeprofileInfo = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FinternalWebPropertyId : String;
- FprofileId : String;
- FprofileName : String;
- FtableId : String;
- FwebPropertyId : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileName(AIndex : Integer; const AValue : String); virtual;
- Procedure SettableId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property internalWebPropertyId : String Index 8 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property profileId : String Index 16 Read FprofileId Write SetprofileId;
- Property profileName : String Index 24 Read FprofileName Write SetprofileName;
- Property tableId : String Index 32 Read FtableId Write SettableId;
- Property webPropertyId : String Index 40 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TRealtimeDataTypeprofileInfoClass = Class of TRealtimeDataTypeprofileInfo;
-
- { --------------------------------------------------------------------
- TRealtimeDataTypequery
- --------------------------------------------------------------------}
-
- TRealtimeDataTypequery = Class(TGoogleBaseObject)
- Private
- Fdimensions : String;
- Ffilters : String;
- Fids : String;
- Fmaxresults : integer;
- Fmetrics : TStringArray;
- Fsort : TStringArray;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setdimensions(AIndex : Integer; const AValue : String); virtual;
- Procedure Setfilters(AIndex : Integer; const AValue : String); virtual;
- Procedure Setids(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmaxresults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setmetrics(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setsort(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property dimensions : String Index 0 Read Fdimensions Write Setdimensions;
- Property filters : String Index 8 Read Ffilters Write Setfilters;
- Property ids : String Index 16 Read Fids Write Setids;
- Property maxresults : integer Index 24 Read Fmaxresults Write Setmaxresults;
- Property metrics : TStringArray Index 32 Read Fmetrics Write Setmetrics;
- Property sort : TStringArray Index 40 Read Fsort Write Setsort;
- end;
- TRealtimeDataTypequeryClass = Class of TRealtimeDataTypequery;
-
- { --------------------------------------------------------------------
- TRealtimeDataTypetotalsForAllResults
- --------------------------------------------------------------------}
-
- TRealtimeDataTypetotalsForAllResults = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TRealtimeDataTypetotalsForAllResultsClass = Class of TRealtimeDataTypetotalsForAllResults;
-
- { --------------------------------------------------------------------
- TRealtimeData
- --------------------------------------------------------------------}
-
- TRealtimeData = Class(TGoogleBaseObject)
- Private
- FcolumnHeaders : TRealtimeDataTypecolumnHeadersArray;
- Fid : String;
- Fkind : String;
- FprofileInfo : TRealtimeDataTypeprofileInfo;
- Fquery : TRealtimeDataTypequery;
- Frows : TRealtimeDataTyperowsArray;
- FselfLink : String;
- FtotalResults : integer;
- FtotalsForAllResults : TRealtimeDataTypetotalsForAllResults;
- Protected
- //Property setters
- Procedure SetcolumnHeaders(AIndex : Integer; const AValue : TRealtimeDataTypecolumnHeadersArray); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileInfo(AIndex : Integer; const AValue : TRealtimeDataTypeprofileInfo); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : TRealtimeDataTypequery); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TRealtimeDataTyperowsArray); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalsForAllResults(AIndex : Integer; const AValue : TRealtimeDataTypetotalsForAllResults); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property columnHeaders : TRealtimeDataTypecolumnHeadersArray Index 0 Read FcolumnHeaders Write SetcolumnHeaders;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property profileInfo : TRealtimeDataTypeprofileInfo Index 24 Read FprofileInfo Write SetprofileInfo;
- Property query : TRealtimeDataTypequery Index 32 Read Fquery Write Setquery;
- Property rows : TRealtimeDataTyperowsArray Index 40 Read Frows Write Setrows;
- Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
- Property totalResults : integer Index 56 Read FtotalResults Write SettotalResults;
- Property totalsForAllResults : TRealtimeDataTypetotalsForAllResults Index 64 Read FtotalsForAllResults Write SettotalsForAllResults;
- end;
- TRealtimeDataClass = Class of TRealtimeData;
-
- { --------------------------------------------------------------------
- TSegment
- --------------------------------------------------------------------}
-
- TSegment = Class(TGoogleBaseObject)
- Private
- Fcreated : TDatetime;
- Fdefinition : String;
- Fid : String;
- Fkind : String;
- Fname : String;
- FsegmentId : String;
- FselfLink : String;
- F_type : String;
- Fupdated : TDatetime;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setdefinition(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsegmentId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Public
- Published
- Property created : TDatetime Index 0 Read Fcreated Write Setcreated;
- Property definition : String Index 8 Read Fdefinition Write Setdefinition;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property name : String Index 32 Read Fname Write Setname;
- Property segmentId : String Index 40 Read FsegmentId Write SetsegmentId;
- Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
- Property _type : String Index 56 Read F_type Write Set_type;
- Property updated : TDatetime Index 64 Read Fupdated Write Setupdated;
- end;
- TSegmentClass = Class of TSegment;
-
- { --------------------------------------------------------------------
- TSegments
- --------------------------------------------------------------------}
-
- TSegments = Class(TGoogleBaseObject)
- Private
- Fitems : TSegmentsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TSegmentsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TSegmentsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TSegmentsClass = Class of TSegments;
-
- { --------------------------------------------------------------------
- TUnsampledReportTypecloudStorageDownloadDetails
- --------------------------------------------------------------------}
-
- TUnsampledReportTypecloudStorageDownloadDetails = Class(TGoogleBaseObject)
- Private
- FbucketId : String;
- FobjectId : String;
- Protected
- //Property setters
- Procedure SetbucketId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetobjectId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property bucketId : String Index 0 Read FbucketId Write SetbucketId;
- Property objectId : String Index 8 Read FobjectId Write SetobjectId;
- end;
- TUnsampledReportTypecloudStorageDownloadDetailsClass = Class of TUnsampledReportTypecloudStorageDownloadDetails;
-
- { --------------------------------------------------------------------
- TUnsampledReportTypedriveDownloadDetails
- --------------------------------------------------------------------}
-
- TUnsampledReportTypedriveDownloadDetails = Class(TGoogleBaseObject)
- Private
- FdocumentId : String;
- Protected
- //Property setters
- Procedure SetdocumentId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property documentId : String Index 0 Read FdocumentId Write SetdocumentId;
- end;
- TUnsampledReportTypedriveDownloadDetailsClass = Class of TUnsampledReportTypedriveDownloadDetails;
-
- { --------------------------------------------------------------------
- TUnsampledReport
- --------------------------------------------------------------------}
-
- TUnsampledReport = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FcloudStorageDownloadDetails : TUnsampledReportTypecloudStorageDownloadDetails;
- Fcreated : TDatetime;
- Fdimensions : String;
- FdownloadType : String;
- FdriveDownloadDetails : TUnsampledReportTypedriveDownloadDetails;
- Fenddate : String;
- Ffilters : String;
- Fid : String;
- Fkind : String;
- Fmetrics : String;
- FprofileId : String;
- Fsegment : String;
- FselfLink : String;
- Fstartdate : String;
- Fstatus : String;
- Ftitle : String;
- Fupdated : TDatetime;
- FwebPropertyId : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcloudStorageDownloadDetails(AIndex : Integer; const AValue : TUnsampledReportTypecloudStorageDownloadDetails); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setdimensions(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdownloadType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdriveDownloadDetails(AIndex : Integer; const AValue : TUnsampledReportTypedriveDownloadDetails); virtual;
- Procedure Setenddate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setfilters(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmetrics(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsegment(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstartdate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetwebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property cloudStorageDownloadDetails : TUnsampledReportTypecloudStorageDownloadDetails Index 8 Read FcloudStorageDownloadDetails Write SetcloudStorageDownloadDetails;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property dimensions : String Index 24 Read Fdimensions Write Setdimensions;
- Property downloadType : String Index 32 Read FdownloadType Write SetdownloadType;
- Property driveDownloadDetails : TUnsampledReportTypedriveDownloadDetails Index 40 Read FdriveDownloadDetails Write SetdriveDownloadDetails;
- Property enddate : String Index 48 Read Fenddate Write Setenddate;
- Property filters : String Index 56 Read Ffilters Write Setfilters;
- Property id : String Index 64 Read Fid Write Setid;
- Property kind : String Index 72 Read Fkind Write Setkind;
- Property metrics : String Index 80 Read Fmetrics Write Setmetrics;
- Property profileId : String Index 88 Read FprofileId Write SetprofileId;
- Property segment : String Index 96 Read Fsegment Write Setsegment;
- Property selfLink : String Index 104 Read FselfLink Write SetselfLink;
- Property startdate : String Index 112 Read Fstartdate Write Setstartdate;
- Property status : String Index 120 Read Fstatus Write Setstatus;
- Property title : String Index 128 Read Ftitle Write Settitle;
- Property updated : TDatetime Index 136 Read Fupdated Write Setupdated;
- Property webPropertyId : String Index 144 Read FwebPropertyId Write SetwebPropertyId;
- end;
- TUnsampledReportClass = Class of TUnsampledReport;
-
- { --------------------------------------------------------------------
- TUnsampledReports
- --------------------------------------------------------------------}
-
- TUnsampledReports = Class(TGoogleBaseObject)
- Private
- Fitems : TUnsampledReportsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TUnsampledReportsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TUnsampledReportsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TUnsampledReportsClass = Class of TUnsampledReports;
-
- { --------------------------------------------------------------------
- TUpload
- --------------------------------------------------------------------}
-
- TUpload = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FcustomDataSourceId : String;
- Ferrors : TStringArray;
- Fid : String;
- Fkind : String;
- Fstatus : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcustomDataSourceId(AIndex : Integer; const AValue : String); virtual;
- Procedure Seterrors(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property customDataSourceId : String Index 8 Read FcustomDataSourceId Write SetcustomDataSourceId;
- Property errors : TStringArray Index 16 Read Ferrors Write Seterrors;
- Property id : String Index 24 Read Fid Write Setid;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property status : String Index 40 Read Fstatus Write Setstatus;
- end;
- TUploadClass = Class of TUpload;
-
- { --------------------------------------------------------------------
- TUploads
- --------------------------------------------------------------------}
-
- TUploads = Class(TGoogleBaseObject)
- Private
- Fitems : TUploadsTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TUploadsTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TUploadsTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- end;
- TUploadsClass = Class of TUploads;
-
- { --------------------------------------------------------------------
- TUserRef
- --------------------------------------------------------------------}
-
- TUserRef = Class(TGoogleBaseObject)
- Private
- Femail : String;
- Fid : String;
- Fkind : String;
- Protected
- //Property setters
- Procedure Setemail(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property email : String Index 0 Read Femail Write Setemail;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- end;
- TUserRefClass = Class of TUserRef;
-
- { --------------------------------------------------------------------
- TWebPropertyRef
- --------------------------------------------------------------------}
-
- TWebPropertyRef = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- Fhref : String;
- Fid : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property href : String Index 8 Read Fhref Write Sethref;
- Property id : String Index 16 Read Fid Write Setid;
- Property internalWebPropertyId : String Index 24 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property name : String Index 40 Read Fname Write Setname;
- end;
- TWebPropertyRefClass = Class of TWebPropertyRef;
-
- { --------------------------------------------------------------------
- TWebPropertySummary
- --------------------------------------------------------------------}
-
- TWebPropertySummary = Class(TGoogleBaseObject)
- Private
- Fid : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- Flevel : String;
- Fname : String;
- Fprofiles : TWebPropertySummaryTypeprofilesArray;
- Fstarred : boolean;
- FwebsiteUrl : String;
- Protected
- //Property setters
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlevel(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setprofiles(AIndex : Integer; const AValue : TWebPropertySummaryTypeprofilesArray); virtual;
- Procedure Setstarred(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetwebsiteUrl(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property id : String Index 0 Read Fid Write Setid;
- Property internalWebPropertyId : String Index 8 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property level : String Index 24 Read Flevel Write Setlevel;
- Property name : String Index 32 Read Fname Write Setname;
- Property profiles : TWebPropertySummaryTypeprofilesArray Index 40 Read Fprofiles Write Setprofiles;
- Property starred : boolean Index 48 Read Fstarred Write Setstarred;
- Property websiteUrl : String Index 56 Read FwebsiteUrl Write SetwebsiteUrl;
- end;
- TWebPropertySummaryClass = Class of TWebPropertySummary;
-
- { --------------------------------------------------------------------
- TWebproperties
- --------------------------------------------------------------------}
-
- TWebproperties = Class(TGoogleBaseObject)
- Private
- Fitems : TWebpropertiesTypeitemsArray;
- FitemsPerPage : integer;
- Fkind : String;
- FnextLink : String;
- FpreviousLink : String;
- FstartIndex : integer;
- FtotalResults : integer;
- Fusername : String;
- Protected
- //Property setters
- Procedure Setitems(AIndex : Integer; const AValue : TWebpropertiesTypeitemsArray); virtual;
- Procedure SetitemsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpreviousLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartIndex(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setusername(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property items : TWebpropertiesTypeitemsArray Index 0 Read Fitems Write Setitems;
- Property itemsPerPage : integer Index 8 Read FitemsPerPage Write SetitemsPerPage;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextLink : String Index 24 Read FnextLink Write SetnextLink;
- Property previousLink : String Index 32 Read FpreviousLink Write SetpreviousLink;
- Property startIndex : integer Index 40 Read FstartIndex Write SetstartIndex;
- Property totalResults : integer Index 48 Read FtotalResults Write SettotalResults;
- Property username : String Index 56 Read Fusername Write Setusername;
- end;
- TWebpropertiesClass = Class of TWebproperties;
-
- { --------------------------------------------------------------------
- TWebpropertyTypechildLink
- --------------------------------------------------------------------}
-
- TWebpropertyTypechildLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TWebpropertyTypechildLinkClass = Class of TWebpropertyTypechildLink;
-
- { --------------------------------------------------------------------
- TWebpropertyTypeparentLink
- --------------------------------------------------------------------}
-
- TWebpropertyTypeparentLink = Class(TGoogleBaseObject)
- Private
- Fhref : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Sethref(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property href : String Index 0 Read Fhref Write Sethref;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TWebpropertyTypeparentLinkClass = Class of TWebpropertyTypeparentLink;
-
- { --------------------------------------------------------------------
- TWebpropertyTypepermissions
- --------------------------------------------------------------------}
-
- TWebpropertyTypepermissions = Class(TGoogleBaseObject)
- Private
- Feffective : TStringArray;
- Protected
- //Property setters
- Procedure Seteffective(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property effective : TStringArray Index 0 Read Feffective Write Seteffective;
- end;
- TWebpropertyTypepermissionsClass = Class of TWebpropertyTypepermissions;
-
- { --------------------------------------------------------------------
- TWebproperty
- --------------------------------------------------------------------}
-
- TWebproperty = Class(TGoogleBaseObject)
- Private
- FaccountId : String;
- FchildLink : TWebpropertyTypechildLink;
- Fcreated : TDatetime;
- FdefaultProfileId : String;
- Fid : String;
- FindustryVertical : String;
- FinternalWebPropertyId : String;
- Fkind : String;
- Flevel : String;
- Fname : String;
- FparentLink : TWebpropertyTypeparentLink;
- Fpermissions : TWebpropertyTypepermissions;
- FprofileCount : integer;
- FselfLink : String;
- Fstarred : boolean;
- Fupdated : TDatetime;
- FwebsiteUrl : String;
- Protected
- //Property setters
- Procedure SetaccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchildLink(AIndex : Integer; const AValue : TWebpropertyTypechildLink); virtual;
- Procedure Setcreated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetdefaultProfileId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetindustryVertical(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinternalWebPropertyId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlevel(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentLink(AIndex : Integer; const AValue : TWebpropertyTypeparentLink); virtual;
- Procedure Setpermissions(AIndex : Integer; const AValue : TWebpropertyTypepermissions); virtual;
- Procedure SetprofileCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstarred(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setupdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetwebsiteUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property accountId : String Index 0 Read FaccountId Write SetaccountId;
- Property childLink : TWebpropertyTypechildLink Index 8 Read FchildLink Write SetchildLink;
- Property created : TDatetime Index 16 Read Fcreated Write Setcreated;
- Property defaultProfileId : String Index 24 Read FdefaultProfileId Write SetdefaultProfileId;
- Property id : String Index 32 Read Fid Write Setid;
- Property industryVertical : String Index 40 Read FindustryVertical Write SetindustryVertical;
- Property internalWebPropertyId : String Index 48 Read FinternalWebPropertyId Write SetinternalWebPropertyId;
- Property kind : String Index 56 Read Fkind Write Setkind;
- Property level : String Index 64 Read Flevel Write Setlevel;
- Property name : String Index 72 Read Fname Write Setname;
- Property parentLink : TWebpropertyTypeparentLink Index 80 Read FparentLink Write SetparentLink;
- Property permissions : TWebpropertyTypepermissions Index 88 Read Fpermissions Write Setpermissions;
- Property profileCount : integer Index 96 Read FprofileCount Write SetprofileCount;
- Property selfLink : String Index 104 Read FselfLink Write SetselfLink;
- Property starred : boolean Index 112 Read Fstarred Write Setstarred;
- Property updated : TDatetime Index 120 Read Fupdated Write Setupdated;
- Property websiteUrl : String Index 128 Read FwebsiteUrl Write SetwebsiteUrl;
- end;
- TWebpropertyClass = Class of TWebproperty;
-
- { --------------------------------------------------------------------
- TDataGaResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TDataGaResource, method Get
-
- TDataGaGetOptions = Record
- dimensions : String;
- enddate : String;
- filters : String;
- ids : String;
- includeemptyrows : boolean;
- maxresults : integer;
- metrics : String;
- output : String;
- samplingLevel : String;
- segment : String;
- sort : String;
- startdate : String;
- startindex : integer;
- end;
-
- TDataGaResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(AQuery : string = '') : TGaData;
- Function Get(AQuery : TDataGagetOptions) : TGaData;
- end;
-
-
- { --------------------------------------------------------------------
- TDataMcfResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TDataMcfResource, method Get
-
- TDataMcfGetOptions = Record
- dimensions : String;
- enddate : String;
- filters : String;
- ids : String;
- maxresults : integer;
- metrics : String;
- samplingLevel : String;
- sort : String;
- startdate : String;
- startindex : integer;
- end;
-
- TDataMcfResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(AQuery : string = '') : TMcfData;
- Function Get(AQuery : TDataMcfgetOptions) : TMcfData;
- end;
-
-
- { --------------------------------------------------------------------
- TDataRealtimeResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TDataRealtimeResource, method Get
-
- TDataRealtimeGetOptions = Record
- dimensions : String;
- filters : String;
- ids : String;
- maxresults : integer;
- metrics : String;
- sort : String;
- end;
-
- TDataRealtimeResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(AQuery : string = '') : TRealtimeData;
- Function Get(AQuery : TDataRealtimegetOptions) : TRealtimeData;
- end;
-
-
- { --------------------------------------------------------------------
- TDataResource
- --------------------------------------------------------------------}
-
- TDataResource = Class(TGoogleResource)
- Private
- FGaInstance : TDataGaResource;
- FMcfInstance : TDataMcfResource;
- FRealtimeInstance : TDataRealtimeResource;
- Function GetGaInstance : TDataGaResource;virtual;
- Function GetMcfInstance : TDataMcfResource;virtual;
- Function GetRealtimeInstance : TDataRealtimeResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function CreateGaResource(AOwner : TComponent) : TDataGaResource;virtual;overload;
- Function CreateGaResource : TDataGaResource;virtual;overload;
- Function CreateMcfResource(AOwner : TComponent) : TDataMcfResource;virtual;overload;
- Function CreateMcfResource : TDataMcfResource;virtual;overload;
- Function CreateRealtimeResource(AOwner : TComponent) : TDataRealtimeResource;virtual;overload;
- Function CreateRealtimeResource : TDataRealtimeResource;virtual;overload;
- Property GaResource : TDataGaResource Read GetGaInstance;
- Property McfResource : TDataMcfResource Read GetMcfInstance;
- Property RealtimeResource : TDataRealtimeResource Read GetRealtimeInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementAccountSummariesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementAccountSummariesResource, method List
-
- TManagementAccountSummariesListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementAccountSummariesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TAccountSummaries;
- Function List(AQuery : TManagementAccountSummarieslistOptions) : TAccountSummaries;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementAccountUserLinksResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementAccountUserLinksResource, method List
-
- TManagementAccountUserLinksListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementAccountUserLinksResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; linkId: string);
- Function Insert(accountId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Function List(accountId: string; AQuery : string = '') : TEntityUserLinks;
- Function List(accountId: string; AQuery : TManagementAccountUserLinkslistOptions) : TEntityUserLinks;
- Function Update(accountId: string; linkId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementAccountsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementAccountsResource, method List
-
- TManagementAccountsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementAccountsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TAccounts;
- Function List(AQuery : TManagementAccountslistOptions) : TAccounts;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementCustomDataSourcesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementCustomDataSourcesResource, method List
-
- TManagementCustomDataSourcesListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementCustomDataSourcesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(accountId: string; webPropertyId: string; AQuery : string = '') : TCustomDataSources;
- Function List(accountId: string; webPropertyId: string; AQuery : TManagementCustomDataSourceslistOptions) : TCustomDataSources;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementCustomDimensionsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementCustomDimensionsResource, method List
-
- TManagementCustomDimensionsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
-
- //Optional query Options for TManagementCustomDimensionsResource, method Patch
-
- TManagementCustomDimensionsPatchOptions = Record
- ignoreCustomDataSourceLinks : boolean;
- end;
-
-
- //Optional query Options for TManagementCustomDimensionsResource, method Update
-
- TManagementCustomDimensionsUpdateOptions = Record
- ignoreCustomDataSourceLinks : boolean;
- end;
-
- TManagementCustomDimensionsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(accountId: string; customDimensionId: string; webPropertyId: string) : TCustomDimension;
- Function Insert(accountId: string; webPropertyId: string; aCustomDimension : TCustomDimension) : TCustomDimension;
- Function List(accountId: string; webPropertyId: string; AQuery : string = '') : TCustomDimensions;
- Function List(accountId: string; webPropertyId: string; AQuery : TManagementCustomDimensionslistOptions) : TCustomDimensions;
- Function Patch(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : string = '') : TCustomDimension;
- Function Patch(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : TManagementCustomDimensionspatchOptions) : TCustomDimension;
- Function Update(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : string = '') : TCustomDimension;
- Function Update(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : TManagementCustomDimensionsupdateOptions) : TCustomDimension;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementCustomMetricsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementCustomMetricsResource, method List
-
- TManagementCustomMetricsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
-
- //Optional query Options for TManagementCustomMetricsResource, method Patch
-
- TManagementCustomMetricsPatchOptions = Record
- ignoreCustomDataSourceLinks : boolean;
- end;
-
-
- //Optional query Options for TManagementCustomMetricsResource, method Update
-
- TManagementCustomMetricsUpdateOptions = Record
- ignoreCustomDataSourceLinks : boolean;
- end;
-
- TManagementCustomMetricsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(accountId: string; customMetricId: string; webPropertyId: string) : TCustomMetric;
- Function Insert(accountId: string; webPropertyId: string; aCustomMetric : TCustomMetric) : TCustomMetric;
- Function List(accountId: string; webPropertyId: string; AQuery : string = '') : TCustomMetrics;
- Function List(accountId: string; webPropertyId: string; AQuery : TManagementCustomMetricslistOptions) : TCustomMetrics;
- Function Patch(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : string = '') : TCustomMetric;
- Function Patch(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : TManagementCustomMetricspatchOptions) : TCustomMetric;
- Function Update(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : string = '') : TCustomMetric;
- Function Update(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : TManagementCustomMetricsupdateOptions) : TCustomMetric;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementExperimentsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementExperimentsResource, method List
-
- TManagementExperimentsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementExperimentsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; experimentId: string; profileId: string; webPropertyId: string);
- Function Get(accountId: string; experimentId: string; profileId: string; webPropertyId: string) : TExperiment;
- Function Insert(accountId: string; profileId: string; webPropertyId: string; aExperiment : TExperiment) : TExperiment;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TExperiments;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementExperimentslistOptions) : TExperiments;
- Function Patch(accountId: string; experimentId: string; profileId: string; webPropertyId: string; aExperiment : TExperiment) : TExperiment;
- Function Update(accountId: string; experimentId: string; profileId: string; webPropertyId: string; aExperiment : TExperiment) : TExperiment;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementFiltersResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementFiltersResource, method List
-
- TManagementFiltersListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementFiltersResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Delete(accountId: string; filterId: string) : TFilter;
- Function Get(accountId: string; filterId: string) : TFilter;
- Function Insert(accountId: string; aFilter : TFilter) : TFilter;
- Function List(accountId: string; AQuery : string = '') : TFilters;
- Function List(accountId: string; AQuery : TManagementFilterslistOptions) : TFilters;
- Function Patch(accountId: string; filterId: string; aFilter : TFilter) : TFilter;
- Function Update(accountId: string; filterId: string; aFilter : TFilter) : TFilter;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementGoalsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementGoalsResource, method List
-
- TManagementGoalsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementGoalsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(accountId: string; goalId: string; profileId: string; webPropertyId: string) : TGoal;
- Function Insert(accountId: string; profileId: string; webPropertyId: string; aGoal : TGoal) : TGoal;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TGoals;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementGoalslistOptions) : TGoals;
- Function Patch(accountId: string; goalId: string; profileId: string; webPropertyId: string; aGoal : TGoal) : TGoal;
- Function Update(accountId: string; goalId: string; profileId: string; webPropertyId: string; aGoal : TGoal) : TGoal;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementProfileFilterLinksResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementProfileFilterLinksResource, method List
-
- TManagementProfileFilterLinksListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementProfileFilterLinksResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; linkId: string; profileId: string; webPropertyId: string);
- Function Get(accountId: string; linkId: string; profileId: string; webPropertyId: string) : TProfileFilterLink;
- Function Insert(accountId: string; profileId: string; webPropertyId: string; aProfileFilterLink : TProfileFilterLink) : TProfileFilterLink;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TProfileFilterLinks;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementProfileFilterLinkslistOptions) : TProfileFilterLinks;
- Function Patch(accountId: string; linkId: string; profileId: string; webPropertyId: string; aProfileFilterLink : TProfileFilterLink) : TProfileFilterLink;
- Function Update(accountId: string; linkId: string; profileId: string; webPropertyId: string; aProfileFilterLink : TProfileFilterLink) : TProfileFilterLink;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementProfileUserLinksResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementProfileUserLinksResource, method List
-
- TManagementProfileUserLinksListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementProfileUserLinksResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; linkId: string; profileId: string; webPropertyId: string);
- Function Insert(accountId: string; profileId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TEntityUserLinks;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementProfileUserLinkslistOptions) : TEntityUserLinks;
- Function Update(accountId: string; linkId: string; profileId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementProfilesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementProfilesResource, method List
-
- TManagementProfilesListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementProfilesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; profileId: string; webPropertyId: string);
- Function Get(accountId: string; profileId: string; webPropertyId: string) : TProfile;
- Function Insert(accountId: string; webPropertyId: string; aProfile : TProfile) : TProfile;
- Function List(accountId: string; webPropertyId: string; AQuery : string = '') : TProfiles;
- Function List(accountId: string; webPropertyId: string; AQuery : TManagementProfileslistOptions) : TProfiles;
- Function Patch(accountId: string; profileId: string; webPropertyId: string; aProfile : TProfile) : TProfile;
- Function Update(accountId: string; profileId: string; webPropertyId: string; aProfile : TProfile) : TProfile;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementSegmentsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementSegmentsResource, method List
-
- TManagementSegmentsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementSegmentsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TSegments;
- Function List(AQuery : TManagementSegmentslistOptions) : TSegments;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementUnsampledReportsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementUnsampledReportsResource, method List
-
- TManagementUnsampledReportsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementUnsampledReportsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; profileId: string; unsampledReportId: string; webPropertyId: string);
- Function Get(accountId: string; profileId: string; unsampledReportId: string; webPropertyId: string) : TUnsampledReport;
- Function Insert(accountId: string; profileId: string; webPropertyId: string; aUnsampledReport : TUnsampledReport) : TUnsampledReport;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TUnsampledReports;
- Function List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementUnsampledReportslistOptions) : TUnsampledReports;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementUploadsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementUploadsResource, method List
-
- TManagementUploadsListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementUploadsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure DeleteUploadData(accountId: string; customDataSourceId: string; webPropertyId: string; aAnalyticsDataimportDeleteUploadDataRequest : TAnalyticsDataimportDeleteUploadDataRequest);
- Function Get(accountId: string; customDataSourceId: string; uploadId: string; webPropertyId: string) : TUpload;
- Function List(accountId: string; customDataSourceId: string; webPropertyId: string; AQuery : string = '') : TUploads;
- Function List(accountId: string; customDataSourceId: string; webPropertyId: string; AQuery : TManagementUploadslistOptions) : TUploads;
- Function UploadData(accountId: string; customDataSourceId: string; webPropertyId: string) : TUpload;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementWebPropertyAdWordsLinksResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementWebPropertyAdWordsLinksResource, method List
-
- TManagementWebPropertyAdWordsLinksListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementWebPropertyAdWordsLinksResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string);
- Function Get(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string) : TEntityAdWordsLink;
- Function Insert(accountId: string; webPropertyId: string; aEntityAdWordsLink : TEntityAdWordsLink) : TEntityAdWordsLink;
- Function List(accountId: string; webPropertyId: string; AQuery : string = '') : TEntityAdWordsLinks;
- Function List(accountId: string; webPropertyId: string; AQuery : TManagementWebPropertyAdWordsLinkslistOptions) : TEntityAdWordsLinks;
- Function Patch(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string; aEntityAdWordsLink : TEntityAdWordsLink) : TEntityAdWordsLink;
- Function Update(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string; aEntityAdWordsLink : TEntityAdWordsLink) : TEntityAdWordsLink;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementWebpropertiesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementWebpropertiesResource, method List
-
- TManagementWebpropertiesListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementWebpropertiesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Get(accountId: string; webPropertyId: string) : TWebproperty;
- Function Insert(accountId: string; aWebproperty : TWebproperty) : TWebproperty;
- Function List(accountId: string; AQuery : string = '') : TWebproperties;
- Function List(accountId: string; AQuery : TManagementWebpropertieslistOptions) : TWebproperties;
- Function Patch(accountId: string; webPropertyId: string; aWebproperty : TWebproperty) : TWebproperty;
- Function Update(accountId: string; webPropertyId: string; aWebproperty : TWebproperty) : TWebproperty;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementWebpropertyUserLinksResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TManagementWebpropertyUserLinksResource, method List
-
- TManagementWebpropertyUserLinksListOptions = Record
- maxresults : integer;
- startindex : integer;
- end;
-
- TManagementWebpropertyUserLinksResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(accountId: string; linkId: string; webPropertyId: string);
- Function Insert(accountId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Function List(accountId: string; webPropertyId: string; AQuery : string = '') : TEntityUserLinks;
- Function List(accountId: string; webPropertyId: string; AQuery : TManagementWebpropertyUserLinkslistOptions) : TEntityUserLinks;
- Function Update(accountId: string; linkId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- end;
-
-
- { --------------------------------------------------------------------
- TManagementResource
- --------------------------------------------------------------------}
-
- TManagementResource = Class(TGoogleResource)
- Private
- FAccountSummariesInstance : TManagementAccountSummariesResource;
- FAccountUserLinksInstance : TManagementAccountUserLinksResource;
- FAccountsInstance : TManagementAccountsResource;
- FCustomDataSourcesInstance : TManagementCustomDataSourcesResource;
- FCustomDimensionsInstance : TManagementCustomDimensionsResource;
- FCustomMetricsInstance : TManagementCustomMetricsResource;
- FExperimentsInstance : TManagementExperimentsResource;
- FFiltersInstance : TManagementFiltersResource;
- FGoalsInstance : TManagementGoalsResource;
- FProfileFilterLinksInstance : TManagementProfileFilterLinksResource;
- FProfileUserLinksInstance : TManagementProfileUserLinksResource;
- FProfilesInstance : TManagementProfilesResource;
- FSegmentsInstance : TManagementSegmentsResource;
- FUnsampledReportsInstance : TManagementUnsampledReportsResource;
- FUploadsInstance : TManagementUploadsResource;
- FWebPropertyAdWordsLinksInstance : TManagementWebPropertyAdWordsLinksResource;
- FWebpropertiesInstance : TManagementWebpropertiesResource;
- FWebpropertyUserLinksInstance : TManagementWebpropertyUserLinksResource;
- Function GetAccountSummariesInstance : TManagementAccountSummariesResource;virtual;
- Function GetAccountUserLinksInstance : TManagementAccountUserLinksResource;virtual;
- Function GetAccountsInstance : TManagementAccountsResource;virtual;
- Function GetCustomDataSourcesInstance : TManagementCustomDataSourcesResource;virtual;
- Function GetCustomDimensionsInstance : TManagementCustomDimensionsResource;virtual;
- Function GetCustomMetricsInstance : TManagementCustomMetricsResource;virtual;
- Function GetExperimentsInstance : TManagementExperimentsResource;virtual;
- Function GetFiltersInstance : TManagementFiltersResource;virtual;
- Function GetGoalsInstance : TManagementGoalsResource;virtual;
- Function GetProfileFilterLinksInstance : TManagementProfileFilterLinksResource;virtual;
- Function GetProfileUserLinksInstance : TManagementProfileUserLinksResource;virtual;
- Function GetProfilesInstance : TManagementProfilesResource;virtual;
- Function GetSegmentsInstance : TManagementSegmentsResource;virtual;
- Function GetUnsampledReportsInstance : TManagementUnsampledReportsResource;virtual;
- Function GetUploadsInstance : TManagementUploadsResource;virtual;
- Function GetWebPropertyAdWordsLinksInstance : TManagementWebPropertyAdWordsLinksResource;virtual;
- Function GetWebpropertiesInstance : TManagementWebpropertiesResource;virtual;
- Function GetWebpropertyUserLinksInstance : TManagementWebpropertyUserLinksResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function CreateAccountSummariesResource(AOwner : TComponent) : TManagementAccountSummariesResource;virtual;overload;
- Function CreateAccountSummariesResource : TManagementAccountSummariesResource;virtual;overload;
- Function CreateAccountUserLinksResource(AOwner : TComponent) : TManagementAccountUserLinksResource;virtual;overload;
- Function CreateAccountUserLinksResource : TManagementAccountUserLinksResource;virtual;overload;
- Function CreateAccountsResource(AOwner : TComponent) : TManagementAccountsResource;virtual;overload;
- Function CreateAccountsResource : TManagementAccountsResource;virtual;overload;
- Function CreateCustomDataSourcesResource(AOwner : TComponent) : TManagementCustomDataSourcesResource;virtual;overload;
- Function CreateCustomDataSourcesResource : TManagementCustomDataSourcesResource;virtual;overload;
- Function CreateCustomDimensionsResource(AOwner : TComponent) : TManagementCustomDimensionsResource;virtual;overload;
- Function CreateCustomDimensionsResource : TManagementCustomDimensionsResource;virtual;overload;
- Function CreateCustomMetricsResource(AOwner : TComponent) : TManagementCustomMetricsResource;virtual;overload;
- Function CreateCustomMetricsResource : TManagementCustomMetricsResource;virtual;overload;
- Function CreateExperimentsResource(AOwner : TComponent) : TManagementExperimentsResource;virtual;overload;
- Function CreateExperimentsResource : TManagementExperimentsResource;virtual;overload;
- Function CreateFiltersResource(AOwner : TComponent) : TManagementFiltersResource;virtual;overload;
- Function CreateFiltersResource : TManagementFiltersResource;virtual;overload;
- Function CreateGoalsResource(AOwner : TComponent) : TManagementGoalsResource;virtual;overload;
- Function CreateGoalsResource : TManagementGoalsResource;virtual;overload;
- Function CreateProfileFilterLinksResource(AOwner : TComponent) : TManagementProfileFilterLinksResource;virtual;overload;
- Function CreateProfileFilterLinksResource : TManagementProfileFilterLinksResource;virtual;overload;
- Function CreateProfileUserLinksResource(AOwner : TComponent) : TManagementProfileUserLinksResource;virtual;overload;
- Function CreateProfileUserLinksResource : TManagementProfileUserLinksResource;virtual;overload;
- Function CreateProfilesResource(AOwner : TComponent) : TManagementProfilesResource;virtual;overload;
- Function CreateProfilesResource : TManagementProfilesResource;virtual;overload;
- Function CreateSegmentsResource(AOwner : TComponent) : TManagementSegmentsResource;virtual;overload;
- Function CreateSegmentsResource : TManagementSegmentsResource;virtual;overload;
- Function CreateUnsampledReportsResource(AOwner : TComponent) : TManagementUnsampledReportsResource;virtual;overload;
- Function CreateUnsampledReportsResource : TManagementUnsampledReportsResource;virtual;overload;
- Function CreateUploadsResource(AOwner : TComponent) : TManagementUploadsResource;virtual;overload;
- Function CreateUploadsResource : TManagementUploadsResource;virtual;overload;
- Function CreateWebPropertyAdWordsLinksResource(AOwner : TComponent) : TManagementWebPropertyAdWordsLinksResource;virtual;overload;
- Function CreateWebPropertyAdWordsLinksResource : TManagementWebPropertyAdWordsLinksResource;virtual;overload;
- Function CreateWebpropertiesResource(AOwner : TComponent) : TManagementWebpropertiesResource;virtual;overload;
- Function CreateWebpropertiesResource : TManagementWebpropertiesResource;virtual;overload;
- Function CreateWebpropertyUserLinksResource(AOwner : TComponent) : TManagementWebpropertyUserLinksResource;virtual;overload;
- Function CreateWebpropertyUserLinksResource : TManagementWebpropertyUserLinksResource;virtual;overload;
- Property AccountSummariesResource : TManagementAccountSummariesResource Read GetAccountSummariesInstance;
- Property AccountUserLinksResource : TManagementAccountUserLinksResource Read GetAccountUserLinksInstance;
- Property AccountsResource : TManagementAccountsResource Read GetAccountsInstance;
- Property CustomDataSourcesResource : TManagementCustomDataSourcesResource Read GetCustomDataSourcesInstance;
- Property CustomDimensionsResource : TManagementCustomDimensionsResource Read GetCustomDimensionsInstance;
- Property CustomMetricsResource : TManagementCustomMetricsResource Read GetCustomMetricsInstance;
- Property ExperimentsResource : TManagementExperimentsResource Read GetExperimentsInstance;
- Property FiltersResource : TManagementFiltersResource Read GetFiltersInstance;
- Property GoalsResource : TManagementGoalsResource Read GetGoalsInstance;
- Property ProfileFilterLinksResource : TManagementProfileFilterLinksResource Read GetProfileFilterLinksInstance;
- Property ProfileUserLinksResource : TManagementProfileUserLinksResource Read GetProfileUserLinksInstance;
- Property ProfilesResource : TManagementProfilesResource Read GetProfilesInstance;
- Property SegmentsResource : TManagementSegmentsResource Read GetSegmentsInstance;
- Property UnsampledReportsResource : TManagementUnsampledReportsResource Read GetUnsampledReportsInstance;
- Property UploadsResource : TManagementUploadsResource Read GetUploadsInstance;
- Property WebPropertyAdWordsLinksResource : TManagementWebPropertyAdWordsLinksResource Read GetWebPropertyAdWordsLinksInstance;
- Property WebpropertiesResource : TManagementWebpropertiesResource Read GetWebpropertiesInstance;
- Property WebpropertyUserLinksResource : TManagementWebpropertyUserLinksResource Read GetWebpropertyUserLinksInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TMetadataColumnsResource
- --------------------------------------------------------------------}
-
- TMetadataColumnsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(reportType: string) : TColumns;
- end;
-
-
- { --------------------------------------------------------------------
- TMetadataResource
- --------------------------------------------------------------------}
-
- TMetadataResource = Class(TGoogleResource)
- Private
- FColumnsInstance : TMetadataColumnsResource;
- Function GetColumnsInstance : TMetadataColumnsResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function CreateColumnsResource(AOwner : TComponent) : TMetadataColumnsResource;virtual;overload;
- Function CreateColumnsResource : TMetadataColumnsResource;virtual;overload;
- Property ColumnsResource : TMetadataColumnsResource Read GetColumnsInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TProvisioningResource
- --------------------------------------------------------------------}
-
- TProvisioningResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function CreateAccountTicket(aAccountTicket : TAccountTicket) : TAccountTicket;
- end;
-
-
- { --------------------------------------------------------------------
- TAnalyticsAPI
- --------------------------------------------------------------------}
-
- TAnalyticsAPI = Class(TGoogleAPI)
- Private
- FDataGaInstance : TDataGaResource;
- FDataMcfInstance : TDataMcfResource;
- FDataRealtimeInstance : TDataRealtimeResource;
- FDataInstance : TDataResource;
- FManagementAccountSummariesInstance : TManagementAccountSummariesResource;
- FManagementAccountUserLinksInstance : TManagementAccountUserLinksResource;
- FManagementAccountsInstance : TManagementAccountsResource;
- FManagementCustomDataSourcesInstance : TManagementCustomDataSourcesResource;
- FManagementCustomDimensionsInstance : TManagementCustomDimensionsResource;
- FManagementCustomMetricsInstance : TManagementCustomMetricsResource;
- FManagementExperimentsInstance : TManagementExperimentsResource;
- FManagementFiltersInstance : TManagementFiltersResource;
- FManagementGoalsInstance : TManagementGoalsResource;
- FManagementProfileFilterLinksInstance : TManagementProfileFilterLinksResource;
- FManagementProfileUserLinksInstance : TManagementProfileUserLinksResource;
- FManagementProfilesInstance : TManagementProfilesResource;
- FManagementSegmentsInstance : TManagementSegmentsResource;
- FManagementUnsampledReportsInstance : TManagementUnsampledReportsResource;
- FManagementUploadsInstance : TManagementUploadsResource;
- FManagementWebPropertyAdWordsLinksInstance : TManagementWebPropertyAdWordsLinksResource;
- FManagementWebpropertiesInstance : TManagementWebpropertiesResource;
- FManagementWebpropertyUserLinksInstance : TManagementWebpropertyUserLinksResource;
- FManagementInstance : TManagementResource;
- FMetadataColumnsInstance : TMetadataColumnsResource;
- FMetadataInstance : TMetadataResource;
- FProvisioningInstance : TProvisioningResource;
- Function GetDataGaInstance : TDataGaResource;virtual;
- Function GetDataMcfInstance : TDataMcfResource;virtual;
- Function GetDataRealtimeInstance : TDataRealtimeResource;virtual;
- Function GetDataInstance : TDataResource;virtual;
- Function GetManagementAccountSummariesInstance : TManagementAccountSummariesResource;virtual;
- Function GetManagementAccountUserLinksInstance : TManagementAccountUserLinksResource;virtual;
- Function GetManagementAccountsInstance : TManagementAccountsResource;virtual;
- Function GetManagementCustomDataSourcesInstance : TManagementCustomDataSourcesResource;virtual;
- Function GetManagementCustomDimensionsInstance : TManagementCustomDimensionsResource;virtual;
- Function GetManagementCustomMetricsInstance : TManagementCustomMetricsResource;virtual;
- Function GetManagementExperimentsInstance : TManagementExperimentsResource;virtual;
- Function GetManagementFiltersInstance : TManagementFiltersResource;virtual;
- Function GetManagementGoalsInstance : TManagementGoalsResource;virtual;
- Function GetManagementProfileFilterLinksInstance : TManagementProfileFilterLinksResource;virtual;
- Function GetManagementProfileUserLinksInstance : TManagementProfileUserLinksResource;virtual;
- Function GetManagementProfilesInstance : TManagementProfilesResource;virtual;
- Function GetManagementSegmentsInstance : TManagementSegmentsResource;virtual;
- Function GetManagementUnsampledReportsInstance : TManagementUnsampledReportsResource;virtual;
- Function GetManagementUploadsInstance : TManagementUploadsResource;virtual;
- Function GetManagementWebPropertyAdWordsLinksInstance : TManagementWebPropertyAdWordsLinksResource;virtual;
- Function GetManagementWebpropertiesInstance : TManagementWebpropertiesResource;virtual;
- Function GetManagementWebpropertyUserLinksInstance : TManagementWebpropertyUserLinksResource;virtual;
- Function GetManagementInstance : TManagementResource;virtual;
- Function GetMetadataColumnsInstance : TMetadataColumnsResource;virtual;
- Function GetMetadataInstance : TMetadataResource;virtual;
- Function GetProvisioningInstance : TProvisioningResource;virtual;
- Public
- //Override class functions with API info
- Class Function APIName : String; override;
- Class Function APIVersion : String; override;
- Class Function APIRevision : String; override;
- Class Function APIID : String; override;
- Class Function APITitle : String; override;
- Class Function APIDescription : String; override;
- Class Function APIOwnerDomain : String; override;
- Class Function APIOwnerName : String; override;
- Class Function APIIcon16 : String; override;
- Class Function APIIcon32 : String; override;
- Class Function APIdocumentationLink : String; override;
- Class Function APIrootUrl : string; override;
- Class Function APIbasePath : string;override;
- Class Function APIbaseURL : String;override;
- Class Function APIProtocol : string;override;
- Class Function APIservicePath : string;override;
- Class Function APIbatchPath : String;override;
- Class Function APIAuthScopes : TScopeInfoArray;override;
- Class Function APINeedsAuth : Boolean;override;
- Class Procedure RegisterAPIResources; override;
- //Add create function for resources
- Function CreateDataGaResource(AOwner : TComponent) : TDataGaResource;virtual;overload;
- Function CreateDataGaResource : TDataGaResource;virtual;overload;
- Function CreateDataMcfResource(AOwner : TComponent) : TDataMcfResource;virtual;overload;
- Function CreateDataMcfResource : TDataMcfResource;virtual;overload;
- Function CreateDataRealtimeResource(AOwner : TComponent) : TDataRealtimeResource;virtual;overload;
- Function CreateDataRealtimeResource : TDataRealtimeResource;virtual;overload;
- Function CreateDataResource(AOwner : TComponent) : TDataResource;virtual;overload;
- Function CreateDataResource : TDataResource;virtual;overload;
- Function CreateManagementAccountSummariesResource(AOwner : TComponent) : TManagementAccountSummariesResource;virtual;overload;
- Function CreateManagementAccountSummariesResource : TManagementAccountSummariesResource;virtual;overload;
- Function CreateManagementAccountUserLinksResource(AOwner : TComponent) : TManagementAccountUserLinksResource;virtual;overload;
- Function CreateManagementAccountUserLinksResource : TManagementAccountUserLinksResource;virtual;overload;
- Function CreateManagementAccountsResource(AOwner : TComponent) : TManagementAccountsResource;virtual;overload;
- Function CreateManagementAccountsResource : TManagementAccountsResource;virtual;overload;
- Function CreateManagementCustomDataSourcesResource(AOwner : TComponent) : TManagementCustomDataSourcesResource;virtual;overload;
- Function CreateManagementCustomDataSourcesResource : TManagementCustomDataSourcesResource;virtual;overload;
- Function CreateManagementCustomDimensionsResource(AOwner : TComponent) : TManagementCustomDimensionsResource;virtual;overload;
- Function CreateManagementCustomDimensionsResource : TManagementCustomDimensionsResource;virtual;overload;
- Function CreateManagementCustomMetricsResource(AOwner : TComponent) : TManagementCustomMetricsResource;virtual;overload;
- Function CreateManagementCustomMetricsResource : TManagementCustomMetricsResource;virtual;overload;
- Function CreateManagementExperimentsResource(AOwner : TComponent) : TManagementExperimentsResource;virtual;overload;
- Function CreateManagementExperimentsResource : TManagementExperimentsResource;virtual;overload;
- Function CreateManagementFiltersResource(AOwner : TComponent) : TManagementFiltersResource;virtual;overload;
- Function CreateManagementFiltersResource : TManagementFiltersResource;virtual;overload;
- Function CreateManagementGoalsResource(AOwner : TComponent) : TManagementGoalsResource;virtual;overload;
- Function CreateManagementGoalsResource : TManagementGoalsResource;virtual;overload;
- Function CreateManagementProfileFilterLinksResource(AOwner : TComponent) : TManagementProfileFilterLinksResource;virtual;overload;
- Function CreateManagementProfileFilterLinksResource : TManagementProfileFilterLinksResource;virtual;overload;
- Function CreateManagementProfileUserLinksResource(AOwner : TComponent) : TManagementProfileUserLinksResource;virtual;overload;
- Function CreateManagementProfileUserLinksResource : TManagementProfileUserLinksResource;virtual;overload;
- Function CreateManagementProfilesResource(AOwner : TComponent) : TManagementProfilesResource;virtual;overload;
- Function CreateManagementProfilesResource : TManagementProfilesResource;virtual;overload;
- Function CreateManagementSegmentsResource(AOwner : TComponent) : TManagementSegmentsResource;virtual;overload;
- Function CreateManagementSegmentsResource : TManagementSegmentsResource;virtual;overload;
- Function CreateManagementUnsampledReportsResource(AOwner : TComponent) : TManagementUnsampledReportsResource;virtual;overload;
- Function CreateManagementUnsampledReportsResource : TManagementUnsampledReportsResource;virtual;overload;
- Function CreateManagementUploadsResource(AOwner : TComponent) : TManagementUploadsResource;virtual;overload;
- Function CreateManagementUploadsResource : TManagementUploadsResource;virtual;overload;
- Function CreateManagementWebPropertyAdWordsLinksResource(AOwner : TComponent) : TManagementWebPropertyAdWordsLinksResource;virtual;overload;
- Function CreateManagementWebPropertyAdWordsLinksResource : TManagementWebPropertyAdWordsLinksResource;virtual;overload;
- Function CreateManagementWebpropertiesResource(AOwner : TComponent) : TManagementWebpropertiesResource;virtual;overload;
- Function CreateManagementWebpropertiesResource : TManagementWebpropertiesResource;virtual;overload;
- Function CreateManagementWebpropertyUserLinksResource(AOwner : TComponent) : TManagementWebpropertyUserLinksResource;virtual;overload;
- Function CreateManagementWebpropertyUserLinksResource : TManagementWebpropertyUserLinksResource;virtual;overload;
- Function CreateManagementResource(AOwner : TComponent) : TManagementResource;virtual;overload;
- Function CreateManagementResource : TManagementResource;virtual;overload;
- Function CreateMetadataColumnsResource(AOwner : TComponent) : TMetadataColumnsResource;virtual;overload;
- Function CreateMetadataColumnsResource : TMetadataColumnsResource;virtual;overload;
- Function CreateMetadataResource(AOwner : TComponent) : TMetadataResource;virtual;overload;
- Function CreateMetadataResource : TMetadataResource;virtual;overload;
- Function CreateProvisioningResource(AOwner : TComponent) : TProvisioningResource;virtual;overload;
- Function CreateProvisioningResource : TProvisioningResource;virtual;overload;
- //Add default on-demand instances for resources
- Property DataGaResource : TDataGaResource Read GetDataGaInstance;
- Property DataMcfResource : TDataMcfResource Read GetDataMcfInstance;
- Property DataRealtimeResource : TDataRealtimeResource Read GetDataRealtimeInstance;
- Property DataResource : TDataResource Read GetDataInstance;
- Property ManagementAccountSummariesResource : TManagementAccountSummariesResource Read GetManagementAccountSummariesInstance;
- Property ManagementAccountUserLinksResource : TManagementAccountUserLinksResource Read GetManagementAccountUserLinksInstance;
- Property ManagementAccountsResource : TManagementAccountsResource Read GetManagementAccountsInstance;
- Property ManagementCustomDataSourcesResource : TManagementCustomDataSourcesResource Read GetManagementCustomDataSourcesInstance;
- Property ManagementCustomDimensionsResource : TManagementCustomDimensionsResource Read GetManagementCustomDimensionsInstance;
- Property ManagementCustomMetricsResource : TManagementCustomMetricsResource Read GetManagementCustomMetricsInstance;
- Property ManagementExperimentsResource : TManagementExperimentsResource Read GetManagementExperimentsInstance;
- Property ManagementFiltersResource : TManagementFiltersResource Read GetManagementFiltersInstance;
- Property ManagementGoalsResource : TManagementGoalsResource Read GetManagementGoalsInstance;
- Property ManagementProfileFilterLinksResource : TManagementProfileFilterLinksResource Read GetManagementProfileFilterLinksInstance;
- Property ManagementProfileUserLinksResource : TManagementProfileUserLinksResource Read GetManagementProfileUserLinksInstance;
- Property ManagementProfilesResource : TManagementProfilesResource Read GetManagementProfilesInstance;
- Property ManagementSegmentsResource : TManagementSegmentsResource Read GetManagementSegmentsInstance;
- Property ManagementUnsampledReportsResource : TManagementUnsampledReportsResource Read GetManagementUnsampledReportsInstance;
- Property ManagementUploadsResource : TManagementUploadsResource Read GetManagementUploadsInstance;
- Property ManagementWebPropertyAdWordsLinksResource : TManagementWebPropertyAdWordsLinksResource Read GetManagementWebPropertyAdWordsLinksInstance;
- Property ManagementWebpropertiesResource : TManagementWebpropertiesResource Read GetManagementWebpropertiesInstance;
- Property ManagementWebpropertyUserLinksResource : TManagementWebpropertyUserLinksResource Read GetManagementWebpropertyUserLinksInstance;
- Property ManagementResource : TManagementResource Read GetManagementInstance;
- Property MetadataColumnsResource : TMetadataColumnsResource Read GetMetadataColumnsInstance;
- Property MetadataResource : TMetadataResource Read GetMetadataInstance;
- Property ProvisioningResource : TProvisioningResource Read GetProvisioningInstance;
- end;
- implementation
- { --------------------------------------------------------------------
- TAccountTypechildLink
- --------------------------------------------------------------------}
- Procedure TAccountTypechildLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountTypechildLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TAccountTypechildLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TAccountTypepermissions
- --------------------------------------------------------------------}
- Procedure TAccountTypepermissions.Seteffective(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Feffective=AValue) then exit;
- Feffective:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TAccountTypepermissions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'effective' : SetLength(Feffective,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TAccount
- --------------------------------------------------------------------}
- Procedure TAccount.SetchildLink(AIndex : Integer; const AValue : TAccountTypechildLink);
- begin
- If (FchildLink=AValue) then exit;
- FchildLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setpermissions(AIndex : Integer; const AValue : TAccountTypepermissions);
- begin
- If (Fpermissions=AValue) then exit;
- Fpermissions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setstarred(AIndex : Integer; const AValue : boolean);
- begin
- If (Fstarred=AValue) then exit;
- Fstarred:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccount.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TAccountRef
- --------------------------------------------------------------------}
- Procedure TAccountRef.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountRef.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountRef.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountRef.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TAccountSummaries
- --------------------------------------------------------------------}
- Procedure TAccountSummaries.Setitems(AIndex : Integer; const AValue : TAccountSummariesTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummaries.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TAccountSummaries.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TAccountSummary
- --------------------------------------------------------------------}
- Procedure TAccountSummary.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummary.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummary.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummary.Setstarred(AIndex : Integer; const AValue : boolean);
- begin
- If (Fstarred=AValue) then exit;
- Fstarred:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountSummary.SetwebProperties(AIndex : Integer; const AValue : TAccountSummaryTypewebPropertiesArray);
- begin
- If (FwebProperties=AValue) then exit;
- FwebProperties:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TAccountSummary.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'webproperties' : SetLength(FwebProperties,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TAccountTicket
- --------------------------------------------------------------------}
- Procedure TAccountTicket.Setaccount(AIndex : Integer; const AValue : TAccount);
- begin
- If (Faccount=AValue) then exit;
- Faccount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountTicket.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountTicket.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountTicket.Setprofile(AIndex : Integer; const AValue : TProfile);
- begin
- If (Fprofile=AValue) then exit;
- Fprofile:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountTicket.SetredirectUri(AIndex : Integer; const AValue : String);
- begin
- If (FredirectUri=AValue) then exit;
- FredirectUri:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccountTicket.Setwebproperty(AIndex : Integer; const AValue : TWebproperty);
- begin
- If (Fwebproperty=AValue) then exit;
- Fwebproperty:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TAccounts
- --------------------------------------------------------------------}
- Procedure TAccounts.Setitems(AIndex : Integer; const AValue : TAccountsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccounts.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TAccounts.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TAdWordsAccount
- --------------------------------------------------------------------}
- Procedure TAdWordsAccount.SetautoTaggingEnabled(AIndex : Integer; const AValue : boolean);
- begin
- If (FautoTaggingEnabled=AValue) then exit;
- FautoTaggingEnabled:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAdWordsAccount.SetcustomerId(AIndex : Integer; const AValue : String);
- begin
- If (FcustomerId=AValue) then exit;
- FcustomerId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAdWordsAccount.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TAnalyticsDataimportDeleteUploadDataRequest
- --------------------------------------------------------------------}
- Procedure TAnalyticsDataimportDeleteUploadDataRequest.SetcustomDataImportUids(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FcustomDataImportUids=AValue) then exit;
- FcustomDataImportUids:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TAnalyticsDataimportDeleteUploadDataRequest.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'customdataimportuids' : SetLength(FcustomDataImportUids,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TColumnTypeattributes
- --------------------------------------------------------------------}
- Class Function TColumnTypeattributes.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TColumn
- --------------------------------------------------------------------}
- Procedure TColumn.Setattributes(AIndex : Integer; const AValue : TColumnTypeattributes);
- begin
- If (Fattributes=AValue) then exit;
- Fattributes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TColumn.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TColumn.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TColumns
- --------------------------------------------------------------------}
- Procedure TColumns.SetattributeNames(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FattributeNames=AValue) then exit;
- FattributeNames:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TColumns.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TColumns.Setitems(AIndex : Integer; const AValue : TColumnsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TColumns.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TColumns.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TColumns.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'attributenames' : SetLength(FattributeNames,ALength);
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCustomDataSourceTypechildLink
- --------------------------------------------------------------------}
- Procedure TCustomDataSourceTypechildLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSourceTypechildLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TCustomDataSourceTypechildLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TCustomDataSourceTypeparentLink
- --------------------------------------------------------------------}
- Procedure TCustomDataSourceTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSourceTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TCustomDataSourceTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TCustomDataSource
- --------------------------------------------------------------------}
- Procedure TCustomDataSource.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetchildLink(AIndex : Integer; const AValue : TCustomDataSourceTypechildLink);
- begin
- If (FchildLink=AValue) then exit;
- FchildLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetimportBehavior(AIndex : Integer; const AValue : String);
- begin
- If (FimportBehavior=AValue) then exit;
- FimportBehavior:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetparentLink(AIndex : Integer; const AValue : TCustomDataSourceTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetprofilesLinked(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FprofilesLinked=AValue) then exit;
- FprofilesLinked:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetuploadType(AIndex : Integer; const AValue : String);
- begin
- If (FuploadType=AValue) then exit;
- FuploadType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSource.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TCustomDataSource.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCustomDataSource.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'profileslinked' : SetLength(FprofilesLinked,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCustomDataSources
- --------------------------------------------------------------------}
- Procedure TCustomDataSources.Setitems(AIndex : Integer; const AValue : TCustomDataSourcesTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDataSources.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCustomDataSources.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCustomDimensionTypeparentLink
- --------------------------------------------------------------------}
- Procedure TCustomDimensionTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensionTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TCustomDimensionTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TCustomDimension
- --------------------------------------------------------------------}
- Procedure TCustomDimension.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setactive(AIndex : Integer; const AValue : boolean);
- begin
- If (Factive=AValue) then exit;
- Factive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setindex(AIndex : Integer; const AValue : integer);
- begin
- If (Findex=AValue) then exit;
- Findex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.SetparentLink(AIndex : Integer; const AValue : TCustomDimensionTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setscope(AIndex : Integer; const AValue : String);
- begin
- If (Fscope=AValue) then exit;
- Fscope:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimension.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TCustomDimensions
- --------------------------------------------------------------------}
- Procedure TCustomDimensions.Setitems(AIndex : Integer; const AValue : TCustomDimensionsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomDimensions.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCustomDimensions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCustomMetricTypeparentLink
- --------------------------------------------------------------------}
- Procedure TCustomMetricTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetricTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TCustomMetricTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TCustomMetric
- --------------------------------------------------------------------}
- Procedure TCustomMetric.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setactive(AIndex : Integer; const AValue : boolean);
- begin
- If (Factive=AValue) then exit;
- Factive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setindex(AIndex : Integer; const AValue : integer);
- begin
- If (Findex=AValue) then exit;
- Findex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setmax_value(AIndex : Integer; const AValue : String);
- begin
- If (Fmax_value=AValue) then exit;
- Fmax_value:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setmin_value(AIndex : Integer; const AValue : String);
- begin
- If (Fmin_value=AValue) then exit;
- Fmin_value:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.SetparentLink(AIndex : Integer; const AValue : TCustomMetricTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setscope(AIndex : Integer; const AValue : String);
- begin
- If (Fscope=AValue) then exit;
- Fscope:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetric.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TCustomMetric.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TCustomMetrics
- --------------------------------------------------------------------}
- Procedure TCustomMetrics.Setitems(AIndex : Integer; const AValue : TCustomMetricsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCustomMetrics.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCustomMetrics.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TEntityAdWordsLinkTypeentity
- --------------------------------------------------------------------}
- Procedure TEntityAdWordsLinkTypeentity.SetwebPropertyRef(AIndex : Integer; const AValue : TWebPropertyRef);
- begin
- If (FwebPropertyRef=AValue) then exit;
- FwebPropertyRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TEntityAdWordsLink
- --------------------------------------------------------------------}
- Procedure TEntityAdWordsLink.SetadWordsAccounts(AIndex : Integer; const AValue : TEntityAdWordsLinkTypeadWordsAccountsArray);
- begin
- If (FadWordsAccounts=AValue) then exit;
- FadWordsAccounts:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLink.Setentity(AIndex : Integer; const AValue : TEntityAdWordsLinkTypeentity);
- begin
- If (Fentity=AValue) then exit;
- Fentity:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLink.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLink.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLink.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLink.SetprofileIds(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FprofileIds=AValue) then exit;
- FprofileIds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLink.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TEntityAdWordsLink.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'adwordsaccounts' : SetLength(FadWordsAccounts,ALength);
- 'profileids' : SetLength(FprofileIds,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TEntityAdWordsLinks
- --------------------------------------------------------------------}
- Procedure TEntityAdWordsLinks.Setitems(AIndex : Integer; const AValue : TEntityAdWordsLinksTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLinks.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLinks.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLinks.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLinks.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLinks.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityAdWordsLinks.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TEntityAdWordsLinks.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TEntityUserLinkTypeentity
- --------------------------------------------------------------------}
- Procedure TEntityUserLinkTypeentity.SetaccountRef(AIndex : Integer; const AValue : TAccountRef);
- begin
- If (FaccountRef=AValue) then exit;
- FaccountRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinkTypeentity.SetprofileRef(AIndex : Integer; const AValue : TProfileRef);
- begin
- If (FprofileRef=AValue) then exit;
- FprofileRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinkTypeentity.SetwebPropertyRef(AIndex : Integer; const AValue : TWebPropertyRef);
- begin
- If (FwebPropertyRef=AValue) then exit;
- FwebPropertyRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TEntityUserLinkTypepermissions
- --------------------------------------------------------------------}
- Procedure TEntityUserLinkTypepermissions.Seteffective(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Feffective=AValue) then exit;
- Feffective:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinkTypepermissions.Setlocal(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Flocal=AValue) then exit;
- Flocal:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TEntityUserLinkTypepermissions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'effective' : SetLength(Feffective,ALength);
- 'local' : SetLength(Flocal,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TEntityUserLink
- --------------------------------------------------------------------}
- Procedure TEntityUserLink.Setentity(AIndex : Integer; const AValue : TEntityUserLinkTypeentity);
- begin
- If (Fentity=AValue) then exit;
- Fentity:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLink.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLink.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLink.Setpermissions(AIndex : Integer; const AValue : TEntityUserLinkTypepermissions);
- begin
- If (Fpermissions=AValue) then exit;
- Fpermissions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLink.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLink.SetuserRef(AIndex : Integer; const AValue : TUserRef);
- begin
- If (FuserRef=AValue) then exit;
- FuserRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TEntityUserLinks
- --------------------------------------------------------------------}
- Procedure TEntityUserLinks.Setitems(AIndex : Integer; const AValue : TEntityUserLinksTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinks.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinks.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinks.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinks.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinks.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TEntityUserLinks.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TEntityUserLinks.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TExperimentTypeparentLink
- --------------------------------------------------------------------}
- Procedure TExperimentTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperimentTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TExperimentTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TExperimentTypevariationsItem
- --------------------------------------------------------------------}
- Procedure TExperimentTypevariationsItem.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperimentTypevariationsItem.Setstatus(AIndex : Integer; const AValue : String);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperimentTypevariationsItem.Seturl(AIndex : Integer; const AValue : String);
- begin
- If (Furl=AValue) then exit;
- Furl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperimentTypevariationsItem.Setweight(AIndex : Integer; const AValue : double);
- begin
- If (Fweight=AValue) then exit;
- Fweight:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperimentTypevariationsItem.Setwon(AIndex : Integer; const AValue : boolean);
- begin
- If (Fwon=AValue) then exit;
- Fwon:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TExperiment
- --------------------------------------------------------------------}
- Procedure TExperiment.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SeteditableInGaUi(AIndex : Integer; const AValue : boolean);
- begin
- If (FeditableInGaUi=AValue) then exit;
- FeditableInGaUi:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetendTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FendTime=AValue) then exit;
- FendTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetequalWeighting(AIndex : Integer; const AValue : boolean);
- begin
- If (FequalWeighting=AValue) then exit;
- FequalWeighting:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetminimumExperimentLengthInDays(AIndex : Integer; const AValue : integer);
- begin
- If (FminimumExperimentLengthInDays=AValue) then exit;
- FminimumExperimentLengthInDays:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetobjectiveMetric(AIndex : Integer; const AValue : String);
- begin
- If (FobjectiveMetric=AValue) then exit;
- FobjectiveMetric:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetoptimizationType(AIndex : Integer; const AValue : String);
- begin
- If (FoptimizationType=AValue) then exit;
- FoptimizationType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetparentLink(AIndex : Integer; const AValue : TExperimentTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetprofileId(AIndex : Integer; const AValue : String);
- begin
- If (FprofileId=AValue) then exit;
- FprofileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetreasonExperimentEnded(AIndex : Integer; const AValue : String);
- begin
- If (FreasonExperimentEnded=AValue) then exit;
- FreasonExperimentEnded:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetrewriteVariationUrlsAsOriginal(AIndex : Integer; const AValue : boolean);
- begin
- If (FrewriteVariationUrlsAsOriginal=AValue) then exit;
- FrewriteVariationUrlsAsOriginal:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetservingFramework(AIndex : Integer; const AValue : String);
- begin
- If (FservingFramework=AValue) then exit;
- FservingFramework:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setsnippet(AIndex : Integer; const AValue : String);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetstartTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FstartTime=AValue) then exit;
- FstartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setstatus(AIndex : Integer; const AValue : String);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SettrafficCoverage(AIndex : Integer; const AValue : double);
- begin
- If (FtrafficCoverage=AValue) then exit;
- FtrafficCoverage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.Setvariations(AIndex : Integer; const AValue : TExperimentTypevariationsArray);
- begin
- If (Fvariations=AValue) then exit;
- Fvariations:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetwinnerConfidenceLevel(AIndex : Integer; const AValue : double);
- begin
- If (FwinnerConfidenceLevel=AValue) then exit;
- FwinnerConfidenceLevel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiment.SetwinnerFound(AIndex : Integer; const AValue : boolean);
- begin
- If (FwinnerFound=AValue) then exit;
- FwinnerFound:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TExperiment.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'variations' : SetLength(Fvariations,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TExperiments
- --------------------------------------------------------------------}
- Procedure TExperiments.Setitems(AIndex : Integer; const AValue : TExperimentsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExperiments.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TExperiments.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TFilterTypeadvancedDetails
- --------------------------------------------------------------------}
- Procedure TFilterTypeadvancedDetails.SetcaseSensitive(AIndex : Integer; const AValue : boolean);
- begin
- If (FcaseSensitive=AValue) then exit;
- FcaseSensitive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetextractA(AIndex : Integer; const AValue : String);
- begin
- If (FextractA=AValue) then exit;
- FextractA:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetextractB(AIndex : Integer; const AValue : String);
- begin
- If (FextractB=AValue) then exit;
- FextractB:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetfieldA(AIndex : Integer; const AValue : String);
- begin
- If (FfieldA=AValue) then exit;
- FfieldA:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetfieldAIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FfieldAIndex=AValue) then exit;
- FfieldAIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetfieldARequired(AIndex : Integer; const AValue : boolean);
- begin
- If (FfieldARequired=AValue) then exit;
- FfieldARequired:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetfieldB(AIndex : Integer; const AValue : String);
- begin
- If (FfieldB=AValue) then exit;
- FfieldB:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetfieldBIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FfieldBIndex=AValue) then exit;
- FfieldBIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetfieldBRequired(AIndex : Integer; const AValue : boolean);
- begin
- If (FfieldBRequired=AValue) then exit;
- FfieldBRequired:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetoutputConstructor(AIndex : Integer; const AValue : String);
- begin
- If (FoutputConstructor=AValue) then exit;
- FoutputConstructor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetoutputToField(AIndex : Integer; const AValue : String);
- begin
- If (FoutputToField=AValue) then exit;
- FoutputToField:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetoutputToFieldIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FoutputToFieldIndex=AValue) then exit;
- FoutputToFieldIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeadvancedDetails.SetoverrideOutputField(AIndex : Integer; const AValue : boolean);
- begin
- If (FoverrideOutputField=AValue) then exit;
- FoverrideOutputField:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFilterTypelowercaseDetails
- --------------------------------------------------------------------}
- Procedure TFilterTypelowercaseDetails.Setfield(AIndex : Integer; const AValue : String);
- begin
- If (Ffield=AValue) then exit;
- Ffield:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypelowercaseDetails.SetfieldIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FfieldIndex=AValue) then exit;
- FfieldIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFilterTypeparentLink
- --------------------------------------------------------------------}
- Procedure TFilterTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TFilterTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TFilterTypesearchAndReplaceDetails
- --------------------------------------------------------------------}
- Procedure TFilterTypesearchAndReplaceDetails.SetcaseSensitive(AIndex : Integer; const AValue : boolean);
- begin
- If (FcaseSensitive=AValue) then exit;
- FcaseSensitive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypesearchAndReplaceDetails.Setfield(AIndex : Integer; const AValue : String);
- begin
- If (Ffield=AValue) then exit;
- Ffield:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypesearchAndReplaceDetails.SetfieldIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FfieldIndex=AValue) then exit;
- FfieldIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypesearchAndReplaceDetails.SetreplaceString(AIndex : Integer; const AValue : String);
- begin
- If (FreplaceString=AValue) then exit;
- FreplaceString:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypesearchAndReplaceDetails.SetsearchString(AIndex : Integer; const AValue : String);
- begin
- If (FsearchString=AValue) then exit;
- FsearchString:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFilterTypeuppercaseDetails
- --------------------------------------------------------------------}
- Procedure TFilterTypeuppercaseDetails.Setfield(AIndex : Integer; const AValue : String);
- begin
- If (Ffield=AValue) then exit;
- Ffield:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterTypeuppercaseDetails.SetfieldIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FfieldIndex=AValue) then exit;
- FfieldIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFilter
- --------------------------------------------------------------------}
- Procedure TFilter.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetadvancedDetails(AIndex : Integer; const AValue : TFilterTypeadvancedDetails);
- begin
- If (FadvancedDetails=AValue) then exit;
- FadvancedDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetexcludeDetails(AIndex : Integer; const AValue : TFilterExpression);
- begin
- If (FexcludeDetails=AValue) then exit;
- FexcludeDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetincludeDetails(AIndex : Integer; const AValue : TFilterExpression);
- begin
- If (FincludeDetails=AValue) then exit;
- FincludeDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetlowercaseDetails(AIndex : Integer; const AValue : TFilterTypelowercaseDetails);
- begin
- If (FlowercaseDetails=AValue) then exit;
- FlowercaseDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetparentLink(AIndex : Integer; const AValue : TFilterTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetsearchAndReplaceDetails(AIndex : Integer; const AValue : TFilterTypesearchAndReplaceDetails);
- begin
- If (FsearchAndReplaceDetails=AValue) then exit;
- FsearchAndReplaceDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilter.SetuppercaseDetails(AIndex : Integer; const AValue : TFilterTypeuppercaseDetails);
- begin
- If (FuppercaseDetails=AValue) then exit;
- FuppercaseDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TFilter.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TFilterExpression
- --------------------------------------------------------------------}
- Procedure TFilterExpression.SetcaseSensitive(AIndex : Integer; const AValue : boolean);
- begin
- If (FcaseSensitive=AValue) then exit;
- FcaseSensitive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterExpression.SetexpressionValue(AIndex : Integer; const AValue : String);
- begin
- If (FexpressionValue=AValue) then exit;
- FexpressionValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterExpression.Setfield(AIndex : Integer; const AValue : String);
- begin
- If (Ffield=AValue) then exit;
- Ffield:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterExpression.SetfieldIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FfieldIndex=AValue) then exit;
- FfieldIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterExpression.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterExpression.SetmatchType(AIndex : Integer; const AValue : String);
- begin
- If (FmatchType=AValue) then exit;
- FmatchType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFilterRef
- --------------------------------------------------------------------}
- Procedure TFilterRef.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterRef.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterRef.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterRef.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilterRef.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFilters
- --------------------------------------------------------------------}
- Procedure TFilters.Setitems(AIndex : Integer; const AValue : TFiltersTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFilters.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TFilters.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGaDataTypecolumnHeadersItem
- --------------------------------------------------------------------}
- Procedure TGaDataTypecolumnHeadersItem.SetcolumnType(AIndex : Integer; const AValue : String);
- begin
- If (FcolumnType=AValue) then exit;
- FcolumnType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypecolumnHeadersItem.SetdataType(AIndex : Integer; const AValue : String);
- begin
- If (FdataType=AValue) then exit;
- FdataType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypecolumnHeadersItem.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGaDataTypedataTableTypecolsItem
- --------------------------------------------------------------------}
- Procedure TGaDataTypedataTableTypecolsItem.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypedataTableTypecolsItem.Set_label(AIndex : Integer; const AValue : String);
- begin
- If (F_label=AValue) then exit;
- F_label:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypedataTableTypecolsItem.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TGaDataTypedataTableTypecolsItem.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_label' : Result:='label';
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TGaDataTypedataTableTyperowsItemTypecItem
- --------------------------------------------------------------------}
- Procedure TGaDataTypedataTableTyperowsItemTypecItem.Setv(AIndex : Integer; const AValue : String);
- begin
- If (Fv=AValue) then exit;
- Fv:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGaDataTypedataTableTyperowsItem
- --------------------------------------------------------------------}
- Procedure TGaDataTypedataTableTyperowsItem.Setc(AIndex : Integer; const AValue : TGaDataTypedataTableTyperowsItemTypecArray);
- begin
- If (Fc=AValue) then exit;
- Fc:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGaDataTypedataTableTyperowsItem.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'c' : SetLength(Fc,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGaDataTypedataTable
- --------------------------------------------------------------------}
- Procedure TGaDataTypedataTable.Setcols(AIndex : Integer; const AValue : TGaDataTypedataTableTypecolsArray);
- begin
- If (Fcols=AValue) then exit;
- Fcols:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypedataTable.Setrows(AIndex : Integer; const AValue : TGaDataTypedataTableTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGaDataTypedataTable.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'cols' : SetLength(Fcols,ALength);
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGaDataTypeprofileInfo
- --------------------------------------------------------------------}
- Procedure TGaDataTypeprofileInfo.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypeprofileInfo.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypeprofileInfo.SetprofileId(AIndex : Integer; const AValue : String);
- begin
- If (FprofileId=AValue) then exit;
- FprofileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypeprofileInfo.SetprofileName(AIndex : Integer; const AValue : String);
- begin
- If (FprofileName=AValue) then exit;
- FprofileName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypeprofileInfo.SettableId(AIndex : Integer; const AValue : String);
- begin
- If (FtableId=AValue) then exit;
- FtableId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypeprofileInfo.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGaDataTypequery
- --------------------------------------------------------------------}
- Procedure TGaDataTypequery.Setdimensions(AIndex : Integer; const AValue : String);
- begin
- If (Fdimensions=AValue) then exit;
- Fdimensions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setenddate(AIndex : Integer; const AValue : String);
- begin
- If (Fenddate=AValue) then exit;
- Fenddate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setfilters(AIndex : Integer; const AValue : String);
- begin
- If (Ffilters=AValue) then exit;
- Ffilters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setids(AIndex : Integer; const AValue : String);
- begin
- If (Fids=AValue) then exit;
- Fids:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setmaxresults(AIndex : Integer; const AValue : integer);
- begin
- If (Fmaxresults=AValue) then exit;
- Fmaxresults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setmetrics(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fmetrics=AValue) then exit;
- Fmetrics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.SetsamplingLevel(AIndex : Integer; const AValue : String);
- begin
- If (FsamplingLevel=AValue) then exit;
- FsamplingLevel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setsegment(AIndex : Integer; const AValue : String);
- begin
- If (Fsegment=AValue) then exit;
- Fsegment:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setsort(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fsort=AValue) then exit;
- Fsort:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setstartdate(AIndex : Integer; const AValue : String);
- begin
- If (Fstartdate=AValue) then exit;
- Fstartdate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaDataTypequery.Setstartindex(AIndex : Integer; const AValue : integer);
- begin
- If (Fstartindex=AValue) then exit;
- Fstartindex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TGaDataTypequery.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- 'enddate' : Result:='end-date';
- 'maxresults' : Result:='max-results';
- 'startdate' : Result:='start-date';
- 'startindex' : Result:='start-index';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGaDataTypequery.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'metrics' : SetLength(Fmetrics,ALength);
- 'sort' : SetLength(Fsort,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGaDataTypetotalsForAllResults
- --------------------------------------------------------------------}
- Class Function TGaDataTypetotalsForAllResults.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TGaData
- --------------------------------------------------------------------}
- Procedure TGaData.SetcolumnHeaders(AIndex : Integer; const AValue : TGaDataTypecolumnHeadersArray);
- begin
- If (FcolumnHeaders=AValue) then exit;
- FcolumnHeaders:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetcontainsSampledData(AIndex : Integer; const AValue : boolean);
- begin
- If (FcontainsSampledData=AValue) then exit;
- FcontainsSampledData:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetdataTable(AIndex : Integer; const AValue : TGaDataTypedataTable);
- begin
- If (FdataTable=AValue) then exit;
- FdataTable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetprofileInfo(AIndex : Integer; const AValue : TGaDataTypeprofileInfo);
- begin
- If (FprofileInfo=AValue) then exit;
- FprofileInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.Setquery(AIndex : Integer; const AValue : TGaDataTypequery);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.Setrows(AIndex : Integer; const AValue : TGaDataTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetsampleSize(AIndex : Integer; const AValue : String);
- begin
- If (FsampleSize=AValue) then exit;
- FsampleSize:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetsampleSpace(AIndex : Integer; const AValue : String);
- begin
- If (FsampleSpace=AValue) then exit;
- FsampleSpace:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGaData.SettotalsForAllResults(AIndex : Integer; const AValue : TGaDataTypetotalsForAllResults);
- begin
- If (FtotalsForAllResults=AValue) then exit;
- FtotalsForAllResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGaData.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'columnheaders' : SetLength(FcolumnHeaders,ALength);
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGoalTypeeventDetailsTypeeventConditionsItem
- --------------------------------------------------------------------}
- Procedure TGoalTypeeventDetailsTypeeventConditionsItem.SetcomparisonType(AIndex : Integer; const AValue : String);
- begin
- If (FcomparisonType=AValue) then exit;
- FcomparisonType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeeventDetailsTypeeventConditionsItem.SetcomparisonValue(AIndex : Integer; const AValue : String);
- begin
- If (FcomparisonValue=AValue) then exit;
- FcomparisonValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeeventDetailsTypeeventConditionsItem.Setexpression(AIndex : Integer; const AValue : String);
- begin
- If (Fexpression=AValue) then exit;
- Fexpression:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeeventDetailsTypeeventConditionsItem.SetmatchType(AIndex : Integer; const AValue : String);
- begin
- If (FmatchType=AValue) then exit;
- FmatchType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeeventDetailsTypeeventConditionsItem.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TGoalTypeeventDetailsTypeeventConditionsItem.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TGoalTypeeventDetails
- --------------------------------------------------------------------}
- Procedure TGoalTypeeventDetails.SeteventConditions(AIndex : Integer; const AValue : TGoalTypeeventDetailsTypeeventConditionsArray);
- begin
- If (FeventConditions=AValue) then exit;
- FeventConditions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeeventDetails.SetuseEventValue(AIndex : Integer; const AValue : boolean);
- begin
- If (FuseEventValue=AValue) then exit;
- FuseEventValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGoalTypeeventDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'eventconditions' : SetLength(FeventConditions,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGoalTypeparentLink
- --------------------------------------------------------------------}
- Procedure TGoalTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TGoalTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TGoalTypeurlDestinationDetailsTypestepsItem
- --------------------------------------------------------------------}
- Procedure TGoalTypeurlDestinationDetailsTypestepsItem.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeurlDestinationDetailsTypestepsItem.Setnumber(AIndex : Integer; const AValue : integer);
- begin
- If (Fnumber=AValue) then exit;
- Fnumber:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeurlDestinationDetailsTypestepsItem.Seturl(AIndex : Integer; const AValue : String);
- begin
- If (Furl=AValue) then exit;
- Furl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGoalTypeurlDestinationDetails
- --------------------------------------------------------------------}
- Procedure TGoalTypeurlDestinationDetails.SetcaseSensitive(AIndex : Integer; const AValue : boolean);
- begin
- If (FcaseSensitive=AValue) then exit;
- FcaseSensitive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeurlDestinationDetails.SetfirstStepRequired(AIndex : Integer; const AValue : boolean);
- begin
- If (FfirstStepRequired=AValue) then exit;
- FfirstStepRequired:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeurlDestinationDetails.SetmatchType(AIndex : Integer; const AValue : String);
- begin
- If (FmatchType=AValue) then exit;
- FmatchType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeurlDestinationDetails.Setsteps(AIndex : Integer; const AValue : TGoalTypeurlDestinationDetailsTypestepsArray);
- begin
- If (Fsteps=AValue) then exit;
- Fsteps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypeurlDestinationDetails.Seturl(AIndex : Integer; const AValue : String);
- begin
- If (Furl=AValue) then exit;
- Furl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGoalTypeurlDestinationDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'steps' : SetLength(Fsteps,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGoalTypevisitNumPagesDetails
- --------------------------------------------------------------------}
- Procedure TGoalTypevisitNumPagesDetails.SetcomparisonType(AIndex : Integer; const AValue : String);
- begin
- If (FcomparisonType=AValue) then exit;
- FcomparisonType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypevisitNumPagesDetails.SetcomparisonValue(AIndex : Integer; const AValue : String);
- begin
- If (FcomparisonValue=AValue) then exit;
- FcomparisonValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGoalTypevisitTimeOnSiteDetails
- --------------------------------------------------------------------}
- Procedure TGoalTypevisitTimeOnSiteDetails.SetcomparisonType(AIndex : Integer; const AValue : String);
- begin
- If (FcomparisonType=AValue) then exit;
- FcomparisonType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoalTypevisitTimeOnSiteDetails.SetcomparisonValue(AIndex : Integer; const AValue : String);
- begin
- If (FcomparisonValue=AValue) then exit;
- FcomparisonValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGoal
- --------------------------------------------------------------------}
- Procedure TGoal.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setactive(AIndex : Integer; const AValue : boolean);
- begin
- If (Factive=AValue) then exit;
- Factive:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SeteventDetails(AIndex : Integer; const AValue : TGoalTypeeventDetails);
- begin
- If (FeventDetails=AValue) then exit;
- FeventDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetparentLink(AIndex : Integer; const AValue : TGoalTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetprofileId(AIndex : Integer; const AValue : String);
- begin
- If (FprofileId=AValue) then exit;
- FprofileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SeturlDestinationDetails(AIndex : Integer; const AValue : TGoalTypeurlDestinationDetails);
- begin
- If (FurlDestinationDetails=AValue) then exit;
- FurlDestinationDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.Setvalue(AIndex : Integer; const AValue : integer);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetvisitNumPagesDetails(AIndex : Integer; const AValue : TGoalTypevisitNumPagesDetails);
- begin
- If (FvisitNumPagesDetails=AValue) then exit;
- FvisitNumPagesDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetvisitTimeOnSiteDetails(AIndex : Integer; const AValue : TGoalTypevisitTimeOnSiteDetails);
- begin
- If (FvisitTimeOnSiteDetails=AValue) then exit;
- FvisitTimeOnSiteDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoal.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TGoal.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TGoals
- --------------------------------------------------------------------}
- Procedure TGoals.Setitems(AIndex : Integer; const AValue : TGoalsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGoals.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGoals.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TMcfDataTypecolumnHeadersItem
- --------------------------------------------------------------------}
- Procedure TMcfDataTypecolumnHeadersItem.SetcolumnType(AIndex : Integer; const AValue : String);
- begin
- If (FcolumnType=AValue) then exit;
- FcolumnType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypecolumnHeadersItem.SetdataType(AIndex : Integer; const AValue : String);
- begin
- If (FdataType=AValue) then exit;
- FdataType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypecolumnHeadersItem.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TMcfDataTypeprofileInfo
- --------------------------------------------------------------------}
- Procedure TMcfDataTypeprofileInfo.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypeprofileInfo.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypeprofileInfo.SetprofileId(AIndex : Integer; const AValue : String);
- begin
- If (FprofileId=AValue) then exit;
- FprofileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypeprofileInfo.SetprofileName(AIndex : Integer; const AValue : String);
- begin
- If (FprofileName=AValue) then exit;
- FprofileName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypeprofileInfo.SettableId(AIndex : Integer; const AValue : String);
- begin
- If (FtableId=AValue) then exit;
- FtableId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypeprofileInfo.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TMcfDataTypequery
- --------------------------------------------------------------------}
- Procedure TMcfDataTypequery.Setdimensions(AIndex : Integer; const AValue : String);
- begin
- If (Fdimensions=AValue) then exit;
- Fdimensions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setenddate(AIndex : Integer; const AValue : String);
- begin
- If (Fenddate=AValue) then exit;
- Fenddate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setfilters(AIndex : Integer; const AValue : String);
- begin
- If (Ffilters=AValue) then exit;
- Ffilters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setids(AIndex : Integer; const AValue : String);
- begin
- If (Fids=AValue) then exit;
- Fids:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setmaxresults(AIndex : Integer; const AValue : integer);
- begin
- If (Fmaxresults=AValue) then exit;
- Fmaxresults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setmetrics(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fmetrics=AValue) then exit;
- Fmetrics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.SetsamplingLevel(AIndex : Integer; const AValue : String);
- begin
- If (FsamplingLevel=AValue) then exit;
- FsamplingLevel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setsegment(AIndex : Integer; const AValue : String);
- begin
- If (Fsegment=AValue) then exit;
- Fsegment:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setsort(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fsort=AValue) then exit;
- Fsort:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setstartdate(AIndex : Integer; const AValue : String);
- begin
- If (Fstartdate=AValue) then exit;
- Fstartdate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTypequery.Setstartindex(AIndex : Integer; const AValue : integer);
- begin
- If (Fstartindex=AValue) then exit;
- Fstartindex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TMcfDataTypequery.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- 'enddate' : Result:='end-date';
- 'maxresults' : Result:='max-results';
- 'startdate' : Result:='start-date';
- 'startindex' : Result:='start-index';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TMcfDataTypequery.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'metrics' : SetLength(Fmetrics,ALength);
- 'sort' : SetLength(Fsort,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TMcfDataTyperowsItemItemTypeconversionPathValueItem
- --------------------------------------------------------------------}
- Procedure TMcfDataTyperowsItemItemTypeconversionPathValueItem.SetinteractionType(AIndex : Integer; const AValue : String);
- begin
- If (FinteractionType=AValue) then exit;
- FinteractionType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTyperowsItemItemTypeconversionPathValueItem.SetnodeValue(AIndex : Integer; const AValue : String);
- begin
- If (FnodeValue=AValue) then exit;
- FnodeValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TMcfDataTyperowsItemItem
- --------------------------------------------------------------------}
- Procedure TMcfDataTyperowsItemItem.SetconversionPathValue(AIndex : Integer; const AValue : TMcfDataTyperowsItemItemTypeconversionPathValueArray);
- begin
- If (FconversionPathValue=AValue) then exit;
- FconversionPathValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfDataTyperowsItemItem.SetprimitiveValue(AIndex : Integer; const AValue : String);
- begin
- If (FprimitiveValue=AValue) then exit;
- FprimitiveValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TMcfDataTyperowsItemItem.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'conversionpathvalue' : SetLength(FconversionPathValue,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TMcfDataTypetotalsForAllResults
- --------------------------------------------------------------------}
- Class Function TMcfDataTypetotalsForAllResults.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TMcfData
- --------------------------------------------------------------------}
- Procedure TMcfData.SetcolumnHeaders(AIndex : Integer; const AValue : TMcfDataTypecolumnHeadersArray);
- begin
- If (FcolumnHeaders=AValue) then exit;
- FcolumnHeaders:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetcontainsSampledData(AIndex : Integer; const AValue : boolean);
- begin
- If (FcontainsSampledData=AValue) then exit;
- FcontainsSampledData:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetprofileInfo(AIndex : Integer; const AValue : TMcfDataTypeprofileInfo);
- begin
- If (FprofileInfo=AValue) then exit;
- FprofileInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.Setquery(AIndex : Integer; const AValue : TMcfDataTypequery);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.Setrows(AIndex : Integer; const AValue : TMcfDataTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetsampleSize(AIndex : Integer; const AValue : String);
- begin
- If (FsampleSize=AValue) then exit;
- FsampleSize:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetsampleSpace(AIndex : Integer; const AValue : String);
- begin
- If (FsampleSpace=AValue) then exit;
- FsampleSpace:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMcfData.SettotalsForAllResults(AIndex : Integer; const AValue : TMcfDataTypetotalsForAllResults);
- begin
- If (FtotalsForAllResults=AValue) then exit;
- FtotalsForAllResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TMcfData.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'columnheaders' : SetLength(FcolumnHeaders,ALength);
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TProfileTypechildLink
- --------------------------------------------------------------------}
- Procedure TProfileTypechildLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileTypechildLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TProfileTypechildLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TProfileTypeparentLink
- --------------------------------------------------------------------}
- Procedure TProfileTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TProfileTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TProfileTypepermissions
- --------------------------------------------------------------------}
- Procedure TProfileTypepermissions.Seteffective(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Feffective=AValue) then exit;
- Feffective:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TProfileTypepermissions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'effective' : SetLength(Feffective,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TProfile
- --------------------------------------------------------------------}
- Procedure TProfile.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetbotFilteringEnabled(AIndex : Integer; const AValue : boolean);
- begin
- If (FbotFilteringEnabled=AValue) then exit;
- FbotFilteringEnabled:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetchildLink(AIndex : Integer; const AValue : TProfileTypechildLink);
- begin
- If (FchildLink=AValue) then exit;
- FchildLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setcurrency(AIndex : Integer; const AValue : String);
- begin
- If (Fcurrency=AValue) then exit;
- Fcurrency:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetdefaultPage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultPage=AValue) then exit;
- FdefaultPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SeteCommerceTracking(AIndex : Integer; const AValue : boolean);
- begin
- If (FeCommerceTracking=AValue) then exit;
- FeCommerceTracking:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetenhancedECommerceTracking(AIndex : Integer; const AValue : boolean);
- begin
- If (FenhancedECommerceTracking=AValue) then exit;
- FenhancedECommerceTracking:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetexcludeQueryParameters(AIndex : Integer; const AValue : String);
- begin
- If (FexcludeQueryParameters=AValue) then exit;
- FexcludeQueryParameters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetparentLink(AIndex : Integer; const AValue : TProfileTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setpermissions(AIndex : Integer; const AValue : TProfileTypepermissions);
- begin
- If (Fpermissions=AValue) then exit;
- Fpermissions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetsiteSearchCategoryParameters(AIndex : Integer; const AValue : String);
- begin
- If (FsiteSearchCategoryParameters=AValue) then exit;
- FsiteSearchCategoryParameters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetsiteSearchQueryParameters(AIndex : Integer; const AValue : String);
- begin
- If (FsiteSearchQueryParameters=AValue) then exit;
- FsiteSearchQueryParameters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setstarred(AIndex : Integer; const AValue : boolean);
- begin
- If (Fstarred=AValue) then exit;
- Fstarred:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetstripSiteSearchCategoryParameters(AIndex : Integer; const AValue : boolean);
- begin
- If (FstripSiteSearchCategoryParameters=AValue) then exit;
- FstripSiteSearchCategoryParameters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetstripSiteSearchQueryParameters(AIndex : Integer; const AValue : boolean);
- begin
- If (FstripSiteSearchQueryParameters=AValue) then exit;
- FstripSiteSearchQueryParameters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Settimezone(AIndex : Integer; const AValue : String);
- begin
- If (Ftimezone=AValue) then exit;
- Ftimezone:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfile.SetwebsiteUrl(AIndex : Integer; const AValue : String);
- begin
- If (FwebsiteUrl=AValue) then exit;
- FwebsiteUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TProfile.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TProfileFilterLink
- --------------------------------------------------------------------}
- Procedure TProfileFilterLink.SetfilterRef(AIndex : Integer; const AValue : TFilterRef);
- begin
- If (FfilterRef=AValue) then exit;
- FfilterRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLink.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLink.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLink.SetprofileRef(AIndex : Integer; const AValue : TProfileRef);
- begin
- If (FprofileRef=AValue) then exit;
- FprofileRef:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLink.Setrank(AIndex : Integer; const AValue : integer);
- begin
- If (Frank=AValue) then exit;
- Frank:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLink.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TProfileFilterLinks
- --------------------------------------------------------------------}
- Procedure TProfileFilterLinks.Setitems(AIndex : Integer; const AValue : TProfileFilterLinksTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileFilterLinks.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TProfileFilterLinks.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TProfileRef
- --------------------------------------------------------------------}
- Procedure TProfileRef.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileRef.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileRef.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileRef.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileRef.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileRef.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileRef.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TProfileSummary
- --------------------------------------------------------------------}
- Procedure TProfileSummary.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileSummary.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileSummary.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileSummary.Setstarred(AIndex : Integer; const AValue : boolean);
- begin
- If (Fstarred=AValue) then exit;
- Fstarred:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfileSummary.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TProfileSummary.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TProfiles
- --------------------------------------------------------------------}
- Procedure TProfiles.Setitems(AIndex : Integer; const AValue : TProfilesTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProfiles.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TProfiles.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TRealtimeDataTypecolumnHeadersItem
- --------------------------------------------------------------------}
- Procedure TRealtimeDataTypecolumnHeadersItem.SetcolumnType(AIndex : Integer; const AValue : String);
- begin
- If (FcolumnType=AValue) then exit;
- FcolumnType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypecolumnHeadersItem.SetdataType(AIndex : Integer; const AValue : String);
- begin
- If (FdataType=AValue) then exit;
- FdataType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypecolumnHeadersItem.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TRealtimeDataTypeprofileInfo
- --------------------------------------------------------------------}
- Procedure TRealtimeDataTypeprofileInfo.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypeprofileInfo.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypeprofileInfo.SetprofileId(AIndex : Integer; const AValue : String);
- begin
- If (FprofileId=AValue) then exit;
- FprofileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypeprofileInfo.SetprofileName(AIndex : Integer; const AValue : String);
- begin
- If (FprofileName=AValue) then exit;
- FprofileName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypeprofileInfo.SettableId(AIndex : Integer; const AValue : String);
- begin
- If (FtableId=AValue) then exit;
- FtableId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypeprofileInfo.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TRealtimeDataTypequery
- --------------------------------------------------------------------}
- Procedure TRealtimeDataTypequery.Setdimensions(AIndex : Integer; const AValue : String);
- begin
- If (Fdimensions=AValue) then exit;
- Fdimensions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypequery.Setfilters(AIndex : Integer; const AValue : String);
- begin
- If (Ffilters=AValue) then exit;
- Ffilters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypequery.Setids(AIndex : Integer; const AValue : String);
- begin
- If (Fids=AValue) then exit;
- Fids:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypequery.Setmaxresults(AIndex : Integer; const AValue : integer);
- begin
- If (Fmaxresults=AValue) then exit;
- Fmaxresults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypequery.Setmetrics(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fmetrics=AValue) then exit;
- Fmetrics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeDataTypequery.Setsort(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fsort=AValue) then exit;
- Fsort:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TRealtimeDataTypequery.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- 'maxresults' : Result:='max-results';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TRealtimeDataTypequery.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'metrics' : SetLength(Fmetrics,ALength);
- 'sort' : SetLength(Fsort,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TRealtimeDataTypetotalsForAllResults
- --------------------------------------------------------------------}
- Class Function TRealtimeDataTypetotalsForAllResults.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TRealtimeData
- --------------------------------------------------------------------}
- Procedure TRealtimeData.SetcolumnHeaders(AIndex : Integer; const AValue : TRealtimeDataTypecolumnHeadersArray);
- begin
- If (FcolumnHeaders=AValue) then exit;
- FcolumnHeaders:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.SetprofileInfo(AIndex : Integer; const AValue : TRealtimeDataTypeprofileInfo);
- begin
- If (FprofileInfo=AValue) then exit;
- FprofileInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.Setquery(AIndex : Integer; const AValue : TRealtimeDataTypequery);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.Setrows(AIndex : Integer; const AValue : TRealtimeDataTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TRealtimeData.SettotalsForAllResults(AIndex : Integer; const AValue : TRealtimeDataTypetotalsForAllResults);
- begin
- If (FtotalsForAllResults=AValue) then exit;
- FtotalsForAllResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TRealtimeData.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'columnheaders' : SetLength(FcolumnHeaders,ALength);
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSegment
- --------------------------------------------------------------------}
- Procedure TSegment.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.Setdefinition(AIndex : Integer; const AValue : String);
- begin
- If (Fdefinition=AValue) then exit;
- Fdefinition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.SetsegmentId(AIndex : Integer; const AValue : String);
- begin
- If (FsegmentId=AValue) then exit;
- FsegmentId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegment.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TSegment.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TSegments
- --------------------------------------------------------------------}
- Procedure TSegments.Setitems(AIndex : Integer; const AValue : TSegmentsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSegments.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TSegments.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TUnsampledReportTypecloudStorageDownloadDetails
- --------------------------------------------------------------------}
- Procedure TUnsampledReportTypecloudStorageDownloadDetails.SetbucketId(AIndex : Integer; const AValue : String);
- begin
- If (FbucketId=AValue) then exit;
- FbucketId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReportTypecloudStorageDownloadDetails.SetobjectId(AIndex : Integer; const AValue : String);
- begin
- If (FobjectId=AValue) then exit;
- FobjectId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TUnsampledReportTypedriveDownloadDetails
- --------------------------------------------------------------------}
- Procedure TUnsampledReportTypedriveDownloadDetails.SetdocumentId(AIndex : Integer; const AValue : String);
- begin
- If (FdocumentId=AValue) then exit;
- FdocumentId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TUnsampledReport
- --------------------------------------------------------------------}
- Procedure TUnsampledReport.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.SetcloudStorageDownloadDetails(AIndex : Integer; const AValue : TUnsampledReportTypecloudStorageDownloadDetails);
- begin
- If (FcloudStorageDownloadDetails=AValue) then exit;
- FcloudStorageDownloadDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setdimensions(AIndex : Integer; const AValue : String);
- begin
- If (Fdimensions=AValue) then exit;
- Fdimensions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.SetdownloadType(AIndex : Integer; const AValue : String);
- begin
- If (FdownloadType=AValue) then exit;
- FdownloadType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.SetdriveDownloadDetails(AIndex : Integer; const AValue : TUnsampledReportTypedriveDownloadDetails);
- begin
- If (FdriveDownloadDetails=AValue) then exit;
- FdriveDownloadDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setenddate(AIndex : Integer; const AValue : String);
- begin
- If (Fenddate=AValue) then exit;
- Fenddate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setfilters(AIndex : Integer; const AValue : String);
- begin
- If (Ffilters=AValue) then exit;
- Ffilters:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setmetrics(AIndex : Integer; const AValue : String);
- begin
- If (Fmetrics=AValue) then exit;
- Fmetrics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.SetprofileId(AIndex : Integer; const AValue : String);
- begin
- If (FprofileId=AValue) then exit;
- FprofileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setsegment(AIndex : Integer; const AValue : String);
- begin
- If (Fsegment=AValue) then exit;
- Fsegment:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setstartdate(AIndex : Integer; const AValue : String);
- begin
- If (Fstartdate=AValue) then exit;
- Fstartdate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setstatus(AIndex : Integer; const AValue : String);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReport.SetwebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FwebPropertyId=AValue) then exit;
- FwebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TUnsampledReport.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- 'enddate' : Result:='end-date';
- 'startdate' : Result:='start-date';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TUnsampledReports
- --------------------------------------------------------------------}
- Procedure TUnsampledReports.Setitems(AIndex : Integer; const AValue : TUnsampledReportsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUnsampledReports.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TUnsampledReports.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TUpload
- --------------------------------------------------------------------}
- Procedure TUpload.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUpload.SetcustomDataSourceId(AIndex : Integer; const AValue : String);
- begin
- If (FcustomDataSourceId=AValue) then exit;
- FcustomDataSourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUpload.Seterrors(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Ferrors=AValue) then exit;
- Ferrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUpload.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUpload.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUpload.Setstatus(AIndex : Integer; const AValue : String);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TUpload.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'errors' : SetLength(Ferrors,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TUploads
- --------------------------------------------------------------------}
- Procedure TUploads.Setitems(AIndex : Integer; const AValue : TUploadsTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUploads.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUploads.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUploads.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUploads.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUploads.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUploads.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TUploads.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TUserRef
- --------------------------------------------------------------------}
- Procedure TUserRef.Setemail(AIndex : Integer; const AValue : String);
- begin
- If (Femail=AValue) then exit;
- Femail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUserRef.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUserRef.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TWebPropertyRef
- --------------------------------------------------------------------}
- Procedure TWebPropertyRef.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertyRef.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertyRef.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertyRef.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertyRef.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertyRef.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TWebPropertySummary
- --------------------------------------------------------------------}
- Procedure TWebPropertySummary.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.Setlevel(AIndex : Integer; const AValue : String);
- begin
- If (Flevel=AValue) then exit;
- Flevel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.Setprofiles(AIndex : Integer; const AValue : TWebPropertySummaryTypeprofilesArray);
- begin
- If (Fprofiles=AValue) then exit;
- Fprofiles:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.Setstarred(AIndex : Integer; const AValue : boolean);
- begin
- If (Fstarred=AValue) then exit;
- Fstarred:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebPropertySummary.SetwebsiteUrl(AIndex : Integer; const AValue : String);
- begin
- If (FwebsiteUrl=AValue) then exit;
- FwebsiteUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TWebPropertySummary.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'profiles' : SetLength(Fprofiles,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TWebproperties
- --------------------------------------------------------------------}
- Procedure TWebproperties.Setitems(AIndex : Integer; const AValue : TWebpropertiesTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.SetitemsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FitemsPerPage=AValue) then exit;
- FitemsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.SetnextLink(AIndex : Integer; const AValue : String);
- begin
- If (FnextLink=AValue) then exit;
- FnextLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.SetpreviousLink(AIndex : Integer; const AValue : String);
- begin
- If (FpreviousLink=AValue) then exit;
- FpreviousLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.SetstartIndex(AIndex : Integer; const AValue : integer);
- begin
- If (FstartIndex=AValue) then exit;
- FstartIndex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperties.Setusername(AIndex : Integer; const AValue : String);
- begin
- If (Fusername=AValue) then exit;
- Fusername:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TWebproperties.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TWebpropertyTypechildLink
- --------------------------------------------------------------------}
- Procedure TWebpropertyTypechildLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebpropertyTypechildLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TWebpropertyTypechildLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TWebpropertyTypeparentLink
- --------------------------------------------------------------------}
- Procedure TWebpropertyTypeparentLink.Sethref(AIndex : Integer; const AValue : String);
- begin
- If (Fhref=AValue) then exit;
- Fhref:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebpropertyTypeparentLink.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TWebpropertyTypeparentLink.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TWebpropertyTypepermissions
- --------------------------------------------------------------------}
- Procedure TWebpropertyTypepermissions.Seteffective(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Feffective=AValue) then exit;
- Feffective:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TWebpropertyTypepermissions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'effective' : SetLength(Feffective,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TWebproperty
- --------------------------------------------------------------------}
- Procedure TWebproperty.SetaccountId(AIndex : Integer; const AValue : String);
- begin
- If (FaccountId=AValue) then exit;
- FaccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetchildLink(AIndex : Integer; const AValue : TWebpropertyTypechildLink);
- begin
- If (FchildLink=AValue) then exit;
- FchildLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setcreated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fcreated=AValue) then exit;
- Fcreated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetdefaultProfileId(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultProfileId=AValue) then exit;
- FdefaultProfileId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetindustryVertical(AIndex : Integer; const AValue : String);
- begin
- If (FindustryVertical=AValue) then exit;
- FindustryVertical:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetinternalWebPropertyId(AIndex : Integer; const AValue : String);
- begin
- If (FinternalWebPropertyId=AValue) then exit;
- FinternalWebPropertyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setlevel(AIndex : Integer; const AValue : String);
- begin
- If (Flevel=AValue) then exit;
- Flevel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetparentLink(AIndex : Integer; const AValue : TWebpropertyTypeparentLink);
- begin
- If (FparentLink=AValue) then exit;
- FparentLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setpermissions(AIndex : Integer; const AValue : TWebpropertyTypepermissions);
- begin
- If (Fpermissions=AValue) then exit;
- Fpermissions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetprofileCount(AIndex : Integer; const AValue : integer);
- begin
- If (FprofileCount=AValue) then exit;
- FprofileCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setstarred(AIndex : Integer; const AValue : boolean);
- begin
- If (Fstarred=AValue) then exit;
- Fstarred:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.Setupdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (Fupdated=AValue) then exit;
- Fupdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWebproperty.SetwebsiteUrl(AIndex : Integer; const AValue : String);
- begin
- If (FwebsiteUrl=AValue) then exit;
- FwebsiteUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDataGaResource
- --------------------------------------------------------------------}
- Class Function TDataGaResource.ResourceName : String;
- begin
- Result:='ga';
- end;
- Class Function TDataGaResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TDataGaResource.Get(AQuery : string = '') : TGaData;
- Const
- _HTTPMethod = 'GET';
- _Path = 'data/ga';
- _Methodid = 'analytics.data.ga.get';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TGaData) as TGaData;
- end;
- Function TDataGaResource.Get(AQuery : TDataGagetOptions) : TGaData;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'dimensions',AQuery.dimensions);
- AddToQuery(_Q,'end-date',AQuery.enddate);
- AddToQuery(_Q,'filters',AQuery.filters);
- AddToQuery(_Q,'ids',AQuery.ids);
- AddToQuery(_Q,'include-empty-rows',AQuery.includeemptyrows);
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'metrics',AQuery.metrics);
- AddToQuery(_Q,'output',AQuery.output);
- AddToQuery(_Q,'samplingLevel',AQuery.samplingLevel);
- AddToQuery(_Q,'segment',AQuery.segment);
- AddToQuery(_Q,'sort',AQuery.sort);
- AddToQuery(_Q,'start-date',AQuery.startdate);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=Get(_Q);
- end;
- { --------------------------------------------------------------------
- TDataMcfResource
- --------------------------------------------------------------------}
- Class Function TDataMcfResource.ResourceName : String;
- begin
- Result:='mcf';
- end;
- Class Function TDataMcfResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TDataMcfResource.Get(AQuery : string = '') : TMcfData;
- Const
- _HTTPMethod = 'GET';
- _Path = 'data/mcf';
- _Methodid = 'analytics.data.mcf.get';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TMcfData) as TMcfData;
- end;
- Function TDataMcfResource.Get(AQuery : TDataMcfgetOptions) : TMcfData;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'dimensions',AQuery.dimensions);
- AddToQuery(_Q,'end-date',AQuery.enddate);
- AddToQuery(_Q,'filters',AQuery.filters);
- AddToQuery(_Q,'ids',AQuery.ids);
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'metrics',AQuery.metrics);
- AddToQuery(_Q,'samplingLevel',AQuery.samplingLevel);
- AddToQuery(_Q,'sort',AQuery.sort);
- AddToQuery(_Q,'start-date',AQuery.startdate);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=Get(_Q);
- end;
- { --------------------------------------------------------------------
- TDataRealtimeResource
- --------------------------------------------------------------------}
- Class Function TDataRealtimeResource.ResourceName : String;
- begin
- Result:='realtime';
- end;
- Class Function TDataRealtimeResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TDataRealtimeResource.Get(AQuery : string = '') : TRealtimeData;
- Const
- _HTTPMethod = 'GET';
- _Path = 'data/realtime';
- _Methodid = 'analytics.data.realtime.get';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TRealtimeData) as TRealtimeData;
- end;
- Function TDataRealtimeResource.Get(AQuery : TDataRealtimegetOptions) : TRealtimeData;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'dimensions',AQuery.dimensions);
- AddToQuery(_Q,'filters',AQuery.filters);
- AddToQuery(_Q,'ids',AQuery.ids);
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'metrics',AQuery.metrics);
- AddToQuery(_Q,'sort',AQuery.sort);
- Result:=Get(_Q);
- end;
- { --------------------------------------------------------------------
- TDataResource
- --------------------------------------------------------------------}
- Class Function TDataResource.ResourceName : String;
- begin
- Result:='data';
- end;
- Class Function TDataResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TDataResource.GetGaInstance : TDataGaResource;
- begin
- if (FGaInstance=Nil) then
- FGaInstance:=CreateGaResource;
- Result:=FGaInstance;
- end;
- Function TDataResource.CreateGaResource : TDataGaResource;
- begin
- Result:=CreateGaResource(Self);
- end;
- Function TDataResource.CreateGaResource(AOwner : TComponent) : TDataGaResource;
- begin
- Result:=TDataGaResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TDataResource.GetMcfInstance : TDataMcfResource;
- begin
- if (FMcfInstance=Nil) then
- FMcfInstance:=CreateMcfResource;
- Result:=FMcfInstance;
- end;
- Function TDataResource.CreateMcfResource : TDataMcfResource;
- begin
- Result:=CreateMcfResource(Self);
- end;
- Function TDataResource.CreateMcfResource(AOwner : TComponent) : TDataMcfResource;
- begin
- Result:=TDataMcfResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TDataResource.GetRealtimeInstance : TDataRealtimeResource;
- begin
- if (FRealtimeInstance=Nil) then
- FRealtimeInstance:=CreateRealtimeResource;
- Result:=FRealtimeInstance;
- end;
- Function TDataResource.CreateRealtimeResource : TDataRealtimeResource;
- begin
- Result:=CreateRealtimeResource(Self);
- end;
- Function TDataResource.CreateRealtimeResource(AOwner : TComponent) : TDataRealtimeResource;
- begin
- Result:=TDataRealtimeResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TManagementAccountSummariesResource
- --------------------------------------------------------------------}
- Class Function TManagementAccountSummariesResource.ResourceName : String;
- begin
- Result:='accountSummaries';
- end;
- Class Function TManagementAccountSummariesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementAccountSummariesResource.List(AQuery : string = '') : TAccountSummaries;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accountSummaries';
- _Methodid = 'analytics.management.accountSummaries.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TAccountSummaries) as TAccountSummaries;
- end;
- Function TManagementAccountSummariesResource.List(AQuery : TManagementAccountSummarieslistOptions) : TAccountSummaries;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TManagementAccountUserLinksResource
- --------------------------------------------------------------------}
- Class Function TManagementAccountUserLinksResource.ResourceName : String;
- begin
- Result:='accountUserLinks';
- end;
- Class Function TManagementAccountUserLinksResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementAccountUserLinksResource.Delete(accountId: string; linkId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/entityUserLinks/{linkId}';
- _Methodid = 'analytics.management.accountUserLinks.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementAccountUserLinksResource.Insert(accountId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/entityUserLinks';
- _Methodid = 'analytics.management.accountUserLinks.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityUserLink,TEntityUserLink) as TEntityUserLink;
- end;
- Function TManagementAccountUserLinksResource.List(accountId: string; AQuery : string = '') : TEntityUserLinks;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/entityUserLinks';
- _Methodid = 'analytics.management.accountUserLinks.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TEntityUserLinks) as TEntityUserLinks;
- end;
- Function TManagementAccountUserLinksResource.List(accountId: string; AQuery : TManagementAccountUserLinkslistOptions) : TEntityUserLinks;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,_Q);
- end;
- Function TManagementAccountUserLinksResource.Update(accountId: string; linkId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/entityUserLinks/{linkId}';
- _Methodid = 'analytics.management.accountUserLinks.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityUserLink,TEntityUserLink) as TEntityUserLink;
- end;
- { --------------------------------------------------------------------
- TManagementAccountsResource
- --------------------------------------------------------------------}
- Class Function TManagementAccountsResource.ResourceName : String;
- begin
- Result:='accounts';
- end;
- Class Function TManagementAccountsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementAccountsResource.List(AQuery : string = '') : TAccounts;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts';
- _Methodid = 'analytics.management.accounts.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TAccounts) as TAccounts;
- end;
- Function TManagementAccountsResource.List(AQuery : TManagementAccountslistOptions) : TAccounts;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TManagementCustomDataSourcesResource
- --------------------------------------------------------------------}
- Class Function TManagementCustomDataSourcesResource.ResourceName : String;
- begin
- Result:='customDataSources';
- end;
- Class Function TManagementCustomDataSourcesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementCustomDataSourcesResource.List(accountId: string; webPropertyId: string; AQuery : string = '') : TCustomDataSources;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources';
- _Methodid = 'analytics.management.customDataSources.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCustomDataSources) as TCustomDataSources;
- end;
- Function TManagementCustomDataSourcesResource.List(accountId: string; webPropertyId: string; AQuery : TManagementCustomDataSourceslistOptions) : TCustomDataSources;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,webPropertyId,_Q);
- end;
- { --------------------------------------------------------------------
- TManagementCustomDimensionsResource
- --------------------------------------------------------------------}
- Class Function TManagementCustomDimensionsResource.ResourceName : String;
- begin
- Result:='customDimensions';
- end;
- Class Function TManagementCustomDimensionsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementCustomDimensionsResource.Get(accountId: string; customDimensionId: string; webPropertyId: string) : TCustomDimension;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}';
- _Methodid = 'analytics.management.customDimensions.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDimensionId',customDimensionId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCustomDimension) as TCustomDimension;
- end;
- Function TManagementCustomDimensionsResource.Insert(accountId: string; webPropertyId: string; aCustomDimension : TCustomDimension) : TCustomDimension;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions';
- _Methodid = 'analytics.management.customDimensions.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aCustomDimension,TCustomDimension) as TCustomDimension;
- end;
- Function TManagementCustomDimensionsResource.List(accountId: string; webPropertyId: string; AQuery : string = '') : TCustomDimensions;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions';
- _Methodid = 'analytics.management.customDimensions.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCustomDimensions) as TCustomDimensions;
- end;
- Function TManagementCustomDimensionsResource.List(accountId: string; webPropertyId: string; AQuery : TManagementCustomDimensionslistOptions) : TCustomDimensions;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,webPropertyId,_Q);
- end;
- Function TManagementCustomDimensionsResource.Patch(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : string = '') : TCustomDimension;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}';
- _Methodid = 'analytics.management.customDimensions.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDimensionId',customDimensionId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCustomDimension,TCustomDimension) as TCustomDimension;
- end;
- Function TManagementCustomDimensionsResource.Patch(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : TManagementCustomDimensionspatchOptions) : TCustomDimension;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'ignoreCustomDataSourceLinks',AQuery.ignoreCustomDataSourceLinks);
- Result:=Patch(accountId,customDimensionId,webPropertyId,aCustomDimension,_Q);
- end;
- Function TManagementCustomDimensionsResource.Update(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : string = '') : TCustomDimension;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}';
- _Methodid = 'analytics.management.customDimensions.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDimensionId',customDimensionId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCustomDimension,TCustomDimension) as TCustomDimension;
- end;
- Function TManagementCustomDimensionsResource.Update(accountId: string; customDimensionId: string; webPropertyId: string; aCustomDimension : TCustomDimension; AQuery : TManagementCustomDimensionsupdateOptions) : TCustomDimension;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'ignoreCustomDataSourceLinks',AQuery.ignoreCustomDataSourceLinks);
- Result:=Update(accountId,customDimensionId,webPropertyId,aCustomDimension,_Q);
- end;
- { --------------------------------------------------------------------
- TManagementCustomMetricsResource
- --------------------------------------------------------------------}
- Class Function TManagementCustomMetricsResource.ResourceName : String;
- begin
- Result:='customMetrics';
- end;
- Class Function TManagementCustomMetricsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementCustomMetricsResource.Get(accountId: string; customMetricId: string; webPropertyId: string) : TCustomMetric;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}';
- _Methodid = 'analytics.management.customMetrics.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customMetricId',customMetricId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCustomMetric) as TCustomMetric;
- end;
- Function TManagementCustomMetricsResource.Insert(accountId: string; webPropertyId: string; aCustomMetric : TCustomMetric) : TCustomMetric;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics';
- _Methodid = 'analytics.management.customMetrics.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aCustomMetric,TCustomMetric) as TCustomMetric;
- end;
- Function TManagementCustomMetricsResource.List(accountId: string; webPropertyId: string; AQuery : string = '') : TCustomMetrics;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics';
- _Methodid = 'analytics.management.customMetrics.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TCustomMetrics) as TCustomMetrics;
- end;
- Function TManagementCustomMetricsResource.List(accountId: string; webPropertyId: string; AQuery : TManagementCustomMetricslistOptions) : TCustomMetrics;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,webPropertyId,_Q);
- end;
- Function TManagementCustomMetricsResource.Patch(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : string = '') : TCustomMetric;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}';
- _Methodid = 'analytics.management.customMetrics.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customMetricId',customMetricId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCustomMetric,TCustomMetric) as TCustomMetric;
- end;
- Function TManagementCustomMetricsResource.Patch(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : TManagementCustomMetricspatchOptions) : TCustomMetric;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'ignoreCustomDataSourceLinks',AQuery.ignoreCustomDataSourceLinks);
- Result:=Patch(accountId,customMetricId,webPropertyId,aCustomMetric,_Q);
- end;
- Function TManagementCustomMetricsResource.Update(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : string = '') : TCustomMetric;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}';
- _Methodid = 'analytics.management.customMetrics.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customMetricId',customMetricId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCustomMetric,TCustomMetric) as TCustomMetric;
- end;
- Function TManagementCustomMetricsResource.Update(accountId: string; customMetricId: string; webPropertyId: string; aCustomMetric : TCustomMetric; AQuery : TManagementCustomMetricsupdateOptions) : TCustomMetric;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'ignoreCustomDataSourceLinks',AQuery.ignoreCustomDataSourceLinks);
- Result:=Update(accountId,customMetricId,webPropertyId,aCustomMetric,_Q);
- end;
- { --------------------------------------------------------------------
- TManagementExperimentsResource
- --------------------------------------------------------------------}
- Class Function TManagementExperimentsResource.ResourceName : String;
- begin
- Result:='experiments';
- end;
- Class Function TManagementExperimentsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementExperimentsResource.Delete(accountId: string; experimentId: string; profileId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}';
- _Methodid = 'analytics.management.experiments.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'experimentId',experimentId,'profileId',profileId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementExperimentsResource.Get(accountId: string; experimentId: string; profileId: string; webPropertyId: string) : TExperiment;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}';
- _Methodid = 'analytics.management.experiments.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'experimentId',experimentId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TExperiment) as TExperiment;
- end;
- Function TManagementExperimentsResource.Insert(accountId: string; profileId: string; webPropertyId: string; aExperiment : TExperiment) : TExperiment;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments';
- _Methodid = 'analytics.management.experiments.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aExperiment,TExperiment) as TExperiment;
- end;
- Function TManagementExperimentsResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TExperiments;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments';
- _Methodid = 'analytics.management.experiments.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TExperiments) as TExperiments;
- end;
- Function TManagementExperimentsResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementExperimentslistOptions) : TExperiments;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,profileId,webPropertyId,_Q);
- end;
- Function TManagementExperimentsResource.Patch(accountId: string; experimentId: string; profileId: string; webPropertyId: string; aExperiment : TExperiment) : TExperiment;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}';
- _Methodid = 'analytics.management.experiments.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'experimentId',experimentId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aExperiment,TExperiment) as TExperiment;
- end;
- Function TManagementExperimentsResource.Update(accountId: string; experimentId: string; profileId: string; webPropertyId: string; aExperiment : TExperiment) : TExperiment;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}';
- _Methodid = 'analytics.management.experiments.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'experimentId',experimentId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aExperiment,TExperiment) as TExperiment;
- end;
- { --------------------------------------------------------------------
- TManagementFiltersResource
- --------------------------------------------------------------------}
- Class Function TManagementFiltersResource.ResourceName : String;
- begin
- Result:='filters';
- end;
- Class Function TManagementFiltersResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementFiltersResource.Delete(accountId: string; filterId: string) : TFilter;
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/filters/{filterId}';
- _Methodid = 'analytics.management.filters.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'filterId',filterId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFilter) as TFilter;
- end;
- Function TManagementFiltersResource.Get(accountId: string; filterId: string) : TFilter;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/filters/{filterId}';
- _Methodid = 'analytics.management.filters.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'filterId',filterId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFilter) as TFilter;
- end;
- Function TManagementFiltersResource.Insert(accountId: string; aFilter : TFilter) : TFilter;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/filters';
- _Methodid = 'analytics.management.filters.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aFilter,TFilter) as TFilter;
- end;
- Function TManagementFiltersResource.List(accountId: string; AQuery : string = '') : TFilters;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/filters';
- _Methodid = 'analytics.management.filters.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFilters) as TFilters;
- end;
- Function TManagementFiltersResource.List(accountId: string; AQuery : TManagementFilterslistOptions) : TFilters;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,_Q);
- end;
- Function TManagementFiltersResource.Patch(accountId: string; filterId: string; aFilter : TFilter) : TFilter;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/filters/{filterId}';
- _Methodid = 'analytics.management.filters.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'filterId',filterId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aFilter,TFilter) as TFilter;
- end;
- Function TManagementFiltersResource.Update(accountId: string; filterId: string; aFilter : TFilter) : TFilter;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/filters/{filterId}';
- _Methodid = 'analytics.management.filters.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'filterId',filterId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aFilter,TFilter) as TFilter;
- end;
- { --------------------------------------------------------------------
- TManagementGoalsResource
- --------------------------------------------------------------------}
- Class Function TManagementGoalsResource.ResourceName : String;
- begin
- Result:='goals';
- end;
- Class Function TManagementGoalsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementGoalsResource.Get(accountId: string; goalId: string; profileId: string; webPropertyId: string) : TGoal;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}';
- _Methodid = 'analytics.management.goals.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'goalId',goalId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TGoal) as TGoal;
- end;
- Function TManagementGoalsResource.Insert(accountId: string; profileId: string; webPropertyId: string; aGoal : TGoal) : TGoal;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals';
- _Methodid = 'analytics.management.goals.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aGoal,TGoal) as TGoal;
- end;
- Function TManagementGoalsResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TGoals;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals';
- _Methodid = 'analytics.management.goals.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TGoals) as TGoals;
- end;
- Function TManagementGoalsResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementGoalslistOptions) : TGoals;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,profileId,webPropertyId,_Q);
- end;
- Function TManagementGoalsResource.Patch(accountId: string; goalId: string; profileId: string; webPropertyId: string; aGoal : TGoal) : TGoal;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}';
- _Methodid = 'analytics.management.goals.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'goalId',goalId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aGoal,TGoal) as TGoal;
- end;
- Function TManagementGoalsResource.Update(accountId: string; goalId: string; profileId: string; webPropertyId: string; aGoal : TGoal) : TGoal;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}';
- _Methodid = 'analytics.management.goals.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'goalId',goalId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aGoal,TGoal) as TGoal;
- end;
- { --------------------------------------------------------------------
- TManagementProfileFilterLinksResource
- --------------------------------------------------------------------}
- Class Function TManagementProfileFilterLinksResource.ResourceName : String;
- begin
- Result:='profileFilterLinks';
- end;
- Class Function TManagementProfileFilterLinksResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementProfileFilterLinksResource.Delete(accountId: string; linkId: string; profileId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}';
- _Methodid = 'analytics.management.profileFilterLinks.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'profileId',profileId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementProfileFilterLinksResource.Get(accountId: string; linkId: string; profileId: string; webPropertyId: string) : TProfileFilterLink;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}';
- _Methodid = 'analytics.management.profileFilterLinks.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TProfileFilterLink) as TProfileFilterLink;
- end;
- Function TManagementProfileFilterLinksResource.Insert(accountId: string; profileId: string; webPropertyId: string; aProfileFilterLink : TProfileFilterLink) : TProfileFilterLink;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks';
- _Methodid = 'analytics.management.profileFilterLinks.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aProfileFilterLink,TProfileFilterLink) as TProfileFilterLink;
- end;
- Function TManagementProfileFilterLinksResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TProfileFilterLinks;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks';
- _Methodid = 'analytics.management.profileFilterLinks.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TProfileFilterLinks) as TProfileFilterLinks;
- end;
- Function TManagementProfileFilterLinksResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementProfileFilterLinkslistOptions) : TProfileFilterLinks;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,profileId,webPropertyId,_Q);
- end;
- Function TManagementProfileFilterLinksResource.Patch(accountId: string; linkId: string; profileId: string; webPropertyId: string; aProfileFilterLink : TProfileFilterLink) : TProfileFilterLink;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}';
- _Methodid = 'analytics.management.profileFilterLinks.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aProfileFilterLink,TProfileFilterLink) as TProfileFilterLink;
- end;
- Function TManagementProfileFilterLinksResource.Update(accountId: string; linkId: string; profileId: string; webPropertyId: string; aProfileFilterLink : TProfileFilterLink) : TProfileFilterLink;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}';
- _Methodid = 'analytics.management.profileFilterLinks.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aProfileFilterLink,TProfileFilterLink) as TProfileFilterLink;
- end;
- { --------------------------------------------------------------------
- TManagementProfileUserLinksResource
- --------------------------------------------------------------------}
- Class Function TManagementProfileUserLinksResource.ResourceName : String;
- begin
- Result:='profileUserLinks';
- end;
- Class Function TManagementProfileUserLinksResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementProfileUserLinksResource.Delete(accountId: string; linkId: string; profileId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}';
- _Methodid = 'analytics.management.profileUserLinks.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'profileId',profileId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementProfileUserLinksResource.Insert(accountId: string; profileId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks';
- _Methodid = 'analytics.management.profileUserLinks.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityUserLink,TEntityUserLink) as TEntityUserLink;
- end;
- Function TManagementProfileUserLinksResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TEntityUserLinks;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks';
- _Methodid = 'analytics.management.profileUserLinks.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TEntityUserLinks) as TEntityUserLinks;
- end;
- Function TManagementProfileUserLinksResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementProfileUserLinkslistOptions) : TEntityUserLinks;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,profileId,webPropertyId,_Q);
- end;
- Function TManagementProfileUserLinksResource.Update(accountId: string; linkId: string; profileId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}';
- _Methodid = 'analytics.management.profileUserLinks.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityUserLink,TEntityUserLink) as TEntityUserLink;
- end;
- { --------------------------------------------------------------------
- TManagementProfilesResource
- --------------------------------------------------------------------}
- Class Function TManagementProfilesResource.ResourceName : String;
- begin
- Result:='profiles';
- end;
- Class Function TManagementProfilesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementProfilesResource.Delete(accountId: string; profileId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}';
- _Methodid = 'analytics.management.profiles.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementProfilesResource.Get(accountId: string; profileId: string; webPropertyId: string) : TProfile;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}';
- _Methodid = 'analytics.management.profiles.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TProfile) as TProfile;
- end;
- Function TManagementProfilesResource.Insert(accountId: string; webPropertyId: string; aProfile : TProfile) : TProfile;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles';
- _Methodid = 'analytics.management.profiles.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aProfile,TProfile) as TProfile;
- end;
- Function TManagementProfilesResource.List(accountId: string; webPropertyId: string; AQuery : string = '') : TProfiles;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles';
- _Methodid = 'analytics.management.profiles.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TProfiles) as TProfiles;
- end;
- Function TManagementProfilesResource.List(accountId: string; webPropertyId: string; AQuery : TManagementProfileslistOptions) : TProfiles;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,webPropertyId,_Q);
- end;
- Function TManagementProfilesResource.Patch(accountId: string; profileId: string; webPropertyId: string; aProfile : TProfile) : TProfile;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}';
- _Methodid = 'analytics.management.profiles.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aProfile,TProfile) as TProfile;
- end;
- Function TManagementProfilesResource.Update(accountId: string; profileId: string; webPropertyId: string; aProfile : TProfile) : TProfile;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}';
- _Methodid = 'analytics.management.profiles.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aProfile,TProfile) as TProfile;
- end;
- { --------------------------------------------------------------------
- TManagementSegmentsResource
- --------------------------------------------------------------------}
- Class Function TManagementSegmentsResource.ResourceName : String;
- begin
- Result:='segments';
- end;
- Class Function TManagementSegmentsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementSegmentsResource.List(AQuery : string = '') : TSegments;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/segments';
- _Methodid = 'analytics.management.segments.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TSegments) as TSegments;
- end;
- Function TManagementSegmentsResource.List(AQuery : TManagementSegmentslistOptions) : TSegments;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TManagementUnsampledReportsResource
- --------------------------------------------------------------------}
- Class Function TManagementUnsampledReportsResource.ResourceName : String;
- begin
- Result:='unsampledReports';
- end;
- Class Function TManagementUnsampledReportsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementUnsampledReportsResource.Delete(accountId: string; profileId: string; unsampledReportId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}';
- _Methodid = 'analytics.management.unsampledReports.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'unsampledReportId',unsampledReportId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementUnsampledReportsResource.Get(accountId: string; profileId: string; unsampledReportId: string; webPropertyId: string) : TUnsampledReport;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}';
- _Methodid = 'analytics.management.unsampledReports.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'unsampledReportId',unsampledReportId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUnsampledReport) as TUnsampledReport;
- end;
- Function TManagementUnsampledReportsResource.Insert(accountId: string; profileId: string; webPropertyId: string; aUnsampledReport : TUnsampledReport) : TUnsampledReport;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports';
- _Methodid = 'analytics.management.unsampledReports.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aUnsampledReport,TUnsampledReport) as TUnsampledReport;
- end;
- Function TManagementUnsampledReportsResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : string = '') : TUnsampledReports;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports';
- _Methodid = 'analytics.management.unsampledReports.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'profileId',profileId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TUnsampledReports) as TUnsampledReports;
- end;
- Function TManagementUnsampledReportsResource.List(accountId: string; profileId: string; webPropertyId: string; AQuery : TManagementUnsampledReportslistOptions) : TUnsampledReports;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,profileId,webPropertyId,_Q);
- end;
- { --------------------------------------------------------------------
- TManagementUploadsResource
- --------------------------------------------------------------------}
- Class Function TManagementUploadsResource.ResourceName : String;
- begin
- Result:='uploads';
- end;
- Class Function TManagementUploadsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementUploadsResource.DeleteUploadData(accountId: string; customDataSourceId: string; webPropertyId: string; aAnalyticsDataimportDeleteUploadDataRequest : TAnalyticsDataimportDeleteUploadDataRequest);
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData';
- _Methodid = 'analytics.management.uploads.deleteUploadData';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDataSourceId',customDataSourceId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',aAnalyticsDataimportDeleteUploadDataRequest,Nil);
- end;
- Function TManagementUploadsResource.Get(accountId: string; customDataSourceId: string; uploadId: string; webPropertyId: string) : TUpload;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}';
- _Methodid = 'analytics.management.uploads.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDataSourceId',customDataSourceId,'uploadId',uploadId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUpload) as TUpload;
- end;
- Function TManagementUploadsResource.List(accountId: string; customDataSourceId: string; webPropertyId: string; AQuery : string = '') : TUploads;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads';
- _Methodid = 'analytics.management.uploads.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDataSourceId',customDataSourceId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TUploads) as TUploads;
- end;
- Function TManagementUploadsResource.List(accountId: string; customDataSourceId: string; webPropertyId: string; AQuery : TManagementUploadslistOptions) : TUploads;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,customDataSourceId,webPropertyId,_Q);
- end;
- Function TManagementUploadsResource.UploadData(accountId: string; customDataSourceId: string; webPropertyId: string) : TUpload;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads';
- _Methodid = 'analytics.management.uploads.uploadData';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'customDataSourceId',customDataSourceId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUpload) as TUpload;
- end;
- { --------------------------------------------------------------------
- TManagementWebPropertyAdWordsLinksResource
- --------------------------------------------------------------------}
- Class Function TManagementWebPropertyAdWordsLinksResource.ResourceName : String;
- begin
- Result:='webPropertyAdWordsLinks';
- end;
- Class Function TManagementWebPropertyAdWordsLinksResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementWebPropertyAdWordsLinksResource.Delete(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}';
- _Methodid = 'analytics.management.webPropertyAdWordsLinks.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyAdWordsLinkId',webPropertyAdWordsLinkId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementWebPropertyAdWordsLinksResource.Get(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string) : TEntityAdWordsLink;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}';
- _Methodid = 'analytics.management.webPropertyAdWordsLinks.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyAdWordsLinkId',webPropertyAdWordsLinkId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEntityAdWordsLink) as TEntityAdWordsLink;
- end;
- Function TManagementWebPropertyAdWordsLinksResource.Insert(accountId: string; webPropertyId: string; aEntityAdWordsLink : TEntityAdWordsLink) : TEntityAdWordsLink;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks';
- _Methodid = 'analytics.management.webPropertyAdWordsLinks.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityAdWordsLink,TEntityAdWordsLink) as TEntityAdWordsLink;
- end;
- Function TManagementWebPropertyAdWordsLinksResource.List(accountId: string; webPropertyId: string; AQuery : string = '') : TEntityAdWordsLinks;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks';
- _Methodid = 'analytics.management.webPropertyAdWordsLinks.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TEntityAdWordsLinks) as TEntityAdWordsLinks;
- end;
- Function TManagementWebPropertyAdWordsLinksResource.List(accountId: string; webPropertyId: string; AQuery : TManagementWebPropertyAdWordsLinkslistOptions) : TEntityAdWordsLinks;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,webPropertyId,_Q);
- end;
- Function TManagementWebPropertyAdWordsLinksResource.Patch(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string; aEntityAdWordsLink : TEntityAdWordsLink) : TEntityAdWordsLink;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}';
- _Methodid = 'analytics.management.webPropertyAdWordsLinks.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyAdWordsLinkId',webPropertyAdWordsLinkId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityAdWordsLink,TEntityAdWordsLink) as TEntityAdWordsLink;
- end;
- Function TManagementWebPropertyAdWordsLinksResource.Update(accountId: string; webPropertyAdWordsLinkId: string; webPropertyId: string; aEntityAdWordsLink : TEntityAdWordsLink) : TEntityAdWordsLink;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}';
- _Methodid = 'analytics.management.webPropertyAdWordsLinks.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyAdWordsLinkId',webPropertyAdWordsLinkId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityAdWordsLink,TEntityAdWordsLink) as TEntityAdWordsLink;
- end;
- { --------------------------------------------------------------------
- TManagementWebpropertiesResource
- --------------------------------------------------------------------}
- Class Function TManagementWebpropertiesResource.ResourceName : String;
- begin
- Result:='webproperties';
- end;
- Class Function TManagementWebpropertiesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementWebpropertiesResource.Get(accountId: string; webPropertyId: string) : TWebproperty;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}';
- _Methodid = 'analytics.management.webproperties.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TWebproperty) as TWebproperty;
- end;
- Function TManagementWebpropertiesResource.Insert(accountId: string; aWebproperty : TWebproperty) : TWebproperty;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties';
- _Methodid = 'analytics.management.webproperties.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aWebproperty,TWebproperty) as TWebproperty;
- end;
- Function TManagementWebpropertiesResource.List(accountId: string; AQuery : string = '') : TWebproperties;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties';
- _Methodid = 'analytics.management.webproperties.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TWebproperties) as TWebproperties;
- end;
- Function TManagementWebpropertiesResource.List(accountId: string; AQuery : TManagementWebpropertieslistOptions) : TWebproperties;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,_Q);
- end;
- Function TManagementWebpropertiesResource.Patch(accountId: string; webPropertyId: string; aWebproperty : TWebproperty) : TWebproperty;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}';
- _Methodid = 'analytics.management.webproperties.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aWebproperty,TWebproperty) as TWebproperty;
- end;
- Function TManagementWebpropertiesResource.Update(accountId: string; webPropertyId: string; aWebproperty : TWebproperty) : TWebproperty;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}';
- _Methodid = 'analytics.management.webproperties.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aWebproperty,TWebproperty) as TWebproperty;
- end;
- { --------------------------------------------------------------------
- TManagementWebpropertyUserLinksResource
- --------------------------------------------------------------------}
- Class Function TManagementWebpropertyUserLinksResource.ResourceName : String;
- begin
- Result:='webpropertyUserLinks';
- end;
- Class Function TManagementWebpropertyUserLinksResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Procedure TManagementWebpropertyUserLinksResource.Delete(accountId: string; linkId: string; webPropertyId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}';
- _Methodid = 'analytics.management.webpropertyUserLinks.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'webPropertyId',webPropertyId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TManagementWebpropertyUserLinksResource.Insert(accountId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Const
- _HTTPMethod = 'POST';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks';
- _Methodid = 'analytics.management.webpropertyUserLinks.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityUserLink,TEntityUserLink) as TEntityUserLink;
- end;
- Function TManagementWebpropertyUserLinksResource.List(accountId: string; webPropertyId: string; AQuery : string = '') : TEntityUserLinks;
- Const
- _HTTPMethod = 'GET';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks';
- _Methodid = 'analytics.management.webpropertyUserLinks.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TEntityUserLinks) as TEntityUserLinks;
- end;
- Function TManagementWebpropertyUserLinksResource.List(accountId: string; webPropertyId: string; AQuery : TManagementWebpropertyUserLinkslistOptions) : TEntityUserLinks;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'max-results',AQuery.maxresults);
- AddToQuery(_Q,'start-index',AQuery.startindex);
- Result:=List(accountId,webPropertyId,_Q);
- end;
- Function TManagementWebpropertyUserLinksResource.Update(accountId: string; linkId: string; webPropertyId: string; aEntityUserLink : TEntityUserLink) : TEntityUserLink;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}';
- _Methodid = 'analytics.management.webpropertyUserLinks.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['accountId',accountId,'linkId',linkId,'webPropertyId',webPropertyId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aEntityUserLink,TEntityUserLink) as TEntityUserLink;
- end;
- { --------------------------------------------------------------------
- TManagementResource
- --------------------------------------------------------------------}
- Class Function TManagementResource.ResourceName : String;
- begin
- Result:='management';
- end;
- Class Function TManagementResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TManagementResource.GetAccountSummariesInstance : TManagementAccountSummariesResource;
- begin
- if (FAccountSummariesInstance=Nil) then
- FAccountSummariesInstance:=CreateAccountSummariesResource;
- Result:=FAccountSummariesInstance;
- end;
- Function TManagementResource.CreateAccountSummariesResource : TManagementAccountSummariesResource;
- begin
- Result:=CreateAccountSummariesResource(Self);
- end;
- Function TManagementResource.CreateAccountSummariesResource(AOwner : TComponent) : TManagementAccountSummariesResource;
- begin
- Result:=TManagementAccountSummariesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetAccountUserLinksInstance : TManagementAccountUserLinksResource;
- begin
- if (FAccountUserLinksInstance=Nil) then
- FAccountUserLinksInstance:=CreateAccountUserLinksResource;
- Result:=FAccountUserLinksInstance;
- end;
- Function TManagementResource.CreateAccountUserLinksResource : TManagementAccountUserLinksResource;
- begin
- Result:=CreateAccountUserLinksResource(Self);
- end;
- Function TManagementResource.CreateAccountUserLinksResource(AOwner : TComponent) : TManagementAccountUserLinksResource;
- begin
- Result:=TManagementAccountUserLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetAccountsInstance : TManagementAccountsResource;
- begin
- if (FAccountsInstance=Nil) then
- FAccountsInstance:=CreateAccountsResource;
- Result:=FAccountsInstance;
- end;
- Function TManagementResource.CreateAccountsResource : TManagementAccountsResource;
- begin
- Result:=CreateAccountsResource(Self);
- end;
- Function TManagementResource.CreateAccountsResource(AOwner : TComponent) : TManagementAccountsResource;
- begin
- Result:=TManagementAccountsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetCustomDataSourcesInstance : TManagementCustomDataSourcesResource;
- begin
- if (FCustomDataSourcesInstance=Nil) then
- FCustomDataSourcesInstance:=CreateCustomDataSourcesResource;
- Result:=FCustomDataSourcesInstance;
- end;
- Function TManagementResource.CreateCustomDataSourcesResource : TManagementCustomDataSourcesResource;
- begin
- Result:=CreateCustomDataSourcesResource(Self);
- end;
- Function TManagementResource.CreateCustomDataSourcesResource(AOwner : TComponent) : TManagementCustomDataSourcesResource;
- begin
- Result:=TManagementCustomDataSourcesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetCustomDimensionsInstance : TManagementCustomDimensionsResource;
- begin
- if (FCustomDimensionsInstance=Nil) then
- FCustomDimensionsInstance:=CreateCustomDimensionsResource;
- Result:=FCustomDimensionsInstance;
- end;
- Function TManagementResource.CreateCustomDimensionsResource : TManagementCustomDimensionsResource;
- begin
- Result:=CreateCustomDimensionsResource(Self);
- end;
- Function TManagementResource.CreateCustomDimensionsResource(AOwner : TComponent) : TManagementCustomDimensionsResource;
- begin
- Result:=TManagementCustomDimensionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetCustomMetricsInstance : TManagementCustomMetricsResource;
- begin
- if (FCustomMetricsInstance=Nil) then
- FCustomMetricsInstance:=CreateCustomMetricsResource;
- Result:=FCustomMetricsInstance;
- end;
- Function TManagementResource.CreateCustomMetricsResource : TManagementCustomMetricsResource;
- begin
- Result:=CreateCustomMetricsResource(Self);
- end;
- Function TManagementResource.CreateCustomMetricsResource(AOwner : TComponent) : TManagementCustomMetricsResource;
- begin
- Result:=TManagementCustomMetricsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetExperimentsInstance : TManagementExperimentsResource;
- begin
- if (FExperimentsInstance=Nil) then
- FExperimentsInstance:=CreateExperimentsResource;
- Result:=FExperimentsInstance;
- end;
- Function TManagementResource.CreateExperimentsResource : TManagementExperimentsResource;
- begin
- Result:=CreateExperimentsResource(Self);
- end;
- Function TManagementResource.CreateExperimentsResource(AOwner : TComponent) : TManagementExperimentsResource;
- begin
- Result:=TManagementExperimentsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetFiltersInstance : TManagementFiltersResource;
- begin
- if (FFiltersInstance=Nil) then
- FFiltersInstance:=CreateFiltersResource;
- Result:=FFiltersInstance;
- end;
- Function TManagementResource.CreateFiltersResource : TManagementFiltersResource;
- begin
- Result:=CreateFiltersResource(Self);
- end;
- Function TManagementResource.CreateFiltersResource(AOwner : TComponent) : TManagementFiltersResource;
- begin
- Result:=TManagementFiltersResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetGoalsInstance : TManagementGoalsResource;
- begin
- if (FGoalsInstance=Nil) then
- FGoalsInstance:=CreateGoalsResource;
- Result:=FGoalsInstance;
- end;
- Function TManagementResource.CreateGoalsResource : TManagementGoalsResource;
- begin
- Result:=CreateGoalsResource(Self);
- end;
- Function TManagementResource.CreateGoalsResource(AOwner : TComponent) : TManagementGoalsResource;
- begin
- Result:=TManagementGoalsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetProfileFilterLinksInstance : TManagementProfileFilterLinksResource;
- begin
- if (FProfileFilterLinksInstance=Nil) then
- FProfileFilterLinksInstance:=CreateProfileFilterLinksResource;
- Result:=FProfileFilterLinksInstance;
- end;
- Function TManagementResource.CreateProfileFilterLinksResource : TManagementProfileFilterLinksResource;
- begin
- Result:=CreateProfileFilterLinksResource(Self);
- end;
- Function TManagementResource.CreateProfileFilterLinksResource(AOwner : TComponent) : TManagementProfileFilterLinksResource;
- begin
- Result:=TManagementProfileFilterLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetProfileUserLinksInstance : TManagementProfileUserLinksResource;
- begin
- if (FProfileUserLinksInstance=Nil) then
- FProfileUserLinksInstance:=CreateProfileUserLinksResource;
- Result:=FProfileUserLinksInstance;
- end;
- Function TManagementResource.CreateProfileUserLinksResource : TManagementProfileUserLinksResource;
- begin
- Result:=CreateProfileUserLinksResource(Self);
- end;
- Function TManagementResource.CreateProfileUserLinksResource(AOwner : TComponent) : TManagementProfileUserLinksResource;
- begin
- Result:=TManagementProfileUserLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetProfilesInstance : TManagementProfilesResource;
- begin
- if (FProfilesInstance=Nil) then
- FProfilesInstance:=CreateProfilesResource;
- Result:=FProfilesInstance;
- end;
- Function TManagementResource.CreateProfilesResource : TManagementProfilesResource;
- begin
- Result:=CreateProfilesResource(Self);
- end;
- Function TManagementResource.CreateProfilesResource(AOwner : TComponent) : TManagementProfilesResource;
- begin
- Result:=TManagementProfilesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetSegmentsInstance : TManagementSegmentsResource;
- begin
- if (FSegmentsInstance=Nil) then
- FSegmentsInstance:=CreateSegmentsResource;
- Result:=FSegmentsInstance;
- end;
- Function TManagementResource.CreateSegmentsResource : TManagementSegmentsResource;
- begin
- Result:=CreateSegmentsResource(Self);
- end;
- Function TManagementResource.CreateSegmentsResource(AOwner : TComponent) : TManagementSegmentsResource;
- begin
- Result:=TManagementSegmentsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetUnsampledReportsInstance : TManagementUnsampledReportsResource;
- begin
- if (FUnsampledReportsInstance=Nil) then
- FUnsampledReportsInstance:=CreateUnsampledReportsResource;
- Result:=FUnsampledReportsInstance;
- end;
- Function TManagementResource.CreateUnsampledReportsResource : TManagementUnsampledReportsResource;
- begin
- Result:=CreateUnsampledReportsResource(Self);
- end;
- Function TManagementResource.CreateUnsampledReportsResource(AOwner : TComponent) : TManagementUnsampledReportsResource;
- begin
- Result:=TManagementUnsampledReportsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetUploadsInstance : TManagementUploadsResource;
- begin
- if (FUploadsInstance=Nil) then
- FUploadsInstance:=CreateUploadsResource;
- Result:=FUploadsInstance;
- end;
- Function TManagementResource.CreateUploadsResource : TManagementUploadsResource;
- begin
- Result:=CreateUploadsResource(Self);
- end;
- Function TManagementResource.CreateUploadsResource(AOwner : TComponent) : TManagementUploadsResource;
- begin
- Result:=TManagementUploadsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetWebPropertyAdWordsLinksInstance : TManagementWebPropertyAdWordsLinksResource;
- begin
- if (FWebPropertyAdWordsLinksInstance=Nil) then
- FWebPropertyAdWordsLinksInstance:=CreateWebPropertyAdWordsLinksResource;
- Result:=FWebPropertyAdWordsLinksInstance;
- end;
- Function TManagementResource.CreateWebPropertyAdWordsLinksResource : TManagementWebPropertyAdWordsLinksResource;
- begin
- Result:=CreateWebPropertyAdWordsLinksResource(Self);
- end;
- Function TManagementResource.CreateWebPropertyAdWordsLinksResource(AOwner : TComponent) : TManagementWebPropertyAdWordsLinksResource;
- begin
- Result:=TManagementWebPropertyAdWordsLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetWebpropertiesInstance : TManagementWebpropertiesResource;
- begin
- if (FWebpropertiesInstance=Nil) then
- FWebpropertiesInstance:=CreateWebpropertiesResource;
- Result:=FWebpropertiesInstance;
- end;
- Function TManagementResource.CreateWebpropertiesResource : TManagementWebpropertiesResource;
- begin
- Result:=CreateWebpropertiesResource(Self);
- end;
- Function TManagementResource.CreateWebpropertiesResource(AOwner : TComponent) : TManagementWebpropertiesResource;
- begin
- Result:=TManagementWebpropertiesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TManagementResource.GetWebpropertyUserLinksInstance : TManagementWebpropertyUserLinksResource;
- begin
- if (FWebpropertyUserLinksInstance=Nil) then
- FWebpropertyUserLinksInstance:=CreateWebpropertyUserLinksResource;
- Result:=FWebpropertyUserLinksInstance;
- end;
- Function TManagementResource.CreateWebpropertyUserLinksResource : TManagementWebpropertyUserLinksResource;
- begin
- Result:=CreateWebpropertyUserLinksResource(Self);
- end;
- Function TManagementResource.CreateWebpropertyUserLinksResource(AOwner : TComponent) : TManagementWebpropertyUserLinksResource;
- begin
- Result:=TManagementWebpropertyUserLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TMetadataColumnsResource
- --------------------------------------------------------------------}
- Class Function TMetadataColumnsResource.ResourceName : String;
- begin
- Result:='columns';
- end;
- Class Function TMetadataColumnsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TMetadataColumnsResource.List(reportType: string) : TColumns;
- Const
- _HTTPMethod = 'GET';
- _Path = 'metadata/{reportType}/columns';
- _Methodid = 'analytics.metadata.columns.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['reportType',reportType]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TColumns) as TColumns;
- end;
- { --------------------------------------------------------------------
- TMetadataResource
- --------------------------------------------------------------------}
- Class Function TMetadataResource.ResourceName : String;
- begin
- Result:='metadata';
- end;
- Class Function TMetadataResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TMetadataResource.GetColumnsInstance : TMetadataColumnsResource;
- begin
- if (FColumnsInstance=Nil) then
- FColumnsInstance:=CreateColumnsResource;
- Result:=FColumnsInstance;
- end;
- Function TMetadataResource.CreateColumnsResource : TMetadataColumnsResource;
- begin
- Result:=CreateColumnsResource(Self);
- end;
- Function TMetadataResource.CreateColumnsResource(AOwner : TComponent) : TMetadataColumnsResource;
- begin
- Result:=TMetadataColumnsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TProvisioningResource
- --------------------------------------------------------------------}
- Class Function TProvisioningResource.ResourceName : String;
- begin
- Result:='provisioning';
- end;
- Class Function TProvisioningResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TanalyticsAPI;
- end;
- Function TProvisioningResource.CreateAccountTicket(aAccountTicket : TAccountTicket) : TAccountTicket;
- Const
- _HTTPMethod = 'POST';
- _Path = 'provisioning/createAccountTicket';
- _Methodid = 'analytics.provisioning.createAccountTicket';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,'',aAccountTicket,TAccountTicket) as TAccountTicket;
- end;
- { --------------------------------------------------------------------
- TAnalyticsAPI
- --------------------------------------------------------------------}
- Class Function TAnalyticsAPI.APIName : String;
- begin
- Result:='analytics';
- end;
- Class Function TAnalyticsAPI.APIVersion : String;
- begin
- Result:='v3';
- end;
- Class Function TAnalyticsAPI.APIRevision : String;
- begin
- Result:='20160401';
- end;
- Class Function TAnalyticsAPI.APIID : String;
- begin
- Result:='analytics:v3';
- end;
- Class Function TAnalyticsAPI.APITitle : String;
- begin
- Result:='Google Analytics API';
- end;
- Class Function TAnalyticsAPI.APIDescription : String;
- begin
- Result:='Views and manages your Google Analytics data.';
- end;
- Class Function TAnalyticsAPI.APIOwnerDomain : String;
- begin
- Result:='google.com';
- end;
- Class Function TAnalyticsAPI.APIOwnerName : String;
- begin
- Result:='Google';
- end;
- Class Function TAnalyticsAPI.APIIcon16 : String;
- begin
- Result:='https://www.google.com/images/icons/product/analytics-16.png';
- end;
- Class Function TAnalyticsAPI.APIIcon32 : String;
- begin
- Result:='https://www.google.com/images/icons/product/analytics-32.png';
- end;
- Class Function TAnalyticsAPI.APIdocumentationLink : String;
- begin
- Result:='https://developers.google.com/analytics/';
- end;
- Class Function TAnalyticsAPI.APIrootUrl : string;
- begin
- Result:='https://www.googleapis.com/';
- end;
- Class Function TAnalyticsAPI.APIbasePath : string;
- begin
- Result:='/analytics/v3/';
- end;
- Class Function TAnalyticsAPI.APIbaseURL : String;
- begin
- Result:='https://www.googleapis.com/analytics/v3/';
- end;
- Class Function TAnalyticsAPI.APIProtocol : string;
- begin
- Result:='rest';
- end;
- Class Function TAnalyticsAPI.APIservicePath : string;
- begin
- Result:='analytics/v3/';
- end;
- Class Function TAnalyticsAPI.APIbatchPath : String;
- begin
- Result:='batch';
- end;
- Class Function TAnalyticsAPI.APIAuthScopes : TScopeInfoArray;
- begin
- SetLength(Result,6);
- Result[0].Name:='https://www.googleapis.com/auth/analytics';
- Result[0].Description:='View and manage your Google Analytics data';
- Result[1].Name:='https://www.googleapis.com/auth/analytics.edit';
- Result[1].Description:='Edit Google Analytics management entities';
- Result[2].Name:='https://www.googleapis.com/auth/analytics.manage.users';
- Result[2].Description:='Manage Google Analytics Account users by email address';
- Result[3].Name:='https://www.googleapis.com/auth/analytics.manage.users.readonly';
- Result[3].Description:='View Google Analytics user permissions';
- Result[4].Name:='https://www.googleapis.com/auth/analytics.provision';
- Result[4].Description:='Create a new Google Analytics account along with its default property and view';
- Result[5].Name:='https://www.googleapis.com/auth/analytics.readonly';
- Result[5].Description:='View your Google Analytics data';
-
- end;
- Class Function TAnalyticsAPI.APINeedsAuth : Boolean;
- begin
- Result:=True;
- end;
- Class Procedure TAnalyticsAPI.RegisterAPIResources;
- begin
- TAccountTypechildLink.RegisterObject;
- TAccountTypepermissions.RegisterObject;
- TAccount.RegisterObject;
- TAccountRef.RegisterObject;
- TAccountSummaries.RegisterObject;
- TAccountSummary.RegisterObject;
- TAccountTicket.RegisterObject;
- TAccounts.RegisterObject;
- TAdWordsAccount.RegisterObject;
- TAnalyticsDataimportDeleteUploadDataRequest.RegisterObject;
- TColumnTypeattributes.RegisterObject;
- TColumn.RegisterObject;
- TColumns.RegisterObject;
- TCustomDataSourceTypechildLink.RegisterObject;
- TCustomDataSourceTypeparentLink.RegisterObject;
- TCustomDataSource.RegisterObject;
- TCustomDataSources.RegisterObject;
- TCustomDimensionTypeparentLink.RegisterObject;
- TCustomDimension.RegisterObject;
- TCustomDimensions.RegisterObject;
- TCustomMetricTypeparentLink.RegisterObject;
- TCustomMetric.RegisterObject;
- TCustomMetrics.RegisterObject;
- TEntityAdWordsLinkTypeentity.RegisterObject;
- TEntityAdWordsLink.RegisterObject;
- TEntityAdWordsLinks.RegisterObject;
- TEntityUserLinkTypeentity.RegisterObject;
- TEntityUserLinkTypepermissions.RegisterObject;
- TEntityUserLink.RegisterObject;
- TEntityUserLinks.RegisterObject;
- TExperimentTypeparentLink.RegisterObject;
- TExperimentTypevariationsItem.RegisterObject;
- TExperiment.RegisterObject;
- TExperiments.RegisterObject;
- TFilterTypeadvancedDetails.RegisterObject;
- TFilterTypelowercaseDetails.RegisterObject;
- TFilterTypeparentLink.RegisterObject;
- TFilterTypesearchAndReplaceDetails.RegisterObject;
- TFilterTypeuppercaseDetails.RegisterObject;
- TFilter.RegisterObject;
- TFilterExpression.RegisterObject;
- TFilterRef.RegisterObject;
- TFilters.RegisterObject;
- TGaDataTypecolumnHeadersItem.RegisterObject;
- TGaDataTypedataTableTypecolsItem.RegisterObject;
- TGaDataTypedataTableTyperowsItemTypecItem.RegisterObject;
- TGaDataTypedataTableTyperowsItem.RegisterObject;
- TGaDataTypedataTable.RegisterObject;
- TGaDataTypeprofileInfo.RegisterObject;
- TGaDataTypequery.RegisterObject;
- TGaDataTypetotalsForAllResults.RegisterObject;
- TGaData.RegisterObject;
- TGoalTypeeventDetailsTypeeventConditionsItem.RegisterObject;
- TGoalTypeeventDetails.RegisterObject;
- TGoalTypeparentLink.RegisterObject;
- TGoalTypeurlDestinationDetailsTypestepsItem.RegisterObject;
- TGoalTypeurlDestinationDetails.RegisterObject;
- TGoalTypevisitNumPagesDetails.RegisterObject;
- TGoalTypevisitTimeOnSiteDetails.RegisterObject;
- TGoal.RegisterObject;
- TGoals.RegisterObject;
- TMcfDataTypecolumnHeadersItem.RegisterObject;
- TMcfDataTypeprofileInfo.RegisterObject;
- TMcfDataTypequery.RegisterObject;
- TMcfDataTyperowsItemItemTypeconversionPathValueItem.RegisterObject;
- TMcfDataTyperowsItemItem.RegisterObject;
- TMcfDataTypetotalsForAllResults.RegisterObject;
- TMcfData.RegisterObject;
- TProfileTypechildLink.RegisterObject;
- TProfileTypeparentLink.RegisterObject;
- TProfileTypepermissions.RegisterObject;
- TProfile.RegisterObject;
- TProfileFilterLink.RegisterObject;
- TProfileFilterLinks.RegisterObject;
- TProfileRef.RegisterObject;
- TProfileSummary.RegisterObject;
- TProfiles.RegisterObject;
- TRealtimeDataTypecolumnHeadersItem.RegisterObject;
- TRealtimeDataTypeprofileInfo.RegisterObject;
- TRealtimeDataTypequery.RegisterObject;
- TRealtimeDataTypetotalsForAllResults.RegisterObject;
- TRealtimeData.RegisterObject;
- TSegment.RegisterObject;
- TSegments.RegisterObject;
- TUnsampledReportTypecloudStorageDownloadDetails.RegisterObject;
- TUnsampledReportTypedriveDownloadDetails.RegisterObject;
- TUnsampledReport.RegisterObject;
- TUnsampledReports.RegisterObject;
- TUpload.RegisterObject;
- TUploads.RegisterObject;
- TUserRef.RegisterObject;
- TWebPropertyRef.RegisterObject;
- TWebPropertySummary.RegisterObject;
- TWebproperties.RegisterObject;
- TWebpropertyTypechildLink.RegisterObject;
- TWebpropertyTypeparentLink.RegisterObject;
- TWebpropertyTypepermissions.RegisterObject;
- TWebproperty.RegisterObject;
- end;
- Function TAnalyticsAPI.GetDataGaInstance : TDataGaResource;
- begin
- if (FDataGaInstance=Nil) then
- FDataGaInstance:=CreateDataGaResource;
- Result:=FDataGaInstance;
- end;
- Function TAnalyticsAPI.CreateDataGaResource : TDataGaResource;
- begin
- Result:=CreateDataGaResource(Self);
- end;
- Function TAnalyticsAPI.CreateDataGaResource(AOwner : TComponent) : TDataGaResource;
- begin
- Result:=TDataGaResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetDataMcfInstance : TDataMcfResource;
- begin
- if (FDataMcfInstance=Nil) then
- FDataMcfInstance:=CreateDataMcfResource;
- Result:=FDataMcfInstance;
- end;
- Function TAnalyticsAPI.CreateDataMcfResource : TDataMcfResource;
- begin
- Result:=CreateDataMcfResource(Self);
- end;
- Function TAnalyticsAPI.CreateDataMcfResource(AOwner : TComponent) : TDataMcfResource;
- begin
- Result:=TDataMcfResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetDataRealtimeInstance : TDataRealtimeResource;
- begin
- if (FDataRealtimeInstance=Nil) then
- FDataRealtimeInstance:=CreateDataRealtimeResource;
- Result:=FDataRealtimeInstance;
- end;
- Function TAnalyticsAPI.CreateDataRealtimeResource : TDataRealtimeResource;
- begin
- Result:=CreateDataRealtimeResource(Self);
- end;
- Function TAnalyticsAPI.CreateDataRealtimeResource(AOwner : TComponent) : TDataRealtimeResource;
- begin
- Result:=TDataRealtimeResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetDataInstance : TDataResource;
- begin
- if (FDataInstance=Nil) then
- FDataInstance:=CreateDataResource;
- Result:=FDataInstance;
- end;
- Function TAnalyticsAPI.CreateDataResource : TDataResource;
- begin
- Result:=CreateDataResource(Self);
- end;
- Function TAnalyticsAPI.CreateDataResource(AOwner : TComponent) : TDataResource;
- begin
- Result:=TDataResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementAccountSummariesInstance : TManagementAccountSummariesResource;
- begin
- if (FManagementAccountSummariesInstance=Nil) then
- FManagementAccountSummariesInstance:=CreateManagementAccountSummariesResource;
- Result:=FManagementAccountSummariesInstance;
- end;
- Function TAnalyticsAPI.CreateManagementAccountSummariesResource : TManagementAccountSummariesResource;
- begin
- Result:=CreateManagementAccountSummariesResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementAccountSummariesResource(AOwner : TComponent) : TManagementAccountSummariesResource;
- begin
- Result:=TManagementAccountSummariesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementAccountUserLinksInstance : TManagementAccountUserLinksResource;
- begin
- if (FManagementAccountUserLinksInstance=Nil) then
- FManagementAccountUserLinksInstance:=CreateManagementAccountUserLinksResource;
- Result:=FManagementAccountUserLinksInstance;
- end;
- Function TAnalyticsAPI.CreateManagementAccountUserLinksResource : TManagementAccountUserLinksResource;
- begin
- Result:=CreateManagementAccountUserLinksResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementAccountUserLinksResource(AOwner : TComponent) : TManagementAccountUserLinksResource;
- begin
- Result:=TManagementAccountUserLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementAccountsInstance : TManagementAccountsResource;
- begin
- if (FManagementAccountsInstance=Nil) then
- FManagementAccountsInstance:=CreateManagementAccountsResource;
- Result:=FManagementAccountsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementAccountsResource : TManagementAccountsResource;
- begin
- Result:=CreateManagementAccountsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementAccountsResource(AOwner : TComponent) : TManagementAccountsResource;
- begin
- Result:=TManagementAccountsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementCustomDataSourcesInstance : TManagementCustomDataSourcesResource;
- begin
- if (FManagementCustomDataSourcesInstance=Nil) then
- FManagementCustomDataSourcesInstance:=CreateManagementCustomDataSourcesResource;
- Result:=FManagementCustomDataSourcesInstance;
- end;
- Function TAnalyticsAPI.CreateManagementCustomDataSourcesResource : TManagementCustomDataSourcesResource;
- begin
- Result:=CreateManagementCustomDataSourcesResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementCustomDataSourcesResource(AOwner : TComponent) : TManagementCustomDataSourcesResource;
- begin
- Result:=TManagementCustomDataSourcesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementCustomDimensionsInstance : TManagementCustomDimensionsResource;
- begin
- if (FManagementCustomDimensionsInstance=Nil) then
- FManagementCustomDimensionsInstance:=CreateManagementCustomDimensionsResource;
- Result:=FManagementCustomDimensionsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementCustomDimensionsResource : TManagementCustomDimensionsResource;
- begin
- Result:=CreateManagementCustomDimensionsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementCustomDimensionsResource(AOwner : TComponent) : TManagementCustomDimensionsResource;
- begin
- Result:=TManagementCustomDimensionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementCustomMetricsInstance : TManagementCustomMetricsResource;
- begin
- if (FManagementCustomMetricsInstance=Nil) then
- FManagementCustomMetricsInstance:=CreateManagementCustomMetricsResource;
- Result:=FManagementCustomMetricsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementCustomMetricsResource : TManagementCustomMetricsResource;
- begin
- Result:=CreateManagementCustomMetricsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementCustomMetricsResource(AOwner : TComponent) : TManagementCustomMetricsResource;
- begin
- Result:=TManagementCustomMetricsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementExperimentsInstance : TManagementExperimentsResource;
- begin
- if (FManagementExperimentsInstance=Nil) then
- FManagementExperimentsInstance:=CreateManagementExperimentsResource;
- Result:=FManagementExperimentsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementExperimentsResource : TManagementExperimentsResource;
- begin
- Result:=CreateManagementExperimentsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementExperimentsResource(AOwner : TComponent) : TManagementExperimentsResource;
- begin
- Result:=TManagementExperimentsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementFiltersInstance : TManagementFiltersResource;
- begin
- if (FManagementFiltersInstance=Nil) then
- FManagementFiltersInstance:=CreateManagementFiltersResource;
- Result:=FManagementFiltersInstance;
- end;
- Function TAnalyticsAPI.CreateManagementFiltersResource : TManagementFiltersResource;
- begin
- Result:=CreateManagementFiltersResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementFiltersResource(AOwner : TComponent) : TManagementFiltersResource;
- begin
- Result:=TManagementFiltersResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementGoalsInstance : TManagementGoalsResource;
- begin
- if (FManagementGoalsInstance=Nil) then
- FManagementGoalsInstance:=CreateManagementGoalsResource;
- Result:=FManagementGoalsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementGoalsResource : TManagementGoalsResource;
- begin
- Result:=CreateManagementGoalsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementGoalsResource(AOwner : TComponent) : TManagementGoalsResource;
- begin
- Result:=TManagementGoalsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementProfileFilterLinksInstance : TManagementProfileFilterLinksResource;
- begin
- if (FManagementProfileFilterLinksInstance=Nil) then
- FManagementProfileFilterLinksInstance:=CreateManagementProfileFilterLinksResource;
- Result:=FManagementProfileFilterLinksInstance;
- end;
- Function TAnalyticsAPI.CreateManagementProfileFilterLinksResource : TManagementProfileFilterLinksResource;
- begin
- Result:=CreateManagementProfileFilterLinksResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementProfileFilterLinksResource(AOwner : TComponent) : TManagementProfileFilterLinksResource;
- begin
- Result:=TManagementProfileFilterLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementProfileUserLinksInstance : TManagementProfileUserLinksResource;
- begin
- if (FManagementProfileUserLinksInstance=Nil) then
- FManagementProfileUserLinksInstance:=CreateManagementProfileUserLinksResource;
- Result:=FManagementProfileUserLinksInstance;
- end;
- Function TAnalyticsAPI.CreateManagementProfileUserLinksResource : TManagementProfileUserLinksResource;
- begin
- Result:=CreateManagementProfileUserLinksResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementProfileUserLinksResource(AOwner : TComponent) : TManagementProfileUserLinksResource;
- begin
- Result:=TManagementProfileUserLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementProfilesInstance : TManagementProfilesResource;
- begin
- if (FManagementProfilesInstance=Nil) then
- FManagementProfilesInstance:=CreateManagementProfilesResource;
- Result:=FManagementProfilesInstance;
- end;
- Function TAnalyticsAPI.CreateManagementProfilesResource : TManagementProfilesResource;
- begin
- Result:=CreateManagementProfilesResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementProfilesResource(AOwner : TComponent) : TManagementProfilesResource;
- begin
- Result:=TManagementProfilesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementSegmentsInstance : TManagementSegmentsResource;
- begin
- if (FManagementSegmentsInstance=Nil) then
- FManagementSegmentsInstance:=CreateManagementSegmentsResource;
- Result:=FManagementSegmentsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementSegmentsResource : TManagementSegmentsResource;
- begin
- Result:=CreateManagementSegmentsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementSegmentsResource(AOwner : TComponent) : TManagementSegmentsResource;
- begin
- Result:=TManagementSegmentsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementUnsampledReportsInstance : TManagementUnsampledReportsResource;
- begin
- if (FManagementUnsampledReportsInstance=Nil) then
- FManagementUnsampledReportsInstance:=CreateManagementUnsampledReportsResource;
- Result:=FManagementUnsampledReportsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementUnsampledReportsResource : TManagementUnsampledReportsResource;
- begin
- Result:=CreateManagementUnsampledReportsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementUnsampledReportsResource(AOwner : TComponent) : TManagementUnsampledReportsResource;
- begin
- Result:=TManagementUnsampledReportsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementUploadsInstance : TManagementUploadsResource;
- begin
- if (FManagementUploadsInstance=Nil) then
- FManagementUploadsInstance:=CreateManagementUploadsResource;
- Result:=FManagementUploadsInstance;
- end;
- Function TAnalyticsAPI.CreateManagementUploadsResource : TManagementUploadsResource;
- begin
- Result:=CreateManagementUploadsResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementUploadsResource(AOwner : TComponent) : TManagementUploadsResource;
- begin
- Result:=TManagementUploadsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementWebPropertyAdWordsLinksInstance : TManagementWebPropertyAdWordsLinksResource;
- begin
- if (FManagementWebPropertyAdWordsLinksInstance=Nil) then
- FManagementWebPropertyAdWordsLinksInstance:=CreateManagementWebPropertyAdWordsLinksResource;
- Result:=FManagementWebPropertyAdWordsLinksInstance;
- end;
- Function TAnalyticsAPI.CreateManagementWebPropertyAdWordsLinksResource : TManagementWebPropertyAdWordsLinksResource;
- begin
- Result:=CreateManagementWebPropertyAdWordsLinksResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementWebPropertyAdWordsLinksResource(AOwner : TComponent) : TManagementWebPropertyAdWordsLinksResource;
- begin
- Result:=TManagementWebPropertyAdWordsLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementWebpropertiesInstance : TManagementWebpropertiesResource;
- begin
- if (FManagementWebpropertiesInstance=Nil) then
- FManagementWebpropertiesInstance:=CreateManagementWebpropertiesResource;
- Result:=FManagementWebpropertiesInstance;
- end;
- Function TAnalyticsAPI.CreateManagementWebpropertiesResource : TManagementWebpropertiesResource;
- begin
- Result:=CreateManagementWebpropertiesResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementWebpropertiesResource(AOwner : TComponent) : TManagementWebpropertiesResource;
- begin
- Result:=TManagementWebpropertiesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementWebpropertyUserLinksInstance : TManagementWebpropertyUserLinksResource;
- begin
- if (FManagementWebpropertyUserLinksInstance=Nil) then
- FManagementWebpropertyUserLinksInstance:=CreateManagementWebpropertyUserLinksResource;
- Result:=FManagementWebpropertyUserLinksInstance;
- end;
- Function TAnalyticsAPI.CreateManagementWebpropertyUserLinksResource : TManagementWebpropertyUserLinksResource;
- begin
- Result:=CreateManagementWebpropertyUserLinksResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementWebpropertyUserLinksResource(AOwner : TComponent) : TManagementWebpropertyUserLinksResource;
- begin
- Result:=TManagementWebpropertyUserLinksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetManagementInstance : TManagementResource;
- begin
- if (FManagementInstance=Nil) then
- FManagementInstance:=CreateManagementResource;
- Result:=FManagementInstance;
- end;
- Function TAnalyticsAPI.CreateManagementResource : TManagementResource;
- begin
- Result:=CreateManagementResource(Self);
- end;
- Function TAnalyticsAPI.CreateManagementResource(AOwner : TComponent) : TManagementResource;
- begin
- Result:=TManagementResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetMetadataColumnsInstance : TMetadataColumnsResource;
- begin
- if (FMetadataColumnsInstance=Nil) then
- FMetadataColumnsInstance:=CreateMetadataColumnsResource;
- Result:=FMetadataColumnsInstance;
- end;
- Function TAnalyticsAPI.CreateMetadataColumnsResource : TMetadataColumnsResource;
- begin
- Result:=CreateMetadataColumnsResource(Self);
- end;
- Function TAnalyticsAPI.CreateMetadataColumnsResource(AOwner : TComponent) : TMetadataColumnsResource;
- begin
- Result:=TMetadataColumnsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetMetadataInstance : TMetadataResource;
- begin
- if (FMetadataInstance=Nil) then
- FMetadataInstance:=CreateMetadataResource;
- Result:=FMetadataInstance;
- end;
- Function TAnalyticsAPI.CreateMetadataResource : TMetadataResource;
- begin
- Result:=CreateMetadataResource(Self);
- end;
- Function TAnalyticsAPI.CreateMetadataResource(AOwner : TComponent) : TMetadataResource;
- begin
- Result:=TMetadataResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TAnalyticsAPI.GetProvisioningInstance : TProvisioningResource;
- begin
- if (FProvisioningInstance=Nil) then
- FProvisioningInstance:=CreateProvisioningResource;
- Result:=FProvisioningInstance;
- end;
- Function TAnalyticsAPI.CreateProvisioningResource : TProvisioningResource;
- begin
- Result:=CreateProvisioningResource(Self);
- end;
- Function TAnalyticsAPI.CreateProvisioningResource(AOwner : TComponent) : TProvisioningResource;
- begin
- Result:=TProvisioningResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- initialization
- TAnalyticsAPI.RegisterAPI;
- end.
|