123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991 |
- unit googleyoutube;
- {$MODE objfpc}
- {$H+}
- interface
- uses sysutils, classes, googleservice, restbase, googlebase;
- type
-
- //Top-level schema types
- TAccessPolicy = Class;
- TActivity = Class;
- TActivityContentDetails = Class;
- TActivityContentDetailsBulletin = Class;
- TActivityContentDetailsChannelItem = Class;
- TActivityContentDetailsComment = Class;
- TActivityContentDetailsFavorite = Class;
- TActivityContentDetailsLike = Class;
- TActivityContentDetailsPlaylistItem = Class;
- TActivityContentDetailsPromotedItem = Class;
- TActivityContentDetailsRecommendation = Class;
- TActivityContentDetailsSocial = Class;
- TActivityContentDetailsSubscription = Class;
- TActivityContentDetailsUpload = Class;
- TActivityListResponse = Class;
- TActivitySnippet = Class;
- TCaption = Class;
- TCaptionListResponse = Class;
- TCaptionSnippet = Class;
- TCdnSettings = Class;
- TChannel = Class;
- TChannelAuditDetails = Class;
- TChannelBannerResource = Class;
- TChannelBrandingSettings = Class;
- TChannelContentDetails = Class;
- TChannelContentOwnerDetails = Class;
- TChannelConversionPing = Class;
- TChannelConversionPings = Class;
- TChannelListResponse = Class;
- TChannelLocalization = Class;
- TChannelProfileDetails = Class;
- TChannelSection = Class;
- TChannelSectionContentDetails = Class;
- TChannelSectionListResponse = Class;
- TChannelSectionLocalization = Class;
- TChannelSectionSnippet = Class;
- TChannelSectionTargeting = Class;
- TChannelSettings = Class;
- TChannelSnippet = Class;
- TChannelStatistics = Class;
- TChannelStatus = Class;
- TChannelTopicDetails = Class;
- TComment = Class;
- TCommentListResponse = Class;
- TCommentSnippet = Class;
- TCommentThread = Class;
- TCommentThreadListResponse = Class;
- TCommentThreadReplies = Class;
- TCommentThreadSnippet = Class;
- TContentRating = Class;
- TFanFundingEvent = Class;
- TFanFundingEventListResponse = Class;
- TFanFundingEventSnippet = Class;
- TGeoPoint = Class;
- TGuideCategory = Class;
- TGuideCategoryListResponse = Class;
- TGuideCategorySnippet = Class;
- TI18nLanguage = Class;
- TI18nLanguageListResponse = Class;
- TI18nLanguageSnippet = Class;
- TI18nRegion = Class;
- TI18nRegionListResponse = Class;
- TI18nRegionSnippet = Class;
- TImageSettings = Class;
- TIngestionInfo = Class;
- TInvideoBranding = Class;
- TInvideoPosition = Class;
- TInvideoPromotion = Class;
- TInvideoTiming = Class;
- TLanguageTag = Class;
- TLiveBroadcast = Class;
- TLiveBroadcastContentDetails = Class;
- TLiveBroadcastListResponse = Class;
- TLiveBroadcastSnippet = Class;
- TLiveBroadcastStatistics = Class;
- TLiveBroadcastStatus = Class;
- TLiveBroadcastTopic = Class;
- TLiveBroadcastTopicDetails = Class;
- TLiveBroadcastTopicSnippet = Class;
- TLiveChatBan = Class;
- TLiveChatBanSnippet = Class;
- TLiveChatFanFundingEventDetails = Class;
- TLiveChatMessage = Class;
- TLiveChatMessageAuthorDetails = Class;
- TLiveChatMessageDeletedDetails = Class;
- TLiveChatMessageListResponse = Class;
- TLiveChatMessageRetractedDetails = Class;
- TLiveChatMessageSnippet = Class;
- TLiveChatModerator = Class;
- TLiveChatModeratorListResponse = Class;
- TLiveChatModeratorSnippet = Class;
- TLiveChatTextMessageDetails = Class;
- TLiveChatUserBannedMessageDetails = Class;
- TLiveStream = Class;
- TLiveStreamConfigurationIssue = Class;
- TLiveStreamContentDetails = Class;
- TLiveStreamHealthStatus = Class;
- TLiveStreamListResponse = Class;
- TLiveStreamSnippet = Class;
- TLiveStreamStatus = Class;
- TLocalizedProperty = Class;
- TLocalizedString = Class;
- TMonitorStreamInfo = Class;
- TPageInfo = Class;
- TPlaylist = Class;
- TPlaylistContentDetails = Class;
- TPlaylistItem = Class;
- TPlaylistItemContentDetails = Class;
- TPlaylistItemListResponse = Class;
- TPlaylistItemSnippet = Class;
- TPlaylistItemStatus = Class;
- TPlaylistListResponse = Class;
- TPlaylistLocalization = Class;
- TPlaylistPlayer = Class;
- TPlaylistSnippet = Class;
- TPlaylistStatus = Class;
- TPromotedItem = Class;
- TPromotedItemId = Class;
- TPropertyValue = Class;
- TResourceId = Class;
- TSearchListResponse = Class;
- TSearchResult = Class;
- TSearchResultSnippet = Class;
- TSponsor = Class;
- TSponsorListResponse = Class;
- TSponsorSnippet = Class;
- TSubscription = Class;
- TSubscriptionContentDetails = Class;
- TSubscriptionListResponse = Class;
- TSubscriptionSnippet = Class;
- TSubscriptionSubscriberSnippet = Class;
- TThumbnail = Class;
- TThumbnailDetails = Class;
- TThumbnailSetResponse = Class;
- TTokenPagination = Class;
- TVideo = Class;
- TVideoAbuseReport = Class;
- TVideoAbuseReportReason = Class;
- TVideoAbuseReportReasonListResponse = Class;
- TVideoAbuseReportReasonSnippet = Class;
- TVideoAbuseReportSecondaryReason = Class;
- TVideoAgeGating = Class;
- TVideoCategory = Class;
- TVideoCategoryListResponse = Class;
- TVideoCategorySnippet = Class;
- TVideoContentDetails = Class;
- TVideoContentDetailsRegionRestriction = Class;
- TVideoFileDetails = Class;
- TVideoFileDetailsAudioStream = Class;
- TVideoFileDetailsVideoStream = Class;
- TVideoGetRatingResponse = Class;
- TVideoListResponse = Class;
- TVideoLiveStreamingDetails = Class;
- TVideoLocalization = Class;
- TVideoMonetizationDetails = Class;
- TVideoPlayer = Class;
- TVideoProcessingDetails = Class;
- TVideoProcessingDetailsProcessingProgress = Class;
- TVideoProjectDetails = Class;
- TVideoRating = Class;
- TVideoRecordingDetails = Class;
- TVideoSnippet = Class;
- TVideoStatistics = Class;
- TVideoStatus = Class;
- TVideoSuggestions = Class;
- TVideoSuggestionsTagSuggestion = Class;
- TVideoTopicDetails = Class;
- TWatchSettings = Class;
- TAccessPolicyArray = Array of TAccessPolicy;
- TActivityArray = Array of TActivity;
- TActivityContentDetailsArray = Array of TActivityContentDetails;
- TActivityContentDetailsBulletinArray = Array of TActivityContentDetailsBulletin;
- TActivityContentDetailsChannelItemArray = Array of TActivityContentDetailsChannelItem;
- TActivityContentDetailsCommentArray = Array of TActivityContentDetailsComment;
- TActivityContentDetailsFavoriteArray = Array of TActivityContentDetailsFavorite;
- TActivityContentDetailsLikeArray = Array of TActivityContentDetailsLike;
- TActivityContentDetailsPlaylistItemArray = Array of TActivityContentDetailsPlaylistItem;
- TActivityContentDetailsPromotedItemArray = Array of TActivityContentDetailsPromotedItem;
- TActivityContentDetailsRecommendationArray = Array of TActivityContentDetailsRecommendation;
- TActivityContentDetailsSocialArray = Array of TActivityContentDetailsSocial;
- TActivityContentDetailsSubscriptionArray = Array of TActivityContentDetailsSubscription;
- TActivityContentDetailsUploadArray = Array of TActivityContentDetailsUpload;
- TActivityListResponseArray = Array of TActivityListResponse;
- TActivitySnippetArray = Array of TActivitySnippet;
- TCaptionArray = Array of TCaption;
- TCaptionListResponseArray = Array of TCaptionListResponse;
- TCaptionSnippetArray = Array of TCaptionSnippet;
- TCdnSettingsArray = Array of TCdnSettings;
- TChannelArray = Array of TChannel;
- TChannelAuditDetailsArray = Array of TChannelAuditDetails;
- TChannelBannerResourceArray = Array of TChannelBannerResource;
- TChannelBrandingSettingsArray = Array of TChannelBrandingSettings;
- TChannelContentDetailsArray = Array of TChannelContentDetails;
- TChannelContentOwnerDetailsArray = Array of TChannelContentOwnerDetails;
- TChannelConversionPingArray = Array of TChannelConversionPing;
- TChannelConversionPingsArray = Array of TChannelConversionPings;
- TChannelListResponseArray = Array of TChannelListResponse;
- TChannelLocalizationArray = Array of TChannelLocalization;
- TChannelProfileDetailsArray = Array of TChannelProfileDetails;
- TChannelSectionArray = Array of TChannelSection;
- TChannelSectionContentDetailsArray = Array of TChannelSectionContentDetails;
- TChannelSectionListResponseArray = Array of TChannelSectionListResponse;
- TChannelSectionLocalizationArray = Array of TChannelSectionLocalization;
- TChannelSectionSnippetArray = Array of TChannelSectionSnippet;
- TChannelSectionTargetingArray = Array of TChannelSectionTargeting;
- TChannelSettingsArray = Array of TChannelSettings;
- TChannelSnippetArray = Array of TChannelSnippet;
- TChannelStatisticsArray = Array of TChannelStatistics;
- TChannelStatusArray = Array of TChannelStatus;
- TChannelTopicDetailsArray = Array of TChannelTopicDetails;
- TCommentArray = Array of TComment;
- TCommentListResponseArray = Array of TCommentListResponse;
- TCommentSnippetArray = Array of TCommentSnippet;
- TCommentThreadArray = Array of TCommentThread;
- TCommentThreadListResponseArray = Array of TCommentThreadListResponse;
- TCommentThreadRepliesArray = Array of TCommentThreadReplies;
- TCommentThreadSnippetArray = Array of TCommentThreadSnippet;
- TContentRatingArray = Array of TContentRating;
- TFanFundingEventArray = Array of TFanFundingEvent;
- TFanFundingEventListResponseArray = Array of TFanFundingEventListResponse;
- TFanFundingEventSnippetArray = Array of TFanFundingEventSnippet;
- TGeoPointArray = Array of TGeoPoint;
- TGuideCategoryArray = Array of TGuideCategory;
- TGuideCategoryListResponseArray = Array of TGuideCategoryListResponse;
- TGuideCategorySnippetArray = Array of TGuideCategorySnippet;
- TI18nLanguageArray = Array of TI18nLanguage;
- TI18nLanguageListResponseArray = Array of TI18nLanguageListResponse;
- TI18nLanguageSnippetArray = Array of TI18nLanguageSnippet;
- TI18nRegionArray = Array of TI18nRegion;
- TI18nRegionListResponseArray = Array of TI18nRegionListResponse;
- TI18nRegionSnippetArray = Array of TI18nRegionSnippet;
- TImageSettingsArray = Array of TImageSettings;
- TIngestionInfoArray = Array of TIngestionInfo;
- TInvideoBrandingArray = Array of TInvideoBranding;
- TInvideoPositionArray = Array of TInvideoPosition;
- TInvideoPromotionArray = Array of TInvideoPromotion;
- TInvideoTimingArray = Array of TInvideoTiming;
- TLanguageTagArray = Array of TLanguageTag;
- TLiveBroadcastArray = Array of TLiveBroadcast;
- TLiveBroadcastContentDetailsArray = Array of TLiveBroadcastContentDetails;
- TLiveBroadcastListResponseArray = Array of TLiveBroadcastListResponse;
- TLiveBroadcastSnippetArray = Array of TLiveBroadcastSnippet;
- TLiveBroadcastStatisticsArray = Array of TLiveBroadcastStatistics;
- TLiveBroadcastStatusArray = Array of TLiveBroadcastStatus;
- TLiveBroadcastTopicArray = Array of TLiveBroadcastTopic;
- TLiveBroadcastTopicDetailsArray = Array of TLiveBroadcastTopicDetails;
- TLiveBroadcastTopicSnippetArray = Array of TLiveBroadcastTopicSnippet;
- TLiveChatBanArray = Array of TLiveChatBan;
- TLiveChatBanSnippetArray = Array of TLiveChatBanSnippet;
- TLiveChatFanFundingEventDetailsArray = Array of TLiveChatFanFundingEventDetails;
- TLiveChatMessageArray = Array of TLiveChatMessage;
- TLiveChatMessageAuthorDetailsArray = Array of TLiveChatMessageAuthorDetails;
- TLiveChatMessageDeletedDetailsArray = Array of TLiveChatMessageDeletedDetails;
- TLiveChatMessageListResponseArray = Array of TLiveChatMessageListResponse;
- TLiveChatMessageRetractedDetailsArray = Array of TLiveChatMessageRetractedDetails;
- TLiveChatMessageSnippetArray = Array of TLiveChatMessageSnippet;
- TLiveChatModeratorArray = Array of TLiveChatModerator;
- TLiveChatModeratorListResponseArray = Array of TLiveChatModeratorListResponse;
- TLiveChatModeratorSnippetArray = Array of TLiveChatModeratorSnippet;
- TLiveChatTextMessageDetailsArray = Array of TLiveChatTextMessageDetails;
- TLiveChatUserBannedMessageDetailsArray = Array of TLiveChatUserBannedMessageDetails;
- TLiveStreamArray = Array of TLiveStream;
- TLiveStreamConfigurationIssueArray = Array of TLiveStreamConfigurationIssue;
- TLiveStreamContentDetailsArray = Array of TLiveStreamContentDetails;
- TLiveStreamHealthStatusArray = Array of TLiveStreamHealthStatus;
- TLiveStreamListResponseArray = Array of TLiveStreamListResponse;
- TLiveStreamSnippetArray = Array of TLiveStreamSnippet;
- TLiveStreamStatusArray = Array of TLiveStreamStatus;
- TLocalizedPropertyArray = Array of TLocalizedProperty;
- TLocalizedStringArray = Array of TLocalizedString;
- TMonitorStreamInfoArray = Array of TMonitorStreamInfo;
- TPageInfoArray = Array of TPageInfo;
- TPlaylistArray = Array of TPlaylist;
- TPlaylistContentDetailsArray = Array of TPlaylistContentDetails;
- TPlaylistItemArray = Array of TPlaylistItem;
- TPlaylistItemContentDetailsArray = Array of TPlaylistItemContentDetails;
- TPlaylistItemListResponseArray = Array of TPlaylistItemListResponse;
- TPlaylistItemSnippetArray = Array of TPlaylistItemSnippet;
- TPlaylistItemStatusArray = Array of TPlaylistItemStatus;
- TPlaylistListResponseArray = Array of TPlaylistListResponse;
- TPlaylistLocalizationArray = Array of TPlaylistLocalization;
- TPlaylistPlayerArray = Array of TPlaylistPlayer;
- TPlaylistSnippetArray = Array of TPlaylistSnippet;
- TPlaylistStatusArray = Array of TPlaylistStatus;
- TPromotedItemArray = Array of TPromotedItem;
- TPromotedItemIdArray = Array of TPromotedItemId;
- TPropertyValueArray = Array of TPropertyValue;
- TResourceIdArray = Array of TResourceId;
- TSearchListResponseArray = Array of TSearchListResponse;
- TSearchResultArray = Array of TSearchResult;
- TSearchResultSnippetArray = Array of TSearchResultSnippet;
- TSponsorArray = Array of TSponsor;
- TSponsorListResponseArray = Array of TSponsorListResponse;
- TSponsorSnippetArray = Array of TSponsorSnippet;
- TSubscriptionArray = Array of TSubscription;
- TSubscriptionContentDetailsArray = Array of TSubscriptionContentDetails;
- TSubscriptionListResponseArray = Array of TSubscriptionListResponse;
- TSubscriptionSnippetArray = Array of TSubscriptionSnippet;
- TSubscriptionSubscriberSnippetArray = Array of TSubscriptionSubscriberSnippet;
- TThumbnailArray = Array of TThumbnail;
- TThumbnailDetailsArray = Array of TThumbnailDetails;
- TThumbnailSetResponseArray = Array of TThumbnailSetResponse;
- TTokenPaginationArray = Array of TTokenPagination;
- TVideoArray = Array of TVideo;
- TVideoAbuseReportArray = Array of TVideoAbuseReport;
- TVideoAbuseReportReasonArray = Array of TVideoAbuseReportReason;
- TVideoAbuseReportReasonListResponseArray = Array of TVideoAbuseReportReasonListResponse;
- TVideoAbuseReportReasonSnippetArray = Array of TVideoAbuseReportReasonSnippet;
- TVideoAbuseReportSecondaryReasonArray = Array of TVideoAbuseReportSecondaryReason;
- TVideoAgeGatingArray = Array of TVideoAgeGating;
- TVideoCategoryArray = Array of TVideoCategory;
- TVideoCategoryListResponseArray = Array of TVideoCategoryListResponse;
- TVideoCategorySnippetArray = Array of TVideoCategorySnippet;
- TVideoContentDetailsArray = Array of TVideoContentDetails;
- TVideoContentDetailsRegionRestrictionArray = Array of TVideoContentDetailsRegionRestriction;
- TVideoFileDetailsArray = Array of TVideoFileDetails;
- TVideoFileDetailsAudioStreamArray = Array of TVideoFileDetailsAudioStream;
- TVideoFileDetailsVideoStreamArray = Array of TVideoFileDetailsVideoStream;
- TVideoGetRatingResponseArray = Array of TVideoGetRatingResponse;
- TVideoListResponseArray = Array of TVideoListResponse;
- TVideoLiveStreamingDetailsArray = Array of TVideoLiveStreamingDetails;
- TVideoLocalizationArray = Array of TVideoLocalization;
- TVideoMonetizationDetailsArray = Array of TVideoMonetizationDetails;
- TVideoPlayerArray = Array of TVideoPlayer;
- TVideoProcessingDetailsArray = Array of TVideoProcessingDetails;
- TVideoProcessingDetailsProcessingProgressArray = Array of TVideoProcessingDetailsProcessingProgress;
- TVideoProjectDetailsArray = Array of TVideoProjectDetails;
- TVideoRatingArray = Array of TVideoRating;
- TVideoRecordingDetailsArray = Array of TVideoRecordingDetails;
- TVideoSnippetArray = Array of TVideoSnippet;
- TVideoStatisticsArray = Array of TVideoStatistics;
- TVideoStatusArray = Array of TVideoStatus;
- TVideoSuggestionsArray = Array of TVideoSuggestions;
- TVideoSuggestionsTagSuggestionArray = Array of TVideoSuggestionsTagSuggestion;
- TVideoTopicDetailsArray = Array of TVideoTopicDetails;
- TWatchSettingsArray = Array of TWatchSettings;
- //Anonymous types, using auto-generated names
- TChannelTypelocalizations = Class;
- TChannelContentDetailsTyperelatedPlaylists = Class;
- TChannelSectionTypelocalizations = Class;
- TPlaylistTypelocalizations = Class;
- TVideoTypelocalizations = Class;
- TActivityListResponseTypeitemsArray = Array of TActivity;
- TCaptionListResponseTypeitemsArray = Array of TCaption;
- TChannelBrandingSettingsTypehintsArray = Array of TPropertyValue;
- TChannelConversionPingsTypepingsArray = Array of TChannelConversionPing;
- TChannelListResponseTypeitemsArray = Array of TChannel;
- TChannelSectionListResponseTypeitemsArray = Array of TChannelSection;
- TCommentListResponseTypeitemsArray = Array of TComment;
- TCommentThreadListResponseTypeitemsArray = Array of TCommentThread;
- TCommentThreadRepliesTypecommentsArray = Array of TComment;
- TFanFundingEventListResponseTypeitemsArray = Array of TFanFundingEvent;
- TGuideCategoryListResponseTypeitemsArray = Array of TGuideCategory;
- TI18nLanguageListResponseTypeitemsArray = Array of TI18nLanguage;
- TI18nRegionListResponseTypeitemsArray = Array of TI18nRegion;
- TInvideoPromotionTypeitemsArray = Array of TPromotedItem;
- TLiveBroadcastListResponseTypeitemsArray = Array of TLiveBroadcast;
- TLiveBroadcastTopicDetailsTypetopicsArray = Array of TLiveBroadcastTopic;
- TLiveChatMessageListResponseTypeitemsArray = Array of TLiveChatMessage;
- TLiveChatModeratorListResponseTypeitemsArray = Array of TLiveChatModerator;
- TLiveStreamHealthStatusTypeconfigurationIssuesArray = Array of TLiveStreamConfigurationIssue;
- TLiveStreamListResponseTypeitemsArray = Array of TLiveStream;
- TLocalizedPropertyTypelocalizedArray = Array of TLocalizedString;
- TPlaylistItemListResponseTypeitemsArray = Array of TPlaylistItem;
- TPlaylistListResponseTypeitemsArray = Array of TPlaylist;
- TSearchListResponseTypeitemsArray = Array of TSearchResult;
- TSponsorListResponseTypeitemsArray = Array of TSponsor;
- TSubscriptionListResponseTypeitemsArray = Array of TSubscription;
- TThumbnailSetResponseTypeitemsArray = Array of TThumbnailDetails;
- TVideoAbuseReportReasonListResponseTypeitemsArray = Array of TVideoAbuseReportReason;
- TVideoAbuseReportReasonSnippetTypesecondaryReasonsArray = Array of TVideoAbuseReportSecondaryReason;
- TVideoCategoryListResponseTypeitemsArray = Array of TVideoCategory;
- TVideoFileDetailsTypeaudioStreamsArray = Array of TVideoFileDetailsAudioStream;
- TVideoFileDetailsTypevideoStreamsArray = Array of TVideoFileDetailsVideoStream;
- TVideoGetRatingResponseTypeitemsArray = Array of TVideoRating;
- TVideoListResponseTypeitemsArray = Array of TVideo;
- TVideoSuggestionsTypetagSuggestionsArray = Array of TVideoSuggestionsTagSuggestion;
-
- { --------------------------------------------------------------------
- TAccessPolicy
- --------------------------------------------------------------------}
-
- TAccessPolicy = Class(TGoogleBaseObject)
- Private
- Fallowed : boolean;
- Fexception : TStringArray;
- Protected
- //Property setters
- Procedure Setallowed(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setexception(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 allowed : boolean Index 0 Read Fallowed Write Setallowed;
- Property exception : TStringArray Index 8 Read Fexception Write Setexception;
- end;
- TAccessPolicyClass = Class of TAccessPolicy;
-
- { --------------------------------------------------------------------
- TActivity
- --------------------------------------------------------------------}
-
- TActivity = Class(TGoogleBaseObject)
- Private
- FcontentDetails : TActivityContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TActivitySnippet;
- Protected
- //Property setters
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TActivityContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TActivitySnippet); virtual;
- Public
- Published
- Property contentDetails : TActivityContentDetails Index 0 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property snippet : TActivitySnippet Index 32 Read Fsnippet Write Setsnippet;
- end;
- TActivityClass = Class of TActivity;
-
- { --------------------------------------------------------------------
- TActivityContentDetails
- --------------------------------------------------------------------}
-
- TActivityContentDetails = Class(TGoogleBaseObject)
- Private
- Fbulletin : TActivityContentDetailsBulletin;
- FchannelItem : TActivityContentDetailsChannelItem;
- Fcomment : TActivityContentDetailsComment;
- Ffavorite : TActivityContentDetailsFavorite;
- Flike : TActivityContentDetailsLike;
- FplaylistItem : TActivityContentDetailsPlaylistItem;
- FpromotedItem : TActivityContentDetailsPromotedItem;
- Frecommendation : TActivityContentDetailsRecommendation;
- Fsocial : TActivityContentDetailsSocial;
- Fsubscription : TActivityContentDetailsSubscription;
- Fupload : TActivityContentDetailsUpload;
- Protected
- //Property setters
- Procedure Setbulletin(AIndex : Integer; const AValue : TActivityContentDetailsBulletin); virtual;
- Procedure SetchannelItem(AIndex : Integer; const AValue : TActivityContentDetailsChannelItem); virtual;
- Procedure Setcomment(AIndex : Integer; const AValue : TActivityContentDetailsComment); virtual;
- Procedure Setfavorite(AIndex : Integer; const AValue : TActivityContentDetailsFavorite); virtual;
- Procedure Setlike(AIndex : Integer; const AValue : TActivityContentDetailsLike); virtual;
- Procedure SetplaylistItem(AIndex : Integer; const AValue : TActivityContentDetailsPlaylistItem); virtual;
- Procedure SetpromotedItem(AIndex : Integer; const AValue : TActivityContentDetailsPromotedItem); virtual;
- Procedure Setrecommendation(AIndex : Integer; const AValue : TActivityContentDetailsRecommendation); virtual;
- Procedure Setsocial(AIndex : Integer; const AValue : TActivityContentDetailsSocial); virtual;
- Procedure Setsubscription(AIndex : Integer; const AValue : TActivityContentDetailsSubscription); virtual;
- Procedure Setupload(AIndex : Integer; const AValue : TActivityContentDetailsUpload); virtual;
- Public
- Published
- Property bulletin : TActivityContentDetailsBulletin Index 0 Read Fbulletin Write Setbulletin;
- Property channelItem : TActivityContentDetailsChannelItem Index 8 Read FchannelItem Write SetchannelItem;
- Property comment : TActivityContentDetailsComment Index 16 Read Fcomment Write Setcomment;
- Property favorite : TActivityContentDetailsFavorite Index 24 Read Ffavorite Write Setfavorite;
- Property like : TActivityContentDetailsLike Index 32 Read Flike Write Setlike;
- Property playlistItem : TActivityContentDetailsPlaylistItem Index 40 Read FplaylistItem Write SetplaylistItem;
- Property promotedItem : TActivityContentDetailsPromotedItem Index 48 Read FpromotedItem Write SetpromotedItem;
- Property recommendation : TActivityContentDetailsRecommendation Index 56 Read Frecommendation Write Setrecommendation;
- Property social : TActivityContentDetailsSocial Index 64 Read Fsocial Write Setsocial;
- Property subscription : TActivityContentDetailsSubscription Index 72 Read Fsubscription Write Setsubscription;
- Property upload : TActivityContentDetailsUpload Index 80 Read Fupload Write Setupload;
- end;
- TActivityContentDetailsClass = Class of TActivityContentDetails;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsBulletin
- --------------------------------------------------------------------}
-
- TActivityContentDetailsBulletin = Class(TGoogleBaseObject)
- Private
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property resourceId : TResourceId Index 0 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsBulletinClass = Class of TActivityContentDetailsBulletin;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsChannelItem
- --------------------------------------------------------------------}
-
- TActivityContentDetailsChannelItem = Class(TGoogleBaseObject)
- Private
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property resourceId : TResourceId Index 0 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsChannelItemClass = Class of TActivityContentDetailsChannelItem;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsComment
- --------------------------------------------------------------------}
-
- TActivityContentDetailsComment = Class(TGoogleBaseObject)
- Private
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property resourceId : TResourceId Index 0 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsCommentClass = Class of TActivityContentDetailsComment;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsFavorite
- --------------------------------------------------------------------}
-
- TActivityContentDetailsFavorite = Class(TGoogleBaseObject)
- Private
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property resourceId : TResourceId Index 0 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsFavoriteClass = Class of TActivityContentDetailsFavorite;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsLike
- --------------------------------------------------------------------}
-
- TActivityContentDetailsLike = Class(TGoogleBaseObject)
- Private
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property resourceId : TResourceId Index 0 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsLikeClass = Class of TActivityContentDetailsLike;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsPlaylistItem
- --------------------------------------------------------------------}
-
- TActivityContentDetailsPlaylistItem = Class(TGoogleBaseObject)
- Private
- FplaylistId : String;
- FplaylistItemId : String;
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetplaylistId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetplaylistItemId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property playlistId : String Index 0 Read FplaylistId Write SetplaylistId;
- Property playlistItemId : String Index 8 Read FplaylistItemId Write SetplaylistItemId;
- Property resourceId : TResourceId Index 16 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsPlaylistItemClass = Class of TActivityContentDetailsPlaylistItem;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsPromotedItem
- --------------------------------------------------------------------}
-
- TActivityContentDetailsPromotedItem = Class(TGoogleBaseObject)
- Private
- FadTag : String;
- FclickTrackingUrl : String;
- FcreativeViewUrl : String;
- FctaType : String;
- FcustomCtaButtonText : String;
- FdescriptionText : String;
- FdestinationUrl : String;
- FforecastingUrl : TStringArray;
- FimpressionUrl : TStringArray;
- FvideoId : String;
- Protected
- //Property setters
- Procedure SetadTag(AIndex : Integer; const AValue : String); virtual;
- Procedure SetclickTrackingUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcreativeViewUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetctaType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcustomCtaButtonText(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdescriptionText(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdestinationUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetforecastingUrl(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetimpressionUrl(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetvideoId(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 adTag : String Index 0 Read FadTag Write SetadTag;
- Property clickTrackingUrl : String Index 8 Read FclickTrackingUrl Write SetclickTrackingUrl;
- Property creativeViewUrl : String Index 16 Read FcreativeViewUrl Write SetcreativeViewUrl;
- Property ctaType : String Index 24 Read FctaType Write SetctaType;
- Property customCtaButtonText : String Index 32 Read FcustomCtaButtonText Write SetcustomCtaButtonText;
- Property descriptionText : String Index 40 Read FdescriptionText Write SetdescriptionText;
- Property destinationUrl : String Index 48 Read FdestinationUrl Write SetdestinationUrl;
- Property forecastingUrl : TStringArray Index 56 Read FforecastingUrl Write SetforecastingUrl;
- Property impressionUrl : TStringArray Index 64 Read FimpressionUrl Write SetimpressionUrl;
- Property videoId : String Index 72 Read FvideoId Write SetvideoId;
- end;
- TActivityContentDetailsPromotedItemClass = Class of TActivityContentDetailsPromotedItem;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsRecommendation
- --------------------------------------------------------------------}
-
- TActivityContentDetailsRecommendation = Class(TGoogleBaseObject)
- Private
- Freason : String;
- FresourceId : TResourceId;
- FseedResourceId : TResourceId;
- Protected
- //Property setters
- Procedure Setreason(AIndex : Integer; const AValue : String); virtual;
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Procedure SetseedResourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property reason : String Index 0 Read Freason Write Setreason;
- Property resourceId : TResourceId Index 8 Read FresourceId Write SetresourceId;
- Property seedResourceId : TResourceId Index 16 Read FseedResourceId Write SetseedResourceId;
- end;
- TActivityContentDetailsRecommendationClass = Class of TActivityContentDetailsRecommendation;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsSocial
- --------------------------------------------------------------------}
-
- TActivityContentDetailsSocial = Class(TGoogleBaseObject)
- Private
- Fauthor : String;
- FimageUrl : String;
- FreferenceUrl : String;
- FresourceId : TResourceId;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setauthor(AIndex : Integer; const AValue : String); virtual;
- Procedure SetimageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetreferenceUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property author : String Index 0 Read Fauthor Write Setauthor;
- Property imageUrl : String Index 8 Read FimageUrl Write SetimageUrl;
- Property referenceUrl : String Index 16 Read FreferenceUrl Write SetreferenceUrl;
- Property resourceId : TResourceId Index 24 Read FresourceId Write SetresourceId;
- Property _type : String Index 32 Read F_type Write Set_type;
- end;
- TActivityContentDetailsSocialClass = Class of TActivityContentDetailsSocial;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsSubscription
- --------------------------------------------------------------------}
-
- TActivityContentDetailsSubscription = Class(TGoogleBaseObject)
- Private
- FresourceId : TResourceId;
- Protected
- //Property setters
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Public
- Published
- Property resourceId : TResourceId Index 0 Read FresourceId Write SetresourceId;
- end;
- TActivityContentDetailsSubscriptionClass = Class of TActivityContentDetailsSubscription;
-
- { --------------------------------------------------------------------
- TActivityContentDetailsUpload
- --------------------------------------------------------------------}
-
- TActivityContentDetailsUpload = Class(TGoogleBaseObject)
- Private
- FvideoId : String;
- Protected
- //Property setters
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property videoId : String Index 0 Read FvideoId Write SetvideoId;
- end;
- TActivityContentDetailsUploadClass = Class of TActivityContentDetailsUpload;
-
- { --------------------------------------------------------------------
- TActivityListResponse
- --------------------------------------------------------------------}
-
- TActivityListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TActivityListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TActivityListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TActivityListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TActivityListResponseClass = Class of TActivityListResponse;
-
- { --------------------------------------------------------------------
- TActivitySnippet
- --------------------------------------------------------------------}
-
- TActivitySnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelTitle : String;
- Fdescription : String;
- FgroupId : String;
- FpublishedAt : TDatetime;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetgroupId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelTitle : String Index 8 Read FchannelTitle Write SetchannelTitle;
- Property description : String Index 16 Read Fdescription Write Setdescription;
- Property groupId : String Index 24 Read FgroupId Write SetgroupId;
- Property publishedAt : TDatetime Index 32 Read FpublishedAt Write SetpublishedAt;
- Property thumbnails : TThumbnailDetails Index 40 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 48 Read Ftitle Write Settitle;
- Property _type : String Index 56 Read F_type Write Set_type;
- end;
- TActivitySnippetClass = Class of TActivitySnippet;
-
- { --------------------------------------------------------------------
- TCaption
- --------------------------------------------------------------------}
-
- TCaption = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TCaptionSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TCaptionSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TCaptionSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TCaptionClass = Class of TCaption;
-
- { --------------------------------------------------------------------
- TCaptionListResponse
- --------------------------------------------------------------------}
-
- TCaptionListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TCaptionListResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TCaptionListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TCaptionListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TCaptionListResponseClass = Class of TCaptionListResponse;
-
- { --------------------------------------------------------------------
- TCaptionSnippet
- --------------------------------------------------------------------}
-
- TCaptionSnippet = Class(TGoogleBaseObject)
- Private
- FaudioTrackType : String;
- FfailureReason : String;
- FisAutoSynced : boolean;
- FisCC : boolean;
- FisDraft : boolean;
- FisEasyReader : boolean;
- FisLarge : boolean;
- Flanguage : String;
- FlastUpdated : TDatetime;
- Fname : String;
- Fstatus : String;
- FtrackKind : String;
- FvideoId : String;
- Protected
- //Property setters
- Procedure SetaudioTrackType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfailureReason(AIndex : Integer; const AValue : String); virtual;
- Procedure SetisAutoSynced(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisCC(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisDraft(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisEasyReader(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisLarge(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setlanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlastUpdated(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SettrackKind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property audioTrackType : String Index 0 Read FaudioTrackType Write SetaudioTrackType;
- Property failureReason : String Index 8 Read FfailureReason Write SetfailureReason;
- Property isAutoSynced : boolean Index 16 Read FisAutoSynced Write SetisAutoSynced;
- Property isCC : boolean Index 24 Read FisCC Write SetisCC;
- Property isDraft : boolean Index 32 Read FisDraft Write SetisDraft;
- Property isEasyReader : boolean Index 40 Read FisEasyReader Write SetisEasyReader;
- Property isLarge : boolean Index 48 Read FisLarge Write SetisLarge;
- Property language : String Index 56 Read Flanguage Write Setlanguage;
- Property lastUpdated : TDatetime Index 64 Read FlastUpdated Write SetlastUpdated;
- Property name : String Index 72 Read Fname Write Setname;
- Property status : String Index 80 Read Fstatus Write Setstatus;
- Property trackKind : String Index 88 Read FtrackKind Write SettrackKind;
- Property videoId : String Index 96 Read FvideoId Write SetvideoId;
- end;
- TCaptionSnippetClass = Class of TCaptionSnippet;
-
- { --------------------------------------------------------------------
- TCdnSettings
- --------------------------------------------------------------------}
-
- TCdnSettings = Class(TGoogleBaseObject)
- Private
- Fformat : String;
- FframeRate : String;
- FingestionInfo : TIngestionInfo;
- FingestionType : String;
- Fresolution : String;
- Protected
- //Property setters
- Procedure Setformat(AIndex : Integer; const AValue : String); virtual;
- Procedure SetframeRate(AIndex : Integer; const AValue : String); virtual;
- Procedure SetingestionInfo(AIndex : Integer; const AValue : TIngestionInfo); virtual;
- Procedure SetingestionType(AIndex : Integer; const AValue : String); virtual;
- Procedure Setresolution(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property format : String Index 0 Read Fformat Write Setformat;
- Property frameRate : String Index 8 Read FframeRate Write SetframeRate;
- Property ingestionInfo : TIngestionInfo Index 16 Read FingestionInfo Write SetingestionInfo;
- Property ingestionType : String Index 24 Read FingestionType Write SetingestionType;
- Property resolution : String Index 32 Read Fresolution Write Setresolution;
- end;
- TCdnSettingsClass = Class of TCdnSettings;
-
- { --------------------------------------------------------------------
- TChannelTypelocalizations
- --------------------------------------------------------------------}
-
- TChannelTypelocalizations = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TChannelTypelocalizationsClass = Class of TChannelTypelocalizations;
-
- { --------------------------------------------------------------------
- TChannel
- --------------------------------------------------------------------}
-
- TChannel = Class(TGoogleBaseObject)
- Private
- FauditDetails : TChannelAuditDetails;
- FbrandingSettings : TChannelBrandingSettings;
- FcontentDetails : TChannelContentDetails;
- FcontentOwnerDetails : TChannelContentOwnerDetails;
- FconversionPings : TChannelConversionPings;
- Fetag : String;
- Fid : String;
- FinvideoPromotion : TInvideoPromotion;
- Fkind : String;
- Flocalizations : TChannelTypelocalizations;
- Fsnippet : TChannelSnippet;
- Fstatistics : TChannelStatistics;
- Fstatus : TChannelStatus;
- FtopicDetails : TChannelTopicDetails;
- Protected
- //Property setters
- Procedure SetauditDetails(AIndex : Integer; const AValue : TChannelAuditDetails); virtual;
- Procedure SetbrandingSettings(AIndex : Integer; const AValue : TChannelBrandingSettings); virtual;
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TChannelContentDetails); virtual;
- Procedure SetcontentOwnerDetails(AIndex : Integer; const AValue : TChannelContentOwnerDetails); virtual;
- Procedure SetconversionPings(AIndex : Integer; const AValue : TChannelConversionPings); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinvideoPromotion(AIndex : Integer; const AValue : TInvideoPromotion); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalizations(AIndex : Integer; const AValue : TChannelTypelocalizations); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TChannelSnippet); virtual;
- Procedure Setstatistics(AIndex : Integer; const AValue : TChannelStatistics); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TChannelStatus); virtual;
- Procedure SettopicDetails(AIndex : Integer; const AValue : TChannelTopicDetails); virtual;
- Public
- Published
- Property auditDetails : TChannelAuditDetails Index 0 Read FauditDetails Write SetauditDetails;
- Property brandingSettings : TChannelBrandingSettings Index 8 Read FbrandingSettings Write SetbrandingSettings;
- Property contentDetails : TChannelContentDetails Index 16 Read FcontentDetails Write SetcontentDetails;
- Property contentOwnerDetails : TChannelContentOwnerDetails Index 24 Read FcontentOwnerDetails Write SetcontentOwnerDetails;
- Property conversionPings : TChannelConversionPings Index 32 Read FconversionPings Write SetconversionPings;
- Property etag : String Index 40 Read Fetag Write Setetag;
- Property id : String Index 48 Read Fid Write Setid;
- Property invideoPromotion : TInvideoPromotion Index 56 Read FinvideoPromotion Write SetinvideoPromotion;
- Property kind : String Index 64 Read Fkind Write Setkind;
- Property localizations : TChannelTypelocalizations Index 72 Read Flocalizations Write Setlocalizations;
- Property snippet : TChannelSnippet Index 80 Read Fsnippet Write Setsnippet;
- Property statistics : TChannelStatistics Index 88 Read Fstatistics Write Setstatistics;
- Property status : TChannelStatus Index 96 Read Fstatus Write Setstatus;
- Property topicDetails : TChannelTopicDetails Index 104 Read FtopicDetails Write SettopicDetails;
- end;
- TChannelClass = Class of TChannel;
-
- { --------------------------------------------------------------------
- TChannelAuditDetails
- --------------------------------------------------------------------}
-
- TChannelAuditDetails = Class(TGoogleBaseObject)
- Private
- FcommunityGuidelinesGoodStanding : boolean;
- FcontentIdClaimsGoodStanding : boolean;
- FcopyrightStrikesGoodStanding : boolean;
- FoverallGoodStanding : boolean;
- Protected
- //Property setters
- Procedure SetcommunityGuidelinesGoodStanding(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetcontentIdClaimsGoodStanding(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetcopyrightStrikesGoodStanding(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetoverallGoodStanding(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property communityGuidelinesGoodStanding : boolean Index 0 Read FcommunityGuidelinesGoodStanding Write SetcommunityGuidelinesGoodStanding;
- Property contentIdClaimsGoodStanding : boolean Index 8 Read FcontentIdClaimsGoodStanding Write SetcontentIdClaimsGoodStanding;
- Property copyrightStrikesGoodStanding : boolean Index 16 Read FcopyrightStrikesGoodStanding Write SetcopyrightStrikesGoodStanding;
- Property overallGoodStanding : boolean Index 24 Read FoverallGoodStanding Write SetoverallGoodStanding;
- end;
- TChannelAuditDetailsClass = Class of TChannelAuditDetails;
-
- { --------------------------------------------------------------------
- TChannelBannerResource
- --------------------------------------------------------------------}
-
- TChannelBannerResource = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fkind : String;
- Furl : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property url : String Index 16 Read Furl Write Seturl;
- end;
- TChannelBannerResourceClass = Class of TChannelBannerResource;
-
- { --------------------------------------------------------------------
- TChannelBrandingSettings
- --------------------------------------------------------------------}
-
- TChannelBrandingSettings = Class(TGoogleBaseObject)
- Private
- Fchannel : TChannelSettings;
- Fhints : TChannelBrandingSettingsTypehintsArray;
- Fimage : TImageSettings;
- Fwatch : TWatchSettings;
- Protected
- //Property setters
- Procedure Setchannel(AIndex : Integer; const AValue : TChannelSettings); virtual;
- Procedure Sethints(AIndex : Integer; const AValue : TChannelBrandingSettingsTypehintsArray); virtual;
- Procedure Setimage(AIndex : Integer; const AValue : TImageSettings); virtual;
- Procedure Setwatch(AIndex : Integer; const AValue : TWatchSettings); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property channel : TChannelSettings Index 0 Read Fchannel Write Setchannel;
- Property hints : TChannelBrandingSettingsTypehintsArray Index 8 Read Fhints Write Sethints;
- Property image : TImageSettings Index 16 Read Fimage Write Setimage;
- Property watch : TWatchSettings Index 24 Read Fwatch Write Setwatch;
- end;
- TChannelBrandingSettingsClass = Class of TChannelBrandingSettings;
-
- { --------------------------------------------------------------------
- TChannelContentDetailsTyperelatedPlaylists
- --------------------------------------------------------------------}
-
- TChannelContentDetailsTyperelatedPlaylists = Class(TGoogleBaseObject)
- Private
- Ffavorites : String;
- Flikes : String;
- Fuploads : String;
- FwatchHistory : String;
- FwatchLater : String;
- Protected
- //Property setters
- Procedure Setfavorites(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlikes(AIndex : Integer; const AValue : String); virtual;
- Procedure Setuploads(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwatchHistory(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwatchLater(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property favorites : String Index 0 Read Ffavorites Write Setfavorites;
- Property likes : String Index 8 Read Flikes Write Setlikes;
- Property uploads : String Index 16 Read Fuploads Write Setuploads;
- Property watchHistory : String Index 24 Read FwatchHistory Write SetwatchHistory;
- Property watchLater : String Index 32 Read FwatchLater Write SetwatchLater;
- end;
- TChannelContentDetailsTyperelatedPlaylistsClass = Class of TChannelContentDetailsTyperelatedPlaylists;
-
- { --------------------------------------------------------------------
- TChannelContentDetails
- --------------------------------------------------------------------}
-
- TChannelContentDetails = Class(TGoogleBaseObject)
- Private
- FgooglePlusUserId : String;
- FrelatedPlaylists : TChannelContentDetailsTyperelatedPlaylists;
- Protected
- //Property setters
- Procedure SetgooglePlusUserId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrelatedPlaylists(AIndex : Integer; const AValue : TChannelContentDetailsTyperelatedPlaylists); virtual;
- Public
- Published
- Property googlePlusUserId : String Index 0 Read FgooglePlusUserId Write SetgooglePlusUserId;
- Property relatedPlaylists : TChannelContentDetailsTyperelatedPlaylists Index 8 Read FrelatedPlaylists Write SetrelatedPlaylists;
- end;
- TChannelContentDetailsClass = Class of TChannelContentDetails;
-
- { --------------------------------------------------------------------
- TChannelContentOwnerDetails
- --------------------------------------------------------------------}
-
- TChannelContentOwnerDetails = Class(TGoogleBaseObject)
- Private
- FcontentOwner : String;
- FtimeLinked : TDatetime;
- Protected
- //Property setters
- Procedure SetcontentOwner(AIndex : Integer; const AValue : String); virtual;
- Procedure SettimeLinked(AIndex : Integer; const AValue : TDatetime); virtual;
- Public
- Published
- Property contentOwner : String Index 0 Read FcontentOwner Write SetcontentOwner;
- Property timeLinked : TDatetime Index 8 Read FtimeLinked Write SettimeLinked;
- end;
- TChannelContentOwnerDetailsClass = Class of TChannelContentOwnerDetails;
-
- { --------------------------------------------------------------------
- TChannelConversionPing
- --------------------------------------------------------------------}
-
- TChannelConversionPing = Class(TGoogleBaseObject)
- Private
- Fcontext : String;
- FconversionUrl : String;
- Protected
- //Property setters
- Procedure Setcontext(AIndex : Integer; const AValue : String); virtual;
- Procedure SetconversionUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property context : String Index 0 Read Fcontext Write Setcontext;
- Property conversionUrl : String Index 8 Read FconversionUrl Write SetconversionUrl;
- end;
- TChannelConversionPingClass = Class of TChannelConversionPing;
-
- { --------------------------------------------------------------------
- TChannelConversionPings
- --------------------------------------------------------------------}
-
- TChannelConversionPings = Class(TGoogleBaseObject)
- Private
- Fpings : TChannelConversionPingsTypepingsArray;
- Protected
- //Property setters
- Procedure Setpings(AIndex : Integer; const AValue : TChannelConversionPingsTypepingsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property pings : TChannelConversionPingsTypepingsArray Index 0 Read Fpings Write Setpings;
- end;
- TChannelConversionPingsClass = Class of TChannelConversionPings;
-
- { --------------------------------------------------------------------
- TChannelListResponse
- --------------------------------------------------------------------}
-
- TChannelListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TChannelListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TChannelListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TChannelListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TChannelListResponseClass = Class of TChannelListResponse;
-
- { --------------------------------------------------------------------
- TChannelLocalization
- --------------------------------------------------------------------}
-
- TChannelLocalization = Class(TGoogleBaseObject)
- Private
- Fdescription : String;
- Ftitle : String;
- Protected
- //Property setters
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property description : String Index 0 Read Fdescription Write Setdescription;
- Property title : String Index 8 Read Ftitle Write Settitle;
- end;
- TChannelLocalizationClass = Class of TChannelLocalization;
-
- { --------------------------------------------------------------------
- TChannelProfileDetails
- --------------------------------------------------------------------}
-
- TChannelProfileDetails = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelUrl : String;
- FdisplayName : String;
- FprofileImageUrl : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprofileImageUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelUrl : String Index 8 Read FchannelUrl Write SetchannelUrl;
- Property displayName : String Index 16 Read FdisplayName Write SetdisplayName;
- Property profileImageUrl : String Index 24 Read FprofileImageUrl Write SetprofileImageUrl;
- end;
- TChannelProfileDetailsClass = Class of TChannelProfileDetails;
-
- { --------------------------------------------------------------------
- TChannelSectionTypelocalizations
- --------------------------------------------------------------------}
-
- TChannelSectionTypelocalizations = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TChannelSectionTypelocalizationsClass = Class of TChannelSectionTypelocalizations;
-
- { --------------------------------------------------------------------
- TChannelSection
- --------------------------------------------------------------------}
-
- TChannelSection = Class(TGoogleBaseObject)
- Private
- FcontentDetails : TChannelSectionContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Flocalizations : TChannelSectionTypelocalizations;
- Fsnippet : TChannelSectionSnippet;
- Ftargeting : TChannelSectionTargeting;
- Protected
- //Property setters
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TChannelSectionContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalizations(AIndex : Integer; const AValue : TChannelSectionTypelocalizations); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TChannelSectionSnippet); virtual;
- Procedure Settargeting(AIndex : Integer; const AValue : TChannelSectionTargeting); virtual;
- Public
- Published
- Property contentDetails : TChannelSectionContentDetails Index 0 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property localizations : TChannelSectionTypelocalizations Index 32 Read Flocalizations Write Setlocalizations;
- Property snippet : TChannelSectionSnippet Index 40 Read Fsnippet Write Setsnippet;
- Property targeting : TChannelSectionTargeting Index 48 Read Ftargeting Write Settargeting;
- end;
- TChannelSectionClass = Class of TChannelSection;
-
- { --------------------------------------------------------------------
- TChannelSectionContentDetails
- --------------------------------------------------------------------}
-
- TChannelSectionContentDetails = Class(TGoogleBaseObject)
- Private
- Fchannels : TStringArray;
- Fplaylists : TStringArray;
- Protected
- //Property setters
- Procedure Setchannels(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setplaylists(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 channels : TStringArray Index 0 Read Fchannels Write Setchannels;
- Property playlists : TStringArray Index 8 Read Fplaylists Write Setplaylists;
- end;
- TChannelSectionContentDetailsClass = Class of TChannelSectionContentDetails;
-
- { --------------------------------------------------------------------
- TChannelSectionListResponse
- --------------------------------------------------------------------}
-
- TChannelSectionListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TChannelSectionListResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TChannelSectionListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TChannelSectionListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TChannelSectionListResponseClass = Class of TChannelSectionListResponse;
-
- { --------------------------------------------------------------------
- TChannelSectionLocalization
- --------------------------------------------------------------------}
-
- TChannelSectionLocalization = Class(TGoogleBaseObject)
- Private
- Ftitle : String;
- Protected
- //Property setters
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property title : String Index 0 Read Ftitle Write Settitle;
- end;
- TChannelSectionLocalizationClass = Class of TChannelSectionLocalization;
-
- { --------------------------------------------------------------------
- TChannelSectionSnippet
- --------------------------------------------------------------------}
-
- TChannelSectionSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FdefaultLanguage : String;
- Flocalized : TChannelSectionLocalization;
- Fposition : integer;
- Fstyle : String;
- Ftitle : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultLanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalized(AIndex : Integer; const AValue : TChannelSectionLocalization); virtual;
- Procedure Setposition(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setstyle(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property defaultLanguage : String Index 8 Read FdefaultLanguage Write SetdefaultLanguage;
- Property localized : TChannelSectionLocalization Index 16 Read Flocalized Write Setlocalized;
- Property position : integer Index 24 Read Fposition Write Setposition;
- Property style : String Index 32 Read Fstyle Write Setstyle;
- Property title : String Index 40 Read Ftitle Write Settitle;
- Property _type : String Index 48 Read F_type Write Set_type;
- end;
- TChannelSectionSnippetClass = Class of TChannelSectionSnippet;
-
- { --------------------------------------------------------------------
- TChannelSectionTargeting
- --------------------------------------------------------------------}
-
- TChannelSectionTargeting = Class(TGoogleBaseObject)
- Private
- Fcountries : TStringArray;
- Flanguages : TStringArray;
- Fregions : TStringArray;
- Protected
- //Property setters
- Procedure Setcountries(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setlanguages(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setregions(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 countries : TStringArray Index 0 Read Fcountries Write Setcountries;
- Property languages : TStringArray Index 8 Read Flanguages Write Setlanguages;
- Property regions : TStringArray Index 16 Read Fregions Write Setregions;
- end;
- TChannelSectionTargetingClass = Class of TChannelSectionTargeting;
-
- { --------------------------------------------------------------------
- TChannelSettings
- --------------------------------------------------------------------}
-
- TChannelSettings = Class(TGoogleBaseObject)
- Private
- Fcountry : String;
- FdefaultLanguage : String;
- FdefaultTab : String;
- Fdescription : String;
- FfeaturedChannelsTitle : String;
- FfeaturedChannelsUrls : TStringArray;
- Fkeywords : String;
- FmoderateComments : boolean;
- FprofileColor : String;
- FshowBrowseView : boolean;
- FshowRelatedChannels : boolean;
- Ftitle : String;
- FtrackingAnalyticsAccountId : String;
- FunsubscribedTrailer : String;
- Protected
- //Property setters
- Procedure Setcountry(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultLanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultTab(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfeaturedChannelsTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfeaturedChannelsUrls(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setkeywords(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmoderateComments(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetprofileColor(AIndex : Integer; const AValue : String); virtual;
- Procedure SetshowBrowseView(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetshowRelatedChannels(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Procedure SettrackingAnalyticsAccountId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetunsubscribedTrailer(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 country : String Index 0 Read Fcountry Write Setcountry;
- Property defaultLanguage : String Index 8 Read FdefaultLanguage Write SetdefaultLanguage;
- Property defaultTab : String Index 16 Read FdefaultTab Write SetdefaultTab;
- Property description : String Index 24 Read Fdescription Write Setdescription;
- Property featuredChannelsTitle : String Index 32 Read FfeaturedChannelsTitle Write SetfeaturedChannelsTitle;
- Property featuredChannelsUrls : TStringArray Index 40 Read FfeaturedChannelsUrls Write SetfeaturedChannelsUrls;
- Property keywords : String Index 48 Read Fkeywords Write Setkeywords;
- Property moderateComments : boolean Index 56 Read FmoderateComments Write SetmoderateComments;
- Property profileColor : String Index 64 Read FprofileColor Write SetprofileColor;
- Property showBrowseView : boolean Index 72 Read FshowBrowseView Write SetshowBrowseView;
- Property showRelatedChannels : boolean Index 80 Read FshowRelatedChannels Write SetshowRelatedChannels;
- Property title : String Index 88 Read Ftitle Write Settitle;
- Property trackingAnalyticsAccountId : String Index 96 Read FtrackingAnalyticsAccountId Write SettrackingAnalyticsAccountId;
- Property unsubscribedTrailer : String Index 104 Read FunsubscribedTrailer Write SetunsubscribedTrailer;
- end;
- TChannelSettingsClass = Class of TChannelSettings;
-
- { --------------------------------------------------------------------
- TChannelSnippet
- --------------------------------------------------------------------}
-
- TChannelSnippet = Class(TGoogleBaseObject)
- Private
- Fcountry : String;
- FcustomUrl : String;
- FdefaultLanguage : String;
- Fdescription : String;
- Flocalized : TChannelLocalization;
- FpublishedAt : TDatetime;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure Setcountry(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcustomUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultLanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalized(AIndex : Integer; const AValue : TChannelLocalization); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property country : String Index 0 Read Fcountry Write Setcountry;
- Property customUrl : String Index 8 Read FcustomUrl Write SetcustomUrl;
- Property defaultLanguage : String Index 16 Read FdefaultLanguage Write SetdefaultLanguage;
- Property description : String Index 24 Read Fdescription Write Setdescription;
- Property localized : TChannelLocalization Index 32 Read Flocalized Write Setlocalized;
- Property publishedAt : TDatetime Index 40 Read FpublishedAt Write SetpublishedAt;
- Property thumbnails : TThumbnailDetails Index 48 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 56 Read Ftitle Write Settitle;
- end;
- TChannelSnippetClass = Class of TChannelSnippet;
-
- { --------------------------------------------------------------------
- TChannelStatistics
- --------------------------------------------------------------------}
-
- TChannelStatistics = Class(TGoogleBaseObject)
- Private
- FcommentCount : String;
- FhiddenSubscriberCount : boolean;
- FsubscriberCount : String;
- FvideoCount : String;
- FviewCount : String;
- Protected
- //Property setters
- Procedure SetcommentCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SethiddenSubscriberCount(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetsubscriberCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SetviewCount(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property commentCount : String Index 0 Read FcommentCount Write SetcommentCount;
- Property hiddenSubscriberCount : boolean Index 8 Read FhiddenSubscriberCount Write SethiddenSubscriberCount;
- Property subscriberCount : String Index 16 Read FsubscriberCount Write SetsubscriberCount;
- Property videoCount : String Index 24 Read FvideoCount Write SetvideoCount;
- Property viewCount : String Index 32 Read FviewCount Write SetviewCount;
- end;
- TChannelStatisticsClass = Class of TChannelStatistics;
-
- { --------------------------------------------------------------------
- TChannelStatus
- --------------------------------------------------------------------}
-
- TChannelStatus = Class(TGoogleBaseObject)
- Private
- FisLinked : boolean;
- FlongUploadsStatus : String;
- FprivacyStatus : String;
- Protected
- //Property setters
- Procedure SetisLinked(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetlongUploadsStatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprivacyStatus(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property isLinked : boolean Index 0 Read FisLinked Write SetisLinked;
- Property longUploadsStatus : String Index 8 Read FlongUploadsStatus Write SetlongUploadsStatus;
- Property privacyStatus : String Index 16 Read FprivacyStatus Write SetprivacyStatus;
- end;
- TChannelStatusClass = Class of TChannelStatus;
-
- { --------------------------------------------------------------------
- TChannelTopicDetails
- --------------------------------------------------------------------}
-
- TChannelTopicDetails = Class(TGoogleBaseObject)
- Private
- FtopicIds : TStringArray;
- Protected
- //Property setters
- Procedure SettopicIds(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 topicIds : TStringArray Index 0 Read FtopicIds Write SettopicIds;
- end;
- TChannelTopicDetailsClass = Class of TChannelTopicDetails;
-
- { --------------------------------------------------------------------
- TComment
- --------------------------------------------------------------------}
-
- TComment = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TCommentSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TCommentSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TCommentSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TCommentClass = Class of TComment;
-
- { --------------------------------------------------------------------
- TCommentListResponse
- --------------------------------------------------------------------}
-
- TCommentListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TCommentListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TCommentListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TCommentListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property tokenPagination : TTokenPagination Index 48 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 56 Read FvisitorId Write SetvisitorId;
- end;
- TCommentListResponseClass = Class of TCommentListResponse;
-
- { --------------------------------------------------------------------
- TCommentSnippet
- --------------------------------------------------------------------}
-
- TCommentSnippet = Class(TGoogleBaseObject)
- Private
- FauthorChannelId : TJSONSchema;
- FauthorChannelUrl : String;
- FauthorDisplayName : String;
- FauthorGoogleplusProfileUrl : String;
- FauthorProfileImageUrl : String;
- FcanRate : boolean;
- FchannelId : String;
- FlikeCount : integer;
- FmoderationStatus : String;
- FparentId : String;
- FpublishedAt : TDatetime;
- FtextDisplay : String;
- FtextOriginal : String;
- FupdatedAt : TDatetime;
- FvideoId : String;
- FviewerRating : String;
- Protected
- //Property setters
- Procedure SetauthorChannelId(AIndex : Integer; const AValue : TJSONSchema); virtual;
- Procedure SetauthorChannelUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetauthorDisplayName(AIndex : Integer; const AValue : String); virtual;
- Procedure SetauthorGoogleplusProfileUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetauthorProfileImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcanRate(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlikeCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetmoderationStatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SetparentId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SettextDisplay(AIndex : Integer; const AValue : String); virtual;
- Procedure SettextOriginal(AIndex : Integer; const AValue : String); virtual;
- Procedure SetupdatedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetviewerRating(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property authorChannelId : TJSONSchema Index 0 Read FauthorChannelId Write SetauthorChannelId;
- Property authorChannelUrl : String Index 8 Read FauthorChannelUrl Write SetauthorChannelUrl;
- Property authorDisplayName : String Index 16 Read FauthorDisplayName Write SetauthorDisplayName;
- Property authorGoogleplusProfileUrl : String Index 24 Read FauthorGoogleplusProfileUrl Write SetauthorGoogleplusProfileUrl;
- Property authorProfileImageUrl : String Index 32 Read FauthorProfileImageUrl Write SetauthorProfileImageUrl;
- Property canRate : boolean Index 40 Read FcanRate Write SetcanRate;
- Property channelId : String Index 48 Read FchannelId Write SetchannelId;
- Property likeCount : integer Index 56 Read FlikeCount Write SetlikeCount;
- Property moderationStatus : String Index 64 Read FmoderationStatus Write SetmoderationStatus;
- Property parentId : String Index 72 Read FparentId Write SetparentId;
- Property publishedAt : TDatetime Index 80 Read FpublishedAt Write SetpublishedAt;
- Property textDisplay : String Index 88 Read FtextDisplay Write SettextDisplay;
- Property textOriginal : String Index 96 Read FtextOriginal Write SettextOriginal;
- Property updatedAt : TDatetime Index 104 Read FupdatedAt Write SetupdatedAt;
- Property videoId : String Index 112 Read FvideoId Write SetvideoId;
- Property viewerRating : String Index 120 Read FviewerRating Write SetviewerRating;
- end;
- TCommentSnippetClass = Class of TCommentSnippet;
-
- { --------------------------------------------------------------------
- TCommentThread
- --------------------------------------------------------------------}
-
- TCommentThread = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Freplies : TCommentThreadReplies;
- Fsnippet : TCommentThreadSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setreplies(AIndex : Integer; const AValue : TCommentThreadReplies); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TCommentThreadSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property replies : TCommentThreadReplies Index 24 Read Freplies Write Setreplies;
- Property snippet : TCommentThreadSnippet Index 32 Read Fsnippet Write Setsnippet;
- end;
- TCommentThreadClass = Class of TCommentThread;
-
- { --------------------------------------------------------------------
- TCommentThreadListResponse
- --------------------------------------------------------------------}
-
- TCommentThreadListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TCommentThreadListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TCommentThreadListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TCommentThreadListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property tokenPagination : TTokenPagination Index 48 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 56 Read FvisitorId Write SetvisitorId;
- end;
- TCommentThreadListResponseClass = Class of TCommentThreadListResponse;
-
- { --------------------------------------------------------------------
- TCommentThreadReplies
- --------------------------------------------------------------------}
-
- TCommentThreadReplies = Class(TGoogleBaseObject)
- Private
- Fcomments : TCommentThreadRepliesTypecommentsArray;
- Protected
- //Property setters
- Procedure Setcomments(AIndex : Integer; const AValue : TCommentThreadRepliesTypecommentsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property comments : TCommentThreadRepliesTypecommentsArray Index 0 Read Fcomments Write Setcomments;
- end;
- TCommentThreadRepliesClass = Class of TCommentThreadReplies;
-
- { --------------------------------------------------------------------
- TCommentThreadSnippet
- --------------------------------------------------------------------}
-
- TCommentThreadSnippet = Class(TGoogleBaseObject)
- Private
- FcanReply : boolean;
- FchannelId : String;
- FisPublic : boolean;
- FtopLevelComment : TComment;
- FtotalReplyCount : integer;
- FvideoId : String;
- Protected
- //Property setters
- Procedure SetcanReply(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetisPublic(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SettopLevelComment(AIndex : Integer; const AValue : TComment); virtual;
- Procedure SettotalReplyCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property canReply : boolean Index 0 Read FcanReply Write SetcanReply;
- Property channelId : String Index 8 Read FchannelId Write SetchannelId;
- Property isPublic : boolean Index 16 Read FisPublic Write SetisPublic;
- Property topLevelComment : TComment Index 24 Read FtopLevelComment Write SettopLevelComment;
- Property totalReplyCount : integer Index 32 Read FtotalReplyCount Write SettotalReplyCount;
- Property videoId : String Index 40 Read FvideoId Write SetvideoId;
- end;
- TCommentThreadSnippetClass = Class of TCommentThreadSnippet;
-
- { --------------------------------------------------------------------
- TContentRating
- --------------------------------------------------------------------}
-
- TContentRating = Class(TGoogleBaseObject)
- Private
- FacbRating : String;
- FagcomRating : String;
- FanatelRating : String;
- FbbfcRating : String;
- FbfvcRating : String;
- FbmukkRating : String;
- FcatvRating : String;
- FcatvfrRating : String;
- FcbfcRating : String;
- FcccRating : String;
- FcceRating : String;
- FchfilmRating : String;
- FchvrsRating : String;
- FcicfRating : String;
- FcnaRating : String;
- FcncRating : String;
- FcsaRating : String;
- FcscfRating : String;
- FczfilmRating : String;
- FdjctqRating : String;
- FdjctqRatingReasons : TStringArray;
- FecbmctRating : String;
- FeefilmRating : String;
- FegfilmRating : String;
- FeirinRating : String;
- FfcbmRating : String;
- FfcoRating : String;
- FfmocRating : String;
- FfpbRating : String;
- FfskRating : String;
- FgrfilmRating : String;
- FicaaRating : String;
- FifcoRating : String;
- FilfilmRating : String;
- FincaaRating : String;
- FkfcbRating : String;
- FkijkwijzerRating : String;
- FkmrbRating : String;
- FlsfRating : String;
- FmccaaRating : String;
- FmccypRating : String;
- FmdaRating : String;
- FmedietilsynetRating : String;
- FmekuRating : String;
- FmibacRating : String;
- F_mocRating : String;
- FmoctwRating : String;
- FmpaaRating : String;
- FmtrcbRating : String;
- FnbcRating : String;
- FnbcplRating : String;
- FnfrcRating : String;
- FnfvcbRating : String;
- FnkclvRating : String;
- FoflcRating : String;
- FpefilmRating : String;
- FrcnofRating : String;
- FresorteviolenciaRating : String;
- FrtcRating : String;
- FrteRating : String;
- FrussiaRating : String;
- FskfilmRating : String;
- FsmaisRating : String;
- FsmsaRating : String;
- FtvpgRating : String;
- FytRating : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetacbRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetagcomRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetanatelRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbbfcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbfvcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbmukkRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcatvRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcatvfrRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcbfcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcccRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcceRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchfilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchvrsRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcicfRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcnaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcncRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcsaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcscfRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetczfilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdjctqRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdjctqRatingReasons(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetecbmctRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteefilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetegfilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteirinRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfcbmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfcoRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfmocRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfpbRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfskRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetgrfilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SeticaaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetifcoRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetilfilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetincaaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetkfcbRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetkijkwijzerRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetkmrbRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlsfRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmccaaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmccypRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmdaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmedietilsynetRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmekuRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmibacRating(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_mocRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmoctwRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmpaaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmtrcbRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnbcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnbcplRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnfrcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnfvcbRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnkclvRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoflcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpefilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrcnofRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetresorteviolenciaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrtcRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrteRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrussiaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetskfilmRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsmaisRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsmsaRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SettvpgRating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetytRating(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 acbRating : String Index 0 Read FacbRating Write SetacbRating;
- Property agcomRating : String Index 8 Read FagcomRating Write SetagcomRating;
- Property anatelRating : String Index 16 Read FanatelRating Write SetanatelRating;
- Property bbfcRating : String Index 24 Read FbbfcRating Write SetbbfcRating;
- Property bfvcRating : String Index 32 Read FbfvcRating Write SetbfvcRating;
- Property bmukkRating : String Index 40 Read FbmukkRating Write SetbmukkRating;
- Property catvRating : String Index 48 Read FcatvRating Write SetcatvRating;
- Property catvfrRating : String Index 56 Read FcatvfrRating Write SetcatvfrRating;
- Property cbfcRating : String Index 64 Read FcbfcRating Write SetcbfcRating;
- Property cccRating : String Index 72 Read FcccRating Write SetcccRating;
- Property cceRating : String Index 80 Read FcceRating Write SetcceRating;
- Property chfilmRating : String Index 88 Read FchfilmRating Write SetchfilmRating;
- Property chvrsRating : String Index 96 Read FchvrsRating Write SetchvrsRating;
- Property cicfRating : String Index 104 Read FcicfRating Write SetcicfRating;
- Property cnaRating : String Index 112 Read FcnaRating Write SetcnaRating;
- Property cncRating : String Index 120 Read FcncRating Write SetcncRating;
- Property csaRating : String Index 128 Read FcsaRating Write SetcsaRating;
- Property cscfRating : String Index 136 Read FcscfRating Write SetcscfRating;
- Property czfilmRating : String Index 144 Read FczfilmRating Write SetczfilmRating;
- Property djctqRating : String Index 152 Read FdjctqRating Write SetdjctqRating;
- Property djctqRatingReasons : TStringArray Index 160 Read FdjctqRatingReasons Write SetdjctqRatingReasons;
- Property ecbmctRating : String Index 168 Read FecbmctRating Write SetecbmctRating;
- Property eefilmRating : String Index 176 Read FeefilmRating Write SeteefilmRating;
- Property egfilmRating : String Index 184 Read FegfilmRating Write SetegfilmRating;
- Property eirinRating : String Index 192 Read FeirinRating Write SeteirinRating;
- Property fcbmRating : String Index 200 Read FfcbmRating Write SetfcbmRating;
- Property fcoRating : String Index 208 Read FfcoRating Write SetfcoRating;
- Property fmocRating : String Index 216 Read FfmocRating Write SetfmocRating;
- Property fpbRating : String Index 224 Read FfpbRating Write SetfpbRating;
- Property fskRating : String Index 232 Read FfskRating Write SetfskRating;
- Property grfilmRating : String Index 240 Read FgrfilmRating Write SetgrfilmRating;
- Property icaaRating : String Index 248 Read FicaaRating Write SeticaaRating;
- Property ifcoRating : String Index 256 Read FifcoRating Write SetifcoRating;
- Property ilfilmRating : String Index 264 Read FilfilmRating Write SetilfilmRating;
- Property incaaRating : String Index 272 Read FincaaRating Write SetincaaRating;
- Property kfcbRating : String Index 280 Read FkfcbRating Write SetkfcbRating;
- Property kijkwijzerRating : String Index 288 Read FkijkwijzerRating Write SetkijkwijzerRating;
- Property kmrbRating : String Index 296 Read FkmrbRating Write SetkmrbRating;
- Property lsfRating : String Index 304 Read FlsfRating Write SetlsfRating;
- Property mccaaRating : String Index 312 Read FmccaaRating Write SetmccaaRating;
- Property mccypRating : String Index 320 Read FmccypRating Write SetmccypRating;
- Property mdaRating : String Index 328 Read FmdaRating Write SetmdaRating;
- Property medietilsynetRating : String Index 336 Read FmedietilsynetRating Write SetmedietilsynetRating;
- Property mekuRating : String Index 344 Read FmekuRating Write SetmekuRating;
- Property mibacRating : String Index 352 Read FmibacRating Write SetmibacRating;
- Property _mocRating : String Index 360 Read F_mocRating Write Set_mocRating;
- Property moctwRating : String Index 368 Read FmoctwRating Write SetmoctwRating;
- Property mpaaRating : String Index 376 Read FmpaaRating Write SetmpaaRating;
- Property mtrcbRating : String Index 384 Read FmtrcbRating Write SetmtrcbRating;
- Property nbcRating : String Index 392 Read FnbcRating Write SetnbcRating;
- Property nbcplRating : String Index 400 Read FnbcplRating Write SetnbcplRating;
- Property nfrcRating : String Index 408 Read FnfrcRating Write SetnfrcRating;
- Property nfvcbRating : String Index 416 Read FnfvcbRating Write SetnfvcbRating;
- Property nkclvRating : String Index 424 Read FnkclvRating Write SetnkclvRating;
- Property oflcRating : String Index 432 Read FoflcRating Write SetoflcRating;
- Property pefilmRating : String Index 440 Read FpefilmRating Write SetpefilmRating;
- Property rcnofRating : String Index 448 Read FrcnofRating Write SetrcnofRating;
- Property resorteviolenciaRating : String Index 456 Read FresorteviolenciaRating Write SetresorteviolenciaRating;
- Property rtcRating : String Index 464 Read FrtcRating Write SetrtcRating;
- Property rteRating : String Index 472 Read FrteRating Write SetrteRating;
- Property russiaRating : String Index 480 Read FrussiaRating Write SetrussiaRating;
- Property skfilmRating : String Index 488 Read FskfilmRating Write SetskfilmRating;
- Property smaisRating : String Index 496 Read FsmaisRating Write SetsmaisRating;
- Property smsaRating : String Index 504 Read FsmsaRating Write SetsmsaRating;
- Property tvpgRating : String Index 512 Read FtvpgRating Write SettvpgRating;
- Property ytRating : String Index 520 Read FytRating Write SetytRating;
- end;
- TContentRatingClass = Class of TContentRating;
-
- { --------------------------------------------------------------------
- TFanFundingEvent
- --------------------------------------------------------------------}
-
- TFanFundingEvent = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TFanFundingEventSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TFanFundingEventSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TFanFundingEventSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TFanFundingEventClass = Class of TFanFundingEvent;
-
- { --------------------------------------------------------------------
- TFanFundingEventListResponse
- --------------------------------------------------------------------}
-
- TFanFundingEventListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TFanFundingEventListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TFanFundingEventListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TFanFundingEventListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property tokenPagination : TTokenPagination Index 48 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 56 Read FvisitorId Write SetvisitorId;
- end;
- TFanFundingEventListResponseClass = Class of TFanFundingEventListResponse;
-
- { --------------------------------------------------------------------
- TFanFundingEventSnippet
- --------------------------------------------------------------------}
-
- TFanFundingEventSnippet = Class(TGoogleBaseObject)
- Private
- FamountMicros : String;
- FchannelId : String;
- FcommentText : String;
- FcreatedAt : TDatetime;
- Fcurrency : String;
- FdisplayString : String;
- FsupporterDetails : TChannelProfileDetails;
- Protected
- //Property setters
- Procedure SetamountMicros(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcommentText(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcreatedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setcurrency(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdisplayString(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsupporterDetails(AIndex : Integer; const AValue : TChannelProfileDetails); virtual;
- Public
- Published
- Property amountMicros : String Index 0 Read FamountMicros Write SetamountMicros;
- Property channelId : String Index 8 Read FchannelId Write SetchannelId;
- Property commentText : String Index 16 Read FcommentText Write SetcommentText;
- Property createdAt : TDatetime Index 24 Read FcreatedAt Write SetcreatedAt;
- Property currency : String Index 32 Read Fcurrency Write Setcurrency;
- Property displayString : String Index 40 Read FdisplayString Write SetdisplayString;
- Property supporterDetails : TChannelProfileDetails Index 48 Read FsupporterDetails Write SetsupporterDetails;
- end;
- TFanFundingEventSnippetClass = Class of TFanFundingEventSnippet;
-
- { --------------------------------------------------------------------
- TGeoPoint
- --------------------------------------------------------------------}
-
- TGeoPoint = Class(TGoogleBaseObject)
- Private
- Faltitude : double;
- Flatitude : double;
- Flongitude : double;
- Protected
- //Property setters
- Procedure Setaltitude(AIndex : Integer; const AValue : double); virtual;
- Procedure Setlatitude(AIndex : Integer; const AValue : double); virtual;
- Procedure Setlongitude(AIndex : Integer; const AValue : double); virtual;
- Public
- Published
- Property altitude : double Index 0 Read Faltitude Write Setaltitude;
- Property latitude : double Index 8 Read Flatitude Write Setlatitude;
- Property longitude : double Index 16 Read Flongitude Write Setlongitude;
- end;
- TGeoPointClass = Class of TGeoPoint;
-
- { --------------------------------------------------------------------
- TGuideCategory
- --------------------------------------------------------------------}
-
- TGuideCategory = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TGuideCategorySnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TGuideCategorySnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TGuideCategorySnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TGuideCategoryClass = Class of TGuideCategory;
-
- { --------------------------------------------------------------------
- TGuideCategoryListResponse
- --------------------------------------------------------------------}
-
- TGuideCategoryListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TGuideCategoryListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TGuideCategoryListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TGuideCategoryListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TGuideCategoryListResponseClass = Class of TGuideCategoryListResponse;
-
- { --------------------------------------------------------------------
- TGuideCategorySnippet
- --------------------------------------------------------------------}
-
- TGuideCategorySnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property title : String Index 8 Read Ftitle Write Settitle;
- end;
- TGuideCategorySnippetClass = Class of TGuideCategorySnippet;
-
- { --------------------------------------------------------------------
- TI18nLanguage
- --------------------------------------------------------------------}
-
- TI18nLanguage = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TI18nLanguageSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TI18nLanguageSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TI18nLanguageSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TI18nLanguageClass = Class of TI18nLanguage;
-
- { --------------------------------------------------------------------
- TI18nLanguageListResponse
- --------------------------------------------------------------------}
-
- TI18nLanguageListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TI18nLanguageListResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TI18nLanguageListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TI18nLanguageListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TI18nLanguageListResponseClass = Class of TI18nLanguageListResponse;
-
- { --------------------------------------------------------------------
- TI18nLanguageSnippet
- --------------------------------------------------------------------}
-
- TI18nLanguageSnippet = Class(TGoogleBaseObject)
- Private
- Fhl : String;
- Fname : String;
- Protected
- //Property setters
- Procedure Sethl(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property hl : String Index 0 Read Fhl Write Sethl;
- Property name : String Index 8 Read Fname Write Setname;
- end;
- TI18nLanguageSnippetClass = Class of TI18nLanguageSnippet;
-
- { --------------------------------------------------------------------
- TI18nRegion
- --------------------------------------------------------------------}
-
- TI18nRegion = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TI18nRegionSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TI18nRegionSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TI18nRegionSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TI18nRegionClass = Class of TI18nRegion;
-
- { --------------------------------------------------------------------
- TI18nRegionListResponse
- --------------------------------------------------------------------}
-
- TI18nRegionListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TI18nRegionListResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TI18nRegionListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TI18nRegionListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TI18nRegionListResponseClass = Class of TI18nRegionListResponse;
-
- { --------------------------------------------------------------------
- TI18nRegionSnippet
- --------------------------------------------------------------------}
-
- TI18nRegionSnippet = Class(TGoogleBaseObject)
- Private
- Fgl : String;
- Fname : String;
- Protected
- //Property setters
- Procedure Setgl(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property gl : String Index 0 Read Fgl Write Setgl;
- Property name : String Index 8 Read Fname Write Setname;
- end;
- TI18nRegionSnippetClass = Class of TI18nRegionSnippet;
-
- { --------------------------------------------------------------------
- TImageSettings
- --------------------------------------------------------------------}
-
- TImageSettings = Class(TGoogleBaseObject)
- Private
- FbackgroundImageUrl : TLocalizedProperty;
- FbannerExternalUrl : String;
- FbannerImageUrl : String;
- FbannerMobileExtraHdImageUrl : String;
- FbannerMobileHdImageUrl : String;
- FbannerMobileImageUrl : String;
- FbannerMobileLowImageUrl : String;
- FbannerMobileMediumHdImageUrl : String;
- FbannerTabletExtraHdImageUrl : String;
- FbannerTabletHdImageUrl : String;
- FbannerTabletImageUrl : String;
- FbannerTabletLowImageUrl : String;
- FbannerTvHighImageUrl : String;
- FbannerTvImageUrl : String;
- FbannerTvLowImageUrl : String;
- FbannerTvMediumImageUrl : String;
- FlargeBrandedBannerImageImapScript : TLocalizedProperty;
- FlargeBrandedBannerImageUrl : TLocalizedProperty;
- FsmallBrandedBannerImageImapScript : TLocalizedProperty;
- FsmallBrandedBannerImageUrl : TLocalizedProperty;
- FtrackingImageUrl : String;
- FwatchIconImageUrl : String;
- Protected
- //Property setters
- Procedure SetbackgroundImageUrl(AIndex : Integer; const AValue : TLocalizedProperty); virtual;
- Procedure SetbannerExternalUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerMobileExtraHdImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerMobileHdImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerMobileImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerMobileLowImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerMobileMediumHdImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTabletExtraHdImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTabletHdImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTabletImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTabletLowImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTvHighImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTvImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTvLowImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannerTvMediumImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlargeBrandedBannerImageImapScript(AIndex : Integer; const AValue : TLocalizedProperty); virtual;
- Procedure SetlargeBrandedBannerImageUrl(AIndex : Integer; const AValue : TLocalizedProperty); virtual;
- Procedure SetsmallBrandedBannerImageImapScript(AIndex : Integer; const AValue : TLocalizedProperty); virtual;
- Procedure SetsmallBrandedBannerImageUrl(AIndex : Integer; const AValue : TLocalizedProperty); virtual;
- Procedure SettrackingImageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwatchIconImageUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property backgroundImageUrl : TLocalizedProperty Index 0 Read FbackgroundImageUrl Write SetbackgroundImageUrl;
- Property bannerExternalUrl : String Index 8 Read FbannerExternalUrl Write SetbannerExternalUrl;
- Property bannerImageUrl : String Index 16 Read FbannerImageUrl Write SetbannerImageUrl;
- Property bannerMobileExtraHdImageUrl : String Index 24 Read FbannerMobileExtraHdImageUrl Write SetbannerMobileExtraHdImageUrl;
- Property bannerMobileHdImageUrl : String Index 32 Read FbannerMobileHdImageUrl Write SetbannerMobileHdImageUrl;
- Property bannerMobileImageUrl : String Index 40 Read FbannerMobileImageUrl Write SetbannerMobileImageUrl;
- Property bannerMobileLowImageUrl : String Index 48 Read FbannerMobileLowImageUrl Write SetbannerMobileLowImageUrl;
- Property bannerMobileMediumHdImageUrl : String Index 56 Read FbannerMobileMediumHdImageUrl Write SetbannerMobileMediumHdImageUrl;
- Property bannerTabletExtraHdImageUrl : String Index 64 Read FbannerTabletExtraHdImageUrl Write SetbannerTabletExtraHdImageUrl;
- Property bannerTabletHdImageUrl : String Index 72 Read FbannerTabletHdImageUrl Write SetbannerTabletHdImageUrl;
- Property bannerTabletImageUrl : String Index 80 Read FbannerTabletImageUrl Write SetbannerTabletImageUrl;
- Property bannerTabletLowImageUrl : String Index 88 Read FbannerTabletLowImageUrl Write SetbannerTabletLowImageUrl;
- Property bannerTvHighImageUrl : String Index 96 Read FbannerTvHighImageUrl Write SetbannerTvHighImageUrl;
- Property bannerTvImageUrl : String Index 104 Read FbannerTvImageUrl Write SetbannerTvImageUrl;
- Property bannerTvLowImageUrl : String Index 112 Read FbannerTvLowImageUrl Write SetbannerTvLowImageUrl;
- Property bannerTvMediumImageUrl : String Index 120 Read FbannerTvMediumImageUrl Write SetbannerTvMediumImageUrl;
- Property largeBrandedBannerImageImapScript : TLocalizedProperty Index 128 Read FlargeBrandedBannerImageImapScript Write SetlargeBrandedBannerImageImapScript;
- Property largeBrandedBannerImageUrl : TLocalizedProperty Index 136 Read FlargeBrandedBannerImageUrl Write SetlargeBrandedBannerImageUrl;
- Property smallBrandedBannerImageImapScript : TLocalizedProperty Index 144 Read FsmallBrandedBannerImageImapScript Write SetsmallBrandedBannerImageImapScript;
- Property smallBrandedBannerImageUrl : TLocalizedProperty Index 152 Read FsmallBrandedBannerImageUrl Write SetsmallBrandedBannerImageUrl;
- Property trackingImageUrl : String Index 160 Read FtrackingImageUrl Write SettrackingImageUrl;
- Property watchIconImageUrl : String Index 168 Read FwatchIconImageUrl Write SetwatchIconImageUrl;
- end;
- TImageSettingsClass = Class of TImageSettings;
-
- { --------------------------------------------------------------------
- TIngestionInfo
- --------------------------------------------------------------------}
-
- TIngestionInfo = Class(TGoogleBaseObject)
- Private
- FbackupIngestionAddress : String;
- FingestionAddress : String;
- FstreamName : String;
- Protected
- //Property setters
- Procedure SetbackupIngestionAddress(AIndex : Integer; const AValue : String); virtual;
- Procedure SetingestionAddress(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstreamName(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property backupIngestionAddress : String Index 0 Read FbackupIngestionAddress Write SetbackupIngestionAddress;
- Property ingestionAddress : String Index 8 Read FingestionAddress Write SetingestionAddress;
- Property streamName : String Index 16 Read FstreamName Write SetstreamName;
- end;
- TIngestionInfoClass = Class of TIngestionInfo;
-
- { --------------------------------------------------------------------
- TInvideoBranding
- --------------------------------------------------------------------}
-
- TInvideoBranding = Class(TGoogleBaseObject)
- Private
- FimageBytes : String;
- FimageUrl : String;
- Fposition : TInvideoPosition;
- FtargetChannelId : String;
- Ftiming : TInvideoTiming;
- Protected
- //Property setters
- Procedure SetimageBytes(AIndex : Integer; const AValue : String); virtual;
- Procedure SetimageUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure Setposition(AIndex : Integer; const AValue : TInvideoPosition); virtual;
- Procedure SettargetChannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Settiming(AIndex : Integer; const AValue : TInvideoTiming); virtual;
- Public
- Published
- Property imageBytes : String Index 0 Read FimageBytes Write SetimageBytes;
- Property imageUrl : String Index 8 Read FimageUrl Write SetimageUrl;
- Property position : TInvideoPosition Index 16 Read Fposition Write Setposition;
- Property targetChannelId : String Index 24 Read FtargetChannelId Write SettargetChannelId;
- Property timing : TInvideoTiming Index 32 Read Ftiming Write Settiming;
- end;
- TInvideoBrandingClass = Class of TInvideoBranding;
-
- { --------------------------------------------------------------------
- TInvideoPosition
- --------------------------------------------------------------------}
-
- TInvideoPosition = Class(TGoogleBaseObject)
- Private
- FcornerPosition : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetcornerPosition(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property cornerPosition : String Index 0 Read FcornerPosition Write SetcornerPosition;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TInvideoPositionClass = Class of TInvideoPosition;
-
- { --------------------------------------------------------------------
- TInvideoPromotion
- --------------------------------------------------------------------}
-
- TInvideoPromotion = Class(TGoogleBaseObject)
- Private
- FdefaultTiming : TInvideoTiming;
- Fitems : TInvideoPromotionTypeitemsArray;
- Fposition : TInvideoPosition;
- FuseSmartTiming : boolean;
- Protected
- //Property setters
- Procedure SetdefaultTiming(AIndex : Integer; const AValue : TInvideoTiming); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TInvideoPromotionTypeitemsArray); virtual;
- Procedure Setposition(AIndex : Integer; const AValue : TInvideoPosition); virtual;
- Procedure SetuseSmartTiming(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 defaultTiming : TInvideoTiming Index 0 Read FdefaultTiming Write SetdefaultTiming;
- Property items : TInvideoPromotionTypeitemsArray Index 8 Read Fitems Write Setitems;
- Property position : TInvideoPosition Index 16 Read Fposition Write Setposition;
- Property useSmartTiming : boolean Index 24 Read FuseSmartTiming Write SetuseSmartTiming;
- end;
- TInvideoPromotionClass = Class of TInvideoPromotion;
-
- { --------------------------------------------------------------------
- TInvideoTiming
- --------------------------------------------------------------------}
-
- TInvideoTiming = Class(TGoogleBaseObject)
- Private
- FdurationMs : String;
- FoffsetMs : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetdurationMs(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoffsetMs(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property durationMs : String Index 0 Read FdurationMs Write SetdurationMs;
- Property offsetMs : String Index 8 Read FoffsetMs Write SetoffsetMs;
- Property _type : String Index 16 Read F_type Write Set_type;
- end;
- TInvideoTimingClass = Class of TInvideoTiming;
-
- { --------------------------------------------------------------------
- TLanguageTag
- --------------------------------------------------------------------}
-
- TLanguageTag = Class(TGoogleBaseObject)
- Private
- Fvalue : String;
- Protected
- //Property setters
- Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property value : String Index 0 Read Fvalue Write Setvalue;
- end;
- TLanguageTagClass = Class of TLanguageTag;
-
- { --------------------------------------------------------------------
- TLiveBroadcast
- --------------------------------------------------------------------}
-
- TLiveBroadcast = Class(TGoogleBaseObject)
- Private
- FcontentDetails : TLiveBroadcastContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TLiveBroadcastSnippet;
- Fstatistics : TLiveBroadcastStatistics;
- Fstatus : TLiveBroadcastStatus;
- FtopicDetails : TLiveBroadcastTopicDetails;
- Protected
- //Property setters
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TLiveBroadcastContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TLiveBroadcastSnippet); virtual;
- Procedure Setstatistics(AIndex : Integer; const AValue : TLiveBroadcastStatistics); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TLiveBroadcastStatus); virtual;
- Procedure SettopicDetails(AIndex : Integer; const AValue : TLiveBroadcastTopicDetails); virtual;
- Public
- Published
- Property contentDetails : TLiveBroadcastContentDetails Index 0 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property snippet : TLiveBroadcastSnippet Index 32 Read Fsnippet Write Setsnippet;
- Property statistics : TLiveBroadcastStatistics Index 40 Read Fstatistics Write Setstatistics;
- Property status : TLiveBroadcastStatus Index 48 Read Fstatus Write Setstatus;
- Property topicDetails : TLiveBroadcastTopicDetails Index 56 Read FtopicDetails Write SettopicDetails;
- end;
- TLiveBroadcastClass = Class of TLiveBroadcast;
-
- { --------------------------------------------------------------------
- TLiveBroadcastContentDetails
- --------------------------------------------------------------------}
-
- TLiveBroadcastContentDetails = Class(TGoogleBaseObject)
- Private
- FboundStreamId : String;
- FboundStreamLastUpdateTimeMs : TDatetime;
- FclosedCaptionsType : String;
- FenableClosedCaptions : boolean;
- FenableContentEncryption : boolean;
- FenableDvr : boolean;
- FenableEmbed : boolean;
- FenableLowLatency : boolean;
- FmonitorStream : TMonitorStreamInfo;
- Fprojection : String;
- FrecordFromStart : boolean;
- FstartWithSlate : boolean;
- Protected
- //Property setters
- Procedure SetboundStreamId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetboundStreamLastUpdateTimeMs(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetclosedCaptionsType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetenableClosedCaptions(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetenableContentEncryption(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetenableDvr(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetenableEmbed(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetenableLowLatency(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetmonitorStream(AIndex : Integer; const AValue : TMonitorStreamInfo); virtual;
- Procedure Setprojection(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrecordFromStart(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetstartWithSlate(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property boundStreamId : String Index 0 Read FboundStreamId Write SetboundStreamId;
- Property boundStreamLastUpdateTimeMs : TDatetime Index 8 Read FboundStreamLastUpdateTimeMs Write SetboundStreamLastUpdateTimeMs;
- Property closedCaptionsType : String Index 16 Read FclosedCaptionsType Write SetclosedCaptionsType;
- Property enableClosedCaptions : boolean Index 24 Read FenableClosedCaptions Write SetenableClosedCaptions;
- Property enableContentEncryption : boolean Index 32 Read FenableContentEncryption Write SetenableContentEncryption;
- Property enableDvr : boolean Index 40 Read FenableDvr Write SetenableDvr;
- Property enableEmbed : boolean Index 48 Read FenableEmbed Write SetenableEmbed;
- Property enableLowLatency : boolean Index 56 Read FenableLowLatency Write SetenableLowLatency;
- Property monitorStream : TMonitorStreamInfo Index 64 Read FmonitorStream Write SetmonitorStream;
- Property projection : String Index 72 Read Fprojection Write Setprojection;
- Property recordFromStart : boolean Index 80 Read FrecordFromStart Write SetrecordFromStart;
- Property startWithSlate : boolean Index 88 Read FstartWithSlate Write SetstartWithSlate;
- end;
- TLiveBroadcastContentDetailsClass = Class of TLiveBroadcastContentDetails;
-
- { --------------------------------------------------------------------
- TLiveBroadcastListResponse
- --------------------------------------------------------------------}
-
- TLiveBroadcastListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TLiveBroadcastListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TLiveBroadcastListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TLiveBroadcastListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TLiveBroadcastListResponseClass = Class of TLiveBroadcastListResponse;
-
- { --------------------------------------------------------------------
- TLiveBroadcastSnippet
- --------------------------------------------------------------------}
-
- TLiveBroadcastSnippet = Class(TGoogleBaseObject)
- Private
- FactualEndTime : TDatetime;
- FactualStartTime : TDatetime;
- FchannelId : String;
- Fdescription : String;
- FisDefaultBroadcast : boolean;
- FliveChatId : String;
- FpublishedAt : TDatetime;
- FscheduledEndTime : TDatetime;
- FscheduledStartTime : TDatetime;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetactualEndTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetactualStartTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetisDefaultBroadcast(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetliveChatId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetscheduledEndTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetscheduledStartTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property actualEndTime : TDatetime Index 0 Read FactualEndTime Write SetactualEndTime;
- Property actualStartTime : TDatetime Index 8 Read FactualStartTime Write SetactualStartTime;
- Property channelId : String Index 16 Read FchannelId Write SetchannelId;
- Property description : String Index 24 Read Fdescription Write Setdescription;
- Property isDefaultBroadcast : boolean Index 32 Read FisDefaultBroadcast Write SetisDefaultBroadcast;
- Property liveChatId : String Index 40 Read FliveChatId Write SetliveChatId;
- Property publishedAt : TDatetime Index 48 Read FpublishedAt Write SetpublishedAt;
- Property scheduledEndTime : TDatetime Index 56 Read FscheduledEndTime Write SetscheduledEndTime;
- Property scheduledStartTime : TDatetime Index 64 Read FscheduledStartTime Write SetscheduledStartTime;
- Property thumbnails : TThumbnailDetails Index 72 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 80 Read Ftitle Write Settitle;
- end;
- TLiveBroadcastSnippetClass = Class of TLiveBroadcastSnippet;
-
- { --------------------------------------------------------------------
- TLiveBroadcastStatistics
- --------------------------------------------------------------------}
-
- TLiveBroadcastStatistics = Class(TGoogleBaseObject)
- Private
- FconcurrentViewers : String;
- FtotalChatCount : String;
- Protected
- //Property setters
- Procedure SetconcurrentViewers(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalChatCount(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property concurrentViewers : String Index 0 Read FconcurrentViewers Write SetconcurrentViewers;
- Property totalChatCount : String Index 8 Read FtotalChatCount Write SettotalChatCount;
- end;
- TLiveBroadcastStatisticsClass = Class of TLiveBroadcastStatistics;
-
- { --------------------------------------------------------------------
- TLiveBroadcastStatus
- --------------------------------------------------------------------}
-
- TLiveBroadcastStatus = Class(TGoogleBaseObject)
- Private
- FlifeCycleStatus : String;
- FliveBroadcastPriority : String;
- FprivacyStatus : String;
- FrecordingStatus : String;
- Protected
- //Property setters
- Procedure SetlifeCycleStatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SetliveBroadcastPriority(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprivacyStatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrecordingStatus(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property lifeCycleStatus : String Index 0 Read FlifeCycleStatus Write SetlifeCycleStatus;
- Property liveBroadcastPriority : String Index 8 Read FliveBroadcastPriority Write SetliveBroadcastPriority;
- Property privacyStatus : String Index 16 Read FprivacyStatus Write SetprivacyStatus;
- Property recordingStatus : String Index 24 Read FrecordingStatus Write SetrecordingStatus;
- end;
- TLiveBroadcastStatusClass = Class of TLiveBroadcastStatus;
-
- { --------------------------------------------------------------------
- TLiveBroadcastTopic
- --------------------------------------------------------------------}
-
- TLiveBroadcastTopic = Class(TGoogleBaseObject)
- Private
- Fsnippet : TLiveBroadcastTopicSnippet;
- F_type : String;
- Funmatched : boolean;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setsnippet(AIndex : Integer; const AValue : TLiveBroadcastTopicSnippet); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setunmatched(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property snippet : TLiveBroadcastTopicSnippet Index 0 Read Fsnippet Write Setsnippet;
- Property _type : String Index 8 Read F_type Write Set_type;
- Property unmatched : boolean Index 16 Read Funmatched Write Setunmatched;
- end;
- TLiveBroadcastTopicClass = Class of TLiveBroadcastTopic;
-
- { --------------------------------------------------------------------
- TLiveBroadcastTopicDetails
- --------------------------------------------------------------------}
-
- TLiveBroadcastTopicDetails = Class(TGoogleBaseObject)
- Private
- Ftopics : TLiveBroadcastTopicDetailsTypetopicsArray;
- Protected
- //Property setters
- Procedure Settopics(AIndex : Integer; const AValue : TLiveBroadcastTopicDetailsTypetopicsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property topics : TLiveBroadcastTopicDetailsTypetopicsArray Index 0 Read Ftopics Write Settopics;
- end;
- TLiveBroadcastTopicDetailsClass = Class of TLiveBroadcastTopicDetails;
-
- { --------------------------------------------------------------------
- TLiveBroadcastTopicSnippet
- --------------------------------------------------------------------}
-
- TLiveBroadcastTopicSnippet = Class(TGoogleBaseObject)
- Private
- Fname : String;
- FreleaseDate : String;
- Protected
- //Property setters
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetreleaseDate(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property name : String Index 0 Read Fname Write Setname;
- Property releaseDate : String Index 8 Read FreleaseDate Write SetreleaseDate;
- end;
- TLiveBroadcastTopicSnippetClass = Class of TLiveBroadcastTopicSnippet;
-
- { --------------------------------------------------------------------
- TLiveChatBan
- --------------------------------------------------------------------}
-
- TLiveChatBan = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TLiveChatBanSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TLiveChatBanSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TLiveChatBanSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TLiveChatBanClass = Class of TLiveChatBan;
-
- { --------------------------------------------------------------------
- TLiveChatBanSnippet
- --------------------------------------------------------------------}
-
- TLiveChatBanSnippet = Class(TGoogleBaseObject)
- Private
- FbanDurationSeconds : String;
- FbannedUserDetails : TChannelProfileDetails;
- FliveChatId : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetbanDurationSeconds(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannedUserDetails(AIndex : Integer; const AValue : TChannelProfileDetails); virtual;
- Procedure SetliveChatId(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property banDurationSeconds : String Index 0 Read FbanDurationSeconds Write SetbanDurationSeconds;
- Property bannedUserDetails : TChannelProfileDetails Index 8 Read FbannedUserDetails Write SetbannedUserDetails;
- Property liveChatId : String Index 16 Read FliveChatId Write SetliveChatId;
- Property _type : String Index 24 Read F_type Write Set_type;
- end;
- TLiveChatBanSnippetClass = Class of TLiveChatBanSnippet;
-
- { --------------------------------------------------------------------
- TLiveChatFanFundingEventDetails
- --------------------------------------------------------------------}
-
- TLiveChatFanFundingEventDetails = Class(TGoogleBaseObject)
- Private
- FamountDisplayString : String;
- FamountMicros : String;
- Fcurrency : String;
- FuserComment : String;
- Protected
- //Property setters
- Procedure SetamountDisplayString(AIndex : Integer; const AValue : String); virtual;
- Procedure SetamountMicros(AIndex : Integer; const AValue : String); virtual;
- Procedure Setcurrency(AIndex : Integer; const AValue : String); virtual;
- Procedure SetuserComment(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property amountDisplayString : String Index 0 Read FamountDisplayString Write SetamountDisplayString;
- Property amountMicros : String Index 8 Read FamountMicros Write SetamountMicros;
- Property currency : String Index 16 Read Fcurrency Write Setcurrency;
- Property userComment : String Index 24 Read FuserComment Write SetuserComment;
- end;
- TLiveChatFanFundingEventDetailsClass = Class of TLiveChatFanFundingEventDetails;
-
- { --------------------------------------------------------------------
- TLiveChatMessage
- --------------------------------------------------------------------}
-
- TLiveChatMessage = Class(TGoogleBaseObject)
- Private
- FauthorDetails : TLiveChatMessageAuthorDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TLiveChatMessageSnippet;
- Protected
- //Property setters
- Procedure SetauthorDetails(AIndex : Integer; const AValue : TLiveChatMessageAuthorDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TLiveChatMessageSnippet); virtual;
- Public
- Published
- Property authorDetails : TLiveChatMessageAuthorDetails Index 0 Read FauthorDetails Write SetauthorDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property snippet : TLiveChatMessageSnippet Index 32 Read Fsnippet Write Setsnippet;
- end;
- TLiveChatMessageClass = Class of TLiveChatMessage;
-
- { --------------------------------------------------------------------
- TLiveChatMessageAuthorDetails
- --------------------------------------------------------------------}
-
- TLiveChatMessageAuthorDetails = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelUrl : String;
- FdisplayName : String;
- FisChatModerator : boolean;
- FisChatOwner : boolean;
- FisChatSponsor : boolean;
- FisVerified : boolean;
- FprofileImageUrl : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
- Procedure SetisChatModerator(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisChatOwner(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisChatSponsor(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetisVerified(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetprofileImageUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelUrl : String Index 8 Read FchannelUrl Write SetchannelUrl;
- Property displayName : String Index 16 Read FdisplayName Write SetdisplayName;
- Property isChatModerator : boolean Index 24 Read FisChatModerator Write SetisChatModerator;
- Property isChatOwner : boolean Index 32 Read FisChatOwner Write SetisChatOwner;
- Property isChatSponsor : boolean Index 40 Read FisChatSponsor Write SetisChatSponsor;
- Property isVerified : boolean Index 48 Read FisVerified Write SetisVerified;
- Property profileImageUrl : String Index 56 Read FprofileImageUrl Write SetprofileImageUrl;
- end;
- TLiveChatMessageAuthorDetailsClass = Class of TLiveChatMessageAuthorDetails;
-
- { --------------------------------------------------------------------
- TLiveChatMessageDeletedDetails
- --------------------------------------------------------------------}
-
- TLiveChatMessageDeletedDetails = Class(TGoogleBaseObject)
- Private
- FdeletedMessageId : String;
- Protected
- //Property setters
- Procedure SetdeletedMessageId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property deletedMessageId : String Index 0 Read FdeletedMessageId Write SetdeletedMessageId;
- end;
- TLiveChatMessageDeletedDetailsClass = Class of TLiveChatMessageDeletedDetails;
-
- { --------------------------------------------------------------------
- TLiveChatMessageListResponse
- --------------------------------------------------------------------}
-
- TLiveChatMessageListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TLiveChatMessageListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FofflineAt : TDatetime;
- FpageInfo : TPageInfo;
- FpollingIntervalMillis : integer;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TLiveChatMessageListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetofflineAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetpollingIntervalMillis(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TLiveChatMessageListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property offlineAt : TDatetime Index 40 Read FofflineAt Write SetofflineAt;
- Property pageInfo : TPageInfo Index 48 Read FpageInfo Write SetpageInfo;
- Property pollingIntervalMillis : integer Index 56 Read FpollingIntervalMillis Write SetpollingIntervalMillis;
- Property tokenPagination : TTokenPagination Index 64 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 72 Read FvisitorId Write SetvisitorId;
- end;
- TLiveChatMessageListResponseClass = Class of TLiveChatMessageListResponse;
-
- { --------------------------------------------------------------------
- TLiveChatMessageRetractedDetails
- --------------------------------------------------------------------}
-
- TLiveChatMessageRetractedDetails = Class(TGoogleBaseObject)
- Private
- FretractedMessageId : String;
- Protected
- //Property setters
- Procedure SetretractedMessageId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property retractedMessageId : String Index 0 Read FretractedMessageId Write SetretractedMessageId;
- end;
- TLiveChatMessageRetractedDetailsClass = Class of TLiveChatMessageRetractedDetails;
-
- { --------------------------------------------------------------------
- TLiveChatMessageSnippet
- --------------------------------------------------------------------}
-
- TLiveChatMessageSnippet = Class(TGoogleBaseObject)
- Private
- FauthorChannelId : String;
- FdisplayMessage : String;
- FfanFundingEventDetails : TLiveChatFanFundingEventDetails;
- FhasDisplayContent : boolean;
- FliveChatId : String;
- FmessageDeletedDetails : TLiveChatMessageDeletedDetails;
- FmessageRetractedDetails : TLiveChatMessageRetractedDetails;
- FpublishedAt : TDatetime;
- FtextMessageDetails : TLiveChatTextMessageDetails;
- F_type : String;
- FuserBannedDetails : TLiveChatUserBannedMessageDetails;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetauthorChannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdisplayMessage(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfanFundingEventDetails(AIndex : Integer; const AValue : TLiveChatFanFundingEventDetails); virtual;
- Procedure SethasDisplayContent(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetliveChatId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmessageDeletedDetails(AIndex : Integer; const AValue : TLiveChatMessageDeletedDetails); virtual;
- Procedure SetmessageRetractedDetails(AIndex : Integer; const AValue : TLiveChatMessageRetractedDetails); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SettextMessageDetails(AIndex : Integer; const AValue : TLiveChatTextMessageDetails); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure SetuserBannedDetails(AIndex : Integer; const AValue : TLiveChatUserBannedMessageDetails); virtual;
- Public
- Published
- Property authorChannelId : String Index 0 Read FauthorChannelId Write SetauthorChannelId;
- Property displayMessage : String Index 8 Read FdisplayMessage Write SetdisplayMessage;
- Property fanFundingEventDetails : TLiveChatFanFundingEventDetails Index 16 Read FfanFundingEventDetails Write SetfanFundingEventDetails;
- Property hasDisplayContent : boolean Index 24 Read FhasDisplayContent Write SethasDisplayContent;
- Property liveChatId : String Index 32 Read FliveChatId Write SetliveChatId;
- Property messageDeletedDetails : TLiveChatMessageDeletedDetails Index 40 Read FmessageDeletedDetails Write SetmessageDeletedDetails;
- Property messageRetractedDetails : TLiveChatMessageRetractedDetails Index 48 Read FmessageRetractedDetails Write SetmessageRetractedDetails;
- Property publishedAt : TDatetime Index 56 Read FpublishedAt Write SetpublishedAt;
- Property textMessageDetails : TLiveChatTextMessageDetails Index 64 Read FtextMessageDetails Write SettextMessageDetails;
- Property _type : String Index 72 Read F_type Write Set_type;
- Property userBannedDetails : TLiveChatUserBannedMessageDetails Index 80 Read FuserBannedDetails Write SetuserBannedDetails;
- end;
- TLiveChatMessageSnippetClass = Class of TLiveChatMessageSnippet;
-
- { --------------------------------------------------------------------
- TLiveChatModerator
- --------------------------------------------------------------------}
-
- TLiveChatModerator = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TLiveChatModeratorSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TLiveChatModeratorSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TLiveChatModeratorSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TLiveChatModeratorClass = Class of TLiveChatModerator;
-
- { --------------------------------------------------------------------
- TLiveChatModeratorListResponse
- --------------------------------------------------------------------}
-
- TLiveChatModeratorListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TLiveChatModeratorListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TLiveChatModeratorListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TLiveChatModeratorListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TLiveChatModeratorListResponseClass = Class of TLiveChatModeratorListResponse;
-
- { --------------------------------------------------------------------
- TLiveChatModeratorSnippet
- --------------------------------------------------------------------}
-
- TLiveChatModeratorSnippet = Class(TGoogleBaseObject)
- Private
- FliveChatId : String;
- FmoderatorDetails : TChannelProfileDetails;
- Protected
- //Property setters
- Procedure SetliveChatId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmoderatorDetails(AIndex : Integer; const AValue : TChannelProfileDetails); virtual;
- Public
- Published
- Property liveChatId : String Index 0 Read FliveChatId Write SetliveChatId;
- Property moderatorDetails : TChannelProfileDetails Index 8 Read FmoderatorDetails Write SetmoderatorDetails;
- end;
- TLiveChatModeratorSnippetClass = Class of TLiveChatModeratorSnippet;
-
- { --------------------------------------------------------------------
- TLiveChatTextMessageDetails
- --------------------------------------------------------------------}
-
- TLiveChatTextMessageDetails = Class(TGoogleBaseObject)
- Private
- FmessageText : String;
- Protected
- //Property setters
- Procedure SetmessageText(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property messageText : String Index 0 Read FmessageText Write SetmessageText;
- end;
- TLiveChatTextMessageDetailsClass = Class of TLiveChatTextMessageDetails;
-
- { --------------------------------------------------------------------
- TLiveChatUserBannedMessageDetails
- --------------------------------------------------------------------}
-
- TLiveChatUserBannedMessageDetails = Class(TGoogleBaseObject)
- Private
- FbanDurationSeconds : String;
- FbanType : String;
- FbannedUserDetails : TChannelProfileDetails;
- Protected
- //Property setters
- Procedure SetbanDurationSeconds(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbanType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetbannedUserDetails(AIndex : Integer; const AValue : TChannelProfileDetails); virtual;
- Public
- Published
- Property banDurationSeconds : String Index 0 Read FbanDurationSeconds Write SetbanDurationSeconds;
- Property banType : String Index 8 Read FbanType Write SetbanType;
- Property bannedUserDetails : TChannelProfileDetails Index 16 Read FbannedUserDetails Write SetbannedUserDetails;
- end;
- TLiveChatUserBannedMessageDetailsClass = Class of TLiveChatUserBannedMessageDetails;
-
- { --------------------------------------------------------------------
- TLiveStream
- --------------------------------------------------------------------}
-
- TLiveStream = Class(TGoogleBaseObject)
- Private
- Fcdn : TCdnSettings;
- FcontentDetails : TLiveStreamContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TLiveStreamSnippet;
- Fstatus : TLiveStreamStatus;
- Protected
- //Property setters
- Procedure Setcdn(AIndex : Integer; const AValue : TCdnSettings); virtual;
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TLiveStreamContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TLiveStreamSnippet); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TLiveStreamStatus); virtual;
- Public
- Published
- Property cdn : TCdnSettings Index 0 Read Fcdn Write Setcdn;
- Property contentDetails : TLiveStreamContentDetails Index 8 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 16 Read Fetag Write Setetag;
- Property id : String Index 24 Read Fid Write Setid;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property snippet : TLiveStreamSnippet Index 40 Read Fsnippet Write Setsnippet;
- Property status : TLiveStreamStatus Index 48 Read Fstatus Write Setstatus;
- end;
- TLiveStreamClass = Class of TLiveStream;
-
- { --------------------------------------------------------------------
- TLiveStreamConfigurationIssue
- --------------------------------------------------------------------}
-
- TLiveStreamConfigurationIssue = Class(TGoogleBaseObject)
- Private
- Fdescription : String;
- Freason : String;
- Fseverity : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setreason(AIndex : Integer; const AValue : String); virtual;
- Procedure Setseverity(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property description : String Index 0 Read Fdescription Write Setdescription;
- Property reason : String Index 8 Read Freason Write Setreason;
- Property severity : String Index 16 Read Fseverity Write Setseverity;
- Property _type : String Index 24 Read F_type Write Set_type;
- end;
- TLiveStreamConfigurationIssueClass = Class of TLiveStreamConfigurationIssue;
-
- { --------------------------------------------------------------------
- TLiveStreamContentDetails
- --------------------------------------------------------------------}
-
- TLiveStreamContentDetails = Class(TGoogleBaseObject)
- Private
- FclosedCaptionsIngestionUrl : String;
- FisReusable : boolean;
- Protected
- //Property setters
- Procedure SetclosedCaptionsIngestionUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure SetisReusable(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property closedCaptionsIngestionUrl : String Index 0 Read FclosedCaptionsIngestionUrl Write SetclosedCaptionsIngestionUrl;
- Property isReusable : boolean Index 8 Read FisReusable Write SetisReusable;
- end;
- TLiveStreamContentDetailsClass = Class of TLiveStreamContentDetails;
-
- { --------------------------------------------------------------------
- TLiveStreamHealthStatus
- --------------------------------------------------------------------}
-
- TLiveStreamHealthStatus = Class(TGoogleBaseObject)
- Private
- FconfigurationIssues : TLiveStreamHealthStatusTypeconfigurationIssuesArray;
- FlastUpdateTimeSeconds : String;
- Fstatus : String;
- Protected
- //Property setters
- Procedure SetconfigurationIssues(AIndex : Integer; const AValue : TLiveStreamHealthStatusTypeconfigurationIssuesArray); virtual;
- Procedure SetlastUpdateTimeSeconds(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 configurationIssues : TLiveStreamHealthStatusTypeconfigurationIssuesArray Index 0 Read FconfigurationIssues Write SetconfigurationIssues;
- Property lastUpdateTimeSeconds : String Index 8 Read FlastUpdateTimeSeconds Write SetlastUpdateTimeSeconds;
- Property status : String Index 16 Read Fstatus Write Setstatus;
- end;
- TLiveStreamHealthStatusClass = Class of TLiveStreamHealthStatus;
-
- { --------------------------------------------------------------------
- TLiveStreamListResponse
- --------------------------------------------------------------------}
-
- TLiveStreamListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TLiveStreamListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TLiveStreamListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TLiveStreamListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TLiveStreamListResponseClass = Class of TLiveStreamListResponse;
-
- { --------------------------------------------------------------------
- TLiveStreamSnippet
- --------------------------------------------------------------------}
-
- TLiveStreamSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- Fdescription : String;
- FisDefaultStream : boolean;
- FpublishedAt : TDatetime;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetisDefaultStream(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property description : String Index 8 Read Fdescription Write Setdescription;
- Property isDefaultStream : boolean Index 16 Read FisDefaultStream Write SetisDefaultStream;
- Property publishedAt : TDatetime Index 24 Read FpublishedAt Write SetpublishedAt;
- Property title : String Index 32 Read Ftitle Write Settitle;
- end;
- TLiveStreamSnippetClass = Class of TLiveStreamSnippet;
-
- { --------------------------------------------------------------------
- TLiveStreamStatus
- --------------------------------------------------------------------}
-
- TLiveStreamStatus = Class(TGoogleBaseObject)
- Private
- FhealthStatus : TLiveStreamHealthStatus;
- FstreamStatus : String;
- Protected
- //Property setters
- Procedure SethealthStatus(AIndex : Integer; const AValue : TLiveStreamHealthStatus); virtual;
- Procedure SetstreamStatus(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property healthStatus : TLiveStreamHealthStatus Index 0 Read FhealthStatus Write SethealthStatus;
- Property streamStatus : String Index 8 Read FstreamStatus Write SetstreamStatus;
- end;
- TLiveStreamStatusClass = Class of TLiveStreamStatus;
-
- { --------------------------------------------------------------------
- TLocalizedProperty
- --------------------------------------------------------------------}
-
- TLocalizedProperty = Class(TGoogleBaseObject)
- Private
- Fdefault : String;
- FdefaultLanguage : TLanguageTag;
- Flocalized : TLocalizedPropertyTypelocalizedArray;
- Protected
- //Property setters
- Procedure Setdefault(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultLanguage(AIndex : Integer; const AValue : TLanguageTag); virtual;
- Procedure Setlocalized(AIndex : Integer; const AValue : TLocalizedPropertyTypelocalizedArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property default : String Index 0 Read Fdefault Write Setdefault;
- Property defaultLanguage : TLanguageTag Index 8 Read FdefaultLanguage Write SetdefaultLanguage;
- Property localized : TLocalizedPropertyTypelocalizedArray Index 16 Read Flocalized Write Setlocalized;
- end;
- TLocalizedPropertyClass = Class of TLocalizedProperty;
-
- { --------------------------------------------------------------------
- TLocalizedString
- --------------------------------------------------------------------}
-
- TLocalizedString = Class(TGoogleBaseObject)
- Private
- Flanguage : String;
- Fvalue : String;
- Protected
- //Property setters
- Procedure Setlanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property language : String Index 0 Read Flanguage Write Setlanguage;
- Property value : String Index 8 Read Fvalue Write Setvalue;
- end;
- TLocalizedStringClass = Class of TLocalizedString;
-
- { --------------------------------------------------------------------
- TMonitorStreamInfo
- --------------------------------------------------------------------}
-
- TMonitorStreamInfo = Class(TGoogleBaseObject)
- Private
- FbroadcastStreamDelayMs : integer;
- FembedHtml : String;
- FenableMonitorStream : boolean;
- Protected
- //Property setters
- Procedure SetbroadcastStreamDelayMs(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetembedHtml(AIndex : Integer; const AValue : String); virtual;
- Procedure SetenableMonitorStream(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property broadcastStreamDelayMs : integer Index 0 Read FbroadcastStreamDelayMs Write SetbroadcastStreamDelayMs;
- Property embedHtml : String Index 8 Read FembedHtml Write SetembedHtml;
- Property enableMonitorStream : boolean Index 16 Read FenableMonitorStream Write SetenableMonitorStream;
- end;
- TMonitorStreamInfoClass = Class of TMonitorStreamInfo;
-
- { --------------------------------------------------------------------
- TPageInfo
- --------------------------------------------------------------------}
-
- TPageInfo = Class(TGoogleBaseObject)
- Private
- FresultsPerPage : integer;
- FtotalResults : integer;
- Protected
- //Property setters
- Procedure SetresultsPerPage(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalResults(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property resultsPerPage : integer Index 0 Read FresultsPerPage Write SetresultsPerPage;
- Property totalResults : integer Index 8 Read FtotalResults Write SettotalResults;
- end;
- TPageInfoClass = Class of TPageInfo;
-
- { --------------------------------------------------------------------
- TPlaylistTypelocalizations
- --------------------------------------------------------------------}
-
- TPlaylistTypelocalizations = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TPlaylistTypelocalizationsClass = Class of TPlaylistTypelocalizations;
-
- { --------------------------------------------------------------------
- TPlaylist
- --------------------------------------------------------------------}
-
- TPlaylist = Class(TGoogleBaseObject)
- Private
- FcontentDetails : TPlaylistContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Flocalizations : TPlaylistTypelocalizations;
- Fplayer : TPlaylistPlayer;
- Fsnippet : TPlaylistSnippet;
- Fstatus : TPlaylistStatus;
- Protected
- //Property setters
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TPlaylistContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalizations(AIndex : Integer; const AValue : TPlaylistTypelocalizations); virtual;
- Procedure Setplayer(AIndex : Integer; const AValue : TPlaylistPlayer); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TPlaylistSnippet); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TPlaylistStatus); virtual;
- Public
- Published
- Property contentDetails : TPlaylistContentDetails Index 0 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property localizations : TPlaylistTypelocalizations Index 32 Read Flocalizations Write Setlocalizations;
- Property player : TPlaylistPlayer Index 40 Read Fplayer Write Setplayer;
- Property snippet : TPlaylistSnippet Index 48 Read Fsnippet Write Setsnippet;
- Property status : TPlaylistStatus Index 56 Read Fstatus Write Setstatus;
- end;
- TPlaylistClass = Class of TPlaylist;
-
- { --------------------------------------------------------------------
- TPlaylistContentDetails
- --------------------------------------------------------------------}
-
- TPlaylistContentDetails = Class(TGoogleBaseObject)
- Private
- FitemCount : integer;
- Protected
- //Property setters
- Procedure SetitemCount(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property itemCount : integer Index 0 Read FitemCount Write SetitemCount;
- end;
- TPlaylistContentDetailsClass = Class of TPlaylistContentDetails;
-
- { --------------------------------------------------------------------
- TPlaylistItem
- --------------------------------------------------------------------}
-
- TPlaylistItem = Class(TGoogleBaseObject)
- Private
- FcontentDetails : TPlaylistItemContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TPlaylistItemSnippet;
- Fstatus : TPlaylistItemStatus;
- Protected
- //Property setters
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TPlaylistItemContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TPlaylistItemSnippet); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TPlaylistItemStatus); virtual;
- Public
- Published
- Property contentDetails : TPlaylistItemContentDetails Index 0 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property snippet : TPlaylistItemSnippet Index 32 Read Fsnippet Write Setsnippet;
- Property status : TPlaylistItemStatus Index 40 Read Fstatus Write Setstatus;
- end;
- TPlaylistItemClass = Class of TPlaylistItem;
-
- { --------------------------------------------------------------------
- TPlaylistItemContentDetails
- --------------------------------------------------------------------}
-
- TPlaylistItemContentDetails = Class(TGoogleBaseObject)
- Private
- FendAt : String;
- Fnote : String;
- FstartAt : String;
- FvideoId : String;
- Protected
- //Property setters
- Procedure SetendAt(AIndex : Integer; const AValue : String); virtual;
- Procedure Setnote(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstartAt(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property endAt : String Index 0 Read FendAt Write SetendAt;
- Property note : String Index 8 Read Fnote Write Setnote;
- Property startAt : String Index 16 Read FstartAt Write SetstartAt;
- Property videoId : String Index 24 Read FvideoId Write SetvideoId;
- end;
- TPlaylistItemContentDetailsClass = Class of TPlaylistItemContentDetails;
-
- { --------------------------------------------------------------------
- TPlaylistItemListResponse
- --------------------------------------------------------------------}
-
- TPlaylistItemListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TPlaylistItemListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TPlaylistItemListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TPlaylistItemListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TPlaylistItemListResponseClass = Class of TPlaylistItemListResponse;
-
- { --------------------------------------------------------------------
- TPlaylistItemSnippet
- --------------------------------------------------------------------}
-
- TPlaylistItemSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelTitle : String;
- Fdescription : String;
- FplaylistId : String;
- Fposition : integer;
- FpublishedAt : TDatetime;
- FresourceId : TResourceId;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetplaylistId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setposition(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelTitle : String Index 8 Read FchannelTitle Write SetchannelTitle;
- Property description : String Index 16 Read Fdescription Write Setdescription;
- Property playlistId : String Index 24 Read FplaylistId Write SetplaylistId;
- Property position : integer Index 32 Read Fposition Write Setposition;
- Property publishedAt : TDatetime Index 40 Read FpublishedAt Write SetpublishedAt;
- Property resourceId : TResourceId Index 48 Read FresourceId Write SetresourceId;
- Property thumbnails : TThumbnailDetails Index 56 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 64 Read Ftitle Write Settitle;
- end;
- TPlaylistItemSnippetClass = Class of TPlaylistItemSnippet;
-
- { --------------------------------------------------------------------
- TPlaylistItemStatus
- --------------------------------------------------------------------}
-
- TPlaylistItemStatus = Class(TGoogleBaseObject)
- Private
- FprivacyStatus : String;
- Protected
- //Property setters
- Procedure SetprivacyStatus(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property privacyStatus : String Index 0 Read FprivacyStatus Write SetprivacyStatus;
- end;
- TPlaylistItemStatusClass = Class of TPlaylistItemStatus;
-
- { --------------------------------------------------------------------
- TPlaylistListResponse
- --------------------------------------------------------------------}
-
- TPlaylistListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TPlaylistListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TPlaylistListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TPlaylistListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TPlaylistListResponseClass = Class of TPlaylistListResponse;
-
- { --------------------------------------------------------------------
- TPlaylistLocalization
- --------------------------------------------------------------------}
-
- TPlaylistLocalization = Class(TGoogleBaseObject)
- Private
- Fdescription : String;
- Ftitle : String;
- Protected
- //Property setters
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property description : String Index 0 Read Fdescription Write Setdescription;
- Property title : String Index 8 Read Ftitle Write Settitle;
- end;
- TPlaylistLocalizationClass = Class of TPlaylistLocalization;
-
- { --------------------------------------------------------------------
- TPlaylistPlayer
- --------------------------------------------------------------------}
-
- TPlaylistPlayer = Class(TGoogleBaseObject)
- Private
- FembedHtml : String;
- Protected
- //Property setters
- Procedure SetembedHtml(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property embedHtml : String Index 0 Read FembedHtml Write SetembedHtml;
- end;
- TPlaylistPlayerClass = Class of TPlaylistPlayer;
-
- { --------------------------------------------------------------------
- TPlaylistSnippet
- --------------------------------------------------------------------}
-
- TPlaylistSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelTitle : String;
- FdefaultLanguage : String;
- Fdescription : String;
- Flocalized : TPlaylistLocalization;
- FpublishedAt : TDatetime;
- Ftags : TStringArray;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultLanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalized(AIndex : Integer; const AValue : TPlaylistLocalization); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Settags(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(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 channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelTitle : String Index 8 Read FchannelTitle Write SetchannelTitle;
- Property defaultLanguage : String Index 16 Read FdefaultLanguage Write SetdefaultLanguage;
- Property description : String Index 24 Read Fdescription Write Setdescription;
- Property localized : TPlaylistLocalization Index 32 Read Flocalized Write Setlocalized;
- Property publishedAt : TDatetime Index 40 Read FpublishedAt Write SetpublishedAt;
- Property tags : TStringArray Index 48 Read Ftags Write Settags;
- Property thumbnails : TThumbnailDetails Index 56 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 64 Read Ftitle Write Settitle;
- end;
- TPlaylistSnippetClass = Class of TPlaylistSnippet;
-
- { --------------------------------------------------------------------
- TPlaylistStatus
- --------------------------------------------------------------------}
-
- TPlaylistStatus = Class(TGoogleBaseObject)
- Private
- FprivacyStatus : String;
- Protected
- //Property setters
- Procedure SetprivacyStatus(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property privacyStatus : String Index 0 Read FprivacyStatus Write SetprivacyStatus;
- end;
- TPlaylistStatusClass = Class of TPlaylistStatus;
-
- { --------------------------------------------------------------------
- TPromotedItem
- --------------------------------------------------------------------}
-
- TPromotedItem = Class(TGoogleBaseObject)
- Private
- FcustomMessage : String;
- Fid : TPromotedItemId;
- FpromotedByContentOwner : boolean;
- Ftiming : TInvideoTiming;
- Protected
- //Property setters
- Procedure SetcustomMessage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : TPromotedItemId); virtual;
- Procedure SetpromotedByContentOwner(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Settiming(AIndex : Integer; const AValue : TInvideoTiming); virtual;
- Public
- Published
- Property customMessage : String Index 0 Read FcustomMessage Write SetcustomMessage;
- Property id : TPromotedItemId Index 8 Read Fid Write Setid;
- Property promotedByContentOwner : boolean Index 16 Read FpromotedByContentOwner Write SetpromotedByContentOwner;
- Property timing : TInvideoTiming Index 24 Read Ftiming Write Settiming;
- end;
- TPromotedItemClass = Class of TPromotedItem;
-
- { --------------------------------------------------------------------
- TPromotedItemId
- --------------------------------------------------------------------}
-
- TPromotedItemId = Class(TGoogleBaseObject)
- Private
- FrecentlyUploadedBy : String;
- F_type : String;
- FvideoId : String;
- FwebsiteUrl : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetrecentlyUploadedBy(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwebsiteUrl(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property recentlyUploadedBy : String Index 0 Read FrecentlyUploadedBy Write SetrecentlyUploadedBy;
- Property _type : String Index 8 Read F_type Write Set_type;
- Property videoId : String Index 16 Read FvideoId Write SetvideoId;
- Property websiteUrl : String Index 24 Read FwebsiteUrl Write SetwebsiteUrl;
- end;
- TPromotedItemIdClass = Class of TPromotedItemId;
-
- { --------------------------------------------------------------------
- TPropertyValue
- --------------------------------------------------------------------}
-
- TPropertyValue = Class(TGoogleBaseObject)
- Private
- F_property : String;
- Fvalue : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Set_property(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property _property : String Index 0 Read F_property Write Set_property;
- Property value : String Index 8 Read Fvalue Write Setvalue;
- end;
- TPropertyValueClass = Class of TPropertyValue;
-
- { --------------------------------------------------------------------
- TResourceId
- --------------------------------------------------------------------}
-
- TResourceId = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- Fkind : String;
- FplaylistId : String;
- FvideoId : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetplaylistId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property playlistId : String Index 16 Read FplaylistId Write SetplaylistId;
- Property videoId : String Index 24 Read FvideoId Write SetvideoId;
- end;
- TResourceIdClass = Class of TResourceId;
-
- { --------------------------------------------------------------------
- TSearchListResponse
- --------------------------------------------------------------------}
-
- TSearchListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TSearchListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FregionCode : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TSearchListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetregionCode(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TSearchListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property regionCode : String Index 56 Read FregionCode Write SetregionCode;
- Property tokenPagination : TTokenPagination Index 64 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 72 Read FvisitorId Write SetvisitorId;
- end;
- TSearchListResponseClass = Class of TSearchListResponse;
-
- { --------------------------------------------------------------------
- TSearchResult
- --------------------------------------------------------------------}
-
- TSearchResult = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : TResourceId;
- Fkind : String;
- Fsnippet : TSearchResultSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : TResourceId); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TSearchResultSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : TResourceId Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TSearchResultSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TSearchResultClass = Class of TSearchResult;
-
- { --------------------------------------------------------------------
- TSearchResultSnippet
- --------------------------------------------------------------------}
-
- TSearchResultSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelTitle : String;
- Fdescription : String;
- FliveBroadcastContent : String;
- FpublishedAt : TDatetime;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetliveBroadcastContent(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelTitle : String Index 8 Read FchannelTitle Write SetchannelTitle;
- Property description : String Index 16 Read Fdescription Write Setdescription;
- Property liveBroadcastContent : String Index 24 Read FliveBroadcastContent Write SetliveBroadcastContent;
- Property publishedAt : TDatetime Index 32 Read FpublishedAt Write SetpublishedAt;
- Property thumbnails : TThumbnailDetails Index 40 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 48 Read Ftitle Write Settitle;
- end;
- TSearchResultSnippetClass = Class of TSearchResultSnippet;
-
- { --------------------------------------------------------------------
- TSponsor
- --------------------------------------------------------------------}
-
- TSponsor = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TSponsorSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TSponsorSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TSponsorSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TSponsorClass = Class of TSponsor;
-
- { --------------------------------------------------------------------
- TSponsorListResponse
- --------------------------------------------------------------------}
-
- TSponsorListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TSponsorListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TSponsorListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TSponsorListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property tokenPagination : TTokenPagination Index 48 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 56 Read FvisitorId Write SetvisitorId;
- end;
- TSponsorListResponseClass = Class of TSponsorListResponse;
-
- { --------------------------------------------------------------------
- TSponsorSnippet
- --------------------------------------------------------------------}
-
- TSponsorSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FsponsorDetails : TChannelProfileDetails;
- FsponsorSince : TDatetime;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsponsorDetails(AIndex : Integer; const AValue : TChannelProfileDetails); virtual;
- Procedure SetsponsorSince(AIndex : Integer; const AValue : TDatetime); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property sponsorDetails : TChannelProfileDetails Index 8 Read FsponsorDetails Write SetsponsorDetails;
- Property sponsorSince : TDatetime Index 16 Read FsponsorSince Write SetsponsorSince;
- end;
- TSponsorSnippetClass = Class of TSponsorSnippet;
-
- { --------------------------------------------------------------------
- TSubscription
- --------------------------------------------------------------------}
-
- TSubscription = Class(TGoogleBaseObject)
- Private
- FcontentDetails : TSubscriptionContentDetails;
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TSubscriptionSnippet;
- FsubscriberSnippet : TSubscriptionSubscriberSnippet;
- Protected
- //Property setters
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TSubscriptionContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TSubscriptionSnippet); virtual;
- Procedure SetsubscriberSnippet(AIndex : Integer; const AValue : TSubscriptionSubscriberSnippet); virtual;
- Public
- Published
- Property contentDetails : TSubscriptionContentDetails Index 0 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property snippet : TSubscriptionSnippet Index 32 Read Fsnippet Write Setsnippet;
- Property subscriberSnippet : TSubscriptionSubscriberSnippet Index 40 Read FsubscriberSnippet Write SetsubscriberSnippet;
- end;
- TSubscriptionClass = Class of TSubscription;
-
- { --------------------------------------------------------------------
- TSubscriptionContentDetails
- --------------------------------------------------------------------}
-
- TSubscriptionContentDetails = Class(TGoogleBaseObject)
- Private
- FactivityType : String;
- FnewItemCount : integer;
- FtotalItemCount : integer;
- Protected
- //Property setters
- Procedure SetactivityType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnewItemCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalItemCount(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property activityType : String Index 0 Read FactivityType Write SetactivityType;
- Property newItemCount : integer Index 8 Read FnewItemCount Write SetnewItemCount;
- Property totalItemCount : integer Index 16 Read FtotalItemCount Write SettotalItemCount;
- end;
- TSubscriptionContentDetailsClass = Class of TSubscriptionContentDetails;
-
- { --------------------------------------------------------------------
- TSubscriptionListResponse
- --------------------------------------------------------------------}
-
- TSubscriptionListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TSubscriptionListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TSubscriptionListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TSubscriptionListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TSubscriptionListResponseClass = Class of TSubscriptionListResponse;
-
- { --------------------------------------------------------------------
- TSubscriptionSnippet
- --------------------------------------------------------------------}
-
- TSubscriptionSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- FchannelTitle : String;
- Fdescription : String;
- FpublishedAt : TDatetime;
- FresourceId : TResourceId;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetresourceId(AIndex : Integer; const AValue : TResourceId); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property channelTitle : String Index 8 Read FchannelTitle Write SetchannelTitle;
- Property description : String Index 16 Read Fdescription Write Setdescription;
- Property publishedAt : TDatetime Index 24 Read FpublishedAt Write SetpublishedAt;
- Property resourceId : TResourceId Index 32 Read FresourceId Write SetresourceId;
- Property thumbnails : TThumbnailDetails Index 40 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 48 Read Ftitle Write Settitle;
- end;
- TSubscriptionSnippetClass = Class of TSubscriptionSnippet;
-
- { --------------------------------------------------------------------
- TSubscriptionSubscriberSnippet
- --------------------------------------------------------------------}
-
- TSubscriptionSubscriberSnippet = Class(TGoogleBaseObject)
- Private
- FchannelId : String;
- Fdescription : String;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property channelId : String Index 0 Read FchannelId Write SetchannelId;
- Property description : String Index 8 Read Fdescription Write Setdescription;
- Property thumbnails : TThumbnailDetails Index 16 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 24 Read Ftitle Write Settitle;
- end;
- TSubscriptionSubscriberSnippetClass = Class of TSubscriptionSubscriberSnippet;
-
- { --------------------------------------------------------------------
- TThumbnail
- --------------------------------------------------------------------}
-
- TThumbnail = Class(TGoogleBaseObject)
- Private
- Fheight : integer;
- Furl : String;
- Fwidth : integer;
- Protected
- //Property setters
- Procedure Setheight(AIndex : Integer; const AValue : integer); virtual;
- Procedure Seturl(AIndex : Integer; const AValue : String); virtual;
- Procedure Setwidth(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property height : integer Index 0 Read Fheight Write Setheight;
- Property url : String Index 8 Read Furl Write Seturl;
- Property width : integer Index 16 Read Fwidth Write Setwidth;
- end;
- TThumbnailClass = Class of TThumbnail;
-
- { --------------------------------------------------------------------
- TThumbnailDetails
- --------------------------------------------------------------------}
-
- TThumbnailDetails = Class(TGoogleBaseObject)
- Private
- Fdefault : TThumbnail;
- Fhigh : TThumbnail;
- Fmaxres : TThumbnail;
- Fmedium : TThumbnail;
- Fstandard : TThumbnail;
- Protected
- //Property setters
- Procedure Setdefault(AIndex : Integer; const AValue : TThumbnail); virtual;
- Procedure Sethigh(AIndex : Integer; const AValue : TThumbnail); virtual;
- Procedure Setmaxres(AIndex : Integer; const AValue : TThumbnail); virtual;
- Procedure Setmedium(AIndex : Integer; const AValue : TThumbnail); virtual;
- Procedure Setstandard(AIndex : Integer; const AValue : TThumbnail); virtual;
- Public
- Published
- Property default : TThumbnail Index 0 Read Fdefault Write Setdefault;
- Property high : TThumbnail Index 8 Read Fhigh Write Sethigh;
- Property maxres : TThumbnail Index 16 Read Fmaxres Write Setmaxres;
- Property medium : TThumbnail Index 24 Read Fmedium Write Setmedium;
- Property standard : TThumbnail Index 32 Read Fstandard Write Setstandard;
- end;
- TThumbnailDetailsClass = Class of TThumbnailDetails;
-
- { --------------------------------------------------------------------
- TThumbnailSetResponse
- --------------------------------------------------------------------}
-
- TThumbnailSetResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TThumbnailSetResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TThumbnailSetResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TThumbnailSetResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TThumbnailSetResponseClass = Class of TThumbnailSetResponse;
-
- { --------------------------------------------------------------------
- TTokenPagination
- --------------------------------------------------------------------}
-
- TTokenPagination = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Published
- end;
- TTokenPaginationClass = Class of TTokenPagination;
-
- { --------------------------------------------------------------------
- TVideoTypelocalizations
- --------------------------------------------------------------------}
-
- TVideoTypelocalizations = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TVideoTypelocalizationsClass = Class of TVideoTypelocalizations;
-
- { --------------------------------------------------------------------
- TVideo
- --------------------------------------------------------------------}
-
- TVideo = Class(TGoogleBaseObject)
- Private
- FageGating : TVideoAgeGating;
- FcontentDetails : TVideoContentDetails;
- Fetag : String;
- FfileDetails : TVideoFileDetails;
- Fid : String;
- Fkind : String;
- FliveStreamingDetails : TVideoLiveStreamingDetails;
- Flocalizations : TVideoTypelocalizations;
- FmonetizationDetails : TVideoMonetizationDetails;
- Fplayer : TVideoPlayer;
- FprocessingDetails : TVideoProcessingDetails;
- FprojectDetails : TVideoProjectDetails;
- FrecordingDetails : TVideoRecordingDetails;
- Fsnippet : TVideoSnippet;
- Fstatistics : TVideoStatistics;
- Fstatus : TVideoStatus;
- Fsuggestions : TVideoSuggestions;
- FtopicDetails : TVideoTopicDetails;
- Protected
- //Property setters
- Procedure SetageGating(AIndex : Integer; const AValue : TVideoAgeGating); virtual;
- Procedure SetcontentDetails(AIndex : Integer; const AValue : TVideoContentDetails); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfileDetails(AIndex : Integer; const AValue : TVideoFileDetails); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetliveStreamingDetails(AIndex : Integer; const AValue : TVideoLiveStreamingDetails); virtual;
- Procedure Setlocalizations(AIndex : Integer; const AValue : TVideoTypelocalizations); virtual;
- Procedure SetmonetizationDetails(AIndex : Integer; const AValue : TVideoMonetizationDetails); virtual;
- Procedure Setplayer(AIndex : Integer; const AValue : TVideoPlayer); virtual;
- Procedure SetprocessingDetails(AIndex : Integer; const AValue : TVideoProcessingDetails); virtual;
- Procedure SetprojectDetails(AIndex : Integer; const AValue : TVideoProjectDetails); virtual;
- Procedure SetrecordingDetails(AIndex : Integer; const AValue : TVideoRecordingDetails); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TVideoSnippet); virtual;
- Procedure Setstatistics(AIndex : Integer; const AValue : TVideoStatistics); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TVideoStatus); virtual;
- Procedure Setsuggestions(AIndex : Integer; const AValue : TVideoSuggestions); virtual;
- Procedure SettopicDetails(AIndex : Integer; const AValue : TVideoTopicDetails); virtual;
- Public
- Published
- Property ageGating : TVideoAgeGating Index 0 Read FageGating Write SetageGating;
- Property contentDetails : TVideoContentDetails Index 8 Read FcontentDetails Write SetcontentDetails;
- Property etag : String Index 16 Read Fetag Write Setetag;
- Property fileDetails : TVideoFileDetails Index 24 Read FfileDetails Write SetfileDetails;
- Property id : String Index 32 Read Fid Write Setid;
- Property kind : String Index 40 Read Fkind Write Setkind;
- Property liveStreamingDetails : TVideoLiveStreamingDetails Index 48 Read FliveStreamingDetails Write SetliveStreamingDetails;
- Property localizations : TVideoTypelocalizations Index 56 Read Flocalizations Write Setlocalizations;
- Property monetizationDetails : TVideoMonetizationDetails Index 64 Read FmonetizationDetails Write SetmonetizationDetails;
- Property player : TVideoPlayer Index 72 Read Fplayer Write Setplayer;
- Property processingDetails : TVideoProcessingDetails Index 80 Read FprocessingDetails Write SetprocessingDetails;
- Property projectDetails : TVideoProjectDetails Index 88 Read FprojectDetails Write SetprojectDetails;
- Property recordingDetails : TVideoRecordingDetails Index 96 Read FrecordingDetails Write SetrecordingDetails;
- Property snippet : TVideoSnippet Index 104 Read Fsnippet Write Setsnippet;
- Property statistics : TVideoStatistics Index 112 Read Fstatistics Write Setstatistics;
- Property status : TVideoStatus Index 120 Read Fstatus Write Setstatus;
- Property suggestions : TVideoSuggestions Index 128 Read Fsuggestions Write Setsuggestions;
- Property topicDetails : TVideoTopicDetails Index 136 Read FtopicDetails Write SettopicDetails;
- end;
- TVideoClass = Class of TVideo;
-
- { --------------------------------------------------------------------
- TVideoAbuseReport
- --------------------------------------------------------------------}
-
- TVideoAbuseReport = Class(TGoogleBaseObject)
- Private
- Fcomments : String;
- Flanguage : String;
- FreasonId : String;
- FsecondaryReasonId : String;
- FvideoId : String;
- Protected
- //Property setters
- Procedure Setcomments(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure SetreasonId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsecondaryReasonId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property comments : String Index 0 Read Fcomments Write Setcomments;
- Property language : String Index 8 Read Flanguage Write Setlanguage;
- Property reasonId : String Index 16 Read FreasonId Write SetreasonId;
- Property secondaryReasonId : String Index 24 Read FsecondaryReasonId Write SetsecondaryReasonId;
- Property videoId : String Index 32 Read FvideoId Write SetvideoId;
- end;
- TVideoAbuseReportClass = Class of TVideoAbuseReport;
-
- { --------------------------------------------------------------------
- TVideoAbuseReportReason
- --------------------------------------------------------------------}
-
- TVideoAbuseReportReason = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TVideoAbuseReportReasonSnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TVideoAbuseReportReasonSnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TVideoAbuseReportReasonSnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TVideoAbuseReportReasonClass = Class of TVideoAbuseReportReason;
-
- { --------------------------------------------------------------------
- TVideoAbuseReportReasonListResponse
- --------------------------------------------------------------------}
-
- TVideoAbuseReportReasonListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TVideoAbuseReportReasonListResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TVideoAbuseReportReasonListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TVideoAbuseReportReasonListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TVideoAbuseReportReasonListResponseClass = Class of TVideoAbuseReportReasonListResponse;
-
- { --------------------------------------------------------------------
- TVideoAbuseReportReasonSnippet
- --------------------------------------------------------------------}
-
- TVideoAbuseReportReasonSnippet = Class(TGoogleBaseObject)
- Private
- F_label : String;
- FsecondaryReasons : TVideoAbuseReportReasonSnippetTypesecondaryReasonsArray;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Set_label(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsecondaryReasons(AIndex : Integer; const AValue : TVideoAbuseReportReasonSnippetTypesecondaryReasonsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property _label : String Index 0 Read F_label Write Set_label;
- Property secondaryReasons : TVideoAbuseReportReasonSnippetTypesecondaryReasonsArray Index 8 Read FsecondaryReasons Write SetsecondaryReasons;
- end;
- TVideoAbuseReportReasonSnippetClass = Class of TVideoAbuseReportReasonSnippet;
-
- { --------------------------------------------------------------------
- TVideoAbuseReportSecondaryReason
- --------------------------------------------------------------------}
-
- TVideoAbuseReportSecondaryReason = Class(TGoogleBaseObject)
- Private
- Fid : String;
- F_label : 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;
- Public
- Published
- Property id : String Index 0 Read Fid Write Setid;
- Property _label : String Index 8 Read F_label Write Set_label;
- end;
- TVideoAbuseReportSecondaryReasonClass = Class of TVideoAbuseReportSecondaryReason;
-
- { --------------------------------------------------------------------
- TVideoAgeGating
- --------------------------------------------------------------------}
-
- TVideoAgeGating = Class(TGoogleBaseObject)
- Private
- FalcoholContent : boolean;
- Frestricted : boolean;
- FvideoGameRating : String;
- Protected
- //Property setters
- Procedure SetalcoholContent(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setrestricted(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetvideoGameRating(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property alcoholContent : boolean Index 0 Read FalcoholContent Write SetalcoholContent;
- Property restricted : boolean Index 8 Read Frestricted Write Setrestricted;
- Property videoGameRating : String Index 16 Read FvideoGameRating Write SetvideoGameRating;
- end;
- TVideoAgeGatingClass = Class of TVideoAgeGating;
-
- { --------------------------------------------------------------------
- TVideoCategory
- --------------------------------------------------------------------}
-
- TVideoCategory = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fid : String;
- Fkind : String;
- Fsnippet : TVideoCategorySnippet;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsnippet(AIndex : Integer; const AValue : TVideoCategorySnippet); virtual;
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property snippet : TVideoCategorySnippet Index 24 Read Fsnippet Write Setsnippet;
- end;
- TVideoCategoryClass = Class of TVideoCategory;
-
- { --------------------------------------------------------------------
- TVideoCategoryListResponse
- --------------------------------------------------------------------}
-
- TVideoCategoryListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TVideoCategoryListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TVideoCategoryListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TVideoCategoryListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TVideoCategoryListResponseClass = Class of TVideoCategoryListResponse;
-
- { --------------------------------------------------------------------
- TVideoCategorySnippet
- --------------------------------------------------------------------}
-
- TVideoCategorySnippet = Class(TGoogleBaseObject)
- Private
- Fassignable : boolean;
- FchannelId : String;
- Ftitle : String;
- Protected
- //Property setters
- Procedure Setassignable(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property assignable : boolean Index 0 Read Fassignable Write Setassignable;
- Property channelId : String Index 8 Read FchannelId Write SetchannelId;
- Property title : String Index 16 Read Ftitle Write Settitle;
- end;
- TVideoCategorySnippetClass = Class of TVideoCategorySnippet;
-
- { --------------------------------------------------------------------
- TVideoContentDetails
- --------------------------------------------------------------------}
-
- TVideoContentDetails = Class(TGoogleBaseObject)
- Private
- Fcaption : String;
- FcontentRating : TContentRating;
- FcountryRestriction : TAccessPolicy;
- Fdefinition : String;
- Fdimension : String;
- Fduration : String;
- FlicensedContent : boolean;
- Fprojection : String;
- FregionRestriction : TVideoContentDetailsRegionRestriction;
- Protected
- //Property setters
- Procedure Setcaption(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcontentRating(AIndex : Integer; const AValue : TContentRating); virtual;
- Procedure SetcountryRestriction(AIndex : Integer; const AValue : TAccessPolicy); virtual;
- Procedure Setdefinition(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdimension(AIndex : Integer; const AValue : String); virtual;
- Procedure Setduration(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlicensedContent(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setprojection(AIndex : Integer; const AValue : String); virtual;
- Procedure SetregionRestriction(AIndex : Integer; const AValue : TVideoContentDetailsRegionRestriction); virtual;
- Public
- Published
- Property caption : String Index 0 Read Fcaption Write Setcaption;
- Property contentRating : TContentRating Index 8 Read FcontentRating Write SetcontentRating;
- Property countryRestriction : TAccessPolicy Index 16 Read FcountryRestriction Write SetcountryRestriction;
- Property definition : String Index 24 Read Fdefinition Write Setdefinition;
- Property dimension : String Index 32 Read Fdimension Write Setdimension;
- Property duration : String Index 40 Read Fduration Write Setduration;
- Property licensedContent : boolean Index 48 Read FlicensedContent Write SetlicensedContent;
- Property projection : String Index 56 Read Fprojection Write Setprojection;
- Property regionRestriction : TVideoContentDetailsRegionRestriction Index 64 Read FregionRestriction Write SetregionRestriction;
- end;
- TVideoContentDetailsClass = Class of TVideoContentDetails;
-
- { --------------------------------------------------------------------
- TVideoContentDetailsRegionRestriction
- --------------------------------------------------------------------}
-
- TVideoContentDetailsRegionRestriction = Class(TGoogleBaseObject)
- Private
- Fallowed : TStringArray;
- Fblocked : TStringArray;
- Protected
- //Property setters
- Procedure Setallowed(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setblocked(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 allowed : TStringArray Index 0 Read Fallowed Write Setallowed;
- Property blocked : TStringArray Index 8 Read Fblocked Write Setblocked;
- end;
- TVideoContentDetailsRegionRestrictionClass = Class of TVideoContentDetailsRegionRestriction;
-
- { --------------------------------------------------------------------
- TVideoFileDetails
- --------------------------------------------------------------------}
-
- TVideoFileDetails = Class(TGoogleBaseObject)
- Private
- FaudioStreams : TVideoFileDetailsTypeaudioStreamsArray;
- FbitrateBps : String;
- Fcontainer : String;
- FcreationTime : String;
- FdurationMs : String;
- FfileName : String;
- FfileSize : String;
- FfileType : String;
- FrecordingLocation : TGeoPoint;
- FvideoStreams : TVideoFileDetailsTypevideoStreamsArray;
- Protected
- //Property setters
- Procedure SetaudioStreams(AIndex : Integer; const AValue : TVideoFileDetailsTypeaudioStreamsArray); virtual;
- Procedure SetbitrateBps(AIndex : Integer; const AValue : String); virtual;
- Procedure Setcontainer(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcreationTime(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdurationMs(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfileName(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfileSize(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfileType(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrecordingLocation(AIndex : Integer; const AValue : TGeoPoint); virtual;
- Procedure SetvideoStreams(AIndex : Integer; const AValue : TVideoFileDetailsTypevideoStreamsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property audioStreams : TVideoFileDetailsTypeaudioStreamsArray Index 0 Read FaudioStreams Write SetaudioStreams;
- Property bitrateBps : String Index 8 Read FbitrateBps Write SetbitrateBps;
- Property container : String Index 16 Read Fcontainer Write Setcontainer;
- Property creationTime : String Index 24 Read FcreationTime Write SetcreationTime;
- Property durationMs : String Index 32 Read FdurationMs Write SetdurationMs;
- Property fileName : String Index 40 Read FfileName Write SetfileName;
- Property fileSize : String Index 48 Read FfileSize Write SetfileSize;
- Property fileType : String Index 56 Read FfileType Write SetfileType;
- Property recordingLocation : TGeoPoint Index 64 Read FrecordingLocation Write SetrecordingLocation;
- Property videoStreams : TVideoFileDetailsTypevideoStreamsArray Index 72 Read FvideoStreams Write SetvideoStreams;
- end;
- TVideoFileDetailsClass = Class of TVideoFileDetails;
-
- { --------------------------------------------------------------------
- TVideoFileDetailsAudioStream
- --------------------------------------------------------------------}
-
- TVideoFileDetailsAudioStream = Class(TGoogleBaseObject)
- Private
- FbitrateBps : String;
- FchannelCount : integer;
- Fcodec : String;
- Fvendor : String;
- Protected
- //Property setters
- Procedure SetbitrateBps(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setcodec(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvendor(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property bitrateBps : String Index 0 Read FbitrateBps Write SetbitrateBps;
- Property channelCount : integer Index 8 Read FchannelCount Write SetchannelCount;
- Property codec : String Index 16 Read Fcodec Write Setcodec;
- Property vendor : String Index 24 Read Fvendor Write Setvendor;
- end;
- TVideoFileDetailsAudioStreamClass = Class of TVideoFileDetailsAudioStream;
-
- { --------------------------------------------------------------------
- TVideoFileDetailsVideoStream
- --------------------------------------------------------------------}
-
- TVideoFileDetailsVideoStream = Class(TGoogleBaseObject)
- Private
- FaspectRatio : double;
- FbitrateBps : String;
- Fcodec : String;
- FframeRateFps : double;
- FheightPixels : integer;
- Frotation : String;
- Fvendor : String;
- FwidthPixels : integer;
- Protected
- //Property setters
- Procedure SetaspectRatio(AIndex : Integer; const AValue : double); virtual;
- Procedure SetbitrateBps(AIndex : Integer; const AValue : String); virtual;
- Procedure Setcodec(AIndex : Integer; const AValue : String); virtual;
- Procedure SetframeRateFps(AIndex : Integer; const AValue : double); virtual;
- Procedure SetheightPixels(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setrotation(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvendor(AIndex : Integer; const AValue : String); virtual;
- Procedure SetwidthPixels(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property aspectRatio : double Index 0 Read FaspectRatio Write SetaspectRatio;
- Property bitrateBps : String Index 8 Read FbitrateBps Write SetbitrateBps;
- Property codec : String Index 16 Read Fcodec Write Setcodec;
- Property frameRateFps : double Index 24 Read FframeRateFps Write SetframeRateFps;
- Property heightPixels : integer Index 32 Read FheightPixels Write SetheightPixels;
- Property rotation : String Index 40 Read Frotation Write Setrotation;
- Property vendor : String Index 48 Read Fvendor Write Setvendor;
- Property widthPixels : integer Index 56 Read FwidthPixels Write SetwidthPixels;
- end;
- TVideoFileDetailsVideoStreamClass = Class of TVideoFileDetailsVideoStream;
-
- { --------------------------------------------------------------------
- TVideoGetRatingResponse
- --------------------------------------------------------------------}
-
- TVideoGetRatingResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TVideoGetRatingResponseTypeitemsArray;
- Fkind : String;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TVideoGetRatingResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TVideoGetRatingResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property visitorId : String Index 32 Read FvisitorId Write SetvisitorId;
- end;
- TVideoGetRatingResponseClass = Class of TVideoGetRatingResponse;
-
- { --------------------------------------------------------------------
- TVideoListResponse
- --------------------------------------------------------------------}
-
- TVideoListResponse = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- FeventId : String;
- Fitems : TVideoListResponseTypeitemsArray;
- Fkind : String;
- FnextPageToken : String;
- FpageInfo : TPageInfo;
- FprevPageToken : String;
- FtokenPagination : TTokenPagination;
- FvisitorId : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SeteventId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setitems(AIndex : Integer; const AValue : TVideoListResponseTypeitemsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageInfo(AIndex : Integer; const AValue : TPageInfo); virtual;
- Procedure SetprevPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure SettokenPagination(AIndex : Integer; const AValue : TTokenPagination); virtual;
- Procedure SetvisitorId(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 etag : String Index 0 Read Fetag Write Setetag;
- Property eventId : String Index 8 Read FeventId Write SeteventId;
- Property items : TVideoListResponseTypeitemsArray Index 16 Read Fitems Write Setitems;
- Property kind : String Index 24 Read Fkind Write Setkind;
- Property nextPageToken : String Index 32 Read FnextPageToken Write SetnextPageToken;
- Property pageInfo : TPageInfo Index 40 Read FpageInfo Write SetpageInfo;
- Property prevPageToken : String Index 48 Read FprevPageToken Write SetprevPageToken;
- Property tokenPagination : TTokenPagination Index 56 Read FtokenPagination Write SettokenPagination;
- Property visitorId : String Index 64 Read FvisitorId Write SetvisitorId;
- end;
- TVideoListResponseClass = Class of TVideoListResponse;
-
- { --------------------------------------------------------------------
- TVideoLiveStreamingDetails
- --------------------------------------------------------------------}
-
- TVideoLiveStreamingDetails = Class(TGoogleBaseObject)
- Private
- FactiveLiveChatId : String;
- FactualEndTime : TDatetime;
- FactualStartTime : TDatetime;
- FconcurrentViewers : String;
- FscheduledEndTime : TDatetime;
- FscheduledStartTime : TDatetime;
- Protected
- //Property setters
- Procedure SetactiveLiveChatId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetactualEndTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetactualStartTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetconcurrentViewers(AIndex : Integer; const AValue : String); virtual;
- Procedure SetscheduledEndTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetscheduledStartTime(AIndex : Integer; const AValue : TDatetime); virtual;
- Public
- Published
- Property activeLiveChatId : String Index 0 Read FactiveLiveChatId Write SetactiveLiveChatId;
- Property actualEndTime : TDatetime Index 8 Read FactualEndTime Write SetactualEndTime;
- Property actualStartTime : TDatetime Index 16 Read FactualStartTime Write SetactualStartTime;
- Property concurrentViewers : String Index 24 Read FconcurrentViewers Write SetconcurrentViewers;
- Property scheduledEndTime : TDatetime Index 32 Read FscheduledEndTime Write SetscheduledEndTime;
- Property scheduledStartTime : TDatetime Index 40 Read FscheduledStartTime Write SetscheduledStartTime;
- end;
- TVideoLiveStreamingDetailsClass = Class of TVideoLiveStreamingDetails;
-
- { --------------------------------------------------------------------
- TVideoLocalization
- --------------------------------------------------------------------}
-
- TVideoLocalization = Class(TGoogleBaseObject)
- Private
- Fdescription : String;
- Ftitle : String;
- Protected
- //Property setters
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Settitle(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property description : String Index 0 Read Fdescription Write Setdescription;
- Property title : String Index 8 Read Ftitle Write Settitle;
- end;
- TVideoLocalizationClass = Class of TVideoLocalization;
-
- { --------------------------------------------------------------------
- TVideoMonetizationDetails
- --------------------------------------------------------------------}
-
- TVideoMonetizationDetails = Class(TGoogleBaseObject)
- Private
- Faccess : TAccessPolicy;
- Protected
- //Property setters
- Procedure Setaccess(AIndex : Integer; const AValue : TAccessPolicy); virtual;
- Public
- Published
- Property access : TAccessPolicy Index 0 Read Faccess Write Setaccess;
- end;
- TVideoMonetizationDetailsClass = Class of TVideoMonetizationDetails;
-
- { --------------------------------------------------------------------
- TVideoPlayer
- --------------------------------------------------------------------}
-
- TVideoPlayer = Class(TGoogleBaseObject)
- Private
- FembedHtml : String;
- Protected
- //Property setters
- Procedure SetembedHtml(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property embedHtml : String Index 0 Read FembedHtml Write SetembedHtml;
- end;
- TVideoPlayerClass = Class of TVideoPlayer;
-
- { --------------------------------------------------------------------
- TVideoProcessingDetails
- --------------------------------------------------------------------}
-
- TVideoProcessingDetails = Class(TGoogleBaseObject)
- Private
- FeditorSuggestionsAvailability : String;
- FfileDetailsAvailability : String;
- FprocessingFailureReason : String;
- FprocessingIssuesAvailability : String;
- FprocessingProgress : TVideoProcessingDetailsProcessingProgress;
- FprocessingStatus : String;
- FtagSuggestionsAvailability : String;
- FthumbnailsAvailability : String;
- Protected
- //Property setters
- Procedure SeteditorSuggestionsAvailability(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfileDetailsAvailability(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprocessingFailureReason(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprocessingIssuesAvailability(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprocessingProgress(AIndex : Integer; const AValue : TVideoProcessingDetailsProcessingProgress); virtual;
- Procedure SetprocessingStatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SettagSuggestionsAvailability(AIndex : Integer; const AValue : String); virtual;
- Procedure SetthumbnailsAvailability(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property editorSuggestionsAvailability : String Index 0 Read FeditorSuggestionsAvailability Write SeteditorSuggestionsAvailability;
- Property fileDetailsAvailability : String Index 8 Read FfileDetailsAvailability Write SetfileDetailsAvailability;
- Property processingFailureReason : String Index 16 Read FprocessingFailureReason Write SetprocessingFailureReason;
- Property processingIssuesAvailability : String Index 24 Read FprocessingIssuesAvailability Write SetprocessingIssuesAvailability;
- Property processingProgress : TVideoProcessingDetailsProcessingProgress Index 32 Read FprocessingProgress Write SetprocessingProgress;
- Property processingStatus : String Index 40 Read FprocessingStatus Write SetprocessingStatus;
- Property tagSuggestionsAvailability : String Index 48 Read FtagSuggestionsAvailability Write SettagSuggestionsAvailability;
- Property thumbnailsAvailability : String Index 56 Read FthumbnailsAvailability Write SetthumbnailsAvailability;
- end;
- TVideoProcessingDetailsClass = Class of TVideoProcessingDetails;
-
- { --------------------------------------------------------------------
- TVideoProcessingDetailsProcessingProgress
- --------------------------------------------------------------------}
-
- TVideoProcessingDetailsProcessingProgress = Class(TGoogleBaseObject)
- Private
- FpartsProcessed : String;
- FpartsTotal : String;
- FtimeLeftMs : String;
- Protected
- //Property setters
- Procedure SetpartsProcessed(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpartsTotal(AIndex : Integer; const AValue : String); virtual;
- Procedure SettimeLeftMs(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property partsProcessed : String Index 0 Read FpartsProcessed Write SetpartsProcessed;
- Property partsTotal : String Index 8 Read FpartsTotal Write SetpartsTotal;
- Property timeLeftMs : String Index 16 Read FtimeLeftMs Write SettimeLeftMs;
- end;
- TVideoProcessingDetailsProcessingProgressClass = Class of TVideoProcessingDetailsProcessingProgress;
-
- { --------------------------------------------------------------------
- TVideoProjectDetails
- --------------------------------------------------------------------}
-
- TVideoProjectDetails = Class(TGoogleBaseObject)
- Private
- Ftags : TStringArray;
- Protected
- //Property setters
- Procedure Settags(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 tags : TStringArray Index 0 Read Ftags Write Settags;
- end;
- TVideoProjectDetailsClass = Class of TVideoProjectDetails;
-
- { --------------------------------------------------------------------
- TVideoRating
- --------------------------------------------------------------------}
-
- TVideoRating = Class(TGoogleBaseObject)
- Private
- Frating : String;
- FvideoId : String;
- Protected
- //Property setters
- Procedure Setrating(AIndex : Integer; const AValue : String); virtual;
- Procedure SetvideoId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property rating : String Index 0 Read Frating Write Setrating;
- Property videoId : String Index 8 Read FvideoId Write SetvideoId;
- end;
- TVideoRatingClass = Class of TVideoRating;
-
- { --------------------------------------------------------------------
- TVideoRecordingDetails
- --------------------------------------------------------------------}
-
- TVideoRecordingDetails = Class(TGoogleBaseObject)
- Private
- Flocation : TGeoPoint;
- FlocationDescription : String;
- FrecordingDate : TDatetime;
- Protected
- //Property setters
- Procedure Setlocation(AIndex : Integer; const AValue : TGeoPoint); virtual;
- Procedure SetlocationDescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrecordingDate(AIndex : Integer; const AValue : TDatetime); virtual;
- Public
- Published
- Property location : TGeoPoint Index 0 Read Flocation Write Setlocation;
- Property locationDescription : String Index 8 Read FlocationDescription Write SetlocationDescription;
- Property recordingDate : TDatetime Index 16 Read FrecordingDate Write SetrecordingDate;
- end;
- TVideoRecordingDetailsClass = Class of TVideoRecordingDetails;
-
- { --------------------------------------------------------------------
- TVideoSnippet
- --------------------------------------------------------------------}
-
- TVideoSnippet = Class(TGoogleBaseObject)
- Private
- FcategoryId : String;
- FchannelId : String;
- FchannelTitle : String;
- FdefaultAudioLanguage : String;
- FdefaultLanguage : String;
- Fdescription : String;
- FliveBroadcastContent : String;
- Flocalized : TVideoLocalization;
- FpublishedAt : TDatetime;
- Ftags : TStringArray;
- Fthumbnails : TThumbnailDetails;
- Ftitle : String;
- Protected
- //Property setters
- Procedure SetcategoryId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetchannelTitle(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultAudioLanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultLanguage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetliveBroadcastContent(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocalized(AIndex : Integer; const AValue : TVideoLocalization); virtual;
- Procedure SetpublishedAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure Settags(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails); virtual;
- Procedure Settitle(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 categoryId : String Index 0 Read FcategoryId Write SetcategoryId;
- Property channelId : String Index 8 Read FchannelId Write SetchannelId;
- Property channelTitle : String Index 16 Read FchannelTitle Write SetchannelTitle;
- Property defaultAudioLanguage : String Index 24 Read FdefaultAudioLanguage Write SetdefaultAudioLanguage;
- Property defaultLanguage : String Index 32 Read FdefaultLanguage Write SetdefaultLanguage;
- Property description : String Index 40 Read Fdescription Write Setdescription;
- Property liveBroadcastContent : String Index 48 Read FliveBroadcastContent Write SetliveBroadcastContent;
- Property localized : TVideoLocalization Index 56 Read Flocalized Write Setlocalized;
- Property publishedAt : TDatetime Index 64 Read FpublishedAt Write SetpublishedAt;
- Property tags : TStringArray Index 72 Read Ftags Write Settags;
- Property thumbnails : TThumbnailDetails Index 80 Read Fthumbnails Write Setthumbnails;
- Property title : String Index 88 Read Ftitle Write Settitle;
- end;
- TVideoSnippetClass = Class of TVideoSnippet;
-
- { --------------------------------------------------------------------
- TVideoStatistics
- --------------------------------------------------------------------}
-
- TVideoStatistics = Class(TGoogleBaseObject)
- Private
- FcommentCount : String;
- FdislikeCount : String;
- FfavoriteCount : String;
- FlikeCount : String;
- FviewCount : String;
- Protected
- //Property setters
- Procedure SetcommentCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdislikeCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfavoriteCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlikeCount(AIndex : Integer; const AValue : String); virtual;
- Procedure SetviewCount(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property commentCount : String Index 0 Read FcommentCount Write SetcommentCount;
- Property dislikeCount : String Index 8 Read FdislikeCount Write SetdislikeCount;
- Property favoriteCount : String Index 16 Read FfavoriteCount Write SetfavoriteCount;
- Property likeCount : String Index 24 Read FlikeCount Write SetlikeCount;
- Property viewCount : String Index 32 Read FviewCount Write SetviewCount;
- end;
- TVideoStatisticsClass = Class of TVideoStatistics;
-
- { --------------------------------------------------------------------
- TVideoStatus
- --------------------------------------------------------------------}
-
- TVideoStatus = Class(TGoogleBaseObject)
- Private
- Fembeddable : boolean;
- FfailureReason : String;
- Flicense : String;
- FprivacyStatus : String;
- FpublicStatsViewable : boolean;
- FpublishAt : TDatetime;
- FrejectionReason : String;
- FuploadStatus : String;
- Protected
- //Property setters
- Procedure Setembeddable(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetfailureReason(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlicense(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprivacyStatus(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpublicStatsViewable(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetpublishAt(AIndex : Integer; const AValue : TDatetime); virtual;
- Procedure SetrejectionReason(AIndex : Integer; const AValue : String); virtual;
- Procedure SetuploadStatus(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property embeddable : boolean Index 0 Read Fembeddable Write Setembeddable;
- Property failureReason : String Index 8 Read FfailureReason Write SetfailureReason;
- Property license : String Index 16 Read Flicense Write Setlicense;
- Property privacyStatus : String Index 24 Read FprivacyStatus Write SetprivacyStatus;
- Property publicStatsViewable : boolean Index 32 Read FpublicStatsViewable Write SetpublicStatsViewable;
- Property publishAt : TDatetime Index 40 Read FpublishAt Write SetpublishAt;
- Property rejectionReason : String Index 48 Read FrejectionReason Write SetrejectionReason;
- Property uploadStatus : String Index 56 Read FuploadStatus Write SetuploadStatus;
- end;
- TVideoStatusClass = Class of TVideoStatus;
-
- { --------------------------------------------------------------------
- TVideoSuggestions
- --------------------------------------------------------------------}
-
- TVideoSuggestions = Class(TGoogleBaseObject)
- Private
- FeditorSuggestions : TStringArray;
- FprocessingErrors : TStringArray;
- FprocessingHints : TStringArray;
- FprocessingWarnings : TStringArray;
- FtagSuggestions : TVideoSuggestionsTypetagSuggestionsArray;
- Protected
- //Property setters
- Procedure SeteditorSuggestions(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetprocessingErrors(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetprocessingHints(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetprocessingWarnings(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SettagSuggestions(AIndex : Integer; const AValue : TVideoSuggestionsTypetagSuggestionsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property editorSuggestions : TStringArray Index 0 Read FeditorSuggestions Write SeteditorSuggestions;
- Property processingErrors : TStringArray Index 8 Read FprocessingErrors Write SetprocessingErrors;
- Property processingHints : TStringArray Index 16 Read FprocessingHints Write SetprocessingHints;
- Property processingWarnings : TStringArray Index 24 Read FprocessingWarnings Write SetprocessingWarnings;
- Property tagSuggestions : TVideoSuggestionsTypetagSuggestionsArray Index 32 Read FtagSuggestions Write SettagSuggestions;
- end;
- TVideoSuggestionsClass = Class of TVideoSuggestions;
-
- { --------------------------------------------------------------------
- TVideoSuggestionsTagSuggestion
- --------------------------------------------------------------------}
-
- TVideoSuggestionsTagSuggestion = Class(TGoogleBaseObject)
- Private
- FcategoryRestricts : TStringArray;
- Ftag : String;
- Protected
- //Property setters
- Procedure SetcategoryRestricts(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Settag(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 categoryRestricts : TStringArray Index 0 Read FcategoryRestricts Write SetcategoryRestricts;
- Property tag : String Index 8 Read Ftag Write Settag;
- end;
- TVideoSuggestionsTagSuggestionClass = Class of TVideoSuggestionsTagSuggestion;
-
- { --------------------------------------------------------------------
- TVideoTopicDetails
- --------------------------------------------------------------------}
-
- TVideoTopicDetails = Class(TGoogleBaseObject)
- Private
- FrelevantTopicIds : TStringArray;
- FtopicIds : TStringArray;
- Protected
- //Property setters
- Procedure SetrelevantTopicIds(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SettopicIds(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 relevantTopicIds : TStringArray Index 0 Read FrelevantTopicIds Write SetrelevantTopicIds;
- Property topicIds : TStringArray Index 8 Read FtopicIds Write SettopicIds;
- end;
- TVideoTopicDetailsClass = Class of TVideoTopicDetails;
-
- { --------------------------------------------------------------------
- TWatchSettings
- --------------------------------------------------------------------}
-
- TWatchSettings = Class(TGoogleBaseObject)
- Private
- FbackgroundColor : String;
- FfeaturedPlaylistId : String;
- FtextColor : String;
- Protected
- //Property setters
- Procedure SetbackgroundColor(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfeaturedPlaylistId(AIndex : Integer; const AValue : String); virtual;
- Procedure SettextColor(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property backgroundColor : String Index 0 Read FbackgroundColor Write SetbackgroundColor;
- Property featuredPlaylistId : String Index 8 Read FfeaturedPlaylistId Write SetfeaturedPlaylistId;
- Property textColor : String Index 16 Read FtextColor Write SettextColor;
- end;
- TWatchSettingsClass = Class of TWatchSettings;
-
- { --------------------------------------------------------------------
- TActivitiesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TActivitiesResource, method Insert
-
- TActivitiesInsertOptions = Record
- part : String;
- end;
-
-
- //Optional query Options for TActivitiesResource, method List
-
- TActivitiesListOptions = Record
- channelId : String;
- home : boolean;
- maxResults : integer;
- mine : boolean;
- pageToken : String;
- part : String;
- publishedAfter : TDatetime;
- publishedBefore : TDatetime;
- regionCode : String;
- end;
-
- TActivitiesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Insert(aActivity : TActivity; AQuery : string = '') : TActivity;
- Function Insert(aActivity : TActivity; AQuery : TActivitiesinsertOptions) : TActivity;
- Function List(AQuery : string = '') : TActivityListResponse;
- Function List(AQuery : TActivitieslistOptions) : TActivityListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TCaptionsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TCaptionsResource, method Delete
-
- TCaptionsDeleteOptions = Record
- id : String;
- onBehalfOf : String;
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TCaptionsResource, method Download
-
- TCaptionsDownloadOptions = Record
- onBehalfOf : String;
- onBehalfOfContentOwner : String;
- tfmt : String;
- tlang : String;
- end;
-
-
- //Optional query Options for TCaptionsResource, method Insert
-
- TCaptionsInsertOptions = Record
- onBehalfOf : String;
- onBehalfOfContentOwner : String;
- part : String;
- sync : boolean;
- end;
-
-
- //Optional query Options for TCaptionsResource, method List
-
- TCaptionsListOptions = Record
- id : String;
- onBehalfOf : String;
- onBehalfOfContentOwner : String;
- part : String;
- videoId : String;
- end;
-
-
- //Optional query Options for TCaptionsResource, method Update
-
- TCaptionsUpdateOptions = Record
- onBehalfOf : String;
- onBehalfOfContentOwner : String;
- part : String;
- sync : boolean;
- end;
-
- TCaptionsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TCaptionsdeleteOptions);
- Procedure Download(id: string; AQuery : string = '');
- Procedure Download(id: string; AQuery : TCaptionsdownloadOptions);
- Function Insert(aCaption : TCaption; AQuery : string = '') : TCaption;
- Function Insert(aCaption : TCaption; AQuery : TCaptionsinsertOptions) : TCaption;
- Function List(AQuery : string = '') : TCaptionListResponse;
- Function List(AQuery : TCaptionslistOptions) : TCaptionListResponse;
- Function Update(aCaption : TCaption; AQuery : string = '') : TCaption;
- Function Update(aCaption : TCaption; AQuery : TCaptionsupdateOptions) : TCaption;
- end;
-
-
- { --------------------------------------------------------------------
- TChannelBannersResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TChannelBannersResource, method Insert
-
- TChannelBannersInsertOptions = Record
- onBehalfOfContentOwner : String;
- end;
-
- TChannelBannersResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Insert(aChannelBannerResource : TChannelBannerResource; AQuery : string = '') : TChannelBannerResource;
- Function Insert(aChannelBannerResource : TChannelBannerResource; AQuery : TChannelBannersinsertOptions) : TChannelBannerResource;
- end;
-
-
- { --------------------------------------------------------------------
- TChannelSectionsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TChannelSectionsResource, method Delete
-
- TChannelSectionsDeleteOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TChannelSectionsResource, method Insert
-
- TChannelSectionsInsertOptions = Record
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
-
- //Optional query Options for TChannelSectionsResource, method List
-
- TChannelSectionsListOptions = Record
- channelId : String;
- hl : String;
- id : String;
- mine : boolean;
- onBehalfOfContentOwner : String;
- part : String;
- end;
-
-
- //Optional query Options for TChannelSectionsResource, method Update
-
- TChannelSectionsUpdateOptions = Record
- onBehalfOfContentOwner : String;
- part : String;
- end;
-
- TChannelSectionsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TChannelSectionsdeleteOptions);
- Function Insert(aChannelSection : TChannelSection; AQuery : string = '') : TChannelSection;
- Function Insert(aChannelSection : TChannelSection; AQuery : TChannelSectionsinsertOptions) : TChannelSection;
- Function List(AQuery : string = '') : TChannelSectionListResponse;
- Function List(AQuery : TChannelSectionslistOptions) : TChannelSectionListResponse;
- Function Update(aChannelSection : TChannelSection; AQuery : string = '') : TChannelSection;
- Function Update(aChannelSection : TChannelSection; AQuery : TChannelSectionsupdateOptions) : TChannelSection;
- end;
-
-
- { --------------------------------------------------------------------
- TChannelsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TChannelsResource, method List
-
- TChannelsListOptions = Record
- categoryId : String;
- forUsername : String;
- hl : String;
- id : String;
- managedByMe : boolean;
- maxResults : integer;
- mine : boolean;
- mySubscribers : boolean;
- onBehalfOfContentOwner : String;
- pageToken : String;
- part : String;
- end;
-
-
- //Optional query Options for TChannelsResource, method Update
-
- TChannelsUpdateOptions = Record
- onBehalfOfContentOwner : String;
- part : String;
- end;
-
- TChannelsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TChannelListResponse;
- Function List(AQuery : TChannelslistOptions) : TChannelListResponse;
- Function Update(aChannel : TChannel; AQuery : string = '') : TChannel;
- Function Update(aChannel : TChannel; AQuery : TChannelsupdateOptions) : TChannel;
- end;
-
-
- { --------------------------------------------------------------------
- TCommentThreadsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TCommentThreadsResource, method Insert
-
- TCommentThreadsInsertOptions = Record
- part : String;
- end;
-
-
- //Optional query Options for TCommentThreadsResource, method List
-
- TCommentThreadsListOptions = Record
- allThreadsRelatedToChannelId : String;
- channelId : String;
- id : String;
- maxResults : integer;
- moderationStatus : String;
- order : String;
- pageToken : String;
- part : String;
- searchTerms : String;
- textFormat : String;
- videoId : String;
- end;
-
-
- //Optional query Options for TCommentThreadsResource, method Update
-
- TCommentThreadsUpdateOptions = Record
- part : String;
- end;
-
- TCommentThreadsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Insert(aCommentThread : TCommentThread; AQuery : string = '') : TCommentThread;
- Function Insert(aCommentThread : TCommentThread; AQuery : TCommentThreadsinsertOptions) : TCommentThread;
- Function List(AQuery : string = '') : TCommentThreadListResponse;
- Function List(AQuery : TCommentThreadslistOptions) : TCommentThreadListResponse;
- Function Update(aCommentThread : TCommentThread; AQuery : string = '') : TCommentThread;
- Function Update(aCommentThread : TCommentThread; AQuery : TCommentThreadsupdateOptions) : TCommentThread;
- end;
-
-
- { --------------------------------------------------------------------
- TCommentsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TCommentsResource, method Delete
-
- TCommentsDeleteOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TCommentsResource, method Insert
-
- TCommentsInsertOptions = Record
- part : String;
- end;
-
-
- //Optional query Options for TCommentsResource, method List
-
- TCommentsListOptions = Record
- id : String;
- maxResults : integer;
- pageToken : String;
- parentId : String;
- part : String;
- textFormat : String;
- end;
-
-
- //Optional query Options for TCommentsResource, method MarkAsSpam
-
- TCommentsMarkAsSpamOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TCommentsResource, method SetModerationStatus
-
- TCommentsSetModerationStatusOptions = Record
- banAuthor : boolean;
- id : String;
- moderationStatus : String;
- end;
-
-
- //Optional query Options for TCommentsResource, method Update
-
- TCommentsUpdateOptions = Record
- part : String;
- end;
-
- TCommentsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TCommentsdeleteOptions);
- Function Insert(aComment : TComment; AQuery : string = '') : TComment;
- Function Insert(aComment : TComment; AQuery : TCommentsinsertOptions) : TComment;
- Function List(AQuery : string = '') : TCommentListResponse;
- Function List(AQuery : TCommentslistOptions) : TCommentListResponse;
- Procedure MarkAsSpam(AQuery : string = '');
- Procedure MarkAsSpam(AQuery : TCommentsmarkAsSpamOptions);
- Procedure SetModerationStatus(AQuery : string = '');
- Procedure SetModerationStatus(AQuery : TCommentssetModerationStatusOptions);
- Function Update(aComment : TComment; AQuery : string = '') : TComment;
- Function Update(aComment : TComment; AQuery : TCommentsupdateOptions) : TComment;
- end;
-
-
- { --------------------------------------------------------------------
- TFanFundingEventsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TFanFundingEventsResource, method List
-
- TFanFundingEventsListOptions = Record
- hl : String;
- maxResults : integer;
- pageToken : String;
- part : String;
- end;
-
- TFanFundingEventsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TFanFundingEventListResponse;
- Function List(AQuery : TFanFundingEventslistOptions) : TFanFundingEventListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TGuideCategoriesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TGuideCategoriesResource, method List
-
- TGuideCategoriesListOptions = Record
- hl : String;
- id : String;
- part : String;
- regionCode : String;
- end;
-
- TGuideCategoriesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TGuideCategoryListResponse;
- Function List(AQuery : TGuideCategorieslistOptions) : TGuideCategoryListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TI18nLanguagesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TI18nLanguagesResource, method List
-
- TI18nLanguagesListOptions = Record
- hl : String;
- part : String;
- end;
-
- TI18nLanguagesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TI18nLanguageListResponse;
- Function List(AQuery : TI18nLanguageslistOptions) : TI18nLanguageListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TI18nRegionsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TI18nRegionsResource, method List
-
- TI18nRegionsListOptions = Record
- hl : String;
- part : String;
- end;
-
- TI18nRegionsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TI18nRegionListResponse;
- Function List(AQuery : TI18nRegionslistOptions) : TI18nRegionListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TLiveBroadcastsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TLiveBroadcastsResource, method Bind
-
- TLiveBroadcastsBindOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- streamId : String;
- end;
-
-
- //Optional query Options for TLiveBroadcastsResource, method Control
-
- TLiveBroadcastsControlOptions = Record
- displaySlate : boolean;
- id : String;
- offsetTimeMs : String;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- walltime : TDatetime;
- end;
-
-
- //Optional query Options for TLiveBroadcastsResource, method Delete
-
- TLiveBroadcastsDeleteOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- end;
-
-
- //Optional query Options for TLiveBroadcastsResource, method Insert
-
- TLiveBroadcastsInsertOptions = Record
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
-
- //Optional query Options for TLiveBroadcastsResource, method List
-
- TLiveBroadcastsListOptions = Record
- broadcastStatus : String;
- broadcastType : String;
- id : String;
- maxResults : integer;
- mine : boolean;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- pageToken : String;
- part : String;
- end;
-
-
- //Optional query Options for TLiveBroadcastsResource, method Transition
-
- TLiveBroadcastsTransitionOptions = Record
- broadcastStatus : String;
- id : String;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
-
- //Optional query Options for TLiveBroadcastsResource, method Update
-
- TLiveBroadcastsUpdateOptions = Record
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
- TLiveBroadcastsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Bind(AQuery : string = '') : TLiveBroadcast;
- Function Bind(AQuery : TLiveBroadcastsbindOptions) : TLiveBroadcast;
- Function Control(AQuery : string = '') : TLiveBroadcast;
- Function Control(AQuery : TLiveBroadcastscontrolOptions) : TLiveBroadcast;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TLiveBroadcastsdeleteOptions);
- Function Insert(aLiveBroadcast : TLiveBroadcast; AQuery : string = '') : TLiveBroadcast;
- Function Insert(aLiveBroadcast : TLiveBroadcast; AQuery : TLiveBroadcastsinsertOptions) : TLiveBroadcast;
- Function List(AQuery : string = '') : TLiveBroadcastListResponse;
- Function List(AQuery : TLiveBroadcastslistOptions) : TLiveBroadcastListResponse;
- Function Transition(AQuery : string = '') : TLiveBroadcast;
- Function Transition(AQuery : TLiveBroadcaststransitionOptions) : TLiveBroadcast;
- Function Update(aLiveBroadcast : TLiveBroadcast; AQuery : string = '') : TLiveBroadcast;
- Function Update(aLiveBroadcast : TLiveBroadcast; AQuery : TLiveBroadcastsupdateOptions) : TLiveBroadcast;
- end;
-
-
- { --------------------------------------------------------------------
- TLiveChatBansResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TLiveChatBansResource, method Delete
-
- TLiveChatBansDeleteOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TLiveChatBansResource, method Insert
-
- TLiveChatBansInsertOptions = Record
- part : String;
- end;
-
- TLiveChatBansResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TLiveChatBansdeleteOptions);
- Function Insert(aLiveChatBan : TLiveChatBan; AQuery : string = '') : TLiveChatBan;
- Function Insert(aLiveChatBan : TLiveChatBan; AQuery : TLiveChatBansinsertOptions) : TLiveChatBan;
- end;
-
-
- { --------------------------------------------------------------------
- TLiveChatMessagesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TLiveChatMessagesResource, method Delete
-
- TLiveChatMessagesDeleteOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TLiveChatMessagesResource, method Insert
-
- TLiveChatMessagesInsertOptions = Record
- part : String;
- end;
-
-
- //Optional query Options for TLiveChatMessagesResource, method List
-
- TLiveChatMessagesListOptions = Record
- hl : String;
- liveChatId : String;
- maxResults : integer;
- pageToken : String;
- part : String;
- profileImageSize : integer;
- end;
-
- TLiveChatMessagesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TLiveChatMessagesdeleteOptions);
- Function Insert(aLiveChatMessage : TLiveChatMessage; AQuery : string = '') : TLiveChatMessage;
- Function Insert(aLiveChatMessage : TLiveChatMessage; AQuery : TLiveChatMessagesinsertOptions) : TLiveChatMessage;
- Function List(AQuery : string = '') : TLiveChatMessageListResponse;
- Function List(AQuery : TLiveChatMessageslistOptions) : TLiveChatMessageListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TLiveChatModeratorsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TLiveChatModeratorsResource, method Delete
-
- TLiveChatModeratorsDeleteOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TLiveChatModeratorsResource, method Insert
-
- TLiveChatModeratorsInsertOptions = Record
- part : String;
- end;
-
-
- //Optional query Options for TLiveChatModeratorsResource, method List
-
- TLiveChatModeratorsListOptions = Record
- liveChatId : String;
- maxResults : integer;
- pageToken : String;
- part : String;
- end;
-
- TLiveChatModeratorsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TLiveChatModeratorsdeleteOptions);
- Function Insert(aLiveChatModerator : TLiveChatModerator; AQuery : string = '') : TLiveChatModerator;
- Function Insert(aLiveChatModerator : TLiveChatModerator; AQuery : TLiveChatModeratorsinsertOptions) : TLiveChatModerator;
- Function List(AQuery : string = '') : TLiveChatModeratorListResponse;
- Function List(AQuery : TLiveChatModeratorslistOptions) : TLiveChatModeratorListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TLiveStreamsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TLiveStreamsResource, method Delete
-
- TLiveStreamsDeleteOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- end;
-
-
- //Optional query Options for TLiveStreamsResource, method Insert
-
- TLiveStreamsInsertOptions = Record
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
-
- //Optional query Options for TLiveStreamsResource, method List
-
- TLiveStreamsListOptions = Record
- id : String;
- maxResults : integer;
- mine : boolean;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- pageToken : String;
- part : String;
- end;
-
-
- //Optional query Options for TLiveStreamsResource, method Update
-
- TLiveStreamsUpdateOptions = Record
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
- TLiveStreamsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TLiveStreamsdeleteOptions);
- Function Insert(aLiveStream : TLiveStream; AQuery : string = '') : TLiveStream;
- Function Insert(aLiveStream : TLiveStream; AQuery : TLiveStreamsinsertOptions) : TLiveStream;
- Function List(AQuery : string = '') : TLiveStreamListResponse;
- Function List(AQuery : TLiveStreamslistOptions) : TLiveStreamListResponse;
- Function Update(aLiveStream : TLiveStream; AQuery : string = '') : TLiveStream;
- Function Update(aLiveStream : TLiveStream; AQuery : TLiveStreamsupdateOptions) : TLiveStream;
- end;
-
-
- { --------------------------------------------------------------------
- TPlaylistItemsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TPlaylistItemsResource, method Delete
-
- TPlaylistItemsDeleteOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TPlaylistItemsResource, method Insert
-
- TPlaylistItemsInsertOptions = Record
- onBehalfOfContentOwner : String;
- part : String;
- end;
-
-
- //Optional query Options for TPlaylistItemsResource, method List
-
- TPlaylistItemsListOptions = Record
- id : String;
- maxResults : integer;
- onBehalfOfContentOwner : String;
- pageToken : String;
- part : String;
- playlistId : String;
- videoId : String;
- end;
-
-
- //Optional query Options for TPlaylistItemsResource, method Update
-
- TPlaylistItemsUpdateOptions = Record
- part : String;
- end;
-
- TPlaylistItemsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TPlaylistItemsdeleteOptions);
- Function Insert(aPlaylistItem : TPlaylistItem; AQuery : string = '') : TPlaylistItem;
- Function Insert(aPlaylistItem : TPlaylistItem; AQuery : TPlaylistItemsinsertOptions) : TPlaylistItem;
- Function List(AQuery : string = '') : TPlaylistItemListResponse;
- Function List(AQuery : TPlaylistItemslistOptions) : TPlaylistItemListResponse;
- Function Update(aPlaylistItem : TPlaylistItem; AQuery : string = '') : TPlaylistItem;
- Function Update(aPlaylistItem : TPlaylistItem; AQuery : TPlaylistItemsupdateOptions) : TPlaylistItem;
- end;
-
-
- { --------------------------------------------------------------------
- TPlaylistsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TPlaylistsResource, method Delete
-
- TPlaylistsDeleteOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TPlaylistsResource, method Insert
-
- TPlaylistsInsertOptions = Record
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- end;
-
-
- //Optional query Options for TPlaylistsResource, method List
-
- TPlaylistsListOptions = Record
- channelId : String;
- hl : String;
- id : String;
- maxResults : integer;
- mine : boolean;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- pageToken : String;
- part : String;
- end;
-
-
- //Optional query Options for TPlaylistsResource, method Update
-
- TPlaylistsUpdateOptions = Record
- onBehalfOfContentOwner : String;
- part : String;
- end;
-
- TPlaylistsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TPlaylistsdeleteOptions);
- Function Insert(aPlaylist : TPlaylist; AQuery : string = '') : TPlaylist;
- Function Insert(aPlaylist : TPlaylist; AQuery : TPlaylistsinsertOptions) : TPlaylist;
- Function List(AQuery : string = '') : TPlaylistListResponse;
- Function List(AQuery : TPlaylistslistOptions) : TPlaylistListResponse;
- Function Update(aPlaylist : TPlaylist; AQuery : string = '') : TPlaylist;
- Function Update(aPlaylist : TPlaylist; AQuery : TPlaylistsupdateOptions) : TPlaylist;
- end;
-
-
- { --------------------------------------------------------------------
- TSearchResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TSearchResource, method List
-
- TSearchListOptions = Record
- channelId : String;
- channelType : String;
- eventType : String;
- forContentOwner : boolean;
- forDeveloper : boolean;
- forMine : boolean;
- location : String;
- locationRadius : String;
- maxResults : integer;
- onBehalfOfContentOwner : String;
- order : String;
- pageToken : String;
- part : String;
- publishedAfter : TDatetime;
- publishedBefore : TDatetime;
- q : String;
- regionCode : String;
- relatedToVideoId : String;
- relevanceLanguage : String;
- safeSearch : String;
- topicId : String;
- _type : String;
- videoCaption : String;
- videoCategoryId : String;
- videoDefinition : String;
- videoDimension : String;
- videoDuration : String;
- videoEmbeddable : String;
- videoLicense : String;
- videoSyndicated : String;
- videoType : String;
- end;
-
- TSearchResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TSearchListResponse;
- Function List(AQuery : TSearchlistOptions) : TSearchListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TSponsorsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TSponsorsResource, method List
-
- TSponsorsListOptions = Record
- filter : String;
- maxResults : integer;
- pageToken : String;
- part : String;
- end;
-
- TSponsorsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TSponsorListResponse;
- Function List(AQuery : TSponsorslistOptions) : TSponsorListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TSubscriptionsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TSubscriptionsResource, method Delete
-
- TSubscriptionsDeleteOptions = Record
- id : String;
- end;
-
-
- //Optional query Options for TSubscriptionsResource, method Insert
-
- TSubscriptionsInsertOptions = Record
- part : String;
- end;
-
-
- //Optional query Options for TSubscriptionsResource, method List
-
- TSubscriptionsListOptions = Record
- channelId : String;
- forChannelId : String;
- id : String;
- maxResults : integer;
- mine : boolean;
- mySubscribers : boolean;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- order : String;
- pageToken : String;
- part : String;
- end;
-
- TSubscriptionsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TSubscriptionsdeleteOptions);
- Function Insert(aSubscription : TSubscription; AQuery : string = '') : TSubscription;
- Function Insert(aSubscription : TSubscription; AQuery : TSubscriptionsinsertOptions) : TSubscription;
- Function List(AQuery : string = '') : TSubscriptionListResponse;
- Function List(AQuery : TSubscriptionslistOptions) : TSubscriptionListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TThumbnailsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TThumbnailsResource, method Set
-
- TThumbnailsSetOptions = Record
- onBehalfOfContentOwner : String;
- videoId : String;
- end;
-
- TThumbnailsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function _set(AQuery : string = '') : TThumbnailSetResponse;
- Function _set(AQuery : TThumbnailssetOptions) : TThumbnailSetResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TVideoAbuseReportReasonsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TVideoAbuseReportReasonsResource, method List
-
- TVideoAbuseReportReasonsListOptions = Record
- hl : String;
- part : String;
- end;
-
- TVideoAbuseReportReasonsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TVideoAbuseReportReasonListResponse;
- Function List(AQuery : TVideoAbuseReportReasonslistOptions) : TVideoAbuseReportReasonListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TVideoCategoriesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TVideoCategoriesResource, method List
-
- TVideoCategoriesListOptions = Record
- hl : String;
- id : String;
- part : String;
- regionCode : String;
- end;
-
- TVideoCategoriesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TVideoCategoryListResponse;
- Function List(AQuery : TVideoCategorieslistOptions) : TVideoCategoryListResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TVideosResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TVideosResource, method Delete
-
- TVideosDeleteOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TVideosResource, method GetRating
-
- TVideosGetRatingOptions = Record
- id : String;
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TVideosResource, method Insert
-
- TVideosInsertOptions = Record
- autoLevels : boolean;
- notifySubscribers : boolean;
- onBehalfOfContentOwner : String;
- onBehalfOfContentOwnerChannel : String;
- part : String;
- stabilize : boolean;
- end;
-
-
- //Optional query Options for TVideosResource, method List
-
- TVideosListOptions = Record
- chart : String;
- hl : String;
- id : String;
- locale : String;
- maxResults : integer;
- myRating : String;
- onBehalfOfContentOwner : String;
- pageToken : String;
- part : String;
- regionCode : String;
- videoCategoryId : String;
- end;
-
-
- //Optional query Options for TVideosResource, method Rate
-
- TVideosRateOptions = Record
- id : String;
- rating : String;
- end;
-
-
- //Optional query Options for TVideosResource, method ReportAbuse
-
- TVideosReportAbuseOptions = Record
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TVideosResource, method Update
-
- TVideosUpdateOptions = Record
- onBehalfOfContentOwner : String;
- part : String;
- end;
-
- TVideosResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(AQuery : string = '');
- Procedure Delete(AQuery : TVideosdeleteOptions);
- Function GetRating(AQuery : string = '') : TVideoGetRatingResponse;
- Function GetRating(AQuery : TVideosgetRatingOptions) : TVideoGetRatingResponse;
- Function Insert(aVideo : TVideo; AQuery : string = '') : TVideo;
- Function Insert(aVideo : TVideo; AQuery : TVideosinsertOptions) : TVideo;
- Function List(AQuery : string = '') : TVideoListResponse;
- Function List(AQuery : TVideoslistOptions) : TVideoListResponse;
- Procedure Rate(AQuery : string = '');
- Procedure Rate(AQuery : TVideosrateOptions);
- Procedure ReportAbuse(aVideoAbuseReport : TVideoAbuseReport; AQuery : string = '');
- Procedure ReportAbuse(aVideoAbuseReport : TVideoAbuseReport; AQuery : TVideosreportAbuseOptions);
- Function Update(aVideo : TVideo; AQuery : string = '') : TVideo;
- Function Update(aVideo : TVideo; AQuery : TVideosupdateOptions) : TVideo;
- end;
-
-
- { --------------------------------------------------------------------
- TWatermarksResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TWatermarksResource, method Set
-
- TWatermarksSetOptions = Record
- channelId : String;
- onBehalfOfContentOwner : String;
- end;
-
-
- //Optional query Options for TWatermarksResource, method Unset
-
- TWatermarksUnsetOptions = Record
- channelId : String;
- onBehalfOfContentOwner : String;
- end;
-
- TWatermarksResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure _set(aInvideoBranding : TInvideoBranding; AQuery : string = '');
- Procedure _set(aInvideoBranding : TInvideoBranding; AQuery : TWatermarkssetOptions);
- Procedure Unset(AQuery : string = '');
- Procedure Unset(AQuery : TWatermarksunsetOptions);
- end;
-
-
- { --------------------------------------------------------------------
- TYoutubeAPI
- --------------------------------------------------------------------}
-
- TYoutubeAPI = Class(TGoogleAPI)
- Private
- FActivitiesInstance : TActivitiesResource;
- FCaptionsInstance : TCaptionsResource;
- FChannelBannersInstance : TChannelBannersResource;
- FChannelSectionsInstance : TChannelSectionsResource;
- FChannelsInstance : TChannelsResource;
- FCommentThreadsInstance : TCommentThreadsResource;
- FCommentsInstance : TCommentsResource;
- FFanFundingEventsInstance : TFanFundingEventsResource;
- FGuideCategoriesInstance : TGuideCategoriesResource;
- FI18nLanguagesInstance : TI18nLanguagesResource;
- FI18nRegionsInstance : TI18nRegionsResource;
- FLiveBroadcastsInstance : TLiveBroadcastsResource;
- FLiveChatBansInstance : TLiveChatBansResource;
- FLiveChatMessagesInstance : TLiveChatMessagesResource;
- FLiveChatModeratorsInstance : TLiveChatModeratorsResource;
- FLiveStreamsInstance : TLiveStreamsResource;
- FPlaylistItemsInstance : TPlaylistItemsResource;
- FPlaylistsInstance : TPlaylistsResource;
- FSearchInstance : TSearchResource;
- FSponsorsInstance : TSponsorsResource;
- FSubscriptionsInstance : TSubscriptionsResource;
- FThumbnailsInstance : TThumbnailsResource;
- FVideoAbuseReportReasonsInstance : TVideoAbuseReportReasonsResource;
- FVideoCategoriesInstance : TVideoCategoriesResource;
- FVideosInstance : TVideosResource;
- FWatermarksInstance : TWatermarksResource;
- Function GetActivitiesInstance : TActivitiesResource;virtual;
- Function GetCaptionsInstance : TCaptionsResource;virtual;
- Function GetChannelBannersInstance : TChannelBannersResource;virtual;
- Function GetChannelSectionsInstance : TChannelSectionsResource;virtual;
- Function GetChannelsInstance : TChannelsResource;virtual;
- Function GetCommentThreadsInstance : TCommentThreadsResource;virtual;
- Function GetCommentsInstance : TCommentsResource;virtual;
- Function GetFanFundingEventsInstance : TFanFundingEventsResource;virtual;
- Function GetGuideCategoriesInstance : TGuideCategoriesResource;virtual;
- Function GetI18nLanguagesInstance : TI18nLanguagesResource;virtual;
- Function GetI18nRegionsInstance : TI18nRegionsResource;virtual;
- Function GetLiveBroadcastsInstance : TLiveBroadcastsResource;virtual;
- Function GetLiveChatBansInstance : TLiveChatBansResource;virtual;
- Function GetLiveChatMessagesInstance : TLiveChatMessagesResource;virtual;
- Function GetLiveChatModeratorsInstance : TLiveChatModeratorsResource;virtual;
- Function GetLiveStreamsInstance : TLiveStreamsResource;virtual;
- Function GetPlaylistItemsInstance : TPlaylistItemsResource;virtual;
- Function GetPlaylistsInstance : TPlaylistsResource;virtual;
- Function GetSearchInstance : TSearchResource;virtual;
- Function GetSponsorsInstance : TSponsorsResource;virtual;
- Function GetSubscriptionsInstance : TSubscriptionsResource;virtual;
- Function GetThumbnailsInstance : TThumbnailsResource;virtual;
- Function GetVideoAbuseReportReasonsInstance : TVideoAbuseReportReasonsResource;virtual;
- Function GetVideoCategoriesInstance : TVideoCategoriesResource;virtual;
- Function GetVideosInstance : TVideosResource;virtual;
- Function GetWatermarksInstance : TWatermarksResource;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 CreateActivitiesResource(AOwner : TComponent) : TActivitiesResource;virtual;overload;
- Function CreateActivitiesResource : TActivitiesResource;virtual;overload;
- Function CreateCaptionsResource(AOwner : TComponent) : TCaptionsResource;virtual;overload;
- Function CreateCaptionsResource : TCaptionsResource;virtual;overload;
- Function CreateChannelBannersResource(AOwner : TComponent) : TChannelBannersResource;virtual;overload;
- Function CreateChannelBannersResource : TChannelBannersResource;virtual;overload;
- Function CreateChannelSectionsResource(AOwner : TComponent) : TChannelSectionsResource;virtual;overload;
- Function CreateChannelSectionsResource : TChannelSectionsResource;virtual;overload;
- Function CreateChannelsResource(AOwner : TComponent) : TChannelsResource;virtual;overload;
- Function CreateChannelsResource : TChannelsResource;virtual;overload;
- Function CreateCommentThreadsResource(AOwner : TComponent) : TCommentThreadsResource;virtual;overload;
- Function CreateCommentThreadsResource : TCommentThreadsResource;virtual;overload;
- Function CreateCommentsResource(AOwner : TComponent) : TCommentsResource;virtual;overload;
- Function CreateCommentsResource : TCommentsResource;virtual;overload;
- Function CreateFanFundingEventsResource(AOwner : TComponent) : TFanFundingEventsResource;virtual;overload;
- Function CreateFanFundingEventsResource : TFanFundingEventsResource;virtual;overload;
- Function CreateGuideCategoriesResource(AOwner : TComponent) : TGuideCategoriesResource;virtual;overload;
- Function CreateGuideCategoriesResource : TGuideCategoriesResource;virtual;overload;
- Function CreateI18nLanguagesResource(AOwner : TComponent) : TI18nLanguagesResource;virtual;overload;
- Function CreateI18nLanguagesResource : TI18nLanguagesResource;virtual;overload;
- Function CreateI18nRegionsResource(AOwner : TComponent) : TI18nRegionsResource;virtual;overload;
- Function CreateI18nRegionsResource : TI18nRegionsResource;virtual;overload;
- Function CreateLiveBroadcastsResource(AOwner : TComponent) : TLiveBroadcastsResource;virtual;overload;
- Function CreateLiveBroadcastsResource : TLiveBroadcastsResource;virtual;overload;
- Function CreateLiveChatBansResource(AOwner : TComponent) : TLiveChatBansResource;virtual;overload;
- Function CreateLiveChatBansResource : TLiveChatBansResource;virtual;overload;
- Function CreateLiveChatMessagesResource(AOwner : TComponent) : TLiveChatMessagesResource;virtual;overload;
- Function CreateLiveChatMessagesResource : TLiveChatMessagesResource;virtual;overload;
- Function CreateLiveChatModeratorsResource(AOwner : TComponent) : TLiveChatModeratorsResource;virtual;overload;
- Function CreateLiveChatModeratorsResource : TLiveChatModeratorsResource;virtual;overload;
- Function CreateLiveStreamsResource(AOwner : TComponent) : TLiveStreamsResource;virtual;overload;
- Function CreateLiveStreamsResource : TLiveStreamsResource;virtual;overload;
- Function CreatePlaylistItemsResource(AOwner : TComponent) : TPlaylistItemsResource;virtual;overload;
- Function CreatePlaylistItemsResource : TPlaylistItemsResource;virtual;overload;
- Function CreatePlaylistsResource(AOwner : TComponent) : TPlaylistsResource;virtual;overload;
- Function CreatePlaylistsResource : TPlaylistsResource;virtual;overload;
- Function CreateSearchResource(AOwner : TComponent) : TSearchResource;virtual;overload;
- Function CreateSearchResource : TSearchResource;virtual;overload;
- Function CreateSponsorsResource(AOwner : TComponent) : TSponsorsResource;virtual;overload;
- Function CreateSponsorsResource : TSponsorsResource;virtual;overload;
- Function CreateSubscriptionsResource(AOwner : TComponent) : TSubscriptionsResource;virtual;overload;
- Function CreateSubscriptionsResource : TSubscriptionsResource;virtual;overload;
- Function CreateThumbnailsResource(AOwner : TComponent) : TThumbnailsResource;virtual;overload;
- Function CreateThumbnailsResource : TThumbnailsResource;virtual;overload;
- Function CreateVideoAbuseReportReasonsResource(AOwner : TComponent) : TVideoAbuseReportReasonsResource;virtual;overload;
- Function CreateVideoAbuseReportReasonsResource : TVideoAbuseReportReasonsResource;virtual;overload;
- Function CreateVideoCategoriesResource(AOwner : TComponent) : TVideoCategoriesResource;virtual;overload;
- Function CreateVideoCategoriesResource : TVideoCategoriesResource;virtual;overload;
- Function CreateVideosResource(AOwner : TComponent) : TVideosResource;virtual;overload;
- Function CreateVideosResource : TVideosResource;virtual;overload;
- Function CreateWatermarksResource(AOwner : TComponent) : TWatermarksResource;virtual;overload;
- Function CreateWatermarksResource : TWatermarksResource;virtual;overload;
- //Add default on-demand instances for resources
- Property ActivitiesResource : TActivitiesResource Read GetActivitiesInstance;
- Property CaptionsResource : TCaptionsResource Read GetCaptionsInstance;
- Property ChannelBannersResource : TChannelBannersResource Read GetChannelBannersInstance;
- Property ChannelSectionsResource : TChannelSectionsResource Read GetChannelSectionsInstance;
- Property ChannelsResource : TChannelsResource Read GetChannelsInstance;
- Property CommentThreadsResource : TCommentThreadsResource Read GetCommentThreadsInstance;
- Property CommentsResource : TCommentsResource Read GetCommentsInstance;
- Property FanFundingEventsResource : TFanFundingEventsResource Read GetFanFundingEventsInstance;
- Property GuideCategoriesResource : TGuideCategoriesResource Read GetGuideCategoriesInstance;
- Property I18nLanguagesResource : TI18nLanguagesResource Read GetI18nLanguagesInstance;
- Property I18nRegionsResource : TI18nRegionsResource Read GetI18nRegionsInstance;
- Property LiveBroadcastsResource : TLiveBroadcastsResource Read GetLiveBroadcastsInstance;
- Property LiveChatBansResource : TLiveChatBansResource Read GetLiveChatBansInstance;
- Property LiveChatMessagesResource : TLiveChatMessagesResource Read GetLiveChatMessagesInstance;
- Property LiveChatModeratorsResource : TLiveChatModeratorsResource Read GetLiveChatModeratorsInstance;
- Property LiveStreamsResource : TLiveStreamsResource Read GetLiveStreamsInstance;
- Property PlaylistItemsResource : TPlaylistItemsResource Read GetPlaylistItemsInstance;
- Property PlaylistsResource : TPlaylistsResource Read GetPlaylistsInstance;
- Property SearchResource : TSearchResource Read GetSearchInstance;
- Property SponsorsResource : TSponsorsResource Read GetSponsorsInstance;
- Property SubscriptionsResource : TSubscriptionsResource Read GetSubscriptionsInstance;
- Property ThumbnailsResource : TThumbnailsResource Read GetThumbnailsInstance;
- Property VideoAbuseReportReasonsResource : TVideoAbuseReportReasonsResource Read GetVideoAbuseReportReasonsInstance;
- Property VideoCategoriesResource : TVideoCategoriesResource Read GetVideoCategoriesInstance;
- Property VideosResource : TVideosResource Read GetVideosInstance;
- Property WatermarksResource : TWatermarksResource Read GetWatermarksInstance;
- end;
- implementation
- { --------------------------------------------------------------------
- TAccessPolicy
- --------------------------------------------------------------------}
- Procedure TAccessPolicy.Setallowed(AIndex : Integer; const AValue : boolean);
- begin
- If (Fallowed=AValue) then exit;
- Fallowed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAccessPolicy.Setexception(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fexception=AValue) then exit;
- Fexception:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TAccessPolicy.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'exception' : SetLength(Fexception,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TActivity
- --------------------------------------------------------------------}
- Procedure TActivity.SetcontentDetails(AIndex : Integer; const AValue : TActivityContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivity.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivity.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivity.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivity.Setsnippet(AIndex : Integer; const AValue : TActivitySnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetails
- --------------------------------------------------------------------}
- Procedure TActivityContentDetails.Setbulletin(AIndex : Integer; const AValue : TActivityContentDetailsBulletin);
- begin
- If (Fbulletin=AValue) then exit;
- Fbulletin:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.SetchannelItem(AIndex : Integer; const AValue : TActivityContentDetailsChannelItem);
- begin
- If (FchannelItem=AValue) then exit;
- FchannelItem:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setcomment(AIndex : Integer; const AValue : TActivityContentDetailsComment);
- begin
- If (Fcomment=AValue) then exit;
- Fcomment:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setfavorite(AIndex : Integer; const AValue : TActivityContentDetailsFavorite);
- begin
- If (Ffavorite=AValue) then exit;
- Ffavorite:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setlike(AIndex : Integer; const AValue : TActivityContentDetailsLike);
- begin
- If (Flike=AValue) then exit;
- Flike:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.SetplaylistItem(AIndex : Integer; const AValue : TActivityContentDetailsPlaylistItem);
- begin
- If (FplaylistItem=AValue) then exit;
- FplaylistItem:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.SetpromotedItem(AIndex : Integer; const AValue : TActivityContentDetailsPromotedItem);
- begin
- If (FpromotedItem=AValue) then exit;
- FpromotedItem:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setrecommendation(AIndex : Integer; const AValue : TActivityContentDetailsRecommendation);
- begin
- If (Frecommendation=AValue) then exit;
- Frecommendation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setsocial(AIndex : Integer; const AValue : TActivityContentDetailsSocial);
- begin
- If (Fsocial=AValue) then exit;
- Fsocial:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setsubscription(AIndex : Integer; const AValue : TActivityContentDetailsSubscription);
- begin
- If (Fsubscription=AValue) then exit;
- Fsubscription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetails.Setupload(AIndex : Integer; const AValue : TActivityContentDetailsUpload);
- begin
- If (Fupload=AValue) then exit;
- Fupload:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsBulletin
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsBulletin.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsChannelItem
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsChannelItem.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsComment
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsComment.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsFavorite
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsFavorite.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsLike
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsLike.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsPlaylistItem
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsPlaylistItem.SetplaylistId(AIndex : Integer; const AValue : String);
- begin
- If (FplaylistId=AValue) then exit;
- FplaylistId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPlaylistItem.SetplaylistItemId(AIndex : Integer; const AValue : String);
- begin
- If (FplaylistItemId=AValue) then exit;
- FplaylistItemId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPlaylistItem.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsPromotedItem
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsPromotedItem.SetadTag(AIndex : Integer; const AValue : String);
- begin
- If (FadTag=AValue) then exit;
- FadTag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetclickTrackingUrl(AIndex : Integer; const AValue : String);
- begin
- If (FclickTrackingUrl=AValue) then exit;
- FclickTrackingUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetcreativeViewUrl(AIndex : Integer; const AValue : String);
- begin
- If (FcreativeViewUrl=AValue) then exit;
- FcreativeViewUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetctaType(AIndex : Integer; const AValue : String);
- begin
- If (FctaType=AValue) then exit;
- FctaType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetcustomCtaButtonText(AIndex : Integer; const AValue : String);
- begin
- If (FcustomCtaButtonText=AValue) then exit;
- FcustomCtaButtonText:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetdescriptionText(AIndex : Integer; const AValue : String);
- begin
- If (FdescriptionText=AValue) then exit;
- FdescriptionText:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetdestinationUrl(AIndex : Integer; const AValue : String);
- begin
- If (FdestinationUrl=AValue) then exit;
- FdestinationUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetforecastingUrl(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FforecastingUrl=AValue) then exit;
- FforecastingUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetimpressionUrl(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FimpressionUrl=AValue) then exit;
- FimpressionUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsPromotedItem.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TActivityContentDetailsPromotedItem.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'forecastingurl' : SetLength(FforecastingUrl,ALength);
- 'impressionurl' : SetLength(FimpressionUrl,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TActivityContentDetailsRecommendation
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsRecommendation.Setreason(AIndex : Integer; const AValue : String);
- begin
- If (Freason=AValue) then exit;
- Freason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsRecommendation.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsRecommendation.SetseedResourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FseedResourceId=AValue) then exit;
- FseedResourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsSocial
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsSocial.Setauthor(AIndex : Integer; const AValue : String);
- begin
- If (Fauthor=AValue) then exit;
- Fauthor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsSocial.SetimageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FimageUrl=AValue) then exit;
- FimageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsSocial.SetreferenceUrl(AIndex : Integer; const AValue : String);
- begin
- If (FreferenceUrl=AValue) then exit;
- FreferenceUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsSocial.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityContentDetailsSocial.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TActivityContentDetailsSocial.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsSubscription
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsSubscription.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityContentDetailsUpload
- --------------------------------------------------------------------}
- Procedure TActivityContentDetailsUpload.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivityListResponse
- --------------------------------------------------------------------}
- Procedure TActivityListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.Setitems(AIndex : Integer; const AValue : TActivityListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivityListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TActivityListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TActivitySnippet
- --------------------------------------------------------------------}
- Procedure TActivitySnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.SetchannelTitle(AIndex : Integer; const AValue : String);
- begin
- If (FchannelTitle=AValue) then exit;
- FchannelTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.SetgroupId(AIndex : Integer; const AValue : String);
- begin
- If (FgroupId=AValue) then exit;
- FgroupId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TActivitySnippet.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TActivitySnippet.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TCaption
- --------------------------------------------------------------------}
- Procedure TCaption.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaption.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaption.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaption.Setsnippet(AIndex : Integer; const AValue : TCaptionSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TCaptionListResponse
- --------------------------------------------------------------------}
- Procedure TCaptionListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionListResponse.Setitems(AIndex : Integer; const AValue : TCaptionListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCaptionListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCaptionSnippet
- --------------------------------------------------------------------}
- Procedure TCaptionSnippet.SetaudioTrackType(AIndex : Integer; const AValue : String);
- begin
- If (FaudioTrackType=AValue) then exit;
- FaudioTrackType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetfailureReason(AIndex : Integer; const AValue : String);
- begin
- If (FfailureReason=AValue) then exit;
- FfailureReason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetisAutoSynced(AIndex : Integer; const AValue : boolean);
- begin
- If (FisAutoSynced=AValue) then exit;
- FisAutoSynced:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetisCC(AIndex : Integer; const AValue : boolean);
- begin
- If (FisCC=AValue) then exit;
- FisCC:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetisDraft(AIndex : Integer; const AValue : boolean);
- begin
- If (FisDraft=AValue) then exit;
- FisDraft:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetisEasyReader(AIndex : Integer; const AValue : boolean);
- begin
- If (FisEasyReader=AValue) then exit;
- FisEasyReader:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetisLarge(AIndex : Integer; const AValue : boolean);
- begin
- If (FisLarge=AValue) then exit;
- FisLarge:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.Setlanguage(AIndex : Integer; const AValue : String);
- begin
- If (Flanguage=AValue) then exit;
- Flanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetlastUpdated(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FlastUpdated=AValue) then exit;
- FlastUpdated:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.Setstatus(AIndex : Integer; const AValue : String);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SettrackKind(AIndex : Integer; const AValue : String);
- begin
- If (FtrackKind=AValue) then exit;
- FtrackKind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCaptionSnippet.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TCdnSettings
- --------------------------------------------------------------------}
- Procedure TCdnSettings.Setformat(AIndex : Integer; const AValue : String);
- begin
- If (Fformat=AValue) then exit;
- Fformat:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCdnSettings.SetframeRate(AIndex : Integer; const AValue : String);
- begin
- If (FframeRate=AValue) then exit;
- FframeRate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCdnSettings.SetingestionInfo(AIndex : Integer; const AValue : TIngestionInfo);
- begin
- If (FingestionInfo=AValue) then exit;
- FingestionInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCdnSettings.SetingestionType(AIndex : Integer; const AValue : String);
- begin
- If (FingestionType=AValue) then exit;
- FingestionType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCdnSettings.Setresolution(AIndex : Integer; const AValue : String);
- begin
- If (Fresolution=AValue) then exit;
- Fresolution:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelTypelocalizations
- --------------------------------------------------------------------}
- Class Function TChannelTypelocalizations.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TChannel
- --------------------------------------------------------------------}
- Procedure TChannel.SetauditDetails(AIndex : Integer; const AValue : TChannelAuditDetails);
- begin
- If (FauditDetails=AValue) then exit;
- FauditDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.SetbrandingSettings(AIndex : Integer; const AValue : TChannelBrandingSettings);
- begin
- If (FbrandingSettings=AValue) then exit;
- FbrandingSettings:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.SetcontentDetails(AIndex : Integer; const AValue : TChannelContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.SetcontentOwnerDetails(AIndex : Integer; const AValue : TChannelContentOwnerDetails);
- begin
- If (FcontentOwnerDetails=AValue) then exit;
- FcontentOwnerDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.SetconversionPings(AIndex : Integer; const AValue : TChannelConversionPings);
- begin
- If (FconversionPings=AValue) then exit;
- FconversionPings:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.SetinvideoPromotion(AIndex : Integer; const AValue : TInvideoPromotion);
- begin
- If (FinvideoPromotion=AValue) then exit;
- FinvideoPromotion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setlocalizations(AIndex : Integer; const AValue : TChannelTypelocalizations);
- begin
- If (Flocalizations=AValue) then exit;
- Flocalizations:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setsnippet(AIndex : Integer; const AValue : TChannelSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setstatistics(AIndex : Integer; const AValue : TChannelStatistics);
- begin
- If (Fstatistics=AValue) then exit;
- Fstatistics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.Setstatus(AIndex : Integer; const AValue : TChannelStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannel.SettopicDetails(AIndex : Integer; const AValue : TChannelTopicDetails);
- begin
- If (FtopicDetails=AValue) then exit;
- FtopicDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelAuditDetails
- --------------------------------------------------------------------}
- Procedure TChannelAuditDetails.SetcommunityGuidelinesGoodStanding(AIndex : Integer; const AValue : boolean);
- begin
- If (FcommunityGuidelinesGoodStanding=AValue) then exit;
- FcommunityGuidelinesGoodStanding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelAuditDetails.SetcontentIdClaimsGoodStanding(AIndex : Integer; const AValue : boolean);
- begin
- If (FcontentIdClaimsGoodStanding=AValue) then exit;
- FcontentIdClaimsGoodStanding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelAuditDetails.SetcopyrightStrikesGoodStanding(AIndex : Integer; const AValue : boolean);
- begin
- If (FcopyrightStrikesGoodStanding=AValue) then exit;
- FcopyrightStrikesGoodStanding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelAuditDetails.SetoverallGoodStanding(AIndex : Integer; const AValue : boolean);
- begin
- If (FoverallGoodStanding=AValue) then exit;
- FoverallGoodStanding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelBannerResource
- --------------------------------------------------------------------}
- Procedure TChannelBannerResource.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelBannerResource.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelBannerResource.Seturl(AIndex : Integer; const AValue : String);
- begin
- If (Furl=AValue) then exit;
- Furl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelBrandingSettings
- --------------------------------------------------------------------}
- Procedure TChannelBrandingSettings.Setchannel(AIndex : Integer; const AValue : TChannelSettings);
- begin
- If (Fchannel=AValue) then exit;
- Fchannel:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelBrandingSettings.Sethints(AIndex : Integer; const AValue : TChannelBrandingSettingsTypehintsArray);
- begin
- If (Fhints=AValue) then exit;
- Fhints:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelBrandingSettings.Setimage(AIndex : Integer; const AValue : TImageSettings);
- begin
- If (Fimage=AValue) then exit;
- Fimage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelBrandingSettings.Setwatch(AIndex : Integer; const AValue : TWatchSettings);
- begin
- If (Fwatch=AValue) then exit;
- Fwatch:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelBrandingSettings.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'hints' : SetLength(Fhints,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelContentDetailsTyperelatedPlaylists
- --------------------------------------------------------------------}
- Procedure TChannelContentDetailsTyperelatedPlaylists.Setfavorites(AIndex : Integer; const AValue : String);
- begin
- If (Ffavorites=AValue) then exit;
- Ffavorites:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelContentDetailsTyperelatedPlaylists.Setlikes(AIndex : Integer; const AValue : String);
- begin
- If (Flikes=AValue) then exit;
- Flikes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelContentDetailsTyperelatedPlaylists.Setuploads(AIndex : Integer; const AValue : String);
- begin
- If (Fuploads=AValue) then exit;
- Fuploads:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelContentDetailsTyperelatedPlaylists.SetwatchHistory(AIndex : Integer; const AValue : String);
- begin
- If (FwatchHistory=AValue) then exit;
- FwatchHistory:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelContentDetailsTyperelatedPlaylists.SetwatchLater(AIndex : Integer; const AValue : String);
- begin
- If (FwatchLater=AValue) then exit;
- FwatchLater:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelContentDetails
- --------------------------------------------------------------------}
- Procedure TChannelContentDetails.SetgooglePlusUserId(AIndex : Integer; const AValue : String);
- begin
- If (FgooglePlusUserId=AValue) then exit;
- FgooglePlusUserId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelContentDetails.SetrelatedPlaylists(AIndex : Integer; const AValue : TChannelContentDetailsTyperelatedPlaylists);
- begin
- If (FrelatedPlaylists=AValue) then exit;
- FrelatedPlaylists:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelContentOwnerDetails
- --------------------------------------------------------------------}
- Procedure TChannelContentOwnerDetails.SetcontentOwner(AIndex : Integer; const AValue : String);
- begin
- If (FcontentOwner=AValue) then exit;
- FcontentOwner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelContentOwnerDetails.SettimeLinked(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FtimeLinked=AValue) then exit;
- FtimeLinked:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelConversionPing
- --------------------------------------------------------------------}
- Procedure TChannelConversionPing.Setcontext(AIndex : Integer; const AValue : String);
- begin
- If (Fcontext=AValue) then exit;
- Fcontext:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelConversionPing.SetconversionUrl(AIndex : Integer; const AValue : String);
- begin
- If (FconversionUrl=AValue) then exit;
- FconversionUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelConversionPings
- --------------------------------------------------------------------}
- Procedure TChannelConversionPings.Setpings(AIndex : Integer; const AValue : TChannelConversionPingsTypepingsArray);
- begin
- If (Fpings=AValue) then exit;
- Fpings:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelConversionPings.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'pings' : SetLength(Fpings,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelListResponse
- --------------------------------------------------------------------}
- Procedure TChannelListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.Setitems(AIndex : Integer; const AValue : TChannelListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelLocalization
- --------------------------------------------------------------------}
- Procedure TChannelLocalization.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelLocalization.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelProfileDetails
- --------------------------------------------------------------------}
- Procedure TChannelProfileDetails.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelProfileDetails.SetchannelUrl(AIndex : Integer; const AValue : String);
- begin
- If (FchannelUrl=AValue) then exit;
- FchannelUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelProfileDetails.SetdisplayName(AIndex : Integer; const AValue : String);
- begin
- If (FdisplayName=AValue) then exit;
- FdisplayName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelProfileDetails.SetprofileImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FprofileImageUrl=AValue) then exit;
- FprofileImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelSectionTypelocalizations
- --------------------------------------------------------------------}
- Class Function TChannelSectionTypelocalizations.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TChannelSection
- --------------------------------------------------------------------}
- Procedure TChannelSection.SetcontentDetails(AIndex : Integer; const AValue : TChannelSectionContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSection.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSection.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSection.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSection.Setlocalizations(AIndex : Integer; const AValue : TChannelSectionTypelocalizations);
- begin
- If (Flocalizations=AValue) then exit;
- Flocalizations:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSection.Setsnippet(AIndex : Integer; const AValue : TChannelSectionSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSection.Settargeting(AIndex : Integer; const AValue : TChannelSectionTargeting);
- begin
- If (Ftargeting=AValue) then exit;
- Ftargeting:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelSectionContentDetails
- --------------------------------------------------------------------}
- Procedure TChannelSectionContentDetails.Setchannels(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fchannels=AValue) then exit;
- Fchannels:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionContentDetails.Setplaylists(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fplaylists=AValue) then exit;
- Fplaylists:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelSectionContentDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'channels' : SetLength(Fchannels,ALength);
- 'playlists' : SetLength(Fplaylists,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelSectionListResponse
- --------------------------------------------------------------------}
- Procedure TChannelSectionListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionListResponse.Setitems(AIndex : Integer; const AValue : TChannelSectionListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelSectionListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelSectionLocalization
- --------------------------------------------------------------------}
- Procedure TChannelSectionLocalization.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelSectionSnippet
- --------------------------------------------------------------------}
- Procedure TChannelSectionSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionSnippet.SetdefaultLanguage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultLanguage=AValue) then exit;
- FdefaultLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionSnippet.Setlocalized(AIndex : Integer; const AValue : TChannelSectionLocalization);
- begin
- If (Flocalized=AValue) then exit;
- Flocalized:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionSnippet.Setposition(AIndex : Integer; const AValue : integer);
- begin
- If (Fposition=AValue) then exit;
- Fposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionSnippet.Setstyle(AIndex : Integer; const AValue : String);
- begin
- If (Fstyle=AValue) then exit;
- Fstyle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionSnippet.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TChannelSectionSnippet.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TChannelSectionTargeting
- --------------------------------------------------------------------}
- Procedure TChannelSectionTargeting.Setcountries(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fcountries=AValue) then exit;
- Fcountries:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionTargeting.Setlanguages(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Flanguages=AValue) then exit;
- Flanguages:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSectionTargeting.Setregions(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fregions=AValue) then exit;
- Fregions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelSectionTargeting.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'countries' : SetLength(Fcountries,ALength);
- 'languages' : SetLength(Flanguages,ALength);
- 'regions' : SetLength(Fregions,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelSettings
- --------------------------------------------------------------------}
- Procedure TChannelSettings.Setcountry(AIndex : Integer; const AValue : String);
- begin
- If (Fcountry=AValue) then exit;
- Fcountry:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetdefaultLanguage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultLanguage=AValue) then exit;
- FdefaultLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetdefaultTab(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultTab=AValue) then exit;
- FdefaultTab:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetfeaturedChannelsTitle(AIndex : Integer; const AValue : String);
- begin
- If (FfeaturedChannelsTitle=AValue) then exit;
- FfeaturedChannelsTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetfeaturedChannelsUrls(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FfeaturedChannelsUrls=AValue) then exit;
- FfeaturedChannelsUrls:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.Setkeywords(AIndex : Integer; const AValue : String);
- begin
- If (Fkeywords=AValue) then exit;
- Fkeywords:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetmoderateComments(AIndex : Integer; const AValue : boolean);
- begin
- If (FmoderateComments=AValue) then exit;
- FmoderateComments:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetprofileColor(AIndex : Integer; const AValue : String);
- begin
- If (FprofileColor=AValue) then exit;
- FprofileColor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetshowBrowseView(AIndex : Integer; const AValue : boolean);
- begin
- If (FshowBrowseView=AValue) then exit;
- FshowBrowseView:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetshowRelatedChannels(AIndex : Integer; const AValue : boolean);
- begin
- If (FshowRelatedChannels=AValue) then exit;
- FshowRelatedChannels:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SettrackingAnalyticsAccountId(AIndex : Integer; const AValue : String);
- begin
- If (FtrackingAnalyticsAccountId=AValue) then exit;
- FtrackingAnalyticsAccountId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSettings.SetunsubscribedTrailer(AIndex : Integer; const AValue : String);
- begin
- If (FunsubscribedTrailer=AValue) then exit;
- FunsubscribedTrailer:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelSettings.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'featuredchannelsurls' : SetLength(FfeaturedChannelsUrls,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TChannelSnippet
- --------------------------------------------------------------------}
- Procedure TChannelSnippet.Setcountry(AIndex : Integer; const AValue : String);
- begin
- If (Fcountry=AValue) then exit;
- Fcountry:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.SetcustomUrl(AIndex : Integer; const AValue : String);
- begin
- If (FcustomUrl=AValue) then exit;
- FcustomUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.SetdefaultLanguage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultLanguage=AValue) then exit;
- FdefaultLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.Setlocalized(AIndex : Integer; const AValue : TChannelLocalization);
- begin
- If (Flocalized=AValue) then exit;
- Flocalized:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelStatistics
- --------------------------------------------------------------------}
- Procedure TChannelStatistics.SetcommentCount(AIndex : Integer; const AValue : String);
- begin
- If (FcommentCount=AValue) then exit;
- FcommentCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelStatistics.SethiddenSubscriberCount(AIndex : Integer; const AValue : boolean);
- begin
- If (FhiddenSubscriberCount=AValue) then exit;
- FhiddenSubscriberCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelStatistics.SetsubscriberCount(AIndex : Integer; const AValue : String);
- begin
- If (FsubscriberCount=AValue) then exit;
- FsubscriberCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelStatistics.SetvideoCount(AIndex : Integer; const AValue : String);
- begin
- If (FvideoCount=AValue) then exit;
- FvideoCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelStatistics.SetviewCount(AIndex : Integer; const AValue : String);
- begin
- If (FviewCount=AValue) then exit;
- FviewCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelStatus
- --------------------------------------------------------------------}
- Procedure TChannelStatus.SetisLinked(AIndex : Integer; const AValue : boolean);
- begin
- If (FisLinked=AValue) then exit;
- FisLinked:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelStatus.SetlongUploadsStatus(AIndex : Integer; const AValue : String);
- begin
- If (FlongUploadsStatus=AValue) then exit;
- FlongUploadsStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TChannelStatus.SetprivacyStatus(AIndex : Integer; const AValue : String);
- begin
- If (FprivacyStatus=AValue) then exit;
- FprivacyStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TChannelTopicDetails
- --------------------------------------------------------------------}
- Procedure TChannelTopicDetails.SettopicIds(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FtopicIds=AValue) then exit;
- FtopicIds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TChannelTopicDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'topicids' : SetLength(FtopicIds,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TComment
- --------------------------------------------------------------------}
- Procedure TComment.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TComment.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TComment.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TComment.Setsnippet(AIndex : Integer; const AValue : TCommentSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TCommentListResponse
- --------------------------------------------------------------------}
- Procedure TCommentListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.Setitems(AIndex : Integer; const AValue : TCommentListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCommentListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCommentSnippet
- --------------------------------------------------------------------}
- Procedure TCommentSnippet.SetauthorChannelId(AIndex : Integer; const AValue : TJSONSchema);
- begin
- If (FauthorChannelId=AValue) then exit;
- FauthorChannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetauthorChannelUrl(AIndex : Integer; const AValue : String);
- begin
- If (FauthorChannelUrl=AValue) then exit;
- FauthorChannelUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetauthorDisplayName(AIndex : Integer; const AValue : String);
- begin
- If (FauthorDisplayName=AValue) then exit;
- FauthorDisplayName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetauthorGoogleplusProfileUrl(AIndex : Integer; const AValue : String);
- begin
- If (FauthorGoogleplusProfileUrl=AValue) then exit;
- FauthorGoogleplusProfileUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetauthorProfileImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FauthorProfileImageUrl=AValue) then exit;
- FauthorProfileImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetcanRate(AIndex : Integer; const AValue : boolean);
- begin
- If (FcanRate=AValue) then exit;
- FcanRate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetlikeCount(AIndex : Integer; const AValue : integer);
- begin
- If (FlikeCount=AValue) then exit;
- FlikeCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetmoderationStatus(AIndex : Integer; const AValue : String);
- begin
- If (FmoderationStatus=AValue) then exit;
- FmoderationStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetparentId(AIndex : Integer; const AValue : String);
- begin
- If (FparentId=AValue) then exit;
- FparentId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SettextDisplay(AIndex : Integer; const AValue : String);
- begin
- If (FtextDisplay=AValue) then exit;
- FtextDisplay:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SettextOriginal(AIndex : Integer; const AValue : String);
- begin
- If (FtextOriginal=AValue) then exit;
- FtextOriginal:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetupdatedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FupdatedAt=AValue) then exit;
- FupdatedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentSnippet.SetviewerRating(AIndex : Integer; const AValue : String);
- begin
- If (FviewerRating=AValue) then exit;
- FviewerRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TCommentThread
- --------------------------------------------------------------------}
- Procedure TCommentThread.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThread.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThread.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThread.Setreplies(AIndex : Integer; const AValue : TCommentThreadReplies);
- begin
- If (Freplies=AValue) then exit;
- Freplies:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThread.Setsnippet(AIndex : Integer; const AValue : TCommentThreadSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TCommentThreadListResponse
- --------------------------------------------------------------------}
- Procedure TCommentThreadListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.Setitems(AIndex : Integer; const AValue : TCommentThreadListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCommentThreadListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCommentThreadReplies
- --------------------------------------------------------------------}
- Procedure TCommentThreadReplies.Setcomments(AIndex : Integer; const AValue : TCommentThreadRepliesTypecommentsArray);
- begin
- If (Fcomments=AValue) then exit;
- Fcomments:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TCommentThreadReplies.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'comments' : SetLength(Fcomments,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCommentThreadSnippet
- --------------------------------------------------------------------}
- Procedure TCommentThreadSnippet.SetcanReply(AIndex : Integer; const AValue : boolean);
- begin
- If (FcanReply=AValue) then exit;
- FcanReply:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadSnippet.SetisPublic(AIndex : Integer; const AValue : boolean);
- begin
- If (FisPublic=AValue) then exit;
- FisPublic:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadSnippet.SettopLevelComment(AIndex : Integer; const AValue : TComment);
- begin
- If (FtopLevelComment=AValue) then exit;
- FtopLevelComment:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadSnippet.SettotalReplyCount(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalReplyCount=AValue) then exit;
- FtotalReplyCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCommentThreadSnippet.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TContentRating
- --------------------------------------------------------------------}
- Procedure TContentRating.SetacbRating(AIndex : Integer; const AValue : String);
- begin
- If (FacbRating=AValue) then exit;
- FacbRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetagcomRating(AIndex : Integer; const AValue : String);
- begin
- If (FagcomRating=AValue) then exit;
- FagcomRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetanatelRating(AIndex : Integer; const AValue : String);
- begin
- If (FanatelRating=AValue) then exit;
- FanatelRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetbbfcRating(AIndex : Integer; const AValue : String);
- begin
- If (FbbfcRating=AValue) then exit;
- FbbfcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetbfvcRating(AIndex : Integer; const AValue : String);
- begin
- If (FbfvcRating=AValue) then exit;
- FbfvcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetbmukkRating(AIndex : Integer; const AValue : String);
- begin
- If (FbmukkRating=AValue) then exit;
- FbmukkRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcatvRating(AIndex : Integer; const AValue : String);
- begin
- If (FcatvRating=AValue) then exit;
- FcatvRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcatvfrRating(AIndex : Integer; const AValue : String);
- begin
- If (FcatvfrRating=AValue) then exit;
- FcatvfrRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcbfcRating(AIndex : Integer; const AValue : String);
- begin
- If (FcbfcRating=AValue) then exit;
- FcbfcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcccRating(AIndex : Integer; const AValue : String);
- begin
- If (FcccRating=AValue) then exit;
- FcccRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcceRating(AIndex : Integer; const AValue : String);
- begin
- If (FcceRating=AValue) then exit;
- FcceRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetchfilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FchfilmRating=AValue) then exit;
- FchfilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetchvrsRating(AIndex : Integer; const AValue : String);
- begin
- If (FchvrsRating=AValue) then exit;
- FchvrsRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcicfRating(AIndex : Integer; const AValue : String);
- begin
- If (FcicfRating=AValue) then exit;
- FcicfRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcnaRating(AIndex : Integer; const AValue : String);
- begin
- If (FcnaRating=AValue) then exit;
- FcnaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcncRating(AIndex : Integer; const AValue : String);
- begin
- If (FcncRating=AValue) then exit;
- FcncRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcsaRating(AIndex : Integer; const AValue : String);
- begin
- If (FcsaRating=AValue) then exit;
- FcsaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetcscfRating(AIndex : Integer; const AValue : String);
- begin
- If (FcscfRating=AValue) then exit;
- FcscfRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetczfilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FczfilmRating=AValue) then exit;
- FczfilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetdjctqRating(AIndex : Integer; const AValue : String);
- begin
- If (FdjctqRating=AValue) then exit;
- FdjctqRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetdjctqRatingReasons(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FdjctqRatingReasons=AValue) then exit;
- FdjctqRatingReasons:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetecbmctRating(AIndex : Integer; const AValue : String);
- begin
- If (FecbmctRating=AValue) then exit;
- FecbmctRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SeteefilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FeefilmRating=AValue) then exit;
- FeefilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetegfilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FegfilmRating=AValue) then exit;
- FegfilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SeteirinRating(AIndex : Integer; const AValue : String);
- begin
- If (FeirinRating=AValue) then exit;
- FeirinRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetfcbmRating(AIndex : Integer; const AValue : String);
- begin
- If (FfcbmRating=AValue) then exit;
- FfcbmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetfcoRating(AIndex : Integer; const AValue : String);
- begin
- If (FfcoRating=AValue) then exit;
- FfcoRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetfmocRating(AIndex : Integer; const AValue : String);
- begin
- If (FfmocRating=AValue) then exit;
- FfmocRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetfpbRating(AIndex : Integer; const AValue : String);
- begin
- If (FfpbRating=AValue) then exit;
- FfpbRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetfskRating(AIndex : Integer; const AValue : String);
- begin
- If (FfskRating=AValue) then exit;
- FfskRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetgrfilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FgrfilmRating=AValue) then exit;
- FgrfilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SeticaaRating(AIndex : Integer; const AValue : String);
- begin
- If (FicaaRating=AValue) then exit;
- FicaaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetifcoRating(AIndex : Integer; const AValue : String);
- begin
- If (FifcoRating=AValue) then exit;
- FifcoRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetilfilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FilfilmRating=AValue) then exit;
- FilfilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetincaaRating(AIndex : Integer; const AValue : String);
- begin
- If (FincaaRating=AValue) then exit;
- FincaaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetkfcbRating(AIndex : Integer; const AValue : String);
- begin
- If (FkfcbRating=AValue) then exit;
- FkfcbRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetkijkwijzerRating(AIndex : Integer; const AValue : String);
- begin
- If (FkijkwijzerRating=AValue) then exit;
- FkijkwijzerRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetkmrbRating(AIndex : Integer; const AValue : String);
- begin
- If (FkmrbRating=AValue) then exit;
- FkmrbRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetlsfRating(AIndex : Integer; const AValue : String);
- begin
- If (FlsfRating=AValue) then exit;
- FlsfRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmccaaRating(AIndex : Integer; const AValue : String);
- begin
- If (FmccaaRating=AValue) then exit;
- FmccaaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmccypRating(AIndex : Integer; const AValue : String);
- begin
- If (FmccypRating=AValue) then exit;
- FmccypRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmdaRating(AIndex : Integer; const AValue : String);
- begin
- If (FmdaRating=AValue) then exit;
- FmdaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmedietilsynetRating(AIndex : Integer; const AValue : String);
- begin
- If (FmedietilsynetRating=AValue) then exit;
- FmedietilsynetRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmekuRating(AIndex : Integer; const AValue : String);
- begin
- If (FmekuRating=AValue) then exit;
- FmekuRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmibacRating(AIndex : Integer; const AValue : String);
- begin
- If (FmibacRating=AValue) then exit;
- FmibacRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.Set_mocRating(AIndex : Integer; const AValue : String);
- begin
- If (F_mocRating=AValue) then exit;
- F_mocRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmoctwRating(AIndex : Integer; const AValue : String);
- begin
- If (FmoctwRating=AValue) then exit;
- FmoctwRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmpaaRating(AIndex : Integer; const AValue : String);
- begin
- If (FmpaaRating=AValue) then exit;
- FmpaaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetmtrcbRating(AIndex : Integer; const AValue : String);
- begin
- If (FmtrcbRating=AValue) then exit;
- FmtrcbRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetnbcRating(AIndex : Integer; const AValue : String);
- begin
- If (FnbcRating=AValue) then exit;
- FnbcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetnbcplRating(AIndex : Integer; const AValue : String);
- begin
- If (FnbcplRating=AValue) then exit;
- FnbcplRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetnfrcRating(AIndex : Integer; const AValue : String);
- begin
- If (FnfrcRating=AValue) then exit;
- FnfrcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetnfvcbRating(AIndex : Integer; const AValue : String);
- begin
- If (FnfvcbRating=AValue) then exit;
- FnfvcbRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetnkclvRating(AIndex : Integer; const AValue : String);
- begin
- If (FnkclvRating=AValue) then exit;
- FnkclvRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetoflcRating(AIndex : Integer; const AValue : String);
- begin
- If (FoflcRating=AValue) then exit;
- FoflcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetpefilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FpefilmRating=AValue) then exit;
- FpefilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetrcnofRating(AIndex : Integer; const AValue : String);
- begin
- If (FrcnofRating=AValue) then exit;
- FrcnofRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetresorteviolenciaRating(AIndex : Integer; const AValue : String);
- begin
- If (FresorteviolenciaRating=AValue) then exit;
- FresorteviolenciaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetrtcRating(AIndex : Integer; const AValue : String);
- begin
- If (FrtcRating=AValue) then exit;
- FrtcRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetrteRating(AIndex : Integer; const AValue : String);
- begin
- If (FrteRating=AValue) then exit;
- FrteRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetrussiaRating(AIndex : Integer; const AValue : String);
- begin
- If (FrussiaRating=AValue) then exit;
- FrussiaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetskfilmRating(AIndex : Integer; const AValue : String);
- begin
- If (FskfilmRating=AValue) then exit;
- FskfilmRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetsmaisRating(AIndex : Integer; const AValue : String);
- begin
- If (FsmaisRating=AValue) then exit;
- FsmaisRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetsmsaRating(AIndex : Integer; const AValue : String);
- begin
- If (FsmsaRating=AValue) then exit;
- FsmsaRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SettvpgRating(AIndex : Integer; const AValue : String);
- begin
- If (FtvpgRating=AValue) then exit;
- FtvpgRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TContentRating.SetytRating(AIndex : Integer; const AValue : String);
- begin
- If (FytRating=AValue) then exit;
- FytRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TContentRating.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_mocRating' : Result:='mocRating';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TContentRating.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'djctqratingreasons' : SetLength(FdjctqRatingReasons,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TFanFundingEvent
- --------------------------------------------------------------------}
- Procedure TFanFundingEvent.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEvent.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEvent.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEvent.Setsnippet(AIndex : Integer; const AValue : TFanFundingEventSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFanFundingEventListResponse
- --------------------------------------------------------------------}
- Procedure TFanFundingEventListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.Setitems(AIndex : Integer; const AValue : TFanFundingEventListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TFanFundingEventListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TFanFundingEventSnippet
- --------------------------------------------------------------------}
- Procedure TFanFundingEventSnippet.SetamountMicros(AIndex : Integer; const AValue : String);
- begin
- If (FamountMicros=AValue) then exit;
- FamountMicros:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventSnippet.SetcommentText(AIndex : Integer; const AValue : String);
- begin
- If (FcommentText=AValue) then exit;
- FcommentText:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventSnippet.SetcreatedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FcreatedAt=AValue) then exit;
- FcreatedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventSnippet.Setcurrency(AIndex : Integer; const AValue : String);
- begin
- If (Fcurrency=AValue) then exit;
- Fcurrency:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventSnippet.SetdisplayString(AIndex : Integer; const AValue : String);
- begin
- If (FdisplayString=AValue) then exit;
- FdisplayString:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFanFundingEventSnippet.SetsupporterDetails(AIndex : Integer; const AValue : TChannelProfileDetails);
- begin
- If (FsupporterDetails=AValue) then exit;
- FsupporterDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGeoPoint
- --------------------------------------------------------------------}
- Procedure TGeoPoint.Setaltitude(AIndex : Integer; const AValue : double);
- begin
- If (Faltitude=AValue) then exit;
- Faltitude:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoPoint.Setlatitude(AIndex : Integer; const AValue : double);
- begin
- If (Flatitude=AValue) then exit;
- Flatitude:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGeoPoint.Setlongitude(AIndex : Integer; const AValue : double);
- begin
- If (Flongitude=AValue) then exit;
- Flongitude:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGuideCategory
- --------------------------------------------------------------------}
- Procedure TGuideCategory.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategory.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategory.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategory.Setsnippet(AIndex : Integer; const AValue : TGuideCategorySnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TGuideCategoryListResponse
- --------------------------------------------------------------------}
- Procedure TGuideCategoryListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.Setitems(AIndex : Integer; const AValue : TGuideCategoryListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategoryListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGuideCategoryListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGuideCategorySnippet
- --------------------------------------------------------------------}
- Procedure TGuideCategorySnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGuideCategorySnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TI18nLanguage
- --------------------------------------------------------------------}
- Procedure TI18nLanguage.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguage.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguage.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguage.Setsnippet(AIndex : Integer; const AValue : TI18nLanguageSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TI18nLanguageListResponse
- --------------------------------------------------------------------}
- Procedure TI18nLanguageListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguageListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguageListResponse.Setitems(AIndex : Integer; const AValue : TI18nLanguageListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguageListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguageListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TI18nLanguageListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TI18nLanguageSnippet
- --------------------------------------------------------------------}
- Procedure TI18nLanguageSnippet.Sethl(AIndex : Integer; const AValue : String);
- begin
- If (Fhl=AValue) then exit;
- Fhl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nLanguageSnippet.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TI18nRegion
- --------------------------------------------------------------------}
- Procedure TI18nRegion.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegion.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegion.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegion.Setsnippet(AIndex : Integer; const AValue : TI18nRegionSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TI18nRegionListResponse
- --------------------------------------------------------------------}
- Procedure TI18nRegionListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegionListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegionListResponse.Setitems(AIndex : Integer; const AValue : TI18nRegionListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegionListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegionListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TI18nRegionListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TI18nRegionSnippet
- --------------------------------------------------------------------}
- Procedure TI18nRegionSnippet.Setgl(AIndex : Integer; const AValue : String);
- begin
- If (Fgl=AValue) then exit;
- Fgl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TI18nRegionSnippet.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TImageSettings
- --------------------------------------------------------------------}
- Procedure TImageSettings.SetbackgroundImageUrl(AIndex : Integer; const AValue : TLocalizedProperty);
- begin
- If (FbackgroundImageUrl=AValue) then exit;
- FbackgroundImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerExternalUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerExternalUrl=AValue) then exit;
- FbannerExternalUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerImageUrl=AValue) then exit;
- FbannerImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerMobileExtraHdImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerMobileExtraHdImageUrl=AValue) then exit;
- FbannerMobileExtraHdImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerMobileHdImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerMobileHdImageUrl=AValue) then exit;
- FbannerMobileHdImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerMobileImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerMobileImageUrl=AValue) then exit;
- FbannerMobileImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerMobileLowImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerMobileLowImageUrl=AValue) then exit;
- FbannerMobileLowImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerMobileMediumHdImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerMobileMediumHdImageUrl=AValue) then exit;
- FbannerMobileMediumHdImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTabletExtraHdImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTabletExtraHdImageUrl=AValue) then exit;
- FbannerTabletExtraHdImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTabletHdImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTabletHdImageUrl=AValue) then exit;
- FbannerTabletHdImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTabletImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTabletImageUrl=AValue) then exit;
- FbannerTabletImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTabletLowImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTabletLowImageUrl=AValue) then exit;
- FbannerTabletLowImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTvHighImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTvHighImageUrl=AValue) then exit;
- FbannerTvHighImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTvImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTvImageUrl=AValue) then exit;
- FbannerTvImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTvLowImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTvLowImageUrl=AValue) then exit;
- FbannerTvLowImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetbannerTvMediumImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FbannerTvMediumImageUrl=AValue) then exit;
- FbannerTvMediumImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetlargeBrandedBannerImageImapScript(AIndex : Integer; const AValue : TLocalizedProperty);
- begin
- If (FlargeBrandedBannerImageImapScript=AValue) then exit;
- FlargeBrandedBannerImageImapScript:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetlargeBrandedBannerImageUrl(AIndex : Integer; const AValue : TLocalizedProperty);
- begin
- If (FlargeBrandedBannerImageUrl=AValue) then exit;
- FlargeBrandedBannerImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetsmallBrandedBannerImageImapScript(AIndex : Integer; const AValue : TLocalizedProperty);
- begin
- If (FsmallBrandedBannerImageImapScript=AValue) then exit;
- FsmallBrandedBannerImageImapScript:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetsmallBrandedBannerImageUrl(AIndex : Integer; const AValue : TLocalizedProperty);
- begin
- If (FsmallBrandedBannerImageUrl=AValue) then exit;
- FsmallBrandedBannerImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SettrackingImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FtrackingImageUrl=AValue) then exit;
- FtrackingImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImageSettings.SetwatchIconImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FwatchIconImageUrl=AValue) then exit;
- FwatchIconImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TIngestionInfo
- --------------------------------------------------------------------}
- Procedure TIngestionInfo.SetbackupIngestionAddress(AIndex : Integer; const AValue : String);
- begin
- If (FbackupIngestionAddress=AValue) then exit;
- FbackupIngestionAddress:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TIngestionInfo.SetingestionAddress(AIndex : Integer; const AValue : String);
- begin
- If (FingestionAddress=AValue) then exit;
- FingestionAddress:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TIngestionInfo.SetstreamName(AIndex : Integer; const AValue : String);
- begin
- If (FstreamName=AValue) then exit;
- FstreamName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TInvideoBranding
- --------------------------------------------------------------------}
- Procedure TInvideoBranding.SetimageBytes(AIndex : Integer; const AValue : String);
- begin
- If (FimageBytes=AValue) then exit;
- FimageBytes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoBranding.SetimageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FimageUrl=AValue) then exit;
- FimageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoBranding.Setposition(AIndex : Integer; const AValue : TInvideoPosition);
- begin
- If (Fposition=AValue) then exit;
- Fposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoBranding.SettargetChannelId(AIndex : Integer; const AValue : String);
- begin
- If (FtargetChannelId=AValue) then exit;
- FtargetChannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoBranding.Settiming(AIndex : Integer; const AValue : TInvideoTiming);
- begin
- If (Ftiming=AValue) then exit;
- Ftiming:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TInvideoPosition
- --------------------------------------------------------------------}
- Procedure TInvideoPosition.SetcornerPosition(AIndex : Integer; const AValue : String);
- begin
- If (FcornerPosition=AValue) then exit;
- FcornerPosition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoPosition.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TInvideoPosition.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TInvideoPromotion
- --------------------------------------------------------------------}
- Procedure TInvideoPromotion.SetdefaultTiming(AIndex : Integer; const AValue : TInvideoTiming);
- begin
- If (FdefaultTiming=AValue) then exit;
- FdefaultTiming:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoPromotion.Setitems(AIndex : Integer; const AValue : TInvideoPromotionTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoPromotion.Setposition(AIndex : Integer; const AValue : TInvideoPosition);
- begin
- If (Fposition=AValue) then exit;
- Fposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoPromotion.SetuseSmartTiming(AIndex : Integer; const AValue : boolean);
- begin
- If (FuseSmartTiming=AValue) then exit;
- FuseSmartTiming:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TInvideoPromotion.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TInvideoTiming
- --------------------------------------------------------------------}
- Procedure TInvideoTiming.SetdurationMs(AIndex : Integer; const AValue : String);
- begin
- If (FdurationMs=AValue) then exit;
- FdurationMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoTiming.SetoffsetMs(AIndex : Integer; const AValue : String);
- begin
- If (FoffsetMs=AValue) then exit;
- FoffsetMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInvideoTiming.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TInvideoTiming.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TLanguageTag
- --------------------------------------------------------------------}
- Procedure TLanguageTag.Setvalue(AIndex : Integer; const AValue : String);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcast
- --------------------------------------------------------------------}
- Procedure TLiveBroadcast.SetcontentDetails(AIndex : Integer; const AValue : TLiveBroadcastContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.Setsnippet(AIndex : Integer; const AValue : TLiveBroadcastSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.Setstatistics(AIndex : Integer; const AValue : TLiveBroadcastStatistics);
- begin
- If (Fstatistics=AValue) then exit;
- Fstatistics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.Setstatus(AIndex : Integer; const AValue : TLiveBroadcastStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcast.SettopicDetails(AIndex : Integer; const AValue : TLiveBroadcastTopicDetails);
- begin
- If (FtopicDetails=AValue) then exit;
- FtopicDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastContentDetails
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastContentDetails.SetboundStreamId(AIndex : Integer; const AValue : String);
- begin
- If (FboundStreamId=AValue) then exit;
- FboundStreamId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetboundStreamLastUpdateTimeMs(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FboundStreamLastUpdateTimeMs=AValue) then exit;
- FboundStreamLastUpdateTimeMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetclosedCaptionsType(AIndex : Integer; const AValue : String);
- begin
- If (FclosedCaptionsType=AValue) then exit;
- FclosedCaptionsType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetenableClosedCaptions(AIndex : Integer; const AValue : boolean);
- begin
- If (FenableClosedCaptions=AValue) then exit;
- FenableClosedCaptions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetenableContentEncryption(AIndex : Integer; const AValue : boolean);
- begin
- If (FenableContentEncryption=AValue) then exit;
- FenableContentEncryption:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetenableDvr(AIndex : Integer; const AValue : boolean);
- begin
- If (FenableDvr=AValue) then exit;
- FenableDvr:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetenableEmbed(AIndex : Integer; const AValue : boolean);
- begin
- If (FenableEmbed=AValue) then exit;
- FenableEmbed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetenableLowLatency(AIndex : Integer; const AValue : boolean);
- begin
- If (FenableLowLatency=AValue) then exit;
- FenableLowLatency:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetmonitorStream(AIndex : Integer; const AValue : TMonitorStreamInfo);
- begin
- If (FmonitorStream=AValue) then exit;
- FmonitorStream:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.Setprojection(AIndex : Integer; const AValue : String);
- begin
- If (Fprojection=AValue) then exit;
- Fprojection:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetrecordFromStart(AIndex : Integer; const AValue : boolean);
- begin
- If (FrecordFromStart=AValue) then exit;
- FrecordFromStart:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastContentDetails.SetstartWithSlate(AIndex : Integer; const AValue : boolean);
- begin
- If (FstartWithSlate=AValue) then exit;
- FstartWithSlate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastListResponse
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.Setitems(AIndex : Integer; const AValue : TLiveBroadcastListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TLiveBroadcastListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLiveBroadcastSnippet
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastSnippet.SetactualEndTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FactualEndTime=AValue) then exit;
- FactualEndTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetactualStartTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FactualStartTime=AValue) then exit;
- FactualStartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetisDefaultBroadcast(AIndex : Integer; const AValue : boolean);
- begin
- If (FisDefaultBroadcast=AValue) then exit;
- FisDefaultBroadcast:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetliveChatId(AIndex : Integer; const AValue : String);
- begin
- If (FliveChatId=AValue) then exit;
- FliveChatId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetscheduledEndTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FscheduledEndTime=AValue) then exit;
- FscheduledEndTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.SetscheduledStartTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FscheduledStartTime=AValue) then exit;
- FscheduledStartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastStatistics
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastStatistics.SetconcurrentViewers(AIndex : Integer; const AValue : String);
- begin
- If (FconcurrentViewers=AValue) then exit;
- FconcurrentViewers:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastStatistics.SettotalChatCount(AIndex : Integer; const AValue : String);
- begin
- If (FtotalChatCount=AValue) then exit;
- FtotalChatCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastStatus
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastStatus.SetlifeCycleStatus(AIndex : Integer; const AValue : String);
- begin
- If (FlifeCycleStatus=AValue) then exit;
- FlifeCycleStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastStatus.SetliveBroadcastPriority(AIndex : Integer; const AValue : String);
- begin
- If (FliveBroadcastPriority=AValue) then exit;
- FliveBroadcastPriority:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastStatus.SetprivacyStatus(AIndex : Integer; const AValue : String);
- begin
- If (FprivacyStatus=AValue) then exit;
- FprivacyStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastStatus.SetrecordingStatus(AIndex : Integer; const AValue : String);
- begin
- If (FrecordingStatus=AValue) then exit;
- FrecordingStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastTopic
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastTopic.Setsnippet(AIndex : Integer; const AValue : TLiveBroadcastTopicSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastTopic.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastTopic.Setunmatched(AIndex : Integer; const AValue : boolean);
- begin
- If (Funmatched=AValue) then exit;
- Funmatched:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TLiveBroadcastTopic.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastTopicDetails
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastTopicDetails.Settopics(AIndex : Integer; const AValue : TLiveBroadcastTopicDetailsTypetopicsArray);
- begin
- If (Ftopics=AValue) then exit;
- Ftopics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TLiveBroadcastTopicDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'topics' : SetLength(Ftopics,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLiveBroadcastTopicSnippet
- --------------------------------------------------------------------}
- Procedure TLiveBroadcastTopicSnippet.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveBroadcastTopicSnippet.SetreleaseDate(AIndex : Integer; const AValue : String);
- begin
- If (FreleaseDate=AValue) then exit;
- FreleaseDate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatBan
- --------------------------------------------------------------------}
- Procedure TLiveChatBan.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatBan.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatBan.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatBan.Setsnippet(AIndex : Integer; const AValue : TLiveChatBanSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatBanSnippet
- --------------------------------------------------------------------}
- Procedure TLiveChatBanSnippet.SetbanDurationSeconds(AIndex : Integer; const AValue : String);
- begin
- If (FbanDurationSeconds=AValue) then exit;
- FbanDurationSeconds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatBanSnippet.SetbannedUserDetails(AIndex : Integer; const AValue : TChannelProfileDetails);
- begin
- If (FbannedUserDetails=AValue) then exit;
- FbannedUserDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatBanSnippet.SetliveChatId(AIndex : Integer; const AValue : String);
- begin
- If (FliveChatId=AValue) then exit;
- FliveChatId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatBanSnippet.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TLiveChatBanSnippet.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TLiveChatFanFundingEventDetails
- --------------------------------------------------------------------}
- Procedure TLiveChatFanFundingEventDetails.SetamountDisplayString(AIndex : Integer; const AValue : String);
- begin
- If (FamountDisplayString=AValue) then exit;
- FamountDisplayString:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatFanFundingEventDetails.SetamountMicros(AIndex : Integer; const AValue : String);
- begin
- If (FamountMicros=AValue) then exit;
- FamountMicros:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatFanFundingEventDetails.Setcurrency(AIndex : Integer; const AValue : String);
- begin
- If (Fcurrency=AValue) then exit;
- Fcurrency:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatFanFundingEventDetails.SetuserComment(AIndex : Integer; const AValue : String);
- begin
- If (FuserComment=AValue) then exit;
- FuserComment:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatMessage
- --------------------------------------------------------------------}
- Procedure TLiveChatMessage.SetauthorDetails(AIndex : Integer; const AValue : TLiveChatMessageAuthorDetails);
- begin
- If (FauthorDetails=AValue) then exit;
- FauthorDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessage.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessage.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessage.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessage.Setsnippet(AIndex : Integer; const AValue : TLiveChatMessageSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatMessageAuthorDetails
- --------------------------------------------------------------------}
- Procedure TLiveChatMessageAuthorDetails.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetchannelUrl(AIndex : Integer; const AValue : String);
- begin
- If (FchannelUrl=AValue) then exit;
- FchannelUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetdisplayName(AIndex : Integer; const AValue : String);
- begin
- If (FdisplayName=AValue) then exit;
- FdisplayName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetisChatModerator(AIndex : Integer; const AValue : boolean);
- begin
- If (FisChatModerator=AValue) then exit;
- FisChatModerator:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetisChatOwner(AIndex : Integer; const AValue : boolean);
- begin
- If (FisChatOwner=AValue) then exit;
- FisChatOwner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetisChatSponsor(AIndex : Integer; const AValue : boolean);
- begin
- If (FisChatSponsor=AValue) then exit;
- FisChatSponsor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetisVerified(AIndex : Integer; const AValue : boolean);
- begin
- If (FisVerified=AValue) then exit;
- FisVerified:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageAuthorDetails.SetprofileImageUrl(AIndex : Integer; const AValue : String);
- begin
- If (FprofileImageUrl=AValue) then exit;
- FprofileImageUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatMessageDeletedDetails
- --------------------------------------------------------------------}
- Procedure TLiveChatMessageDeletedDetails.SetdeletedMessageId(AIndex : Integer; const AValue : String);
- begin
- If (FdeletedMessageId=AValue) then exit;
- FdeletedMessageId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatMessageListResponse
- --------------------------------------------------------------------}
- Procedure TLiveChatMessageListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.Setitems(AIndex : Integer; const AValue : TLiveChatMessageListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SetofflineAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FofflineAt=AValue) then exit;
- FofflineAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SetpollingIntervalMillis(AIndex : Integer; const AValue : integer);
- begin
- If (FpollingIntervalMillis=AValue) then exit;
- FpollingIntervalMillis:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TLiveChatMessageListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLiveChatMessageRetractedDetails
- --------------------------------------------------------------------}
- Procedure TLiveChatMessageRetractedDetails.SetretractedMessageId(AIndex : Integer; const AValue : String);
- begin
- If (FretractedMessageId=AValue) then exit;
- FretractedMessageId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatMessageSnippet
- --------------------------------------------------------------------}
- Procedure TLiveChatMessageSnippet.SetauthorChannelId(AIndex : Integer; const AValue : String);
- begin
- If (FauthorChannelId=AValue) then exit;
- FauthorChannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetdisplayMessage(AIndex : Integer; const AValue : String);
- begin
- If (FdisplayMessage=AValue) then exit;
- FdisplayMessage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetfanFundingEventDetails(AIndex : Integer; const AValue : TLiveChatFanFundingEventDetails);
- begin
- If (FfanFundingEventDetails=AValue) then exit;
- FfanFundingEventDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SethasDisplayContent(AIndex : Integer; const AValue : boolean);
- begin
- If (FhasDisplayContent=AValue) then exit;
- FhasDisplayContent:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetliveChatId(AIndex : Integer; const AValue : String);
- begin
- If (FliveChatId=AValue) then exit;
- FliveChatId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetmessageDeletedDetails(AIndex : Integer; const AValue : TLiveChatMessageDeletedDetails);
- begin
- If (FmessageDeletedDetails=AValue) then exit;
- FmessageDeletedDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetmessageRetractedDetails(AIndex : Integer; const AValue : TLiveChatMessageRetractedDetails);
- begin
- If (FmessageRetractedDetails=AValue) then exit;
- FmessageRetractedDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SettextMessageDetails(AIndex : Integer; const AValue : TLiveChatTextMessageDetails);
- begin
- If (FtextMessageDetails=AValue) then exit;
- FtextMessageDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatMessageSnippet.SetuserBannedDetails(AIndex : Integer; const AValue : TLiveChatUserBannedMessageDetails);
- begin
- If (FuserBannedDetails=AValue) then exit;
- FuserBannedDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TLiveChatMessageSnippet.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TLiveChatModerator
- --------------------------------------------------------------------}
- Procedure TLiveChatModerator.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModerator.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModerator.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModerator.Setsnippet(AIndex : Integer; const AValue : TLiveChatModeratorSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatModeratorListResponse
- --------------------------------------------------------------------}
- Procedure TLiveChatModeratorListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.Setitems(AIndex : Integer; const AValue : TLiveChatModeratorListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TLiveChatModeratorListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLiveChatModeratorSnippet
- --------------------------------------------------------------------}
- Procedure TLiveChatModeratorSnippet.SetliveChatId(AIndex : Integer; const AValue : String);
- begin
- If (FliveChatId=AValue) then exit;
- FliveChatId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatModeratorSnippet.SetmoderatorDetails(AIndex : Integer; const AValue : TChannelProfileDetails);
- begin
- If (FmoderatorDetails=AValue) then exit;
- FmoderatorDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatTextMessageDetails
- --------------------------------------------------------------------}
- Procedure TLiveChatTextMessageDetails.SetmessageText(AIndex : Integer; const AValue : String);
- begin
- If (FmessageText=AValue) then exit;
- FmessageText:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveChatUserBannedMessageDetails
- --------------------------------------------------------------------}
- Procedure TLiveChatUserBannedMessageDetails.SetbanDurationSeconds(AIndex : Integer; const AValue : String);
- begin
- If (FbanDurationSeconds=AValue) then exit;
- FbanDurationSeconds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatUserBannedMessageDetails.SetbanType(AIndex : Integer; const AValue : String);
- begin
- If (FbanType=AValue) then exit;
- FbanType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveChatUserBannedMessageDetails.SetbannedUserDetails(AIndex : Integer; const AValue : TChannelProfileDetails);
- begin
- If (FbannedUserDetails=AValue) then exit;
- FbannedUserDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveStream
- --------------------------------------------------------------------}
- Procedure TLiveStream.Setcdn(AIndex : Integer; const AValue : TCdnSettings);
- begin
- If (Fcdn=AValue) then exit;
- Fcdn:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStream.SetcontentDetails(AIndex : Integer; const AValue : TLiveStreamContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStream.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStream.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStream.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStream.Setsnippet(AIndex : Integer; const AValue : TLiveStreamSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStream.Setstatus(AIndex : Integer; const AValue : TLiveStreamStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveStreamConfigurationIssue
- --------------------------------------------------------------------}
- Procedure TLiveStreamConfigurationIssue.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamConfigurationIssue.Setreason(AIndex : Integer; const AValue : String);
- begin
- If (Freason=AValue) then exit;
- Freason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamConfigurationIssue.Setseverity(AIndex : Integer; const AValue : String);
- begin
- If (Fseverity=AValue) then exit;
- Fseverity:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamConfigurationIssue.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TLiveStreamConfigurationIssue.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TLiveStreamContentDetails
- --------------------------------------------------------------------}
- Procedure TLiveStreamContentDetails.SetclosedCaptionsIngestionUrl(AIndex : Integer; const AValue : String);
- begin
- If (FclosedCaptionsIngestionUrl=AValue) then exit;
- FclosedCaptionsIngestionUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamContentDetails.SetisReusable(AIndex : Integer; const AValue : boolean);
- begin
- If (FisReusable=AValue) then exit;
- FisReusable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveStreamHealthStatus
- --------------------------------------------------------------------}
- Procedure TLiveStreamHealthStatus.SetconfigurationIssues(AIndex : Integer; const AValue : TLiveStreamHealthStatusTypeconfigurationIssuesArray);
- begin
- If (FconfigurationIssues=AValue) then exit;
- FconfigurationIssues:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamHealthStatus.SetlastUpdateTimeSeconds(AIndex : Integer; const AValue : String);
- begin
- If (FlastUpdateTimeSeconds=AValue) then exit;
- FlastUpdateTimeSeconds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamHealthStatus.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 TLiveStreamHealthStatus.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'configurationissues' : SetLength(FconfigurationIssues,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLiveStreamListResponse
- --------------------------------------------------------------------}
- Procedure TLiveStreamListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.Setitems(AIndex : Integer; const AValue : TLiveStreamListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TLiveStreamListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLiveStreamSnippet
- --------------------------------------------------------------------}
- Procedure TLiveStreamSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamSnippet.SetisDefaultStream(AIndex : Integer; const AValue : boolean);
- begin
- If (FisDefaultStream=AValue) then exit;
- FisDefaultStream:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLiveStreamStatus
- --------------------------------------------------------------------}
- Procedure TLiveStreamStatus.SethealthStatus(AIndex : Integer; const AValue : TLiveStreamHealthStatus);
- begin
- If (FhealthStatus=AValue) then exit;
- FhealthStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLiveStreamStatus.SetstreamStatus(AIndex : Integer; const AValue : String);
- begin
- If (FstreamStatus=AValue) then exit;
- FstreamStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TLocalizedProperty
- --------------------------------------------------------------------}
- Procedure TLocalizedProperty.Setdefault(AIndex : Integer; const AValue : String);
- begin
- If (Fdefault=AValue) then exit;
- Fdefault:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLocalizedProperty.SetdefaultLanguage(AIndex : Integer; const AValue : TLanguageTag);
- begin
- If (FdefaultLanguage=AValue) then exit;
- FdefaultLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLocalizedProperty.Setlocalized(AIndex : Integer; const AValue : TLocalizedPropertyTypelocalizedArray);
- begin
- If (Flocalized=AValue) then exit;
- Flocalized:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TLocalizedProperty.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'localized' : SetLength(Flocalized,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TLocalizedString
- --------------------------------------------------------------------}
- Procedure TLocalizedString.Setlanguage(AIndex : Integer; const AValue : String);
- begin
- If (Flanguage=AValue) then exit;
- Flanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TLocalizedString.Setvalue(AIndex : Integer; const AValue : String);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TMonitorStreamInfo
- --------------------------------------------------------------------}
- Procedure TMonitorStreamInfo.SetbroadcastStreamDelayMs(AIndex : Integer; const AValue : integer);
- begin
- If (FbroadcastStreamDelayMs=AValue) then exit;
- FbroadcastStreamDelayMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMonitorStreamInfo.SetembedHtml(AIndex : Integer; const AValue : String);
- begin
- If (FembedHtml=AValue) then exit;
- FembedHtml:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TMonitorStreamInfo.SetenableMonitorStream(AIndex : Integer; const AValue : boolean);
- begin
- If (FenableMonitorStream=AValue) then exit;
- FenableMonitorStream:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPageInfo
- --------------------------------------------------------------------}
- Procedure TPageInfo.SetresultsPerPage(AIndex : Integer; const AValue : integer);
- begin
- If (FresultsPerPage=AValue) then exit;
- FresultsPerPage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPageInfo.SettotalResults(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalResults=AValue) then exit;
- FtotalResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistTypelocalizations
- --------------------------------------------------------------------}
- Class Function TPlaylistTypelocalizations.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TPlaylist
- --------------------------------------------------------------------}
- Procedure TPlaylist.SetcontentDetails(AIndex : Integer; const AValue : TPlaylistContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setlocalizations(AIndex : Integer; const AValue : TPlaylistTypelocalizations);
- begin
- If (Flocalizations=AValue) then exit;
- Flocalizations:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setplayer(AIndex : Integer; const AValue : TPlaylistPlayer);
- begin
- If (Fplayer=AValue) then exit;
- Fplayer:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setsnippet(AIndex : Integer; const AValue : TPlaylistSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylist.Setstatus(AIndex : Integer; const AValue : TPlaylistStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistContentDetails
- --------------------------------------------------------------------}
- Procedure TPlaylistContentDetails.SetitemCount(AIndex : Integer; const AValue : integer);
- begin
- If (FitemCount=AValue) then exit;
- FitemCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistItem
- --------------------------------------------------------------------}
- Procedure TPlaylistItem.SetcontentDetails(AIndex : Integer; const AValue : TPlaylistItemContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItem.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItem.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItem.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItem.Setsnippet(AIndex : Integer; const AValue : TPlaylistItemSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItem.Setstatus(AIndex : Integer; const AValue : TPlaylistItemStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistItemContentDetails
- --------------------------------------------------------------------}
- Procedure TPlaylistItemContentDetails.SetendAt(AIndex : Integer; const AValue : String);
- begin
- If (FendAt=AValue) then exit;
- FendAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemContentDetails.Setnote(AIndex : Integer; const AValue : String);
- begin
- If (Fnote=AValue) then exit;
- Fnote:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemContentDetails.SetstartAt(AIndex : Integer; const AValue : String);
- begin
- If (FstartAt=AValue) then exit;
- FstartAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemContentDetails.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistItemListResponse
- --------------------------------------------------------------------}
- Procedure TPlaylistItemListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.Setitems(AIndex : Integer; const AValue : TPlaylistItemListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPlaylistItemListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPlaylistItemSnippet
- --------------------------------------------------------------------}
- Procedure TPlaylistItemSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.SetchannelTitle(AIndex : Integer; const AValue : String);
- begin
- If (FchannelTitle=AValue) then exit;
- FchannelTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.SetplaylistId(AIndex : Integer; const AValue : String);
- begin
- If (FplaylistId=AValue) then exit;
- FplaylistId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.Setposition(AIndex : Integer; const AValue : integer);
- begin
- If (Fposition=AValue) then exit;
- Fposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistItemSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistItemStatus
- --------------------------------------------------------------------}
- Procedure TPlaylistItemStatus.SetprivacyStatus(AIndex : Integer; const AValue : String);
- begin
- If (FprivacyStatus=AValue) then exit;
- FprivacyStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistListResponse
- --------------------------------------------------------------------}
- Procedure TPlaylistListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.Setitems(AIndex : Integer; const AValue : TPlaylistListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPlaylistListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPlaylistLocalization
- --------------------------------------------------------------------}
- Procedure TPlaylistLocalization.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistLocalization.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistPlayer
- --------------------------------------------------------------------}
- Procedure TPlaylistPlayer.SetembedHtml(AIndex : Integer; const AValue : String);
- begin
- If (FembedHtml=AValue) then exit;
- FembedHtml:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPlaylistSnippet
- --------------------------------------------------------------------}
- Procedure TPlaylistSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.SetchannelTitle(AIndex : Integer; const AValue : String);
- begin
- If (FchannelTitle=AValue) then exit;
- FchannelTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.SetdefaultLanguage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultLanguage=AValue) then exit;
- FdefaultLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.Setlocalized(AIndex : Integer; const AValue : TPlaylistLocalization);
- begin
- If (Flocalized=AValue) then exit;
- Flocalized:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.Settags(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Ftags=AValue) then exit;
- Ftags:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPlaylistSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPlaylistSnippet.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'tags' : SetLength(Ftags,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TPlaylistStatus
- --------------------------------------------------------------------}
- Procedure TPlaylistStatus.SetprivacyStatus(AIndex : Integer; const AValue : String);
- begin
- If (FprivacyStatus=AValue) then exit;
- FprivacyStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPromotedItem
- --------------------------------------------------------------------}
- Procedure TPromotedItem.SetcustomMessage(AIndex : Integer; const AValue : String);
- begin
- If (FcustomMessage=AValue) then exit;
- FcustomMessage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPromotedItem.Setid(AIndex : Integer; const AValue : TPromotedItemId);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPromotedItem.SetpromotedByContentOwner(AIndex : Integer; const AValue : boolean);
- begin
- If (FpromotedByContentOwner=AValue) then exit;
- FpromotedByContentOwner:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPromotedItem.Settiming(AIndex : Integer; const AValue : TInvideoTiming);
- begin
- If (Ftiming=AValue) then exit;
- Ftiming:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPromotedItemId
- --------------------------------------------------------------------}
- Procedure TPromotedItemId.SetrecentlyUploadedBy(AIndex : Integer; const AValue : String);
- begin
- If (FrecentlyUploadedBy=AValue) then exit;
- FrecentlyUploadedBy:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPromotedItemId.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPromotedItemId.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPromotedItemId.SetwebsiteUrl(AIndex : Integer; const AValue : String);
- begin
- If (FwebsiteUrl=AValue) then exit;
- FwebsiteUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPromotedItemId.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TPropertyValue
- --------------------------------------------------------------------}
- Procedure TPropertyValue.Set_property(AIndex : Integer; const AValue : String);
- begin
- If (F_property=AValue) then exit;
- F_property:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TPropertyValue.Setvalue(AIndex : Integer; const AValue : String);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TPropertyValue.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_property' : Result:='property';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TResourceId
- --------------------------------------------------------------------}
- Procedure TResourceId.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TResourceId.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TResourceId.SetplaylistId(AIndex : Integer; const AValue : String);
- begin
- If (FplaylistId=AValue) then exit;
- FplaylistId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TResourceId.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSearchListResponse
- --------------------------------------------------------------------}
- Procedure TSearchListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.Setitems(AIndex : Integer; const AValue : TSearchListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SetregionCode(AIndex : Integer; const AValue : String);
- begin
- If (FregionCode=AValue) then exit;
- FregionCode:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TSearchListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSearchResult
- --------------------------------------------------------------------}
- Procedure TSearchResult.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResult.Setid(AIndex : Integer; const AValue : TResourceId);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResult.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResult.Setsnippet(AIndex : Integer; const AValue : TSearchResultSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSearchResultSnippet
- --------------------------------------------------------------------}
- Procedure TSearchResultSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResultSnippet.SetchannelTitle(AIndex : Integer; const AValue : String);
- begin
- If (FchannelTitle=AValue) then exit;
- FchannelTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResultSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResultSnippet.SetliveBroadcastContent(AIndex : Integer; const AValue : String);
- begin
- If (FliveBroadcastContent=AValue) then exit;
- FliveBroadcastContent:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResultSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResultSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSearchResultSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSponsor
- --------------------------------------------------------------------}
- Procedure TSponsor.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsor.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsor.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsor.Setsnippet(AIndex : Integer; const AValue : TSponsorSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSponsorListResponse
- --------------------------------------------------------------------}
- Procedure TSponsorListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.Setitems(AIndex : Integer; const AValue : TSponsorListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TSponsorListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSponsorSnippet
- --------------------------------------------------------------------}
- Procedure TSponsorSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorSnippet.SetsponsorDetails(AIndex : Integer; const AValue : TChannelProfileDetails);
- begin
- If (FsponsorDetails=AValue) then exit;
- FsponsorDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSponsorSnippet.SetsponsorSince(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FsponsorSince=AValue) then exit;
- FsponsorSince:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSubscription
- --------------------------------------------------------------------}
- Procedure TSubscription.SetcontentDetails(AIndex : Integer; const AValue : TSubscriptionContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscription.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscription.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscription.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscription.Setsnippet(AIndex : Integer; const AValue : TSubscriptionSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscription.SetsubscriberSnippet(AIndex : Integer; const AValue : TSubscriptionSubscriberSnippet);
- begin
- If (FsubscriberSnippet=AValue) then exit;
- FsubscriberSnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSubscriptionContentDetails
- --------------------------------------------------------------------}
- Procedure TSubscriptionContentDetails.SetactivityType(AIndex : Integer; const AValue : String);
- begin
- If (FactivityType=AValue) then exit;
- FactivityType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionContentDetails.SetnewItemCount(AIndex : Integer; const AValue : integer);
- begin
- If (FnewItemCount=AValue) then exit;
- FnewItemCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionContentDetails.SettotalItemCount(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalItemCount=AValue) then exit;
- FtotalItemCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSubscriptionListResponse
- --------------------------------------------------------------------}
- Procedure TSubscriptionListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.Setitems(AIndex : Integer; const AValue : TSubscriptionListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TSubscriptionListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSubscriptionSnippet
- --------------------------------------------------------------------}
- Procedure TSubscriptionSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSnippet.SetchannelTitle(AIndex : Integer; const AValue : String);
- begin
- If (FchannelTitle=AValue) then exit;
- FchannelTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSnippet.SetresourceId(AIndex : Integer; const AValue : TResourceId);
- begin
- If (FresourceId=AValue) then exit;
- FresourceId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSubscriptionSubscriberSnippet
- --------------------------------------------------------------------}
- Procedure TSubscriptionSubscriberSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSubscriberSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSubscriberSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSubscriptionSubscriberSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TThumbnail
- --------------------------------------------------------------------}
- Procedure TThumbnail.Setheight(AIndex : Integer; const AValue : integer);
- begin
- If (Fheight=AValue) then exit;
- Fheight:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnail.Seturl(AIndex : Integer; const AValue : String);
- begin
- If (Furl=AValue) then exit;
- Furl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnail.Setwidth(AIndex : Integer; const AValue : integer);
- begin
- If (Fwidth=AValue) then exit;
- Fwidth:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TThumbnailDetails
- --------------------------------------------------------------------}
- Procedure TThumbnailDetails.Setdefault(AIndex : Integer; const AValue : TThumbnail);
- begin
- If (Fdefault=AValue) then exit;
- Fdefault:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailDetails.Sethigh(AIndex : Integer; const AValue : TThumbnail);
- begin
- If (Fhigh=AValue) then exit;
- Fhigh:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailDetails.Setmaxres(AIndex : Integer; const AValue : TThumbnail);
- begin
- If (Fmaxres=AValue) then exit;
- Fmaxres:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailDetails.Setmedium(AIndex : Integer; const AValue : TThumbnail);
- begin
- If (Fmedium=AValue) then exit;
- Fmedium:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailDetails.Setstandard(AIndex : Integer; const AValue : TThumbnail);
- begin
- If (Fstandard=AValue) then exit;
- Fstandard:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TThumbnailSetResponse
- --------------------------------------------------------------------}
- Procedure TThumbnailSetResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailSetResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailSetResponse.Setitems(AIndex : Integer; const AValue : TThumbnailSetResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailSetResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnailSetResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TThumbnailSetResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTokenPagination
- --------------------------------------------------------------------}
- { --------------------------------------------------------------------
- TVideoTypelocalizations
- --------------------------------------------------------------------}
- Class Function TVideoTypelocalizations.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TVideo
- --------------------------------------------------------------------}
- Procedure TVideo.SetageGating(AIndex : Integer; const AValue : TVideoAgeGating);
- begin
- If (FageGating=AValue) then exit;
- FageGating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetcontentDetails(AIndex : Integer; const AValue : TVideoContentDetails);
- begin
- If (FcontentDetails=AValue) then exit;
- FcontentDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetfileDetails(AIndex : Integer; const AValue : TVideoFileDetails);
- begin
- If (FfileDetails=AValue) then exit;
- FfileDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetliveStreamingDetails(AIndex : Integer; const AValue : TVideoLiveStreamingDetails);
- begin
- If (FliveStreamingDetails=AValue) then exit;
- FliveStreamingDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setlocalizations(AIndex : Integer; const AValue : TVideoTypelocalizations);
- begin
- If (Flocalizations=AValue) then exit;
- Flocalizations:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetmonetizationDetails(AIndex : Integer; const AValue : TVideoMonetizationDetails);
- begin
- If (FmonetizationDetails=AValue) then exit;
- FmonetizationDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setplayer(AIndex : Integer; const AValue : TVideoPlayer);
- begin
- If (Fplayer=AValue) then exit;
- Fplayer:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetprocessingDetails(AIndex : Integer; const AValue : TVideoProcessingDetails);
- begin
- If (FprocessingDetails=AValue) then exit;
- FprocessingDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetprojectDetails(AIndex : Integer; const AValue : TVideoProjectDetails);
- begin
- If (FprojectDetails=AValue) then exit;
- FprojectDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SetrecordingDetails(AIndex : Integer; const AValue : TVideoRecordingDetails);
- begin
- If (FrecordingDetails=AValue) then exit;
- FrecordingDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setsnippet(AIndex : Integer; const AValue : TVideoSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setstatistics(AIndex : Integer; const AValue : TVideoStatistics);
- begin
- If (Fstatistics=AValue) then exit;
- Fstatistics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setstatus(AIndex : Integer; const AValue : TVideoStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.Setsuggestions(AIndex : Integer; const AValue : TVideoSuggestions);
- begin
- If (Fsuggestions=AValue) then exit;
- Fsuggestions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideo.SettopicDetails(AIndex : Integer; const AValue : TVideoTopicDetails);
- begin
- If (FtopicDetails=AValue) then exit;
- FtopicDetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoAbuseReport
- --------------------------------------------------------------------}
- Procedure TVideoAbuseReport.Setcomments(AIndex : Integer; const AValue : String);
- begin
- If (Fcomments=AValue) then exit;
- Fcomments:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReport.Setlanguage(AIndex : Integer; const AValue : String);
- begin
- If (Flanguage=AValue) then exit;
- Flanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReport.SetreasonId(AIndex : Integer; const AValue : String);
- begin
- If (FreasonId=AValue) then exit;
- FreasonId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReport.SetsecondaryReasonId(AIndex : Integer; const AValue : String);
- begin
- If (FsecondaryReasonId=AValue) then exit;
- FsecondaryReasonId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReport.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoAbuseReportReason
- --------------------------------------------------------------------}
- Procedure TVideoAbuseReportReason.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReason.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReason.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReason.Setsnippet(AIndex : Integer; const AValue : TVideoAbuseReportReasonSnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoAbuseReportReasonListResponse
- --------------------------------------------------------------------}
- Procedure TVideoAbuseReportReasonListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReasonListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReasonListResponse.Setitems(AIndex : Integer; const AValue : TVideoAbuseReportReasonListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReasonListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReasonListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoAbuseReportReasonListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoAbuseReportReasonSnippet
- --------------------------------------------------------------------}
- Procedure TVideoAbuseReportReasonSnippet.Set_label(AIndex : Integer; const AValue : String);
- begin
- If (F_label=AValue) then exit;
- F_label:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportReasonSnippet.SetsecondaryReasons(AIndex : Integer; const AValue : TVideoAbuseReportReasonSnippetTypesecondaryReasonsArray);
- begin
- If (FsecondaryReasons=AValue) then exit;
- FsecondaryReasons:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TVideoAbuseReportReasonSnippet.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_label' : Result:='label';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoAbuseReportReasonSnippet.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'secondaryreasons' : SetLength(FsecondaryReasons,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoAbuseReportSecondaryReason
- --------------------------------------------------------------------}
- Procedure TVideoAbuseReportSecondaryReason.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAbuseReportSecondaryReason.Set_label(AIndex : Integer; const AValue : String);
- begin
- If (F_label=AValue) then exit;
- F_label:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TVideoAbuseReportSecondaryReason.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_label' : Result:='label';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TVideoAgeGating
- --------------------------------------------------------------------}
- Procedure TVideoAgeGating.SetalcoholContent(AIndex : Integer; const AValue : boolean);
- begin
- If (FalcoholContent=AValue) then exit;
- FalcoholContent:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAgeGating.Setrestricted(AIndex : Integer; const AValue : boolean);
- begin
- If (Frestricted=AValue) then exit;
- Frestricted:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoAgeGating.SetvideoGameRating(AIndex : Integer; const AValue : String);
- begin
- If (FvideoGameRating=AValue) then exit;
- FvideoGameRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoCategory
- --------------------------------------------------------------------}
- Procedure TVideoCategory.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategory.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategory.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategory.Setsnippet(AIndex : Integer; const AValue : TVideoCategorySnippet);
- begin
- If (Fsnippet=AValue) then exit;
- Fsnippet:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoCategoryListResponse
- --------------------------------------------------------------------}
- Procedure TVideoCategoryListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.Setitems(AIndex : Integer; const AValue : TVideoCategoryListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategoryListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoCategoryListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoCategorySnippet
- --------------------------------------------------------------------}
- Procedure TVideoCategorySnippet.Setassignable(AIndex : Integer; const AValue : boolean);
- begin
- If (Fassignable=AValue) then exit;
- Fassignable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategorySnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoCategorySnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoContentDetails
- --------------------------------------------------------------------}
- Procedure TVideoContentDetails.Setcaption(AIndex : Integer; const AValue : String);
- begin
- If (Fcaption=AValue) then exit;
- Fcaption:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.SetcontentRating(AIndex : Integer; const AValue : TContentRating);
- begin
- If (FcontentRating=AValue) then exit;
- FcontentRating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.SetcountryRestriction(AIndex : Integer; const AValue : TAccessPolicy);
- begin
- If (FcountryRestriction=AValue) then exit;
- FcountryRestriction:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.Setdefinition(AIndex : Integer; const AValue : String);
- begin
- If (Fdefinition=AValue) then exit;
- Fdefinition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.Setdimension(AIndex : Integer; const AValue : String);
- begin
- If (Fdimension=AValue) then exit;
- Fdimension:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.Setduration(AIndex : Integer; const AValue : String);
- begin
- If (Fduration=AValue) then exit;
- Fduration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.SetlicensedContent(AIndex : Integer; const AValue : boolean);
- begin
- If (FlicensedContent=AValue) then exit;
- FlicensedContent:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.Setprojection(AIndex : Integer; const AValue : String);
- begin
- If (Fprojection=AValue) then exit;
- Fprojection:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetails.SetregionRestriction(AIndex : Integer; const AValue : TVideoContentDetailsRegionRestriction);
- begin
- If (FregionRestriction=AValue) then exit;
- FregionRestriction:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoContentDetailsRegionRestriction
- --------------------------------------------------------------------}
- Procedure TVideoContentDetailsRegionRestriction.Setallowed(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fallowed=AValue) then exit;
- Fallowed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoContentDetailsRegionRestriction.Setblocked(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fblocked=AValue) then exit;
- Fblocked:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoContentDetailsRegionRestriction.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'allowed' : SetLength(Fallowed,ALength);
- 'blocked' : SetLength(Fblocked,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoFileDetails
- --------------------------------------------------------------------}
- Procedure TVideoFileDetails.SetaudioStreams(AIndex : Integer; const AValue : TVideoFileDetailsTypeaudioStreamsArray);
- begin
- If (FaudioStreams=AValue) then exit;
- FaudioStreams:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetbitrateBps(AIndex : Integer; const AValue : String);
- begin
- If (FbitrateBps=AValue) then exit;
- FbitrateBps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.Setcontainer(AIndex : Integer; const AValue : String);
- begin
- If (Fcontainer=AValue) then exit;
- Fcontainer:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetcreationTime(AIndex : Integer; const AValue : String);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetdurationMs(AIndex : Integer; const AValue : String);
- begin
- If (FdurationMs=AValue) then exit;
- FdurationMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetfileName(AIndex : Integer; const AValue : String);
- begin
- If (FfileName=AValue) then exit;
- FfileName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetfileSize(AIndex : Integer; const AValue : String);
- begin
- If (FfileSize=AValue) then exit;
- FfileSize:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetfileType(AIndex : Integer; const AValue : String);
- begin
- If (FfileType=AValue) then exit;
- FfileType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetrecordingLocation(AIndex : Integer; const AValue : TGeoPoint);
- begin
- If (FrecordingLocation=AValue) then exit;
- FrecordingLocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetails.SetvideoStreams(AIndex : Integer; const AValue : TVideoFileDetailsTypevideoStreamsArray);
- begin
- If (FvideoStreams=AValue) then exit;
- FvideoStreams:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoFileDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'audiostreams' : SetLength(FaudioStreams,ALength);
- 'videostreams' : SetLength(FvideoStreams,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoFileDetailsAudioStream
- --------------------------------------------------------------------}
- Procedure TVideoFileDetailsAudioStream.SetbitrateBps(AIndex : Integer; const AValue : String);
- begin
- If (FbitrateBps=AValue) then exit;
- FbitrateBps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsAudioStream.SetchannelCount(AIndex : Integer; const AValue : integer);
- begin
- If (FchannelCount=AValue) then exit;
- FchannelCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsAudioStream.Setcodec(AIndex : Integer; const AValue : String);
- begin
- If (Fcodec=AValue) then exit;
- Fcodec:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsAudioStream.Setvendor(AIndex : Integer; const AValue : String);
- begin
- If (Fvendor=AValue) then exit;
- Fvendor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoFileDetailsVideoStream
- --------------------------------------------------------------------}
- Procedure TVideoFileDetailsVideoStream.SetaspectRatio(AIndex : Integer; const AValue : double);
- begin
- If (FaspectRatio=AValue) then exit;
- FaspectRatio:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.SetbitrateBps(AIndex : Integer; const AValue : String);
- begin
- If (FbitrateBps=AValue) then exit;
- FbitrateBps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.Setcodec(AIndex : Integer; const AValue : String);
- begin
- If (Fcodec=AValue) then exit;
- Fcodec:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.SetframeRateFps(AIndex : Integer; const AValue : double);
- begin
- If (FframeRateFps=AValue) then exit;
- FframeRateFps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.SetheightPixels(AIndex : Integer; const AValue : integer);
- begin
- If (FheightPixels=AValue) then exit;
- FheightPixels:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.Setrotation(AIndex : Integer; const AValue : String);
- begin
- If (Frotation=AValue) then exit;
- Frotation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.Setvendor(AIndex : Integer; const AValue : String);
- begin
- If (Fvendor=AValue) then exit;
- Fvendor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoFileDetailsVideoStream.SetwidthPixels(AIndex : Integer; const AValue : integer);
- begin
- If (FwidthPixels=AValue) then exit;
- FwidthPixels:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoGetRatingResponse
- --------------------------------------------------------------------}
- Procedure TVideoGetRatingResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoGetRatingResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoGetRatingResponse.Setitems(AIndex : Integer; const AValue : TVideoGetRatingResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoGetRatingResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoGetRatingResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoGetRatingResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoListResponse
- --------------------------------------------------------------------}
- Procedure TVideoListResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.SeteventId(AIndex : Integer; const AValue : String);
- begin
- If (FeventId=AValue) then exit;
- FeventId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.Setitems(AIndex : Integer; const AValue : TVideoListResponseTypeitemsArray);
- begin
- If (Fitems=AValue) then exit;
- Fitems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.SetpageInfo(AIndex : Integer; const AValue : TPageInfo);
- begin
- If (FpageInfo=AValue) then exit;
- FpageInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.SetprevPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FprevPageToken=AValue) then exit;
- FprevPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.SettokenPagination(AIndex : Integer; const AValue : TTokenPagination);
- begin
- If (FtokenPagination=AValue) then exit;
- FtokenPagination:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoListResponse.SetvisitorId(AIndex : Integer; const AValue : String);
- begin
- If (FvisitorId=AValue) then exit;
- FvisitorId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoListResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'items' : SetLength(Fitems,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoLiveStreamingDetails
- --------------------------------------------------------------------}
- Procedure TVideoLiveStreamingDetails.SetactiveLiveChatId(AIndex : Integer; const AValue : String);
- begin
- If (FactiveLiveChatId=AValue) then exit;
- FactiveLiveChatId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoLiveStreamingDetails.SetactualEndTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FactualEndTime=AValue) then exit;
- FactualEndTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoLiveStreamingDetails.SetactualStartTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FactualStartTime=AValue) then exit;
- FactualStartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoLiveStreamingDetails.SetconcurrentViewers(AIndex : Integer; const AValue : String);
- begin
- If (FconcurrentViewers=AValue) then exit;
- FconcurrentViewers:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoLiveStreamingDetails.SetscheduledEndTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FscheduledEndTime=AValue) then exit;
- FscheduledEndTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoLiveStreamingDetails.SetscheduledStartTime(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FscheduledStartTime=AValue) then exit;
- FscheduledStartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoLocalization
- --------------------------------------------------------------------}
- Procedure TVideoLocalization.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoLocalization.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoMonetizationDetails
- --------------------------------------------------------------------}
- Procedure TVideoMonetizationDetails.Setaccess(AIndex : Integer; const AValue : TAccessPolicy);
- begin
- If (Faccess=AValue) then exit;
- Faccess:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoPlayer
- --------------------------------------------------------------------}
- Procedure TVideoPlayer.SetembedHtml(AIndex : Integer; const AValue : String);
- begin
- If (FembedHtml=AValue) then exit;
- FembedHtml:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoProcessingDetails
- --------------------------------------------------------------------}
- Procedure TVideoProcessingDetails.SeteditorSuggestionsAvailability(AIndex : Integer; const AValue : String);
- begin
- If (FeditorSuggestionsAvailability=AValue) then exit;
- FeditorSuggestionsAvailability:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SetfileDetailsAvailability(AIndex : Integer; const AValue : String);
- begin
- If (FfileDetailsAvailability=AValue) then exit;
- FfileDetailsAvailability:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SetprocessingFailureReason(AIndex : Integer; const AValue : String);
- begin
- If (FprocessingFailureReason=AValue) then exit;
- FprocessingFailureReason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SetprocessingIssuesAvailability(AIndex : Integer; const AValue : String);
- begin
- If (FprocessingIssuesAvailability=AValue) then exit;
- FprocessingIssuesAvailability:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SetprocessingProgress(AIndex : Integer; const AValue : TVideoProcessingDetailsProcessingProgress);
- begin
- If (FprocessingProgress=AValue) then exit;
- FprocessingProgress:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SetprocessingStatus(AIndex : Integer; const AValue : String);
- begin
- If (FprocessingStatus=AValue) then exit;
- FprocessingStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SettagSuggestionsAvailability(AIndex : Integer; const AValue : String);
- begin
- If (FtagSuggestionsAvailability=AValue) then exit;
- FtagSuggestionsAvailability:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetails.SetthumbnailsAvailability(AIndex : Integer; const AValue : String);
- begin
- If (FthumbnailsAvailability=AValue) then exit;
- FthumbnailsAvailability:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoProcessingDetailsProcessingProgress
- --------------------------------------------------------------------}
- Procedure TVideoProcessingDetailsProcessingProgress.SetpartsProcessed(AIndex : Integer; const AValue : String);
- begin
- If (FpartsProcessed=AValue) then exit;
- FpartsProcessed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetailsProcessingProgress.SetpartsTotal(AIndex : Integer; const AValue : String);
- begin
- If (FpartsTotal=AValue) then exit;
- FpartsTotal:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoProcessingDetailsProcessingProgress.SettimeLeftMs(AIndex : Integer; const AValue : String);
- begin
- If (FtimeLeftMs=AValue) then exit;
- FtimeLeftMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoProjectDetails
- --------------------------------------------------------------------}
- Procedure TVideoProjectDetails.Settags(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Ftags=AValue) then exit;
- Ftags:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoProjectDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'tags' : SetLength(Ftags,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoRating
- --------------------------------------------------------------------}
- Procedure TVideoRating.Setrating(AIndex : Integer; const AValue : String);
- begin
- If (Frating=AValue) then exit;
- Frating:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoRating.SetvideoId(AIndex : Integer; const AValue : String);
- begin
- If (FvideoId=AValue) then exit;
- FvideoId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoRecordingDetails
- --------------------------------------------------------------------}
- Procedure TVideoRecordingDetails.Setlocation(AIndex : Integer; const AValue : TGeoPoint);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoRecordingDetails.SetlocationDescription(AIndex : Integer; const AValue : String);
- begin
- If (FlocationDescription=AValue) then exit;
- FlocationDescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoRecordingDetails.SetrecordingDate(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FrecordingDate=AValue) then exit;
- FrecordingDate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoSnippet
- --------------------------------------------------------------------}
- Procedure TVideoSnippet.SetcategoryId(AIndex : Integer; const AValue : String);
- begin
- If (FcategoryId=AValue) then exit;
- FcategoryId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.SetchannelId(AIndex : Integer; const AValue : String);
- begin
- If (FchannelId=AValue) then exit;
- FchannelId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.SetchannelTitle(AIndex : Integer; const AValue : String);
- begin
- If (FchannelTitle=AValue) then exit;
- FchannelTitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.SetdefaultAudioLanguage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultAudioLanguage=AValue) then exit;
- FdefaultAudioLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.SetdefaultLanguage(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultLanguage=AValue) then exit;
- FdefaultLanguage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.SetliveBroadcastContent(AIndex : Integer; const AValue : String);
- begin
- If (FliveBroadcastContent=AValue) then exit;
- FliveBroadcastContent:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.Setlocalized(AIndex : Integer; const AValue : TVideoLocalization);
- begin
- If (Flocalized=AValue) then exit;
- Flocalized:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.SetpublishedAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishedAt=AValue) then exit;
- FpublishedAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.Settags(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Ftags=AValue) then exit;
- Ftags:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.Setthumbnails(AIndex : Integer; const AValue : TThumbnailDetails);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSnippet.Settitle(AIndex : Integer; const AValue : String);
- begin
- If (Ftitle=AValue) then exit;
- Ftitle:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoSnippet.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'tags' : SetLength(Ftags,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoStatistics
- --------------------------------------------------------------------}
- Procedure TVideoStatistics.SetcommentCount(AIndex : Integer; const AValue : String);
- begin
- If (FcommentCount=AValue) then exit;
- FcommentCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatistics.SetdislikeCount(AIndex : Integer; const AValue : String);
- begin
- If (FdislikeCount=AValue) then exit;
- FdislikeCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatistics.SetfavoriteCount(AIndex : Integer; const AValue : String);
- begin
- If (FfavoriteCount=AValue) then exit;
- FfavoriteCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatistics.SetlikeCount(AIndex : Integer; const AValue : String);
- begin
- If (FlikeCount=AValue) then exit;
- FlikeCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatistics.SetviewCount(AIndex : Integer; const AValue : String);
- begin
- If (FviewCount=AValue) then exit;
- FviewCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoStatus
- --------------------------------------------------------------------}
- Procedure TVideoStatus.Setembeddable(AIndex : Integer; const AValue : boolean);
- begin
- If (Fembeddable=AValue) then exit;
- Fembeddable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.SetfailureReason(AIndex : Integer; const AValue : String);
- begin
- If (FfailureReason=AValue) then exit;
- FfailureReason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.Setlicense(AIndex : Integer; const AValue : String);
- begin
- If (Flicense=AValue) then exit;
- Flicense:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.SetprivacyStatus(AIndex : Integer; const AValue : String);
- begin
- If (FprivacyStatus=AValue) then exit;
- FprivacyStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.SetpublicStatsViewable(AIndex : Integer; const AValue : boolean);
- begin
- If (FpublicStatsViewable=AValue) then exit;
- FpublicStatsViewable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.SetpublishAt(AIndex : Integer; const AValue : TDatetime);
- begin
- If (FpublishAt=AValue) then exit;
- FpublishAt:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.SetrejectionReason(AIndex : Integer; const AValue : String);
- begin
- If (FrejectionReason=AValue) then exit;
- FrejectionReason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoStatus.SetuploadStatus(AIndex : Integer; const AValue : String);
- begin
- If (FuploadStatus=AValue) then exit;
- FuploadStatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TVideoSuggestions
- --------------------------------------------------------------------}
- Procedure TVideoSuggestions.SeteditorSuggestions(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FeditorSuggestions=AValue) then exit;
- FeditorSuggestions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSuggestions.SetprocessingErrors(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FprocessingErrors=AValue) then exit;
- FprocessingErrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSuggestions.SetprocessingHints(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FprocessingHints=AValue) then exit;
- FprocessingHints:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSuggestions.SetprocessingWarnings(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FprocessingWarnings=AValue) then exit;
- FprocessingWarnings:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSuggestions.SettagSuggestions(AIndex : Integer; const AValue : TVideoSuggestionsTypetagSuggestionsArray);
- begin
- If (FtagSuggestions=AValue) then exit;
- FtagSuggestions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoSuggestions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'editorsuggestions' : SetLength(FeditorSuggestions,ALength);
- 'processingerrors' : SetLength(FprocessingErrors,ALength);
- 'processinghints' : SetLength(FprocessingHints,ALength);
- 'processingwarnings' : SetLength(FprocessingWarnings,ALength);
- 'tagsuggestions' : SetLength(FtagSuggestions,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoSuggestionsTagSuggestion
- --------------------------------------------------------------------}
- Procedure TVideoSuggestionsTagSuggestion.SetcategoryRestricts(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FcategoryRestricts=AValue) then exit;
- FcategoryRestricts:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoSuggestionsTagSuggestion.Settag(AIndex : Integer; const AValue : String);
- begin
- If (Ftag=AValue) then exit;
- Ftag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoSuggestionsTagSuggestion.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'categoryrestricts' : SetLength(FcategoryRestricts,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TVideoTopicDetails
- --------------------------------------------------------------------}
- Procedure TVideoTopicDetails.SetrelevantTopicIds(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FrelevantTopicIds=AValue) then exit;
- FrelevantTopicIds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TVideoTopicDetails.SettopicIds(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FtopicIds=AValue) then exit;
- FtopicIds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TVideoTopicDetails.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'relevanttopicids' : SetLength(FrelevantTopicIds,ALength);
- 'topicids' : SetLength(FtopicIds,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TWatchSettings
- --------------------------------------------------------------------}
- Procedure TWatchSettings.SetbackgroundColor(AIndex : Integer; const AValue : String);
- begin
- If (FbackgroundColor=AValue) then exit;
- FbackgroundColor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWatchSettings.SetfeaturedPlaylistId(AIndex : Integer; const AValue : String);
- begin
- If (FfeaturedPlaylistId=AValue) then exit;
- FfeaturedPlaylistId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TWatchSettings.SettextColor(AIndex : Integer; const AValue : String);
- begin
- If (FtextColor=AValue) then exit;
- FtextColor:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TActivitiesResource
- --------------------------------------------------------------------}
- Class Function TActivitiesResource.ResourceName : String;
- begin
- Result:='activities';
- end;
- Class Function TActivitiesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TActivitiesResource.Insert(aActivity : TActivity; AQuery : string = '') : TActivity;
- Const
- _HTTPMethod = 'POST';
- _Path = 'activities';
- _Methodid = 'youtube.activities.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aActivity,TActivity) as TActivity;
- end;
- Function TActivitiesResource.Insert(aActivity : TActivity; AQuery : TActivitiesinsertOptions) : TActivity;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aActivity,_Q);
- end;
- Function TActivitiesResource.List(AQuery : string = '') : TActivityListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'activities';
- _Methodid = 'youtube.activities.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TActivityListResponse) as TActivityListResponse;
- end;
- Function TActivitiesResource.List(AQuery : TActivitieslistOptions) : TActivityListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'home',AQuery.home);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'publishedAfter',AQuery.publishedAfter);
- AddToQuery(_Q,'publishedBefore',AQuery.publishedBefore);
- AddToQuery(_Q,'regionCode',AQuery.regionCode);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TCaptionsResource
- --------------------------------------------------------------------}
- Class Function TCaptionsResource.ResourceName : String;
- begin
- Result:='captions';
- end;
- Class Function TCaptionsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TCaptionsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'captions';
- _Methodid = 'youtube.captions.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TCaptionsResource.Delete(AQuery : TCaptionsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOf',AQuery.onBehalfOf);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Delete(_Q);
- end;
- Procedure TCaptionsResource.Download(id: string; AQuery : string = '');
- Const
- _HTTPMethod = 'GET';
- _Path = 'captions/{id}';
- _Methodid = 'youtube.captions.download';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['id',id]);
- ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
- end;
- Procedure TCaptionsResource.Download(id: string; AQuery : TCaptionsdownloadOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOf',AQuery.onBehalfOf);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'tfmt',AQuery.tfmt);
- AddToQuery(_Q,'tlang',AQuery.tlang);
- Download(id,_Q);
- end;
- Function TCaptionsResource.Insert(aCaption : TCaption; AQuery : string = '') : TCaption;
- Const
- _HTTPMethod = 'POST';
- _Path = 'captions';
- _Methodid = 'youtube.captions.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aCaption,TCaption) as TCaption;
- end;
- Function TCaptionsResource.Insert(aCaption : TCaption; AQuery : TCaptionsinsertOptions) : TCaption;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOf',AQuery.onBehalfOf);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'sync',AQuery.sync);
- Result:=Insert(aCaption,_Q);
- end;
- Function TCaptionsResource.List(AQuery : string = '') : TCaptionListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'captions';
- _Methodid = 'youtube.captions.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TCaptionListResponse) as TCaptionListResponse;
- end;
- Function TCaptionsResource.List(AQuery : TCaptionslistOptions) : TCaptionListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOf',AQuery.onBehalfOf);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'videoId',AQuery.videoId);
- Result:=List(_Q);
- end;
- Function TCaptionsResource.Update(aCaption : TCaption; AQuery : string = '') : TCaption;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'captions';
- _Methodid = 'youtube.captions.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aCaption,TCaption) as TCaption;
- end;
- Function TCaptionsResource.Update(aCaption : TCaption; AQuery : TCaptionsupdateOptions) : TCaption;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOf',AQuery.onBehalfOf);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'sync',AQuery.sync);
- Result:=Update(aCaption,_Q);
- end;
- { --------------------------------------------------------------------
- TChannelBannersResource
- --------------------------------------------------------------------}
- Class Function TChannelBannersResource.ResourceName : String;
- begin
- Result:='channelBanners';
- end;
- Class Function TChannelBannersResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TChannelBannersResource.Insert(aChannelBannerResource : TChannelBannerResource; AQuery : string = '') : TChannelBannerResource;
- Const
- _HTTPMethod = 'POST';
- _Path = 'channelBanners/insert';
- _Methodid = 'youtube.channelBanners.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aChannelBannerResource,TChannelBannerResource) as TChannelBannerResource;
- end;
- Function TChannelBannersResource.Insert(aChannelBannerResource : TChannelBannerResource; AQuery : TChannelBannersinsertOptions) : TChannelBannerResource;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Result:=Insert(aChannelBannerResource,_Q);
- end;
- { --------------------------------------------------------------------
- TChannelSectionsResource
- --------------------------------------------------------------------}
- Class Function TChannelSectionsResource.ResourceName : String;
- begin
- Result:='channelSections';
- end;
- Class Function TChannelSectionsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TChannelSectionsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'channelSections';
- _Methodid = 'youtube.channelSections.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TChannelSectionsResource.Delete(AQuery : TChannelSectionsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Delete(_Q);
- end;
- Function TChannelSectionsResource.Insert(aChannelSection : TChannelSection; AQuery : string = '') : TChannelSection;
- Const
- _HTTPMethod = 'POST';
- _Path = 'channelSections';
- _Methodid = 'youtube.channelSections.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aChannelSection,TChannelSection) as TChannelSection;
- end;
- Function TChannelSectionsResource.Insert(aChannelSection : TChannelSection; AQuery : TChannelSectionsinsertOptions) : TChannelSection;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aChannelSection,_Q);
- end;
- Function TChannelSectionsResource.List(AQuery : string = '') : TChannelSectionListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'channelSections';
- _Methodid = 'youtube.channelSections.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TChannelSectionListResponse) as TChannelSectionListResponse;
- end;
- Function TChannelSectionsResource.List(AQuery : TChannelSectionslistOptions) : TChannelSectionListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- Function TChannelSectionsResource.Update(aChannelSection : TChannelSection; AQuery : string = '') : TChannelSection;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'channelSections';
- _Methodid = 'youtube.channelSections.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aChannelSection,TChannelSection) as TChannelSection;
- end;
- Function TChannelSectionsResource.Update(aChannelSection : TChannelSection; AQuery : TChannelSectionsupdateOptions) : TChannelSection;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aChannelSection,_Q);
- end;
- { --------------------------------------------------------------------
- TChannelsResource
- --------------------------------------------------------------------}
- Class Function TChannelsResource.ResourceName : String;
- begin
- Result:='channels';
- end;
- Class Function TChannelsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TChannelsResource.List(AQuery : string = '') : TChannelListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'channels';
- _Methodid = 'youtube.channels.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TChannelListResponse) as TChannelListResponse;
- end;
- Function TChannelsResource.List(AQuery : TChannelslistOptions) : TChannelListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'categoryId',AQuery.categoryId);
- AddToQuery(_Q,'forUsername',AQuery.forUsername);
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'managedByMe',AQuery.managedByMe);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'mySubscribers',AQuery.mySubscribers);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- Function TChannelsResource.Update(aChannel : TChannel; AQuery : string = '') : TChannel;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'channels';
- _Methodid = 'youtube.channels.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aChannel,TChannel) as TChannel;
- end;
- Function TChannelsResource.Update(aChannel : TChannel; AQuery : TChannelsupdateOptions) : TChannel;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aChannel,_Q);
- end;
- { --------------------------------------------------------------------
- TCommentThreadsResource
- --------------------------------------------------------------------}
- Class Function TCommentThreadsResource.ResourceName : String;
- begin
- Result:='commentThreads';
- end;
- Class Function TCommentThreadsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TCommentThreadsResource.Insert(aCommentThread : TCommentThread; AQuery : string = '') : TCommentThread;
- Const
- _HTTPMethod = 'POST';
- _Path = 'commentThreads';
- _Methodid = 'youtube.commentThreads.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aCommentThread,TCommentThread) as TCommentThread;
- end;
- Function TCommentThreadsResource.Insert(aCommentThread : TCommentThread; AQuery : TCommentThreadsinsertOptions) : TCommentThread;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aCommentThread,_Q);
- end;
- Function TCommentThreadsResource.List(AQuery : string = '') : TCommentThreadListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'commentThreads';
- _Methodid = 'youtube.commentThreads.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TCommentThreadListResponse) as TCommentThreadListResponse;
- end;
- Function TCommentThreadsResource.List(AQuery : TCommentThreadslistOptions) : TCommentThreadListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'allThreadsRelatedToChannelId',AQuery.allThreadsRelatedToChannelId);
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'moderationStatus',AQuery.moderationStatus);
- AddToQuery(_Q,'order',AQuery.order);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'searchTerms',AQuery.searchTerms);
- AddToQuery(_Q,'textFormat',AQuery.textFormat);
- AddToQuery(_Q,'videoId',AQuery.videoId);
- Result:=List(_Q);
- end;
- Function TCommentThreadsResource.Update(aCommentThread : TCommentThread; AQuery : string = '') : TCommentThread;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'commentThreads';
- _Methodid = 'youtube.commentThreads.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aCommentThread,TCommentThread) as TCommentThread;
- end;
- Function TCommentThreadsResource.Update(aCommentThread : TCommentThread; AQuery : TCommentThreadsupdateOptions) : TCommentThread;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aCommentThread,_Q);
- end;
- { --------------------------------------------------------------------
- TCommentsResource
- --------------------------------------------------------------------}
- Class Function TCommentsResource.ResourceName : String;
- begin
- Result:='comments';
- end;
- Class Function TCommentsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TCommentsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'comments';
- _Methodid = 'youtube.comments.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TCommentsResource.Delete(AQuery : TCommentsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- Delete(_Q);
- end;
- Function TCommentsResource.Insert(aComment : TComment; AQuery : string = '') : TComment;
- Const
- _HTTPMethod = 'POST';
- _Path = 'comments';
- _Methodid = 'youtube.comments.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aComment,TComment) as TComment;
- end;
- Function TCommentsResource.Insert(aComment : TComment; AQuery : TCommentsinsertOptions) : TComment;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aComment,_Q);
- end;
- Function TCommentsResource.List(AQuery : string = '') : TCommentListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'comments';
- _Methodid = 'youtube.comments.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TCommentListResponse) as TCommentListResponse;
- end;
- Function TCommentsResource.List(AQuery : TCommentslistOptions) : TCommentListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'parentId',AQuery.parentId);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'textFormat',AQuery.textFormat);
- Result:=List(_Q);
- end;
- Procedure TCommentsResource.MarkAsSpam(AQuery : string = '');
- Const
- _HTTPMethod = 'POST';
- _Path = 'comments/markAsSpam';
- _Methodid = 'youtube.comments.markAsSpam';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TCommentsResource.MarkAsSpam(AQuery : TCommentsmarkAsSpamOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- MarkAsSpam(_Q);
- end;
- Procedure TCommentsResource.SetModerationStatus(AQuery : string = '');
- Const
- _HTTPMethod = 'POST';
- _Path = 'comments/setModerationStatus';
- _Methodid = 'youtube.comments.setModerationStatus';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TCommentsResource.SetModerationStatus(AQuery : TCommentssetModerationStatusOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'banAuthor',AQuery.banAuthor);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'moderationStatus',AQuery.moderationStatus);
- SetModerationStatus(_Q);
- end;
- Function TCommentsResource.Update(aComment : TComment; AQuery : string = '') : TComment;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'comments';
- _Methodid = 'youtube.comments.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aComment,TComment) as TComment;
- end;
- Function TCommentsResource.Update(aComment : TComment; AQuery : TCommentsupdateOptions) : TComment;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aComment,_Q);
- end;
- { --------------------------------------------------------------------
- TFanFundingEventsResource
- --------------------------------------------------------------------}
- Class Function TFanFundingEventsResource.ResourceName : String;
- begin
- Result:='fanFundingEvents';
- end;
- Class Function TFanFundingEventsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TFanFundingEventsResource.List(AQuery : string = '') : TFanFundingEventListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'fanFundingEvents';
- _Methodid = 'youtube.fanFundingEvents.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TFanFundingEventListResponse) as TFanFundingEventListResponse;
- end;
- Function TFanFundingEventsResource.List(AQuery : TFanFundingEventslistOptions) : TFanFundingEventListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TGuideCategoriesResource
- --------------------------------------------------------------------}
- Class Function TGuideCategoriesResource.ResourceName : String;
- begin
- Result:='guideCategories';
- end;
- Class Function TGuideCategoriesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TGuideCategoriesResource.List(AQuery : string = '') : TGuideCategoryListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'guideCategories';
- _Methodid = 'youtube.guideCategories.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TGuideCategoryListResponse) as TGuideCategoryListResponse;
- end;
- Function TGuideCategoriesResource.List(AQuery : TGuideCategorieslistOptions) : TGuideCategoryListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'regionCode',AQuery.regionCode);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TI18nLanguagesResource
- --------------------------------------------------------------------}
- Class Function TI18nLanguagesResource.ResourceName : String;
- begin
- Result:='i18nLanguages';
- end;
- Class Function TI18nLanguagesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TI18nLanguagesResource.List(AQuery : string = '') : TI18nLanguageListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'i18nLanguages';
- _Methodid = 'youtube.i18nLanguages.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TI18nLanguageListResponse) as TI18nLanguageListResponse;
- end;
- Function TI18nLanguagesResource.List(AQuery : TI18nLanguageslistOptions) : TI18nLanguageListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TI18nRegionsResource
- --------------------------------------------------------------------}
- Class Function TI18nRegionsResource.ResourceName : String;
- begin
- Result:='i18nRegions';
- end;
- Class Function TI18nRegionsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TI18nRegionsResource.List(AQuery : string = '') : TI18nRegionListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'i18nRegions';
- _Methodid = 'youtube.i18nRegions.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TI18nRegionListResponse) as TI18nRegionListResponse;
- end;
- Function TI18nRegionsResource.List(AQuery : TI18nRegionslistOptions) : TI18nRegionListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TLiveBroadcastsResource
- --------------------------------------------------------------------}
- Class Function TLiveBroadcastsResource.ResourceName : String;
- begin
- Result:='liveBroadcasts';
- end;
- Class Function TLiveBroadcastsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TLiveBroadcastsResource.Bind(AQuery : string = '') : TLiveBroadcast;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveBroadcasts/bind';
- _Methodid = 'youtube.liveBroadcasts.bind';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveBroadcast) as TLiveBroadcast;
- end;
- Function TLiveBroadcastsResource.Bind(AQuery : TLiveBroadcastsbindOptions) : TLiveBroadcast;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'streamId',AQuery.streamId);
- Result:=Bind(_Q);
- end;
- Function TLiveBroadcastsResource.Control(AQuery : string = '') : TLiveBroadcast;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveBroadcasts/control';
- _Methodid = 'youtube.liveBroadcasts.control';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveBroadcast) as TLiveBroadcast;
- end;
- Function TLiveBroadcastsResource.Control(AQuery : TLiveBroadcastscontrolOptions) : TLiveBroadcast;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'displaySlate',AQuery.displaySlate);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'offsetTimeMs',AQuery.offsetTimeMs);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'walltime',AQuery.walltime);
- Result:=Control(_Q);
- end;
- Procedure TLiveBroadcastsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'liveBroadcasts';
- _Methodid = 'youtube.liveBroadcasts.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TLiveBroadcastsResource.Delete(AQuery : TLiveBroadcastsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- Delete(_Q);
- end;
- Function TLiveBroadcastsResource.Insert(aLiveBroadcast : TLiveBroadcast; AQuery : string = '') : TLiveBroadcast;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveBroadcasts';
- _Methodid = 'youtube.liveBroadcasts.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveBroadcast,TLiveBroadcast) as TLiveBroadcast;
- end;
- Function TLiveBroadcastsResource.Insert(aLiveBroadcast : TLiveBroadcast; AQuery : TLiveBroadcastsinsertOptions) : TLiveBroadcast;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aLiveBroadcast,_Q);
- end;
- Function TLiveBroadcastsResource.List(AQuery : string = '') : TLiveBroadcastListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'liveBroadcasts';
- _Methodid = 'youtube.liveBroadcasts.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveBroadcastListResponse) as TLiveBroadcastListResponse;
- end;
- Function TLiveBroadcastsResource.List(AQuery : TLiveBroadcastslistOptions) : TLiveBroadcastListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'broadcastStatus',AQuery.broadcastStatus);
- AddToQuery(_Q,'broadcastType',AQuery.broadcastType);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- Function TLiveBroadcastsResource.Transition(AQuery : string = '') : TLiveBroadcast;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveBroadcasts/transition';
- _Methodid = 'youtube.liveBroadcasts.transition';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveBroadcast) as TLiveBroadcast;
- end;
- Function TLiveBroadcastsResource.Transition(AQuery : TLiveBroadcaststransitionOptions) : TLiveBroadcast;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'broadcastStatus',AQuery.broadcastStatus);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Transition(_Q);
- end;
- Function TLiveBroadcastsResource.Update(aLiveBroadcast : TLiveBroadcast; AQuery : string = '') : TLiveBroadcast;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'liveBroadcasts';
- _Methodid = 'youtube.liveBroadcasts.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveBroadcast,TLiveBroadcast) as TLiveBroadcast;
- end;
- Function TLiveBroadcastsResource.Update(aLiveBroadcast : TLiveBroadcast; AQuery : TLiveBroadcastsupdateOptions) : TLiveBroadcast;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aLiveBroadcast,_Q);
- end;
- { --------------------------------------------------------------------
- TLiveChatBansResource
- --------------------------------------------------------------------}
- Class Function TLiveChatBansResource.ResourceName : String;
- begin
- Result:='liveChatBans';
- end;
- Class Function TLiveChatBansResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TLiveChatBansResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'liveChat/bans';
- _Methodid = 'youtube.liveChatBans.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TLiveChatBansResource.Delete(AQuery : TLiveChatBansdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- Delete(_Q);
- end;
- Function TLiveChatBansResource.Insert(aLiveChatBan : TLiveChatBan; AQuery : string = '') : TLiveChatBan;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveChat/bans';
- _Methodid = 'youtube.liveChatBans.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveChatBan,TLiveChatBan) as TLiveChatBan;
- end;
- Function TLiveChatBansResource.Insert(aLiveChatBan : TLiveChatBan; AQuery : TLiveChatBansinsertOptions) : TLiveChatBan;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aLiveChatBan,_Q);
- end;
- { --------------------------------------------------------------------
- TLiveChatMessagesResource
- --------------------------------------------------------------------}
- Class Function TLiveChatMessagesResource.ResourceName : String;
- begin
- Result:='liveChatMessages';
- end;
- Class Function TLiveChatMessagesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TLiveChatMessagesResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'liveChat/messages';
- _Methodid = 'youtube.liveChatMessages.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TLiveChatMessagesResource.Delete(AQuery : TLiveChatMessagesdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- Delete(_Q);
- end;
- Function TLiveChatMessagesResource.Insert(aLiveChatMessage : TLiveChatMessage; AQuery : string = '') : TLiveChatMessage;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveChat/messages';
- _Methodid = 'youtube.liveChatMessages.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveChatMessage,TLiveChatMessage) as TLiveChatMessage;
- end;
- Function TLiveChatMessagesResource.Insert(aLiveChatMessage : TLiveChatMessage; AQuery : TLiveChatMessagesinsertOptions) : TLiveChatMessage;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aLiveChatMessage,_Q);
- end;
- Function TLiveChatMessagesResource.List(AQuery : string = '') : TLiveChatMessageListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'liveChat/messages';
- _Methodid = 'youtube.liveChatMessages.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveChatMessageListResponse) as TLiveChatMessageListResponse;
- end;
- Function TLiveChatMessagesResource.List(AQuery : TLiveChatMessageslistOptions) : TLiveChatMessageListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'liveChatId',AQuery.liveChatId);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'profileImageSize',AQuery.profileImageSize);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TLiveChatModeratorsResource
- --------------------------------------------------------------------}
- Class Function TLiveChatModeratorsResource.ResourceName : String;
- begin
- Result:='liveChatModerators';
- end;
- Class Function TLiveChatModeratorsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TLiveChatModeratorsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'liveChat/moderators';
- _Methodid = 'youtube.liveChatModerators.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TLiveChatModeratorsResource.Delete(AQuery : TLiveChatModeratorsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- Delete(_Q);
- end;
- Function TLiveChatModeratorsResource.Insert(aLiveChatModerator : TLiveChatModerator; AQuery : string = '') : TLiveChatModerator;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveChat/moderators';
- _Methodid = 'youtube.liveChatModerators.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveChatModerator,TLiveChatModerator) as TLiveChatModerator;
- end;
- Function TLiveChatModeratorsResource.Insert(aLiveChatModerator : TLiveChatModerator; AQuery : TLiveChatModeratorsinsertOptions) : TLiveChatModerator;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aLiveChatModerator,_Q);
- end;
- Function TLiveChatModeratorsResource.List(AQuery : string = '') : TLiveChatModeratorListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'liveChat/moderators';
- _Methodid = 'youtube.liveChatModerators.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveChatModeratorListResponse) as TLiveChatModeratorListResponse;
- end;
- Function TLiveChatModeratorsResource.List(AQuery : TLiveChatModeratorslistOptions) : TLiveChatModeratorListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'liveChatId',AQuery.liveChatId);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TLiveStreamsResource
- --------------------------------------------------------------------}
- Class Function TLiveStreamsResource.ResourceName : String;
- begin
- Result:='liveStreams';
- end;
- Class Function TLiveStreamsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TLiveStreamsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'liveStreams';
- _Methodid = 'youtube.liveStreams.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TLiveStreamsResource.Delete(AQuery : TLiveStreamsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- Delete(_Q);
- end;
- Function TLiveStreamsResource.Insert(aLiveStream : TLiveStream; AQuery : string = '') : TLiveStream;
- Const
- _HTTPMethod = 'POST';
- _Path = 'liveStreams';
- _Methodid = 'youtube.liveStreams.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveStream,TLiveStream) as TLiveStream;
- end;
- Function TLiveStreamsResource.Insert(aLiveStream : TLiveStream; AQuery : TLiveStreamsinsertOptions) : TLiveStream;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aLiveStream,_Q);
- end;
- Function TLiveStreamsResource.List(AQuery : string = '') : TLiveStreamListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'liveStreams';
- _Methodid = 'youtube.liveStreams.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TLiveStreamListResponse) as TLiveStreamListResponse;
- end;
- Function TLiveStreamsResource.List(AQuery : TLiveStreamslistOptions) : TLiveStreamListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- Function TLiveStreamsResource.Update(aLiveStream : TLiveStream; AQuery : string = '') : TLiveStream;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'liveStreams';
- _Methodid = 'youtube.liveStreams.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aLiveStream,TLiveStream) as TLiveStream;
- end;
- Function TLiveStreamsResource.Update(aLiveStream : TLiveStream; AQuery : TLiveStreamsupdateOptions) : TLiveStream;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aLiveStream,_Q);
- end;
- { --------------------------------------------------------------------
- TPlaylistItemsResource
- --------------------------------------------------------------------}
- Class Function TPlaylistItemsResource.ResourceName : String;
- begin
- Result:='playlistItems';
- end;
- Class Function TPlaylistItemsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TPlaylistItemsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'playlistItems';
- _Methodid = 'youtube.playlistItems.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TPlaylistItemsResource.Delete(AQuery : TPlaylistItemsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- Delete(_Q);
- end;
- Function TPlaylistItemsResource.Insert(aPlaylistItem : TPlaylistItem; AQuery : string = '') : TPlaylistItem;
- Const
- _HTTPMethod = 'POST';
- _Path = 'playlistItems';
- _Methodid = 'youtube.playlistItems.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aPlaylistItem,TPlaylistItem) as TPlaylistItem;
- end;
- Function TPlaylistItemsResource.Insert(aPlaylistItem : TPlaylistItem; AQuery : TPlaylistItemsinsertOptions) : TPlaylistItem;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aPlaylistItem,_Q);
- end;
- Function TPlaylistItemsResource.List(AQuery : string = '') : TPlaylistItemListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'playlistItems';
- _Methodid = 'youtube.playlistItems.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TPlaylistItemListResponse) as TPlaylistItemListResponse;
- end;
- Function TPlaylistItemsResource.List(AQuery : TPlaylistItemslistOptions) : TPlaylistItemListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'playlistId',AQuery.playlistId);
- AddToQuery(_Q,'videoId',AQuery.videoId);
- Result:=List(_Q);
- end;
- Function TPlaylistItemsResource.Update(aPlaylistItem : TPlaylistItem; AQuery : string = '') : TPlaylistItem;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'playlistItems';
- _Methodid = 'youtube.playlistItems.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aPlaylistItem,TPlaylistItem) as TPlaylistItem;
- end;
- Function TPlaylistItemsResource.Update(aPlaylistItem : TPlaylistItem; AQuery : TPlaylistItemsupdateOptions) : TPlaylistItem;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aPlaylistItem,_Q);
- end;
- { --------------------------------------------------------------------
- TPlaylistsResource
- --------------------------------------------------------------------}
- Class Function TPlaylistsResource.ResourceName : String;
- begin
- Result:='playlists';
- end;
- Class Function TPlaylistsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TPlaylistsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'playlists';
- _Methodid = 'youtube.playlists.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TPlaylistsResource.Delete(AQuery : TPlaylistsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Delete(_Q);
- end;
- Function TPlaylistsResource.Insert(aPlaylist : TPlaylist; AQuery : string = '') : TPlaylist;
- Const
- _HTTPMethod = 'POST';
- _Path = 'playlists';
- _Methodid = 'youtube.playlists.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aPlaylist,TPlaylist) as TPlaylist;
- end;
- Function TPlaylistsResource.Insert(aPlaylist : TPlaylist; AQuery : TPlaylistsinsertOptions) : TPlaylist;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aPlaylist,_Q);
- end;
- Function TPlaylistsResource.List(AQuery : string = '') : TPlaylistListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'playlists';
- _Methodid = 'youtube.playlists.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TPlaylistListResponse) as TPlaylistListResponse;
- end;
- Function TPlaylistsResource.List(AQuery : TPlaylistslistOptions) : TPlaylistListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- Function TPlaylistsResource.Update(aPlaylist : TPlaylist; AQuery : string = '') : TPlaylist;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'playlists';
- _Methodid = 'youtube.playlists.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aPlaylist,TPlaylist) as TPlaylist;
- end;
- Function TPlaylistsResource.Update(aPlaylist : TPlaylist; AQuery : TPlaylistsupdateOptions) : TPlaylist;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aPlaylist,_Q);
- end;
- { --------------------------------------------------------------------
- TSearchResource
- --------------------------------------------------------------------}
- Class Function TSearchResource.ResourceName : String;
- begin
- Result:='search';
- end;
- Class Function TSearchResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TSearchResource.List(AQuery : string = '') : TSearchListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'search';
- _Methodid = 'youtube.search.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TSearchListResponse) as TSearchListResponse;
- end;
- Function TSearchResource.List(AQuery : TSearchlistOptions) : TSearchListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'channelType',AQuery.channelType);
- AddToQuery(_Q,'eventType',AQuery.eventType);
- AddToQuery(_Q,'forContentOwner',AQuery.forContentOwner);
- AddToQuery(_Q,'forDeveloper',AQuery.forDeveloper);
- AddToQuery(_Q,'forMine',AQuery.forMine);
- AddToQuery(_Q,'location',AQuery.location);
- AddToQuery(_Q,'locationRadius',AQuery.locationRadius);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'order',AQuery.order);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'publishedAfter',AQuery.publishedAfter);
- AddToQuery(_Q,'publishedBefore',AQuery.publishedBefore);
- AddToQuery(_Q,'q',AQuery.q);
- AddToQuery(_Q,'regionCode',AQuery.regionCode);
- AddToQuery(_Q,'relatedToVideoId',AQuery.relatedToVideoId);
- AddToQuery(_Q,'relevanceLanguage',AQuery.relevanceLanguage);
- AddToQuery(_Q,'safeSearch',AQuery.safeSearch);
- AddToQuery(_Q,'topicId',AQuery.topicId);
- AddToQuery(_Q,'type',AQuery._type);
- AddToQuery(_Q,'videoCaption',AQuery.videoCaption);
- AddToQuery(_Q,'videoCategoryId',AQuery.videoCategoryId);
- AddToQuery(_Q,'videoDefinition',AQuery.videoDefinition);
- AddToQuery(_Q,'videoDimension',AQuery.videoDimension);
- AddToQuery(_Q,'videoDuration',AQuery.videoDuration);
- AddToQuery(_Q,'videoEmbeddable',AQuery.videoEmbeddable);
- AddToQuery(_Q,'videoLicense',AQuery.videoLicense);
- AddToQuery(_Q,'videoSyndicated',AQuery.videoSyndicated);
- AddToQuery(_Q,'videoType',AQuery.videoType);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TSponsorsResource
- --------------------------------------------------------------------}
- Class Function TSponsorsResource.ResourceName : String;
- begin
- Result:='sponsors';
- end;
- Class Function TSponsorsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TSponsorsResource.List(AQuery : string = '') : TSponsorListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'sponsors';
- _Methodid = 'youtube.sponsors.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TSponsorListResponse) as TSponsorListResponse;
- end;
- Function TSponsorsResource.List(AQuery : TSponsorslistOptions) : TSponsorListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'filter',AQuery.filter);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TSubscriptionsResource
- --------------------------------------------------------------------}
- Class Function TSubscriptionsResource.ResourceName : String;
- begin
- Result:='subscriptions';
- end;
- Class Function TSubscriptionsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TSubscriptionsResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'subscriptions';
- _Methodid = 'youtube.subscriptions.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TSubscriptionsResource.Delete(AQuery : TSubscriptionsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- Delete(_Q);
- end;
- Function TSubscriptionsResource.Insert(aSubscription : TSubscription; AQuery : string = '') : TSubscription;
- Const
- _HTTPMethod = 'POST';
- _Path = 'subscriptions';
- _Methodid = 'youtube.subscriptions.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aSubscription,TSubscription) as TSubscription;
- end;
- Function TSubscriptionsResource.Insert(aSubscription : TSubscription; AQuery : TSubscriptionsinsertOptions) : TSubscription;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Insert(aSubscription,_Q);
- end;
- Function TSubscriptionsResource.List(AQuery : string = '') : TSubscriptionListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'subscriptions';
- _Methodid = 'youtube.subscriptions.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TSubscriptionListResponse) as TSubscriptionListResponse;
- end;
- Function TSubscriptionsResource.List(AQuery : TSubscriptionslistOptions) : TSubscriptionListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'forChannelId',AQuery.forChannelId);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'mine',AQuery.mine);
- AddToQuery(_Q,'mySubscribers',AQuery.mySubscribers);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'order',AQuery.order);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TThumbnailsResource
- --------------------------------------------------------------------}
- Class Function TThumbnailsResource.ResourceName : String;
- begin
- Result:='thumbnails';
- end;
- Class Function TThumbnailsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TThumbnailsResource._set(AQuery : string = '') : TThumbnailSetResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'thumbnails/set';
- _Methodid = 'youtube.thumbnails.set';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TThumbnailSetResponse) as TThumbnailSetResponse;
- end;
- Function TThumbnailsResource._set(AQuery : TThumbnailssetOptions) : TThumbnailSetResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'videoId',AQuery.videoId);
- Result:=_set(_Q);
- end;
- { --------------------------------------------------------------------
- TVideoAbuseReportReasonsResource
- --------------------------------------------------------------------}
- Class Function TVideoAbuseReportReasonsResource.ResourceName : String;
- begin
- Result:='videoAbuseReportReasons';
- end;
- Class Function TVideoAbuseReportReasonsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TVideoAbuseReportReasonsResource.List(AQuery : string = '') : TVideoAbuseReportReasonListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'videoAbuseReportReasons';
- _Methodid = 'youtube.videoAbuseReportReasons.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVideoAbuseReportReasonListResponse) as TVideoAbuseReportReasonListResponse;
- end;
- Function TVideoAbuseReportReasonsResource.List(AQuery : TVideoAbuseReportReasonslistOptions) : TVideoAbuseReportReasonListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TVideoCategoriesResource
- --------------------------------------------------------------------}
- Class Function TVideoCategoriesResource.ResourceName : String;
- begin
- Result:='videoCategories';
- end;
- Class Function TVideoCategoriesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Function TVideoCategoriesResource.List(AQuery : string = '') : TVideoCategoryListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'videoCategories';
- _Methodid = 'youtube.videoCategories.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVideoCategoryListResponse) as TVideoCategoryListResponse;
- end;
- Function TVideoCategoriesResource.List(AQuery : TVideoCategorieslistOptions) : TVideoCategoryListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'regionCode',AQuery.regionCode);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TVideosResource
- --------------------------------------------------------------------}
- Class Function TVideosResource.ResourceName : String;
- begin
- Result:='videos';
- end;
- Class Function TVideosResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TVideosResource.Delete(AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'videos';
- _Methodid = 'youtube.videos.delete';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TVideosResource.Delete(AQuery : TVideosdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Delete(_Q);
- end;
- Function TVideosResource.GetRating(AQuery : string = '') : TVideoGetRatingResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'videos/getRating';
- _Methodid = 'youtube.videos.getRating';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVideoGetRatingResponse) as TVideoGetRatingResponse;
- end;
- Function TVideosResource.GetRating(AQuery : TVideosgetRatingOptions) : TVideoGetRatingResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Result:=GetRating(_Q);
- end;
- Function TVideosResource.Insert(aVideo : TVideo; AQuery : string = '') : TVideo;
- Const
- _HTTPMethod = 'POST';
- _Path = 'videos';
- _Methodid = 'youtube.videos.insert';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aVideo,TVideo) as TVideo;
- end;
- Function TVideosResource.Insert(aVideo : TVideo; AQuery : TVideosinsertOptions) : TVideo;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'autoLevels',AQuery.autoLevels);
- AddToQuery(_Q,'notifySubscribers',AQuery.notifySubscribers);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'onBehalfOfContentOwnerChannel',AQuery.onBehalfOfContentOwnerChannel);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'stabilize',AQuery.stabilize);
- Result:=Insert(aVideo,_Q);
- end;
- Function TVideosResource.List(AQuery : string = '') : TVideoListResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'videos';
- _Methodid = 'youtube.videos.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TVideoListResponse) as TVideoListResponse;
- end;
- Function TVideosResource.List(AQuery : TVideoslistOptions) : TVideoListResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'chart',AQuery.chart);
- AddToQuery(_Q,'hl',AQuery.hl);
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'locale',AQuery.locale);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'myRating',AQuery.myRating);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'part',AQuery.part);
- AddToQuery(_Q,'regionCode',AQuery.regionCode);
- AddToQuery(_Q,'videoCategoryId',AQuery.videoCategoryId);
- Result:=List(_Q);
- end;
- Procedure TVideosResource.Rate(AQuery : string = '');
- Const
- _HTTPMethod = 'POST';
- _Path = 'videos/rate';
- _Methodid = 'youtube.videos.rate';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TVideosResource.Rate(AQuery : TVideosrateOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'id',AQuery.id);
- AddToQuery(_Q,'rating',AQuery.rating);
- Rate(_Q);
- end;
- Procedure TVideosResource.ReportAbuse(aVideoAbuseReport : TVideoAbuseReport; AQuery : string = '');
- Const
- _HTTPMethod = 'POST';
- _Path = 'videos/reportAbuse';
- _Methodid = 'youtube.videos.reportAbuse';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,aVideoAbuseReport,Nil);
- end;
- Procedure TVideosResource.ReportAbuse(aVideoAbuseReport : TVideoAbuseReport; AQuery : TVideosreportAbuseOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- ReportAbuse(aVideoAbuseReport,_Q);
- end;
- Function TVideosResource.Update(aVideo : TVideo; AQuery : string = '') : TVideo;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'videos';
- _Methodid = 'youtube.videos.update';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,aVideo,TVideo) as TVideo;
- end;
- Function TVideosResource.Update(aVideo : TVideo; AQuery : TVideosupdateOptions) : TVideo;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- AddToQuery(_Q,'part',AQuery.part);
- Result:=Update(aVideo,_Q);
- end;
- { --------------------------------------------------------------------
- TWatermarksResource
- --------------------------------------------------------------------}
- Class Function TWatermarksResource.ResourceName : String;
- begin
- Result:='watermarks';
- end;
- Class Function TWatermarksResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TyoutubeAPI;
- end;
- Procedure TWatermarksResource._set(aInvideoBranding : TInvideoBranding; AQuery : string = '');
- Const
- _HTTPMethod = 'POST';
- _Path = 'watermarks/set';
- _Methodid = 'youtube.watermarks.set';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,aInvideoBranding,Nil);
- end;
- Procedure TWatermarksResource._set(aInvideoBranding : TInvideoBranding; AQuery : TWatermarkssetOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- _set(aInvideoBranding,_Q);
- end;
- Procedure TWatermarksResource.Unset(AQuery : string = '');
- Const
- _HTTPMethod = 'POST';
- _Path = 'watermarks/unset';
- _Methodid = 'youtube.watermarks.unset';
- begin
- ServiceCall(_HTTPMethod,_Path,AQuery,Nil,Nil);
- end;
- Procedure TWatermarksResource.Unset(AQuery : TWatermarksunsetOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'channelId',AQuery.channelId);
- AddToQuery(_Q,'onBehalfOfContentOwner',AQuery.onBehalfOfContentOwner);
- Unset(_Q);
- end;
- { --------------------------------------------------------------------
- TYoutubeAPI
- --------------------------------------------------------------------}
- Class Function TYoutubeAPI.APIName : String;
- begin
- Result:='youtube';
- end;
- Class Function TYoutubeAPI.APIVersion : String;
- begin
- Result:='v3';
- end;
- Class Function TYoutubeAPI.APIRevision : String;
- begin
- Result:='20160509';
- end;
- Class Function TYoutubeAPI.APIID : String;
- begin
- Result:='youtube:v3';
- end;
- Class Function TYoutubeAPI.APITitle : String;
- begin
- Result:='YouTube Data API';
- end;
- Class Function TYoutubeAPI.APIDescription : String;
- begin
- Result:='Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.';
- end;
- Class Function TYoutubeAPI.APIOwnerDomain : String;
- begin
- Result:='google.com';
- end;
- Class Function TYoutubeAPI.APIOwnerName : String;
- begin
- Result:='Google';
- end;
- Class Function TYoutubeAPI.APIIcon16 : String;
- begin
- Result:='https://www.google.com/images/icons/product/youtube-16.png';
- end;
- Class Function TYoutubeAPI.APIIcon32 : String;
- begin
- Result:='https://www.google.com/images/icons/product/youtube-32.png';
- end;
- Class Function TYoutubeAPI.APIdocumentationLink : String;
- begin
- Result:='https://developers.google.com/youtube/v3';
- end;
- Class Function TYoutubeAPI.APIrootUrl : string;
- begin
- Result:='https://www.googleapis.com/';
- end;
- Class Function TYoutubeAPI.APIbasePath : string;
- begin
- Result:='/youtube/v3/';
- end;
- Class Function TYoutubeAPI.APIbaseURL : String;
- begin
- Result:='https://www.googleapis.com/youtube/v3/';
- end;
- Class Function TYoutubeAPI.APIProtocol : string;
- begin
- Result:='rest';
- end;
- Class Function TYoutubeAPI.APIservicePath : string;
- begin
- Result:='youtube/v3/';
- end;
- Class Function TYoutubeAPI.APIbatchPath : String;
- begin
- Result:='batch';
- end;
- Class Function TYoutubeAPI.APIAuthScopes : TScopeInfoArray;
- begin
- SetLength(Result,6);
- Result[0].Name:='https://www.googleapis.com/auth/youtube';
- Result[0].Description:='Manage your YouTube account';
- Result[1].Name:='https://www.googleapis.com/auth/youtube.force-ssl';
- Result[1].Description:='Manage your YouTube account';
- Result[2].Name:='https://www.googleapis.com/auth/youtube.readonly';
- Result[2].Description:='View your YouTube account';
- Result[3].Name:='https://www.googleapis.com/auth/youtube.upload';
- Result[3].Description:='Manage your YouTube videos';
- Result[4].Name:='https://www.googleapis.com/auth/youtubepartner';
- Result[4].Description:='View and manage your assets and associated content on YouTube';
- Result[5].Name:='https://www.googleapis.com/auth/youtubepartner-channel-audit';
- Result[5].Description:='View private information of your YouTube channel relevant during the audit process with a YouTube partner';
-
- end;
- Class Function TYoutubeAPI.APINeedsAuth : Boolean;
- begin
- Result:=True;
- end;
- Class Procedure TYoutubeAPI.RegisterAPIResources;
- begin
- TAccessPolicy.RegisterObject;
- TActivity.RegisterObject;
- TActivityContentDetails.RegisterObject;
- TActivityContentDetailsBulletin.RegisterObject;
- TActivityContentDetailsChannelItem.RegisterObject;
- TActivityContentDetailsComment.RegisterObject;
- TActivityContentDetailsFavorite.RegisterObject;
- TActivityContentDetailsLike.RegisterObject;
- TActivityContentDetailsPlaylistItem.RegisterObject;
- TActivityContentDetailsPromotedItem.RegisterObject;
- TActivityContentDetailsRecommendation.RegisterObject;
- TActivityContentDetailsSocial.RegisterObject;
- TActivityContentDetailsSubscription.RegisterObject;
- TActivityContentDetailsUpload.RegisterObject;
- TActivityListResponse.RegisterObject;
- TActivitySnippet.RegisterObject;
- TCaption.RegisterObject;
- TCaptionListResponse.RegisterObject;
- TCaptionSnippet.RegisterObject;
- TCdnSettings.RegisterObject;
- TChannelTypelocalizations.RegisterObject;
- TChannel.RegisterObject;
- TChannelAuditDetails.RegisterObject;
- TChannelBannerResource.RegisterObject;
- TChannelBrandingSettings.RegisterObject;
- TChannelContentDetailsTyperelatedPlaylists.RegisterObject;
- TChannelContentDetails.RegisterObject;
- TChannelContentOwnerDetails.RegisterObject;
- TChannelConversionPing.RegisterObject;
- TChannelConversionPings.RegisterObject;
- TChannelListResponse.RegisterObject;
- TChannelLocalization.RegisterObject;
- TChannelProfileDetails.RegisterObject;
- TChannelSectionTypelocalizations.RegisterObject;
- TChannelSection.RegisterObject;
- TChannelSectionContentDetails.RegisterObject;
- TChannelSectionListResponse.RegisterObject;
- TChannelSectionLocalization.RegisterObject;
- TChannelSectionSnippet.RegisterObject;
- TChannelSectionTargeting.RegisterObject;
- TChannelSettings.RegisterObject;
- TChannelSnippet.RegisterObject;
- TChannelStatistics.RegisterObject;
- TChannelStatus.RegisterObject;
- TChannelTopicDetails.RegisterObject;
- TComment.RegisterObject;
- TCommentListResponse.RegisterObject;
- TCommentSnippet.RegisterObject;
- TCommentThread.RegisterObject;
- TCommentThreadListResponse.RegisterObject;
- TCommentThreadReplies.RegisterObject;
- TCommentThreadSnippet.RegisterObject;
- TContentRating.RegisterObject;
- TFanFundingEvent.RegisterObject;
- TFanFundingEventListResponse.RegisterObject;
- TFanFundingEventSnippet.RegisterObject;
- TGeoPoint.RegisterObject;
- TGuideCategory.RegisterObject;
- TGuideCategoryListResponse.RegisterObject;
- TGuideCategorySnippet.RegisterObject;
- TI18nLanguage.RegisterObject;
- TI18nLanguageListResponse.RegisterObject;
- TI18nLanguageSnippet.RegisterObject;
- TI18nRegion.RegisterObject;
- TI18nRegionListResponse.RegisterObject;
- TI18nRegionSnippet.RegisterObject;
- TImageSettings.RegisterObject;
- TIngestionInfo.RegisterObject;
- TInvideoBranding.RegisterObject;
- TInvideoPosition.RegisterObject;
- TInvideoPromotion.RegisterObject;
- TInvideoTiming.RegisterObject;
- TLanguageTag.RegisterObject;
- TLiveBroadcast.RegisterObject;
- TLiveBroadcastContentDetails.RegisterObject;
- TLiveBroadcastListResponse.RegisterObject;
- TLiveBroadcastSnippet.RegisterObject;
- TLiveBroadcastStatistics.RegisterObject;
- TLiveBroadcastStatus.RegisterObject;
- TLiveBroadcastTopic.RegisterObject;
- TLiveBroadcastTopicDetails.RegisterObject;
- TLiveBroadcastTopicSnippet.RegisterObject;
- TLiveChatBan.RegisterObject;
- TLiveChatBanSnippet.RegisterObject;
- TLiveChatFanFundingEventDetails.RegisterObject;
- TLiveChatMessage.RegisterObject;
- TLiveChatMessageAuthorDetails.RegisterObject;
- TLiveChatMessageDeletedDetails.RegisterObject;
- TLiveChatMessageListResponse.RegisterObject;
- TLiveChatMessageRetractedDetails.RegisterObject;
- TLiveChatMessageSnippet.RegisterObject;
- TLiveChatModerator.RegisterObject;
- TLiveChatModeratorListResponse.RegisterObject;
- TLiveChatModeratorSnippet.RegisterObject;
- TLiveChatTextMessageDetails.RegisterObject;
- TLiveChatUserBannedMessageDetails.RegisterObject;
- TLiveStream.RegisterObject;
- TLiveStreamConfigurationIssue.RegisterObject;
- TLiveStreamContentDetails.RegisterObject;
- TLiveStreamHealthStatus.RegisterObject;
- TLiveStreamListResponse.RegisterObject;
- TLiveStreamSnippet.RegisterObject;
- TLiveStreamStatus.RegisterObject;
- TLocalizedProperty.RegisterObject;
- TLocalizedString.RegisterObject;
- TMonitorStreamInfo.RegisterObject;
- TPageInfo.RegisterObject;
- TPlaylistTypelocalizations.RegisterObject;
- TPlaylist.RegisterObject;
- TPlaylistContentDetails.RegisterObject;
- TPlaylistItem.RegisterObject;
- TPlaylistItemContentDetails.RegisterObject;
- TPlaylistItemListResponse.RegisterObject;
- TPlaylistItemSnippet.RegisterObject;
- TPlaylistItemStatus.RegisterObject;
- TPlaylistListResponse.RegisterObject;
- TPlaylistLocalization.RegisterObject;
- TPlaylistPlayer.RegisterObject;
- TPlaylistSnippet.RegisterObject;
- TPlaylistStatus.RegisterObject;
- TPromotedItem.RegisterObject;
- TPromotedItemId.RegisterObject;
- TPropertyValue.RegisterObject;
- TResourceId.RegisterObject;
- TSearchListResponse.RegisterObject;
- TSearchResult.RegisterObject;
- TSearchResultSnippet.RegisterObject;
- TSponsor.RegisterObject;
- TSponsorListResponse.RegisterObject;
- TSponsorSnippet.RegisterObject;
- TSubscription.RegisterObject;
- TSubscriptionContentDetails.RegisterObject;
- TSubscriptionListResponse.RegisterObject;
- TSubscriptionSnippet.RegisterObject;
- TSubscriptionSubscriberSnippet.RegisterObject;
- TThumbnail.RegisterObject;
- TThumbnailDetails.RegisterObject;
- TThumbnailSetResponse.RegisterObject;
- TTokenPagination.RegisterObject;
- TVideoTypelocalizations.RegisterObject;
- TVideo.RegisterObject;
- TVideoAbuseReport.RegisterObject;
- TVideoAbuseReportReason.RegisterObject;
- TVideoAbuseReportReasonListResponse.RegisterObject;
- TVideoAbuseReportReasonSnippet.RegisterObject;
- TVideoAbuseReportSecondaryReason.RegisterObject;
- TVideoAgeGating.RegisterObject;
- TVideoCategory.RegisterObject;
- TVideoCategoryListResponse.RegisterObject;
- TVideoCategorySnippet.RegisterObject;
- TVideoContentDetails.RegisterObject;
- TVideoContentDetailsRegionRestriction.RegisterObject;
- TVideoFileDetails.RegisterObject;
- TVideoFileDetailsAudioStream.RegisterObject;
- TVideoFileDetailsVideoStream.RegisterObject;
- TVideoGetRatingResponse.RegisterObject;
- TVideoListResponse.RegisterObject;
- TVideoLiveStreamingDetails.RegisterObject;
- TVideoLocalization.RegisterObject;
- TVideoMonetizationDetails.RegisterObject;
- TVideoPlayer.RegisterObject;
- TVideoProcessingDetails.RegisterObject;
- TVideoProcessingDetailsProcessingProgress.RegisterObject;
- TVideoProjectDetails.RegisterObject;
- TVideoRating.RegisterObject;
- TVideoRecordingDetails.RegisterObject;
- TVideoSnippet.RegisterObject;
- TVideoStatistics.RegisterObject;
- TVideoStatus.RegisterObject;
- TVideoSuggestions.RegisterObject;
- TVideoSuggestionsTagSuggestion.RegisterObject;
- TVideoTopicDetails.RegisterObject;
- TWatchSettings.RegisterObject;
- end;
- Function TYoutubeAPI.GetActivitiesInstance : TActivitiesResource;
- begin
- if (FActivitiesInstance=Nil) then
- FActivitiesInstance:=CreateActivitiesResource;
- Result:=FActivitiesInstance;
- end;
- Function TYoutubeAPI.CreateActivitiesResource : TActivitiesResource;
- begin
- Result:=CreateActivitiesResource(Self);
- end;
- Function TYoutubeAPI.CreateActivitiesResource(AOwner : TComponent) : TActivitiesResource;
- begin
- Result:=TActivitiesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetCaptionsInstance : TCaptionsResource;
- begin
- if (FCaptionsInstance=Nil) then
- FCaptionsInstance:=CreateCaptionsResource;
- Result:=FCaptionsInstance;
- end;
- Function TYoutubeAPI.CreateCaptionsResource : TCaptionsResource;
- begin
- Result:=CreateCaptionsResource(Self);
- end;
- Function TYoutubeAPI.CreateCaptionsResource(AOwner : TComponent) : TCaptionsResource;
- begin
- Result:=TCaptionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetChannelBannersInstance : TChannelBannersResource;
- begin
- if (FChannelBannersInstance=Nil) then
- FChannelBannersInstance:=CreateChannelBannersResource;
- Result:=FChannelBannersInstance;
- end;
- Function TYoutubeAPI.CreateChannelBannersResource : TChannelBannersResource;
- begin
- Result:=CreateChannelBannersResource(Self);
- end;
- Function TYoutubeAPI.CreateChannelBannersResource(AOwner : TComponent) : TChannelBannersResource;
- begin
- Result:=TChannelBannersResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetChannelSectionsInstance : TChannelSectionsResource;
- begin
- if (FChannelSectionsInstance=Nil) then
- FChannelSectionsInstance:=CreateChannelSectionsResource;
- Result:=FChannelSectionsInstance;
- end;
- Function TYoutubeAPI.CreateChannelSectionsResource : TChannelSectionsResource;
- begin
- Result:=CreateChannelSectionsResource(Self);
- end;
- Function TYoutubeAPI.CreateChannelSectionsResource(AOwner : TComponent) : TChannelSectionsResource;
- begin
- Result:=TChannelSectionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetChannelsInstance : TChannelsResource;
- begin
- if (FChannelsInstance=Nil) then
- FChannelsInstance:=CreateChannelsResource;
- Result:=FChannelsInstance;
- end;
- Function TYoutubeAPI.CreateChannelsResource : TChannelsResource;
- begin
- Result:=CreateChannelsResource(Self);
- end;
- Function TYoutubeAPI.CreateChannelsResource(AOwner : TComponent) : TChannelsResource;
- begin
- Result:=TChannelsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetCommentThreadsInstance : TCommentThreadsResource;
- begin
- if (FCommentThreadsInstance=Nil) then
- FCommentThreadsInstance:=CreateCommentThreadsResource;
- Result:=FCommentThreadsInstance;
- end;
- Function TYoutubeAPI.CreateCommentThreadsResource : TCommentThreadsResource;
- begin
- Result:=CreateCommentThreadsResource(Self);
- end;
- Function TYoutubeAPI.CreateCommentThreadsResource(AOwner : TComponent) : TCommentThreadsResource;
- begin
- Result:=TCommentThreadsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetCommentsInstance : TCommentsResource;
- begin
- if (FCommentsInstance=Nil) then
- FCommentsInstance:=CreateCommentsResource;
- Result:=FCommentsInstance;
- end;
- Function TYoutubeAPI.CreateCommentsResource : TCommentsResource;
- begin
- Result:=CreateCommentsResource(Self);
- end;
- Function TYoutubeAPI.CreateCommentsResource(AOwner : TComponent) : TCommentsResource;
- begin
- Result:=TCommentsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetFanFundingEventsInstance : TFanFundingEventsResource;
- begin
- if (FFanFundingEventsInstance=Nil) then
- FFanFundingEventsInstance:=CreateFanFundingEventsResource;
- Result:=FFanFundingEventsInstance;
- end;
- Function TYoutubeAPI.CreateFanFundingEventsResource : TFanFundingEventsResource;
- begin
- Result:=CreateFanFundingEventsResource(Self);
- end;
- Function TYoutubeAPI.CreateFanFundingEventsResource(AOwner : TComponent) : TFanFundingEventsResource;
- begin
- Result:=TFanFundingEventsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetGuideCategoriesInstance : TGuideCategoriesResource;
- begin
- if (FGuideCategoriesInstance=Nil) then
- FGuideCategoriesInstance:=CreateGuideCategoriesResource;
- Result:=FGuideCategoriesInstance;
- end;
- Function TYoutubeAPI.CreateGuideCategoriesResource : TGuideCategoriesResource;
- begin
- Result:=CreateGuideCategoriesResource(Self);
- end;
- Function TYoutubeAPI.CreateGuideCategoriesResource(AOwner : TComponent) : TGuideCategoriesResource;
- begin
- Result:=TGuideCategoriesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetI18nLanguagesInstance : TI18nLanguagesResource;
- begin
- if (FI18nLanguagesInstance=Nil) then
- FI18nLanguagesInstance:=CreateI18nLanguagesResource;
- Result:=FI18nLanguagesInstance;
- end;
- Function TYoutubeAPI.CreateI18nLanguagesResource : TI18nLanguagesResource;
- begin
- Result:=CreateI18nLanguagesResource(Self);
- end;
- Function TYoutubeAPI.CreateI18nLanguagesResource(AOwner : TComponent) : TI18nLanguagesResource;
- begin
- Result:=TI18nLanguagesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetI18nRegionsInstance : TI18nRegionsResource;
- begin
- if (FI18nRegionsInstance=Nil) then
- FI18nRegionsInstance:=CreateI18nRegionsResource;
- Result:=FI18nRegionsInstance;
- end;
- Function TYoutubeAPI.CreateI18nRegionsResource : TI18nRegionsResource;
- begin
- Result:=CreateI18nRegionsResource(Self);
- end;
- Function TYoutubeAPI.CreateI18nRegionsResource(AOwner : TComponent) : TI18nRegionsResource;
- begin
- Result:=TI18nRegionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetLiveBroadcastsInstance : TLiveBroadcastsResource;
- begin
- if (FLiveBroadcastsInstance=Nil) then
- FLiveBroadcastsInstance:=CreateLiveBroadcastsResource;
- Result:=FLiveBroadcastsInstance;
- end;
- Function TYoutubeAPI.CreateLiveBroadcastsResource : TLiveBroadcastsResource;
- begin
- Result:=CreateLiveBroadcastsResource(Self);
- end;
- Function TYoutubeAPI.CreateLiveBroadcastsResource(AOwner : TComponent) : TLiveBroadcastsResource;
- begin
- Result:=TLiveBroadcastsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetLiveChatBansInstance : TLiveChatBansResource;
- begin
- if (FLiveChatBansInstance=Nil) then
- FLiveChatBansInstance:=CreateLiveChatBansResource;
- Result:=FLiveChatBansInstance;
- end;
- Function TYoutubeAPI.CreateLiveChatBansResource : TLiveChatBansResource;
- begin
- Result:=CreateLiveChatBansResource(Self);
- end;
- Function TYoutubeAPI.CreateLiveChatBansResource(AOwner : TComponent) : TLiveChatBansResource;
- begin
- Result:=TLiveChatBansResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetLiveChatMessagesInstance : TLiveChatMessagesResource;
- begin
- if (FLiveChatMessagesInstance=Nil) then
- FLiveChatMessagesInstance:=CreateLiveChatMessagesResource;
- Result:=FLiveChatMessagesInstance;
- end;
- Function TYoutubeAPI.CreateLiveChatMessagesResource : TLiveChatMessagesResource;
- begin
- Result:=CreateLiveChatMessagesResource(Self);
- end;
- Function TYoutubeAPI.CreateLiveChatMessagesResource(AOwner : TComponent) : TLiveChatMessagesResource;
- begin
- Result:=TLiveChatMessagesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetLiveChatModeratorsInstance : TLiveChatModeratorsResource;
- begin
- if (FLiveChatModeratorsInstance=Nil) then
- FLiveChatModeratorsInstance:=CreateLiveChatModeratorsResource;
- Result:=FLiveChatModeratorsInstance;
- end;
- Function TYoutubeAPI.CreateLiveChatModeratorsResource : TLiveChatModeratorsResource;
- begin
- Result:=CreateLiveChatModeratorsResource(Self);
- end;
- Function TYoutubeAPI.CreateLiveChatModeratorsResource(AOwner : TComponent) : TLiveChatModeratorsResource;
- begin
- Result:=TLiveChatModeratorsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetLiveStreamsInstance : TLiveStreamsResource;
- begin
- if (FLiveStreamsInstance=Nil) then
- FLiveStreamsInstance:=CreateLiveStreamsResource;
- Result:=FLiveStreamsInstance;
- end;
- Function TYoutubeAPI.CreateLiveStreamsResource : TLiveStreamsResource;
- begin
- Result:=CreateLiveStreamsResource(Self);
- end;
- Function TYoutubeAPI.CreateLiveStreamsResource(AOwner : TComponent) : TLiveStreamsResource;
- begin
- Result:=TLiveStreamsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetPlaylistItemsInstance : TPlaylistItemsResource;
- begin
- if (FPlaylistItemsInstance=Nil) then
- FPlaylistItemsInstance:=CreatePlaylistItemsResource;
- Result:=FPlaylistItemsInstance;
- end;
- Function TYoutubeAPI.CreatePlaylistItemsResource : TPlaylistItemsResource;
- begin
- Result:=CreatePlaylistItemsResource(Self);
- end;
- Function TYoutubeAPI.CreatePlaylistItemsResource(AOwner : TComponent) : TPlaylistItemsResource;
- begin
- Result:=TPlaylistItemsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetPlaylistsInstance : TPlaylistsResource;
- begin
- if (FPlaylistsInstance=Nil) then
- FPlaylistsInstance:=CreatePlaylistsResource;
- Result:=FPlaylistsInstance;
- end;
- Function TYoutubeAPI.CreatePlaylistsResource : TPlaylistsResource;
- begin
- Result:=CreatePlaylistsResource(Self);
- end;
- Function TYoutubeAPI.CreatePlaylistsResource(AOwner : TComponent) : TPlaylistsResource;
- begin
- Result:=TPlaylistsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetSearchInstance : TSearchResource;
- begin
- if (FSearchInstance=Nil) then
- FSearchInstance:=CreateSearchResource;
- Result:=FSearchInstance;
- end;
- Function TYoutubeAPI.CreateSearchResource : TSearchResource;
- begin
- Result:=CreateSearchResource(Self);
- end;
- Function TYoutubeAPI.CreateSearchResource(AOwner : TComponent) : TSearchResource;
- begin
- Result:=TSearchResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetSponsorsInstance : TSponsorsResource;
- begin
- if (FSponsorsInstance=Nil) then
- FSponsorsInstance:=CreateSponsorsResource;
- Result:=FSponsorsInstance;
- end;
- Function TYoutubeAPI.CreateSponsorsResource : TSponsorsResource;
- begin
- Result:=CreateSponsorsResource(Self);
- end;
- Function TYoutubeAPI.CreateSponsorsResource(AOwner : TComponent) : TSponsorsResource;
- begin
- Result:=TSponsorsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetSubscriptionsInstance : TSubscriptionsResource;
- begin
- if (FSubscriptionsInstance=Nil) then
- FSubscriptionsInstance:=CreateSubscriptionsResource;
- Result:=FSubscriptionsInstance;
- end;
- Function TYoutubeAPI.CreateSubscriptionsResource : TSubscriptionsResource;
- begin
- Result:=CreateSubscriptionsResource(Self);
- end;
- Function TYoutubeAPI.CreateSubscriptionsResource(AOwner : TComponent) : TSubscriptionsResource;
- begin
- Result:=TSubscriptionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetThumbnailsInstance : TThumbnailsResource;
- begin
- if (FThumbnailsInstance=Nil) then
- FThumbnailsInstance:=CreateThumbnailsResource;
- Result:=FThumbnailsInstance;
- end;
- Function TYoutubeAPI.CreateThumbnailsResource : TThumbnailsResource;
- begin
- Result:=CreateThumbnailsResource(Self);
- end;
- Function TYoutubeAPI.CreateThumbnailsResource(AOwner : TComponent) : TThumbnailsResource;
- begin
- Result:=TThumbnailsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetVideoAbuseReportReasonsInstance : TVideoAbuseReportReasonsResource;
- begin
- if (FVideoAbuseReportReasonsInstance=Nil) then
- FVideoAbuseReportReasonsInstance:=CreateVideoAbuseReportReasonsResource;
- Result:=FVideoAbuseReportReasonsInstance;
- end;
- Function TYoutubeAPI.CreateVideoAbuseReportReasonsResource : TVideoAbuseReportReasonsResource;
- begin
- Result:=CreateVideoAbuseReportReasonsResource(Self);
- end;
- Function TYoutubeAPI.CreateVideoAbuseReportReasonsResource(AOwner : TComponent) : TVideoAbuseReportReasonsResource;
- begin
- Result:=TVideoAbuseReportReasonsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetVideoCategoriesInstance : TVideoCategoriesResource;
- begin
- if (FVideoCategoriesInstance=Nil) then
- FVideoCategoriesInstance:=CreateVideoCategoriesResource;
- Result:=FVideoCategoriesInstance;
- end;
- Function TYoutubeAPI.CreateVideoCategoriesResource : TVideoCategoriesResource;
- begin
- Result:=CreateVideoCategoriesResource(Self);
- end;
- Function TYoutubeAPI.CreateVideoCategoriesResource(AOwner : TComponent) : TVideoCategoriesResource;
- begin
- Result:=TVideoCategoriesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetVideosInstance : TVideosResource;
- begin
- if (FVideosInstance=Nil) then
- FVideosInstance:=CreateVideosResource;
- Result:=FVideosInstance;
- end;
- Function TYoutubeAPI.CreateVideosResource : TVideosResource;
- begin
- Result:=CreateVideosResource(Self);
- end;
- Function TYoutubeAPI.CreateVideosResource(AOwner : TComponent) : TVideosResource;
- begin
- Result:=TVideosResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TYoutubeAPI.GetWatermarksInstance : TWatermarksResource;
- begin
- if (FWatermarksInstance=Nil) then
- FWatermarksInstance:=CreateWatermarksResource;
- Result:=FWatermarksInstance;
- end;
- Function TYoutubeAPI.CreateWatermarksResource : TWatermarksResource;
- begin
- Result:=CreateWatermarksResource(Self);
- end;
- Function TYoutubeAPI.CreateWatermarksResource(AOwner : TComponent) : TWatermarksResource;
- begin
- Result:=TWatermarksResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- initialization
- TYoutubeAPI.RegisterAPI;
- end.
|