googlegenomics.pp 259 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217
  1. unit googlegenomics;
  2. {$MODE objfpc}
  3. {$H+}
  4. interface
  5. uses sysutils, classes, googleservice, restbase, googlebase;
  6. type
  7. //Top-level schema types
  8. TAnnotationSet = Class;
  9. TEmpty = Class;
  10. TSearchAnnotationSetsRequest = Class;
  11. TSearchAnnotationSetsResponse = Class;
  12. TAnnotation = Class;
  13. TVariantAnnotation = Class;
  14. TClinicalCondition = Class;
  15. TExternalId = Class;
  16. TTranscript = Class;
  17. TExon = Class;
  18. TCodingSequence = Class;
  19. TBatchCreateAnnotationsRequest = Class;
  20. TBatchCreateAnnotationsResponse = Class;
  21. TEntry = Class;
  22. TStatus = Class;
  23. TSearchAnnotationsRequest = Class;
  24. TSearchAnnotationsResponse = Class;
  25. TListDatasetsResponse = Class;
  26. TDataset = Class;
  27. TUndeleteDatasetRequest = Class;
  28. TSetIamPolicyRequest = Class;
  29. TPolicy = Class;
  30. TBinding = Class;
  31. TGetIamPolicyRequest = Class;
  32. TTestIamPermissionsRequest = Class;
  33. TTestIamPermissionsResponse = Class;
  34. TOperation = Class;
  35. TListOperationsResponse = Class;
  36. TCancelOperationRequest = Class;
  37. TImportReadGroupSetsRequest = Class;
  38. TExportReadGroupSetRequest = Class;
  39. TSearchReadGroupSetsRequest = Class;
  40. TSearchReadGroupSetsResponse = Class;
  41. TReadGroupSet = Class;
  42. TReadGroup = Class;
  43. TExperiment = Class;
  44. TProgram = Class;
  45. TListCoverageBucketsResponse = Class;
  46. TCoverageBucket = Class;
  47. TRange = Class;
  48. TSearchReadsRequest = Class;
  49. TSearchReadsResponse = Class;
  50. TRead = Class;
  51. TLinearAlignment = Class;
  52. TPosition = Class;
  53. TCigarUnit = Class;
  54. TStreamReadsRequest = Class;
  55. TStreamReadsResponse = Class;
  56. TSearchReferenceSetsRequest = Class;
  57. TSearchReferenceSetsResponse = Class;
  58. TReferenceSet = Class;
  59. TSearchReferencesRequest = Class;
  60. TSearchReferencesResponse = Class;
  61. TReference = Class;
  62. TListBasesResponse = Class;
  63. TImportVariantsRequest = Class;
  64. TVariantSet = Class;
  65. TReferenceBound = Class;
  66. TVariantSetMetadata = Class;
  67. TExportVariantSetRequest = Class;
  68. TSearchVariantSetsRequest = Class;
  69. TSearchVariantSetsResponse = Class;
  70. TSearchVariantsRequest = Class;
  71. TSearchVariantsResponse = Class;
  72. TVariant = Class;
  73. TVariantCall = Class;
  74. TMergeVariantsRequest = Class;
  75. TSearchCallSetsRequest = Class;
  76. TSearchCallSetsResponse = Class;
  77. TCallSet = Class;
  78. TStreamVariantsRequest = Class;
  79. TStreamVariantsResponse = Class;
  80. TImportReadGroupSetsResponse = Class;
  81. TImportVariantsResponse = Class;
  82. TOperationMetadata = Class;
  83. TOperationEvent = Class;
  84. TAnnotationSetArray = Array of TAnnotationSet;
  85. TEmptyArray = Array of TEmpty;
  86. TSearchAnnotationSetsRequestArray = Array of TSearchAnnotationSetsRequest;
  87. TSearchAnnotationSetsResponseArray = Array of TSearchAnnotationSetsResponse;
  88. TAnnotationArray = Array of TAnnotation;
  89. TVariantAnnotationArray = Array of TVariantAnnotation;
  90. TClinicalConditionArray = Array of TClinicalCondition;
  91. TExternalIdArray = Array of TExternalId;
  92. TTranscriptArray = Array of TTranscript;
  93. TExonArray = Array of TExon;
  94. TCodingSequenceArray = Array of TCodingSequence;
  95. TBatchCreateAnnotationsRequestArray = Array of TBatchCreateAnnotationsRequest;
  96. TBatchCreateAnnotationsResponseArray = Array of TBatchCreateAnnotationsResponse;
  97. TEntryArray = Array of TEntry;
  98. TStatusArray = Array of TStatus;
  99. TSearchAnnotationsRequestArray = Array of TSearchAnnotationsRequest;
  100. TSearchAnnotationsResponseArray = Array of TSearchAnnotationsResponse;
  101. TListDatasetsResponseArray = Array of TListDatasetsResponse;
  102. TDatasetArray = Array of TDataset;
  103. TUndeleteDatasetRequestArray = Array of TUndeleteDatasetRequest;
  104. TSetIamPolicyRequestArray = Array of TSetIamPolicyRequest;
  105. TPolicyArray = Array of TPolicy;
  106. TBindingArray = Array of TBinding;
  107. TGetIamPolicyRequestArray = Array of TGetIamPolicyRequest;
  108. TTestIamPermissionsRequestArray = Array of TTestIamPermissionsRequest;
  109. TTestIamPermissionsResponseArray = Array of TTestIamPermissionsResponse;
  110. TOperationArray = Array of TOperation;
  111. TListOperationsResponseArray = Array of TListOperationsResponse;
  112. TCancelOperationRequestArray = Array of TCancelOperationRequest;
  113. TImportReadGroupSetsRequestArray = Array of TImportReadGroupSetsRequest;
  114. TExportReadGroupSetRequestArray = Array of TExportReadGroupSetRequest;
  115. TSearchReadGroupSetsRequestArray = Array of TSearchReadGroupSetsRequest;
  116. TSearchReadGroupSetsResponseArray = Array of TSearchReadGroupSetsResponse;
  117. TReadGroupSetArray = Array of TReadGroupSet;
  118. TReadGroupArray = Array of TReadGroup;
  119. TExperimentArray = Array of TExperiment;
  120. TProgramArray = Array of TProgram;
  121. TListCoverageBucketsResponseArray = Array of TListCoverageBucketsResponse;
  122. TCoverageBucketArray = Array of TCoverageBucket;
  123. TRangeArray = Array of TRange;
  124. TSearchReadsRequestArray = Array of TSearchReadsRequest;
  125. TSearchReadsResponseArray = Array of TSearchReadsResponse;
  126. TReadArray = Array of TRead;
  127. TLinearAlignmentArray = Array of TLinearAlignment;
  128. TPositionArray = Array of TPosition;
  129. TCigarUnitArray = Array of TCigarUnit;
  130. TStreamReadsRequestArray = Array of TStreamReadsRequest;
  131. TStreamReadsResponseArray = Array of TStreamReadsResponse;
  132. TSearchReferenceSetsRequestArray = Array of TSearchReferenceSetsRequest;
  133. TSearchReferenceSetsResponseArray = Array of TSearchReferenceSetsResponse;
  134. TReferenceSetArray = Array of TReferenceSet;
  135. TSearchReferencesRequestArray = Array of TSearchReferencesRequest;
  136. TSearchReferencesResponseArray = Array of TSearchReferencesResponse;
  137. TReferenceArray = Array of TReference;
  138. TListBasesResponseArray = Array of TListBasesResponse;
  139. TImportVariantsRequestArray = Array of TImportVariantsRequest;
  140. TVariantSetArray = Array of TVariantSet;
  141. TReferenceBoundArray = Array of TReferenceBound;
  142. TVariantSetMetadataArray = Array of TVariantSetMetadata;
  143. TExportVariantSetRequestArray = Array of TExportVariantSetRequest;
  144. TSearchVariantSetsRequestArray = Array of TSearchVariantSetsRequest;
  145. TSearchVariantSetsResponseArray = Array of TSearchVariantSetsResponse;
  146. TSearchVariantsRequestArray = Array of TSearchVariantsRequest;
  147. TSearchVariantsResponseArray = Array of TSearchVariantsResponse;
  148. TVariantArray = Array of TVariant;
  149. TVariantCallArray = Array of TVariantCall;
  150. TMergeVariantsRequestArray = Array of TMergeVariantsRequest;
  151. TSearchCallSetsRequestArray = Array of TSearchCallSetsRequest;
  152. TSearchCallSetsResponseArray = Array of TSearchCallSetsResponse;
  153. TCallSetArray = Array of TCallSet;
  154. TStreamVariantsRequestArray = Array of TStreamVariantsRequest;
  155. TStreamVariantsResponseArray = Array of TStreamVariantsResponse;
  156. TImportReadGroupSetsResponseArray = Array of TImportReadGroupSetsResponse;
  157. TImportVariantsResponseArray = Array of TImportVariantsResponse;
  158. TOperationMetadataArray = Array of TOperationMetadata;
  159. TOperationEventArray = Array of TOperationEvent;
  160. //Anonymous types, using auto-generated names
  161. TAnnotationSetTypeinfo = Class;
  162. TAnnotationTypeinfo = Class;
  163. TStatusTypedetailsItem = Class;
  164. TOperationTypemetadata = Class;
  165. TOperationTyperesponse = Class;
  166. TReadGroupSetTypeinfo = Class;
  167. TReadGroupTypeinfo = Class;
  168. TReadTypeinfo = Class;
  169. TImportVariantsRequestTypeinfoMergeConfig = Class;
  170. TVariantSetMetadataTypeinfo = Class;
  171. TVariantTypeinfo = Class;
  172. TVariantCallTypeinfo = Class;
  173. TMergeVariantsRequestTypeinfoMergeConfig = Class;
  174. TCallSetTypeinfo = Class;
  175. TOperationMetadataTyperequest = Class;
  176. TSearchAnnotationSetsResponseTypeannotationSetsArray = Array of TAnnotationSet;
  177. TVariantAnnotationTypeconditionsArray = Array of TClinicalCondition;
  178. TClinicalConditionTypeexternalIdsArray = Array of TExternalId;
  179. TTranscriptTypeexonsArray = Array of TExon;
  180. TBatchCreateAnnotationsRequestTypeannotationsArray = Array of TAnnotation;
  181. TBatchCreateAnnotationsResponseTypeentriesArray = Array of TEntry;
  182. TStatusTypedetailsArray = Array of TStatusTypedetailsItem;
  183. TSearchAnnotationsResponseTypeannotationsArray = Array of TAnnotation;
  184. TListDatasetsResponseTypedatasetsArray = Array of TDataset;
  185. TPolicyTypebindingsArray = Array of TBinding;
  186. TListOperationsResponseTypeoperationsArray = Array of TOperation;
  187. TSearchReadGroupSetsResponseTypereadGroupSetsArray = Array of TReadGroupSet;
  188. TReadGroupSetTypereadGroupsArray = Array of TReadGroup;
  189. TReadGroupTypeprogramsArray = Array of TProgram;
  190. TListCoverageBucketsResponseTypecoverageBucketsArray = Array of TCoverageBucket;
  191. TSearchReadsResponseTypealignmentsArray = Array of TRead;
  192. TLinearAlignmentTypecigarArray = Array of TCigarUnit;
  193. TStreamReadsResponseTypealignmentsArray = Array of TRead;
  194. TSearchReferenceSetsResponseTypereferenceSetsArray = Array of TReferenceSet;
  195. TSearchReferencesResponseTypereferencesArray = Array of TReference;
  196. TVariantSetTypereferenceBoundsArray = Array of TReferenceBound;
  197. TVariantSetTypemetadataArray = Array of TVariantSetMetadata;
  198. TSearchVariantSetsResponseTypevariantSetsArray = Array of TVariantSet;
  199. TSearchVariantsResponseTypevariantsArray = Array of TVariant;
  200. TVariantTypecallsArray = Array of TVariantCall;
  201. TMergeVariantsRequestTypevariantsArray = Array of TVariant;
  202. TSearchCallSetsResponseTypecallSetsArray = Array of TCallSet;
  203. TStreamVariantsResponseTypevariantsArray = Array of TVariant;
  204. TOperationMetadataTypeeventsArray = Array of TOperationEvent;
  205. { --------------------------------------------------------------------
  206. TAnnotationSetTypeinfo
  207. --------------------------------------------------------------------}
  208. TAnnotationSetTypeinfo = Class(TGoogleBaseObject)
  209. Private
  210. Protected
  211. //Property setters
  212. Public
  213. Class Function AllowAdditionalProperties : Boolean; override;
  214. Published
  215. end;
  216. TAnnotationSetTypeinfoClass = Class of TAnnotationSetTypeinfo;
  217. { --------------------------------------------------------------------
  218. TAnnotationSet
  219. --------------------------------------------------------------------}
  220. TAnnotationSet = Class(TGoogleBaseObject)
  221. Private
  222. Fid : String;
  223. FdatasetId : String;
  224. FreferenceSetId : String;
  225. Fname : String;
  226. FsourceUri : String;
  227. F_type : String;
  228. Finfo : TAnnotationSetTypeinfo;
  229. Protected
  230. Class Function ExportPropertyName(Const AName : String) : string; override;
  231. //Property setters
  232. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  233. Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
  234. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  235. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  236. Procedure SetsourceUri(AIndex : Integer; const AValue : String); virtual;
  237. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  238. Procedure Setinfo(AIndex : Integer; const AValue : TAnnotationSetTypeinfo); virtual;
  239. Public
  240. Published
  241. Property id : String Index 0 Read Fid Write Setid;
  242. Property datasetId : String Index 8 Read FdatasetId Write SetdatasetId;
  243. Property referenceSetId : String Index 16 Read FreferenceSetId Write SetreferenceSetId;
  244. Property name : String Index 24 Read Fname Write Setname;
  245. Property sourceUri : String Index 32 Read FsourceUri Write SetsourceUri;
  246. Property _type : String Index 40 Read F_type Write Set_type;
  247. Property info : TAnnotationSetTypeinfo Index 48 Read Finfo Write Setinfo;
  248. end;
  249. TAnnotationSetClass = Class of TAnnotationSet;
  250. { --------------------------------------------------------------------
  251. TEmpty
  252. --------------------------------------------------------------------}
  253. TEmpty = Class(TGoogleBaseObject)
  254. Private
  255. Protected
  256. //Property setters
  257. Public
  258. Published
  259. end;
  260. TEmptyClass = Class of TEmpty;
  261. { --------------------------------------------------------------------
  262. TSearchAnnotationSetsRequest
  263. --------------------------------------------------------------------}
  264. TSearchAnnotationSetsRequest = Class(TGoogleBaseObject)
  265. Private
  266. FdatasetIds : TStringArray;
  267. FreferenceSetId : String;
  268. Fname : String;
  269. Ftypes : TStringArray;
  270. FpageToken : String;
  271. FpageSize : integer;
  272. Protected
  273. //Property setters
  274. Procedure SetdatasetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  275. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  276. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  277. Procedure Settypes(AIndex : Integer; const AValue : TStringArray); virtual;
  278. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  279. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  280. //2.6.4. bug workaround
  281. {$IFDEF VER2_6}
  282. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  283. {$ENDIF VER2_6}
  284. Public
  285. Published
  286. Property datasetIds : TStringArray Index 0 Read FdatasetIds Write SetdatasetIds;
  287. Property referenceSetId : String Index 8 Read FreferenceSetId Write SetreferenceSetId;
  288. Property name : String Index 16 Read Fname Write Setname;
  289. Property types : TStringArray Index 24 Read Ftypes Write Settypes;
  290. Property pageToken : String Index 32 Read FpageToken Write SetpageToken;
  291. Property pageSize : integer Index 40 Read FpageSize Write SetpageSize;
  292. end;
  293. TSearchAnnotationSetsRequestClass = Class of TSearchAnnotationSetsRequest;
  294. { --------------------------------------------------------------------
  295. TSearchAnnotationSetsResponse
  296. --------------------------------------------------------------------}
  297. TSearchAnnotationSetsResponse = Class(TGoogleBaseObject)
  298. Private
  299. FannotationSets : TSearchAnnotationSetsResponseTypeannotationSetsArray;
  300. FnextPageToken : String;
  301. Protected
  302. //Property setters
  303. Procedure SetannotationSets(AIndex : Integer; const AValue : TSearchAnnotationSetsResponseTypeannotationSetsArray); virtual;
  304. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  305. //2.6.4. bug workaround
  306. {$IFDEF VER2_6}
  307. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  308. {$ENDIF VER2_6}
  309. Public
  310. Published
  311. Property annotationSets : TSearchAnnotationSetsResponseTypeannotationSetsArray Index 0 Read FannotationSets Write SetannotationSets;
  312. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  313. end;
  314. TSearchAnnotationSetsResponseClass = Class of TSearchAnnotationSetsResponse;
  315. { --------------------------------------------------------------------
  316. TAnnotationTypeinfo
  317. --------------------------------------------------------------------}
  318. TAnnotationTypeinfo = Class(TGoogleBaseObject)
  319. Private
  320. Protected
  321. //Property setters
  322. Public
  323. Class Function AllowAdditionalProperties : Boolean; override;
  324. Published
  325. end;
  326. TAnnotationTypeinfoClass = Class of TAnnotationTypeinfo;
  327. { --------------------------------------------------------------------
  328. TAnnotation
  329. --------------------------------------------------------------------}
  330. TAnnotation = Class(TGoogleBaseObject)
  331. Private
  332. Fid : String;
  333. FannotationSetId : String;
  334. Fname : String;
  335. FreferenceId : String;
  336. FreferenceName : String;
  337. Fstart : String;
  338. F_end : String;
  339. FreverseStrand : boolean;
  340. F_type : String;
  341. Fvariant : TVariantAnnotation;
  342. Ftranscript : TTranscript;
  343. Finfo : TAnnotationTypeinfo;
  344. Protected
  345. Class Function ExportPropertyName(Const AName : String) : string; override;
  346. //Property setters
  347. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  348. Procedure SetannotationSetId(AIndex : Integer; const AValue : String); virtual;
  349. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  350. Procedure SetreferenceId(AIndex : Integer; const AValue : String); virtual;
  351. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  352. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  353. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  354. Procedure SetreverseStrand(AIndex : Integer; const AValue : boolean); virtual;
  355. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  356. Procedure Setvariant(AIndex : Integer; const AValue : TVariantAnnotation); virtual;
  357. Procedure Settranscript(AIndex : Integer; const AValue : TTranscript); virtual;
  358. Procedure Setinfo(AIndex : Integer; const AValue : TAnnotationTypeinfo); virtual;
  359. Public
  360. Published
  361. Property id : String Index 0 Read Fid Write Setid;
  362. Property annotationSetId : String Index 8 Read FannotationSetId Write SetannotationSetId;
  363. Property name : String Index 16 Read Fname Write Setname;
  364. Property referenceId : String Index 24 Read FreferenceId Write SetreferenceId;
  365. Property referenceName : String Index 32 Read FreferenceName Write SetreferenceName;
  366. Property start : String Index 40 Read Fstart Write Setstart;
  367. Property _end : String Index 48 Read F_end Write Set_end;
  368. Property reverseStrand : boolean Index 56 Read FreverseStrand Write SetreverseStrand;
  369. Property _type : String Index 64 Read F_type Write Set_type;
  370. Property variant : TVariantAnnotation Index 72 Read Fvariant Write Setvariant;
  371. Property transcript : TTranscript Index 80 Read Ftranscript Write Settranscript;
  372. Property info : TAnnotationTypeinfo Index 88 Read Finfo Write Setinfo;
  373. end;
  374. TAnnotationClass = Class of TAnnotation;
  375. { --------------------------------------------------------------------
  376. TVariantAnnotation
  377. --------------------------------------------------------------------}
  378. TVariantAnnotation = Class(TGoogleBaseObject)
  379. Private
  380. F_type : String;
  381. Feffect : String;
  382. FalternateBases : String;
  383. FgeneId : String;
  384. FtranscriptIds : TStringArray;
  385. Fconditions : TVariantAnnotationTypeconditionsArray;
  386. FclinicalSignificance : String;
  387. Protected
  388. Class Function ExportPropertyName(Const AName : String) : string; override;
  389. //Property setters
  390. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  391. Procedure Seteffect(AIndex : Integer; const AValue : String); virtual;
  392. Procedure SetalternateBases(AIndex : Integer; const AValue : String); virtual;
  393. Procedure SetgeneId(AIndex : Integer; const AValue : String); virtual;
  394. Procedure SettranscriptIds(AIndex : Integer; const AValue : TStringArray); virtual;
  395. Procedure Setconditions(AIndex : Integer; const AValue : TVariantAnnotationTypeconditionsArray); virtual;
  396. Procedure SetclinicalSignificance(AIndex : Integer; const AValue : String); virtual;
  397. //2.6.4. bug workaround
  398. {$IFDEF VER2_6}
  399. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  400. {$ENDIF VER2_6}
  401. Public
  402. Published
  403. Property _type : String Index 0 Read F_type Write Set_type;
  404. Property effect : String Index 8 Read Feffect Write Seteffect;
  405. Property alternateBases : String Index 16 Read FalternateBases Write SetalternateBases;
  406. Property geneId : String Index 24 Read FgeneId Write SetgeneId;
  407. Property transcriptIds : TStringArray Index 32 Read FtranscriptIds Write SettranscriptIds;
  408. Property conditions : TVariantAnnotationTypeconditionsArray Index 40 Read Fconditions Write Setconditions;
  409. Property clinicalSignificance : String Index 48 Read FclinicalSignificance Write SetclinicalSignificance;
  410. end;
  411. TVariantAnnotationClass = Class of TVariantAnnotation;
  412. { --------------------------------------------------------------------
  413. TClinicalCondition
  414. --------------------------------------------------------------------}
  415. TClinicalCondition = Class(TGoogleBaseObject)
  416. Private
  417. Fnames : TStringArray;
  418. FexternalIds : TClinicalConditionTypeexternalIdsArray;
  419. FconceptId : String;
  420. FomimId : String;
  421. Protected
  422. //Property setters
  423. Procedure Setnames(AIndex : Integer; const AValue : TStringArray); virtual;
  424. Procedure SetexternalIds(AIndex : Integer; const AValue : TClinicalConditionTypeexternalIdsArray); virtual;
  425. Procedure SetconceptId(AIndex : Integer; const AValue : String); virtual;
  426. Procedure SetomimId(AIndex : Integer; const AValue : String); virtual;
  427. //2.6.4. bug workaround
  428. {$IFDEF VER2_6}
  429. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  430. {$ENDIF VER2_6}
  431. Public
  432. Published
  433. Property names : TStringArray Index 0 Read Fnames Write Setnames;
  434. Property externalIds : TClinicalConditionTypeexternalIdsArray Index 8 Read FexternalIds Write SetexternalIds;
  435. Property conceptId : String Index 16 Read FconceptId Write SetconceptId;
  436. Property omimId : String Index 24 Read FomimId Write SetomimId;
  437. end;
  438. TClinicalConditionClass = Class of TClinicalCondition;
  439. { --------------------------------------------------------------------
  440. TExternalId
  441. --------------------------------------------------------------------}
  442. TExternalId = Class(TGoogleBaseObject)
  443. Private
  444. FsourceName : String;
  445. Fid : String;
  446. Protected
  447. //Property setters
  448. Procedure SetsourceName(AIndex : Integer; const AValue : String); virtual;
  449. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  450. Public
  451. Published
  452. Property sourceName : String Index 0 Read FsourceName Write SetsourceName;
  453. Property id : String Index 8 Read Fid Write Setid;
  454. end;
  455. TExternalIdClass = Class of TExternalId;
  456. { --------------------------------------------------------------------
  457. TTranscript
  458. --------------------------------------------------------------------}
  459. TTranscript = Class(TGoogleBaseObject)
  460. Private
  461. FgeneId : String;
  462. Fexons : TTranscriptTypeexonsArray;
  463. FcodingSequence : TCodingSequence;
  464. Protected
  465. //Property setters
  466. Procedure SetgeneId(AIndex : Integer; const AValue : String); virtual;
  467. Procedure Setexons(AIndex : Integer; const AValue : TTranscriptTypeexonsArray); virtual;
  468. Procedure SetcodingSequence(AIndex : Integer; const AValue : TCodingSequence); virtual;
  469. //2.6.4. bug workaround
  470. {$IFDEF VER2_6}
  471. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  472. {$ENDIF VER2_6}
  473. Public
  474. Published
  475. Property geneId : String Index 0 Read FgeneId Write SetgeneId;
  476. Property exons : TTranscriptTypeexonsArray Index 8 Read Fexons Write Setexons;
  477. Property codingSequence : TCodingSequence Index 16 Read FcodingSequence Write SetcodingSequence;
  478. end;
  479. TTranscriptClass = Class of TTranscript;
  480. { --------------------------------------------------------------------
  481. TExon
  482. --------------------------------------------------------------------}
  483. TExon = Class(TGoogleBaseObject)
  484. Private
  485. Fstart : String;
  486. F_end : String;
  487. Fframe : integer;
  488. Protected
  489. Class Function ExportPropertyName(Const AName : String) : string; override;
  490. //Property setters
  491. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  492. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  493. Procedure Setframe(AIndex : Integer; const AValue : integer); virtual;
  494. Public
  495. Published
  496. Property start : String Index 0 Read Fstart Write Setstart;
  497. Property _end : String Index 8 Read F_end Write Set_end;
  498. Property frame : integer Index 16 Read Fframe Write Setframe;
  499. end;
  500. TExonClass = Class of TExon;
  501. { --------------------------------------------------------------------
  502. TCodingSequence
  503. --------------------------------------------------------------------}
  504. TCodingSequence = Class(TGoogleBaseObject)
  505. Private
  506. Fstart : String;
  507. F_end : String;
  508. Protected
  509. Class Function ExportPropertyName(Const AName : String) : string; override;
  510. //Property setters
  511. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  512. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  513. Public
  514. Published
  515. Property start : String Index 0 Read Fstart Write Setstart;
  516. Property _end : String Index 8 Read F_end Write Set_end;
  517. end;
  518. TCodingSequenceClass = Class of TCodingSequence;
  519. { --------------------------------------------------------------------
  520. TBatchCreateAnnotationsRequest
  521. --------------------------------------------------------------------}
  522. TBatchCreateAnnotationsRequest = Class(TGoogleBaseObject)
  523. Private
  524. Fannotations : TBatchCreateAnnotationsRequestTypeannotationsArray;
  525. Protected
  526. //Property setters
  527. Procedure Setannotations(AIndex : Integer; const AValue : TBatchCreateAnnotationsRequestTypeannotationsArray); virtual;
  528. //2.6.4. bug workaround
  529. {$IFDEF VER2_6}
  530. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  531. {$ENDIF VER2_6}
  532. Public
  533. Published
  534. Property annotations : TBatchCreateAnnotationsRequestTypeannotationsArray Index 0 Read Fannotations Write Setannotations;
  535. end;
  536. TBatchCreateAnnotationsRequestClass = Class of TBatchCreateAnnotationsRequest;
  537. { --------------------------------------------------------------------
  538. TBatchCreateAnnotationsResponse
  539. --------------------------------------------------------------------}
  540. TBatchCreateAnnotationsResponse = Class(TGoogleBaseObject)
  541. Private
  542. Fentries : TBatchCreateAnnotationsResponseTypeentriesArray;
  543. Protected
  544. //Property setters
  545. Procedure Setentries(AIndex : Integer; const AValue : TBatchCreateAnnotationsResponseTypeentriesArray); virtual;
  546. //2.6.4. bug workaround
  547. {$IFDEF VER2_6}
  548. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  549. {$ENDIF VER2_6}
  550. Public
  551. Published
  552. Property entries : TBatchCreateAnnotationsResponseTypeentriesArray Index 0 Read Fentries Write Setentries;
  553. end;
  554. TBatchCreateAnnotationsResponseClass = Class of TBatchCreateAnnotationsResponse;
  555. { --------------------------------------------------------------------
  556. TEntry
  557. --------------------------------------------------------------------}
  558. TEntry = Class(TGoogleBaseObject)
  559. Private
  560. Fstatus : TStatus;
  561. Fannotation : TAnnotation;
  562. Protected
  563. //Property setters
  564. Procedure Setstatus(AIndex : Integer; const AValue : TStatus); virtual;
  565. Procedure Setannotation(AIndex : Integer; const AValue : TAnnotation); virtual;
  566. Public
  567. Published
  568. Property status : TStatus Index 0 Read Fstatus Write Setstatus;
  569. Property annotation : TAnnotation Index 8 Read Fannotation Write Setannotation;
  570. end;
  571. TEntryClass = Class of TEntry;
  572. { --------------------------------------------------------------------
  573. TStatusTypedetailsItem
  574. --------------------------------------------------------------------}
  575. TStatusTypedetailsItem = Class(TGoogleBaseObject)
  576. Private
  577. Protected
  578. //Property setters
  579. Public
  580. Class Function AllowAdditionalProperties : Boolean; override;
  581. Published
  582. end;
  583. TStatusTypedetailsItemClass = Class of TStatusTypedetailsItem;
  584. { --------------------------------------------------------------------
  585. TStatus
  586. --------------------------------------------------------------------}
  587. TStatus = Class(TGoogleBaseObject)
  588. Private
  589. Fcode : integer;
  590. Fmessage : String;
  591. Fdetails : TStatusTypedetailsArray;
  592. Protected
  593. //Property setters
  594. Procedure Setcode(AIndex : Integer; const AValue : integer); virtual;
  595. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  596. Procedure Setdetails(AIndex : Integer; const AValue : TStatusTypedetailsArray); virtual;
  597. //2.6.4. bug workaround
  598. {$IFDEF VER2_6}
  599. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  600. {$ENDIF VER2_6}
  601. Public
  602. Published
  603. Property code : integer Index 0 Read Fcode Write Setcode;
  604. Property message : String Index 8 Read Fmessage Write Setmessage;
  605. Property details : TStatusTypedetailsArray Index 16 Read Fdetails Write Setdetails;
  606. end;
  607. TStatusClass = Class of TStatus;
  608. { --------------------------------------------------------------------
  609. TSearchAnnotationsRequest
  610. --------------------------------------------------------------------}
  611. TSearchAnnotationsRequest = Class(TGoogleBaseObject)
  612. Private
  613. FannotationSetIds : TStringArray;
  614. FreferenceId : String;
  615. FreferenceName : String;
  616. Fstart : String;
  617. F_end : String;
  618. FpageToken : String;
  619. FpageSize : integer;
  620. Protected
  621. Class Function ExportPropertyName(Const AName : String) : string; override;
  622. //Property setters
  623. Procedure SetannotationSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  624. Procedure SetreferenceId(AIndex : Integer; const AValue : String); virtual;
  625. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  626. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  627. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  628. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  629. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  630. //2.6.4. bug workaround
  631. {$IFDEF VER2_6}
  632. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  633. {$ENDIF VER2_6}
  634. Public
  635. Published
  636. Property annotationSetIds : TStringArray Index 0 Read FannotationSetIds Write SetannotationSetIds;
  637. Property referenceId : String Index 8 Read FreferenceId Write SetreferenceId;
  638. Property referenceName : String Index 16 Read FreferenceName Write SetreferenceName;
  639. Property start : String Index 24 Read Fstart Write Setstart;
  640. Property _end : String Index 32 Read F_end Write Set_end;
  641. Property pageToken : String Index 40 Read FpageToken Write SetpageToken;
  642. Property pageSize : integer Index 48 Read FpageSize Write SetpageSize;
  643. end;
  644. TSearchAnnotationsRequestClass = Class of TSearchAnnotationsRequest;
  645. { --------------------------------------------------------------------
  646. TSearchAnnotationsResponse
  647. --------------------------------------------------------------------}
  648. TSearchAnnotationsResponse = Class(TGoogleBaseObject)
  649. Private
  650. Fannotations : TSearchAnnotationsResponseTypeannotationsArray;
  651. FnextPageToken : String;
  652. Protected
  653. //Property setters
  654. Procedure Setannotations(AIndex : Integer; const AValue : TSearchAnnotationsResponseTypeannotationsArray); virtual;
  655. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  656. //2.6.4. bug workaround
  657. {$IFDEF VER2_6}
  658. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  659. {$ENDIF VER2_6}
  660. Public
  661. Published
  662. Property annotations : TSearchAnnotationsResponseTypeannotationsArray Index 0 Read Fannotations Write Setannotations;
  663. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  664. end;
  665. TSearchAnnotationsResponseClass = Class of TSearchAnnotationsResponse;
  666. { --------------------------------------------------------------------
  667. TListDatasetsResponse
  668. --------------------------------------------------------------------}
  669. TListDatasetsResponse = Class(TGoogleBaseObject)
  670. Private
  671. Fdatasets : TListDatasetsResponseTypedatasetsArray;
  672. FnextPageToken : String;
  673. Protected
  674. //Property setters
  675. Procedure Setdatasets(AIndex : Integer; const AValue : TListDatasetsResponseTypedatasetsArray); virtual;
  676. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  677. //2.6.4. bug workaround
  678. {$IFDEF VER2_6}
  679. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  680. {$ENDIF VER2_6}
  681. Public
  682. Published
  683. Property datasets : TListDatasetsResponseTypedatasetsArray Index 0 Read Fdatasets Write Setdatasets;
  684. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  685. end;
  686. TListDatasetsResponseClass = Class of TListDatasetsResponse;
  687. { --------------------------------------------------------------------
  688. TDataset
  689. --------------------------------------------------------------------}
  690. TDataset = Class(TGoogleBaseObject)
  691. Private
  692. Fid : String;
  693. FprojectId : String;
  694. Fname : String;
  695. FcreateTime : String;
  696. Protected
  697. //Property setters
  698. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  699. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  700. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  701. Procedure SetcreateTime(AIndex : Integer; const AValue : String); virtual;
  702. Public
  703. Published
  704. Property id : String Index 0 Read Fid Write Setid;
  705. Property projectId : String Index 8 Read FprojectId Write SetprojectId;
  706. Property name : String Index 16 Read Fname Write Setname;
  707. Property createTime : String Index 24 Read FcreateTime Write SetcreateTime;
  708. end;
  709. TDatasetClass = Class of TDataset;
  710. { --------------------------------------------------------------------
  711. TUndeleteDatasetRequest
  712. --------------------------------------------------------------------}
  713. TUndeleteDatasetRequest = Class(TGoogleBaseObject)
  714. Private
  715. Protected
  716. //Property setters
  717. Public
  718. Published
  719. end;
  720. TUndeleteDatasetRequestClass = Class of TUndeleteDatasetRequest;
  721. { --------------------------------------------------------------------
  722. TSetIamPolicyRequest
  723. --------------------------------------------------------------------}
  724. TSetIamPolicyRequest = Class(TGoogleBaseObject)
  725. Private
  726. Fpolicy : TPolicy;
  727. Protected
  728. //Property setters
  729. Procedure Setpolicy(AIndex : Integer; const AValue : TPolicy); virtual;
  730. Public
  731. Published
  732. Property policy : TPolicy Index 0 Read Fpolicy Write Setpolicy;
  733. end;
  734. TSetIamPolicyRequestClass = Class of TSetIamPolicyRequest;
  735. { --------------------------------------------------------------------
  736. TPolicy
  737. --------------------------------------------------------------------}
  738. TPolicy = Class(TGoogleBaseObject)
  739. Private
  740. Fversion : integer;
  741. Fbindings : TPolicyTypebindingsArray;
  742. Fetag : String;
  743. Protected
  744. //Property setters
  745. Procedure Setversion(AIndex : Integer; const AValue : integer); virtual;
  746. Procedure Setbindings(AIndex : Integer; const AValue : TPolicyTypebindingsArray); virtual;
  747. Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
  748. //2.6.4. bug workaround
  749. {$IFDEF VER2_6}
  750. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  751. {$ENDIF VER2_6}
  752. Public
  753. Published
  754. Property version : integer Index 0 Read Fversion Write Setversion;
  755. Property bindings : TPolicyTypebindingsArray Index 8 Read Fbindings Write Setbindings;
  756. Property etag : String Index 16 Read Fetag Write Setetag;
  757. end;
  758. TPolicyClass = Class of TPolicy;
  759. { --------------------------------------------------------------------
  760. TBinding
  761. --------------------------------------------------------------------}
  762. TBinding = Class(TGoogleBaseObject)
  763. Private
  764. Frole : String;
  765. Fmembers : TStringArray;
  766. Protected
  767. //Property setters
  768. Procedure Setrole(AIndex : Integer; const AValue : String); virtual;
  769. Procedure Setmembers(AIndex : Integer; const AValue : TStringArray); virtual;
  770. //2.6.4. bug workaround
  771. {$IFDEF VER2_6}
  772. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  773. {$ENDIF VER2_6}
  774. Public
  775. Published
  776. Property role : String Index 0 Read Frole Write Setrole;
  777. Property members : TStringArray Index 8 Read Fmembers Write Setmembers;
  778. end;
  779. TBindingClass = Class of TBinding;
  780. { --------------------------------------------------------------------
  781. TGetIamPolicyRequest
  782. --------------------------------------------------------------------}
  783. TGetIamPolicyRequest = Class(TGoogleBaseObject)
  784. Private
  785. Protected
  786. //Property setters
  787. Public
  788. Published
  789. end;
  790. TGetIamPolicyRequestClass = Class of TGetIamPolicyRequest;
  791. { --------------------------------------------------------------------
  792. TTestIamPermissionsRequest
  793. --------------------------------------------------------------------}
  794. TTestIamPermissionsRequest = Class(TGoogleBaseObject)
  795. Private
  796. Fpermissions : TStringArray;
  797. Protected
  798. //Property setters
  799. Procedure Setpermissions(AIndex : Integer; const AValue : TStringArray); virtual;
  800. //2.6.4. bug workaround
  801. {$IFDEF VER2_6}
  802. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  803. {$ENDIF VER2_6}
  804. Public
  805. Published
  806. Property permissions : TStringArray Index 0 Read Fpermissions Write Setpermissions;
  807. end;
  808. TTestIamPermissionsRequestClass = Class of TTestIamPermissionsRequest;
  809. { --------------------------------------------------------------------
  810. TTestIamPermissionsResponse
  811. --------------------------------------------------------------------}
  812. TTestIamPermissionsResponse = Class(TGoogleBaseObject)
  813. Private
  814. Fpermissions : TStringArray;
  815. Protected
  816. //Property setters
  817. Procedure Setpermissions(AIndex : Integer; const AValue : TStringArray); virtual;
  818. //2.6.4. bug workaround
  819. {$IFDEF VER2_6}
  820. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  821. {$ENDIF VER2_6}
  822. Public
  823. Published
  824. Property permissions : TStringArray Index 0 Read Fpermissions Write Setpermissions;
  825. end;
  826. TTestIamPermissionsResponseClass = Class of TTestIamPermissionsResponse;
  827. { --------------------------------------------------------------------
  828. TOperationTypemetadata
  829. --------------------------------------------------------------------}
  830. TOperationTypemetadata = Class(TGoogleBaseObject)
  831. Private
  832. Protected
  833. //Property setters
  834. Public
  835. Class Function AllowAdditionalProperties : Boolean; override;
  836. Published
  837. end;
  838. TOperationTypemetadataClass = Class of TOperationTypemetadata;
  839. { --------------------------------------------------------------------
  840. TOperationTyperesponse
  841. --------------------------------------------------------------------}
  842. TOperationTyperesponse = Class(TGoogleBaseObject)
  843. Private
  844. Protected
  845. //Property setters
  846. Public
  847. Class Function AllowAdditionalProperties : Boolean; override;
  848. Published
  849. end;
  850. TOperationTyperesponseClass = Class of TOperationTyperesponse;
  851. { --------------------------------------------------------------------
  852. TOperation
  853. --------------------------------------------------------------------}
  854. TOperation = Class(TGoogleBaseObject)
  855. Private
  856. Fname : String;
  857. Fmetadata : TOperationTypemetadata;
  858. Fdone : boolean;
  859. Ferror : TStatus;
  860. Fresponse : TOperationTyperesponse;
  861. Protected
  862. //Property setters
  863. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  864. Procedure Setmetadata(AIndex : Integer; const AValue : TOperationTypemetadata); virtual;
  865. Procedure Setdone(AIndex : Integer; const AValue : boolean); virtual;
  866. Procedure Seterror(AIndex : Integer; const AValue : TStatus); virtual;
  867. Procedure Setresponse(AIndex : Integer; const AValue : TOperationTyperesponse); virtual;
  868. Public
  869. Published
  870. Property name : String Index 0 Read Fname Write Setname;
  871. Property metadata : TOperationTypemetadata Index 8 Read Fmetadata Write Setmetadata;
  872. Property done : boolean Index 16 Read Fdone Write Setdone;
  873. Property error : TStatus Index 24 Read Ferror Write Seterror;
  874. Property response : TOperationTyperesponse Index 32 Read Fresponse Write Setresponse;
  875. end;
  876. TOperationClass = Class of TOperation;
  877. { --------------------------------------------------------------------
  878. TListOperationsResponse
  879. --------------------------------------------------------------------}
  880. TListOperationsResponse = Class(TGoogleBaseObject)
  881. Private
  882. Foperations : TListOperationsResponseTypeoperationsArray;
  883. FnextPageToken : String;
  884. Protected
  885. //Property setters
  886. Procedure Setoperations(AIndex : Integer; const AValue : TListOperationsResponseTypeoperationsArray); virtual;
  887. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  888. //2.6.4. bug workaround
  889. {$IFDEF VER2_6}
  890. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  891. {$ENDIF VER2_6}
  892. Public
  893. Published
  894. Property operations : TListOperationsResponseTypeoperationsArray Index 0 Read Foperations Write Setoperations;
  895. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  896. end;
  897. TListOperationsResponseClass = Class of TListOperationsResponse;
  898. { --------------------------------------------------------------------
  899. TCancelOperationRequest
  900. --------------------------------------------------------------------}
  901. TCancelOperationRequest = Class(TGoogleBaseObject)
  902. Private
  903. Protected
  904. //Property setters
  905. Public
  906. Published
  907. end;
  908. TCancelOperationRequestClass = Class of TCancelOperationRequest;
  909. { --------------------------------------------------------------------
  910. TImportReadGroupSetsRequest
  911. --------------------------------------------------------------------}
  912. TImportReadGroupSetsRequest = Class(TGoogleBaseObject)
  913. Private
  914. FdatasetId : String;
  915. FreferenceSetId : String;
  916. FsourceUris : TStringArray;
  917. FpartitionStrategy : String;
  918. Protected
  919. //Property setters
  920. Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
  921. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  922. Procedure SetsourceUris(AIndex : Integer; const AValue : TStringArray); virtual;
  923. Procedure SetpartitionStrategy(AIndex : Integer; const AValue : String); virtual;
  924. //2.6.4. bug workaround
  925. {$IFDEF VER2_6}
  926. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  927. {$ENDIF VER2_6}
  928. Public
  929. Published
  930. Property datasetId : String Index 0 Read FdatasetId Write SetdatasetId;
  931. Property referenceSetId : String Index 8 Read FreferenceSetId Write SetreferenceSetId;
  932. Property sourceUris : TStringArray Index 16 Read FsourceUris Write SetsourceUris;
  933. Property partitionStrategy : String Index 24 Read FpartitionStrategy Write SetpartitionStrategy;
  934. end;
  935. TImportReadGroupSetsRequestClass = Class of TImportReadGroupSetsRequest;
  936. { --------------------------------------------------------------------
  937. TExportReadGroupSetRequest
  938. --------------------------------------------------------------------}
  939. TExportReadGroupSetRequest = Class(TGoogleBaseObject)
  940. Private
  941. FprojectId : String;
  942. FexportUri : String;
  943. FreferenceNames : TStringArray;
  944. Protected
  945. //Property setters
  946. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  947. Procedure SetexportUri(AIndex : Integer; const AValue : String); virtual;
  948. Procedure SetreferenceNames(AIndex : Integer; const AValue : TStringArray); virtual;
  949. //2.6.4. bug workaround
  950. {$IFDEF VER2_6}
  951. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  952. {$ENDIF VER2_6}
  953. Public
  954. Published
  955. Property projectId : String Index 0 Read FprojectId Write SetprojectId;
  956. Property exportUri : String Index 8 Read FexportUri Write SetexportUri;
  957. Property referenceNames : TStringArray Index 16 Read FreferenceNames Write SetreferenceNames;
  958. end;
  959. TExportReadGroupSetRequestClass = Class of TExportReadGroupSetRequest;
  960. { --------------------------------------------------------------------
  961. TSearchReadGroupSetsRequest
  962. --------------------------------------------------------------------}
  963. TSearchReadGroupSetsRequest = Class(TGoogleBaseObject)
  964. Private
  965. FdatasetIds : TStringArray;
  966. Fname : String;
  967. FpageToken : String;
  968. FpageSize : integer;
  969. Protected
  970. //Property setters
  971. Procedure SetdatasetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  972. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  973. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  974. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  975. //2.6.4. bug workaround
  976. {$IFDEF VER2_6}
  977. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  978. {$ENDIF VER2_6}
  979. Public
  980. Published
  981. Property datasetIds : TStringArray Index 0 Read FdatasetIds Write SetdatasetIds;
  982. Property name : String Index 8 Read Fname Write Setname;
  983. Property pageToken : String Index 16 Read FpageToken Write SetpageToken;
  984. Property pageSize : integer Index 24 Read FpageSize Write SetpageSize;
  985. end;
  986. TSearchReadGroupSetsRequestClass = Class of TSearchReadGroupSetsRequest;
  987. { --------------------------------------------------------------------
  988. TSearchReadGroupSetsResponse
  989. --------------------------------------------------------------------}
  990. TSearchReadGroupSetsResponse = Class(TGoogleBaseObject)
  991. Private
  992. FreadGroupSets : TSearchReadGroupSetsResponseTypereadGroupSetsArray;
  993. FnextPageToken : String;
  994. Protected
  995. //Property setters
  996. Procedure SetreadGroupSets(AIndex : Integer; const AValue : TSearchReadGroupSetsResponseTypereadGroupSetsArray); virtual;
  997. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  998. //2.6.4. bug workaround
  999. {$IFDEF VER2_6}
  1000. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1001. {$ENDIF VER2_6}
  1002. Public
  1003. Published
  1004. Property readGroupSets : TSearchReadGroupSetsResponseTypereadGroupSetsArray Index 0 Read FreadGroupSets Write SetreadGroupSets;
  1005. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  1006. end;
  1007. TSearchReadGroupSetsResponseClass = Class of TSearchReadGroupSetsResponse;
  1008. { --------------------------------------------------------------------
  1009. TReadGroupSetTypeinfo
  1010. --------------------------------------------------------------------}
  1011. TReadGroupSetTypeinfo = Class(TGoogleBaseObject)
  1012. Private
  1013. Protected
  1014. //Property setters
  1015. Public
  1016. Class Function AllowAdditionalProperties : Boolean; override;
  1017. Published
  1018. end;
  1019. TReadGroupSetTypeinfoClass = Class of TReadGroupSetTypeinfo;
  1020. { --------------------------------------------------------------------
  1021. TReadGroupSet
  1022. --------------------------------------------------------------------}
  1023. TReadGroupSet = Class(TGoogleBaseObject)
  1024. Private
  1025. Fid : String;
  1026. FdatasetId : String;
  1027. FreferenceSetId : String;
  1028. Fname : String;
  1029. Ffilename : String;
  1030. FreadGroups : TReadGroupSetTypereadGroupsArray;
  1031. Finfo : TReadGroupSetTypeinfo;
  1032. Protected
  1033. //Property setters
  1034. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1035. Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
  1036. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  1037. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1038. Procedure Setfilename(AIndex : Integer; const AValue : String); virtual;
  1039. Procedure SetreadGroups(AIndex : Integer; const AValue : TReadGroupSetTypereadGroupsArray); virtual;
  1040. Procedure Setinfo(AIndex : Integer; const AValue : TReadGroupSetTypeinfo); virtual;
  1041. //2.6.4. bug workaround
  1042. {$IFDEF VER2_6}
  1043. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1044. {$ENDIF VER2_6}
  1045. Public
  1046. Published
  1047. Property id : String Index 0 Read Fid Write Setid;
  1048. Property datasetId : String Index 8 Read FdatasetId Write SetdatasetId;
  1049. Property referenceSetId : String Index 16 Read FreferenceSetId Write SetreferenceSetId;
  1050. Property name : String Index 24 Read Fname Write Setname;
  1051. Property filename : String Index 32 Read Ffilename Write Setfilename;
  1052. Property readGroups : TReadGroupSetTypereadGroupsArray Index 40 Read FreadGroups Write SetreadGroups;
  1053. Property info : TReadGroupSetTypeinfo Index 48 Read Finfo Write Setinfo;
  1054. end;
  1055. TReadGroupSetClass = Class of TReadGroupSet;
  1056. { --------------------------------------------------------------------
  1057. TReadGroupTypeinfo
  1058. --------------------------------------------------------------------}
  1059. TReadGroupTypeinfo = Class(TGoogleBaseObject)
  1060. Private
  1061. Protected
  1062. //Property setters
  1063. Public
  1064. Class Function AllowAdditionalProperties : Boolean; override;
  1065. Published
  1066. end;
  1067. TReadGroupTypeinfoClass = Class of TReadGroupTypeinfo;
  1068. { --------------------------------------------------------------------
  1069. TReadGroup
  1070. --------------------------------------------------------------------}
  1071. TReadGroup = Class(TGoogleBaseObject)
  1072. Private
  1073. Fid : String;
  1074. FdatasetId : String;
  1075. Fname : String;
  1076. Fdescription : String;
  1077. FsampleId : String;
  1078. Fexperiment : TExperiment;
  1079. FpredictedInsertSize : integer;
  1080. Fprograms : TReadGroupTypeprogramsArray;
  1081. FreferenceSetId : String;
  1082. Finfo : TReadGroupTypeinfo;
  1083. Protected
  1084. //Property setters
  1085. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1086. Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
  1087. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1088. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1089. Procedure SetsampleId(AIndex : Integer; const AValue : String); virtual;
  1090. Procedure Setexperiment(AIndex : Integer; const AValue : TExperiment); virtual;
  1091. Procedure SetpredictedInsertSize(AIndex : Integer; const AValue : integer); virtual;
  1092. Procedure Setprograms(AIndex : Integer; const AValue : TReadGroupTypeprogramsArray); virtual;
  1093. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  1094. Procedure Setinfo(AIndex : Integer; const AValue : TReadGroupTypeinfo); virtual;
  1095. //2.6.4. bug workaround
  1096. {$IFDEF VER2_6}
  1097. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1098. {$ENDIF VER2_6}
  1099. Public
  1100. Published
  1101. Property id : String Index 0 Read Fid Write Setid;
  1102. Property datasetId : String Index 8 Read FdatasetId Write SetdatasetId;
  1103. Property name : String Index 16 Read Fname Write Setname;
  1104. Property description : String Index 24 Read Fdescription Write Setdescription;
  1105. Property sampleId : String Index 32 Read FsampleId Write SetsampleId;
  1106. Property experiment : TExperiment Index 40 Read Fexperiment Write Setexperiment;
  1107. Property predictedInsertSize : integer Index 48 Read FpredictedInsertSize Write SetpredictedInsertSize;
  1108. Property programs : TReadGroupTypeprogramsArray Index 56 Read Fprograms Write Setprograms;
  1109. Property referenceSetId : String Index 64 Read FreferenceSetId Write SetreferenceSetId;
  1110. Property info : TReadGroupTypeinfo Index 72 Read Finfo Write Setinfo;
  1111. end;
  1112. TReadGroupClass = Class of TReadGroup;
  1113. { --------------------------------------------------------------------
  1114. TExperiment
  1115. --------------------------------------------------------------------}
  1116. TExperiment = Class(TGoogleBaseObject)
  1117. Private
  1118. FlibraryId : String;
  1119. FplatformUnit : String;
  1120. FsequencingCenter : String;
  1121. FinstrumentModel : String;
  1122. Protected
  1123. //Property setters
  1124. Procedure SetlibraryId(AIndex : Integer; const AValue : String); virtual;
  1125. Procedure SetplatformUnit(AIndex : Integer; const AValue : String); virtual;
  1126. Procedure SetsequencingCenter(AIndex : Integer; const AValue : String); virtual;
  1127. Procedure SetinstrumentModel(AIndex : Integer; const AValue : String); virtual;
  1128. Public
  1129. Published
  1130. Property libraryId : String Index 0 Read FlibraryId Write SetlibraryId;
  1131. Property platformUnit : String Index 8 Read FplatformUnit Write SetplatformUnit;
  1132. Property sequencingCenter : String Index 16 Read FsequencingCenter Write SetsequencingCenter;
  1133. Property instrumentModel : String Index 24 Read FinstrumentModel Write SetinstrumentModel;
  1134. end;
  1135. TExperimentClass = Class of TExperiment;
  1136. { --------------------------------------------------------------------
  1137. TProgram
  1138. --------------------------------------------------------------------}
  1139. TProgram = Class(TGoogleBaseObject)
  1140. Private
  1141. FcommandLine : String;
  1142. Fid : String;
  1143. Fname : String;
  1144. FprevProgramId : String;
  1145. Fversion : String;
  1146. Protected
  1147. //Property setters
  1148. Procedure SetcommandLine(AIndex : Integer; const AValue : String); virtual;
  1149. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1150. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1151. Procedure SetprevProgramId(AIndex : Integer; const AValue : String); virtual;
  1152. Procedure Setversion(AIndex : Integer; const AValue : String); virtual;
  1153. Public
  1154. Published
  1155. Property commandLine : String Index 0 Read FcommandLine Write SetcommandLine;
  1156. Property id : String Index 8 Read Fid Write Setid;
  1157. Property name : String Index 16 Read Fname Write Setname;
  1158. Property prevProgramId : String Index 24 Read FprevProgramId Write SetprevProgramId;
  1159. Property version : String Index 32 Read Fversion Write Setversion;
  1160. end;
  1161. TProgramClass = Class of TProgram;
  1162. { --------------------------------------------------------------------
  1163. TListCoverageBucketsResponse
  1164. --------------------------------------------------------------------}
  1165. TListCoverageBucketsResponse = Class(TGoogleBaseObject)
  1166. Private
  1167. FbucketWidth : String;
  1168. FcoverageBuckets : TListCoverageBucketsResponseTypecoverageBucketsArray;
  1169. FnextPageToken : String;
  1170. Protected
  1171. //Property setters
  1172. Procedure SetbucketWidth(AIndex : Integer; const AValue : String); virtual;
  1173. Procedure SetcoverageBuckets(AIndex : Integer; const AValue : TListCoverageBucketsResponseTypecoverageBucketsArray); virtual;
  1174. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1175. //2.6.4. bug workaround
  1176. {$IFDEF VER2_6}
  1177. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1178. {$ENDIF VER2_6}
  1179. Public
  1180. Published
  1181. Property bucketWidth : String Index 0 Read FbucketWidth Write SetbucketWidth;
  1182. Property coverageBuckets : TListCoverageBucketsResponseTypecoverageBucketsArray Index 8 Read FcoverageBuckets Write SetcoverageBuckets;
  1183. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1184. end;
  1185. TListCoverageBucketsResponseClass = Class of TListCoverageBucketsResponse;
  1186. { --------------------------------------------------------------------
  1187. TCoverageBucket
  1188. --------------------------------------------------------------------}
  1189. TCoverageBucket = Class(TGoogleBaseObject)
  1190. Private
  1191. Frange : TRange;
  1192. FmeanCoverage : integer;
  1193. Protected
  1194. //Property setters
  1195. Procedure Setrange(AIndex : Integer; const AValue : TRange); virtual;
  1196. Procedure SetmeanCoverage(AIndex : Integer; const AValue : integer); virtual;
  1197. Public
  1198. Published
  1199. Property range : TRange Index 0 Read Frange Write Setrange;
  1200. Property meanCoverage : integer Index 8 Read FmeanCoverage Write SetmeanCoverage;
  1201. end;
  1202. TCoverageBucketClass = Class of TCoverageBucket;
  1203. { --------------------------------------------------------------------
  1204. TRange
  1205. --------------------------------------------------------------------}
  1206. TRange = Class(TGoogleBaseObject)
  1207. Private
  1208. FreferenceName : String;
  1209. Fstart : String;
  1210. F_end : String;
  1211. Protected
  1212. Class Function ExportPropertyName(Const AName : String) : string; override;
  1213. //Property setters
  1214. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1215. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  1216. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  1217. Public
  1218. Published
  1219. Property referenceName : String Index 0 Read FreferenceName Write SetreferenceName;
  1220. Property start : String Index 8 Read Fstart Write Setstart;
  1221. Property _end : String Index 16 Read F_end Write Set_end;
  1222. end;
  1223. TRangeClass = Class of TRange;
  1224. { --------------------------------------------------------------------
  1225. TSearchReadsRequest
  1226. --------------------------------------------------------------------}
  1227. TSearchReadsRequest = Class(TGoogleBaseObject)
  1228. Private
  1229. FreadGroupSetIds : TStringArray;
  1230. FreadGroupIds : TStringArray;
  1231. FreferenceName : String;
  1232. Fstart : String;
  1233. F_end : String;
  1234. FpageToken : String;
  1235. FpageSize : integer;
  1236. Protected
  1237. Class Function ExportPropertyName(Const AName : String) : string; override;
  1238. //Property setters
  1239. Procedure SetreadGroupSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1240. Procedure SetreadGroupIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1241. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1242. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  1243. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  1244. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  1245. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  1246. //2.6.4. bug workaround
  1247. {$IFDEF VER2_6}
  1248. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1249. {$ENDIF VER2_6}
  1250. Public
  1251. Published
  1252. Property readGroupSetIds : TStringArray Index 0 Read FreadGroupSetIds Write SetreadGroupSetIds;
  1253. Property readGroupIds : TStringArray Index 8 Read FreadGroupIds Write SetreadGroupIds;
  1254. Property referenceName : String Index 16 Read FreferenceName Write SetreferenceName;
  1255. Property start : String Index 24 Read Fstart Write Setstart;
  1256. Property _end : String Index 32 Read F_end Write Set_end;
  1257. Property pageToken : String Index 40 Read FpageToken Write SetpageToken;
  1258. Property pageSize : integer Index 48 Read FpageSize Write SetpageSize;
  1259. end;
  1260. TSearchReadsRequestClass = Class of TSearchReadsRequest;
  1261. { --------------------------------------------------------------------
  1262. TSearchReadsResponse
  1263. --------------------------------------------------------------------}
  1264. TSearchReadsResponse = Class(TGoogleBaseObject)
  1265. Private
  1266. Falignments : TSearchReadsResponseTypealignmentsArray;
  1267. FnextPageToken : String;
  1268. Protected
  1269. //Property setters
  1270. Procedure Setalignments(AIndex : Integer; const AValue : TSearchReadsResponseTypealignmentsArray); virtual;
  1271. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1272. //2.6.4. bug workaround
  1273. {$IFDEF VER2_6}
  1274. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1275. {$ENDIF VER2_6}
  1276. Public
  1277. Published
  1278. Property alignments : TSearchReadsResponseTypealignmentsArray Index 0 Read Falignments Write Setalignments;
  1279. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  1280. end;
  1281. TSearchReadsResponseClass = Class of TSearchReadsResponse;
  1282. { --------------------------------------------------------------------
  1283. TReadTypeinfo
  1284. --------------------------------------------------------------------}
  1285. TReadTypeinfo = Class(TGoogleBaseObject)
  1286. Private
  1287. Protected
  1288. //Property setters
  1289. Public
  1290. Class Function AllowAdditionalProperties : Boolean; override;
  1291. Published
  1292. end;
  1293. TReadTypeinfoClass = Class of TReadTypeinfo;
  1294. { --------------------------------------------------------------------
  1295. TRead
  1296. --------------------------------------------------------------------}
  1297. TRead = Class(TGoogleBaseObject)
  1298. Private
  1299. Fid : String;
  1300. FreadGroupId : String;
  1301. FreadGroupSetId : String;
  1302. FfragmentName : String;
  1303. FproperPlacement : boolean;
  1304. FduplicateFragment : boolean;
  1305. FfragmentLength : integer;
  1306. FreadNumber : integer;
  1307. FnumberReads : integer;
  1308. FfailedVendorQualityChecks : boolean;
  1309. Falignment : TLinearAlignment;
  1310. FsecondaryAlignment : boolean;
  1311. FsupplementaryAlignment : boolean;
  1312. FalignedSequence : String;
  1313. FalignedQuality : TintegerArray;
  1314. FnextMatePosition : TPosition;
  1315. Finfo : TReadTypeinfo;
  1316. Protected
  1317. //Property setters
  1318. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1319. Procedure SetreadGroupId(AIndex : Integer; const AValue : String); virtual;
  1320. Procedure SetreadGroupSetId(AIndex : Integer; const AValue : String); virtual;
  1321. Procedure SetfragmentName(AIndex : Integer; const AValue : String); virtual;
  1322. Procedure SetproperPlacement(AIndex : Integer; const AValue : boolean); virtual;
  1323. Procedure SetduplicateFragment(AIndex : Integer; const AValue : boolean); virtual;
  1324. Procedure SetfragmentLength(AIndex : Integer; const AValue : integer); virtual;
  1325. Procedure SetreadNumber(AIndex : Integer; const AValue : integer); virtual;
  1326. Procedure SetnumberReads(AIndex : Integer; const AValue : integer); virtual;
  1327. Procedure SetfailedVendorQualityChecks(AIndex : Integer; const AValue : boolean); virtual;
  1328. Procedure Setalignment(AIndex : Integer; const AValue : TLinearAlignment); virtual;
  1329. Procedure SetsecondaryAlignment(AIndex : Integer; const AValue : boolean); virtual;
  1330. Procedure SetsupplementaryAlignment(AIndex : Integer; const AValue : boolean); virtual;
  1331. Procedure SetalignedSequence(AIndex : Integer; const AValue : String); virtual;
  1332. Procedure SetalignedQuality(AIndex : Integer; const AValue : TintegerArray); virtual;
  1333. Procedure SetnextMatePosition(AIndex : Integer; const AValue : TPosition); virtual;
  1334. Procedure Setinfo(AIndex : Integer; const AValue : TReadTypeinfo); virtual;
  1335. //2.6.4. bug workaround
  1336. {$IFDEF VER2_6}
  1337. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1338. {$ENDIF VER2_6}
  1339. Public
  1340. Published
  1341. Property id : String Index 0 Read Fid Write Setid;
  1342. Property readGroupId : String Index 8 Read FreadGroupId Write SetreadGroupId;
  1343. Property readGroupSetId : String Index 16 Read FreadGroupSetId Write SetreadGroupSetId;
  1344. Property fragmentName : String Index 24 Read FfragmentName Write SetfragmentName;
  1345. Property properPlacement : boolean Index 32 Read FproperPlacement Write SetproperPlacement;
  1346. Property duplicateFragment : boolean Index 40 Read FduplicateFragment Write SetduplicateFragment;
  1347. Property fragmentLength : integer Index 48 Read FfragmentLength Write SetfragmentLength;
  1348. Property readNumber : integer Index 56 Read FreadNumber Write SetreadNumber;
  1349. Property numberReads : integer Index 64 Read FnumberReads Write SetnumberReads;
  1350. Property failedVendorQualityChecks : boolean Index 72 Read FfailedVendorQualityChecks Write SetfailedVendorQualityChecks;
  1351. Property alignment : TLinearAlignment Index 80 Read Falignment Write Setalignment;
  1352. Property secondaryAlignment : boolean Index 88 Read FsecondaryAlignment Write SetsecondaryAlignment;
  1353. Property supplementaryAlignment : boolean Index 96 Read FsupplementaryAlignment Write SetsupplementaryAlignment;
  1354. Property alignedSequence : String Index 104 Read FalignedSequence Write SetalignedSequence;
  1355. Property alignedQuality : TintegerArray Index 112 Read FalignedQuality Write SetalignedQuality;
  1356. Property nextMatePosition : TPosition Index 120 Read FnextMatePosition Write SetnextMatePosition;
  1357. Property info : TReadTypeinfo Index 128 Read Finfo Write Setinfo;
  1358. end;
  1359. TReadClass = Class of TRead;
  1360. { --------------------------------------------------------------------
  1361. TLinearAlignment
  1362. --------------------------------------------------------------------}
  1363. TLinearAlignment = Class(TGoogleBaseObject)
  1364. Private
  1365. Fposition : TPosition;
  1366. FmappingQuality : integer;
  1367. Fcigar : TLinearAlignmentTypecigarArray;
  1368. Protected
  1369. //Property setters
  1370. Procedure Setposition(AIndex : Integer; const AValue : TPosition); virtual;
  1371. Procedure SetmappingQuality(AIndex : Integer; const AValue : integer); virtual;
  1372. Procedure Setcigar(AIndex : Integer; const AValue : TLinearAlignmentTypecigarArray); virtual;
  1373. //2.6.4. bug workaround
  1374. {$IFDEF VER2_6}
  1375. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1376. {$ENDIF VER2_6}
  1377. Public
  1378. Published
  1379. Property position : TPosition Index 0 Read Fposition Write Setposition;
  1380. Property mappingQuality : integer Index 8 Read FmappingQuality Write SetmappingQuality;
  1381. Property cigar : TLinearAlignmentTypecigarArray Index 16 Read Fcigar Write Setcigar;
  1382. end;
  1383. TLinearAlignmentClass = Class of TLinearAlignment;
  1384. { --------------------------------------------------------------------
  1385. TPosition
  1386. --------------------------------------------------------------------}
  1387. TPosition = Class(TGoogleBaseObject)
  1388. Private
  1389. FreferenceName : String;
  1390. Fposition : String;
  1391. FreverseStrand : boolean;
  1392. Protected
  1393. //Property setters
  1394. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1395. Procedure Setposition(AIndex : Integer; const AValue : String); virtual;
  1396. Procedure SetreverseStrand(AIndex : Integer; const AValue : boolean); virtual;
  1397. Public
  1398. Published
  1399. Property referenceName : String Index 0 Read FreferenceName Write SetreferenceName;
  1400. Property position : String Index 8 Read Fposition Write Setposition;
  1401. Property reverseStrand : boolean Index 16 Read FreverseStrand Write SetreverseStrand;
  1402. end;
  1403. TPositionClass = Class of TPosition;
  1404. { --------------------------------------------------------------------
  1405. TCigarUnit
  1406. --------------------------------------------------------------------}
  1407. TCigarUnit = Class(TGoogleBaseObject)
  1408. Private
  1409. Foperation : String;
  1410. FoperationLength : String;
  1411. FreferenceSequence : String;
  1412. Protected
  1413. //Property setters
  1414. Procedure Setoperation(AIndex : Integer; const AValue : String); virtual;
  1415. Procedure SetoperationLength(AIndex : Integer; const AValue : String); virtual;
  1416. Procedure SetreferenceSequence(AIndex : Integer; const AValue : String); virtual;
  1417. Public
  1418. Published
  1419. Property operation : String Index 0 Read Foperation Write Setoperation;
  1420. Property operationLength : String Index 8 Read FoperationLength Write SetoperationLength;
  1421. Property referenceSequence : String Index 16 Read FreferenceSequence Write SetreferenceSequence;
  1422. end;
  1423. TCigarUnitClass = Class of TCigarUnit;
  1424. { --------------------------------------------------------------------
  1425. TStreamReadsRequest
  1426. --------------------------------------------------------------------}
  1427. TStreamReadsRequest = Class(TGoogleBaseObject)
  1428. Private
  1429. FprojectId : String;
  1430. FreadGroupSetId : String;
  1431. FreferenceName : String;
  1432. Fstart : String;
  1433. F_end : String;
  1434. Fshard : integer;
  1435. FtotalShards : integer;
  1436. Protected
  1437. Class Function ExportPropertyName(Const AName : String) : string; override;
  1438. //Property setters
  1439. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  1440. Procedure SetreadGroupSetId(AIndex : Integer; const AValue : String); virtual;
  1441. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1442. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  1443. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  1444. Procedure Setshard(AIndex : Integer; const AValue : integer); virtual;
  1445. Procedure SettotalShards(AIndex : Integer; const AValue : integer); virtual;
  1446. Public
  1447. Published
  1448. Property projectId : String Index 0 Read FprojectId Write SetprojectId;
  1449. Property readGroupSetId : String Index 8 Read FreadGroupSetId Write SetreadGroupSetId;
  1450. Property referenceName : String Index 16 Read FreferenceName Write SetreferenceName;
  1451. Property start : String Index 24 Read Fstart Write Setstart;
  1452. Property _end : String Index 32 Read F_end Write Set_end;
  1453. Property shard : integer Index 40 Read Fshard Write Setshard;
  1454. Property totalShards : integer Index 48 Read FtotalShards Write SettotalShards;
  1455. end;
  1456. TStreamReadsRequestClass = Class of TStreamReadsRequest;
  1457. { --------------------------------------------------------------------
  1458. TStreamReadsResponse
  1459. --------------------------------------------------------------------}
  1460. TStreamReadsResponse = Class(TGoogleBaseObject)
  1461. Private
  1462. Falignments : TStreamReadsResponseTypealignmentsArray;
  1463. Protected
  1464. //Property setters
  1465. Procedure Setalignments(AIndex : Integer; const AValue : TStreamReadsResponseTypealignmentsArray); virtual;
  1466. //2.6.4. bug workaround
  1467. {$IFDEF VER2_6}
  1468. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1469. {$ENDIF VER2_6}
  1470. Public
  1471. Published
  1472. Property alignments : TStreamReadsResponseTypealignmentsArray Index 0 Read Falignments Write Setalignments;
  1473. end;
  1474. TStreamReadsResponseClass = Class of TStreamReadsResponse;
  1475. { --------------------------------------------------------------------
  1476. TSearchReferenceSetsRequest
  1477. --------------------------------------------------------------------}
  1478. TSearchReferenceSetsRequest = Class(TGoogleBaseObject)
  1479. Private
  1480. Fmd5checksums : TStringArray;
  1481. Faccessions : TStringArray;
  1482. FassemblyId : String;
  1483. FpageToken : String;
  1484. FpageSize : integer;
  1485. Protected
  1486. //Property setters
  1487. Procedure Setmd5checksums(AIndex : Integer; const AValue : TStringArray); virtual;
  1488. Procedure Setaccessions(AIndex : Integer; const AValue : TStringArray); virtual;
  1489. Procedure SetassemblyId(AIndex : Integer; const AValue : String); virtual;
  1490. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  1491. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  1492. //2.6.4. bug workaround
  1493. {$IFDEF VER2_6}
  1494. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1495. {$ENDIF VER2_6}
  1496. Public
  1497. Published
  1498. Property md5checksums : TStringArray Index 0 Read Fmd5checksums Write Setmd5checksums;
  1499. Property accessions : TStringArray Index 8 Read Faccessions Write Setaccessions;
  1500. Property assemblyId : String Index 16 Read FassemblyId Write SetassemblyId;
  1501. Property pageToken : String Index 24 Read FpageToken Write SetpageToken;
  1502. Property pageSize : integer Index 32 Read FpageSize Write SetpageSize;
  1503. end;
  1504. TSearchReferenceSetsRequestClass = Class of TSearchReferenceSetsRequest;
  1505. { --------------------------------------------------------------------
  1506. TSearchReferenceSetsResponse
  1507. --------------------------------------------------------------------}
  1508. TSearchReferenceSetsResponse = Class(TGoogleBaseObject)
  1509. Private
  1510. FreferenceSets : TSearchReferenceSetsResponseTypereferenceSetsArray;
  1511. FnextPageToken : String;
  1512. Protected
  1513. //Property setters
  1514. Procedure SetreferenceSets(AIndex : Integer; const AValue : TSearchReferenceSetsResponseTypereferenceSetsArray); virtual;
  1515. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1516. //2.6.4. bug workaround
  1517. {$IFDEF VER2_6}
  1518. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1519. {$ENDIF VER2_6}
  1520. Public
  1521. Published
  1522. Property referenceSets : TSearchReferenceSetsResponseTypereferenceSetsArray Index 0 Read FreferenceSets Write SetreferenceSets;
  1523. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  1524. end;
  1525. TSearchReferenceSetsResponseClass = Class of TSearchReferenceSetsResponse;
  1526. { --------------------------------------------------------------------
  1527. TReferenceSet
  1528. --------------------------------------------------------------------}
  1529. TReferenceSet = Class(TGoogleBaseObject)
  1530. Private
  1531. Fid : String;
  1532. FreferenceIds : TStringArray;
  1533. Fmd5checksum : String;
  1534. FncbiTaxonId : integer;
  1535. Fdescription : String;
  1536. FassemblyId : String;
  1537. FsourceUri : String;
  1538. FsourceAccessions : TStringArray;
  1539. Protected
  1540. //Property setters
  1541. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1542. Procedure SetreferenceIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1543. Procedure Setmd5checksum(AIndex : Integer; const AValue : String); virtual;
  1544. Procedure SetncbiTaxonId(AIndex : Integer; const AValue : integer); virtual;
  1545. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1546. Procedure SetassemblyId(AIndex : Integer; const AValue : String); virtual;
  1547. Procedure SetsourceUri(AIndex : Integer; const AValue : String); virtual;
  1548. Procedure SetsourceAccessions(AIndex : Integer; const AValue : TStringArray); virtual;
  1549. //2.6.4. bug workaround
  1550. {$IFDEF VER2_6}
  1551. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1552. {$ENDIF VER2_6}
  1553. Public
  1554. Published
  1555. Property id : String Index 0 Read Fid Write Setid;
  1556. Property referenceIds : TStringArray Index 8 Read FreferenceIds Write SetreferenceIds;
  1557. Property md5checksum : String Index 16 Read Fmd5checksum Write Setmd5checksum;
  1558. Property ncbiTaxonId : integer Index 24 Read FncbiTaxonId Write SetncbiTaxonId;
  1559. Property description : String Index 32 Read Fdescription Write Setdescription;
  1560. Property assemblyId : String Index 40 Read FassemblyId Write SetassemblyId;
  1561. Property sourceUri : String Index 48 Read FsourceUri Write SetsourceUri;
  1562. Property sourceAccessions : TStringArray Index 56 Read FsourceAccessions Write SetsourceAccessions;
  1563. end;
  1564. TReferenceSetClass = Class of TReferenceSet;
  1565. { --------------------------------------------------------------------
  1566. TSearchReferencesRequest
  1567. --------------------------------------------------------------------}
  1568. TSearchReferencesRequest = Class(TGoogleBaseObject)
  1569. Private
  1570. Fmd5checksums : TStringArray;
  1571. Faccessions : TStringArray;
  1572. FreferenceSetId : String;
  1573. FpageToken : String;
  1574. FpageSize : integer;
  1575. Protected
  1576. //Property setters
  1577. Procedure Setmd5checksums(AIndex : Integer; const AValue : TStringArray); virtual;
  1578. Procedure Setaccessions(AIndex : Integer; const AValue : TStringArray); virtual;
  1579. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  1580. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  1581. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  1582. //2.6.4. bug workaround
  1583. {$IFDEF VER2_6}
  1584. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1585. {$ENDIF VER2_6}
  1586. Public
  1587. Published
  1588. Property md5checksums : TStringArray Index 0 Read Fmd5checksums Write Setmd5checksums;
  1589. Property accessions : TStringArray Index 8 Read Faccessions Write Setaccessions;
  1590. Property referenceSetId : String Index 16 Read FreferenceSetId Write SetreferenceSetId;
  1591. Property pageToken : String Index 24 Read FpageToken Write SetpageToken;
  1592. Property pageSize : integer Index 32 Read FpageSize Write SetpageSize;
  1593. end;
  1594. TSearchReferencesRequestClass = Class of TSearchReferencesRequest;
  1595. { --------------------------------------------------------------------
  1596. TSearchReferencesResponse
  1597. --------------------------------------------------------------------}
  1598. TSearchReferencesResponse = Class(TGoogleBaseObject)
  1599. Private
  1600. Freferences : TSearchReferencesResponseTypereferencesArray;
  1601. FnextPageToken : String;
  1602. Protected
  1603. //Property setters
  1604. Procedure Setreferences(AIndex : Integer; const AValue : TSearchReferencesResponseTypereferencesArray); virtual;
  1605. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1606. //2.6.4. bug workaround
  1607. {$IFDEF VER2_6}
  1608. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1609. {$ENDIF VER2_6}
  1610. Public
  1611. Published
  1612. Property references : TSearchReferencesResponseTypereferencesArray Index 0 Read Freferences Write Setreferences;
  1613. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  1614. end;
  1615. TSearchReferencesResponseClass = Class of TSearchReferencesResponse;
  1616. { --------------------------------------------------------------------
  1617. TReference
  1618. --------------------------------------------------------------------}
  1619. TReference = Class(TGoogleBaseObject)
  1620. Private
  1621. Fid : String;
  1622. F_length : String;
  1623. Fmd5checksum : String;
  1624. Fname : String;
  1625. FsourceUri : String;
  1626. FsourceAccessions : TStringArray;
  1627. FncbiTaxonId : integer;
  1628. Protected
  1629. Class Function ExportPropertyName(Const AName : String) : string; override;
  1630. //Property setters
  1631. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1632. Procedure Set_length(AIndex : Integer; const AValue : String); virtual;
  1633. Procedure Setmd5checksum(AIndex : Integer; const AValue : String); virtual;
  1634. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1635. Procedure SetsourceUri(AIndex : Integer; const AValue : String); virtual;
  1636. Procedure SetsourceAccessions(AIndex : Integer; const AValue : TStringArray); virtual;
  1637. Procedure SetncbiTaxonId(AIndex : Integer; const AValue : integer); virtual;
  1638. //2.6.4. bug workaround
  1639. {$IFDEF VER2_6}
  1640. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1641. {$ENDIF VER2_6}
  1642. Public
  1643. Published
  1644. Property id : String Index 0 Read Fid Write Setid;
  1645. Property _length : String Index 8 Read F_length Write Set_length;
  1646. Property md5checksum : String Index 16 Read Fmd5checksum Write Setmd5checksum;
  1647. Property name : String Index 24 Read Fname Write Setname;
  1648. Property sourceUri : String Index 32 Read FsourceUri Write SetsourceUri;
  1649. Property sourceAccessions : TStringArray Index 40 Read FsourceAccessions Write SetsourceAccessions;
  1650. Property ncbiTaxonId : integer Index 48 Read FncbiTaxonId Write SetncbiTaxonId;
  1651. end;
  1652. TReferenceClass = Class of TReference;
  1653. { --------------------------------------------------------------------
  1654. TListBasesResponse
  1655. --------------------------------------------------------------------}
  1656. TListBasesResponse = Class(TGoogleBaseObject)
  1657. Private
  1658. Foffset : String;
  1659. Fsequence : String;
  1660. FnextPageToken : String;
  1661. Protected
  1662. //Property setters
  1663. Procedure Setoffset(AIndex : Integer; const AValue : String); virtual;
  1664. Procedure Setsequence(AIndex : Integer; const AValue : String); virtual;
  1665. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1666. Public
  1667. Published
  1668. Property offset : String Index 0 Read Foffset Write Setoffset;
  1669. Property sequence : String Index 8 Read Fsequence Write Setsequence;
  1670. Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
  1671. end;
  1672. TListBasesResponseClass = Class of TListBasesResponse;
  1673. { --------------------------------------------------------------------
  1674. TImportVariantsRequestTypeinfoMergeConfig
  1675. --------------------------------------------------------------------}
  1676. TImportVariantsRequestTypeinfoMergeConfig = Class(TGoogleBaseObject)
  1677. Private
  1678. Protected
  1679. //Property setters
  1680. Public
  1681. Class Function AllowAdditionalProperties : Boolean; override;
  1682. Published
  1683. end;
  1684. TImportVariantsRequestTypeinfoMergeConfigClass = Class of TImportVariantsRequestTypeinfoMergeConfig;
  1685. { --------------------------------------------------------------------
  1686. TImportVariantsRequest
  1687. --------------------------------------------------------------------}
  1688. TImportVariantsRequest = Class(TGoogleBaseObject)
  1689. Private
  1690. FvariantSetId : String;
  1691. FsourceUris : TStringArray;
  1692. Fformat : String;
  1693. FnormalizeReferenceNames : boolean;
  1694. FinfoMergeConfig : TImportVariantsRequestTypeinfoMergeConfig;
  1695. Protected
  1696. //Property setters
  1697. Procedure SetvariantSetId(AIndex : Integer; const AValue : String); virtual;
  1698. Procedure SetsourceUris(AIndex : Integer; const AValue : TStringArray); virtual;
  1699. Procedure Setformat(AIndex : Integer; const AValue : String); virtual;
  1700. Procedure SetnormalizeReferenceNames(AIndex : Integer; const AValue : boolean); virtual;
  1701. Procedure SetinfoMergeConfig(AIndex : Integer; const AValue : TImportVariantsRequestTypeinfoMergeConfig); virtual;
  1702. //2.6.4. bug workaround
  1703. {$IFDEF VER2_6}
  1704. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1705. {$ENDIF VER2_6}
  1706. Public
  1707. Published
  1708. Property variantSetId : String Index 0 Read FvariantSetId Write SetvariantSetId;
  1709. Property sourceUris : TStringArray Index 8 Read FsourceUris Write SetsourceUris;
  1710. Property format : String Index 16 Read Fformat Write Setformat;
  1711. Property normalizeReferenceNames : boolean Index 24 Read FnormalizeReferenceNames Write SetnormalizeReferenceNames;
  1712. Property infoMergeConfig : TImportVariantsRequestTypeinfoMergeConfig Index 32 Read FinfoMergeConfig Write SetinfoMergeConfig;
  1713. end;
  1714. TImportVariantsRequestClass = Class of TImportVariantsRequest;
  1715. { --------------------------------------------------------------------
  1716. TVariantSet
  1717. --------------------------------------------------------------------}
  1718. TVariantSet = Class(TGoogleBaseObject)
  1719. Private
  1720. FdatasetId : String;
  1721. Fid : String;
  1722. FreferenceSetId : String;
  1723. FreferenceBounds : TVariantSetTypereferenceBoundsArray;
  1724. Fmetadata : TVariantSetTypemetadataArray;
  1725. Fname : String;
  1726. Fdescription : String;
  1727. Protected
  1728. //Property setters
  1729. Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
  1730. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1731. Procedure SetreferenceSetId(AIndex : Integer; const AValue : String); virtual;
  1732. Procedure SetreferenceBounds(AIndex : Integer; const AValue : TVariantSetTypereferenceBoundsArray); virtual;
  1733. Procedure Setmetadata(AIndex : Integer; const AValue : TVariantSetTypemetadataArray); virtual;
  1734. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1735. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1736. //2.6.4. bug workaround
  1737. {$IFDEF VER2_6}
  1738. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1739. {$ENDIF VER2_6}
  1740. Public
  1741. Published
  1742. Property datasetId : String Index 0 Read FdatasetId Write SetdatasetId;
  1743. Property id : String Index 8 Read Fid Write Setid;
  1744. Property referenceSetId : String Index 16 Read FreferenceSetId Write SetreferenceSetId;
  1745. Property referenceBounds : TVariantSetTypereferenceBoundsArray Index 24 Read FreferenceBounds Write SetreferenceBounds;
  1746. Property metadata : TVariantSetTypemetadataArray Index 32 Read Fmetadata Write Setmetadata;
  1747. Property name : String Index 40 Read Fname Write Setname;
  1748. Property description : String Index 48 Read Fdescription Write Setdescription;
  1749. end;
  1750. TVariantSetClass = Class of TVariantSet;
  1751. { --------------------------------------------------------------------
  1752. TReferenceBound
  1753. --------------------------------------------------------------------}
  1754. TReferenceBound = Class(TGoogleBaseObject)
  1755. Private
  1756. FreferenceName : String;
  1757. FupperBound : String;
  1758. Protected
  1759. //Property setters
  1760. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1761. Procedure SetupperBound(AIndex : Integer; const AValue : String); virtual;
  1762. Public
  1763. Published
  1764. Property referenceName : String Index 0 Read FreferenceName Write SetreferenceName;
  1765. Property upperBound : String Index 8 Read FupperBound Write SetupperBound;
  1766. end;
  1767. TReferenceBoundClass = Class of TReferenceBound;
  1768. { --------------------------------------------------------------------
  1769. TVariantSetMetadataTypeinfo
  1770. --------------------------------------------------------------------}
  1771. TVariantSetMetadataTypeinfo = Class(TGoogleBaseObject)
  1772. Private
  1773. Protected
  1774. //Property setters
  1775. Public
  1776. Class Function AllowAdditionalProperties : Boolean; override;
  1777. Published
  1778. end;
  1779. TVariantSetMetadataTypeinfoClass = Class of TVariantSetMetadataTypeinfo;
  1780. { --------------------------------------------------------------------
  1781. TVariantSetMetadata
  1782. --------------------------------------------------------------------}
  1783. TVariantSetMetadata = Class(TGoogleBaseObject)
  1784. Private
  1785. Fkey : String;
  1786. Fvalue : String;
  1787. Fid : String;
  1788. F_type : String;
  1789. Fnumber : String;
  1790. Fdescription : String;
  1791. Finfo : TVariantSetMetadataTypeinfo;
  1792. Protected
  1793. Class Function ExportPropertyName(Const AName : String) : string; override;
  1794. //Property setters
  1795. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  1796. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1797. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1798. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1799. Procedure Setnumber(AIndex : Integer; const AValue : String); virtual;
  1800. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1801. Procedure Setinfo(AIndex : Integer; const AValue : TVariantSetMetadataTypeinfo); virtual;
  1802. Public
  1803. Published
  1804. Property key : String Index 0 Read Fkey Write Setkey;
  1805. Property value : String Index 8 Read Fvalue Write Setvalue;
  1806. Property id : String Index 16 Read Fid Write Setid;
  1807. Property _type : String Index 24 Read F_type Write Set_type;
  1808. Property number : String Index 32 Read Fnumber Write Setnumber;
  1809. Property description : String Index 40 Read Fdescription Write Setdescription;
  1810. Property info : TVariantSetMetadataTypeinfo Index 48 Read Finfo Write Setinfo;
  1811. end;
  1812. TVariantSetMetadataClass = Class of TVariantSetMetadata;
  1813. { --------------------------------------------------------------------
  1814. TExportVariantSetRequest
  1815. --------------------------------------------------------------------}
  1816. TExportVariantSetRequest = Class(TGoogleBaseObject)
  1817. Private
  1818. FcallSetIds : TStringArray;
  1819. FprojectId : String;
  1820. Fformat : String;
  1821. FbigqueryDataset : String;
  1822. FbigqueryTable : String;
  1823. Protected
  1824. //Property setters
  1825. Procedure SetcallSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1826. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  1827. Procedure Setformat(AIndex : Integer; const AValue : String); virtual;
  1828. Procedure SetbigqueryDataset(AIndex : Integer; const AValue : String); virtual;
  1829. Procedure SetbigqueryTable(AIndex : Integer; const AValue : String); virtual;
  1830. //2.6.4. bug workaround
  1831. {$IFDEF VER2_6}
  1832. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1833. {$ENDIF VER2_6}
  1834. Public
  1835. Published
  1836. Property callSetIds : TStringArray Index 0 Read FcallSetIds Write SetcallSetIds;
  1837. Property projectId : String Index 8 Read FprojectId Write SetprojectId;
  1838. Property format : String Index 16 Read Fformat Write Setformat;
  1839. Property bigqueryDataset : String Index 24 Read FbigqueryDataset Write SetbigqueryDataset;
  1840. Property bigqueryTable : String Index 32 Read FbigqueryTable Write SetbigqueryTable;
  1841. end;
  1842. TExportVariantSetRequestClass = Class of TExportVariantSetRequest;
  1843. { --------------------------------------------------------------------
  1844. TSearchVariantSetsRequest
  1845. --------------------------------------------------------------------}
  1846. TSearchVariantSetsRequest = Class(TGoogleBaseObject)
  1847. Private
  1848. FdatasetIds : TStringArray;
  1849. FpageToken : String;
  1850. FpageSize : integer;
  1851. Protected
  1852. //Property setters
  1853. Procedure SetdatasetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1854. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  1855. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  1856. //2.6.4. bug workaround
  1857. {$IFDEF VER2_6}
  1858. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1859. {$ENDIF VER2_6}
  1860. Public
  1861. Published
  1862. Property datasetIds : TStringArray Index 0 Read FdatasetIds Write SetdatasetIds;
  1863. Property pageToken : String Index 8 Read FpageToken Write SetpageToken;
  1864. Property pageSize : integer Index 16 Read FpageSize Write SetpageSize;
  1865. end;
  1866. TSearchVariantSetsRequestClass = Class of TSearchVariantSetsRequest;
  1867. { --------------------------------------------------------------------
  1868. TSearchVariantSetsResponse
  1869. --------------------------------------------------------------------}
  1870. TSearchVariantSetsResponse = Class(TGoogleBaseObject)
  1871. Private
  1872. FvariantSets : TSearchVariantSetsResponseTypevariantSetsArray;
  1873. FnextPageToken : String;
  1874. Protected
  1875. //Property setters
  1876. Procedure SetvariantSets(AIndex : Integer; const AValue : TSearchVariantSetsResponseTypevariantSetsArray); virtual;
  1877. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1878. //2.6.4. bug workaround
  1879. {$IFDEF VER2_6}
  1880. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1881. {$ENDIF VER2_6}
  1882. Public
  1883. Published
  1884. Property variantSets : TSearchVariantSetsResponseTypevariantSetsArray Index 0 Read FvariantSets Write SetvariantSets;
  1885. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  1886. end;
  1887. TSearchVariantSetsResponseClass = Class of TSearchVariantSetsResponse;
  1888. { --------------------------------------------------------------------
  1889. TSearchVariantsRequest
  1890. --------------------------------------------------------------------}
  1891. TSearchVariantsRequest = Class(TGoogleBaseObject)
  1892. Private
  1893. FvariantSetIds : TStringArray;
  1894. FvariantName : String;
  1895. FcallSetIds : TStringArray;
  1896. FreferenceName : String;
  1897. Fstart : String;
  1898. F_end : String;
  1899. FpageToken : String;
  1900. FpageSize : integer;
  1901. FmaxCalls : integer;
  1902. Protected
  1903. Class Function ExportPropertyName(Const AName : String) : string; override;
  1904. //Property setters
  1905. Procedure SetvariantSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1906. Procedure SetvariantName(AIndex : Integer; const AValue : String); virtual;
  1907. Procedure SetcallSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  1908. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1909. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  1910. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  1911. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  1912. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  1913. Procedure SetmaxCalls(AIndex : Integer; const AValue : integer); virtual;
  1914. //2.6.4. bug workaround
  1915. {$IFDEF VER2_6}
  1916. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1917. {$ENDIF VER2_6}
  1918. Public
  1919. Published
  1920. Property variantSetIds : TStringArray Index 0 Read FvariantSetIds Write SetvariantSetIds;
  1921. Property variantName : String Index 8 Read FvariantName Write SetvariantName;
  1922. Property callSetIds : TStringArray Index 16 Read FcallSetIds Write SetcallSetIds;
  1923. Property referenceName : String Index 24 Read FreferenceName Write SetreferenceName;
  1924. Property start : String Index 32 Read Fstart Write Setstart;
  1925. Property _end : String Index 40 Read F_end Write Set_end;
  1926. Property pageToken : String Index 48 Read FpageToken Write SetpageToken;
  1927. Property pageSize : integer Index 56 Read FpageSize Write SetpageSize;
  1928. Property maxCalls : integer Index 64 Read FmaxCalls Write SetmaxCalls;
  1929. end;
  1930. TSearchVariantsRequestClass = Class of TSearchVariantsRequest;
  1931. { --------------------------------------------------------------------
  1932. TSearchVariantsResponse
  1933. --------------------------------------------------------------------}
  1934. TSearchVariantsResponse = Class(TGoogleBaseObject)
  1935. Private
  1936. Fvariants : TSearchVariantsResponseTypevariantsArray;
  1937. FnextPageToken : String;
  1938. Protected
  1939. //Property setters
  1940. Procedure Setvariants(AIndex : Integer; const AValue : TSearchVariantsResponseTypevariantsArray); virtual;
  1941. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1942. //2.6.4. bug workaround
  1943. {$IFDEF VER2_6}
  1944. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1945. {$ENDIF VER2_6}
  1946. Public
  1947. Published
  1948. Property variants : TSearchVariantsResponseTypevariantsArray Index 0 Read Fvariants Write Setvariants;
  1949. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  1950. end;
  1951. TSearchVariantsResponseClass = Class of TSearchVariantsResponse;
  1952. { --------------------------------------------------------------------
  1953. TVariantTypeinfo
  1954. --------------------------------------------------------------------}
  1955. TVariantTypeinfo = Class(TGoogleBaseObject)
  1956. Private
  1957. Protected
  1958. //Property setters
  1959. Public
  1960. Class Function AllowAdditionalProperties : Boolean; override;
  1961. Published
  1962. end;
  1963. TVariantTypeinfoClass = Class of TVariantTypeinfo;
  1964. { --------------------------------------------------------------------
  1965. TVariant
  1966. --------------------------------------------------------------------}
  1967. TVariant = Class(TGoogleBaseObject)
  1968. Private
  1969. FvariantSetId : String;
  1970. Fid : String;
  1971. Fnames : TStringArray;
  1972. Fcreated : String;
  1973. FreferenceName : String;
  1974. Fstart : String;
  1975. F_end : String;
  1976. FreferenceBases : String;
  1977. FalternateBases : TStringArray;
  1978. Fquality : double;
  1979. Ffilter : TStringArray;
  1980. Finfo : TVariantTypeinfo;
  1981. Fcalls : TVariantTypecallsArray;
  1982. Protected
  1983. Class Function ExportPropertyName(Const AName : String) : string; override;
  1984. //Property setters
  1985. Procedure SetvariantSetId(AIndex : Integer; const AValue : String); virtual;
  1986. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1987. Procedure Setnames(AIndex : Integer; const AValue : TStringArray); virtual;
  1988. Procedure Setcreated(AIndex : Integer; const AValue : String); virtual;
  1989. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  1990. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  1991. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  1992. Procedure SetreferenceBases(AIndex : Integer; const AValue : String); virtual;
  1993. Procedure SetalternateBases(AIndex : Integer; const AValue : TStringArray); virtual;
  1994. Procedure Setquality(AIndex : Integer; const AValue : double); virtual;
  1995. Procedure Setfilter(AIndex : Integer; const AValue : TStringArray); virtual;
  1996. Procedure Setinfo(AIndex : Integer; const AValue : TVariantTypeinfo); virtual;
  1997. Procedure Setcalls(AIndex : Integer; const AValue : TVariantTypecallsArray); virtual;
  1998. //2.6.4. bug workaround
  1999. {$IFDEF VER2_6}
  2000. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2001. {$ENDIF VER2_6}
  2002. Public
  2003. Published
  2004. Property variantSetId : String Index 0 Read FvariantSetId Write SetvariantSetId;
  2005. Property id : String Index 8 Read Fid Write Setid;
  2006. Property names : TStringArray Index 16 Read Fnames Write Setnames;
  2007. Property created : String Index 24 Read Fcreated Write Setcreated;
  2008. Property referenceName : String Index 32 Read FreferenceName Write SetreferenceName;
  2009. Property start : String Index 40 Read Fstart Write Setstart;
  2010. Property _end : String Index 48 Read F_end Write Set_end;
  2011. Property referenceBases : String Index 56 Read FreferenceBases Write SetreferenceBases;
  2012. Property alternateBases : TStringArray Index 64 Read FalternateBases Write SetalternateBases;
  2013. Property quality : double Index 72 Read Fquality Write Setquality;
  2014. Property filter : TStringArray Index 80 Read Ffilter Write Setfilter;
  2015. Property info : TVariantTypeinfo Index 88 Read Finfo Write Setinfo;
  2016. Property calls : TVariantTypecallsArray Index 96 Read Fcalls Write Setcalls;
  2017. end;
  2018. TVariantClass = Class of TVariant;
  2019. { --------------------------------------------------------------------
  2020. TVariantCallTypeinfo
  2021. --------------------------------------------------------------------}
  2022. TVariantCallTypeinfo = Class(TGoogleBaseObject)
  2023. Private
  2024. Protected
  2025. //Property setters
  2026. Public
  2027. Class Function AllowAdditionalProperties : Boolean; override;
  2028. Published
  2029. end;
  2030. TVariantCallTypeinfoClass = Class of TVariantCallTypeinfo;
  2031. { --------------------------------------------------------------------
  2032. TVariantCall
  2033. --------------------------------------------------------------------}
  2034. TVariantCall = Class(TGoogleBaseObject)
  2035. Private
  2036. FcallSetId : String;
  2037. FcallSetName : String;
  2038. Fgenotype : TintegerArray;
  2039. Fphaseset : String;
  2040. FgenotypeLikelihood : TdoubleArray;
  2041. Finfo : TVariantCallTypeinfo;
  2042. Protected
  2043. //Property setters
  2044. Procedure SetcallSetId(AIndex : Integer; const AValue : String); virtual;
  2045. Procedure SetcallSetName(AIndex : Integer; const AValue : String); virtual;
  2046. Procedure Setgenotype(AIndex : Integer; const AValue : TintegerArray); virtual;
  2047. Procedure Setphaseset(AIndex : Integer; const AValue : String); virtual;
  2048. Procedure SetgenotypeLikelihood(AIndex : Integer; const AValue : TdoubleArray); virtual;
  2049. Procedure Setinfo(AIndex : Integer; const AValue : TVariantCallTypeinfo); virtual;
  2050. //2.6.4. bug workaround
  2051. {$IFDEF VER2_6}
  2052. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2053. {$ENDIF VER2_6}
  2054. Public
  2055. Published
  2056. Property callSetId : String Index 0 Read FcallSetId Write SetcallSetId;
  2057. Property callSetName : String Index 8 Read FcallSetName Write SetcallSetName;
  2058. Property genotype : TintegerArray Index 16 Read Fgenotype Write Setgenotype;
  2059. Property phaseset : String Index 24 Read Fphaseset Write Setphaseset;
  2060. Property genotypeLikelihood : TdoubleArray Index 32 Read FgenotypeLikelihood Write SetgenotypeLikelihood;
  2061. Property info : TVariantCallTypeinfo Index 40 Read Finfo Write Setinfo;
  2062. end;
  2063. TVariantCallClass = Class of TVariantCall;
  2064. { --------------------------------------------------------------------
  2065. TMergeVariantsRequestTypeinfoMergeConfig
  2066. --------------------------------------------------------------------}
  2067. TMergeVariantsRequestTypeinfoMergeConfig = Class(TGoogleBaseObject)
  2068. Private
  2069. Protected
  2070. //Property setters
  2071. Public
  2072. Class Function AllowAdditionalProperties : Boolean; override;
  2073. Published
  2074. end;
  2075. TMergeVariantsRequestTypeinfoMergeConfigClass = Class of TMergeVariantsRequestTypeinfoMergeConfig;
  2076. { --------------------------------------------------------------------
  2077. TMergeVariantsRequest
  2078. --------------------------------------------------------------------}
  2079. TMergeVariantsRequest = Class(TGoogleBaseObject)
  2080. Private
  2081. FvariantSetId : String;
  2082. Fvariants : TMergeVariantsRequestTypevariantsArray;
  2083. FinfoMergeConfig : TMergeVariantsRequestTypeinfoMergeConfig;
  2084. Protected
  2085. //Property setters
  2086. Procedure SetvariantSetId(AIndex : Integer; const AValue : String); virtual;
  2087. Procedure Setvariants(AIndex : Integer; const AValue : TMergeVariantsRequestTypevariantsArray); virtual;
  2088. Procedure SetinfoMergeConfig(AIndex : Integer; const AValue : TMergeVariantsRequestTypeinfoMergeConfig); virtual;
  2089. //2.6.4. bug workaround
  2090. {$IFDEF VER2_6}
  2091. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2092. {$ENDIF VER2_6}
  2093. Public
  2094. Published
  2095. Property variantSetId : String Index 0 Read FvariantSetId Write SetvariantSetId;
  2096. Property variants : TMergeVariantsRequestTypevariantsArray Index 8 Read Fvariants Write Setvariants;
  2097. Property infoMergeConfig : TMergeVariantsRequestTypeinfoMergeConfig Index 16 Read FinfoMergeConfig Write SetinfoMergeConfig;
  2098. end;
  2099. TMergeVariantsRequestClass = Class of TMergeVariantsRequest;
  2100. { --------------------------------------------------------------------
  2101. TSearchCallSetsRequest
  2102. --------------------------------------------------------------------}
  2103. TSearchCallSetsRequest = Class(TGoogleBaseObject)
  2104. Private
  2105. FvariantSetIds : TStringArray;
  2106. Fname : String;
  2107. FpageToken : String;
  2108. FpageSize : integer;
  2109. Protected
  2110. //Property setters
  2111. Procedure SetvariantSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  2112. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2113. Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
  2114. Procedure SetpageSize(AIndex : Integer; const AValue : integer); virtual;
  2115. //2.6.4. bug workaround
  2116. {$IFDEF VER2_6}
  2117. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2118. {$ENDIF VER2_6}
  2119. Public
  2120. Published
  2121. Property variantSetIds : TStringArray Index 0 Read FvariantSetIds Write SetvariantSetIds;
  2122. Property name : String Index 8 Read Fname Write Setname;
  2123. Property pageToken : String Index 16 Read FpageToken Write SetpageToken;
  2124. Property pageSize : integer Index 24 Read FpageSize Write SetpageSize;
  2125. end;
  2126. TSearchCallSetsRequestClass = Class of TSearchCallSetsRequest;
  2127. { --------------------------------------------------------------------
  2128. TSearchCallSetsResponse
  2129. --------------------------------------------------------------------}
  2130. TSearchCallSetsResponse = Class(TGoogleBaseObject)
  2131. Private
  2132. FcallSets : TSearchCallSetsResponseTypecallSetsArray;
  2133. FnextPageToken : String;
  2134. Protected
  2135. //Property setters
  2136. Procedure SetcallSets(AIndex : Integer; const AValue : TSearchCallSetsResponseTypecallSetsArray); virtual;
  2137. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2138. //2.6.4. bug workaround
  2139. {$IFDEF VER2_6}
  2140. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2141. {$ENDIF VER2_6}
  2142. Public
  2143. Published
  2144. Property callSets : TSearchCallSetsResponseTypecallSetsArray Index 0 Read FcallSets Write SetcallSets;
  2145. Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
  2146. end;
  2147. TSearchCallSetsResponseClass = Class of TSearchCallSetsResponse;
  2148. { --------------------------------------------------------------------
  2149. TCallSetTypeinfo
  2150. --------------------------------------------------------------------}
  2151. TCallSetTypeinfo = Class(TGoogleBaseObject)
  2152. Private
  2153. Protected
  2154. //Property setters
  2155. Public
  2156. Class Function AllowAdditionalProperties : Boolean; override;
  2157. Published
  2158. end;
  2159. TCallSetTypeinfoClass = Class of TCallSetTypeinfo;
  2160. { --------------------------------------------------------------------
  2161. TCallSet
  2162. --------------------------------------------------------------------}
  2163. TCallSet = Class(TGoogleBaseObject)
  2164. Private
  2165. Fid : String;
  2166. Fname : String;
  2167. FsampleId : String;
  2168. FvariantSetIds : TStringArray;
  2169. Fcreated : String;
  2170. Finfo : TCallSetTypeinfo;
  2171. Protected
  2172. //Property setters
  2173. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2174. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2175. Procedure SetsampleId(AIndex : Integer; const AValue : String); virtual;
  2176. Procedure SetvariantSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  2177. Procedure Setcreated(AIndex : Integer; const AValue : String); virtual;
  2178. Procedure Setinfo(AIndex : Integer; const AValue : TCallSetTypeinfo); virtual;
  2179. //2.6.4. bug workaround
  2180. {$IFDEF VER2_6}
  2181. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2182. {$ENDIF VER2_6}
  2183. Public
  2184. Published
  2185. Property id : String Index 0 Read Fid Write Setid;
  2186. Property name : String Index 8 Read Fname Write Setname;
  2187. Property sampleId : String Index 16 Read FsampleId Write SetsampleId;
  2188. Property variantSetIds : TStringArray Index 24 Read FvariantSetIds Write SetvariantSetIds;
  2189. Property created : String Index 32 Read Fcreated Write Setcreated;
  2190. Property info : TCallSetTypeinfo Index 40 Read Finfo Write Setinfo;
  2191. end;
  2192. TCallSetClass = Class of TCallSet;
  2193. { --------------------------------------------------------------------
  2194. TStreamVariantsRequest
  2195. --------------------------------------------------------------------}
  2196. TStreamVariantsRequest = Class(TGoogleBaseObject)
  2197. Private
  2198. FprojectId : String;
  2199. FvariantSetId : String;
  2200. FcallSetIds : TStringArray;
  2201. FreferenceName : String;
  2202. Fstart : String;
  2203. F_end : String;
  2204. Protected
  2205. Class Function ExportPropertyName(Const AName : String) : string; override;
  2206. //Property setters
  2207. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  2208. Procedure SetvariantSetId(AIndex : Integer; const AValue : String); virtual;
  2209. Procedure SetcallSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  2210. Procedure SetreferenceName(AIndex : Integer; const AValue : String); virtual;
  2211. Procedure Setstart(AIndex : Integer; const AValue : String); virtual;
  2212. Procedure Set_end(AIndex : Integer; const AValue : String); virtual;
  2213. //2.6.4. bug workaround
  2214. {$IFDEF VER2_6}
  2215. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2216. {$ENDIF VER2_6}
  2217. Public
  2218. Published
  2219. Property projectId : String Index 0 Read FprojectId Write SetprojectId;
  2220. Property variantSetId : String Index 8 Read FvariantSetId Write SetvariantSetId;
  2221. Property callSetIds : TStringArray Index 16 Read FcallSetIds Write SetcallSetIds;
  2222. Property referenceName : String Index 24 Read FreferenceName Write SetreferenceName;
  2223. Property start : String Index 32 Read Fstart Write Setstart;
  2224. Property _end : String Index 40 Read F_end Write Set_end;
  2225. end;
  2226. TStreamVariantsRequestClass = Class of TStreamVariantsRequest;
  2227. { --------------------------------------------------------------------
  2228. TStreamVariantsResponse
  2229. --------------------------------------------------------------------}
  2230. TStreamVariantsResponse = Class(TGoogleBaseObject)
  2231. Private
  2232. Fvariants : TStreamVariantsResponseTypevariantsArray;
  2233. Protected
  2234. //Property setters
  2235. Procedure Setvariants(AIndex : Integer; const AValue : TStreamVariantsResponseTypevariantsArray); virtual;
  2236. //2.6.4. bug workaround
  2237. {$IFDEF VER2_6}
  2238. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2239. {$ENDIF VER2_6}
  2240. Public
  2241. Published
  2242. Property variants : TStreamVariantsResponseTypevariantsArray Index 0 Read Fvariants Write Setvariants;
  2243. end;
  2244. TStreamVariantsResponseClass = Class of TStreamVariantsResponse;
  2245. { --------------------------------------------------------------------
  2246. TImportReadGroupSetsResponse
  2247. --------------------------------------------------------------------}
  2248. TImportReadGroupSetsResponse = Class(TGoogleBaseObject)
  2249. Private
  2250. FreadGroupSetIds : TStringArray;
  2251. Protected
  2252. //Property setters
  2253. Procedure SetreadGroupSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  2254. //2.6.4. bug workaround
  2255. {$IFDEF VER2_6}
  2256. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2257. {$ENDIF VER2_6}
  2258. Public
  2259. Published
  2260. Property readGroupSetIds : TStringArray Index 0 Read FreadGroupSetIds Write SetreadGroupSetIds;
  2261. end;
  2262. TImportReadGroupSetsResponseClass = Class of TImportReadGroupSetsResponse;
  2263. { --------------------------------------------------------------------
  2264. TImportVariantsResponse
  2265. --------------------------------------------------------------------}
  2266. TImportVariantsResponse = Class(TGoogleBaseObject)
  2267. Private
  2268. FcallSetIds : TStringArray;
  2269. Protected
  2270. //Property setters
  2271. Procedure SetcallSetIds(AIndex : Integer; const AValue : TStringArray); virtual;
  2272. //2.6.4. bug workaround
  2273. {$IFDEF VER2_6}
  2274. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2275. {$ENDIF VER2_6}
  2276. Public
  2277. Published
  2278. Property callSetIds : TStringArray Index 0 Read FcallSetIds Write SetcallSetIds;
  2279. end;
  2280. TImportVariantsResponseClass = Class of TImportVariantsResponse;
  2281. { --------------------------------------------------------------------
  2282. TOperationMetadataTyperequest
  2283. --------------------------------------------------------------------}
  2284. TOperationMetadataTyperequest = Class(TGoogleBaseObject)
  2285. Private
  2286. Protected
  2287. //Property setters
  2288. Public
  2289. Class Function AllowAdditionalProperties : Boolean; override;
  2290. Published
  2291. end;
  2292. TOperationMetadataTyperequestClass = Class of TOperationMetadataTyperequest;
  2293. { --------------------------------------------------------------------
  2294. TOperationMetadata
  2295. --------------------------------------------------------------------}
  2296. TOperationMetadata = Class(TGoogleBaseObject)
  2297. Private
  2298. FprojectId : String;
  2299. FcreateTime : String;
  2300. FendTime : String;
  2301. Frequest : TOperationMetadataTyperequest;
  2302. Fevents : TOperationMetadataTypeeventsArray;
  2303. Protected
  2304. //Property setters
  2305. Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
  2306. Procedure SetcreateTime(AIndex : Integer; const AValue : String); virtual;
  2307. Procedure SetendTime(AIndex : Integer; const AValue : String); virtual;
  2308. Procedure Setrequest(AIndex : Integer; const AValue : TOperationMetadataTyperequest); virtual;
  2309. Procedure Setevents(AIndex : Integer; const AValue : TOperationMetadataTypeeventsArray); virtual;
  2310. //2.6.4. bug workaround
  2311. {$IFDEF VER2_6}
  2312. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2313. {$ENDIF VER2_6}
  2314. Public
  2315. Published
  2316. Property projectId : String Index 0 Read FprojectId Write SetprojectId;
  2317. Property createTime : String Index 8 Read FcreateTime Write SetcreateTime;
  2318. Property endTime : String Index 16 Read FendTime Write SetendTime;
  2319. Property request : TOperationMetadataTyperequest Index 24 Read Frequest Write Setrequest;
  2320. Property events : TOperationMetadataTypeeventsArray Index 32 Read Fevents Write Setevents;
  2321. end;
  2322. TOperationMetadataClass = Class of TOperationMetadata;
  2323. { --------------------------------------------------------------------
  2324. TOperationEvent
  2325. --------------------------------------------------------------------}
  2326. TOperationEvent = Class(TGoogleBaseObject)
  2327. Private
  2328. Fdescription : String;
  2329. Protected
  2330. //Property setters
  2331. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2332. Public
  2333. Published
  2334. Property description : String Index 0 Read Fdescription Write Setdescription;
  2335. end;
  2336. TOperationEventClass = Class of TOperationEvent;
  2337. { --------------------------------------------------------------------
  2338. TAnnotationsetsResource
  2339. --------------------------------------------------------------------}
  2340. //Optional query Options for TAnnotationsetsResource, method Update
  2341. TAnnotationsetsUpdateOptions = Record
  2342. updateMask : String;
  2343. end;
  2344. TAnnotationsetsResource = Class(TGoogleResource)
  2345. Public
  2346. Class Function ResourceName : String; override;
  2347. Class Function DefaultAPI : TGoogleAPIClass; override;
  2348. Function Create(aAnnotationSet : TAnnotationSet) : TAnnotationSet;overload;
  2349. Function Get(annotationSetId: string) : TAnnotationSet;
  2350. Function Update(annotationSetId: string; aAnnotationSet : TAnnotationSet; AQuery : string = '') : TAnnotationSet;
  2351. Function Update(annotationSetId: string; aAnnotationSet : TAnnotationSet; AQuery : TAnnotationsetsupdateOptions) : TAnnotationSet;
  2352. Function Delete(annotationSetId: string) : TEmpty;
  2353. Function Search(aSearchAnnotationSetsRequest : TSearchAnnotationSetsRequest) : TSearchAnnotationSetsResponse;
  2354. end;
  2355. { --------------------------------------------------------------------
  2356. TAnnotationsResource
  2357. --------------------------------------------------------------------}
  2358. //Optional query Options for TAnnotationsResource, method Update
  2359. TAnnotationsUpdateOptions = Record
  2360. updateMask : String;
  2361. end;
  2362. TAnnotationsResource = Class(TGoogleResource)
  2363. Public
  2364. Class Function ResourceName : String; override;
  2365. Class Function DefaultAPI : TGoogleAPIClass; override;
  2366. Function Create(aAnnotation : TAnnotation) : TAnnotation;overload;
  2367. Function BatchCreate(aBatchCreateAnnotationsRequest : TBatchCreateAnnotationsRequest) : TBatchCreateAnnotationsResponse;
  2368. Function Get(annotationId: string) : TAnnotation;
  2369. Function Update(annotationId: string; aAnnotation : TAnnotation; AQuery : string = '') : TAnnotation;
  2370. Function Update(annotationId: string; aAnnotation : TAnnotation; AQuery : TAnnotationsupdateOptions) : TAnnotation;
  2371. Function Delete(annotationId: string) : TEmpty;
  2372. Function Search(aSearchAnnotationsRequest : TSearchAnnotationsRequest) : TSearchAnnotationsResponse;
  2373. end;
  2374. { --------------------------------------------------------------------
  2375. TDatasetsResource
  2376. --------------------------------------------------------------------}
  2377. //Optional query Options for TDatasetsResource, method List
  2378. TDatasetsListOptions = Record
  2379. projectId : String;
  2380. pageSize : integer;
  2381. pageToken : String;
  2382. end;
  2383. //Optional query Options for TDatasetsResource, method Patch
  2384. TDatasetsPatchOptions = Record
  2385. updateMask : String;
  2386. end;
  2387. TDatasetsResource = Class(TGoogleResource)
  2388. Public
  2389. Class Function ResourceName : String; override;
  2390. Class Function DefaultAPI : TGoogleAPIClass; override;
  2391. Function List(AQuery : string = '') : TListDatasetsResponse;
  2392. Function List(AQuery : TDatasetslistOptions) : TListDatasetsResponse;
  2393. Function Create(aDataset : TDataset) : TDataset;overload;
  2394. Function Get(datasetId: string) : TDataset;
  2395. Function Patch(datasetId: string; aDataset : TDataset; AQuery : string = '') : TDataset;
  2396. Function Patch(datasetId: string; aDataset : TDataset; AQuery : TDatasetspatchOptions) : TDataset;
  2397. Function Delete(datasetId: string) : TEmpty;
  2398. Function Undelete(datasetId: string; aUndeleteDatasetRequest : TUndeleteDatasetRequest) : TDataset;
  2399. Function SetIamPolicy(resource: string; aSetIamPolicyRequest : TSetIamPolicyRequest) : TPolicy;
  2400. Function GetIamPolicy(resource: string; aGetIamPolicyRequest : TGetIamPolicyRequest) : TPolicy;
  2401. Function TestIamPermissions(resource: string; aTestIamPermissionsRequest : TTestIamPermissionsRequest) : TTestIamPermissionsResponse;
  2402. end;
  2403. { --------------------------------------------------------------------
  2404. TOperationsResource
  2405. --------------------------------------------------------------------}
  2406. //Optional query Options for TOperationsResource, method List
  2407. TOperationsListOptions = Record
  2408. filter : String;
  2409. pageSize : integer;
  2410. pageToken : String;
  2411. end;
  2412. TOperationsResource = Class(TGoogleResource)
  2413. Public
  2414. Class Function ResourceName : String; override;
  2415. Class Function DefaultAPI : TGoogleAPIClass; override;
  2416. Function Get(_name: string) : TOperation;
  2417. Function List(_name: string; AQuery : string = '') : TListOperationsResponse;
  2418. Function List(_name: string; AQuery : TOperationslistOptions) : TListOperationsResponse;
  2419. Function Cancel(_name: string; aCancelOperationRequest : TCancelOperationRequest) : TEmpty;
  2420. end;
  2421. { --------------------------------------------------------------------
  2422. TReadgroupsetsCoveragebucketsResource
  2423. --------------------------------------------------------------------}
  2424. //Optional query Options for TReadgroupsetsCoveragebucketsResource, method List
  2425. TReadgroupsetsCoveragebucketsListOptions = Record
  2426. referenceName : String;
  2427. start : int64;
  2428. _end : int64;
  2429. targetBucketWidth : int64;
  2430. pageToken : String;
  2431. pageSize : integer;
  2432. end;
  2433. TReadgroupsetsCoveragebucketsResource = Class(TGoogleResource)
  2434. Public
  2435. Class Function ResourceName : String; override;
  2436. Class Function DefaultAPI : TGoogleAPIClass; override;
  2437. Function List(readGroupSetId: string; AQuery : string = '') : TListCoverageBucketsResponse;
  2438. Function List(readGroupSetId: string; AQuery : TReadgroupsetsCoveragebucketslistOptions) : TListCoverageBucketsResponse;
  2439. end;
  2440. { --------------------------------------------------------------------
  2441. TReadgroupsetsResource
  2442. --------------------------------------------------------------------}
  2443. //Optional query Options for TReadgroupsetsResource, method Patch
  2444. TReadgroupsetsPatchOptions = Record
  2445. updateMask : String;
  2446. end;
  2447. TReadgroupsetsResource = Class(TGoogleResource)
  2448. Private
  2449. FCoveragebucketsInstance : TReadgroupsetsCoveragebucketsResource;
  2450. Function GetCoveragebucketsInstance : TReadgroupsetsCoveragebucketsResource;virtual;
  2451. Public
  2452. Class Function ResourceName : String; override;
  2453. Class Function DefaultAPI : TGoogleAPIClass; override;
  2454. Function Import(aImportReadGroupSetsRequest : TImportReadGroupSetsRequest) : TOperation;
  2455. Function Export(readGroupSetId: string; aExportReadGroupSetRequest : TExportReadGroupSetRequest) : TOperation;
  2456. Function Search(aSearchReadGroupSetsRequest : TSearchReadGroupSetsRequest) : TSearchReadGroupSetsResponse;
  2457. Function Patch(readGroupSetId: string; aReadGroupSet : TReadGroupSet; AQuery : string = '') : TReadGroupSet;
  2458. Function Patch(readGroupSetId: string; aReadGroupSet : TReadGroupSet; AQuery : TReadgroupsetspatchOptions) : TReadGroupSet;
  2459. Function Delete(readGroupSetId: string) : TEmpty;
  2460. Function Get(readGroupSetId: string) : TReadGroupSet;
  2461. Function CreateCoveragebucketsResource(AOwner : TComponent) : TReadgroupsetsCoveragebucketsResource;virtual;overload;
  2462. Function CreateCoveragebucketsResource : TReadgroupsetsCoveragebucketsResource;virtual;overload;
  2463. Property CoveragebucketsResource : TReadgroupsetsCoveragebucketsResource Read GetCoveragebucketsInstance;
  2464. end;
  2465. { --------------------------------------------------------------------
  2466. TReadsResource
  2467. --------------------------------------------------------------------}
  2468. TReadsResource = Class(TGoogleResource)
  2469. Public
  2470. Class Function ResourceName : String; override;
  2471. Class Function DefaultAPI : TGoogleAPIClass; override;
  2472. Function Search(aSearchReadsRequest : TSearchReadsRequest) : TSearchReadsResponse;
  2473. Function Stream(aStreamReadsRequest : TStreamReadsRequest) : TStreamReadsResponse;
  2474. end;
  2475. { --------------------------------------------------------------------
  2476. TReferencesetsResource
  2477. --------------------------------------------------------------------}
  2478. TReferencesetsResource = Class(TGoogleResource)
  2479. Public
  2480. Class Function ResourceName : String; override;
  2481. Class Function DefaultAPI : TGoogleAPIClass; override;
  2482. Function Search(aSearchReferenceSetsRequest : TSearchReferenceSetsRequest) : TSearchReferenceSetsResponse;
  2483. Function Get(referenceSetId: string) : TReferenceSet;
  2484. end;
  2485. { --------------------------------------------------------------------
  2486. TReferencesBasesResource
  2487. --------------------------------------------------------------------}
  2488. //Optional query Options for TReferencesBasesResource, method List
  2489. TReferencesBasesListOptions = Record
  2490. start : int64;
  2491. _end : int64;
  2492. pageToken : String;
  2493. pageSize : integer;
  2494. end;
  2495. TReferencesBasesResource = Class(TGoogleResource)
  2496. Public
  2497. Class Function ResourceName : String; override;
  2498. Class Function DefaultAPI : TGoogleAPIClass; override;
  2499. Function List(referenceId: string; AQuery : string = '') : TListBasesResponse;
  2500. Function List(referenceId: string; AQuery : TReferencesBaseslistOptions) : TListBasesResponse;
  2501. end;
  2502. { --------------------------------------------------------------------
  2503. TReferencesResource
  2504. --------------------------------------------------------------------}
  2505. TReferencesResource = Class(TGoogleResource)
  2506. Private
  2507. FBasesInstance : TReferencesBasesResource;
  2508. Function GetBasesInstance : TReferencesBasesResource;virtual;
  2509. Public
  2510. Class Function ResourceName : String; override;
  2511. Class Function DefaultAPI : TGoogleAPIClass; override;
  2512. Function Search(aSearchReferencesRequest : TSearchReferencesRequest) : TSearchReferencesResponse;
  2513. Function Get(referenceId: string) : TReference;
  2514. Function CreateBasesResource(AOwner : TComponent) : TReferencesBasesResource;virtual;overload;
  2515. Function CreateBasesResource : TReferencesBasesResource;virtual;overload;
  2516. Property BasesResource : TReferencesBasesResource Read GetBasesInstance;
  2517. end;
  2518. { --------------------------------------------------------------------
  2519. TVariantsResource
  2520. --------------------------------------------------------------------}
  2521. //Optional query Options for TVariantsResource, method Patch
  2522. TVariantsPatchOptions = Record
  2523. updateMask : String;
  2524. end;
  2525. TVariantsResource = Class(TGoogleResource)
  2526. Public
  2527. Class Function ResourceName : String; override;
  2528. Class Function DefaultAPI : TGoogleAPIClass; override;
  2529. Function Import(aImportVariantsRequest : TImportVariantsRequest) : TOperation;
  2530. Function Search(aSearchVariantsRequest : TSearchVariantsRequest) : TSearchVariantsResponse;
  2531. Function Create(aVariant : TVariant) : TVariant;overload;
  2532. Function Patch(variantId: string; aVariant : TVariant; AQuery : string = '') : TVariant;
  2533. Function Patch(variantId: string; aVariant : TVariant; AQuery : TVariantspatchOptions) : TVariant;
  2534. Function Delete(variantId: string) : TEmpty;
  2535. Function Get(variantId: string) : TVariant;
  2536. Function Merge(aMergeVariantsRequest : TMergeVariantsRequest) : TEmpty;
  2537. Function Stream(aStreamVariantsRequest : TStreamVariantsRequest) : TStreamVariantsResponse;
  2538. end;
  2539. { --------------------------------------------------------------------
  2540. TVariantsetsResource
  2541. --------------------------------------------------------------------}
  2542. //Optional query Options for TVariantsetsResource, method Patch
  2543. TVariantsetsPatchOptions = Record
  2544. updateMask : String;
  2545. end;
  2546. TVariantsetsResource = Class(TGoogleResource)
  2547. Public
  2548. Class Function ResourceName : String; override;
  2549. Class Function DefaultAPI : TGoogleAPIClass; override;
  2550. Function Create(aVariantSet : TVariantSet) : TVariantSet;overload;
  2551. Function Export(variantSetId: string; aExportVariantSetRequest : TExportVariantSetRequest) : TOperation;
  2552. Function Get(variantSetId: string) : TVariantSet;
  2553. Function Search(aSearchVariantSetsRequest : TSearchVariantSetsRequest) : TSearchVariantSetsResponse;
  2554. Function Delete(variantSetId: string) : TEmpty;
  2555. Function Patch(variantSetId: string; aVariantSet : TVariantSet; AQuery : string = '') : TVariantSet;
  2556. Function Patch(variantSetId: string; aVariantSet : TVariantSet; AQuery : TVariantsetspatchOptions) : TVariantSet;
  2557. end;
  2558. { --------------------------------------------------------------------
  2559. TCallsetsResource
  2560. --------------------------------------------------------------------}
  2561. //Optional query Options for TCallsetsResource, method Patch
  2562. TCallsetsPatchOptions = Record
  2563. updateMask : String;
  2564. end;
  2565. TCallsetsResource = Class(TGoogleResource)
  2566. Public
  2567. Class Function ResourceName : String; override;
  2568. Class Function DefaultAPI : TGoogleAPIClass; override;
  2569. Function Search(aSearchCallSetsRequest : TSearchCallSetsRequest) : TSearchCallSetsResponse;
  2570. Function Create(aCallSet : TCallSet) : TCallSet;overload;
  2571. Function Patch(callSetId: string; aCallSet : TCallSet; AQuery : string = '') : TCallSet;
  2572. Function Patch(callSetId: string; aCallSet : TCallSet; AQuery : TCallsetspatchOptions) : TCallSet;
  2573. Function Delete(callSetId: string) : TEmpty;
  2574. Function Get(callSetId: string) : TCallSet;
  2575. end;
  2576. { --------------------------------------------------------------------
  2577. TGenomicsAPI
  2578. --------------------------------------------------------------------}
  2579. TGenomicsAPI = Class(TGoogleAPI)
  2580. Private
  2581. FAnnotationsetsInstance : TAnnotationsetsResource;
  2582. FAnnotationsInstance : TAnnotationsResource;
  2583. FDatasetsInstance : TDatasetsResource;
  2584. FOperationsInstance : TOperationsResource;
  2585. FReadgroupsetsCoveragebucketsInstance : TReadgroupsetsCoveragebucketsResource;
  2586. FReadgroupsetsInstance : TReadgroupsetsResource;
  2587. FReadsInstance : TReadsResource;
  2588. FReferencesetsInstance : TReferencesetsResource;
  2589. FReferencesBasesInstance : TReferencesBasesResource;
  2590. FReferencesInstance : TReferencesResource;
  2591. FVariantsInstance : TVariantsResource;
  2592. FVariantsetsInstance : TVariantsetsResource;
  2593. FCallsetsInstance : TCallsetsResource;
  2594. Function GetAnnotationsetsInstance : TAnnotationsetsResource;virtual;
  2595. Function GetAnnotationsInstance : TAnnotationsResource;virtual;
  2596. Function GetDatasetsInstance : TDatasetsResource;virtual;
  2597. Function GetOperationsInstance : TOperationsResource;virtual;
  2598. Function GetReadgroupsetsCoveragebucketsInstance : TReadgroupsetsCoveragebucketsResource;virtual;
  2599. Function GetReadgroupsetsInstance : TReadgroupsetsResource;virtual;
  2600. Function GetReadsInstance : TReadsResource;virtual;
  2601. Function GetReferencesetsInstance : TReferencesetsResource;virtual;
  2602. Function GetReferencesBasesInstance : TReferencesBasesResource;virtual;
  2603. Function GetReferencesInstance : TReferencesResource;virtual;
  2604. Function GetVariantsInstance : TVariantsResource;virtual;
  2605. Function GetVariantsetsInstance : TVariantsetsResource;virtual;
  2606. Function GetCallsetsInstance : TCallsetsResource;virtual;
  2607. Public
  2608. //Override class functions with API info
  2609. Class Function APIName : String; override;
  2610. Class Function APIVersion : String; override;
  2611. Class Function APIRevision : String; override;
  2612. Class Function APIID : String; override;
  2613. Class Function APITitle : String; override;
  2614. Class Function APIDescription : String; override;
  2615. Class Function APIOwnerDomain : String; override;
  2616. Class Function APIOwnerName : String; override;
  2617. Class Function APIIcon16 : String; override;
  2618. Class Function APIIcon32 : String; override;
  2619. Class Function APIdocumentationLink : String; override;
  2620. Class Function APIrootUrl : string; override;
  2621. Class Function APIbasePath : string;override;
  2622. Class Function APIbaseURL : String;override;
  2623. Class Function APIProtocol : string;override;
  2624. Class Function APIservicePath : string;override;
  2625. Class Function APIbatchPath : String;override;
  2626. Class Function APIAuthScopes : TScopeInfoArray;override;
  2627. Class Function APINeedsAuth : Boolean;override;
  2628. Class Procedure RegisterAPIResources; override;
  2629. //Add create function for resources
  2630. Function CreateAnnotationsetsResource(AOwner : TComponent) : TAnnotationsetsResource;virtual;overload;
  2631. Function CreateAnnotationsetsResource : TAnnotationsetsResource;virtual;overload;
  2632. Function CreateAnnotationsResource(AOwner : TComponent) : TAnnotationsResource;virtual;overload;
  2633. Function CreateAnnotationsResource : TAnnotationsResource;virtual;overload;
  2634. Function CreateDatasetsResource(AOwner : TComponent) : TDatasetsResource;virtual;overload;
  2635. Function CreateDatasetsResource : TDatasetsResource;virtual;overload;
  2636. Function CreateOperationsResource(AOwner : TComponent) : TOperationsResource;virtual;overload;
  2637. Function CreateOperationsResource : TOperationsResource;virtual;overload;
  2638. Function CreateReadgroupsetsCoveragebucketsResource(AOwner : TComponent) : TReadgroupsetsCoveragebucketsResource;virtual;overload;
  2639. Function CreateReadgroupsetsCoveragebucketsResource : TReadgroupsetsCoveragebucketsResource;virtual;overload;
  2640. Function CreateReadgroupsetsResource(AOwner : TComponent) : TReadgroupsetsResource;virtual;overload;
  2641. Function CreateReadgroupsetsResource : TReadgroupsetsResource;virtual;overload;
  2642. Function CreateReadsResource(AOwner : TComponent) : TReadsResource;virtual;overload;
  2643. Function CreateReadsResource : TReadsResource;virtual;overload;
  2644. Function CreateReferencesetsResource(AOwner : TComponent) : TReferencesetsResource;virtual;overload;
  2645. Function CreateReferencesetsResource : TReferencesetsResource;virtual;overload;
  2646. Function CreateReferencesBasesResource(AOwner : TComponent) : TReferencesBasesResource;virtual;overload;
  2647. Function CreateReferencesBasesResource : TReferencesBasesResource;virtual;overload;
  2648. Function CreateReferencesResource(AOwner : TComponent) : TReferencesResource;virtual;overload;
  2649. Function CreateReferencesResource : TReferencesResource;virtual;overload;
  2650. Function CreateVariantsResource(AOwner : TComponent) : TVariantsResource;virtual;overload;
  2651. Function CreateVariantsResource : TVariantsResource;virtual;overload;
  2652. Function CreateVariantsetsResource(AOwner : TComponent) : TVariantsetsResource;virtual;overload;
  2653. Function CreateVariantsetsResource : TVariantsetsResource;virtual;overload;
  2654. Function CreateCallsetsResource(AOwner : TComponent) : TCallsetsResource;virtual;overload;
  2655. Function CreateCallsetsResource : TCallsetsResource;virtual;overload;
  2656. //Add default on-demand instances for resources
  2657. Property AnnotationsetsResource : TAnnotationsetsResource Read GetAnnotationsetsInstance;
  2658. Property AnnotationsResource : TAnnotationsResource Read GetAnnotationsInstance;
  2659. Property DatasetsResource : TDatasetsResource Read GetDatasetsInstance;
  2660. Property OperationsResource : TOperationsResource Read GetOperationsInstance;
  2661. Property ReadgroupsetsCoveragebucketsResource : TReadgroupsetsCoveragebucketsResource Read GetReadgroupsetsCoveragebucketsInstance;
  2662. Property ReadgroupsetsResource : TReadgroupsetsResource Read GetReadgroupsetsInstance;
  2663. Property ReadsResource : TReadsResource Read GetReadsInstance;
  2664. Property ReferencesetsResource : TReferencesetsResource Read GetReferencesetsInstance;
  2665. Property ReferencesBasesResource : TReferencesBasesResource Read GetReferencesBasesInstance;
  2666. Property ReferencesResource : TReferencesResource Read GetReferencesInstance;
  2667. Property VariantsResource : TVariantsResource Read GetVariantsInstance;
  2668. Property VariantsetsResource : TVariantsetsResource Read GetVariantsetsInstance;
  2669. Property CallsetsResource : TCallsetsResource Read GetCallsetsInstance;
  2670. end;
  2671. implementation
  2672. { --------------------------------------------------------------------
  2673. TAnnotationSetTypeinfo
  2674. --------------------------------------------------------------------}
  2675. Class Function TAnnotationSetTypeinfo.AllowAdditionalProperties : Boolean;
  2676. begin
  2677. Result:=True;
  2678. end;
  2679. { --------------------------------------------------------------------
  2680. TAnnotationSet
  2681. --------------------------------------------------------------------}
  2682. Procedure TAnnotationSet.Setid(AIndex : Integer; const AValue : String);
  2683. begin
  2684. If (Fid=AValue) then exit;
  2685. Fid:=AValue;
  2686. MarkPropertyChanged(AIndex);
  2687. end;
  2688. Procedure TAnnotationSet.SetdatasetId(AIndex : Integer; const AValue : String);
  2689. begin
  2690. If (FdatasetId=AValue) then exit;
  2691. FdatasetId:=AValue;
  2692. MarkPropertyChanged(AIndex);
  2693. end;
  2694. Procedure TAnnotationSet.SetreferenceSetId(AIndex : Integer; const AValue : String);
  2695. begin
  2696. If (FreferenceSetId=AValue) then exit;
  2697. FreferenceSetId:=AValue;
  2698. MarkPropertyChanged(AIndex);
  2699. end;
  2700. Procedure TAnnotationSet.Setname(AIndex : Integer; const AValue : String);
  2701. begin
  2702. If (Fname=AValue) then exit;
  2703. Fname:=AValue;
  2704. MarkPropertyChanged(AIndex);
  2705. end;
  2706. Procedure TAnnotationSet.SetsourceUri(AIndex : Integer; const AValue : String);
  2707. begin
  2708. If (FsourceUri=AValue) then exit;
  2709. FsourceUri:=AValue;
  2710. MarkPropertyChanged(AIndex);
  2711. end;
  2712. Procedure TAnnotationSet.Set_type(AIndex : Integer; const AValue : String);
  2713. begin
  2714. If (F_type=AValue) then exit;
  2715. F_type:=AValue;
  2716. MarkPropertyChanged(AIndex);
  2717. end;
  2718. Procedure TAnnotationSet.Setinfo(AIndex : Integer; const AValue : TAnnotationSetTypeinfo);
  2719. begin
  2720. If (Finfo=AValue) then exit;
  2721. Finfo:=AValue;
  2722. MarkPropertyChanged(AIndex);
  2723. end;
  2724. Class Function TAnnotationSet.ExportPropertyName(Const AName : String) :String;
  2725. begin
  2726. Case AName of
  2727. '_type' : Result:='type';
  2728. else
  2729. Result:=Inherited ExportPropertyName(AName);
  2730. end;
  2731. end;
  2732. { --------------------------------------------------------------------
  2733. TEmpty
  2734. --------------------------------------------------------------------}
  2735. { --------------------------------------------------------------------
  2736. TSearchAnnotationSetsRequest
  2737. --------------------------------------------------------------------}
  2738. Procedure TSearchAnnotationSetsRequest.SetdatasetIds(AIndex : Integer; const AValue : TStringArray);
  2739. begin
  2740. If (FdatasetIds=AValue) then exit;
  2741. FdatasetIds:=AValue;
  2742. MarkPropertyChanged(AIndex);
  2743. end;
  2744. Procedure TSearchAnnotationSetsRequest.SetreferenceSetId(AIndex : Integer; const AValue : String);
  2745. begin
  2746. If (FreferenceSetId=AValue) then exit;
  2747. FreferenceSetId:=AValue;
  2748. MarkPropertyChanged(AIndex);
  2749. end;
  2750. Procedure TSearchAnnotationSetsRequest.Setname(AIndex : Integer; const AValue : String);
  2751. begin
  2752. If (Fname=AValue) then exit;
  2753. Fname:=AValue;
  2754. MarkPropertyChanged(AIndex);
  2755. end;
  2756. Procedure TSearchAnnotationSetsRequest.Settypes(AIndex : Integer; const AValue : TStringArray);
  2757. begin
  2758. If (Ftypes=AValue) then exit;
  2759. Ftypes:=AValue;
  2760. MarkPropertyChanged(AIndex);
  2761. end;
  2762. Procedure TSearchAnnotationSetsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  2763. begin
  2764. If (FpageToken=AValue) then exit;
  2765. FpageToken:=AValue;
  2766. MarkPropertyChanged(AIndex);
  2767. end;
  2768. Procedure TSearchAnnotationSetsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  2769. begin
  2770. If (FpageSize=AValue) then exit;
  2771. FpageSize:=AValue;
  2772. MarkPropertyChanged(AIndex);
  2773. end;
  2774. //2.6.4. bug workaround
  2775. {$IFDEF VER2_6}
  2776. Procedure TSearchAnnotationSetsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  2777. begin
  2778. Case AName of
  2779. 'datasetids' : SetLength(FdatasetIds,ALength);
  2780. 'types' : SetLength(Ftypes,ALength);
  2781. else
  2782. Inherited SetArrayLength(AName,ALength);
  2783. end;
  2784. end;
  2785. {$ENDIF VER2_6}
  2786. { --------------------------------------------------------------------
  2787. TSearchAnnotationSetsResponse
  2788. --------------------------------------------------------------------}
  2789. Procedure TSearchAnnotationSetsResponse.SetannotationSets(AIndex : Integer; const AValue : TSearchAnnotationSetsResponseTypeannotationSetsArray);
  2790. begin
  2791. If (FannotationSets=AValue) then exit;
  2792. FannotationSets:=AValue;
  2793. MarkPropertyChanged(AIndex);
  2794. end;
  2795. Procedure TSearchAnnotationSetsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  2796. begin
  2797. If (FnextPageToken=AValue) then exit;
  2798. FnextPageToken:=AValue;
  2799. MarkPropertyChanged(AIndex);
  2800. end;
  2801. //2.6.4. bug workaround
  2802. {$IFDEF VER2_6}
  2803. Procedure TSearchAnnotationSetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  2804. begin
  2805. Case AName of
  2806. 'annotationsets' : SetLength(FannotationSets,ALength);
  2807. else
  2808. Inherited SetArrayLength(AName,ALength);
  2809. end;
  2810. end;
  2811. {$ENDIF VER2_6}
  2812. { --------------------------------------------------------------------
  2813. TAnnotationTypeinfo
  2814. --------------------------------------------------------------------}
  2815. Class Function TAnnotationTypeinfo.AllowAdditionalProperties : Boolean;
  2816. begin
  2817. Result:=True;
  2818. end;
  2819. { --------------------------------------------------------------------
  2820. TAnnotation
  2821. --------------------------------------------------------------------}
  2822. Procedure TAnnotation.Setid(AIndex : Integer; const AValue : String);
  2823. begin
  2824. If (Fid=AValue) then exit;
  2825. Fid:=AValue;
  2826. MarkPropertyChanged(AIndex);
  2827. end;
  2828. Procedure TAnnotation.SetannotationSetId(AIndex : Integer; const AValue : String);
  2829. begin
  2830. If (FannotationSetId=AValue) then exit;
  2831. FannotationSetId:=AValue;
  2832. MarkPropertyChanged(AIndex);
  2833. end;
  2834. Procedure TAnnotation.Setname(AIndex : Integer; const AValue : String);
  2835. begin
  2836. If (Fname=AValue) then exit;
  2837. Fname:=AValue;
  2838. MarkPropertyChanged(AIndex);
  2839. end;
  2840. Procedure TAnnotation.SetreferenceId(AIndex : Integer; const AValue : String);
  2841. begin
  2842. If (FreferenceId=AValue) then exit;
  2843. FreferenceId:=AValue;
  2844. MarkPropertyChanged(AIndex);
  2845. end;
  2846. Procedure TAnnotation.SetreferenceName(AIndex : Integer; const AValue : String);
  2847. begin
  2848. If (FreferenceName=AValue) then exit;
  2849. FreferenceName:=AValue;
  2850. MarkPropertyChanged(AIndex);
  2851. end;
  2852. Procedure TAnnotation.Setstart(AIndex : Integer; const AValue : String);
  2853. begin
  2854. If (Fstart=AValue) then exit;
  2855. Fstart:=AValue;
  2856. MarkPropertyChanged(AIndex);
  2857. end;
  2858. Procedure TAnnotation.Set_end(AIndex : Integer; const AValue : String);
  2859. begin
  2860. If (F_end=AValue) then exit;
  2861. F_end:=AValue;
  2862. MarkPropertyChanged(AIndex);
  2863. end;
  2864. Procedure TAnnotation.SetreverseStrand(AIndex : Integer; const AValue : boolean);
  2865. begin
  2866. If (FreverseStrand=AValue) then exit;
  2867. FreverseStrand:=AValue;
  2868. MarkPropertyChanged(AIndex);
  2869. end;
  2870. Procedure TAnnotation.Set_type(AIndex : Integer; const AValue : String);
  2871. begin
  2872. If (F_type=AValue) then exit;
  2873. F_type:=AValue;
  2874. MarkPropertyChanged(AIndex);
  2875. end;
  2876. Procedure TAnnotation.Setvariant(AIndex : Integer; const AValue : TVariantAnnotation);
  2877. begin
  2878. If (Fvariant=AValue) then exit;
  2879. Fvariant:=AValue;
  2880. MarkPropertyChanged(AIndex);
  2881. end;
  2882. Procedure TAnnotation.Settranscript(AIndex : Integer; const AValue : TTranscript);
  2883. begin
  2884. If (Ftranscript=AValue) then exit;
  2885. Ftranscript:=AValue;
  2886. MarkPropertyChanged(AIndex);
  2887. end;
  2888. Procedure TAnnotation.Setinfo(AIndex : Integer; const AValue : TAnnotationTypeinfo);
  2889. begin
  2890. If (Finfo=AValue) then exit;
  2891. Finfo:=AValue;
  2892. MarkPropertyChanged(AIndex);
  2893. end;
  2894. Class Function TAnnotation.ExportPropertyName(Const AName : String) :String;
  2895. begin
  2896. Case AName of
  2897. '_end' : Result:='end';
  2898. '_type' : Result:='type';
  2899. else
  2900. Result:=Inherited ExportPropertyName(AName);
  2901. end;
  2902. end;
  2903. { --------------------------------------------------------------------
  2904. TVariantAnnotation
  2905. --------------------------------------------------------------------}
  2906. Procedure TVariantAnnotation.Set_type(AIndex : Integer; const AValue : String);
  2907. begin
  2908. If (F_type=AValue) then exit;
  2909. F_type:=AValue;
  2910. MarkPropertyChanged(AIndex);
  2911. end;
  2912. Procedure TVariantAnnotation.Seteffect(AIndex : Integer; const AValue : String);
  2913. begin
  2914. If (Feffect=AValue) then exit;
  2915. Feffect:=AValue;
  2916. MarkPropertyChanged(AIndex);
  2917. end;
  2918. Procedure TVariantAnnotation.SetalternateBases(AIndex : Integer; const AValue : String);
  2919. begin
  2920. If (FalternateBases=AValue) then exit;
  2921. FalternateBases:=AValue;
  2922. MarkPropertyChanged(AIndex);
  2923. end;
  2924. Procedure TVariantAnnotation.SetgeneId(AIndex : Integer; const AValue : String);
  2925. begin
  2926. If (FgeneId=AValue) then exit;
  2927. FgeneId:=AValue;
  2928. MarkPropertyChanged(AIndex);
  2929. end;
  2930. Procedure TVariantAnnotation.SettranscriptIds(AIndex : Integer; const AValue : TStringArray);
  2931. begin
  2932. If (FtranscriptIds=AValue) then exit;
  2933. FtranscriptIds:=AValue;
  2934. MarkPropertyChanged(AIndex);
  2935. end;
  2936. Procedure TVariantAnnotation.Setconditions(AIndex : Integer; const AValue : TVariantAnnotationTypeconditionsArray);
  2937. begin
  2938. If (Fconditions=AValue) then exit;
  2939. Fconditions:=AValue;
  2940. MarkPropertyChanged(AIndex);
  2941. end;
  2942. Procedure TVariantAnnotation.SetclinicalSignificance(AIndex : Integer; const AValue : String);
  2943. begin
  2944. If (FclinicalSignificance=AValue) then exit;
  2945. FclinicalSignificance:=AValue;
  2946. MarkPropertyChanged(AIndex);
  2947. end;
  2948. Class Function TVariantAnnotation.ExportPropertyName(Const AName : String) :String;
  2949. begin
  2950. Case AName of
  2951. '_type' : Result:='type';
  2952. else
  2953. Result:=Inherited ExportPropertyName(AName);
  2954. end;
  2955. end;
  2956. //2.6.4. bug workaround
  2957. {$IFDEF VER2_6}
  2958. Procedure TVariantAnnotation.SetArrayLength(Const AName : String; ALength : Longint);
  2959. begin
  2960. Case AName of
  2961. 'transcriptids' : SetLength(FtranscriptIds,ALength);
  2962. 'conditions' : SetLength(Fconditions,ALength);
  2963. else
  2964. Inherited SetArrayLength(AName,ALength);
  2965. end;
  2966. end;
  2967. {$ENDIF VER2_6}
  2968. { --------------------------------------------------------------------
  2969. TClinicalCondition
  2970. --------------------------------------------------------------------}
  2971. Procedure TClinicalCondition.Setnames(AIndex : Integer; const AValue : TStringArray);
  2972. begin
  2973. If (Fnames=AValue) then exit;
  2974. Fnames:=AValue;
  2975. MarkPropertyChanged(AIndex);
  2976. end;
  2977. Procedure TClinicalCondition.SetexternalIds(AIndex : Integer; const AValue : TClinicalConditionTypeexternalIdsArray);
  2978. begin
  2979. If (FexternalIds=AValue) then exit;
  2980. FexternalIds:=AValue;
  2981. MarkPropertyChanged(AIndex);
  2982. end;
  2983. Procedure TClinicalCondition.SetconceptId(AIndex : Integer; const AValue : String);
  2984. begin
  2985. If (FconceptId=AValue) then exit;
  2986. FconceptId:=AValue;
  2987. MarkPropertyChanged(AIndex);
  2988. end;
  2989. Procedure TClinicalCondition.SetomimId(AIndex : Integer; const AValue : String);
  2990. begin
  2991. If (FomimId=AValue) then exit;
  2992. FomimId:=AValue;
  2993. MarkPropertyChanged(AIndex);
  2994. end;
  2995. //2.6.4. bug workaround
  2996. {$IFDEF VER2_6}
  2997. Procedure TClinicalCondition.SetArrayLength(Const AName : String; ALength : Longint);
  2998. begin
  2999. Case AName of
  3000. 'names' : SetLength(Fnames,ALength);
  3001. 'externalids' : SetLength(FexternalIds,ALength);
  3002. else
  3003. Inherited SetArrayLength(AName,ALength);
  3004. end;
  3005. end;
  3006. {$ENDIF VER2_6}
  3007. { --------------------------------------------------------------------
  3008. TExternalId
  3009. --------------------------------------------------------------------}
  3010. Procedure TExternalId.SetsourceName(AIndex : Integer; const AValue : String);
  3011. begin
  3012. If (FsourceName=AValue) then exit;
  3013. FsourceName:=AValue;
  3014. MarkPropertyChanged(AIndex);
  3015. end;
  3016. Procedure TExternalId.Setid(AIndex : Integer; const AValue : String);
  3017. begin
  3018. If (Fid=AValue) then exit;
  3019. Fid:=AValue;
  3020. MarkPropertyChanged(AIndex);
  3021. end;
  3022. { --------------------------------------------------------------------
  3023. TTranscript
  3024. --------------------------------------------------------------------}
  3025. Procedure TTranscript.SetgeneId(AIndex : Integer; const AValue : String);
  3026. begin
  3027. If (FgeneId=AValue) then exit;
  3028. FgeneId:=AValue;
  3029. MarkPropertyChanged(AIndex);
  3030. end;
  3031. Procedure TTranscript.Setexons(AIndex : Integer; const AValue : TTranscriptTypeexonsArray);
  3032. begin
  3033. If (Fexons=AValue) then exit;
  3034. Fexons:=AValue;
  3035. MarkPropertyChanged(AIndex);
  3036. end;
  3037. Procedure TTranscript.SetcodingSequence(AIndex : Integer; const AValue : TCodingSequence);
  3038. begin
  3039. If (FcodingSequence=AValue) then exit;
  3040. FcodingSequence:=AValue;
  3041. MarkPropertyChanged(AIndex);
  3042. end;
  3043. //2.6.4. bug workaround
  3044. {$IFDEF VER2_6}
  3045. Procedure TTranscript.SetArrayLength(Const AName : String; ALength : Longint);
  3046. begin
  3047. Case AName of
  3048. 'exons' : SetLength(Fexons,ALength);
  3049. else
  3050. Inherited SetArrayLength(AName,ALength);
  3051. end;
  3052. end;
  3053. {$ENDIF VER2_6}
  3054. { --------------------------------------------------------------------
  3055. TExon
  3056. --------------------------------------------------------------------}
  3057. Procedure TExon.Setstart(AIndex : Integer; const AValue : String);
  3058. begin
  3059. If (Fstart=AValue) then exit;
  3060. Fstart:=AValue;
  3061. MarkPropertyChanged(AIndex);
  3062. end;
  3063. Procedure TExon.Set_end(AIndex : Integer; const AValue : String);
  3064. begin
  3065. If (F_end=AValue) then exit;
  3066. F_end:=AValue;
  3067. MarkPropertyChanged(AIndex);
  3068. end;
  3069. Procedure TExon.Setframe(AIndex : Integer; const AValue : integer);
  3070. begin
  3071. If (Fframe=AValue) then exit;
  3072. Fframe:=AValue;
  3073. MarkPropertyChanged(AIndex);
  3074. end;
  3075. Class Function TExon.ExportPropertyName(Const AName : String) :String;
  3076. begin
  3077. Case AName of
  3078. '_end' : Result:='end';
  3079. else
  3080. Result:=Inherited ExportPropertyName(AName);
  3081. end;
  3082. end;
  3083. { --------------------------------------------------------------------
  3084. TCodingSequence
  3085. --------------------------------------------------------------------}
  3086. Procedure TCodingSequence.Setstart(AIndex : Integer; const AValue : String);
  3087. begin
  3088. If (Fstart=AValue) then exit;
  3089. Fstart:=AValue;
  3090. MarkPropertyChanged(AIndex);
  3091. end;
  3092. Procedure TCodingSequence.Set_end(AIndex : Integer; const AValue : String);
  3093. begin
  3094. If (F_end=AValue) then exit;
  3095. F_end:=AValue;
  3096. MarkPropertyChanged(AIndex);
  3097. end;
  3098. Class Function TCodingSequence.ExportPropertyName(Const AName : String) :String;
  3099. begin
  3100. Case AName of
  3101. '_end' : Result:='end';
  3102. else
  3103. Result:=Inherited ExportPropertyName(AName);
  3104. end;
  3105. end;
  3106. { --------------------------------------------------------------------
  3107. TBatchCreateAnnotationsRequest
  3108. --------------------------------------------------------------------}
  3109. Procedure TBatchCreateAnnotationsRequest.Setannotations(AIndex : Integer; const AValue : TBatchCreateAnnotationsRequestTypeannotationsArray);
  3110. begin
  3111. If (Fannotations=AValue) then exit;
  3112. Fannotations:=AValue;
  3113. MarkPropertyChanged(AIndex);
  3114. end;
  3115. //2.6.4. bug workaround
  3116. {$IFDEF VER2_6}
  3117. Procedure TBatchCreateAnnotationsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3118. begin
  3119. Case AName of
  3120. 'annotations' : SetLength(Fannotations,ALength);
  3121. else
  3122. Inherited SetArrayLength(AName,ALength);
  3123. end;
  3124. end;
  3125. {$ENDIF VER2_6}
  3126. { --------------------------------------------------------------------
  3127. TBatchCreateAnnotationsResponse
  3128. --------------------------------------------------------------------}
  3129. Procedure TBatchCreateAnnotationsResponse.Setentries(AIndex : Integer; const AValue : TBatchCreateAnnotationsResponseTypeentriesArray);
  3130. begin
  3131. If (Fentries=AValue) then exit;
  3132. Fentries:=AValue;
  3133. MarkPropertyChanged(AIndex);
  3134. end;
  3135. //2.6.4. bug workaround
  3136. {$IFDEF VER2_6}
  3137. Procedure TBatchCreateAnnotationsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3138. begin
  3139. Case AName of
  3140. 'entries' : SetLength(Fentries,ALength);
  3141. else
  3142. Inherited SetArrayLength(AName,ALength);
  3143. end;
  3144. end;
  3145. {$ENDIF VER2_6}
  3146. { --------------------------------------------------------------------
  3147. TEntry
  3148. --------------------------------------------------------------------}
  3149. Procedure TEntry.Setstatus(AIndex : Integer; const AValue : TStatus);
  3150. begin
  3151. If (Fstatus=AValue) then exit;
  3152. Fstatus:=AValue;
  3153. MarkPropertyChanged(AIndex);
  3154. end;
  3155. Procedure TEntry.Setannotation(AIndex : Integer; const AValue : TAnnotation);
  3156. begin
  3157. If (Fannotation=AValue) then exit;
  3158. Fannotation:=AValue;
  3159. MarkPropertyChanged(AIndex);
  3160. end;
  3161. { --------------------------------------------------------------------
  3162. TStatusTypedetailsItem
  3163. --------------------------------------------------------------------}
  3164. Class Function TStatusTypedetailsItem.AllowAdditionalProperties : Boolean;
  3165. begin
  3166. Result:=True;
  3167. end;
  3168. { --------------------------------------------------------------------
  3169. TStatus
  3170. --------------------------------------------------------------------}
  3171. Procedure TStatus.Setcode(AIndex : Integer; const AValue : integer);
  3172. begin
  3173. If (Fcode=AValue) then exit;
  3174. Fcode:=AValue;
  3175. MarkPropertyChanged(AIndex);
  3176. end;
  3177. Procedure TStatus.Setmessage(AIndex : Integer; const AValue : String);
  3178. begin
  3179. If (Fmessage=AValue) then exit;
  3180. Fmessage:=AValue;
  3181. MarkPropertyChanged(AIndex);
  3182. end;
  3183. Procedure TStatus.Setdetails(AIndex : Integer; const AValue : TStatusTypedetailsArray);
  3184. begin
  3185. If (Fdetails=AValue) then exit;
  3186. Fdetails:=AValue;
  3187. MarkPropertyChanged(AIndex);
  3188. end;
  3189. //2.6.4. bug workaround
  3190. {$IFDEF VER2_6}
  3191. Procedure TStatus.SetArrayLength(Const AName : String; ALength : Longint);
  3192. begin
  3193. Case AName of
  3194. 'details' : SetLength(Fdetails,ALength);
  3195. else
  3196. Inherited SetArrayLength(AName,ALength);
  3197. end;
  3198. end;
  3199. {$ENDIF VER2_6}
  3200. { --------------------------------------------------------------------
  3201. TSearchAnnotationsRequest
  3202. --------------------------------------------------------------------}
  3203. Procedure TSearchAnnotationsRequest.SetannotationSetIds(AIndex : Integer; const AValue : TStringArray);
  3204. begin
  3205. If (FannotationSetIds=AValue) then exit;
  3206. FannotationSetIds:=AValue;
  3207. MarkPropertyChanged(AIndex);
  3208. end;
  3209. Procedure TSearchAnnotationsRequest.SetreferenceId(AIndex : Integer; const AValue : String);
  3210. begin
  3211. If (FreferenceId=AValue) then exit;
  3212. FreferenceId:=AValue;
  3213. MarkPropertyChanged(AIndex);
  3214. end;
  3215. Procedure TSearchAnnotationsRequest.SetreferenceName(AIndex : Integer; const AValue : String);
  3216. begin
  3217. If (FreferenceName=AValue) then exit;
  3218. FreferenceName:=AValue;
  3219. MarkPropertyChanged(AIndex);
  3220. end;
  3221. Procedure TSearchAnnotationsRequest.Setstart(AIndex : Integer; const AValue : String);
  3222. begin
  3223. If (Fstart=AValue) then exit;
  3224. Fstart:=AValue;
  3225. MarkPropertyChanged(AIndex);
  3226. end;
  3227. Procedure TSearchAnnotationsRequest.Set_end(AIndex : Integer; const AValue : String);
  3228. begin
  3229. If (F_end=AValue) then exit;
  3230. F_end:=AValue;
  3231. MarkPropertyChanged(AIndex);
  3232. end;
  3233. Procedure TSearchAnnotationsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  3234. begin
  3235. If (FpageToken=AValue) then exit;
  3236. FpageToken:=AValue;
  3237. MarkPropertyChanged(AIndex);
  3238. end;
  3239. Procedure TSearchAnnotationsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  3240. begin
  3241. If (FpageSize=AValue) then exit;
  3242. FpageSize:=AValue;
  3243. MarkPropertyChanged(AIndex);
  3244. end;
  3245. Class Function TSearchAnnotationsRequest.ExportPropertyName(Const AName : String) :String;
  3246. begin
  3247. Case AName of
  3248. '_end' : Result:='end';
  3249. else
  3250. Result:=Inherited ExportPropertyName(AName);
  3251. end;
  3252. end;
  3253. //2.6.4. bug workaround
  3254. {$IFDEF VER2_6}
  3255. Procedure TSearchAnnotationsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3256. begin
  3257. Case AName of
  3258. 'annotationsetids' : SetLength(FannotationSetIds,ALength);
  3259. else
  3260. Inherited SetArrayLength(AName,ALength);
  3261. end;
  3262. end;
  3263. {$ENDIF VER2_6}
  3264. { --------------------------------------------------------------------
  3265. TSearchAnnotationsResponse
  3266. --------------------------------------------------------------------}
  3267. Procedure TSearchAnnotationsResponse.Setannotations(AIndex : Integer; const AValue : TSearchAnnotationsResponseTypeannotationsArray);
  3268. begin
  3269. If (Fannotations=AValue) then exit;
  3270. Fannotations:=AValue;
  3271. MarkPropertyChanged(AIndex);
  3272. end;
  3273. Procedure TSearchAnnotationsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3274. begin
  3275. If (FnextPageToken=AValue) then exit;
  3276. FnextPageToken:=AValue;
  3277. MarkPropertyChanged(AIndex);
  3278. end;
  3279. //2.6.4. bug workaround
  3280. {$IFDEF VER2_6}
  3281. Procedure TSearchAnnotationsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3282. begin
  3283. Case AName of
  3284. 'annotations' : SetLength(Fannotations,ALength);
  3285. else
  3286. Inherited SetArrayLength(AName,ALength);
  3287. end;
  3288. end;
  3289. {$ENDIF VER2_6}
  3290. { --------------------------------------------------------------------
  3291. TListDatasetsResponse
  3292. --------------------------------------------------------------------}
  3293. Procedure TListDatasetsResponse.Setdatasets(AIndex : Integer; const AValue : TListDatasetsResponseTypedatasetsArray);
  3294. begin
  3295. If (Fdatasets=AValue) then exit;
  3296. Fdatasets:=AValue;
  3297. MarkPropertyChanged(AIndex);
  3298. end;
  3299. Procedure TListDatasetsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3300. begin
  3301. If (FnextPageToken=AValue) then exit;
  3302. FnextPageToken:=AValue;
  3303. MarkPropertyChanged(AIndex);
  3304. end;
  3305. //2.6.4. bug workaround
  3306. {$IFDEF VER2_6}
  3307. Procedure TListDatasetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3308. begin
  3309. Case AName of
  3310. 'datasets' : SetLength(Fdatasets,ALength);
  3311. else
  3312. Inherited SetArrayLength(AName,ALength);
  3313. end;
  3314. end;
  3315. {$ENDIF VER2_6}
  3316. { --------------------------------------------------------------------
  3317. TDataset
  3318. --------------------------------------------------------------------}
  3319. Procedure TDataset.Setid(AIndex : Integer; const AValue : String);
  3320. begin
  3321. If (Fid=AValue) then exit;
  3322. Fid:=AValue;
  3323. MarkPropertyChanged(AIndex);
  3324. end;
  3325. Procedure TDataset.SetprojectId(AIndex : Integer; const AValue : String);
  3326. begin
  3327. If (FprojectId=AValue) then exit;
  3328. FprojectId:=AValue;
  3329. MarkPropertyChanged(AIndex);
  3330. end;
  3331. Procedure TDataset.Setname(AIndex : Integer; const AValue : String);
  3332. begin
  3333. If (Fname=AValue) then exit;
  3334. Fname:=AValue;
  3335. MarkPropertyChanged(AIndex);
  3336. end;
  3337. Procedure TDataset.SetcreateTime(AIndex : Integer; const AValue : String);
  3338. begin
  3339. If (FcreateTime=AValue) then exit;
  3340. FcreateTime:=AValue;
  3341. MarkPropertyChanged(AIndex);
  3342. end;
  3343. { --------------------------------------------------------------------
  3344. TUndeleteDatasetRequest
  3345. --------------------------------------------------------------------}
  3346. { --------------------------------------------------------------------
  3347. TSetIamPolicyRequest
  3348. --------------------------------------------------------------------}
  3349. Procedure TSetIamPolicyRequest.Setpolicy(AIndex : Integer; const AValue : TPolicy);
  3350. begin
  3351. If (Fpolicy=AValue) then exit;
  3352. Fpolicy:=AValue;
  3353. MarkPropertyChanged(AIndex);
  3354. end;
  3355. { --------------------------------------------------------------------
  3356. TPolicy
  3357. --------------------------------------------------------------------}
  3358. Procedure TPolicy.Setversion(AIndex : Integer; const AValue : integer);
  3359. begin
  3360. If (Fversion=AValue) then exit;
  3361. Fversion:=AValue;
  3362. MarkPropertyChanged(AIndex);
  3363. end;
  3364. Procedure TPolicy.Setbindings(AIndex : Integer; const AValue : TPolicyTypebindingsArray);
  3365. begin
  3366. If (Fbindings=AValue) then exit;
  3367. Fbindings:=AValue;
  3368. MarkPropertyChanged(AIndex);
  3369. end;
  3370. Procedure TPolicy.Setetag(AIndex : Integer; const AValue : String);
  3371. begin
  3372. If (Fetag=AValue) then exit;
  3373. Fetag:=AValue;
  3374. MarkPropertyChanged(AIndex);
  3375. end;
  3376. //2.6.4. bug workaround
  3377. {$IFDEF VER2_6}
  3378. Procedure TPolicy.SetArrayLength(Const AName : String; ALength : Longint);
  3379. begin
  3380. Case AName of
  3381. 'bindings' : SetLength(Fbindings,ALength);
  3382. else
  3383. Inherited SetArrayLength(AName,ALength);
  3384. end;
  3385. end;
  3386. {$ENDIF VER2_6}
  3387. { --------------------------------------------------------------------
  3388. TBinding
  3389. --------------------------------------------------------------------}
  3390. Procedure TBinding.Setrole(AIndex : Integer; const AValue : String);
  3391. begin
  3392. If (Frole=AValue) then exit;
  3393. Frole:=AValue;
  3394. MarkPropertyChanged(AIndex);
  3395. end;
  3396. Procedure TBinding.Setmembers(AIndex : Integer; const AValue : TStringArray);
  3397. begin
  3398. If (Fmembers=AValue) then exit;
  3399. Fmembers:=AValue;
  3400. MarkPropertyChanged(AIndex);
  3401. end;
  3402. //2.6.4. bug workaround
  3403. {$IFDEF VER2_6}
  3404. Procedure TBinding.SetArrayLength(Const AName : String; ALength : Longint);
  3405. begin
  3406. Case AName of
  3407. 'members' : SetLength(Fmembers,ALength);
  3408. else
  3409. Inherited SetArrayLength(AName,ALength);
  3410. end;
  3411. end;
  3412. {$ENDIF VER2_6}
  3413. { --------------------------------------------------------------------
  3414. TGetIamPolicyRequest
  3415. --------------------------------------------------------------------}
  3416. { --------------------------------------------------------------------
  3417. TTestIamPermissionsRequest
  3418. --------------------------------------------------------------------}
  3419. Procedure TTestIamPermissionsRequest.Setpermissions(AIndex : Integer; const AValue : TStringArray);
  3420. begin
  3421. If (Fpermissions=AValue) then exit;
  3422. Fpermissions:=AValue;
  3423. MarkPropertyChanged(AIndex);
  3424. end;
  3425. //2.6.4. bug workaround
  3426. {$IFDEF VER2_6}
  3427. Procedure TTestIamPermissionsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3428. begin
  3429. Case AName of
  3430. 'permissions' : SetLength(Fpermissions,ALength);
  3431. else
  3432. Inherited SetArrayLength(AName,ALength);
  3433. end;
  3434. end;
  3435. {$ENDIF VER2_6}
  3436. { --------------------------------------------------------------------
  3437. TTestIamPermissionsResponse
  3438. --------------------------------------------------------------------}
  3439. Procedure TTestIamPermissionsResponse.Setpermissions(AIndex : Integer; const AValue : TStringArray);
  3440. begin
  3441. If (Fpermissions=AValue) then exit;
  3442. Fpermissions:=AValue;
  3443. MarkPropertyChanged(AIndex);
  3444. end;
  3445. //2.6.4. bug workaround
  3446. {$IFDEF VER2_6}
  3447. Procedure TTestIamPermissionsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3448. begin
  3449. Case AName of
  3450. 'permissions' : SetLength(Fpermissions,ALength);
  3451. else
  3452. Inherited SetArrayLength(AName,ALength);
  3453. end;
  3454. end;
  3455. {$ENDIF VER2_6}
  3456. { --------------------------------------------------------------------
  3457. TOperationTypemetadata
  3458. --------------------------------------------------------------------}
  3459. Class Function TOperationTypemetadata.AllowAdditionalProperties : Boolean;
  3460. begin
  3461. Result:=True;
  3462. end;
  3463. { --------------------------------------------------------------------
  3464. TOperationTyperesponse
  3465. --------------------------------------------------------------------}
  3466. Class Function TOperationTyperesponse.AllowAdditionalProperties : Boolean;
  3467. begin
  3468. Result:=True;
  3469. end;
  3470. { --------------------------------------------------------------------
  3471. TOperation
  3472. --------------------------------------------------------------------}
  3473. Procedure TOperation.Setname(AIndex : Integer; const AValue : String);
  3474. begin
  3475. If (Fname=AValue) then exit;
  3476. Fname:=AValue;
  3477. MarkPropertyChanged(AIndex);
  3478. end;
  3479. Procedure TOperation.Setmetadata(AIndex : Integer; const AValue : TOperationTypemetadata);
  3480. begin
  3481. If (Fmetadata=AValue) then exit;
  3482. Fmetadata:=AValue;
  3483. MarkPropertyChanged(AIndex);
  3484. end;
  3485. Procedure TOperation.Setdone(AIndex : Integer; const AValue : boolean);
  3486. begin
  3487. If (Fdone=AValue) then exit;
  3488. Fdone:=AValue;
  3489. MarkPropertyChanged(AIndex);
  3490. end;
  3491. Procedure TOperation.Seterror(AIndex : Integer; const AValue : TStatus);
  3492. begin
  3493. If (Ferror=AValue) then exit;
  3494. Ferror:=AValue;
  3495. MarkPropertyChanged(AIndex);
  3496. end;
  3497. Procedure TOperation.Setresponse(AIndex : Integer; const AValue : TOperationTyperesponse);
  3498. begin
  3499. If (Fresponse=AValue) then exit;
  3500. Fresponse:=AValue;
  3501. MarkPropertyChanged(AIndex);
  3502. end;
  3503. { --------------------------------------------------------------------
  3504. TListOperationsResponse
  3505. --------------------------------------------------------------------}
  3506. Procedure TListOperationsResponse.Setoperations(AIndex : Integer; const AValue : TListOperationsResponseTypeoperationsArray);
  3507. begin
  3508. If (Foperations=AValue) then exit;
  3509. Foperations:=AValue;
  3510. MarkPropertyChanged(AIndex);
  3511. end;
  3512. Procedure TListOperationsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3513. begin
  3514. If (FnextPageToken=AValue) then exit;
  3515. FnextPageToken:=AValue;
  3516. MarkPropertyChanged(AIndex);
  3517. end;
  3518. //2.6.4. bug workaround
  3519. {$IFDEF VER2_6}
  3520. Procedure TListOperationsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3521. begin
  3522. Case AName of
  3523. 'operations' : SetLength(Foperations,ALength);
  3524. else
  3525. Inherited SetArrayLength(AName,ALength);
  3526. end;
  3527. end;
  3528. {$ENDIF VER2_6}
  3529. { --------------------------------------------------------------------
  3530. TCancelOperationRequest
  3531. --------------------------------------------------------------------}
  3532. { --------------------------------------------------------------------
  3533. TImportReadGroupSetsRequest
  3534. --------------------------------------------------------------------}
  3535. Procedure TImportReadGroupSetsRequest.SetdatasetId(AIndex : Integer; const AValue : String);
  3536. begin
  3537. If (FdatasetId=AValue) then exit;
  3538. FdatasetId:=AValue;
  3539. MarkPropertyChanged(AIndex);
  3540. end;
  3541. Procedure TImportReadGroupSetsRequest.SetreferenceSetId(AIndex : Integer; const AValue : String);
  3542. begin
  3543. If (FreferenceSetId=AValue) then exit;
  3544. FreferenceSetId:=AValue;
  3545. MarkPropertyChanged(AIndex);
  3546. end;
  3547. Procedure TImportReadGroupSetsRequest.SetsourceUris(AIndex : Integer; const AValue : TStringArray);
  3548. begin
  3549. If (FsourceUris=AValue) then exit;
  3550. FsourceUris:=AValue;
  3551. MarkPropertyChanged(AIndex);
  3552. end;
  3553. Procedure TImportReadGroupSetsRequest.SetpartitionStrategy(AIndex : Integer; const AValue : String);
  3554. begin
  3555. If (FpartitionStrategy=AValue) then exit;
  3556. FpartitionStrategy:=AValue;
  3557. MarkPropertyChanged(AIndex);
  3558. end;
  3559. //2.6.4. bug workaround
  3560. {$IFDEF VER2_6}
  3561. Procedure TImportReadGroupSetsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3562. begin
  3563. Case AName of
  3564. 'sourceuris' : SetLength(FsourceUris,ALength);
  3565. else
  3566. Inherited SetArrayLength(AName,ALength);
  3567. end;
  3568. end;
  3569. {$ENDIF VER2_6}
  3570. { --------------------------------------------------------------------
  3571. TExportReadGroupSetRequest
  3572. --------------------------------------------------------------------}
  3573. Procedure TExportReadGroupSetRequest.SetprojectId(AIndex : Integer; const AValue : String);
  3574. begin
  3575. If (FprojectId=AValue) then exit;
  3576. FprojectId:=AValue;
  3577. MarkPropertyChanged(AIndex);
  3578. end;
  3579. Procedure TExportReadGroupSetRequest.SetexportUri(AIndex : Integer; const AValue : String);
  3580. begin
  3581. If (FexportUri=AValue) then exit;
  3582. FexportUri:=AValue;
  3583. MarkPropertyChanged(AIndex);
  3584. end;
  3585. Procedure TExportReadGroupSetRequest.SetreferenceNames(AIndex : Integer; const AValue : TStringArray);
  3586. begin
  3587. If (FreferenceNames=AValue) then exit;
  3588. FreferenceNames:=AValue;
  3589. MarkPropertyChanged(AIndex);
  3590. end;
  3591. //2.6.4. bug workaround
  3592. {$IFDEF VER2_6}
  3593. Procedure TExportReadGroupSetRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3594. begin
  3595. Case AName of
  3596. 'referencenames' : SetLength(FreferenceNames,ALength);
  3597. else
  3598. Inherited SetArrayLength(AName,ALength);
  3599. end;
  3600. end;
  3601. {$ENDIF VER2_6}
  3602. { --------------------------------------------------------------------
  3603. TSearchReadGroupSetsRequest
  3604. --------------------------------------------------------------------}
  3605. Procedure TSearchReadGroupSetsRequest.SetdatasetIds(AIndex : Integer; const AValue : TStringArray);
  3606. begin
  3607. If (FdatasetIds=AValue) then exit;
  3608. FdatasetIds:=AValue;
  3609. MarkPropertyChanged(AIndex);
  3610. end;
  3611. Procedure TSearchReadGroupSetsRequest.Setname(AIndex : Integer; const AValue : String);
  3612. begin
  3613. If (Fname=AValue) then exit;
  3614. Fname:=AValue;
  3615. MarkPropertyChanged(AIndex);
  3616. end;
  3617. Procedure TSearchReadGroupSetsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  3618. begin
  3619. If (FpageToken=AValue) then exit;
  3620. FpageToken:=AValue;
  3621. MarkPropertyChanged(AIndex);
  3622. end;
  3623. Procedure TSearchReadGroupSetsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  3624. begin
  3625. If (FpageSize=AValue) then exit;
  3626. FpageSize:=AValue;
  3627. MarkPropertyChanged(AIndex);
  3628. end;
  3629. //2.6.4. bug workaround
  3630. {$IFDEF VER2_6}
  3631. Procedure TSearchReadGroupSetsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  3632. begin
  3633. Case AName of
  3634. 'datasetids' : SetLength(FdatasetIds,ALength);
  3635. else
  3636. Inherited SetArrayLength(AName,ALength);
  3637. end;
  3638. end;
  3639. {$ENDIF VER2_6}
  3640. { --------------------------------------------------------------------
  3641. TSearchReadGroupSetsResponse
  3642. --------------------------------------------------------------------}
  3643. Procedure TSearchReadGroupSetsResponse.SetreadGroupSets(AIndex : Integer; const AValue : TSearchReadGroupSetsResponseTypereadGroupSetsArray);
  3644. begin
  3645. If (FreadGroupSets=AValue) then exit;
  3646. FreadGroupSets:=AValue;
  3647. MarkPropertyChanged(AIndex);
  3648. end;
  3649. Procedure TSearchReadGroupSetsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3650. begin
  3651. If (FnextPageToken=AValue) then exit;
  3652. FnextPageToken:=AValue;
  3653. MarkPropertyChanged(AIndex);
  3654. end;
  3655. //2.6.4. bug workaround
  3656. {$IFDEF VER2_6}
  3657. Procedure TSearchReadGroupSetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3658. begin
  3659. Case AName of
  3660. 'readgroupsets' : SetLength(FreadGroupSets,ALength);
  3661. else
  3662. Inherited SetArrayLength(AName,ALength);
  3663. end;
  3664. end;
  3665. {$ENDIF VER2_6}
  3666. { --------------------------------------------------------------------
  3667. TReadGroupSetTypeinfo
  3668. --------------------------------------------------------------------}
  3669. Class Function TReadGroupSetTypeinfo.AllowAdditionalProperties : Boolean;
  3670. begin
  3671. Result:=True;
  3672. end;
  3673. { --------------------------------------------------------------------
  3674. TReadGroupSet
  3675. --------------------------------------------------------------------}
  3676. Procedure TReadGroupSet.Setid(AIndex : Integer; const AValue : String);
  3677. begin
  3678. If (Fid=AValue) then exit;
  3679. Fid:=AValue;
  3680. MarkPropertyChanged(AIndex);
  3681. end;
  3682. Procedure TReadGroupSet.SetdatasetId(AIndex : Integer; const AValue : String);
  3683. begin
  3684. If (FdatasetId=AValue) then exit;
  3685. FdatasetId:=AValue;
  3686. MarkPropertyChanged(AIndex);
  3687. end;
  3688. Procedure TReadGroupSet.SetreferenceSetId(AIndex : Integer; const AValue : String);
  3689. begin
  3690. If (FreferenceSetId=AValue) then exit;
  3691. FreferenceSetId:=AValue;
  3692. MarkPropertyChanged(AIndex);
  3693. end;
  3694. Procedure TReadGroupSet.Setname(AIndex : Integer; const AValue : String);
  3695. begin
  3696. If (Fname=AValue) then exit;
  3697. Fname:=AValue;
  3698. MarkPropertyChanged(AIndex);
  3699. end;
  3700. Procedure TReadGroupSet.Setfilename(AIndex : Integer; const AValue : String);
  3701. begin
  3702. If (Ffilename=AValue) then exit;
  3703. Ffilename:=AValue;
  3704. MarkPropertyChanged(AIndex);
  3705. end;
  3706. Procedure TReadGroupSet.SetreadGroups(AIndex : Integer; const AValue : TReadGroupSetTypereadGroupsArray);
  3707. begin
  3708. If (FreadGroups=AValue) then exit;
  3709. FreadGroups:=AValue;
  3710. MarkPropertyChanged(AIndex);
  3711. end;
  3712. Procedure TReadGroupSet.Setinfo(AIndex : Integer; const AValue : TReadGroupSetTypeinfo);
  3713. begin
  3714. If (Finfo=AValue) then exit;
  3715. Finfo:=AValue;
  3716. MarkPropertyChanged(AIndex);
  3717. end;
  3718. //2.6.4. bug workaround
  3719. {$IFDEF VER2_6}
  3720. Procedure TReadGroupSet.SetArrayLength(Const AName : String; ALength : Longint);
  3721. begin
  3722. Case AName of
  3723. 'readgroups' : SetLength(FreadGroups,ALength);
  3724. else
  3725. Inherited SetArrayLength(AName,ALength);
  3726. end;
  3727. end;
  3728. {$ENDIF VER2_6}
  3729. { --------------------------------------------------------------------
  3730. TReadGroupTypeinfo
  3731. --------------------------------------------------------------------}
  3732. Class Function TReadGroupTypeinfo.AllowAdditionalProperties : Boolean;
  3733. begin
  3734. Result:=True;
  3735. end;
  3736. { --------------------------------------------------------------------
  3737. TReadGroup
  3738. --------------------------------------------------------------------}
  3739. Procedure TReadGroup.Setid(AIndex : Integer; const AValue : String);
  3740. begin
  3741. If (Fid=AValue) then exit;
  3742. Fid:=AValue;
  3743. MarkPropertyChanged(AIndex);
  3744. end;
  3745. Procedure TReadGroup.SetdatasetId(AIndex : Integer; const AValue : String);
  3746. begin
  3747. If (FdatasetId=AValue) then exit;
  3748. FdatasetId:=AValue;
  3749. MarkPropertyChanged(AIndex);
  3750. end;
  3751. Procedure TReadGroup.Setname(AIndex : Integer; const AValue : String);
  3752. begin
  3753. If (Fname=AValue) then exit;
  3754. Fname:=AValue;
  3755. MarkPropertyChanged(AIndex);
  3756. end;
  3757. Procedure TReadGroup.Setdescription(AIndex : Integer; const AValue : String);
  3758. begin
  3759. If (Fdescription=AValue) then exit;
  3760. Fdescription:=AValue;
  3761. MarkPropertyChanged(AIndex);
  3762. end;
  3763. Procedure TReadGroup.SetsampleId(AIndex : Integer; const AValue : String);
  3764. begin
  3765. If (FsampleId=AValue) then exit;
  3766. FsampleId:=AValue;
  3767. MarkPropertyChanged(AIndex);
  3768. end;
  3769. Procedure TReadGroup.Setexperiment(AIndex : Integer; const AValue : TExperiment);
  3770. begin
  3771. If (Fexperiment=AValue) then exit;
  3772. Fexperiment:=AValue;
  3773. MarkPropertyChanged(AIndex);
  3774. end;
  3775. Procedure TReadGroup.SetpredictedInsertSize(AIndex : Integer; const AValue : integer);
  3776. begin
  3777. If (FpredictedInsertSize=AValue) then exit;
  3778. FpredictedInsertSize:=AValue;
  3779. MarkPropertyChanged(AIndex);
  3780. end;
  3781. Procedure TReadGroup.Setprograms(AIndex : Integer; const AValue : TReadGroupTypeprogramsArray);
  3782. begin
  3783. If (Fprograms=AValue) then exit;
  3784. Fprograms:=AValue;
  3785. MarkPropertyChanged(AIndex);
  3786. end;
  3787. Procedure TReadGroup.SetreferenceSetId(AIndex : Integer; const AValue : String);
  3788. begin
  3789. If (FreferenceSetId=AValue) then exit;
  3790. FreferenceSetId:=AValue;
  3791. MarkPropertyChanged(AIndex);
  3792. end;
  3793. Procedure TReadGroup.Setinfo(AIndex : Integer; const AValue : TReadGroupTypeinfo);
  3794. begin
  3795. If (Finfo=AValue) then exit;
  3796. Finfo:=AValue;
  3797. MarkPropertyChanged(AIndex);
  3798. end;
  3799. //2.6.4. bug workaround
  3800. {$IFDEF VER2_6}
  3801. Procedure TReadGroup.SetArrayLength(Const AName : String; ALength : Longint);
  3802. begin
  3803. Case AName of
  3804. 'programs' : SetLength(Fprograms,ALength);
  3805. else
  3806. Inherited SetArrayLength(AName,ALength);
  3807. end;
  3808. end;
  3809. {$ENDIF VER2_6}
  3810. { --------------------------------------------------------------------
  3811. TExperiment
  3812. --------------------------------------------------------------------}
  3813. Procedure TExperiment.SetlibraryId(AIndex : Integer; const AValue : String);
  3814. begin
  3815. If (FlibraryId=AValue) then exit;
  3816. FlibraryId:=AValue;
  3817. MarkPropertyChanged(AIndex);
  3818. end;
  3819. Procedure TExperiment.SetplatformUnit(AIndex : Integer; const AValue : String);
  3820. begin
  3821. If (FplatformUnit=AValue) then exit;
  3822. FplatformUnit:=AValue;
  3823. MarkPropertyChanged(AIndex);
  3824. end;
  3825. Procedure TExperiment.SetsequencingCenter(AIndex : Integer; const AValue : String);
  3826. begin
  3827. If (FsequencingCenter=AValue) then exit;
  3828. FsequencingCenter:=AValue;
  3829. MarkPropertyChanged(AIndex);
  3830. end;
  3831. Procedure TExperiment.SetinstrumentModel(AIndex : Integer; const AValue : String);
  3832. begin
  3833. If (FinstrumentModel=AValue) then exit;
  3834. FinstrumentModel:=AValue;
  3835. MarkPropertyChanged(AIndex);
  3836. end;
  3837. { --------------------------------------------------------------------
  3838. TProgram
  3839. --------------------------------------------------------------------}
  3840. Procedure TProgram.SetcommandLine(AIndex : Integer; const AValue : String);
  3841. begin
  3842. If (FcommandLine=AValue) then exit;
  3843. FcommandLine:=AValue;
  3844. MarkPropertyChanged(AIndex);
  3845. end;
  3846. Procedure TProgram.Setid(AIndex : Integer; const AValue : String);
  3847. begin
  3848. If (Fid=AValue) then exit;
  3849. Fid:=AValue;
  3850. MarkPropertyChanged(AIndex);
  3851. end;
  3852. Procedure TProgram.Setname(AIndex : Integer; const AValue : String);
  3853. begin
  3854. If (Fname=AValue) then exit;
  3855. Fname:=AValue;
  3856. MarkPropertyChanged(AIndex);
  3857. end;
  3858. Procedure TProgram.SetprevProgramId(AIndex : Integer; const AValue : String);
  3859. begin
  3860. If (FprevProgramId=AValue) then exit;
  3861. FprevProgramId:=AValue;
  3862. MarkPropertyChanged(AIndex);
  3863. end;
  3864. Procedure TProgram.Setversion(AIndex : Integer; const AValue : String);
  3865. begin
  3866. If (Fversion=AValue) then exit;
  3867. Fversion:=AValue;
  3868. MarkPropertyChanged(AIndex);
  3869. end;
  3870. { --------------------------------------------------------------------
  3871. TListCoverageBucketsResponse
  3872. --------------------------------------------------------------------}
  3873. Procedure TListCoverageBucketsResponse.SetbucketWidth(AIndex : Integer; const AValue : String);
  3874. begin
  3875. If (FbucketWidth=AValue) then exit;
  3876. FbucketWidth:=AValue;
  3877. MarkPropertyChanged(AIndex);
  3878. end;
  3879. Procedure TListCoverageBucketsResponse.SetcoverageBuckets(AIndex : Integer; const AValue : TListCoverageBucketsResponseTypecoverageBucketsArray);
  3880. begin
  3881. If (FcoverageBuckets=AValue) then exit;
  3882. FcoverageBuckets:=AValue;
  3883. MarkPropertyChanged(AIndex);
  3884. end;
  3885. Procedure TListCoverageBucketsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  3886. begin
  3887. If (FnextPageToken=AValue) then exit;
  3888. FnextPageToken:=AValue;
  3889. MarkPropertyChanged(AIndex);
  3890. end;
  3891. //2.6.4. bug workaround
  3892. {$IFDEF VER2_6}
  3893. Procedure TListCoverageBucketsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  3894. begin
  3895. Case AName of
  3896. 'coveragebuckets' : SetLength(FcoverageBuckets,ALength);
  3897. else
  3898. Inherited SetArrayLength(AName,ALength);
  3899. end;
  3900. end;
  3901. {$ENDIF VER2_6}
  3902. { --------------------------------------------------------------------
  3903. TCoverageBucket
  3904. --------------------------------------------------------------------}
  3905. Procedure TCoverageBucket.Setrange(AIndex : Integer; const AValue : TRange);
  3906. begin
  3907. If (Frange=AValue) then exit;
  3908. Frange:=AValue;
  3909. MarkPropertyChanged(AIndex);
  3910. end;
  3911. Procedure TCoverageBucket.SetmeanCoverage(AIndex : Integer; const AValue : integer);
  3912. begin
  3913. If (FmeanCoverage=AValue) then exit;
  3914. FmeanCoverage:=AValue;
  3915. MarkPropertyChanged(AIndex);
  3916. end;
  3917. { --------------------------------------------------------------------
  3918. TRange
  3919. --------------------------------------------------------------------}
  3920. Procedure TRange.SetreferenceName(AIndex : Integer; const AValue : String);
  3921. begin
  3922. If (FreferenceName=AValue) then exit;
  3923. FreferenceName:=AValue;
  3924. MarkPropertyChanged(AIndex);
  3925. end;
  3926. Procedure TRange.Setstart(AIndex : Integer; const AValue : String);
  3927. begin
  3928. If (Fstart=AValue) then exit;
  3929. Fstart:=AValue;
  3930. MarkPropertyChanged(AIndex);
  3931. end;
  3932. Procedure TRange.Set_end(AIndex : Integer; const AValue : String);
  3933. begin
  3934. If (F_end=AValue) then exit;
  3935. F_end:=AValue;
  3936. MarkPropertyChanged(AIndex);
  3937. end;
  3938. Class Function TRange.ExportPropertyName(Const AName : String) :String;
  3939. begin
  3940. Case AName of
  3941. '_end' : Result:='end';
  3942. else
  3943. Result:=Inherited ExportPropertyName(AName);
  3944. end;
  3945. end;
  3946. { --------------------------------------------------------------------
  3947. TSearchReadsRequest
  3948. --------------------------------------------------------------------}
  3949. Procedure TSearchReadsRequest.SetreadGroupSetIds(AIndex : Integer; const AValue : TStringArray);
  3950. begin
  3951. If (FreadGroupSetIds=AValue) then exit;
  3952. FreadGroupSetIds:=AValue;
  3953. MarkPropertyChanged(AIndex);
  3954. end;
  3955. Procedure TSearchReadsRequest.SetreadGroupIds(AIndex : Integer; const AValue : TStringArray);
  3956. begin
  3957. If (FreadGroupIds=AValue) then exit;
  3958. FreadGroupIds:=AValue;
  3959. MarkPropertyChanged(AIndex);
  3960. end;
  3961. Procedure TSearchReadsRequest.SetreferenceName(AIndex : Integer; const AValue : String);
  3962. begin
  3963. If (FreferenceName=AValue) then exit;
  3964. FreferenceName:=AValue;
  3965. MarkPropertyChanged(AIndex);
  3966. end;
  3967. Procedure TSearchReadsRequest.Setstart(AIndex : Integer; const AValue : String);
  3968. begin
  3969. If (Fstart=AValue) then exit;
  3970. Fstart:=AValue;
  3971. MarkPropertyChanged(AIndex);
  3972. end;
  3973. Procedure TSearchReadsRequest.Set_end(AIndex : Integer; const AValue : String);
  3974. begin
  3975. If (F_end=AValue) then exit;
  3976. F_end:=AValue;
  3977. MarkPropertyChanged(AIndex);
  3978. end;
  3979. Procedure TSearchReadsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  3980. begin
  3981. If (FpageToken=AValue) then exit;
  3982. FpageToken:=AValue;
  3983. MarkPropertyChanged(AIndex);
  3984. end;
  3985. Procedure TSearchReadsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  3986. begin
  3987. If (FpageSize=AValue) then exit;
  3988. FpageSize:=AValue;
  3989. MarkPropertyChanged(AIndex);
  3990. end;
  3991. Class Function TSearchReadsRequest.ExportPropertyName(Const AName : String) :String;
  3992. begin
  3993. Case AName of
  3994. '_end' : Result:='end';
  3995. else
  3996. Result:=Inherited ExportPropertyName(AName);
  3997. end;
  3998. end;
  3999. //2.6.4. bug workaround
  4000. {$IFDEF VER2_6}
  4001. Procedure TSearchReadsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4002. begin
  4003. Case AName of
  4004. 'readgroupsetids' : SetLength(FreadGroupSetIds,ALength);
  4005. 'readgroupids' : SetLength(FreadGroupIds,ALength);
  4006. else
  4007. Inherited SetArrayLength(AName,ALength);
  4008. end;
  4009. end;
  4010. {$ENDIF VER2_6}
  4011. { --------------------------------------------------------------------
  4012. TSearchReadsResponse
  4013. --------------------------------------------------------------------}
  4014. Procedure TSearchReadsResponse.Setalignments(AIndex : Integer; const AValue : TSearchReadsResponseTypealignmentsArray);
  4015. begin
  4016. If (Falignments=AValue) then exit;
  4017. Falignments:=AValue;
  4018. MarkPropertyChanged(AIndex);
  4019. end;
  4020. Procedure TSearchReadsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  4021. begin
  4022. If (FnextPageToken=AValue) then exit;
  4023. FnextPageToken:=AValue;
  4024. MarkPropertyChanged(AIndex);
  4025. end;
  4026. //2.6.4. bug workaround
  4027. {$IFDEF VER2_6}
  4028. Procedure TSearchReadsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4029. begin
  4030. Case AName of
  4031. 'alignments' : SetLength(Falignments,ALength);
  4032. else
  4033. Inherited SetArrayLength(AName,ALength);
  4034. end;
  4035. end;
  4036. {$ENDIF VER2_6}
  4037. { --------------------------------------------------------------------
  4038. TReadTypeinfo
  4039. --------------------------------------------------------------------}
  4040. Class Function TReadTypeinfo.AllowAdditionalProperties : Boolean;
  4041. begin
  4042. Result:=True;
  4043. end;
  4044. { --------------------------------------------------------------------
  4045. TRead
  4046. --------------------------------------------------------------------}
  4047. Procedure TRead.Setid(AIndex : Integer; const AValue : String);
  4048. begin
  4049. If (Fid=AValue) then exit;
  4050. Fid:=AValue;
  4051. MarkPropertyChanged(AIndex);
  4052. end;
  4053. Procedure TRead.SetreadGroupId(AIndex : Integer; const AValue : String);
  4054. begin
  4055. If (FreadGroupId=AValue) then exit;
  4056. FreadGroupId:=AValue;
  4057. MarkPropertyChanged(AIndex);
  4058. end;
  4059. Procedure TRead.SetreadGroupSetId(AIndex : Integer; const AValue : String);
  4060. begin
  4061. If (FreadGroupSetId=AValue) then exit;
  4062. FreadGroupSetId:=AValue;
  4063. MarkPropertyChanged(AIndex);
  4064. end;
  4065. Procedure TRead.SetfragmentName(AIndex : Integer; const AValue : String);
  4066. begin
  4067. If (FfragmentName=AValue) then exit;
  4068. FfragmentName:=AValue;
  4069. MarkPropertyChanged(AIndex);
  4070. end;
  4071. Procedure TRead.SetproperPlacement(AIndex : Integer; const AValue : boolean);
  4072. begin
  4073. If (FproperPlacement=AValue) then exit;
  4074. FproperPlacement:=AValue;
  4075. MarkPropertyChanged(AIndex);
  4076. end;
  4077. Procedure TRead.SetduplicateFragment(AIndex : Integer; const AValue : boolean);
  4078. begin
  4079. If (FduplicateFragment=AValue) then exit;
  4080. FduplicateFragment:=AValue;
  4081. MarkPropertyChanged(AIndex);
  4082. end;
  4083. Procedure TRead.SetfragmentLength(AIndex : Integer; const AValue : integer);
  4084. begin
  4085. If (FfragmentLength=AValue) then exit;
  4086. FfragmentLength:=AValue;
  4087. MarkPropertyChanged(AIndex);
  4088. end;
  4089. Procedure TRead.SetreadNumber(AIndex : Integer; const AValue : integer);
  4090. begin
  4091. If (FreadNumber=AValue) then exit;
  4092. FreadNumber:=AValue;
  4093. MarkPropertyChanged(AIndex);
  4094. end;
  4095. Procedure TRead.SetnumberReads(AIndex : Integer; const AValue : integer);
  4096. begin
  4097. If (FnumberReads=AValue) then exit;
  4098. FnumberReads:=AValue;
  4099. MarkPropertyChanged(AIndex);
  4100. end;
  4101. Procedure TRead.SetfailedVendorQualityChecks(AIndex : Integer; const AValue : boolean);
  4102. begin
  4103. If (FfailedVendorQualityChecks=AValue) then exit;
  4104. FfailedVendorQualityChecks:=AValue;
  4105. MarkPropertyChanged(AIndex);
  4106. end;
  4107. Procedure TRead.Setalignment(AIndex : Integer; const AValue : TLinearAlignment);
  4108. begin
  4109. If (Falignment=AValue) then exit;
  4110. Falignment:=AValue;
  4111. MarkPropertyChanged(AIndex);
  4112. end;
  4113. Procedure TRead.SetsecondaryAlignment(AIndex : Integer; const AValue : boolean);
  4114. begin
  4115. If (FsecondaryAlignment=AValue) then exit;
  4116. FsecondaryAlignment:=AValue;
  4117. MarkPropertyChanged(AIndex);
  4118. end;
  4119. Procedure TRead.SetsupplementaryAlignment(AIndex : Integer; const AValue : boolean);
  4120. begin
  4121. If (FsupplementaryAlignment=AValue) then exit;
  4122. FsupplementaryAlignment:=AValue;
  4123. MarkPropertyChanged(AIndex);
  4124. end;
  4125. Procedure TRead.SetalignedSequence(AIndex : Integer; const AValue : String);
  4126. begin
  4127. If (FalignedSequence=AValue) then exit;
  4128. FalignedSequence:=AValue;
  4129. MarkPropertyChanged(AIndex);
  4130. end;
  4131. Procedure TRead.SetalignedQuality(AIndex : Integer; const AValue : TintegerArray);
  4132. begin
  4133. If (FalignedQuality=AValue) then exit;
  4134. FalignedQuality:=AValue;
  4135. MarkPropertyChanged(AIndex);
  4136. end;
  4137. Procedure TRead.SetnextMatePosition(AIndex : Integer; const AValue : TPosition);
  4138. begin
  4139. If (FnextMatePosition=AValue) then exit;
  4140. FnextMatePosition:=AValue;
  4141. MarkPropertyChanged(AIndex);
  4142. end;
  4143. Procedure TRead.Setinfo(AIndex : Integer; const AValue : TReadTypeinfo);
  4144. begin
  4145. If (Finfo=AValue) then exit;
  4146. Finfo:=AValue;
  4147. MarkPropertyChanged(AIndex);
  4148. end;
  4149. //2.6.4. bug workaround
  4150. {$IFDEF VER2_6}
  4151. Procedure TRead.SetArrayLength(Const AName : String; ALength : Longint);
  4152. begin
  4153. Case AName of
  4154. 'alignedquality' : SetLength(FalignedQuality,ALength);
  4155. else
  4156. Inherited SetArrayLength(AName,ALength);
  4157. end;
  4158. end;
  4159. {$ENDIF VER2_6}
  4160. { --------------------------------------------------------------------
  4161. TLinearAlignment
  4162. --------------------------------------------------------------------}
  4163. Procedure TLinearAlignment.Setposition(AIndex : Integer; const AValue : TPosition);
  4164. begin
  4165. If (Fposition=AValue) then exit;
  4166. Fposition:=AValue;
  4167. MarkPropertyChanged(AIndex);
  4168. end;
  4169. Procedure TLinearAlignment.SetmappingQuality(AIndex : Integer; const AValue : integer);
  4170. begin
  4171. If (FmappingQuality=AValue) then exit;
  4172. FmappingQuality:=AValue;
  4173. MarkPropertyChanged(AIndex);
  4174. end;
  4175. Procedure TLinearAlignment.Setcigar(AIndex : Integer; const AValue : TLinearAlignmentTypecigarArray);
  4176. begin
  4177. If (Fcigar=AValue) then exit;
  4178. Fcigar:=AValue;
  4179. MarkPropertyChanged(AIndex);
  4180. end;
  4181. //2.6.4. bug workaround
  4182. {$IFDEF VER2_6}
  4183. Procedure TLinearAlignment.SetArrayLength(Const AName : String; ALength : Longint);
  4184. begin
  4185. Case AName of
  4186. 'cigar' : SetLength(Fcigar,ALength);
  4187. else
  4188. Inherited SetArrayLength(AName,ALength);
  4189. end;
  4190. end;
  4191. {$ENDIF VER2_6}
  4192. { --------------------------------------------------------------------
  4193. TPosition
  4194. --------------------------------------------------------------------}
  4195. Procedure TPosition.SetreferenceName(AIndex : Integer; const AValue : String);
  4196. begin
  4197. If (FreferenceName=AValue) then exit;
  4198. FreferenceName:=AValue;
  4199. MarkPropertyChanged(AIndex);
  4200. end;
  4201. Procedure TPosition.Setposition(AIndex : Integer; const AValue : String);
  4202. begin
  4203. If (Fposition=AValue) then exit;
  4204. Fposition:=AValue;
  4205. MarkPropertyChanged(AIndex);
  4206. end;
  4207. Procedure TPosition.SetreverseStrand(AIndex : Integer; const AValue : boolean);
  4208. begin
  4209. If (FreverseStrand=AValue) then exit;
  4210. FreverseStrand:=AValue;
  4211. MarkPropertyChanged(AIndex);
  4212. end;
  4213. { --------------------------------------------------------------------
  4214. TCigarUnit
  4215. --------------------------------------------------------------------}
  4216. Procedure TCigarUnit.Setoperation(AIndex : Integer; const AValue : String);
  4217. begin
  4218. If (Foperation=AValue) then exit;
  4219. Foperation:=AValue;
  4220. MarkPropertyChanged(AIndex);
  4221. end;
  4222. Procedure TCigarUnit.SetoperationLength(AIndex : Integer; const AValue : String);
  4223. begin
  4224. If (FoperationLength=AValue) then exit;
  4225. FoperationLength:=AValue;
  4226. MarkPropertyChanged(AIndex);
  4227. end;
  4228. Procedure TCigarUnit.SetreferenceSequence(AIndex : Integer; const AValue : String);
  4229. begin
  4230. If (FreferenceSequence=AValue) then exit;
  4231. FreferenceSequence:=AValue;
  4232. MarkPropertyChanged(AIndex);
  4233. end;
  4234. { --------------------------------------------------------------------
  4235. TStreamReadsRequest
  4236. --------------------------------------------------------------------}
  4237. Procedure TStreamReadsRequest.SetprojectId(AIndex : Integer; const AValue : String);
  4238. begin
  4239. If (FprojectId=AValue) then exit;
  4240. FprojectId:=AValue;
  4241. MarkPropertyChanged(AIndex);
  4242. end;
  4243. Procedure TStreamReadsRequest.SetreadGroupSetId(AIndex : Integer; const AValue : String);
  4244. begin
  4245. If (FreadGroupSetId=AValue) then exit;
  4246. FreadGroupSetId:=AValue;
  4247. MarkPropertyChanged(AIndex);
  4248. end;
  4249. Procedure TStreamReadsRequest.SetreferenceName(AIndex : Integer; const AValue : String);
  4250. begin
  4251. If (FreferenceName=AValue) then exit;
  4252. FreferenceName:=AValue;
  4253. MarkPropertyChanged(AIndex);
  4254. end;
  4255. Procedure TStreamReadsRequest.Setstart(AIndex : Integer; const AValue : String);
  4256. begin
  4257. If (Fstart=AValue) then exit;
  4258. Fstart:=AValue;
  4259. MarkPropertyChanged(AIndex);
  4260. end;
  4261. Procedure TStreamReadsRequest.Set_end(AIndex : Integer; const AValue : String);
  4262. begin
  4263. If (F_end=AValue) then exit;
  4264. F_end:=AValue;
  4265. MarkPropertyChanged(AIndex);
  4266. end;
  4267. Procedure TStreamReadsRequest.Setshard(AIndex : Integer; const AValue : integer);
  4268. begin
  4269. If (Fshard=AValue) then exit;
  4270. Fshard:=AValue;
  4271. MarkPropertyChanged(AIndex);
  4272. end;
  4273. Procedure TStreamReadsRequest.SettotalShards(AIndex : Integer; const AValue : integer);
  4274. begin
  4275. If (FtotalShards=AValue) then exit;
  4276. FtotalShards:=AValue;
  4277. MarkPropertyChanged(AIndex);
  4278. end;
  4279. Class Function TStreamReadsRequest.ExportPropertyName(Const AName : String) :String;
  4280. begin
  4281. Case AName of
  4282. '_end' : Result:='end';
  4283. else
  4284. Result:=Inherited ExportPropertyName(AName);
  4285. end;
  4286. end;
  4287. { --------------------------------------------------------------------
  4288. TStreamReadsResponse
  4289. --------------------------------------------------------------------}
  4290. Procedure TStreamReadsResponse.Setalignments(AIndex : Integer; const AValue : TStreamReadsResponseTypealignmentsArray);
  4291. begin
  4292. If (Falignments=AValue) then exit;
  4293. Falignments:=AValue;
  4294. MarkPropertyChanged(AIndex);
  4295. end;
  4296. //2.6.4. bug workaround
  4297. {$IFDEF VER2_6}
  4298. Procedure TStreamReadsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4299. begin
  4300. Case AName of
  4301. 'alignments' : SetLength(Falignments,ALength);
  4302. else
  4303. Inherited SetArrayLength(AName,ALength);
  4304. end;
  4305. end;
  4306. {$ENDIF VER2_6}
  4307. { --------------------------------------------------------------------
  4308. TSearchReferenceSetsRequest
  4309. --------------------------------------------------------------------}
  4310. Procedure TSearchReferenceSetsRequest.Setmd5checksums(AIndex : Integer; const AValue : TStringArray);
  4311. begin
  4312. If (Fmd5checksums=AValue) then exit;
  4313. Fmd5checksums:=AValue;
  4314. MarkPropertyChanged(AIndex);
  4315. end;
  4316. Procedure TSearchReferenceSetsRequest.Setaccessions(AIndex : Integer; const AValue : TStringArray);
  4317. begin
  4318. If (Faccessions=AValue) then exit;
  4319. Faccessions:=AValue;
  4320. MarkPropertyChanged(AIndex);
  4321. end;
  4322. Procedure TSearchReferenceSetsRequest.SetassemblyId(AIndex : Integer; const AValue : String);
  4323. begin
  4324. If (FassemblyId=AValue) then exit;
  4325. FassemblyId:=AValue;
  4326. MarkPropertyChanged(AIndex);
  4327. end;
  4328. Procedure TSearchReferenceSetsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  4329. begin
  4330. If (FpageToken=AValue) then exit;
  4331. FpageToken:=AValue;
  4332. MarkPropertyChanged(AIndex);
  4333. end;
  4334. Procedure TSearchReferenceSetsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  4335. begin
  4336. If (FpageSize=AValue) then exit;
  4337. FpageSize:=AValue;
  4338. MarkPropertyChanged(AIndex);
  4339. end;
  4340. //2.6.4. bug workaround
  4341. {$IFDEF VER2_6}
  4342. Procedure TSearchReferenceSetsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4343. begin
  4344. Case AName of
  4345. 'md5checksums' : SetLength(Fmd5checksums,ALength);
  4346. 'accessions' : SetLength(Faccessions,ALength);
  4347. else
  4348. Inherited SetArrayLength(AName,ALength);
  4349. end;
  4350. end;
  4351. {$ENDIF VER2_6}
  4352. { --------------------------------------------------------------------
  4353. TSearchReferenceSetsResponse
  4354. --------------------------------------------------------------------}
  4355. Procedure TSearchReferenceSetsResponse.SetreferenceSets(AIndex : Integer; const AValue : TSearchReferenceSetsResponseTypereferenceSetsArray);
  4356. begin
  4357. If (FreferenceSets=AValue) then exit;
  4358. FreferenceSets:=AValue;
  4359. MarkPropertyChanged(AIndex);
  4360. end;
  4361. Procedure TSearchReferenceSetsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  4362. begin
  4363. If (FnextPageToken=AValue) then exit;
  4364. FnextPageToken:=AValue;
  4365. MarkPropertyChanged(AIndex);
  4366. end;
  4367. //2.6.4. bug workaround
  4368. {$IFDEF VER2_6}
  4369. Procedure TSearchReferenceSetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4370. begin
  4371. Case AName of
  4372. 'referencesets' : SetLength(FreferenceSets,ALength);
  4373. else
  4374. Inherited SetArrayLength(AName,ALength);
  4375. end;
  4376. end;
  4377. {$ENDIF VER2_6}
  4378. { --------------------------------------------------------------------
  4379. TReferenceSet
  4380. --------------------------------------------------------------------}
  4381. Procedure TReferenceSet.Setid(AIndex : Integer; const AValue : String);
  4382. begin
  4383. If (Fid=AValue) then exit;
  4384. Fid:=AValue;
  4385. MarkPropertyChanged(AIndex);
  4386. end;
  4387. Procedure TReferenceSet.SetreferenceIds(AIndex : Integer; const AValue : TStringArray);
  4388. begin
  4389. If (FreferenceIds=AValue) then exit;
  4390. FreferenceIds:=AValue;
  4391. MarkPropertyChanged(AIndex);
  4392. end;
  4393. Procedure TReferenceSet.Setmd5checksum(AIndex : Integer; const AValue : String);
  4394. begin
  4395. If (Fmd5checksum=AValue) then exit;
  4396. Fmd5checksum:=AValue;
  4397. MarkPropertyChanged(AIndex);
  4398. end;
  4399. Procedure TReferenceSet.SetncbiTaxonId(AIndex : Integer; const AValue : integer);
  4400. begin
  4401. If (FncbiTaxonId=AValue) then exit;
  4402. FncbiTaxonId:=AValue;
  4403. MarkPropertyChanged(AIndex);
  4404. end;
  4405. Procedure TReferenceSet.Setdescription(AIndex : Integer; const AValue : String);
  4406. begin
  4407. If (Fdescription=AValue) then exit;
  4408. Fdescription:=AValue;
  4409. MarkPropertyChanged(AIndex);
  4410. end;
  4411. Procedure TReferenceSet.SetassemblyId(AIndex : Integer; const AValue : String);
  4412. begin
  4413. If (FassemblyId=AValue) then exit;
  4414. FassemblyId:=AValue;
  4415. MarkPropertyChanged(AIndex);
  4416. end;
  4417. Procedure TReferenceSet.SetsourceUri(AIndex : Integer; const AValue : String);
  4418. begin
  4419. If (FsourceUri=AValue) then exit;
  4420. FsourceUri:=AValue;
  4421. MarkPropertyChanged(AIndex);
  4422. end;
  4423. Procedure TReferenceSet.SetsourceAccessions(AIndex : Integer; const AValue : TStringArray);
  4424. begin
  4425. If (FsourceAccessions=AValue) then exit;
  4426. FsourceAccessions:=AValue;
  4427. MarkPropertyChanged(AIndex);
  4428. end;
  4429. //2.6.4. bug workaround
  4430. {$IFDEF VER2_6}
  4431. Procedure TReferenceSet.SetArrayLength(Const AName : String; ALength : Longint);
  4432. begin
  4433. Case AName of
  4434. 'referenceids' : SetLength(FreferenceIds,ALength);
  4435. 'sourceaccessions' : SetLength(FsourceAccessions,ALength);
  4436. else
  4437. Inherited SetArrayLength(AName,ALength);
  4438. end;
  4439. end;
  4440. {$ENDIF VER2_6}
  4441. { --------------------------------------------------------------------
  4442. TSearchReferencesRequest
  4443. --------------------------------------------------------------------}
  4444. Procedure TSearchReferencesRequest.Setmd5checksums(AIndex : Integer; const AValue : TStringArray);
  4445. begin
  4446. If (Fmd5checksums=AValue) then exit;
  4447. Fmd5checksums:=AValue;
  4448. MarkPropertyChanged(AIndex);
  4449. end;
  4450. Procedure TSearchReferencesRequest.Setaccessions(AIndex : Integer; const AValue : TStringArray);
  4451. begin
  4452. If (Faccessions=AValue) then exit;
  4453. Faccessions:=AValue;
  4454. MarkPropertyChanged(AIndex);
  4455. end;
  4456. Procedure TSearchReferencesRequest.SetreferenceSetId(AIndex : Integer; const AValue : String);
  4457. begin
  4458. If (FreferenceSetId=AValue) then exit;
  4459. FreferenceSetId:=AValue;
  4460. MarkPropertyChanged(AIndex);
  4461. end;
  4462. Procedure TSearchReferencesRequest.SetpageToken(AIndex : Integer; const AValue : String);
  4463. begin
  4464. If (FpageToken=AValue) then exit;
  4465. FpageToken:=AValue;
  4466. MarkPropertyChanged(AIndex);
  4467. end;
  4468. Procedure TSearchReferencesRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  4469. begin
  4470. If (FpageSize=AValue) then exit;
  4471. FpageSize:=AValue;
  4472. MarkPropertyChanged(AIndex);
  4473. end;
  4474. //2.6.4. bug workaround
  4475. {$IFDEF VER2_6}
  4476. Procedure TSearchReferencesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4477. begin
  4478. Case AName of
  4479. 'md5checksums' : SetLength(Fmd5checksums,ALength);
  4480. 'accessions' : SetLength(Faccessions,ALength);
  4481. else
  4482. Inherited SetArrayLength(AName,ALength);
  4483. end;
  4484. end;
  4485. {$ENDIF VER2_6}
  4486. { --------------------------------------------------------------------
  4487. TSearchReferencesResponse
  4488. --------------------------------------------------------------------}
  4489. Procedure TSearchReferencesResponse.Setreferences(AIndex : Integer; const AValue : TSearchReferencesResponseTypereferencesArray);
  4490. begin
  4491. If (Freferences=AValue) then exit;
  4492. Freferences:=AValue;
  4493. MarkPropertyChanged(AIndex);
  4494. end;
  4495. Procedure TSearchReferencesResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  4496. begin
  4497. If (FnextPageToken=AValue) then exit;
  4498. FnextPageToken:=AValue;
  4499. MarkPropertyChanged(AIndex);
  4500. end;
  4501. //2.6.4. bug workaround
  4502. {$IFDEF VER2_6}
  4503. Procedure TSearchReferencesResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4504. begin
  4505. Case AName of
  4506. 'references' : SetLength(Freferences,ALength);
  4507. else
  4508. Inherited SetArrayLength(AName,ALength);
  4509. end;
  4510. end;
  4511. {$ENDIF VER2_6}
  4512. { --------------------------------------------------------------------
  4513. TReference
  4514. --------------------------------------------------------------------}
  4515. Procedure TReference.Setid(AIndex : Integer; const AValue : String);
  4516. begin
  4517. If (Fid=AValue) then exit;
  4518. Fid:=AValue;
  4519. MarkPropertyChanged(AIndex);
  4520. end;
  4521. Procedure TReference.Set_length(AIndex : Integer; const AValue : String);
  4522. begin
  4523. If (F_length=AValue) then exit;
  4524. F_length:=AValue;
  4525. MarkPropertyChanged(AIndex);
  4526. end;
  4527. Procedure TReference.Setmd5checksum(AIndex : Integer; const AValue : String);
  4528. begin
  4529. If (Fmd5checksum=AValue) then exit;
  4530. Fmd5checksum:=AValue;
  4531. MarkPropertyChanged(AIndex);
  4532. end;
  4533. Procedure TReference.Setname(AIndex : Integer; const AValue : String);
  4534. begin
  4535. If (Fname=AValue) then exit;
  4536. Fname:=AValue;
  4537. MarkPropertyChanged(AIndex);
  4538. end;
  4539. Procedure TReference.SetsourceUri(AIndex : Integer; const AValue : String);
  4540. begin
  4541. If (FsourceUri=AValue) then exit;
  4542. FsourceUri:=AValue;
  4543. MarkPropertyChanged(AIndex);
  4544. end;
  4545. Procedure TReference.SetsourceAccessions(AIndex : Integer; const AValue : TStringArray);
  4546. begin
  4547. If (FsourceAccessions=AValue) then exit;
  4548. FsourceAccessions:=AValue;
  4549. MarkPropertyChanged(AIndex);
  4550. end;
  4551. Procedure TReference.SetncbiTaxonId(AIndex : Integer; const AValue : integer);
  4552. begin
  4553. If (FncbiTaxonId=AValue) then exit;
  4554. FncbiTaxonId:=AValue;
  4555. MarkPropertyChanged(AIndex);
  4556. end;
  4557. Class Function TReference.ExportPropertyName(Const AName : String) :String;
  4558. begin
  4559. Case AName of
  4560. '_length' : Result:='length';
  4561. else
  4562. Result:=Inherited ExportPropertyName(AName);
  4563. end;
  4564. end;
  4565. //2.6.4. bug workaround
  4566. {$IFDEF VER2_6}
  4567. Procedure TReference.SetArrayLength(Const AName : String; ALength : Longint);
  4568. begin
  4569. Case AName of
  4570. 'sourceaccessions' : SetLength(FsourceAccessions,ALength);
  4571. else
  4572. Inherited SetArrayLength(AName,ALength);
  4573. end;
  4574. end;
  4575. {$ENDIF VER2_6}
  4576. { --------------------------------------------------------------------
  4577. TListBasesResponse
  4578. --------------------------------------------------------------------}
  4579. Procedure TListBasesResponse.Setoffset(AIndex : Integer; const AValue : String);
  4580. begin
  4581. If (Foffset=AValue) then exit;
  4582. Foffset:=AValue;
  4583. MarkPropertyChanged(AIndex);
  4584. end;
  4585. Procedure TListBasesResponse.Setsequence(AIndex : Integer; const AValue : String);
  4586. begin
  4587. If (Fsequence=AValue) then exit;
  4588. Fsequence:=AValue;
  4589. MarkPropertyChanged(AIndex);
  4590. end;
  4591. Procedure TListBasesResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  4592. begin
  4593. If (FnextPageToken=AValue) then exit;
  4594. FnextPageToken:=AValue;
  4595. MarkPropertyChanged(AIndex);
  4596. end;
  4597. { --------------------------------------------------------------------
  4598. TImportVariantsRequestTypeinfoMergeConfig
  4599. --------------------------------------------------------------------}
  4600. Class Function TImportVariantsRequestTypeinfoMergeConfig.AllowAdditionalProperties : Boolean;
  4601. begin
  4602. Result:=True;
  4603. end;
  4604. { --------------------------------------------------------------------
  4605. TImportVariantsRequest
  4606. --------------------------------------------------------------------}
  4607. Procedure TImportVariantsRequest.SetvariantSetId(AIndex : Integer; const AValue : String);
  4608. begin
  4609. If (FvariantSetId=AValue) then exit;
  4610. FvariantSetId:=AValue;
  4611. MarkPropertyChanged(AIndex);
  4612. end;
  4613. Procedure TImportVariantsRequest.SetsourceUris(AIndex : Integer; const AValue : TStringArray);
  4614. begin
  4615. If (FsourceUris=AValue) then exit;
  4616. FsourceUris:=AValue;
  4617. MarkPropertyChanged(AIndex);
  4618. end;
  4619. Procedure TImportVariantsRequest.Setformat(AIndex : Integer; const AValue : String);
  4620. begin
  4621. If (Fformat=AValue) then exit;
  4622. Fformat:=AValue;
  4623. MarkPropertyChanged(AIndex);
  4624. end;
  4625. Procedure TImportVariantsRequest.SetnormalizeReferenceNames(AIndex : Integer; const AValue : boolean);
  4626. begin
  4627. If (FnormalizeReferenceNames=AValue) then exit;
  4628. FnormalizeReferenceNames:=AValue;
  4629. MarkPropertyChanged(AIndex);
  4630. end;
  4631. Procedure TImportVariantsRequest.SetinfoMergeConfig(AIndex : Integer; const AValue : TImportVariantsRequestTypeinfoMergeConfig);
  4632. begin
  4633. If (FinfoMergeConfig=AValue) then exit;
  4634. FinfoMergeConfig:=AValue;
  4635. MarkPropertyChanged(AIndex);
  4636. end;
  4637. //2.6.4. bug workaround
  4638. {$IFDEF VER2_6}
  4639. Procedure TImportVariantsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4640. begin
  4641. Case AName of
  4642. 'sourceuris' : SetLength(FsourceUris,ALength);
  4643. else
  4644. Inherited SetArrayLength(AName,ALength);
  4645. end;
  4646. end;
  4647. {$ENDIF VER2_6}
  4648. { --------------------------------------------------------------------
  4649. TVariantSet
  4650. --------------------------------------------------------------------}
  4651. Procedure TVariantSet.SetdatasetId(AIndex : Integer; const AValue : String);
  4652. begin
  4653. If (FdatasetId=AValue) then exit;
  4654. FdatasetId:=AValue;
  4655. MarkPropertyChanged(AIndex);
  4656. end;
  4657. Procedure TVariantSet.Setid(AIndex : Integer; const AValue : String);
  4658. begin
  4659. If (Fid=AValue) then exit;
  4660. Fid:=AValue;
  4661. MarkPropertyChanged(AIndex);
  4662. end;
  4663. Procedure TVariantSet.SetreferenceSetId(AIndex : Integer; const AValue : String);
  4664. begin
  4665. If (FreferenceSetId=AValue) then exit;
  4666. FreferenceSetId:=AValue;
  4667. MarkPropertyChanged(AIndex);
  4668. end;
  4669. Procedure TVariantSet.SetreferenceBounds(AIndex : Integer; const AValue : TVariantSetTypereferenceBoundsArray);
  4670. begin
  4671. If (FreferenceBounds=AValue) then exit;
  4672. FreferenceBounds:=AValue;
  4673. MarkPropertyChanged(AIndex);
  4674. end;
  4675. Procedure TVariantSet.Setmetadata(AIndex : Integer; const AValue : TVariantSetTypemetadataArray);
  4676. begin
  4677. If (Fmetadata=AValue) then exit;
  4678. Fmetadata:=AValue;
  4679. MarkPropertyChanged(AIndex);
  4680. end;
  4681. Procedure TVariantSet.Setname(AIndex : Integer; const AValue : String);
  4682. begin
  4683. If (Fname=AValue) then exit;
  4684. Fname:=AValue;
  4685. MarkPropertyChanged(AIndex);
  4686. end;
  4687. Procedure TVariantSet.Setdescription(AIndex : Integer; const AValue : String);
  4688. begin
  4689. If (Fdescription=AValue) then exit;
  4690. Fdescription:=AValue;
  4691. MarkPropertyChanged(AIndex);
  4692. end;
  4693. //2.6.4. bug workaround
  4694. {$IFDEF VER2_6}
  4695. Procedure TVariantSet.SetArrayLength(Const AName : String; ALength : Longint);
  4696. begin
  4697. Case AName of
  4698. 'referencebounds' : SetLength(FreferenceBounds,ALength);
  4699. 'metadata' : SetLength(Fmetadata,ALength);
  4700. else
  4701. Inherited SetArrayLength(AName,ALength);
  4702. end;
  4703. end;
  4704. {$ENDIF VER2_6}
  4705. { --------------------------------------------------------------------
  4706. TReferenceBound
  4707. --------------------------------------------------------------------}
  4708. Procedure TReferenceBound.SetreferenceName(AIndex : Integer; const AValue : String);
  4709. begin
  4710. If (FreferenceName=AValue) then exit;
  4711. FreferenceName:=AValue;
  4712. MarkPropertyChanged(AIndex);
  4713. end;
  4714. Procedure TReferenceBound.SetupperBound(AIndex : Integer; const AValue : String);
  4715. begin
  4716. If (FupperBound=AValue) then exit;
  4717. FupperBound:=AValue;
  4718. MarkPropertyChanged(AIndex);
  4719. end;
  4720. { --------------------------------------------------------------------
  4721. TVariantSetMetadataTypeinfo
  4722. --------------------------------------------------------------------}
  4723. Class Function TVariantSetMetadataTypeinfo.AllowAdditionalProperties : Boolean;
  4724. begin
  4725. Result:=True;
  4726. end;
  4727. { --------------------------------------------------------------------
  4728. TVariantSetMetadata
  4729. --------------------------------------------------------------------}
  4730. Procedure TVariantSetMetadata.Setkey(AIndex : Integer; const AValue : String);
  4731. begin
  4732. If (Fkey=AValue) then exit;
  4733. Fkey:=AValue;
  4734. MarkPropertyChanged(AIndex);
  4735. end;
  4736. Procedure TVariantSetMetadata.Setvalue(AIndex : Integer; const AValue : String);
  4737. begin
  4738. If (Fvalue=AValue) then exit;
  4739. Fvalue:=AValue;
  4740. MarkPropertyChanged(AIndex);
  4741. end;
  4742. Procedure TVariantSetMetadata.Setid(AIndex : Integer; const AValue : String);
  4743. begin
  4744. If (Fid=AValue) then exit;
  4745. Fid:=AValue;
  4746. MarkPropertyChanged(AIndex);
  4747. end;
  4748. Procedure TVariantSetMetadata.Set_type(AIndex : Integer; const AValue : String);
  4749. begin
  4750. If (F_type=AValue) then exit;
  4751. F_type:=AValue;
  4752. MarkPropertyChanged(AIndex);
  4753. end;
  4754. Procedure TVariantSetMetadata.Setnumber(AIndex : Integer; const AValue : String);
  4755. begin
  4756. If (Fnumber=AValue) then exit;
  4757. Fnumber:=AValue;
  4758. MarkPropertyChanged(AIndex);
  4759. end;
  4760. Procedure TVariantSetMetadata.Setdescription(AIndex : Integer; const AValue : String);
  4761. begin
  4762. If (Fdescription=AValue) then exit;
  4763. Fdescription:=AValue;
  4764. MarkPropertyChanged(AIndex);
  4765. end;
  4766. Procedure TVariantSetMetadata.Setinfo(AIndex : Integer; const AValue : TVariantSetMetadataTypeinfo);
  4767. begin
  4768. If (Finfo=AValue) then exit;
  4769. Finfo:=AValue;
  4770. MarkPropertyChanged(AIndex);
  4771. end;
  4772. Class Function TVariantSetMetadata.ExportPropertyName(Const AName : String) :String;
  4773. begin
  4774. Case AName of
  4775. '_type' : Result:='type';
  4776. else
  4777. Result:=Inherited ExportPropertyName(AName);
  4778. end;
  4779. end;
  4780. { --------------------------------------------------------------------
  4781. TExportVariantSetRequest
  4782. --------------------------------------------------------------------}
  4783. Procedure TExportVariantSetRequest.SetcallSetIds(AIndex : Integer; const AValue : TStringArray);
  4784. begin
  4785. If (FcallSetIds=AValue) then exit;
  4786. FcallSetIds:=AValue;
  4787. MarkPropertyChanged(AIndex);
  4788. end;
  4789. Procedure TExportVariantSetRequest.SetprojectId(AIndex : Integer; const AValue : String);
  4790. begin
  4791. If (FprojectId=AValue) then exit;
  4792. FprojectId:=AValue;
  4793. MarkPropertyChanged(AIndex);
  4794. end;
  4795. Procedure TExportVariantSetRequest.Setformat(AIndex : Integer; const AValue : String);
  4796. begin
  4797. If (Fformat=AValue) then exit;
  4798. Fformat:=AValue;
  4799. MarkPropertyChanged(AIndex);
  4800. end;
  4801. Procedure TExportVariantSetRequest.SetbigqueryDataset(AIndex : Integer; const AValue : String);
  4802. begin
  4803. If (FbigqueryDataset=AValue) then exit;
  4804. FbigqueryDataset:=AValue;
  4805. MarkPropertyChanged(AIndex);
  4806. end;
  4807. Procedure TExportVariantSetRequest.SetbigqueryTable(AIndex : Integer; const AValue : String);
  4808. begin
  4809. If (FbigqueryTable=AValue) then exit;
  4810. FbigqueryTable:=AValue;
  4811. MarkPropertyChanged(AIndex);
  4812. end;
  4813. //2.6.4. bug workaround
  4814. {$IFDEF VER2_6}
  4815. Procedure TExportVariantSetRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4816. begin
  4817. Case AName of
  4818. 'callsetids' : SetLength(FcallSetIds,ALength);
  4819. else
  4820. Inherited SetArrayLength(AName,ALength);
  4821. end;
  4822. end;
  4823. {$ENDIF VER2_6}
  4824. { --------------------------------------------------------------------
  4825. TSearchVariantSetsRequest
  4826. --------------------------------------------------------------------}
  4827. Procedure TSearchVariantSetsRequest.SetdatasetIds(AIndex : Integer; const AValue : TStringArray);
  4828. begin
  4829. If (FdatasetIds=AValue) then exit;
  4830. FdatasetIds:=AValue;
  4831. MarkPropertyChanged(AIndex);
  4832. end;
  4833. Procedure TSearchVariantSetsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  4834. begin
  4835. If (FpageToken=AValue) then exit;
  4836. FpageToken:=AValue;
  4837. MarkPropertyChanged(AIndex);
  4838. end;
  4839. Procedure TSearchVariantSetsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  4840. begin
  4841. If (FpageSize=AValue) then exit;
  4842. FpageSize:=AValue;
  4843. MarkPropertyChanged(AIndex);
  4844. end;
  4845. //2.6.4. bug workaround
  4846. {$IFDEF VER2_6}
  4847. Procedure TSearchVariantSetsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4848. begin
  4849. Case AName of
  4850. 'datasetids' : SetLength(FdatasetIds,ALength);
  4851. else
  4852. Inherited SetArrayLength(AName,ALength);
  4853. end;
  4854. end;
  4855. {$ENDIF VER2_6}
  4856. { --------------------------------------------------------------------
  4857. TSearchVariantSetsResponse
  4858. --------------------------------------------------------------------}
  4859. Procedure TSearchVariantSetsResponse.SetvariantSets(AIndex : Integer; const AValue : TSearchVariantSetsResponseTypevariantSetsArray);
  4860. begin
  4861. If (FvariantSets=AValue) then exit;
  4862. FvariantSets:=AValue;
  4863. MarkPropertyChanged(AIndex);
  4864. end;
  4865. Procedure TSearchVariantSetsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  4866. begin
  4867. If (FnextPageToken=AValue) then exit;
  4868. FnextPageToken:=AValue;
  4869. MarkPropertyChanged(AIndex);
  4870. end;
  4871. //2.6.4. bug workaround
  4872. {$IFDEF VER2_6}
  4873. Procedure TSearchVariantSetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4874. begin
  4875. Case AName of
  4876. 'variantsets' : SetLength(FvariantSets,ALength);
  4877. else
  4878. Inherited SetArrayLength(AName,ALength);
  4879. end;
  4880. end;
  4881. {$ENDIF VER2_6}
  4882. { --------------------------------------------------------------------
  4883. TSearchVariantsRequest
  4884. --------------------------------------------------------------------}
  4885. Procedure TSearchVariantsRequest.SetvariantSetIds(AIndex : Integer; const AValue : TStringArray);
  4886. begin
  4887. If (FvariantSetIds=AValue) then exit;
  4888. FvariantSetIds:=AValue;
  4889. MarkPropertyChanged(AIndex);
  4890. end;
  4891. Procedure TSearchVariantsRequest.SetvariantName(AIndex : Integer; const AValue : String);
  4892. begin
  4893. If (FvariantName=AValue) then exit;
  4894. FvariantName:=AValue;
  4895. MarkPropertyChanged(AIndex);
  4896. end;
  4897. Procedure TSearchVariantsRequest.SetcallSetIds(AIndex : Integer; const AValue : TStringArray);
  4898. begin
  4899. If (FcallSetIds=AValue) then exit;
  4900. FcallSetIds:=AValue;
  4901. MarkPropertyChanged(AIndex);
  4902. end;
  4903. Procedure TSearchVariantsRequest.SetreferenceName(AIndex : Integer; const AValue : String);
  4904. begin
  4905. If (FreferenceName=AValue) then exit;
  4906. FreferenceName:=AValue;
  4907. MarkPropertyChanged(AIndex);
  4908. end;
  4909. Procedure TSearchVariantsRequest.Setstart(AIndex : Integer; const AValue : String);
  4910. begin
  4911. If (Fstart=AValue) then exit;
  4912. Fstart:=AValue;
  4913. MarkPropertyChanged(AIndex);
  4914. end;
  4915. Procedure TSearchVariantsRequest.Set_end(AIndex : Integer; const AValue : String);
  4916. begin
  4917. If (F_end=AValue) then exit;
  4918. F_end:=AValue;
  4919. MarkPropertyChanged(AIndex);
  4920. end;
  4921. Procedure TSearchVariantsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  4922. begin
  4923. If (FpageToken=AValue) then exit;
  4924. FpageToken:=AValue;
  4925. MarkPropertyChanged(AIndex);
  4926. end;
  4927. Procedure TSearchVariantsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  4928. begin
  4929. If (FpageSize=AValue) then exit;
  4930. FpageSize:=AValue;
  4931. MarkPropertyChanged(AIndex);
  4932. end;
  4933. Procedure TSearchVariantsRequest.SetmaxCalls(AIndex : Integer; const AValue : integer);
  4934. begin
  4935. If (FmaxCalls=AValue) then exit;
  4936. FmaxCalls:=AValue;
  4937. MarkPropertyChanged(AIndex);
  4938. end;
  4939. Class Function TSearchVariantsRequest.ExportPropertyName(Const AName : String) :String;
  4940. begin
  4941. Case AName of
  4942. '_end' : Result:='end';
  4943. else
  4944. Result:=Inherited ExportPropertyName(AName);
  4945. end;
  4946. end;
  4947. //2.6.4. bug workaround
  4948. {$IFDEF VER2_6}
  4949. Procedure TSearchVariantsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  4950. begin
  4951. Case AName of
  4952. 'variantsetids' : SetLength(FvariantSetIds,ALength);
  4953. 'callsetids' : SetLength(FcallSetIds,ALength);
  4954. else
  4955. Inherited SetArrayLength(AName,ALength);
  4956. end;
  4957. end;
  4958. {$ENDIF VER2_6}
  4959. { --------------------------------------------------------------------
  4960. TSearchVariantsResponse
  4961. --------------------------------------------------------------------}
  4962. Procedure TSearchVariantsResponse.Setvariants(AIndex : Integer; const AValue : TSearchVariantsResponseTypevariantsArray);
  4963. begin
  4964. If (Fvariants=AValue) then exit;
  4965. Fvariants:=AValue;
  4966. MarkPropertyChanged(AIndex);
  4967. end;
  4968. Procedure TSearchVariantsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  4969. begin
  4970. If (FnextPageToken=AValue) then exit;
  4971. FnextPageToken:=AValue;
  4972. MarkPropertyChanged(AIndex);
  4973. end;
  4974. //2.6.4. bug workaround
  4975. {$IFDEF VER2_6}
  4976. Procedure TSearchVariantsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  4977. begin
  4978. Case AName of
  4979. 'variants' : SetLength(Fvariants,ALength);
  4980. else
  4981. Inherited SetArrayLength(AName,ALength);
  4982. end;
  4983. end;
  4984. {$ENDIF VER2_6}
  4985. { --------------------------------------------------------------------
  4986. TVariantTypeinfo
  4987. --------------------------------------------------------------------}
  4988. Class Function TVariantTypeinfo.AllowAdditionalProperties : Boolean;
  4989. begin
  4990. Result:=True;
  4991. end;
  4992. { --------------------------------------------------------------------
  4993. TVariant
  4994. --------------------------------------------------------------------}
  4995. Procedure TVariant.SetvariantSetId(AIndex : Integer; const AValue : String);
  4996. begin
  4997. If (FvariantSetId=AValue) then exit;
  4998. FvariantSetId:=AValue;
  4999. MarkPropertyChanged(AIndex);
  5000. end;
  5001. Procedure TVariant.Setid(AIndex : Integer; const AValue : String);
  5002. begin
  5003. If (Fid=AValue) then exit;
  5004. Fid:=AValue;
  5005. MarkPropertyChanged(AIndex);
  5006. end;
  5007. Procedure TVariant.Setnames(AIndex : Integer; const AValue : TStringArray);
  5008. begin
  5009. If (Fnames=AValue) then exit;
  5010. Fnames:=AValue;
  5011. MarkPropertyChanged(AIndex);
  5012. end;
  5013. Procedure TVariant.Setcreated(AIndex : Integer; const AValue : String);
  5014. begin
  5015. If (Fcreated=AValue) then exit;
  5016. Fcreated:=AValue;
  5017. MarkPropertyChanged(AIndex);
  5018. end;
  5019. Procedure TVariant.SetreferenceName(AIndex : Integer; const AValue : String);
  5020. begin
  5021. If (FreferenceName=AValue) then exit;
  5022. FreferenceName:=AValue;
  5023. MarkPropertyChanged(AIndex);
  5024. end;
  5025. Procedure TVariant.Setstart(AIndex : Integer; const AValue : String);
  5026. begin
  5027. If (Fstart=AValue) then exit;
  5028. Fstart:=AValue;
  5029. MarkPropertyChanged(AIndex);
  5030. end;
  5031. Procedure TVariant.Set_end(AIndex : Integer; const AValue : String);
  5032. begin
  5033. If (F_end=AValue) then exit;
  5034. F_end:=AValue;
  5035. MarkPropertyChanged(AIndex);
  5036. end;
  5037. Procedure TVariant.SetreferenceBases(AIndex : Integer; const AValue : String);
  5038. begin
  5039. If (FreferenceBases=AValue) then exit;
  5040. FreferenceBases:=AValue;
  5041. MarkPropertyChanged(AIndex);
  5042. end;
  5043. Procedure TVariant.SetalternateBases(AIndex : Integer; const AValue : TStringArray);
  5044. begin
  5045. If (FalternateBases=AValue) then exit;
  5046. FalternateBases:=AValue;
  5047. MarkPropertyChanged(AIndex);
  5048. end;
  5049. Procedure TVariant.Setquality(AIndex : Integer; const AValue : double);
  5050. begin
  5051. If (Fquality=AValue) then exit;
  5052. Fquality:=AValue;
  5053. MarkPropertyChanged(AIndex);
  5054. end;
  5055. Procedure TVariant.Setfilter(AIndex : Integer; const AValue : TStringArray);
  5056. begin
  5057. If (Ffilter=AValue) then exit;
  5058. Ffilter:=AValue;
  5059. MarkPropertyChanged(AIndex);
  5060. end;
  5061. Procedure TVariant.Setinfo(AIndex : Integer; const AValue : TVariantTypeinfo);
  5062. begin
  5063. If (Finfo=AValue) then exit;
  5064. Finfo:=AValue;
  5065. MarkPropertyChanged(AIndex);
  5066. end;
  5067. Procedure TVariant.Setcalls(AIndex : Integer; const AValue : TVariantTypecallsArray);
  5068. begin
  5069. If (Fcalls=AValue) then exit;
  5070. Fcalls:=AValue;
  5071. MarkPropertyChanged(AIndex);
  5072. end;
  5073. Class Function TVariant.ExportPropertyName(Const AName : String) :String;
  5074. begin
  5075. Case AName of
  5076. '_end' : Result:='end';
  5077. else
  5078. Result:=Inherited ExportPropertyName(AName);
  5079. end;
  5080. end;
  5081. //2.6.4. bug workaround
  5082. {$IFDEF VER2_6}
  5083. Procedure TVariant.SetArrayLength(Const AName : String; ALength : Longint);
  5084. begin
  5085. Case AName of
  5086. 'names' : SetLength(Fnames,ALength);
  5087. 'alternatebases' : SetLength(FalternateBases,ALength);
  5088. 'filter' : SetLength(Ffilter,ALength);
  5089. 'calls' : SetLength(Fcalls,ALength);
  5090. else
  5091. Inherited SetArrayLength(AName,ALength);
  5092. end;
  5093. end;
  5094. {$ENDIF VER2_6}
  5095. { --------------------------------------------------------------------
  5096. TVariantCallTypeinfo
  5097. --------------------------------------------------------------------}
  5098. Class Function TVariantCallTypeinfo.AllowAdditionalProperties : Boolean;
  5099. begin
  5100. Result:=True;
  5101. end;
  5102. { --------------------------------------------------------------------
  5103. TVariantCall
  5104. --------------------------------------------------------------------}
  5105. Procedure TVariantCall.SetcallSetId(AIndex : Integer; const AValue : String);
  5106. begin
  5107. If (FcallSetId=AValue) then exit;
  5108. FcallSetId:=AValue;
  5109. MarkPropertyChanged(AIndex);
  5110. end;
  5111. Procedure TVariantCall.SetcallSetName(AIndex : Integer; const AValue : String);
  5112. begin
  5113. If (FcallSetName=AValue) then exit;
  5114. FcallSetName:=AValue;
  5115. MarkPropertyChanged(AIndex);
  5116. end;
  5117. Procedure TVariantCall.Setgenotype(AIndex : Integer; const AValue : TintegerArray);
  5118. begin
  5119. If (Fgenotype=AValue) then exit;
  5120. Fgenotype:=AValue;
  5121. MarkPropertyChanged(AIndex);
  5122. end;
  5123. Procedure TVariantCall.Setphaseset(AIndex : Integer; const AValue : String);
  5124. begin
  5125. If (Fphaseset=AValue) then exit;
  5126. Fphaseset:=AValue;
  5127. MarkPropertyChanged(AIndex);
  5128. end;
  5129. Procedure TVariantCall.SetgenotypeLikelihood(AIndex : Integer; const AValue : TdoubleArray);
  5130. begin
  5131. If (FgenotypeLikelihood=AValue) then exit;
  5132. FgenotypeLikelihood:=AValue;
  5133. MarkPropertyChanged(AIndex);
  5134. end;
  5135. Procedure TVariantCall.Setinfo(AIndex : Integer; const AValue : TVariantCallTypeinfo);
  5136. begin
  5137. If (Finfo=AValue) then exit;
  5138. Finfo:=AValue;
  5139. MarkPropertyChanged(AIndex);
  5140. end;
  5141. //2.6.4. bug workaround
  5142. {$IFDEF VER2_6}
  5143. Procedure TVariantCall.SetArrayLength(Const AName : String; ALength : Longint);
  5144. begin
  5145. Case AName of
  5146. 'genotype' : SetLength(Fgenotype,ALength);
  5147. 'genotypelikelihood' : SetLength(FgenotypeLikelihood,ALength);
  5148. else
  5149. Inherited SetArrayLength(AName,ALength);
  5150. end;
  5151. end;
  5152. {$ENDIF VER2_6}
  5153. { --------------------------------------------------------------------
  5154. TMergeVariantsRequestTypeinfoMergeConfig
  5155. --------------------------------------------------------------------}
  5156. Class Function TMergeVariantsRequestTypeinfoMergeConfig.AllowAdditionalProperties : Boolean;
  5157. begin
  5158. Result:=True;
  5159. end;
  5160. { --------------------------------------------------------------------
  5161. TMergeVariantsRequest
  5162. --------------------------------------------------------------------}
  5163. Procedure TMergeVariantsRequest.SetvariantSetId(AIndex : Integer; const AValue : String);
  5164. begin
  5165. If (FvariantSetId=AValue) then exit;
  5166. FvariantSetId:=AValue;
  5167. MarkPropertyChanged(AIndex);
  5168. end;
  5169. Procedure TMergeVariantsRequest.Setvariants(AIndex : Integer; const AValue : TMergeVariantsRequestTypevariantsArray);
  5170. begin
  5171. If (Fvariants=AValue) then exit;
  5172. Fvariants:=AValue;
  5173. MarkPropertyChanged(AIndex);
  5174. end;
  5175. Procedure TMergeVariantsRequest.SetinfoMergeConfig(AIndex : Integer; const AValue : TMergeVariantsRequestTypeinfoMergeConfig);
  5176. begin
  5177. If (FinfoMergeConfig=AValue) then exit;
  5178. FinfoMergeConfig:=AValue;
  5179. MarkPropertyChanged(AIndex);
  5180. end;
  5181. //2.6.4. bug workaround
  5182. {$IFDEF VER2_6}
  5183. Procedure TMergeVariantsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  5184. begin
  5185. Case AName of
  5186. 'variants' : SetLength(Fvariants,ALength);
  5187. else
  5188. Inherited SetArrayLength(AName,ALength);
  5189. end;
  5190. end;
  5191. {$ENDIF VER2_6}
  5192. { --------------------------------------------------------------------
  5193. TSearchCallSetsRequest
  5194. --------------------------------------------------------------------}
  5195. Procedure TSearchCallSetsRequest.SetvariantSetIds(AIndex : Integer; const AValue : TStringArray);
  5196. begin
  5197. If (FvariantSetIds=AValue) then exit;
  5198. FvariantSetIds:=AValue;
  5199. MarkPropertyChanged(AIndex);
  5200. end;
  5201. Procedure TSearchCallSetsRequest.Setname(AIndex : Integer; const AValue : String);
  5202. begin
  5203. If (Fname=AValue) then exit;
  5204. Fname:=AValue;
  5205. MarkPropertyChanged(AIndex);
  5206. end;
  5207. Procedure TSearchCallSetsRequest.SetpageToken(AIndex : Integer; const AValue : String);
  5208. begin
  5209. If (FpageToken=AValue) then exit;
  5210. FpageToken:=AValue;
  5211. MarkPropertyChanged(AIndex);
  5212. end;
  5213. Procedure TSearchCallSetsRequest.SetpageSize(AIndex : Integer; const AValue : integer);
  5214. begin
  5215. If (FpageSize=AValue) then exit;
  5216. FpageSize:=AValue;
  5217. MarkPropertyChanged(AIndex);
  5218. end;
  5219. //2.6.4. bug workaround
  5220. {$IFDEF VER2_6}
  5221. Procedure TSearchCallSetsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  5222. begin
  5223. Case AName of
  5224. 'variantsetids' : SetLength(FvariantSetIds,ALength);
  5225. else
  5226. Inherited SetArrayLength(AName,ALength);
  5227. end;
  5228. end;
  5229. {$ENDIF VER2_6}
  5230. { --------------------------------------------------------------------
  5231. TSearchCallSetsResponse
  5232. --------------------------------------------------------------------}
  5233. Procedure TSearchCallSetsResponse.SetcallSets(AIndex : Integer; const AValue : TSearchCallSetsResponseTypecallSetsArray);
  5234. begin
  5235. If (FcallSets=AValue) then exit;
  5236. FcallSets:=AValue;
  5237. MarkPropertyChanged(AIndex);
  5238. end;
  5239. Procedure TSearchCallSetsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
  5240. begin
  5241. If (FnextPageToken=AValue) then exit;
  5242. FnextPageToken:=AValue;
  5243. MarkPropertyChanged(AIndex);
  5244. end;
  5245. //2.6.4. bug workaround
  5246. {$IFDEF VER2_6}
  5247. Procedure TSearchCallSetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  5248. begin
  5249. Case AName of
  5250. 'callsets' : SetLength(FcallSets,ALength);
  5251. else
  5252. Inherited SetArrayLength(AName,ALength);
  5253. end;
  5254. end;
  5255. {$ENDIF VER2_6}
  5256. { --------------------------------------------------------------------
  5257. TCallSetTypeinfo
  5258. --------------------------------------------------------------------}
  5259. Class Function TCallSetTypeinfo.AllowAdditionalProperties : Boolean;
  5260. begin
  5261. Result:=True;
  5262. end;
  5263. { --------------------------------------------------------------------
  5264. TCallSet
  5265. --------------------------------------------------------------------}
  5266. Procedure TCallSet.Setid(AIndex : Integer; const AValue : String);
  5267. begin
  5268. If (Fid=AValue) then exit;
  5269. Fid:=AValue;
  5270. MarkPropertyChanged(AIndex);
  5271. end;
  5272. Procedure TCallSet.Setname(AIndex : Integer; const AValue : String);
  5273. begin
  5274. If (Fname=AValue) then exit;
  5275. Fname:=AValue;
  5276. MarkPropertyChanged(AIndex);
  5277. end;
  5278. Procedure TCallSet.SetsampleId(AIndex : Integer; const AValue : String);
  5279. begin
  5280. If (FsampleId=AValue) then exit;
  5281. FsampleId:=AValue;
  5282. MarkPropertyChanged(AIndex);
  5283. end;
  5284. Procedure TCallSet.SetvariantSetIds(AIndex : Integer; const AValue : TStringArray);
  5285. begin
  5286. If (FvariantSetIds=AValue) then exit;
  5287. FvariantSetIds:=AValue;
  5288. MarkPropertyChanged(AIndex);
  5289. end;
  5290. Procedure TCallSet.Setcreated(AIndex : Integer; const AValue : String);
  5291. begin
  5292. If (Fcreated=AValue) then exit;
  5293. Fcreated:=AValue;
  5294. MarkPropertyChanged(AIndex);
  5295. end;
  5296. Procedure TCallSet.Setinfo(AIndex : Integer; const AValue : TCallSetTypeinfo);
  5297. begin
  5298. If (Finfo=AValue) then exit;
  5299. Finfo:=AValue;
  5300. MarkPropertyChanged(AIndex);
  5301. end;
  5302. //2.6.4. bug workaround
  5303. {$IFDEF VER2_6}
  5304. Procedure TCallSet.SetArrayLength(Const AName : String; ALength : Longint);
  5305. begin
  5306. Case AName of
  5307. 'variantsetids' : SetLength(FvariantSetIds,ALength);
  5308. else
  5309. Inherited SetArrayLength(AName,ALength);
  5310. end;
  5311. end;
  5312. {$ENDIF VER2_6}
  5313. { --------------------------------------------------------------------
  5314. TStreamVariantsRequest
  5315. --------------------------------------------------------------------}
  5316. Procedure TStreamVariantsRequest.SetprojectId(AIndex : Integer; const AValue : String);
  5317. begin
  5318. If (FprojectId=AValue) then exit;
  5319. FprojectId:=AValue;
  5320. MarkPropertyChanged(AIndex);
  5321. end;
  5322. Procedure TStreamVariantsRequest.SetvariantSetId(AIndex : Integer; const AValue : String);
  5323. begin
  5324. If (FvariantSetId=AValue) then exit;
  5325. FvariantSetId:=AValue;
  5326. MarkPropertyChanged(AIndex);
  5327. end;
  5328. Procedure TStreamVariantsRequest.SetcallSetIds(AIndex : Integer; const AValue : TStringArray);
  5329. begin
  5330. If (FcallSetIds=AValue) then exit;
  5331. FcallSetIds:=AValue;
  5332. MarkPropertyChanged(AIndex);
  5333. end;
  5334. Procedure TStreamVariantsRequest.SetreferenceName(AIndex : Integer; const AValue : String);
  5335. begin
  5336. If (FreferenceName=AValue) then exit;
  5337. FreferenceName:=AValue;
  5338. MarkPropertyChanged(AIndex);
  5339. end;
  5340. Procedure TStreamVariantsRequest.Setstart(AIndex : Integer; const AValue : String);
  5341. begin
  5342. If (Fstart=AValue) then exit;
  5343. Fstart:=AValue;
  5344. MarkPropertyChanged(AIndex);
  5345. end;
  5346. Procedure TStreamVariantsRequest.Set_end(AIndex : Integer; const AValue : String);
  5347. begin
  5348. If (F_end=AValue) then exit;
  5349. F_end:=AValue;
  5350. MarkPropertyChanged(AIndex);
  5351. end;
  5352. Class Function TStreamVariantsRequest.ExportPropertyName(Const AName : String) :String;
  5353. begin
  5354. Case AName of
  5355. '_end' : Result:='end';
  5356. else
  5357. Result:=Inherited ExportPropertyName(AName);
  5358. end;
  5359. end;
  5360. //2.6.4. bug workaround
  5361. {$IFDEF VER2_6}
  5362. Procedure TStreamVariantsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  5363. begin
  5364. Case AName of
  5365. 'callsetids' : SetLength(FcallSetIds,ALength);
  5366. else
  5367. Inherited SetArrayLength(AName,ALength);
  5368. end;
  5369. end;
  5370. {$ENDIF VER2_6}
  5371. { --------------------------------------------------------------------
  5372. TStreamVariantsResponse
  5373. --------------------------------------------------------------------}
  5374. Procedure TStreamVariantsResponse.Setvariants(AIndex : Integer; const AValue : TStreamVariantsResponseTypevariantsArray);
  5375. begin
  5376. If (Fvariants=AValue) then exit;
  5377. Fvariants:=AValue;
  5378. MarkPropertyChanged(AIndex);
  5379. end;
  5380. //2.6.4. bug workaround
  5381. {$IFDEF VER2_6}
  5382. Procedure TStreamVariantsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  5383. begin
  5384. Case AName of
  5385. 'variants' : SetLength(Fvariants,ALength);
  5386. else
  5387. Inherited SetArrayLength(AName,ALength);
  5388. end;
  5389. end;
  5390. {$ENDIF VER2_6}
  5391. { --------------------------------------------------------------------
  5392. TImportReadGroupSetsResponse
  5393. --------------------------------------------------------------------}
  5394. Procedure TImportReadGroupSetsResponse.SetreadGroupSetIds(AIndex : Integer; const AValue : TStringArray);
  5395. begin
  5396. If (FreadGroupSetIds=AValue) then exit;
  5397. FreadGroupSetIds:=AValue;
  5398. MarkPropertyChanged(AIndex);
  5399. end;
  5400. //2.6.4. bug workaround
  5401. {$IFDEF VER2_6}
  5402. Procedure TImportReadGroupSetsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  5403. begin
  5404. Case AName of
  5405. 'readgroupsetids' : SetLength(FreadGroupSetIds,ALength);
  5406. else
  5407. Inherited SetArrayLength(AName,ALength);
  5408. end;
  5409. end;
  5410. {$ENDIF VER2_6}
  5411. { --------------------------------------------------------------------
  5412. TImportVariantsResponse
  5413. --------------------------------------------------------------------}
  5414. Procedure TImportVariantsResponse.SetcallSetIds(AIndex : Integer; const AValue : TStringArray);
  5415. begin
  5416. If (FcallSetIds=AValue) then exit;
  5417. FcallSetIds:=AValue;
  5418. MarkPropertyChanged(AIndex);
  5419. end;
  5420. //2.6.4. bug workaround
  5421. {$IFDEF VER2_6}
  5422. Procedure TImportVariantsResponse.SetArrayLength(Const AName : String; ALength : Longint);
  5423. begin
  5424. Case AName of
  5425. 'callsetids' : SetLength(FcallSetIds,ALength);
  5426. else
  5427. Inherited SetArrayLength(AName,ALength);
  5428. end;
  5429. end;
  5430. {$ENDIF VER2_6}
  5431. { --------------------------------------------------------------------
  5432. TOperationMetadataTyperequest
  5433. --------------------------------------------------------------------}
  5434. Class Function TOperationMetadataTyperequest.AllowAdditionalProperties : Boolean;
  5435. begin
  5436. Result:=True;
  5437. end;
  5438. { --------------------------------------------------------------------
  5439. TOperationMetadata
  5440. --------------------------------------------------------------------}
  5441. Procedure TOperationMetadata.SetprojectId(AIndex : Integer; const AValue : String);
  5442. begin
  5443. If (FprojectId=AValue) then exit;
  5444. FprojectId:=AValue;
  5445. MarkPropertyChanged(AIndex);
  5446. end;
  5447. Procedure TOperationMetadata.SetcreateTime(AIndex : Integer; const AValue : String);
  5448. begin
  5449. If (FcreateTime=AValue) then exit;
  5450. FcreateTime:=AValue;
  5451. MarkPropertyChanged(AIndex);
  5452. end;
  5453. Procedure TOperationMetadata.SetendTime(AIndex : Integer; const AValue : String);
  5454. begin
  5455. If (FendTime=AValue) then exit;
  5456. FendTime:=AValue;
  5457. MarkPropertyChanged(AIndex);
  5458. end;
  5459. Procedure TOperationMetadata.Setrequest(AIndex : Integer; const AValue : TOperationMetadataTyperequest);
  5460. begin
  5461. If (Frequest=AValue) then exit;
  5462. Frequest:=AValue;
  5463. MarkPropertyChanged(AIndex);
  5464. end;
  5465. Procedure TOperationMetadata.Setevents(AIndex : Integer; const AValue : TOperationMetadataTypeeventsArray);
  5466. begin
  5467. If (Fevents=AValue) then exit;
  5468. Fevents:=AValue;
  5469. MarkPropertyChanged(AIndex);
  5470. end;
  5471. //2.6.4. bug workaround
  5472. {$IFDEF VER2_6}
  5473. Procedure TOperationMetadata.SetArrayLength(Const AName : String; ALength : Longint);
  5474. begin
  5475. Case AName of
  5476. 'events' : SetLength(Fevents,ALength);
  5477. else
  5478. Inherited SetArrayLength(AName,ALength);
  5479. end;
  5480. end;
  5481. {$ENDIF VER2_6}
  5482. { --------------------------------------------------------------------
  5483. TOperationEvent
  5484. --------------------------------------------------------------------}
  5485. Procedure TOperationEvent.Setdescription(AIndex : Integer; const AValue : String);
  5486. begin
  5487. If (Fdescription=AValue) then exit;
  5488. Fdescription:=AValue;
  5489. MarkPropertyChanged(AIndex);
  5490. end;
  5491. { --------------------------------------------------------------------
  5492. TAnnotationsetsResource
  5493. --------------------------------------------------------------------}
  5494. Class Function TAnnotationsetsResource.ResourceName : String;
  5495. begin
  5496. Result:='annotationsets';
  5497. end;
  5498. Class Function TAnnotationsetsResource.DefaultAPI : TGoogleAPIClass;
  5499. begin
  5500. Result:=TgenomicsAPI;
  5501. end;
  5502. Function TAnnotationsetsResource.Create(aAnnotationSet : TAnnotationSet) : TAnnotationSet;
  5503. Const
  5504. _HTTPMethod = 'POST';
  5505. _Path = 'v1/annotationsets';
  5506. _Methodid = 'genomics.annotationsets.create';
  5507. begin
  5508. Result:=ServiceCall(_HTTPMethod,_Path,'',aAnnotationSet,TAnnotationSet) as TAnnotationSet;
  5509. end;
  5510. Function TAnnotationsetsResource.Get(annotationSetId: string) : TAnnotationSet;
  5511. Const
  5512. _HTTPMethod = 'GET';
  5513. _Path = 'v1/annotationsets/{annotationSetId}';
  5514. _Methodid = 'genomics.annotationsets.get';
  5515. Var
  5516. _P : String;
  5517. begin
  5518. _P:=SubstitutePath(_Path,['annotationSetId',annotationSetId]);
  5519. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAnnotationSet) as TAnnotationSet;
  5520. end;
  5521. Function TAnnotationsetsResource.Update(annotationSetId: string; aAnnotationSet : TAnnotationSet; AQuery : string = '') : TAnnotationSet;
  5522. Const
  5523. _HTTPMethod = 'PUT';
  5524. _Path = 'v1/annotationsets/{annotationSetId}';
  5525. _Methodid = 'genomics.annotationsets.update';
  5526. Var
  5527. _P : String;
  5528. begin
  5529. _P:=SubstitutePath(_Path,['annotationSetId',annotationSetId]);
  5530. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAnnotationSet,TAnnotationSet) as TAnnotationSet;
  5531. end;
  5532. Function TAnnotationsetsResource.Update(annotationSetId: string; aAnnotationSet : TAnnotationSet; AQuery : TAnnotationsetsupdateOptions) : TAnnotationSet;
  5533. Var
  5534. _Q : String;
  5535. begin
  5536. _Q:='';
  5537. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  5538. Result:=Update(annotationSetId,aAnnotationSet,_Q);
  5539. end;
  5540. Function TAnnotationsetsResource.Delete(annotationSetId: string) : TEmpty;
  5541. Const
  5542. _HTTPMethod = 'DELETE';
  5543. _Path = 'v1/annotationsets/{annotationSetId}';
  5544. _Methodid = 'genomics.annotationsets.delete';
  5545. Var
  5546. _P : String;
  5547. begin
  5548. _P:=SubstitutePath(_Path,['annotationSetId',annotationSetId]);
  5549. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  5550. end;
  5551. Function TAnnotationsetsResource.Search(aSearchAnnotationSetsRequest : TSearchAnnotationSetsRequest) : TSearchAnnotationSetsResponse;
  5552. Const
  5553. _HTTPMethod = 'POST';
  5554. _Path = 'v1/annotationsets/search';
  5555. _Methodid = 'genomics.annotationsets.search';
  5556. begin
  5557. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchAnnotationSetsRequest,TSearchAnnotationSetsResponse) as TSearchAnnotationSetsResponse;
  5558. end;
  5559. { --------------------------------------------------------------------
  5560. TAnnotationsResource
  5561. --------------------------------------------------------------------}
  5562. Class Function TAnnotationsResource.ResourceName : String;
  5563. begin
  5564. Result:='annotations';
  5565. end;
  5566. Class Function TAnnotationsResource.DefaultAPI : TGoogleAPIClass;
  5567. begin
  5568. Result:=TgenomicsAPI;
  5569. end;
  5570. Function TAnnotationsResource.Create(aAnnotation : TAnnotation) : TAnnotation;
  5571. Const
  5572. _HTTPMethod = 'POST';
  5573. _Path = 'v1/annotations';
  5574. _Methodid = 'genomics.annotations.create';
  5575. begin
  5576. Result:=ServiceCall(_HTTPMethod,_Path,'',aAnnotation,TAnnotation) as TAnnotation;
  5577. end;
  5578. Function TAnnotationsResource.BatchCreate(aBatchCreateAnnotationsRequest : TBatchCreateAnnotationsRequest) : TBatchCreateAnnotationsResponse;
  5579. Const
  5580. _HTTPMethod = 'POST';
  5581. _Path = 'v1/annotations:batchCreate';
  5582. _Methodid = 'genomics.annotations.batchCreate';
  5583. begin
  5584. Result:=ServiceCall(_HTTPMethod,_Path,'',aBatchCreateAnnotationsRequest,TBatchCreateAnnotationsResponse) as TBatchCreateAnnotationsResponse;
  5585. end;
  5586. Function TAnnotationsResource.Get(annotationId: string) : TAnnotation;
  5587. Const
  5588. _HTTPMethod = 'GET';
  5589. _Path = 'v1/annotations/{annotationId}';
  5590. _Methodid = 'genomics.annotations.get';
  5591. Var
  5592. _P : String;
  5593. begin
  5594. _P:=SubstitutePath(_Path,['annotationId',annotationId]);
  5595. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAnnotation) as TAnnotation;
  5596. end;
  5597. Function TAnnotationsResource.Update(annotationId: string; aAnnotation : TAnnotation; AQuery : string = '') : TAnnotation;
  5598. Const
  5599. _HTTPMethod = 'PUT';
  5600. _Path = 'v1/annotations/{annotationId}';
  5601. _Methodid = 'genomics.annotations.update';
  5602. Var
  5603. _P : String;
  5604. begin
  5605. _P:=SubstitutePath(_Path,['annotationId',annotationId]);
  5606. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAnnotation,TAnnotation) as TAnnotation;
  5607. end;
  5608. Function TAnnotationsResource.Update(annotationId: string; aAnnotation : TAnnotation; AQuery : TAnnotationsupdateOptions) : TAnnotation;
  5609. Var
  5610. _Q : String;
  5611. begin
  5612. _Q:='';
  5613. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  5614. Result:=Update(annotationId,aAnnotation,_Q);
  5615. end;
  5616. Function TAnnotationsResource.Delete(annotationId: string) : TEmpty;
  5617. Const
  5618. _HTTPMethod = 'DELETE';
  5619. _Path = 'v1/annotations/{annotationId}';
  5620. _Methodid = 'genomics.annotations.delete';
  5621. Var
  5622. _P : String;
  5623. begin
  5624. _P:=SubstitutePath(_Path,['annotationId',annotationId]);
  5625. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  5626. end;
  5627. Function TAnnotationsResource.Search(aSearchAnnotationsRequest : TSearchAnnotationsRequest) : TSearchAnnotationsResponse;
  5628. Const
  5629. _HTTPMethod = 'POST';
  5630. _Path = 'v1/annotations/search';
  5631. _Methodid = 'genomics.annotations.search';
  5632. begin
  5633. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchAnnotationsRequest,TSearchAnnotationsResponse) as TSearchAnnotationsResponse;
  5634. end;
  5635. { --------------------------------------------------------------------
  5636. TDatasetsResource
  5637. --------------------------------------------------------------------}
  5638. Class Function TDatasetsResource.ResourceName : String;
  5639. begin
  5640. Result:='datasets';
  5641. end;
  5642. Class Function TDatasetsResource.DefaultAPI : TGoogleAPIClass;
  5643. begin
  5644. Result:=TgenomicsAPI;
  5645. end;
  5646. Function TDatasetsResource.List(AQuery : string = '') : TListDatasetsResponse;
  5647. Const
  5648. _HTTPMethod = 'GET';
  5649. _Path = 'v1/datasets';
  5650. _Methodid = 'genomics.datasets.list';
  5651. begin
  5652. Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TListDatasetsResponse) as TListDatasetsResponse;
  5653. end;
  5654. Function TDatasetsResource.List(AQuery : TDatasetslistOptions) : TListDatasetsResponse;
  5655. Var
  5656. _Q : String;
  5657. begin
  5658. _Q:='';
  5659. AddToQuery(_Q,'projectId',AQuery.projectId);
  5660. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  5661. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  5662. Result:=List(_Q);
  5663. end;
  5664. Function TDatasetsResource.Create(aDataset : TDataset) : TDataset;
  5665. Const
  5666. _HTTPMethod = 'POST';
  5667. _Path = 'v1/datasets';
  5668. _Methodid = 'genomics.datasets.create';
  5669. begin
  5670. Result:=ServiceCall(_HTTPMethod,_Path,'',aDataset,TDataset) as TDataset;
  5671. end;
  5672. Function TDatasetsResource.Get(datasetId: string) : TDataset;
  5673. Const
  5674. _HTTPMethod = 'GET';
  5675. _Path = 'v1/datasets/{datasetId}';
  5676. _Methodid = 'genomics.datasets.get';
  5677. Var
  5678. _P : String;
  5679. begin
  5680. _P:=SubstitutePath(_Path,['datasetId',datasetId]);
  5681. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TDataset) as TDataset;
  5682. end;
  5683. Function TDatasetsResource.Patch(datasetId: string; aDataset : TDataset; AQuery : string = '') : TDataset;
  5684. Const
  5685. _HTTPMethod = 'PATCH';
  5686. _Path = 'v1/datasets/{datasetId}';
  5687. _Methodid = 'genomics.datasets.patch';
  5688. Var
  5689. _P : String;
  5690. begin
  5691. _P:=SubstitutePath(_Path,['datasetId',datasetId]);
  5692. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aDataset,TDataset) as TDataset;
  5693. end;
  5694. Function TDatasetsResource.Patch(datasetId: string; aDataset : TDataset; AQuery : TDatasetspatchOptions) : TDataset;
  5695. Var
  5696. _Q : String;
  5697. begin
  5698. _Q:='';
  5699. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  5700. Result:=Patch(datasetId,aDataset,_Q);
  5701. end;
  5702. Function TDatasetsResource.Delete(datasetId: string) : TEmpty;
  5703. Const
  5704. _HTTPMethod = 'DELETE';
  5705. _Path = 'v1/datasets/{datasetId}';
  5706. _Methodid = 'genomics.datasets.delete';
  5707. Var
  5708. _P : String;
  5709. begin
  5710. _P:=SubstitutePath(_Path,['datasetId',datasetId]);
  5711. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  5712. end;
  5713. Function TDatasetsResource.Undelete(datasetId: string; aUndeleteDatasetRequest : TUndeleteDatasetRequest) : TDataset;
  5714. Const
  5715. _HTTPMethod = 'POST';
  5716. _Path = 'v1/datasets/{datasetId}:undelete';
  5717. _Methodid = 'genomics.datasets.undelete';
  5718. Var
  5719. _P : String;
  5720. begin
  5721. _P:=SubstitutePath(_Path,['datasetId',datasetId]);
  5722. Result:=ServiceCall(_HTTPMethod,_P,'',aUndeleteDatasetRequest,TDataset) as TDataset;
  5723. end;
  5724. Function TDatasetsResource.SetIamPolicy(resource: string; aSetIamPolicyRequest : TSetIamPolicyRequest) : TPolicy;
  5725. Const
  5726. _HTTPMethod = 'POST';
  5727. _Path = 'v1/{+resource}:setIamPolicy';
  5728. _Methodid = 'genomics.datasets.setIamPolicy';
  5729. Var
  5730. _P : String;
  5731. begin
  5732. _P:=SubstitutePath(_Path,['resource',resource]);
  5733. Result:=ServiceCall(_HTTPMethod,_P,'',aSetIamPolicyRequest,TPolicy) as TPolicy;
  5734. end;
  5735. Function TDatasetsResource.GetIamPolicy(resource: string; aGetIamPolicyRequest : TGetIamPolicyRequest) : TPolicy;
  5736. Const
  5737. _HTTPMethod = 'POST';
  5738. _Path = 'v1/{+resource}:getIamPolicy';
  5739. _Methodid = 'genomics.datasets.getIamPolicy';
  5740. Var
  5741. _P : String;
  5742. begin
  5743. _P:=SubstitutePath(_Path,['resource',resource]);
  5744. Result:=ServiceCall(_HTTPMethod,_P,'',aGetIamPolicyRequest,TPolicy) as TPolicy;
  5745. end;
  5746. Function TDatasetsResource.TestIamPermissions(resource: string; aTestIamPermissionsRequest : TTestIamPermissionsRequest) : TTestIamPermissionsResponse;
  5747. Const
  5748. _HTTPMethod = 'POST';
  5749. _Path = 'v1/{+resource}:testIamPermissions';
  5750. _Methodid = 'genomics.datasets.testIamPermissions';
  5751. Var
  5752. _P : String;
  5753. begin
  5754. _P:=SubstitutePath(_Path,['resource',resource]);
  5755. Result:=ServiceCall(_HTTPMethod,_P,'',aTestIamPermissionsRequest,TTestIamPermissionsResponse) as TTestIamPermissionsResponse;
  5756. end;
  5757. { --------------------------------------------------------------------
  5758. TOperationsResource
  5759. --------------------------------------------------------------------}
  5760. Class Function TOperationsResource.ResourceName : String;
  5761. begin
  5762. Result:='operations';
  5763. end;
  5764. Class Function TOperationsResource.DefaultAPI : TGoogleAPIClass;
  5765. begin
  5766. Result:=TgenomicsAPI;
  5767. end;
  5768. Function TOperationsResource.Get(_name: string) : TOperation;
  5769. Const
  5770. _HTTPMethod = 'GET';
  5771. _Path = 'v1/{+name}';
  5772. _Methodid = 'genomics.operations.get';
  5773. Var
  5774. _P : String;
  5775. begin
  5776. _P:=SubstitutePath(_Path,['name',_name]);
  5777. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  5778. end;
  5779. Function TOperationsResource.List(_name: string; AQuery : string = '') : TListOperationsResponse;
  5780. Const
  5781. _HTTPMethod = 'GET';
  5782. _Path = 'v1/{+name}';
  5783. _Methodid = 'genomics.operations.list';
  5784. Var
  5785. _P : String;
  5786. begin
  5787. _P:=SubstitutePath(_Path,['name',_name]);
  5788. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListOperationsResponse) as TListOperationsResponse;
  5789. end;
  5790. Function TOperationsResource.List(_name: string; AQuery : TOperationslistOptions) : TListOperationsResponse;
  5791. Var
  5792. _Q : String;
  5793. begin
  5794. _Q:='';
  5795. AddToQuery(_Q,'filter',AQuery.filter);
  5796. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  5797. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  5798. Result:=List(_name,_Q);
  5799. end;
  5800. Function TOperationsResource.Cancel(_name: string; aCancelOperationRequest : TCancelOperationRequest) : TEmpty;
  5801. Const
  5802. _HTTPMethod = 'POST';
  5803. _Path = 'v1/{+name}:cancel';
  5804. _Methodid = 'genomics.operations.cancel';
  5805. Var
  5806. _P : String;
  5807. begin
  5808. _P:=SubstitutePath(_Path,['name',_name]);
  5809. Result:=ServiceCall(_HTTPMethod,_P,'',aCancelOperationRequest,TEmpty) as TEmpty;
  5810. end;
  5811. { --------------------------------------------------------------------
  5812. TReadgroupsetsCoveragebucketsResource
  5813. --------------------------------------------------------------------}
  5814. Class Function TReadgroupsetsCoveragebucketsResource.ResourceName : String;
  5815. begin
  5816. Result:='coveragebuckets';
  5817. end;
  5818. Class Function TReadgroupsetsCoveragebucketsResource.DefaultAPI : TGoogleAPIClass;
  5819. begin
  5820. Result:=TgenomicsAPI;
  5821. end;
  5822. Function TReadgroupsetsCoveragebucketsResource.List(readGroupSetId: string; AQuery : string = '') : TListCoverageBucketsResponse;
  5823. Const
  5824. _HTTPMethod = 'GET';
  5825. _Path = 'v1/readgroupsets/{readGroupSetId}/coveragebuckets';
  5826. _Methodid = 'genomics.readgroupsets.coveragebuckets.list';
  5827. Var
  5828. _P : String;
  5829. begin
  5830. _P:=SubstitutePath(_Path,['readGroupSetId',readGroupSetId]);
  5831. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListCoverageBucketsResponse) as TListCoverageBucketsResponse;
  5832. end;
  5833. Function TReadgroupsetsCoveragebucketsResource.List(readGroupSetId: string; AQuery : TReadgroupsetsCoveragebucketslistOptions) : TListCoverageBucketsResponse;
  5834. Var
  5835. _Q : String;
  5836. begin
  5837. _Q:='';
  5838. AddToQuery(_Q,'referenceName',AQuery.referenceName);
  5839. AddToQuery(_Q,'start',AQuery.start);
  5840. AddToQuery(_Q,'end',AQuery._end);
  5841. AddToQuery(_Q,'targetBucketWidth',AQuery.targetBucketWidth);
  5842. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  5843. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  5844. Result:=List(readGroupSetId,_Q);
  5845. end;
  5846. { --------------------------------------------------------------------
  5847. TReadgroupsetsResource
  5848. --------------------------------------------------------------------}
  5849. Class Function TReadgroupsetsResource.ResourceName : String;
  5850. begin
  5851. Result:='readgroupsets';
  5852. end;
  5853. Class Function TReadgroupsetsResource.DefaultAPI : TGoogleAPIClass;
  5854. begin
  5855. Result:=TgenomicsAPI;
  5856. end;
  5857. Function TReadgroupsetsResource.Import(aImportReadGroupSetsRequest : TImportReadGroupSetsRequest) : TOperation;
  5858. Const
  5859. _HTTPMethod = 'POST';
  5860. _Path = 'v1/readgroupsets:import';
  5861. _Methodid = 'genomics.readgroupsets.import';
  5862. begin
  5863. Result:=ServiceCall(_HTTPMethod,_Path,'',aImportReadGroupSetsRequest,TOperation) as TOperation;
  5864. end;
  5865. Function TReadgroupsetsResource.Export(readGroupSetId: string; aExportReadGroupSetRequest : TExportReadGroupSetRequest) : TOperation;
  5866. Const
  5867. _HTTPMethod = 'POST';
  5868. _Path = 'v1/readgroupsets/{readGroupSetId}:export';
  5869. _Methodid = 'genomics.readgroupsets.export';
  5870. Var
  5871. _P : String;
  5872. begin
  5873. _P:=SubstitutePath(_Path,['readGroupSetId',readGroupSetId]);
  5874. Result:=ServiceCall(_HTTPMethod,_P,'',aExportReadGroupSetRequest,TOperation) as TOperation;
  5875. end;
  5876. Function TReadgroupsetsResource.Search(aSearchReadGroupSetsRequest : TSearchReadGroupSetsRequest) : TSearchReadGroupSetsResponse;
  5877. Const
  5878. _HTTPMethod = 'POST';
  5879. _Path = 'v1/readgroupsets/search';
  5880. _Methodid = 'genomics.readgroupsets.search';
  5881. begin
  5882. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchReadGroupSetsRequest,TSearchReadGroupSetsResponse) as TSearchReadGroupSetsResponse;
  5883. end;
  5884. Function TReadgroupsetsResource.Patch(readGroupSetId: string; aReadGroupSet : TReadGroupSet; AQuery : string = '') : TReadGroupSet;
  5885. Const
  5886. _HTTPMethod = 'PATCH';
  5887. _Path = 'v1/readgroupsets/{readGroupSetId}';
  5888. _Methodid = 'genomics.readgroupsets.patch';
  5889. Var
  5890. _P : String;
  5891. begin
  5892. _P:=SubstitutePath(_Path,['readGroupSetId',readGroupSetId]);
  5893. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aReadGroupSet,TReadGroupSet) as TReadGroupSet;
  5894. end;
  5895. Function TReadgroupsetsResource.Patch(readGroupSetId: string; aReadGroupSet : TReadGroupSet; AQuery : TReadgroupsetspatchOptions) : TReadGroupSet;
  5896. Var
  5897. _Q : String;
  5898. begin
  5899. _Q:='';
  5900. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  5901. Result:=Patch(readGroupSetId,aReadGroupSet,_Q);
  5902. end;
  5903. Function TReadgroupsetsResource.Delete(readGroupSetId: string) : TEmpty;
  5904. Const
  5905. _HTTPMethod = 'DELETE';
  5906. _Path = 'v1/readgroupsets/{readGroupSetId}';
  5907. _Methodid = 'genomics.readgroupsets.delete';
  5908. Var
  5909. _P : String;
  5910. begin
  5911. _P:=SubstitutePath(_Path,['readGroupSetId',readGroupSetId]);
  5912. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  5913. end;
  5914. Function TReadgroupsetsResource.Get(readGroupSetId: string) : TReadGroupSet;
  5915. Const
  5916. _HTTPMethod = 'GET';
  5917. _Path = 'v1/readgroupsets/{readGroupSetId}';
  5918. _Methodid = 'genomics.readgroupsets.get';
  5919. Var
  5920. _P : String;
  5921. begin
  5922. _P:=SubstitutePath(_Path,['readGroupSetId',readGroupSetId]);
  5923. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TReadGroupSet) as TReadGroupSet;
  5924. end;
  5925. Function TReadgroupsetsResource.GetCoveragebucketsInstance : TReadgroupsetsCoveragebucketsResource;
  5926. begin
  5927. if (FCoveragebucketsInstance=Nil) then
  5928. FCoveragebucketsInstance:=CreateCoveragebucketsResource;
  5929. Result:=FCoveragebucketsInstance;
  5930. end;
  5931. Function TReadgroupsetsResource.CreateCoveragebucketsResource : TReadgroupsetsCoveragebucketsResource;
  5932. begin
  5933. Result:=CreateCoveragebucketsResource(Self);
  5934. end;
  5935. Function TReadgroupsetsResource.CreateCoveragebucketsResource(AOwner : TComponent) : TReadgroupsetsCoveragebucketsResource;
  5936. begin
  5937. Result:=TReadgroupsetsCoveragebucketsResource.Create(AOwner);
  5938. Result.API:=Self.API;
  5939. end;
  5940. { --------------------------------------------------------------------
  5941. TReadsResource
  5942. --------------------------------------------------------------------}
  5943. Class Function TReadsResource.ResourceName : String;
  5944. begin
  5945. Result:='reads';
  5946. end;
  5947. Class Function TReadsResource.DefaultAPI : TGoogleAPIClass;
  5948. begin
  5949. Result:=TgenomicsAPI;
  5950. end;
  5951. Function TReadsResource.Search(aSearchReadsRequest : TSearchReadsRequest) : TSearchReadsResponse;
  5952. Const
  5953. _HTTPMethod = 'POST';
  5954. _Path = 'v1/reads/search';
  5955. _Methodid = 'genomics.reads.search';
  5956. begin
  5957. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchReadsRequest,TSearchReadsResponse) as TSearchReadsResponse;
  5958. end;
  5959. Function TReadsResource.Stream(aStreamReadsRequest : TStreamReadsRequest) : TStreamReadsResponse;
  5960. Const
  5961. _HTTPMethod = 'POST';
  5962. _Path = 'v1/reads:stream';
  5963. _Methodid = 'genomics.reads.stream';
  5964. begin
  5965. Result:=ServiceCall(_HTTPMethod,_Path,'',aStreamReadsRequest,TStreamReadsResponse) as TStreamReadsResponse;
  5966. end;
  5967. { --------------------------------------------------------------------
  5968. TReferencesetsResource
  5969. --------------------------------------------------------------------}
  5970. Class Function TReferencesetsResource.ResourceName : String;
  5971. begin
  5972. Result:='referencesets';
  5973. end;
  5974. Class Function TReferencesetsResource.DefaultAPI : TGoogleAPIClass;
  5975. begin
  5976. Result:=TgenomicsAPI;
  5977. end;
  5978. Function TReferencesetsResource.Search(aSearchReferenceSetsRequest : TSearchReferenceSetsRequest) : TSearchReferenceSetsResponse;
  5979. Const
  5980. _HTTPMethod = 'POST';
  5981. _Path = 'v1/referencesets/search';
  5982. _Methodid = 'genomics.referencesets.search';
  5983. begin
  5984. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchReferenceSetsRequest,TSearchReferenceSetsResponse) as TSearchReferenceSetsResponse;
  5985. end;
  5986. Function TReferencesetsResource.Get(referenceSetId: string) : TReferenceSet;
  5987. Const
  5988. _HTTPMethod = 'GET';
  5989. _Path = 'v1/referencesets/{referenceSetId}';
  5990. _Methodid = 'genomics.referencesets.get';
  5991. Var
  5992. _P : String;
  5993. begin
  5994. _P:=SubstitutePath(_Path,['referenceSetId',referenceSetId]);
  5995. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TReferenceSet) as TReferenceSet;
  5996. end;
  5997. { --------------------------------------------------------------------
  5998. TReferencesBasesResource
  5999. --------------------------------------------------------------------}
  6000. Class Function TReferencesBasesResource.ResourceName : String;
  6001. begin
  6002. Result:='bases';
  6003. end;
  6004. Class Function TReferencesBasesResource.DefaultAPI : TGoogleAPIClass;
  6005. begin
  6006. Result:=TgenomicsAPI;
  6007. end;
  6008. Function TReferencesBasesResource.List(referenceId: string; AQuery : string = '') : TListBasesResponse;
  6009. Const
  6010. _HTTPMethod = 'GET';
  6011. _Path = 'v1/references/{referenceId}/bases';
  6012. _Methodid = 'genomics.references.bases.list';
  6013. Var
  6014. _P : String;
  6015. begin
  6016. _P:=SubstitutePath(_Path,['referenceId',referenceId]);
  6017. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListBasesResponse) as TListBasesResponse;
  6018. end;
  6019. Function TReferencesBasesResource.List(referenceId: string; AQuery : TReferencesBaseslistOptions) : TListBasesResponse;
  6020. Var
  6021. _Q : String;
  6022. begin
  6023. _Q:='';
  6024. AddToQuery(_Q,'start',AQuery.start);
  6025. AddToQuery(_Q,'end',AQuery._end);
  6026. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  6027. AddToQuery(_Q,'pageSize',AQuery.pageSize);
  6028. Result:=List(referenceId,_Q);
  6029. end;
  6030. { --------------------------------------------------------------------
  6031. TReferencesResource
  6032. --------------------------------------------------------------------}
  6033. Class Function TReferencesResource.ResourceName : String;
  6034. begin
  6035. Result:='references';
  6036. end;
  6037. Class Function TReferencesResource.DefaultAPI : TGoogleAPIClass;
  6038. begin
  6039. Result:=TgenomicsAPI;
  6040. end;
  6041. Function TReferencesResource.Search(aSearchReferencesRequest : TSearchReferencesRequest) : TSearchReferencesResponse;
  6042. Const
  6043. _HTTPMethod = 'POST';
  6044. _Path = 'v1/references/search';
  6045. _Methodid = 'genomics.references.search';
  6046. begin
  6047. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchReferencesRequest,TSearchReferencesResponse) as TSearchReferencesResponse;
  6048. end;
  6049. Function TReferencesResource.Get(referenceId: string) : TReference;
  6050. Const
  6051. _HTTPMethod = 'GET';
  6052. _Path = 'v1/references/{referenceId}';
  6053. _Methodid = 'genomics.references.get';
  6054. Var
  6055. _P : String;
  6056. begin
  6057. _P:=SubstitutePath(_Path,['referenceId',referenceId]);
  6058. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TReference) as TReference;
  6059. end;
  6060. Function TReferencesResource.GetBasesInstance : TReferencesBasesResource;
  6061. begin
  6062. if (FBasesInstance=Nil) then
  6063. FBasesInstance:=CreateBasesResource;
  6064. Result:=FBasesInstance;
  6065. end;
  6066. Function TReferencesResource.CreateBasesResource : TReferencesBasesResource;
  6067. begin
  6068. Result:=CreateBasesResource(Self);
  6069. end;
  6070. Function TReferencesResource.CreateBasesResource(AOwner : TComponent) : TReferencesBasesResource;
  6071. begin
  6072. Result:=TReferencesBasesResource.Create(AOwner);
  6073. Result.API:=Self.API;
  6074. end;
  6075. { --------------------------------------------------------------------
  6076. TVariantsResource
  6077. --------------------------------------------------------------------}
  6078. Class Function TVariantsResource.ResourceName : String;
  6079. begin
  6080. Result:='variants';
  6081. end;
  6082. Class Function TVariantsResource.DefaultAPI : TGoogleAPIClass;
  6083. begin
  6084. Result:=TgenomicsAPI;
  6085. end;
  6086. Function TVariantsResource.Import(aImportVariantsRequest : TImportVariantsRequest) : TOperation;
  6087. Const
  6088. _HTTPMethod = 'POST';
  6089. _Path = 'v1/variants:import';
  6090. _Methodid = 'genomics.variants.import';
  6091. begin
  6092. Result:=ServiceCall(_HTTPMethod,_Path,'',aImportVariantsRequest,TOperation) as TOperation;
  6093. end;
  6094. Function TVariantsResource.Search(aSearchVariantsRequest : TSearchVariantsRequest) : TSearchVariantsResponse;
  6095. Const
  6096. _HTTPMethod = 'POST';
  6097. _Path = 'v1/variants/search';
  6098. _Methodid = 'genomics.variants.search';
  6099. begin
  6100. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchVariantsRequest,TSearchVariantsResponse) as TSearchVariantsResponse;
  6101. end;
  6102. Function TVariantsResource.Create(aVariant : TVariant) : TVariant;
  6103. Const
  6104. _HTTPMethod = 'POST';
  6105. _Path = 'v1/variants';
  6106. _Methodid = 'genomics.variants.create';
  6107. begin
  6108. Result:=ServiceCall(_HTTPMethod,_Path,'',aVariant,TVariant) as TVariant;
  6109. end;
  6110. Function TVariantsResource.Patch(variantId: string; aVariant : TVariant; AQuery : string = '') : TVariant;
  6111. Const
  6112. _HTTPMethod = 'PATCH';
  6113. _Path = 'v1/variants/{variantId}';
  6114. _Methodid = 'genomics.variants.patch';
  6115. Var
  6116. _P : String;
  6117. begin
  6118. _P:=SubstitutePath(_Path,['variantId',variantId]);
  6119. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aVariant,TVariant) as TVariant;
  6120. end;
  6121. Function TVariantsResource.Patch(variantId: string; aVariant : TVariant; AQuery : TVariantspatchOptions) : TVariant;
  6122. Var
  6123. _Q : String;
  6124. begin
  6125. _Q:='';
  6126. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  6127. Result:=Patch(variantId,aVariant,_Q);
  6128. end;
  6129. Function TVariantsResource.Delete(variantId: string) : TEmpty;
  6130. Const
  6131. _HTTPMethod = 'DELETE';
  6132. _Path = 'v1/variants/{variantId}';
  6133. _Methodid = 'genomics.variants.delete';
  6134. Var
  6135. _P : String;
  6136. begin
  6137. _P:=SubstitutePath(_Path,['variantId',variantId]);
  6138. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  6139. end;
  6140. Function TVariantsResource.Get(variantId: string) : TVariant;
  6141. Const
  6142. _HTTPMethod = 'GET';
  6143. _Path = 'v1/variants/{variantId}';
  6144. _Methodid = 'genomics.variants.get';
  6145. Var
  6146. _P : String;
  6147. begin
  6148. _P:=SubstitutePath(_Path,['variantId',variantId]);
  6149. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TVariant) as TVariant;
  6150. end;
  6151. Function TVariantsResource.Merge(aMergeVariantsRequest : TMergeVariantsRequest) : TEmpty;
  6152. Const
  6153. _HTTPMethod = 'POST';
  6154. _Path = 'v1/variants:merge';
  6155. _Methodid = 'genomics.variants.merge';
  6156. begin
  6157. Result:=ServiceCall(_HTTPMethod,_Path,'',aMergeVariantsRequest,TEmpty) as TEmpty;
  6158. end;
  6159. Function TVariantsResource.Stream(aStreamVariantsRequest : TStreamVariantsRequest) : TStreamVariantsResponse;
  6160. Const
  6161. _HTTPMethod = 'POST';
  6162. _Path = 'v1/variants:stream';
  6163. _Methodid = 'genomics.variants.stream';
  6164. begin
  6165. Result:=ServiceCall(_HTTPMethod,_Path,'',aStreamVariantsRequest,TStreamVariantsResponse) as TStreamVariantsResponse;
  6166. end;
  6167. { --------------------------------------------------------------------
  6168. TVariantsetsResource
  6169. --------------------------------------------------------------------}
  6170. Class Function TVariantsetsResource.ResourceName : String;
  6171. begin
  6172. Result:='variantsets';
  6173. end;
  6174. Class Function TVariantsetsResource.DefaultAPI : TGoogleAPIClass;
  6175. begin
  6176. Result:=TgenomicsAPI;
  6177. end;
  6178. Function TVariantsetsResource.Create(aVariantSet : TVariantSet) : TVariantSet;
  6179. Const
  6180. _HTTPMethod = 'POST';
  6181. _Path = 'v1/variantsets';
  6182. _Methodid = 'genomics.variantsets.create';
  6183. begin
  6184. Result:=ServiceCall(_HTTPMethod,_Path,'',aVariantSet,TVariantSet) as TVariantSet;
  6185. end;
  6186. Function TVariantsetsResource.Export(variantSetId: string; aExportVariantSetRequest : TExportVariantSetRequest) : TOperation;
  6187. Const
  6188. _HTTPMethod = 'POST';
  6189. _Path = 'v1/variantsets/{variantSetId}:export';
  6190. _Methodid = 'genomics.variantsets.export';
  6191. Var
  6192. _P : String;
  6193. begin
  6194. _P:=SubstitutePath(_Path,['variantSetId',variantSetId]);
  6195. Result:=ServiceCall(_HTTPMethod,_P,'',aExportVariantSetRequest,TOperation) as TOperation;
  6196. end;
  6197. Function TVariantsetsResource.Get(variantSetId: string) : TVariantSet;
  6198. Const
  6199. _HTTPMethod = 'GET';
  6200. _Path = 'v1/variantsets/{variantSetId}';
  6201. _Methodid = 'genomics.variantsets.get';
  6202. Var
  6203. _P : String;
  6204. begin
  6205. _P:=SubstitutePath(_Path,['variantSetId',variantSetId]);
  6206. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TVariantSet) as TVariantSet;
  6207. end;
  6208. Function TVariantsetsResource.Search(aSearchVariantSetsRequest : TSearchVariantSetsRequest) : TSearchVariantSetsResponse;
  6209. Const
  6210. _HTTPMethod = 'POST';
  6211. _Path = 'v1/variantsets/search';
  6212. _Methodid = 'genomics.variantsets.search';
  6213. begin
  6214. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchVariantSetsRequest,TSearchVariantSetsResponse) as TSearchVariantSetsResponse;
  6215. end;
  6216. Function TVariantsetsResource.Delete(variantSetId: string) : TEmpty;
  6217. Const
  6218. _HTTPMethod = 'DELETE';
  6219. _Path = 'v1/variantsets/{variantSetId}';
  6220. _Methodid = 'genomics.variantsets.delete';
  6221. Var
  6222. _P : String;
  6223. begin
  6224. _P:=SubstitutePath(_Path,['variantSetId',variantSetId]);
  6225. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  6226. end;
  6227. Function TVariantsetsResource.Patch(variantSetId: string; aVariantSet : TVariantSet; AQuery : string = '') : TVariantSet;
  6228. Const
  6229. _HTTPMethod = 'PATCH';
  6230. _Path = 'v1/variantsets/{variantSetId}';
  6231. _Methodid = 'genomics.variantsets.patch';
  6232. Var
  6233. _P : String;
  6234. begin
  6235. _P:=SubstitutePath(_Path,['variantSetId',variantSetId]);
  6236. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aVariantSet,TVariantSet) as TVariantSet;
  6237. end;
  6238. Function TVariantsetsResource.Patch(variantSetId: string; aVariantSet : TVariantSet; AQuery : TVariantsetspatchOptions) : TVariantSet;
  6239. Var
  6240. _Q : String;
  6241. begin
  6242. _Q:='';
  6243. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  6244. Result:=Patch(variantSetId,aVariantSet,_Q);
  6245. end;
  6246. { --------------------------------------------------------------------
  6247. TCallsetsResource
  6248. --------------------------------------------------------------------}
  6249. Class Function TCallsetsResource.ResourceName : String;
  6250. begin
  6251. Result:='callsets';
  6252. end;
  6253. Class Function TCallsetsResource.DefaultAPI : TGoogleAPIClass;
  6254. begin
  6255. Result:=TgenomicsAPI;
  6256. end;
  6257. Function TCallsetsResource.Search(aSearchCallSetsRequest : TSearchCallSetsRequest) : TSearchCallSetsResponse;
  6258. Const
  6259. _HTTPMethod = 'POST';
  6260. _Path = 'v1/callsets/search';
  6261. _Methodid = 'genomics.callsets.search';
  6262. begin
  6263. Result:=ServiceCall(_HTTPMethod,_Path,'',aSearchCallSetsRequest,TSearchCallSetsResponse) as TSearchCallSetsResponse;
  6264. end;
  6265. Function TCallsetsResource.Create(aCallSet : TCallSet) : TCallSet;
  6266. Const
  6267. _HTTPMethod = 'POST';
  6268. _Path = 'v1/callsets';
  6269. _Methodid = 'genomics.callsets.create';
  6270. begin
  6271. Result:=ServiceCall(_HTTPMethod,_Path,'',aCallSet,TCallSet) as TCallSet;
  6272. end;
  6273. Function TCallsetsResource.Patch(callSetId: string; aCallSet : TCallSet; AQuery : string = '') : TCallSet;
  6274. Const
  6275. _HTTPMethod = 'PATCH';
  6276. _Path = 'v1/callsets/{callSetId}';
  6277. _Methodid = 'genomics.callsets.patch';
  6278. Var
  6279. _P : String;
  6280. begin
  6281. _P:=SubstitutePath(_Path,['callSetId',callSetId]);
  6282. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aCallSet,TCallSet) as TCallSet;
  6283. end;
  6284. Function TCallsetsResource.Patch(callSetId: string; aCallSet : TCallSet; AQuery : TCallsetspatchOptions) : TCallSet;
  6285. Var
  6286. _Q : String;
  6287. begin
  6288. _Q:='';
  6289. AddToQuery(_Q,'updateMask',AQuery.updateMask);
  6290. Result:=Patch(callSetId,aCallSet,_Q);
  6291. end;
  6292. Function TCallsetsResource.Delete(callSetId: string) : TEmpty;
  6293. Const
  6294. _HTTPMethod = 'DELETE';
  6295. _Path = 'v1/callsets/{callSetId}';
  6296. _Methodid = 'genomics.callsets.delete';
  6297. Var
  6298. _P : String;
  6299. begin
  6300. _P:=SubstitutePath(_Path,['callSetId',callSetId]);
  6301. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TEmpty) as TEmpty;
  6302. end;
  6303. Function TCallsetsResource.Get(callSetId: string) : TCallSet;
  6304. Const
  6305. _HTTPMethod = 'GET';
  6306. _Path = 'v1/callsets/{callSetId}';
  6307. _Methodid = 'genomics.callsets.get';
  6308. Var
  6309. _P : String;
  6310. begin
  6311. _P:=SubstitutePath(_Path,['callSetId',callSetId]);
  6312. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TCallSet) as TCallSet;
  6313. end;
  6314. { --------------------------------------------------------------------
  6315. TGenomicsAPI
  6316. --------------------------------------------------------------------}
  6317. Class Function TGenomicsAPI.APIName : String;
  6318. begin
  6319. Result:='genomics';
  6320. end;
  6321. Class Function TGenomicsAPI.APIVersion : String;
  6322. begin
  6323. Result:='v1';
  6324. end;
  6325. Class Function TGenomicsAPI.APIRevision : String;
  6326. begin
  6327. Result:='20160519';
  6328. end;
  6329. Class Function TGenomicsAPI.APIID : String;
  6330. begin
  6331. Result:='genomics:v1';
  6332. end;
  6333. Class Function TGenomicsAPI.APITitle : String;
  6334. begin
  6335. Result:='Genomics API';
  6336. end;
  6337. Class Function TGenomicsAPI.APIDescription : String;
  6338. begin
  6339. Result:='Stores, processes, explores and shares genomic data. This API implements the Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several extensions.';
  6340. end;
  6341. Class Function TGenomicsAPI.APIOwnerDomain : String;
  6342. begin
  6343. Result:='google.com';
  6344. end;
  6345. Class Function TGenomicsAPI.APIOwnerName : String;
  6346. begin
  6347. Result:='Google';
  6348. end;
  6349. Class Function TGenomicsAPI.APIIcon16 : String;
  6350. begin
  6351. Result:='http://www.google.com/images/icons/product/search-16.gif';
  6352. end;
  6353. Class Function TGenomicsAPI.APIIcon32 : String;
  6354. begin
  6355. Result:='http://www.google.com/images/icons/product/search-32.gif';
  6356. end;
  6357. Class Function TGenomicsAPI.APIdocumentationLink : String;
  6358. begin
  6359. Result:='https://cloud.google.com/genomics/';
  6360. end;
  6361. Class Function TGenomicsAPI.APIrootUrl : string;
  6362. begin
  6363. Result:='https://genomics.googleapis.com/';
  6364. end;
  6365. Class Function TGenomicsAPI.APIbasePath : string;
  6366. begin
  6367. Result:='';
  6368. end;
  6369. Class Function TGenomicsAPI.APIbaseURL : String;
  6370. begin
  6371. Result:='https://genomics.googleapis.com/';
  6372. end;
  6373. Class Function TGenomicsAPI.APIProtocol : string;
  6374. begin
  6375. Result:='rest';
  6376. end;
  6377. Class Function TGenomicsAPI.APIservicePath : string;
  6378. begin
  6379. Result:='';
  6380. end;
  6381. Class Function TGenomicsAPI.APIbatchPath : String;
  6382. begin
  6383. Result:='batch';
  6384. end;
  6385. Class Function TGenomicsAPI.APIAuthScopes : TScopeInfoArray;
  6386. begin
  6387. SetLength(Result,5);
  6388. Result[0].Name:='https://www.googleapis.com/auth/bigquery';
  6389. Result[0].Description:='View and manage your data in Google BigQuery';
  6390. Result[1].Name:='https://www.googleapis.com/auth/cloud-platform';
  6391. Result[1].Description:='View and manage your data across Google Cloud Platform services';
  6392. Result[2].Name:='https://www.googleapis.com/auth/devstorage.read_write';
  6393. Result[2].Description:='Manage your data in Google Cloud Storage';
  6394. Result[3].Name:='https://www.googleapis.com/auth/genomics';
  6395. Result[3].Description:='View and manage Genomics data';
  6396. Result[4].Name:='https://www.googleapis.com/auth/genomics.readonly';
  6397. Result[4].Description:='View Genomics data';
  6398. end;
  6399. Class Function TGenomicsAPI.APINeedsAuth : Boolean;
  6400. begin
  6401. Result:=True;
  6402. end;
  6403. Class Procedure TGenomicsAPI.RegisterAPIResources;
  6404. begin
  6405. TAnnotationSetTypeinfo.RegisterObject;
  6406. TAnnotationSet.RegisterObject;
  6407. TEmpty.RegisterObject;
  6408. TSearchAnnotationSetsRequest.RegisterObject;
  6409. TSearchAnnotationSetsResponse.RegisterObject;
  6410. TAnnotationTypeinfo.RegisterObject;
  6411. TAnnotation.RegisterObject;
  6412. TVariantAnnotation.RegisterObject;
  6413. TClinicalCondition.RegisterObject;
  6414. TExternalId.RegisterObject;
  6415. TTranscript.RegisterObject;
  6416. TExon.RegisterObject;
  6417. TCodingSequence.RegisterObject;
  6418. TBatchCreateAnnotationsRequest.RegisterObject;
  6419. TBatchCreateAnnotationsResponse.RegisterObject;
  6420. TEntry.RegisterObject;
  6421. TStatusTypedetailsItem.RegisterObject;
  6422. TStatus.RegisterObject;
  6423. TSearchAnnotationsRequest.RegisterObject;
  6424. TSearchAnnotationsResponse.RegisterObject;
  6425. TListDatasetsResponse.RegisterObject;
  6426. TDataset.RegisterObject;
  6427. TUndeleteDatasetRequest.RegisterObject;
  6428. TSetIamPolicyRequest.RegisterObject;
  6429. TPolicy.RegisterObject;
  6430. TBinding.RegisterObject;
  6431. TGetIamPolicyRequest.RegisterObject;
  6432. TTestIamPermissionsRequest.RegisterObject;
  6433. TTestIamPermissionsResponse.RegisterObject;
  6434. TOperationTypemetadata.RegisterObject;
  6435. TOperationTyperesponse.RegisterObject;
  6436. TOperation.RegisterObject;
  6437. TListOperationsResponse.RegisterObject;
  6438. TCancelOperationRequest.RegisterObject;
  6439. TImportReadGroupSetsRequest.RegisterObject;
  6440. TExportReadGroupSetRequest.RegisterObject;
  6441. TSearchReadGroupSetsRequest.RegisterObject;
  6442. TSearchReadGroupSetsResponse.RegisterObject;
  6443. TReadGroupSetTypeinfo.RegisterObject;
  6444. TReadGroupSet.RegisterObject;
  6445. TReadGroupTypeinfo.RegisterObject;
  6446. TReadGroup.RegisterObject;
  6447. TExperiment.RegisterObject;
  6448. TProgram.RegisterObject;
  6449. TListCoverageBucketsResponse.RegisterObject;
  6450. TCoverageBucket.RegisterObject;
  6451. TRange.RegisterObject;
  6452. TSearchReadsRequest.RegisterObject;
  6453. TSearchReadsResponse.RegisterObject;
  6454. TReadTypeinfo.RegisterObject;
  6455. TRead.RegisterObject;
  6456. TLinearAlignment.RegisterObject;
  6457. TPosition.RegisterObject;
  6458. TCigarUnit.RegisterObject;
  6459. TStreamReadsRequest.RegisterObject;
  6460. TStreamReadsResponse.RegisterObject;
  6461. TSearchReferenceSetsRequest.RegisterObject;
  6462. TSearchReferenceSetsResponse.RegisterObject;
  6463. TReferenceSet.RegisterObject;
  6464. TSearchReferencesRequest.RegisterObject;
  6465. TSearchReferencesResponse.RegisterObject;
  6466. TReference.RegisterObject;
  6467. TListBasesResponse.RegisterObject;
  6468. TImportVariantsRequestTypeinfoMergeConfig.RegisterObject;
  6469. TImportVariantsRequest.RegisterObject;
  6470. TVariantSet.RegisterObject;
  6471. TReferenceBound.RegisterObject;
  6472. TVariantSetMetadataTypeinfo.RegisterObject;
  6473. TVariantSetMetadata.RegisterObject;
  6474. TExportVariantSetRequest.RegisterObject;
  6475. TSearchVariantSetsRequest.RegisterObject;
  6476. TSearchVariantSetsResponse.RegisterObject;
  6477. TSearchVariantsRequest.RegisterObject;
  6478. TSearchVariantsResponse.RegisterObject;
  6479. TVariantTypeinfo.RegisterObject;
  6480. TVariant.RegisterObject;
  6481. TVariantCallTypeinfo.RegisterObject;
  6482. TVariantCall.RegisterObject;
  6483. TMergeVariantsRequestTypeinfoMergeConfig.RegisterObject;
  6484. TMergeVariantsRequest.RegisterObject;
  6485. TSearchCallSetsRequest.RegisterObject;
  6486. TSearchCallSetsResponse.RegisterObject;
  6487. TCallSetTypeinfo.RegisterObject;
  6488. TCallSet.RegisterObject;
  6489. TStreamVariantsRequest.RegisterObject;
  6490. TStreamVariantsResponse.RegisterObject;
  6491. TImportReadGroupSetsResponse.RegisterObject;
  6492. TImportVariantsResponse.RegisterObject;
  6493. TOperationMetadataTyperequest.RegisterObject;
  6494. TOperationMetadata.RegisterObject;
  6495. TOperationEvent.RegisterObject;
  6496. end;
  6497. Function TGenomicsAPI.GetAnnotationsetsInstance : TAnnotationsetsResource;
  6498. begin
  6499. if (FAnnotationsetsInstance=Nil) then
  6500. FAnnotationsetsInstance:=CreateAnnotationsetsResource;
  6501. Result:=FAnnotationsetsInstance;
  6502. end;
  6503. Function TGenomicsAPI.CreateAnnotationsetsResource : TAnnotationsetsResource;
  6504. begin
  6505. Result:=CreateAnnotationsetsResource(Self);
  6506. end;
  6507. Function TGenomicsAPI.CreateAnnotationsetsResource(AOwner : TComponent) : TAnnotationsetsResource;
  6508. begin
  6509. Result:=TAnnotationsetsResource.Create(AOwner);
  6510. Result.API:=Self.API;
  6511. end;
  6512. Function TGenomicsAPI.GetAnnotationsInstance : TAnnotationsResource;
  6513. begin
  6514. if (FAnnotationsInstance=Nil) then
  6515. FAnnotationsInstance:=CreateAnnotationsResource;
  6516. Result:=FAnnotationsInstance;
  6517. end;
  6518. Function TGenomicsAPI.CreateAnnotationsResource : TAnnotationsResource;
  6519. begin
  6520. Result:=CreateAnnotationsResource(Self);
  6521. end;
  6522. Function TGenomicsAPI.CreateAnnotationsResource(AOwner : TComponent) : TAnnotationsResource;
  6523. begin
  6524. Result:=TAnnotationsResource.Create(AOwner);
  6525. Result.API:=Self.API;
  6526. end;
  6527. Function TGenomicsAPI.GetDatasetsInstance : TDatasetsResource;
  6528. begin
  6529. if (FDatasetsInstance=Nil) then
  6530. FDatasetsInstance:=CreateDatasetsResource;
  6531. Result:=FDatasetsInstance;
  6532. end;
  6533. Function TGenomicsAPI.CreateDatasetsResource : TDatasetsResource;
  6534. begin
  6535. Result:=CreateDatasetsResource(Self);
  6536. end;
  6537. Function TGenomicsAPI.CreateDatasetsResource(AOwner : TComponent) : TDatasetsResource;
  6538. begin
  6539. Result:=TDatasetsResource.Create(AOwner);
  6540. Result.API:=Self.API;
  6541. end;
  6542. Function TGenomicsAPI.GetOperationsInstance : TOperationsResource;
  6543. begin
  6544. if (FOperationsInstance=Nil) then
  6545. FOperationsInstance:=CreateOperationsResource;
  6546. Result:=FOperationsInstance;
  6547. end;
  6548. Function TGenomicsAPI.CreateOperationsResource : TOperationsResource;
  6549. begin
  6550. Result:=CreateOperationsResource(Self);
  6551. end;
  6552. Function TGenomicsAPI.CreateOperationsResource(AOwner : TComponent) : TOperationsResource;
  6553. begin
  6554. Result:=TOperationsResource.Create(AOwner);
  6555. Result.API:=Self.API;
  6556. end;
  6557. Function TGenomicsAPI.GetReadgroupsetsCoveragebucketsInstance : TReadgroupsetsCoveragebucketsResource;
  6558. begin
  6559. if (FReadgroupsetsCoveragebucketsInstance=Nil) then
  6560. FReadgroupsetsCoveragebucketsInstance:=CreateReadgroupsetsCoveragebucketsResource;
  6561. Result:=FReadgroupsetsCoveragebucketsInstance;
  6562. end;
  6563. Function TGenomicsAPI.CreateReadgroupsetsCoveragebucketsResource : TReadgroupsetsCoveragebucketsResource;
  6564. begin
  6565. Result:=CreateReadgroupsetsCoveragebucketsResource(Self);
  6566. end;
  6567. Function TGenomicsAPI.CreateReadgroupsetsCoveragebucketsResource(AOwner : TComponent) : TReadgroupsetsCoveragebucketsResource;
  6568. begin
  6569. Result:=TReadgroupsetsCoveragebucketsResource.Create(AOwner);
  6570. Result.API:=Self.API;
  6571. end;
  6572. Function TGenomicsAPI.GetReadgroupsetsInstance : TReadgroupsetsResource;
  6573. begin
  6574. if (FReadgroupsetsInstance=Nil) then
  6575. FReadgroupsetsInstance:=CreateReadgroupsetsResource;
  6576. Result:=FReadgroupsetsInstance;
  6577. end;
  6578. Function TGenomicsAPI.CreateReadgroupsetsResource : TReadgroupsetsResource;
  6579. begin
  6580. Result:=CreateReadgroupsetsResource(Self);
  6581. end;
  6582. Function TGenomicsAPI.CreateReadgroupsetsResource(AOwner : TComponent) : TReadgroupsetsResource;
  6583. begin
  6584. Result:=TReadgroupsetsResource.Create(AOwner);
  6585. Result.API:=Self.API;
  6586. end;
  6587. Function TGenomicsAPI.GetReadsInstance : TReadsResource;
  6588. begin
  6589. if (FReadsInstance=Nil) then
  6590. FReadsInstance:=CreateReadsResource;
  6591. Result:=FReadsInstance;
  6592. end;
  6593. Function TGenomicsAPI.CreateReadsResource : TReadsResource;
  6594. begin
  6595. Result:=CreateReadsResource(Self);
  6596. end;
  6597. Function TGenomicsAPI.CreateReadsResource(AOwner : TComponent) : TReadsResource;
  6598. begin
  6599. Result:=TReadsResource.Create(AOwner);
  6600. Result.API:=Self.API;
  6601. end;
  6602. Function TGenomicsAPI.GetReferencesetsInstance : TReferencesetsResource;
  6603. begin
  6604. if (FReferencesetsInstance=Nil) then
  6605. FReferencesetsInstance:=CreateReferencesetsResource;
  6606. Result:=FReferencesetsInstance;
  6607. end;
  6608. Function TGenomicsAPI.CreateReferencesetsResource : TReferencesetsResource;
  6609. begin
  6610. Result:=CreateReferencesetsResource(Self);
  6611. end;
  6612. Function TGenomicsAPI.CreateReferencesetsResource(AOwner : TComponent) : TReferencesetsResource;
  6613. begin
  6614. Result:=TReferencesetsResource.Create(AOwner);
  6615. Result.API:=Self.API;
  6616. end;
  6617. Function TGenomicsAPI.GetReferencesBasesInstance : TReferencesBasesResource;
  6618. begin
  6619. if (FReferencesBasesInstance=Nil) then
  6620. FReferencesBasesInstance:=CreateReferencesBasesResource;
  6621. Result:=FReferencesBasesInstance;
  6622. end;
  6623. Function TGenomicsAPI.CreateReferencesBasesResource : TReferencesBasesResource;
  6624. begin
  6625. Result:=CreateReferencesBasesResource(Self);
  6626. end;
  6627. Function TGenomicsAPI.CreateReferencesBasesResource(AOwner : TComponent) : TReferencesBasesResource;
  6628. begin
  6629. Result:=TReferencesBasesResource.Create(AOwner);
  6630. Result.API:=Self.API;
  6631. end;
  6632. Function TGenomicsAPI.GetReferencesInstance : TReferencesResource;
  6633. begin
  6634. if (FReferencesInstance=Nil) then
  6635. FReferencesInstance:=CreateReferencesResource;
  6636. Result:=FReferencesInstance;
  6637. end;
  6638. Function TGenomicsAPI.CreateReferencesResource : TReferencesResource;
  6639. begin
  6640. Result:=CreateReferencesResource(Self);
  6641. end;
  6642. Function TGenomicsAPI.CreateReferencesResource(AOwner : TComponent) : TReferencesResource;
  6643. begin
  6644. Result:=TReferencesResource.Create(AOwner);
  6645. Result.API:=Self.API;
  6646. end;
  6647. Function TGenomicsAPI.GetVariantsInstance : TVariantsResource;
  6648. begin
  6649. if (FVariantsInstance=Nil) then
  6650. FVariantsInstance:=CreateVariantsResource;
  6651. Result:=FVariantsInstance;
  6652. end;
  6653. Function TGenomicsAPI.CreateVariantsResource : TVariantsResource;
  6654. begin
  6655. Result:=CreateVariantsResource(Self);
  6656. end;
  6657. Function TGenomicsAPI.CreateVariantsResource(AOwner : TComponent) : TVariantsResource;
  6658. begin
  6659. Result:=TVariantsResource.Create(AOwner);
  6660. Result.API:=Self.API;
  6661. end;
  6662. Function TGenomicsAPI.GetVariantsetsInstance : TVariantsetsResource;
  6663. begin
  6664. if (FVariantsetsInstance=Nil) then
  6665. FVariantsetsInstance:=CreateVariantsetsResource;
  6666. Result:=FVariantsetsInstance;
  6667. end;
  6668. Function TGenomicsAPI.CreateVariantsetsResource : TVariantsetsResource;
  6669. begin
  6670. Result:=CreateVariantsetsResource(Self);
  6671. end;
  6672. Function TGenomicsAPI.CreateVariantsetsResource(AOwner : TComponent) : TVariantsetsResource;
  6673. begin
  6674. Result:=TVariantsetsResource.Create(AOwner);
  6675. Result.API:=Self.API;
  6676. end;
  6677. Function TGenomicsAPI.GetCallsetsInstance : TCallsetsResource;
  6678. begin
  6679. if (FCallsetsInstance=Nil) then
  6680. FCallsetsInstance:=CreateCallsetsResource;
  6681. Result:=FCallsetsInstance;
  6682. end;
  6683. Function TGenomicsAPI.CreateCallsetsResource : TCallsetsResource;
  6684. begin
  6685. Result:=CreateCallsetsResource(Self);
  6686. end;
  6687. Function TGenomicsAPI.CreateCallsetsResource(AOwner : TComponent) : TCallsetsResource;
  6688. begin
  6689. Result:=TCallsetsResource.Create(AOwner);
  6690. Result.API:=Self.API;
  6691. end;
  6692. initialization
  6693. TGenomicsAPI.RegisterAPI;
  6694. end.