1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412 |
- unit googletoolresults;
- {$MODE objfpc}
- {$H+}
- interface
- uses sysutils, classes, googleservice, restbase, googlebase;
- type
-
- //Top-level schema types
- TAny = Class;
- TDuration = Class;
- TExecution = Class;
- TFailureDetail = Class;
- TFileReference = Class;
- THistory = Class;
- TImage = Class;
- TInconclusiveDetail = Class;
- TListExecutionsResponse = Class;
- TListHistoriesResponse = Class;
- TListStepThumbnailsResponse = Class;
- TListStepsResponse = Class;
- TOutcome = Class;
- TProjectSettings = Class;
- TPublishXunitXmlFilesRequest = Class;
- TSkippedDetail = Class;
- TStackTrace = Class;
- TStatus = Class;
- TStep = Class;
- TStepDimensionValueEntry = Class;
- TStepLabelsEntry = Class;
- TSuccessDetail = Class;
- TTestCaseReference = Class;
- TTestExecutionStep = Class;
- TTestIssue = Class;
- TTestSuiteOverview = Class;
- TTestTiming = Class;
- TThumbnail = Class;
- TTimestamp = Class;
- TToolExecution = Class;
- TToolExecutionStep = Class;
- TToolExitCode = Class;
- TToolOutputReference = Class;
- TAnyArray = Array of TAny;
- TDurationArray = Array of TDuration;
- TExecutionArray = Array of TExecution;
- TFailureDetailArray = Array of TFailureDetail;
- TFileReferenceArray = Array of TFileReference;
- THistoryArray = Array of THistory;
- TImageArray = Array of TImage;
- TInconclusiveDetailArray = Array of TInconclusiveDetail;
- TListExecutionsResponseArray = Array of TListExecutionsResponse;
- TListHistoriesResponseArray = Array of TListHistoriesResponse;
- TListStepThumbnailsResponseArray = Array of TListStepThumbnailsResponse;
- TListStepsResponseArray = Array of TListStepsResponse;
- TOutcomeArray = Array of TOutcome;
- TProjectSettingsArray = Array of TProjectSettings;
- TPublishXunitXmlFilesRequestArray = Array of TPublishXunitXmlFilesRequest;
- TSkippedDetailArray = Array of TSkippedDetail;
- TStackTraceArray = Array of TStackTrace;
- TStatusArray = Array of TStatus;
- TStepArray = Array of TStep;
- TStepDimensionValueEntryArray = Array of TStepDimensionValueEntry;
- TStepLabelsEntryArray = Array of TStepLabelsEntry;
- TSuccessDetailArray = Array of TSuccessDetail;
- TTestCaseReferenceArray = Array of TTestCaseReference;
- TTestExecutionStepArray = Array of TTestExecutionStep;
- TTestIssueArray = Array of TTestIssue;
- TTestSuiteOverviewArray = Array of TTestSuiteOverview;
- TTestTimingArray = Array of TTestTiming;
- TThumbnailArray = Array of TThumbnail;
- TTimestampArray = Array of TTimestamp;
- TToolExecutionArray = Array of TToolExecution;
- TToolExecutionStepArray = Array of TToolExecutionStep;
- TToolExitCodeArray = Array of TToolExitCode;
- TToolOutputReferenceArray = Array of TToolOutputReference;
- //Anonymous types, using auto-generated names
- TListExecutionsResponseTypeexecutionsArray = Array of TExecution;
- TListHistoriesResponseTypehistoriesArray = Array of THistory;
- TListStepThumbnailsResponseTypethumbnailsArray = Array of TImage;
- TListStepsResponseTypestepsArray = Array of TStep;
- TPublishXunitXmlFilesRequestTypexunitXmlFilesArray = Array of TFileReference;
- TStatusTypedetailsArray = Array of TAny;
- TStepTypedimensionValueArray = Array of TStepDimensionValueEntry;
- TStepTypelabelsArray = Array of TStepLabelsEntry;
- TTestExecutionStepTypetestIssuesArray = Array of TTestIssue;
- TTestExecutionStepTypetestSuiteOverviewsArray = Array of TTestSuiteOverview;
- TToolExecutionTypetoolLogsArray = Array of TFileReference;
- TToolExecutionTypetoolOutputsArray = Array of TToolOutputReference;
-
- { --------------------------------------------------------------------
- TAny
- --------------------------------------------------------------------}
-
- TAny = Class(TGoogleBaseObject)
- Private
- FtypeUrl : String;
- Fvalue : String;
- Protected
- //Property setters
- Procedure SettypeUrl(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property typeUrl : String Index 0 Read FtypeUrl Write SettypeUrl;
- Property value : String Index 8 Read Fvalue Write Setvalue;
- end;
- TAnyClass = Class of TAny;
-
- { --------------------------------------------------------------------
- TDuration
- --------------------------------------------------------------------}
-
- TDuration = Class(TGoogleBaseObject)
- Private
- Fnanos : integer;
- Fseconds : String;
- Protected
- //Property setters
- Procedure Setnanos(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setseconds(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property nanos : integer Index 0 Read Fnanos Write Setnanos;
- Property seconds : String Index 8 Read Fseconds Write Setseconds;
- end;
- TDurationClass = Class of TDuration;
-
- { --------------------------------------------------------------------
- TExecution
- --------------------------------------------------------------------}
-
- TExecution = Class(TGoogleBaseObject)
- Private
- FcompletionTime : TTimestamp;
- FcreationTime : TTimestamp;
- FexecutionId : String;
- Foutcome : TOutcome;
- Fstate : String;
- FtestExecutionMatrixId : String;
- Protected
- //Property setters
- Procedure SetcompletionTime(AIndex : Integer; const AValue : TTimestamp); virtual;
- Procedure SetcreationTime(AIndex : Integer; const AValue : TTimestamp); virtual;
- Procedure SetexecutionId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setoutcome(AIndex : Integer; const AValue : TOutcome); virtual;
- Procedure Setstate(AIndex : Integer; const AValue : String); virtual;
- Procedure SettestExecutionMatrixId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property completionTime : TTimestamp Index 0 Read FcompletionTime Write SetcompletionTime;
- Property creationTime : TTimestamp Index 8 Read FcreationTime Write SetcreationTime;
- Property executionId : String Index 16 Read FexecutionId Write SetexecutionId;
- Property outcome : TOutcome Index 24 Read Foutcome Write Setoutcome;
- Property state : String Index 32 Read Fstate Write Setstate;
- Property testExecutionMatrixId : String Index 40 Read FtestExecutionMatrixId Write SettestExecutionMatrixId;
- end;
- TExecutionClass = Class of TExecution;
-
- { --------------------------------------------------------------------
- TFailureDetail
- --------------------------------------------------------------------}
-
- TFailureDetail = Class(TGoogleBaseObject)
- Private
- Fcrashed : boolean;
- FnotInstalled : boolean;
- FotherNativeCrash : boolean;
- FtimedOut : boolean;
- FunableToCrawl : boolean;
- Protected
- //Property setters
- Procedure Setcrashed(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetnotInstalled(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetotherNativeCrash(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SettimedOut(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetunableToCrawl(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property crashed : boolean Index 0 Read Fcrashed Write Setcrashed;
- Property notInstalled : boolean Index 8 Read FnotInstalled Write SetnotInstalled;
- Property otherNativeCrash : boolean Index 16 Read FotherNativeCrash Write SetotherNativeCrash;
- Property timedOut : boolean Index 24 Read FtimedOut Write SettimedOut;
- Property unableToCrawl : boolean Index 32 Read FunableToCrawl Write SetunableToCrawl;
- end;
- TFailureDetailClass = Class of TFailureDetail;
-
- { --------------------------------------------------------------------
- TFileReference
- --------------------------------------------------------------------}
-
- TFileReference = Class(TGoogleBaseObject)
- Private
- FfileUri : String;
- Protected
- //Property setters
- Procedure SetfileUri(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property fileUri : String Index 0 Read FfileUri Write SetfileUri;
- end;
- TFileReferenceClass = Class of TFileReference;
-
- { --------------------------------------------------------------------
- THistory
- --------------------------------------------------------------------}
-
- THistory = Class(TGoogleBaseObject)
- Private
- FdisplayName : String;
- FhistoryId : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetdisplayName(AIndex : Integer; const AValue : String); virtual;
- Procedure SethistoryId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property displayName : String Index 0 Read FdisplayName Write SetdisplayName;
- Property historyId : String Index 8 Read FhistoryId Write SethistoryId;
- Property name : String Index 16 Read Fname Write Setname;
- end;
- THistoryClass = Class of THistory;
-
- { --------------------------------------------------------------------
- TImage
- --------------------------------------------------------------------}
-
- TImage = Class(TGoogleBaseObject)
- Private
- Ferror : TStatus;
- FsourceImage : TToolOutputReference;
- FstepId : String;
- Fthumbnail : TThumbnail;
- Protected
- //Property setters
- Procedure Seterror(AIndex : Integer; const AValue : TStatus); virtual;
- Procedure SetsourceImage(AIndex : Integer; const AValue : TToolOutputReference); virtual;
- Procedure SetstepId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setthumbnail(AIndex : Integer; const AValue : TThumbnail); virtual;
- Public
- Published
- Property error : TStatus Index 0 Read Ferror Write Seterror;
- Property sourceImage : TToolOutputReference Index 8 Read FsourceImage Write SetsourceImage;
- Property stepId : String Index 16 Read FstepId Write SetstepId;
- Property thumbnail : TThumbnail Index 24 Read Fthumbnail Write Setthumbnail;
- end;
- TImageClass = Class of TImage;
-
- { --------------------------------------------------------------------
- TInconclusiveDetail
- --------------------------------------------------------------------}
-
- TInconclusiveDetail = Class(TGoogleBaseObject)
- Private
- FabortedByUser : boolean;
- FinfrastructureFailure : boolean;
- FnativeCrash : boolean;
- Protected
- //Property setters
- Procedure SetabortedByUser(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetinfrastructureFailure(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetnativeCrash(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property abortedByUser : boolean Index 0 Read FabortedByUser Write SetabortedByUser;
- Property infrastructureFailure : boolean Index 8 Read FinfrastructureFailure Write SetinfrastructureFailure;
- Property nativeCrash : boolean Index 16 Read FnativeCrash Write SetnativeCrash;
- end;
- TInconclusiveDetailClass = Class of TInconclusiveDetail;
-
- { --------------------------------------------------------------------
- TListExecutionsResponse
- --------------------------------------------------------------------}
-
- TListExecutionsResponse = Class(TGoogleBaseObject)
- Private
- Fexecutions : TListExecutionsResponseTypeexecutionsArray;
- FnextPageToken : String;
- Protected
- //Property setters
- Procedure Setexecutions(AIndex : Integer; const AValue : TListExecutionsResponseTypeexecutionsArray); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property executions : TListExecutionsResponseTypeexecutionsArray Index 0 Read Fexecutions Write Setexecutions;
- Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
- end;
- TListExecutionsResponseClass = Class of TListExecutionsResponse;
-
- { --------------------------------------------------------------------
- TListHistoriesResponse
- --------------------------------------------------------------------}
-
- TListHistoriesResponse = Class(TGoogleBaseObject)
- Private
- Fhistories : TListHistoriesResponseTypehistoriesArray;
- FnextPageToken : String;
- Protected
- //Property setters
- Procedure Sethistories(AIndex : Integer; const AValue : TListHistoriesResponseTypehistoriesArray); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property histories : TListHistoriesResponseTypehistoriesArray Index 0 Read Fhistories Write Sethistories;
- Property nextPageToken : String Index 8 Read FnextPageToken Write SetnextPageToken;
- end;
- TListHistoriesResponseClass = Class of TListHistoriesResponse;
-
- { --------------------------------------------------------------------
- TListStepThumbnailsResponse
- --------------------------------------------------------------------}
-
- TListStepThumbnailsResponse = Class(TGoogleBaseObject)
- Private
- FnextPageToken : String;
- Fthumbnails : TListStepThumbnailsResponseTypethumbnailsArray;
- Protected
- //Property setters
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Setthumbnails(AIndex : Integer; const AValue : TListStepThumbnailsResponseTypethumbnailsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property nextPageToken : String Index 0 Read FnextPageToken Write SetnextPageToken;
- Property thumbnails : TListStepThumbnailsResponseTypethumbnailsArray Index 8 Read Fthumbnails Write Setthumbnails;
- end;
- TListStepThumbnailsResponseClass = Class of TListStepThumbnailsResponse;
-
- { --------------------------------------------------------------------
- TListStepsResponse
- --------------------------------------------------------------------}
-
- TListStepsResponse = Class(TGoogleBaseObject)
- Private
- FnextPageToken : String;
- Fsteps : TListStepsResponseTypestepsArray;
- Protected
- //Property setters
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsteps(AIndex : Integer; const AValue : TListStepsResponseTypestepsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property nextPageToken : String Index 0 Read FnextPageToken Write SetnextPageToken;
- Property steps : TListStepsResponseTypestepsArray Index 8 Read Fsteps Write Setsteps;
- end;
- TListStepsResponseClass = Class of TListStepsResponse;
-
- { --------------------------------------------------------------------
- TOutcome
- --------------------------------------------------------------------}
-
- TOutcome = Class(TGoogleBaseObject)
- Private
- FfailureDetail : TFailureDetail;
- FinconclusiveDetail : TInconclusiveDetail;
- FskippedDetail : TSkippedDetail;
- FsuccessDetail : TSuccessDetail;
- Fsummary : String;
- Protected
- //Property setters
- Procedure SetfailureDetail(AIndex : Integer; const AValue : TFailureDetail); virtual;
- Procedure SetinconclusiveDetail(AIndex : Integer; const AValue : TInconclusiveDetail); virtual;
- Procedure SetskippedDetail(AIndex : Integer; const AValue : TSkippedDetail); virtual;
- Procedure SetsuccessDetail(AIndex : Integer; const AValue : TSuccessDetail); virtual;
- Procedure Setsummary(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property failureDetail : TFailureDetail Index 0 Read FfailureDetail Write SetfailureDetail;
- Property inconclusiveDetail : TInconclusiveDetail Index 8 Read FinconclusiveDetail Write SetinconclusiveDetail;
- Property skippedDetail : TSkippedDetail Index 16 Read FskippedDetail Write SetskippedDetail;
- Property successDetail : TSuccessDetail Index 24 Read FsuccessDetail Write SetsuccessDetail;
- Property summary : String Index 32 Read Fsummary Write Setsummary;
- end;
- TOutcomeClass = Class of TOutcome;
-
- { --------------------------------------------------------------------
- TProjectSettings
- --------------------------------------------------------------------}
-
- TProjectSettings = Class(TGoogleBaseObject)
- Private
- FdefaultBucket : String;
- Fname : String;
- Protected
- //Property setters
- Procedure SetdefaultBucket(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property defaultBucket : String Index 0 Read FdefaultBucket Write SetdefaultBucket;
- Property name : String Index 8 Read Fname Write Setname;
- end;
- TProjectSettingsClass = Class of TProjectSettings;
-
- { --------------------------------------------------------------------
- TPublishXunitXmlFilesRequest
- --------------------------------------------------------------------}
-
- TPublishXunitXmlFilesRequest = Class(TGoogleBaseObject)
- Private
- FxunitXmlFiles : TPublishXunitXmlFilesRequestTypexunitXmlFilesArray;
- Protected
- //Property setters
- Procedure SetxunitXmlFiles(AIndex : Integer; const AValue : TPublishXunitXmlFilesRequestTypexunitXmlFilesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property xunitXmlFiles : TPublishXunitXmlFilesRequestTypexunitXmlFilesArray Index 0 Read FxunitXmlFiles Write SetxunitXmlFiles;
- end;
- TPublishXunitXmlFilesRequestClass = Class of TPublishXunitXmlFilesRequest;
-
- { --------------------------------------------------------------------
- TSkippedDetail
- --------------------------------------------------------------------}
-
- TSkippedDetail = Class(TGoogleBaseObject)
- Private
- FincompatibleAppVersion : boolean;
- FincompatibleArchitecture : boolean;
- FincompatibleDevice : boolean;
- Protected
- //Property setters
- Procedure SetincompatibleAppVersion(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetincompatibleArchitecture(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetincompatibleDevice(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property incompatibleAppVersion : boolean Index 0 Read FincompatibleAppVersion Write SetincompatibleAppVersion;
- Property incompatibleArchitecture : boolean Index 8 Read FincompatibleArchitecture Write SetincompatibleArchitecture;
- Property incompatibleDevice : boolean Index 16 Read FincompatibleDevice Write SetincompatibleDevice;
- end;
- TSkippedDetailClass = Class of TSkippedDetail;
-
- { --------------------------------------------------------------------
- TStackTrace
- --------------------------------------------------------------------}
-
- TStackTrace = Class(TGoogleBaseObject)
- Private
- Fexception : String;
- Protected
- //Property setters
- Procedure Setexception(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property exception : String Index 0 Read Fexception Write Setexception;
- end;
- TStackTraceClass = Class of TStackTrace;
-
- { --------------------------------------------------------------------
- TStatus
- --------------------------------------------------------------------}
-
- TStatus = Class(TGoogleBaseObject)
- Private
- Fcode : integer;
- Fdetails : TStatusTypedetailsArray;
- Fmessage : String;
- Protected
- //Property setters
- Procedure Setcode(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setdetails(AIndex : Integer; const AValue : TStatusTypedetailsArray); virtual;
- Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property code : integer Index 0 Read Fcode Write Setcode;
- Property details : TStatusTypedetailsArray Index 8 Read Fdetails Write Setdetails;
- Property message : String Index 16 Read Fmessage Write Setmessage;
- end;
- TStatusClass = Class of TStatus;
-
- { --------------------------------------------------------------------
- TStep
- --------------------------------------------------------------------}
-
- TStep = Class(TGoogleBaseObject)
- Private
- FcompletionTime : TTimestamp;
- FcreationTime : TTimestamp;
- Fdescription : String;
- FdeviceUsageDuration : TDuration;
- FdimensionValue : TStepTypedimensionValueArray;
- FhasImages : boolean;
- Flabels : TStepTypelabelsArray;
- Fname : String;
- Foutcome : TOutcome;
- FrunDuration : TDuration;
- Fstate : String;
- FstepId : String;
- FtestExecutionStep : TTestExecutionStep;
- FtoolExecutionStep : TToolExecutionStep;
- Protected
- //Property setters
- Procedure SetcompletionTime(AIndex : Integer; const AValue : TTimestamp); virtual;
- Procedure SetcreationTime(AIndex : Integer; const AValue : TTimestamp); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdeviceUsageDuration(AIndex : Integer; const AValue : TDuration); virtual;
- Procedure SetdimensionValue(AIndex : Integer; const AValue : TStepTypedimensionValueArray); virtual;
- Procedure SethasImages(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setlabels(AIndex : Integer; const AValue : TStepTypelabelsArray); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Setoutcome(AIndex : Integer; const AValue : TOutcome); virtual;
- Procedure SetrunDuration(AIndex : Integer; const AValue : TDuration); virtual;
- Procedure Setstate(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstepId(AIndex : Integer; const AValue : String); virtual;
- Procedure SettestExecutionStep(AIndex : Integer; const AValue : TTestExecutionStep); virtual;
- Procedure SettoolExecutionStep(AIndex : Integer; const AValue : TToolExecutionStep); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property completionTime : TTimestamp Index 0 Read FcompletionTime Write SetcompletionTime;
- Property creationTime : TTimestamp Index 8 Read FcreationTime Write SetcreationTime;
- Property description : String Index 16 Read Fdescription Write Setdescription;
- Property deviceUsageDuration : TDuration Index 24 Read FdeviceUsageDuration Write SetdeviceUsageDuration;
- Property dimensionValue : TStepTypedimensionValueArray Index 32 Read FdimensionValue Write SetdimensionValue;
- Property hasImages : boolean Index 40 Read FhasImages Write SethasImages;
- Property labels : TStepTypelabelsArray Index 48 Read Flabels Write Setlabels;
- Property name : String Index 56 Read Fname Write Setname;
- Property outcome : TOutcome Index 64 Read Foutcome Write Setoutcome;
- Property runDuration : TDuration Index 72 Read FrunDuration Write SetrunDuration;
- Property state : String Index 80 Read Fstate Write Setstate;
- Property stepId : String Index 88 Read FstepId Write SetstepId;
- Property testExecutionStep : TTestExecutionStep Index 96 Read FtestExecutionStep Write SettestExecutionStep;
- Property toolExecutionStep : TToolExecutionStep Index 104 Read FtoolExecutionStep Write SettoolExecutionStep;
- end;
- TStepClass = Class of TStep;
-
- { --------------------------------------------------------------------
- TStepDimensionValueEntry
- --------------------------------------------------------------------}
-
- TStepDimensionValueEntry = Class(TGoogleBaseObject)
- Private
- Fkey : String;
- Fvalue : String;
- Protected
- //Property setters
- Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property key : String Index 0 Read Fkey Write Setkey;
- Property value : String Index 8 Read Fvalue Write Setvalue;
- end;
- TStepDimensionValueEntryClass = Class of TStepDimensionValueEntry;
-
- { --------------------------------------------------------------------
- TStepLabelsEntry
- --------------------------------------------------------------------}
-
- TStepLabelsEntry = Class(TGoogleBaseObject)
- Private
- Fkey : String;
- Fvalue : String;
- Protected
- //Property setters
- Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
- Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property key : String Index 0 Read Fkey Write Setkey;
- Property value : String Index 8 Read Fvalue Write Setvalue;
- end;
- TStepLabelsEntryClass = Class of TStepLabelsEntry;
-
- { --------------------------------------------------------------------
- TSuccessDetail
- --------------------------------------------------------------------}
-
- TSuccessDetail = Class(TGoogleBaseObject)
- Private
- FotherNativeCrash : boolean;
- Protected
- //Property setters
- Procedure SetotherNativeCrash(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property otherNativeCrash : boolean Index 0 Read FotherNativeCrash Write SetotherNativeCrash;
- end;
- TSuccessDetailClass = Class of TSuccessDetail;
-
- { --------------------------------------------------------------------
- TTestCaseReference
- --------------------------------------------------------------------}
-
- TTestCaseReference = Class(TGoogleBaseObject)
- Private
- FclassName : String;
- Fname : String;
- FtestSuiteName : String;
- Protected
- //Property setters
- Procedure SetclassName(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SettestSuiteName(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property className : String Index 0 Read FclassName Write SetclassName;
- Property name : String Index 8 Read Fname Write Setname;
- Property testSuiteName : String Index 16 Read FtestSuiteName Write SettestSuiteName;
- end;
- TTestCaseReferenceClass = Class of TTestCaseReference;
-
- { --------------------------------------------------------------------
- TTestExecutionStep
- --------------------------------------------------------------------}
-
- TTestExecutionStep = Class(TGoogleBaseObject)
- Private
- FtestIssues : TTestExecutionStepTypetestIssuesArray;
- FtestSuiteOverviews : TTestExecutionStepTypetestSuiteOverviewsArray;
- FtestTiming : TTestTiming;
- FtoolExecution : TToolExecution;
- Protected
- //Property setters
- Procedure SettestIssues(AIndex : Integer; const AValue : TTestExecutionStepTypetestIssuesArray); virtual;
- Procedure SettestSuiteOverviews(AIndex : Integer; const AValue : TTestExecutionStepTypetestSuiteOverviewsArray); virtual;
- Procedure SettestTiming(AIndex : Integer; const AValue : TTestTiming); virtual;
- Procedure SettoolExecution(AIndex : Integer; const AValue : TToolExecution); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property testIssues : TTestExecutionStepTypetestIssuesArray Index 0 Read FtestIssues Write SettestIssues;
- Property testSuiteOverviews : TTestExecutionStepTypetestSuiteOverviewsArray Index 8 Read FtestSuiteOverviews Write SettestSuiteOverviews;
- Property testTiming : TTestTiming Index 16 Read FtestTiming Write SettestTiming;
- Property toolExecution : TToolExecution Index 24 Read FtoolExecution Write SettoolExecution;
- end;
- TTestExecutionStepClass = Class of TTestExecutionStep;
-
- { --------------------------------------------------------------------
- TTestIssue
- --------------------------------------------------------------------}
-
- TTestIssue = Class(TGoogleBaseObject)
- Private
- FerrorMessage : String;
- FstackTrace : TStackTrace;
- Protected
- //Property setters
- Procedure SeterrorMessage(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstackTrace(AIndex : Integer; const AValue : TStackTrace); virtual;
- Public
- Published
- Property errorMessage : String Index 0 Read FerrorMessage Write SeterrorMessage;
- Property stackTrace : TStackTrace Index 8 Read FstackTrace Write SetstackTrace;
- end;
- TTestIssueClass = Class of TTestIssue;
-
- { --------------------------------------------------------------------
- TTestSuiteOverview
- --------------------------------------------------------------------}
-
- TTestSuiteOverview = Class(TGoogleBaseObject)
- Private
- FerrorCount : integer;
- FfailureCount : integer;
- Fname : String;
- FskippedCount : integer;
- FtotalCount : integer;
- FxmlSource : TFileReference;
- Protected
- //Property setters
- Procedure SeterrorCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetfailureCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetskippedCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SettotalCount(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetxmlSource(AIndex : Integer; const AValue : TFileReference); virtual;
- Public
- Published
- Property errorCount : integer Index 0 Read FerrorCount Write SeterrorCount;
- Property failureCount : integer Index 8 Read FfailureCount Write SetfailureCount;
- Property name : String Index 16 Read Fname Write Setname;
- Property skippedCount : integer Index 24 Read FskippedCount Write SetskippedCount;
- Property totalCount : integer Index 32 Read FtotalCount Write SettotalCount;
- Property xmlSource : TFileReference Index 40 Read FxmlSource Write SetxmlSource;
- end;
- TTestSuiteOverviewClass = Class of TTestSuiteOverview;
-
- { --------------------------------------------------------------------
- TTestTiming
- --------------------------------------------------------------------}
-
- TTestTiming = Class(TGoogleBaseObject)
- Private
- FtestProcessDuration : TDuration;
- Protected
- //Property setters
- Procedure SettestProcessDuration(AIndex : Integer; const AValue : TDuration); virtual;
- Public
- Published
- Property testProcessDuration : TDuration Index 0 Read FtestProcessDuration Write SettestProcessDuration;
- end;
- TTestTimingClass = Class of TTestTiming;
-
- { --------------------------------------------------------------------
- TThumbnail
- --------------------------------------------------------------------}
-
- TThumbnail = Class(TGoogleBaseObject)
- Private
- FcontentType : String;
- Fdata : String;
- FheightPx : integer;
- FwidthPx : integer;
- Protected
- //Property setters
- Procedure SetcontentType(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdata(AIndex : Integer; const AValue : String); virtual;
- Procedure SetheightPx(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetwidthPx(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property contentType : String Index 0 Read FcontentType Write SetcontentType;
- Property data : String Index 8 Read Fdata Write Setdata;
- Property heightPx : integer Index 16 Read FheightPx Write SetheightPx;
- Property widthPx : integer Index 24 Read FwidthPx Write SetwidthPx;
- end;
- TThumbnailClass = Class of TThumbnail;
-
- { --------------------------------------------------------------------
- TTimestamp
- --------------------------------------------------------------------}
-
- TTimestamp = Class(TGoogleBaseObject)
- Private
- Fnanos : integer;
- Fseconds : String;
- Protected
- //Property setters
- Procedure Setnanos(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setseconds(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property nanos : integer Index 0 Read Fnanos Write Setnanos;
- Property seconds : String Index 8 Read Fseconds Write Setseconds;
- end;
- TTimestampClass = Class of TTimestamp;
-
- { --------------------------------------------------------------------
- TToolExecution
- --------------------------------------------------------------------}
-
- TToolExecution = Class(TGoogleBaseObject)
- Private
- FcommandLineArguments : TStringArray;
- FexitCode : TToolExitCode;
- FtoolLogs : TToolExecutionTypetoolLogsArray;
- FtoolOutputs : TToolExecutionTypetoolOutputsArray;
- Protected
- //Property setters
- Procedure SetcommandLineArguments(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetexitCode(AIndex : Integer; const AValue : TToolExitCode); virtual;
- Procedure SettoolLogs(AIndex : Integer; const AValue : TToolExecutionTypetoolLogsArray); virtual;
- Procedure SettoolOutputs(AIndex : Integer; const AValue : TToolExecutionTypetoolOutputsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property commandLineArguments : TStringArray Index 0 Read FcommandLineArguments Write SetcommandLineArguments;
- Property exitCode : TToolExitCode Index 8 Read FexitCode Write SetexitCode;
- Property toolLogs : TToolExecutionTypetoolLogsArray Index 16 Read FtoolLogs Write SettoolLogs;
- Property toolOutputs : TToolExecutionTypetoolOutputsArray Index 24 Read FtoolOutputs Write SettoolOutputs;
- end;
- TToolExecutionClass = Class of TToolExecution;
-
- { --------------------------------------------------------------------
- TToolExecutionStep
- --------------------------------------------------------------------}
-
- TToolExecutionStep = Class(TGoogleBaseObject)
- Private
- FtoolExecution : TToolExecution;
- Protected
- //Property setters
- Procedure SettoolExecution(AIndex : Integer; const AValue : TToolExecution); virtual;
- Public
- Published
- Property toolExecution : TToolExecution Index 0 Read FtoolExecution Write SettoolExecution;
- end;
- TToolExecutionStepClass = Class of TToolExecutionStep;
-
- { --------------------------------------------------------------------
- TToolExitCode
- --------------------------------------------------------------------}
-
- TToolExitCode = Class(TGoogleBaseObject)
- Private
- Fnumber : integer;
- Protected
- //Property setters
- Procedure Setnumber(AIndex : Integer; const AValue : integer); virtual;
- Public
- Published
- Property number : integer Index 0 Read Fnumber Write Setnumber;
- end;
- TToolExitCodeClass = Class of TToolExitCode;
-
- { --------------------------------------------------------------------
- TToolOutputReference
- --------------------------------------------------------------------}
-
- TToolOutputReference = Class(TGoogleBaseObject)
- Private
- FcreationTime : TTimestamp;
- Foutput : TFileReference;
- FtestCase : TTestCaseReference;
- Protected
- //Property setters
- Procedure SetcreationTime(AIndex : Integer; const AValue : TTimestamp); virtual;
- Procedure Setoutput(AIndex : Integer; const AValue : TFileReference); virtual;
- Procedure SettestCase(AIndex : Integer; const AValue : TTestCaseReference); virtual;
- Public
- Published
- Property creationTime : TTimestamp Index 0 Read FcreationTime Write SetcreationTime;
- Property output : TFileReference Index 8 Read Foutput Write Setoutput;
- Property testCase : TTestCaseReference Index 16 Read FtestCase Write SettestCase;
- end;
- TToolOutputReferenceClass = Class of TToolOutputReference;
-
- { --------------------------------------------------------------------
- TProjectsHistoriesExecutionsStepsThumbnailsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TProjectsHistoriesExecutionsStepsThumbnailsResource, method List
-
- TProjectsHistoriesExecutionsStepsThumbnailsListOptions = Record
- pageSize : integer;
- pageToken : String;
- end;
-
- TProjectsHistoriesExecutionsStepsThumbnailsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(executionId: string; historyId: string; projectId: string; stepId: string; AQuery : string = '') : TListStepThumbnailsResponse;
- Function List(executionId: string; historyId: string; projectId: string; stepId: string; AQuery : TProjectsHistoriesExecutionsStepsThumbnailslistOptions) : TListStepThumbnailsResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TProjectsHistoriesExecutionsStepsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TProjectsHistoriesExecutionsStepsResource, method Create
-
- TProjectsHistoriesExecutionsStepsCreateOptions = Record
- requestId : String;
- end;
-
-
- //Optional query Options for TProjectsHistoriesExecutionsStepsResource, method List
-
- TProjectsHistoriesExecutionsStepsListOptions = Record
- pageSize : integer;
- pageToken : String;
- end;
-
-
- //Optional query Options for TProjectsHistoriesExecutionsStepsResource, method Patch
-
- TProjectsHistoriesExecutionsStepsPatchOptions = Record
- requestId : String;
- end;
-
- TProjectsHistoriesExecutionsStepsResource = Class(TGoogleResource)
- Private
- FThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- Function GetThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Create(executionId: string; historyId: string; projectId: string; aStep : TStep; AQuery : string = '') : TStep;overload;
- Function Create(executionId: string; historyId: string; projectId: string; aStep : TStep; AQuery : TProjectsHistoriesExecutionsStepscreateOptions) : TStep;overload;
- Function Get(executionId: string; historyId: string; projectId: string; stepId: string) : TStep;
- Function List(executionId: string; historyId: string; projectId: string; AQuery : string = '') : TListStepsResponse;
- Function List(executionId: string; historyId: string; projectId: string; AQuery : TProjectsHistoriesExecutionsStepslistOptions) : TListStepsResponse;
- Function Patch(executionId: string; historyId: string; projectId: string; stepId: string; aStep : TStep; AQuery : string = '') : TStep;
- Function Patch(executionId: string; historyId: string; projectId: string; stepId: string; aStep : TStep; AQuery : TProjectsHistoriesExecutionsStepspatchOptions) : TStep;
- Function PublishXunitXmlFiles(executionId: string; historyId: string; projectId: string; stepId: string; aPublishXunitXmlFilesRequest : TPublishXunitXmlFilesRequest) : TStep;
- Function CreateThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Property ThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource Read GetThumbnailsInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TProjectsHistoriesExecutionsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TProjectsHistoriesExecutionsResource, method Create
-
- TProjectsHistoriesExecutionsCreateOptions = Record
- requestId : String;
- end;
-
-
- //Optional query Options for TProjectsHistoriesExecutionsResource, method List
-
- TProjectsHistoriesExecutionsListOptions = Record
- pageSize : integer;
- pageToken : String;
- end;
-
-
- //Optional query Options for TProjectsHistoriesExecutionsResource, method Patch
-
- TProjectsHistoriesExecutionsPatchOptions = Record
- requestId : String;
- end;
-
- TProjectsHistoriesExecutionsResource = Class(TGoogleResource)
- Private
- FStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- FStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- Function GetStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;
- Function GetStepsInstance : TProjectsHistoriesExecutionsStepsResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Create(historyId: string; projectId: string; aExecution : TExecution; AQuery : string = '') : TExecution;overload;
- Function Create(historyId: string; projectId: string; aExecution : TExecution; AQuery : TProjectsHistoriesExecutionscreateOptions) : TExecution;overload;
- Function Get(executionId: string; historyId: string; projectId: string) : TExecution;
- Function List(historyId: string; projectId: string; AQuery : string = '') : TListExecutionsResponse;
- Function List(historyId: string; projectId: string; AQuery : TProjectsHistoriesExecutionslistOptions) : TListExecutionsResponse;
- Function Patch(executionId: string; historyId: string; projectId: string; aExecution : TExecution; AQuery : string = '') : TExecution;
- Function Patch(executionId: string; historyId: string; projectId: string; aExecution : TExecution; AQuery : TProjectsHistoriesExecutionspatchOptions) : TExecution;
- Function CreateStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateStepsResource : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Property StepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource Read GetStepsThumbnailsInstance;
- Property StepsResource : TProjectsHistoriesExecutionsStepsResource Read GetStepsInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TProjectsHistoriesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TProjectsHistoriesResource, method Create
-
- TProjectsHistoriesCreateOptions = Record
- requestId : String;
- end;
-
-
- //Optional query Options for TProjectsHistoriesResource, method List
-
- TProjectsHistoriesListOptions = Record
- filterByName : String;
- pageSize : integer;
- pageToken : String;
- end;
-
- TProjectsHistoriesResource = Class(TGoogleResource)
- Private
- FExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- FExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- FExecutionsInstance : TProjectsHistoriesExecutionsResource;
- Function GetExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;
- Function GetExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;virtual;
- Function GetExecutionsInstance : TProjectsHistoriesExecutionsResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Create(projectId: string; aHistory : THistory; AQuery : string = '') : THistory;overload;
- Function Create(projectId: string; aHistory : THistory; AQuery : TProjectsHistoriescreateOptions) : THistory;overload;
- Function Get(historyId: string; projectId: string) : THistory;
- Function List(projectId: string; AQuery : string = '') : TListHistoriesResponse;
- Function List(projectId: string; AQuery : TProjectsHistorieslistOptions) : TListHistoriesResponse;
- Function CreateExecutionsStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateExecutionsStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateExecutionsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsResource;virtual;overload;
- Function CreateExecutionsResource : TProjectsHistoriesExecutionsResource;virtual;overload;
- Property ExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource Read GetExecutionsStepsThumbnailsInstance;
- Property ExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource Read GetExecutionsStepsInstance;
- Property ExecutionsResource : TProjectsHistoriesExecutionsResource Read GetExecutionsInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TProjectsResource
- --------------------------------------------------------------------}
-
- TProjectsResource = Class(TGoogleResource)
- Private
- FHistoriesExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- FHistoriesExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- FHistoriesExecutionsInstance : TProjectsHistoriesExecutionsResource;
- FHistoriesInstance : TProjectsHistoriesResource;
- Function GetHistoriesExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;
- Function GetHistoriesExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;virtual;
- Function GetHistoriesExecutionsInstance : TProjectsHistoriesExecutionsResource;virtual;
- Function GetHistoriesInstance : TProjectsHistoriesResource;virtual;
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function GetSettings(projectId: string) : TProjectSettings;
- Function InitializeSettings(projectId: string) : TProjectSettings;
- Function CreateHistoriesExecutionsStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateHistoriesExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateHistoriesExecutionsStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateHistoriesExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateHistoriesExecutionsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsResource;virtual;overload;
- Function CreateHistoriesExecutionsResource : TProjectsHistoriesExecutionsResource;virtual;overload;
- Function CreateHistoriesResource(AOwner : TComponent) : TProjectsHistoriesResource;virtual;overload;
- Function CreateHistoriesResource : TProjectsHistoriesResource;virtual;overload;
- Property HistoriesExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource Read GetHistoriesExecutionsStepsThumbnailsInstance;
- Property HistoriesExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource Read GetHistoriesExecutionsStepsInstance;
- Property HistoriesExecutionsResource : TProjectsHistoriesExecutionsResource Read GetHistoriesExecutionsInstance;
- Property HistoriesResource : TProjectsHistoriesResource Read GetHistoriesInstance;
- end;
-
-
- { --------------------------------------------------------------------
- TToolresultsAPI
- --------------------------------------------------------------------}
-
- TToolresultsAPI = Class(TGoogleAPI)
- Private
- FProjectsHistoriesExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- FProjectsHistoriesExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- FProjectsHistoriesExecutionsInstance : TProjectsHistoriesExecutionsResource;
- FProjectsHistoriesInstance : TProjectsHistoriesResource;
- FProjectsInstance : TProjectsResource;
- Function GetProjectsHistoriesExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;
- Function GetProjectsHistoriesExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;virtual;
- Function GetProjectsHistoriesExecutionsInstance : TProjectsHistoriesExecutionsResource;virtual;
- Function GetProjectsHistoriesInstance : TProjectsHistoriesResource;virtual;
- Function GetProjectsInstance : TProjectsResource;virtual;
- Public
- //Override class functions with API info
- Class Function APIName : String; override;
- Class Function APIVersion : String; override;
- Class Function APIRevision : String; override;
- Class Function APIID : String; override;
- Class Function APITitle : String; override;
- Class Function APIDescription : String; override;
- Class Function APIOwnerDomain : String; override;
- Class Function APIOwnerName : String; override;
- Class Function APIIcon16 : String; override;
- Class Function APIIcon32 : String; override;
- Class Function APIdocumentationLink : String; override;
- Class Function APIrootUrl : string; override;
- Class Function APIbasePath : string;override;
- Class Function APIbaseURL : String;override;
- Class Function APIProtocol : string;override;
- Class Function APIservicePath : string;override;
- Class Function APIbatchPath : String;override;
- Class Function APIAuthScopes : TScopeInfoArray;override;
- Class Function APINeedsAuth : Boolean;override;
- Class Procedure RegisterAPIResources; override;
- //Add create function for resources
- Function CreateProjectsHistoriesExecutionsStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateProjectsHistoriesExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;virtual;overload;
- Function CreateProjectsHistoriesExecutionsStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateProjectsHistoriesExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource;virtual;overload;
- Function CreateProjectsHistoriesExecutionsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsResource;virtual;overload;
- Function CreateProjectsHistoriesExecutionsResource : TProjectsHistoriesExecutionsResource;virtual;overload;
- Function CreateProjectsHistoriesResource(AOwner : TComponent) : TProjectsHistoriesResource;virtual;overload;
- Function CreateProjectsHistoriesResource : TProjectsHistoriesResource;virtual;overload;
- Function CreateProjectsResource(AOwner : TComponent) : TProjectsResource;virtual;overload;
- Function CreateProjectsResource : TProjectsResource;virtual;overload;
- //Add default on-demand instances for resources
- Property ProjectsHistoriesExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource Read GetProjectsHistoriesExecutionsStepsThumbnailsInstance;
- Property ProjectsHistoriesExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource Read GetProjectsHistoriesExecutionsStepsInstance;
- Property ProjectsHistoriesExecutionsResource : TProjectsHistoriesExecutionsResource Read GetProjectsHistoriesExecutionsInstance;
- Property ProjectsHistoriesResource : TProjectsHistoriesResource Read GetProjectsHistoriesInstance;
- Property ProjectsResource : TProjectsResource Read GetProjectsInstance;
- end;
- implementation
- { --------------------------------------------------------------------
- TAny
- --------------------------------------------------------------------}
- Procedure TAny.SettypeUrl(AIndex : Integer; const AValue : String);
- begin
- If (FtypeUrl=AValue) then exit;
- FtypeUrl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TAny.Setvalue(AIndex : Integer; const AValue : String);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDuration
- --------------------------------------------------------------------}
- Procedure TDuration.Setnanos(AIndex : Integer; const AValue : integer);
- begin
- If (Fnanos=AValue) then exit;
- Fnanos:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDuration.Setseconds(AIndex : Integer; const AValue : String);
- begin
- If (Fseconds=AValue) then exit;
- Fseconds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TExecution
- --------------------------------------------------------------------}
- Procedure TExecution.SetcompletionTime(AIndex : Integer; const AValue : TTimestamp);
- begin
- If (FcompletionTime=AValue) then exit;
- FcompletionTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExecution.SetcreationTime(AIndex : Integer; const AValue : TTimestamp);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExecution.SetexecutionId(AIndex : Integer; const AValue : String);
- begin
- If (FexecutionId=AValue) then exit;
- FexecutionId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExecution.Setoutcome(AIndex : Integer; const AValue : TOutcome);
- begin
- If (Foutcome=AValue) then exit;
- Foutcome:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExecution.Setstate(AIndex : Integer; const AValue : String);
- begin
- If (Fstate=AValue) then exit;
- Fstate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExecution.SettestExecutionMatrixId(AIndex : Integer; const AValue : String);
- begin
- If (FtestExecutionMatrixId=AValue) then exit;
- FtestExecutionMatrixId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFailureDetail
- --------------------------------------------------------------------}
- Procedure TFailureDetail.Setcrashed(AIndex : Integer; const AValue : boolean);
- begin
- If (Fcrashed=AValue) then exit;
- Fcrashed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFailureDetail.SetnotInstalled(AIndex : Integer; const AValue : boolean);
- begin
- If (FnotInstalled=AValue) then exit;
- FnotInstalled:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFailureDetail.SetotherNativeCrash(AIndex : Integer; const AValue : boolean);
- begin
- If (FotherNativeCrash=AValue) then exit;
- FotherNativeCrash:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFailureDetail.SettimedOut(AIndex : Integer; const AValue : boolean);
- begin
- If (FtimedOut=AValue) then exit;
- FtimedOut:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TFailureDetail.SetunableToCrawl(AIndex : Integer; const AValue : boolean);
- begin
- If (FunableToCrawl=AValue) then exit;
- FunableToCrawl:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TFileReference
- --------------------------------------------------------------------}
- Procedure TFileReference.SetfileUri(AIndex : Integer; const AValue : String);
- begin
- If (FfileUri=AValue) then exit;
- FfileUri:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- THistory
- --------------------------------------------------------------------}
- Procedure THistory.SetdisplayName(AIndex : Integer; const AValue : String);
- begin
- If (FdisplayName=AValue) then exit;
- FdisplayName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure THistory.SethistoryId(AIndex : Integer; const AValue : String);
- begin
- If (FhistoryId=AValue) then exit;
- FhistoryId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure THistory.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TImage
- --------------------------------------------------------------------}
- Procedure TImage.Seterror(AIndex : Integer; const AValue : TStatus);
- begin
- If (Ferror=AValue) then exit;
- Ferror:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImage.SetsourceImage(AIndex : Integer; const AValue : TToolOutputReference);
- begin
- If (FsourceImage=AValue) then exit;
- FsourceImage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImage.SetstepId(AIndex : Integer; const AValue : String);
- begin
- If (FstepId=AValue) then exit;
- FstepId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TImage.Setthumbnail(AIndex : Integer; const AValue : TThumbnail);
- begin
- If (Fthumbnail=AValue) then exit;
- Fthumbnail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TInconclusiveDetail
- --------------------------------------------------------------------}
- Procedure TInconclusiveDetail.SetabortedByUser(AIndex : Integer; const AValue : boolean);
- begin
- If (FabortedByUser=AValue) then exit;
- FabortedByUser:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInconclusiveDetail.SetinfrastructureFailure(AIndex : Integer; const AValue : boolean);
- begin
- If (FinfrastructureFailure=AValue) then exit;
- FinfrastructureFailure:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TInconclusiveDetail.SetnativeCrash(AIndex : Integer; const AValue : boolean);
- begin
- If (FnativeCrash=AValue) then exit;
- FnativeCrash:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TListExecutionsResponse
- --------------------------------------------------------------------}
- Procedure TListExecutionsResponse.Setexecutions(AIndex : Integer; const AValue : TListExecutionsResponseTypeexecutionsArray);
- begin
- If (Fexecutions=AValue) then exit;
- Fexecutions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TListExecutionsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TListExecutionsResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'executions' : SetLength(Fexecutions,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TListHistoriesResponse
- --------------------------------------------------------------------}
- Procedure TListHistoriesResponse.Sethistories(AIndex : Integer; const AValue : TListHistoriesResponseTypehistoriesArray);
- begin
- If (Fhistories=AValue) then exit;
- Fhistories:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TListHistoriesResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TListHistoriesResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'histories' : SetLength(Fhistories,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TListStepThumbnailsResponse
- --------------------------------------------------------------------}
- Procedure TListStepThumbnailsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TListStepThumbnailsResponse.Setthumbnails(AIndex : Integer; const AValue : TListStepThumbnailsResponseTypethumbnailsArray);
- begin
- If (Fthumbnails=AValue) then exit;
- Fthumbnails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TListStepThumbnailsResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'thumbnails' : SetLength(Fthumbnails,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TListStepsResponse
- --------------------------------------------------------------------}
- Procedure TListStepsResponse.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TListStepsResponse.Setsteps(AIndex : Integer; const AValue : TListStepsResponseTypestepsArray);
- begin
- If (Fsteps=AValue) then exit;
- Fsteps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TListStepsResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'steps' : SetLength(Fsteps,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TOutcome
- --------------------------------------------------------------------}
- Procedure TOutcome.SetfailureDetail(AIndex : Integer; const AValue : TFailureDetail);
- begin
- If (FfailureDetail=AValue) then exit;
- FfailureDetail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TOutcome.SetinconclusiveDetail(AIndex : Integer; const AValue : TInconclusiveDetail);
- begin
- If (FinconclusiveDetail=AValue) then exit;
- FinconclusiveDetail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TOutcome.SetskippedDetail(AIndex : Integer; const AValue : TSkippedDetail);
- begin
- If (FskippedDetail=AValue) then exit;
- FskippedDetail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TOutcome.SetsuccessDetail(AIndex : Integer; const AValue : TSuccessDetail);
- begin
- If (FsuccessDetail=AValue) then exit;
- FsuccessDetail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TOutcome.Setsummary(AIndex : Integer; const AValue : String);
- begin
- If (Fsummary=AValue) then exit;
- Fsummary:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TProjectSettings
- --------------------------------------------------------------------}
- Procedure TProjectSettings.SetdefaultBucket(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultBucket=AValue) then exit;
- FdefaultBucket:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectSettings.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TPublishXunitXmlFilesRequest
- --------------------------------------------------------------------}
- Procedure TPublishXunitXmlFilesRequest.SetxunitXmlFiles(AIndex : Integer; const AValue : TPublishXunitXmlFilesRequestTypexunitXmlFilesArray);
- begin
- If (FxunitXmlFiles=AValue) then exit;
- FxunitXmlFiles:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TPublishXunitXmlFilesRequest.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'xunitxmlfiles' : SetLength(FxunitXmlFiles,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TSkippedDetail
- --------------------------------------------------------------------}
- Procedure TSkippedDetail.SetincompatibleAppVersion(AIndex : Integer; const AValue : boolean);
- begin
- If (FincompatibleAppVersion=AValue) then exit;
- FincompatibleAppVersion:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSkippedDetail.SetincompatibleArchitecture(AIndex : Integer; const AValue : boolean);
- begin
- If (FincompatibleArchitecture=AValue) then exit;
- FincompatibleArchitecture:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TSkippedDetail.SetincompatibleDevice(AIndex : Integer; const AValue : boolean);
- begin
- If (FincompatibleDevice=AValue) then exit;
- FincompatibleDevice:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TStackTrace
- --------------------------------------------------------------------}
- Procedure TStackTrace.Setexception(AIndex : Integer; const AValue : String);
- begin
- If (Fexception=AValue) then exit;
- Fexception:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TStatus
- --------------------------------------------------------------------}
- Procedure TStatus.Setcode(AIndex : Integer; const AValue : integer);
- begin
- If (Fcode=AValue) then exit;
- Fcode:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStatus.Setdetails(AIndex : Integer; const AValue : TStatusTypedetailsArray);
- begin
- If (Fdetails=AValue) then exit;
- Fdetails:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStatus.Setmessage(AIndex : Integer; const AValue : String);
- begin
- If (Fmessage=AValue) then exit;
- Fmessage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TStatus.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'details' : SetLength(Fdetails,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TStep
- --------------------------------------------------------------------}
- Procedure TStep.SetcompletionTime(AIndex : Integer; const AValue : TTimestamp);
- begin
- If (FcompletionTime=AValue) then exit;
- FcompletionTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SetcreationTime(AIndex : Integer; const AValue : TTimestamp);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SetdeviceUsageDuration(AIndex : Integer; const AValue : TDuration);
- begin
- If (FdeviceUsageDuration=AValue) then exit;
- FdeviceUsageDuration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SetdimensionValue(AIndex : Integer; const AValue : TStepTypedimensionValueArray);
- begin
- If (FdimensionValue=AValue) then exit;
- FdimensionValue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SethasImages(AIndex : Integer; const AValue : boolean);
- begin
- If (FhasImages=AValue) then exit;
- FhasImages:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.Setlabels(AIndex : Integer; const AValue : TStepTypelabelsArray);
- begin
- If (Flabels=AValue) then exit;
- Flabels:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.Setoutcome(AIndex : Integer; const AValue : TOutcome);
- begin
- If (Foutcome=AValue) then exit;
- Foutcome:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SetrunDuration(AIndex : Integer; const AValue : TDuration);
- begin
- If (FrunDuration=AValue) then exit;
- FrunDuration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.Setstate(AIndex : Integer; const AValue : String);
- begin
- If (Fstate=AValue) then exit;
- Fstate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SetstepId(AIndex : Integer; const AValue : String);
- begin
- If (FstepId=AValue) then exit;
- FstepId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SettestExecutionStep(AIndex : Integer; const AValue : TTestExecutionStep);
- begin
- If (FtestExecutionStep=AValue) then exit;
- FtestExecutionStep:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStep.SettoolExecutionStep(AIndex : Integer; const AValue : TToolExecutionStep);
- begin
- If (FtoolExecutionStep=AValue) then exit;
- FtoolExecutionStep:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TStep.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'dimensionvalue' : SetLength(FdimensionValue,ALength);
- 'labels' : SetLength(Flabels,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TStepDimensionValueEntry
- --------------------------------------------------------------------}
- Procedure TStepDimensionValueEntry.Setkey(AIndex : Integer; const AValue : String);
- begin
- If (Fkey=AValue) then exit;
- Fkey:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStepDimensionValueEntry.Setvalue(AIndex : Integer; const AValue : String);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TStepLabelsEntry
- --------------------------------------------------------------------}
- Procedure TStepLabelsEntry.Setkey(AIndex : Integer; const AValue : String);
- begin
- If (Fkey=AValue) then exit;
- Fkey:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStepLabelsEntry.Setvalue(AIndex : Integer; const AValue : String);
- begin
- If (Fvalue=AValue) then exit;
- Fvalue:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TSuccessDetail
- --------------------------------------------------------------------}
- Procedure TSuccessDetail.SetotherNativeCrash(AIndex : Integer; const AValue : boolean);
- begin
- If (FotherNativeCrash=AValue) then exit;
- FotherNativeCrash:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTestCaseReference
- --------------------------------------------------------------------}
- Procedure TTestCaseReference.SetclassName(AIndex : Integer; const AValue : String);
- begin
- If (FclassName=AValue) then exit;
- FclassName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestCaseReference.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestCaseReference.SettestSuiteName(AIndex : Integer; const AValue : String);
- begin
- If (FtestSuiteName=AValue) then exit;
- FtestSuiteName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTestExecutionStep
- --------------------------------------------------------------------}
- Procedure TTestExecutionStep.SettestIssues(AIndex : Integer; const AValue : TTestExecutionStepTypetestIssuesArray);
- begin
- If (FtestIssues=AValue) then exit;
- FtestIssues:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestExecutionStep.SettestSuiteOverviews(AIndex : Integer; const AValue : TTestExecutionStepTypetestSuiteOverviewsArray);
- begin
- If (FtestSuiteOverviews=AValue) then exit;
- FtestSuiteOverviews:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestExecutionStep.SettestTiming(AIndex : Integer; const AValue : TTestTiming);
- begin
- If (FtestTiming=AValue) then exit;
- FtestTiming:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestExecutionStep.SettoolExecution(AIndex : Integer; const AValue : TToolExecution);
- begin
- If (FtoolExecution=AValue) then exit;
- FtoolExecution:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTestExecutionStep.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'testissues' : SetLength(FtestIssues,ALength);
- 'testsuiteoverviews' : SetLength(FtestSuiteOverviews,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTestIssue
- --------------------------------------------------------------------}
- Procedure TTestIssue.SeterrorMessage(AIndex : Integer; const AValue : String);
- begin
- If (FerrorMessage=AValue) then exit;
- FerrorMessage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestIssue.SetstackTrace(AIndex : Integer; const AValue : TStackTrace);
- begin
- If (FstackTrace=AValue) then exit;
- FstackTrace:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTestSuiteOverview
- --------------------------------------------------------------------}
- Procedure TTestSuiteOverview.SeterrorCount(AIndex : Integer; const AValue : integer);
- begin
- If (FerrorCount=AValue) then exit;
- FerrorCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestSuiteOverview.SetfailureCount(AIndex : Integer; const AValue : integer);
- begin
- If (FfailureCount=AValue) then exit;
- FfailureCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestSuiteOverview.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestSuiteOverview.SetskippedCount(AIndex : Integer; const AValue : integer);
- begin
- If (FskippedCount=AValue) then exit;
- FskippedCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestSuiteOverview.SettotalCount(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalCount=AValue) then exit;
- FtotalCount:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTestSuiteOverview.SetxmlSource(AIndex : Integer; const AValue : TFileReference);
- begin
- If (FxmlSource=AValue) then exit;
- FxmlSource:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTestTiming
- --------------------------------------------------------------------}
- Procedure TTestTiming.SettestProcessDuration(AIndex : Integer; const AValue : TDuration);
- begin
- If (FtestProcessDuration=AValue) then exit;
- FtestProcessDuration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TThumbnail
- --------------------------------------------------------------------}
- Procedure TThumbnail.SetcontentType(AIndex : Integer; const AValue : String);
- begin
- If (FcontentType=AValue) then exit;
- FcontentType:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnail.Setdata(AIndex : Integer; const AValue : String);
- begin
- If (Fdata=AValue) then exit;
- Fdata:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnail.SetheightPx(AIndex : Integer; const AValue : integer);
- begin
- If (FheightPx=AValue) then exit;
- FheightPx:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TThumbnail.SetwidthPx(AIndex : Integer; const AValue : integer);
- begin
- If (FwidthPx=AValue) then exit;
- FwidthPx:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTimestamp
- --------------------------------------------------------------------}
- Procedure TTimestamp.Setnanos(AIndex : Integer; const AValue : integer);
- begin
- If (Fnanos=AValue) then exit;
- Fnanos:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTimestamp.Setseconds(AIndex : Integer; const AValue : String);
- begin
- If (Fseconds=AValue) then exit;
- Fseconds:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TToolExecution
- --------------------------------------------------------------------}
- Procedure TToolExecution.SetcommandLineArguments(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FcommandLineArguments=AValue) then exit;
- FcommandLineArguments:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TToolExecution.SetexitCode(AIndex : Integer; const AValue : TToolExitCode);
- begin
- If (FexitCode=AValue) then exit;
- FexitCode:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TToolExecution.SettoolLogs(AIndex : Integer; const AValue : TToolExecutionTypetoolLogsArray);
- begin
- If (FtoolLogs=AValue) then exit;
- FtoolLogs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TToolExecution.SettoolOutputs(AIndex : Integer; const AValue : TToolExecutionTypetoolOutputsArray);
- begin
- If (FtoolOutputs=AValue) then exit;
- FtoolOutputs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TToolExecution.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'commandlinearguments' : SetLength(FcommandLineArguments,ALength);
- 'toollogs' : SetLength(FtoolLogs,ALength);
- 'tooloutputs' : SetLength(FtoolOutputs,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TToolExecutionStep
- --------------------------------------------------------------------}
- Procedure TToolExecutionStep.SettoolExecution(AIndex : Integer; const AValue : TToolExecution);
- begin
- If (FtoolExecution=AValue) then exit;
- FtoolExecution:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TToolExitCode
- --------------------------------------------------------------------}
- Procedure TToolExitCode.Setnumber(AIndex : Integer; const AValue : integer);
- begin
- If (Fnumber=AValue) then exit;
- Fnumber:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TToolOutputReference
- --------------------------------------------------------------------}
- Procedure TToolOutputReference.SetcreationTime(AIndex : Integer; const AValue : TTimestamp);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TToolOutputReference.Setoutput(AIndex : Integer; const AValue : TFileReference);
- begin
- If (Foutput=AValue) then exit;
- Foutput:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TToolOutputReference.SettestCase(AIndex : Integer; const AValue : TTestCaseReference);
- begin
- If (FtestCase=AValue) then exit;
- FtestCase:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TProjectsHistoriesExecutionsStepsThumbnailsResource
- --------------------------------------------------------------------}
- Class Function TProjectsHistoriesExecutionsStepsThumbnailsResource.ResourceName : String;
- begin
- Result:='thumbnails';
- end;
- Class Function TProjectsHistoriesExecutionsStepsThumbnailsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TtoolresultsAPI;
- end;
- Function TProjectsHistoriesExecutionsStepsThumbnailsResource.List(executionId: string; historyId: string; projectId: string; stepId: string; AQuery : string = '') : TListStepThumbnailsResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails';
- _Methodid = 'toolresults.projects.histories.executions.steps.thumbnails.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId,'stepId',stepId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListStepThumbnailsResponse) as TListStepThumbnailsResponse;
- end;
- Function TProjectsHistoriesExecutionsStepsThumbnailsResource.List(executionId: string; historyId: string; projectId: string; stepId: string; AQuery : TProjectsHistoriesExecutionsStepsThumbnailslistOptions) : TListStepThumbnailsResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'pageSize',AQuery.pageSize);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(executionId,historyId,projectId,stepId,_Q);
- end;
- { --------------------------------------------------------------------
- TProjectsHistoriesExecutionsStepsResource
- --------------------------------------------------------------------}
- Class Function TProjectsHistoriesExecutionsStepsResource.ResourceName : String;
- begin
- Result:='steps';
- end;
- Class Function TProjectsHistoriesExecutionsStepsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TtoolresultsAPI;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.Create(executionId: string; historyId: string; projectId: string; aStep : TStep; AQuery : string = '') : TStep;
- Const
- _HTTPMethod = 'POST';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}/steps';
- _Methodid = 'toolresults.projects.histories.executions.steps.create';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aStep,TStep) as TStep;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.Create(executionId: string; historyId: string; projectId: string; aStep : TStep; AQuery : TProjectsHistoriesExecutionsStepscreateOptions) : TStep;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'requestId',AQuery.requestId);
- Result:=Create(executionId,historyId,projectId,aStep,_Q);
- end;
- Function TProjectsHistoriesExecutionsStepsResource.Get(executionId: string; historyId: string; projectId: string; stepId: string) : TStep;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}';
- _Methodid = 'toolresults.projects.histories.executions.steps.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId,'stepId',stepId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TStep) as TStep;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.List(executionId: string; historyId: string; projectId: string; AQuery : string = '') : TListStepsResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}/steps';
- _Methodid = 'toolresults.projects.histories.executions.steps.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListStepsResponse) as TListStepsResponse;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.List(executionId: string; historyId: string; projectId: string; AQuery : TProjectsHistoriesExecutionsStepslistOptions) : TListStepsResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'pageSize',AQuery.pageSize);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(executionId,historyId,projectId,_Q);
- end;
- Function TProjectsHistoriesExecutionsStepsResource.Patch(executionId: string; historyId: string; projectId: string; stepId: string; aStep : TStep; AQuery : string = '') : TStep;
- Const
- _HTTPMethod = 'PATCH';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}';
- _Methodid = 'toolresults.projects.histories.executions.steps.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId,'stepId',stepId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aStep,TStep) as TStep;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.Patch(executionId: string; historyId: string; projectId: string; stepId: string; aStep : TStep; AQuery : TProjectsHistoriesExecutionsStepspatchOptions) : TStep;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'requestId',AQuery.requestId);
- Result:=Patch(executionId,historyId,projectId,stepId,aStep,_Q);
- end;
- Function TProjectsHistoriesExecutionsStepsResource.PublishXunitXmlFiles(executionId: string; historyId: string; projectId: string; stepId: string; aPublishXunitXmlFilesRequest : TPublishXunitXmlFilesRequest) : TStep;
- Const
- _HTTPMethod = 'POST';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles';
- _Methodid = 'toolresults.projects.histories.executions.steps.publishXunitXmlFiles';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId,'stepId',stepId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aPublishXunitXmlFilesRequest,TStep) as TStep;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.GetThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- if (FThumbnailsInstance=Nil) then
- FThumbnailsInstance:=CreateThumbnailsResource;
- Result:=FThumbnailsInstance;
- end;
- Function TProjectsHistoriesExecutionsStepsResource.CreateThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=CreateThumbnailsResource(Self);
- end;
- Function TProjectsHistoriesExecutionsStepsResource.CreateThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsThumbnailsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TProjectsHistoriesExecutionsResource
- --------------------------------------------------------------------}
- Class Function TProjectsHistoriesExecutionsResource.ResourceName : String;
- begin
- Result:='executions';
- end;
- Class Function TProjectsHistoriesExecutionsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TtoolresultsAPI;
- end;
- Function TProjectsHistoriesExecutionsResource.Create(historyId: string; projectId: string; aExecution : TExecution; AQuery : string = '') : TExecution;
- Const
- _HTTPMethod = 'POST';
- _Path = '{projectId}/histories/{historyId}/executions';
- _Methodid = 'toolresults.projects.histories.executions.create';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aExecution,TExecution) as TExecution;
- end;
- Function TProjectsHistoriesExecutionsResource.Create(historyId: string; projectId: string; aExecution : TExecution; AQuery : TProjectsHistoriesExecutionscreateOptions) : TExecution;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'requestId',AQuery.requestId);
- Result:=Create(historyId,projectId,aExecution,_Q);
- end;
- Function TProjectsHistoriesExecutionsResource.Get(executionId: string; historyId: string; projectId: string) : TExecution;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}';
- _Methodid = 'toolresults.projects.histories.executions.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TExecution) as TExecution;
- end;
- Function TProjectsHistoriesExecutionsResource.List(historyId: string; projectId: string; AQuery : string = '') : TListExecutionsResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories/{historyId}/executions';
- _Methodid = 'toolresults.projects.histories.executions.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListExecutionsResponse) as TListExecutionsResponse;
- end;
- Function TProjectsHistoriesExecutionsResource.List(historyId: string; projectId: string; AQuery : TProjectsHistoriesExecutionslistOptions) : TListExecutionsResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'pageSize',AQuery.pageSize);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(historyId,projectId,_Q);
- end;
- Function TProjectsHistoriesExecutionsResource.Patch(executionId: string; historyId: string; projectId: string; aExecution : TExecution; AQuery : string = '') : TExecution;
- Const
- _HTTPMethod = 'PATCH';
- _Path = '{projectId}/histories/{historyId}/executions/{executionId}';
- _Methodid = 'toolresults.projects.histories.executions.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['executionId',executionId,'historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aExecution,TExecution) as TExecution;
- end;
- Function TProjectsHistoriesExecutionsResource.Patch(executionId: string; historyId: string; projectId: string; aExecution : TExecution; AQuery : TProjectsHistoriesExecutionspatchOptions) : TExecution;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'requestId',AQuery.requestId);
- Result:=Patch(executionId,historyId,projectId,aExecution,_Q);
- end;
- Function TProjectsHistoriesExecutionsResource.GetStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- if (FStepsThumbnailsInstance=Nil) then
- FStepsThumbnailsInstance:=CreateStepsThumbnailsResource;
- Result:=FStepsThumbnailsInstance;
- end;
- Function TProjectsHistoriesExecutionsResource.CreateStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=CreateStepsThumbnailsResource(Self);
- end;
- Function TProjectsHistoriesExecutionsResource.CreateStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsThumbnailsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TProjectsHistoriesExecutionsResource.GetStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- begin
- if (FStepsInstance=Nil) then
- FStepsInstance:=CreateStepsResource;
- Result:=FStepsInstance;
- end;
- Function TProjectsHistoriesExecutionsResource.CreateStepsResource : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=CreateStepsResource(Self);
- end;
- Function TProjectsHistoriesExecutionsResource.CreateStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TProjectsHistoriesResource
- --------------------------------------------------------------------}
- Class Function TProjectsHistoriesResource.ResourceName : String;
- begin
- Result:='histories';
- end;
- Class Function TProjectsHistoriesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TtoolresultsAPI;
- end;
- Function TProjectsHistoriesResource.Create(projectId: string; aHistory : THistory; AQuery : string = '') : THistory;
- Const
- _HTTPMethod = 'POST';
- _Path = '{projectId}/histories';
- _Methodid = 'toolresults.projects.histories.create';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,aHistory,THistory) as THistory;
- end;
- Function TProjectsHistoriesResource.Create(projectId: string; aHistory : THistory; AQuery : TProjectsHistoriescreateOptions) : THistory;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'requestId',AQuery.requestId);
- Result:=Create(projectId,aHistory,_Q);
- end;
- Function TProjectsHistoriesResource.Get(historyId: string; projectId: string) : THistory;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories/{historyId}';
- _Methodid = 'toolresults.projects.histories.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['historyId',historyId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,THistory) as THistory;
- end;
- Function TProjectsHistoriesResource.List(projectId: string; AQuery : string = '') : TListHistoriesResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/histories';
- _Methodid = 'toolresults.projects.histories.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TListHistoriesResponse) as TListHistoriesResponse;
- end;
- Function TProjectsHistoriesResource.List(projectId: string; AQuery : TProjectsHistorieslistOptions) : TListHistoriesResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'filterByName',AQuery.filterByName);
- AddToQuery(_Q,'pageSize',AQuery.pageSize);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(projectId,_Q);
- end;
- Function TProjectsHistoriesResource.GetExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- if (FExecutionsStepsThumbnailsInstance=Nil) then
- FExecutionsStepsThumbnailsInstance:=CreateExecutionsStepsThumbnailsResource;
- Result:=FExecutionsStepsThumbnailsInstance;
- end;
- Function TProjectsHistoriesResource.CreateExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=CreateExecutionsStepsThumbnailsResource(Self);
- end;
- Function TProjectsHistoriesResource.CreateExecutionsStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsThumbnailsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TProjectsHistoriesResource.GetExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- begin
- if (FExecutionsStepsInstance=Nil) then
- FExecutionsStepsInstance:=CreateExecutionsStepsResource;
- Result:=FExecutionsStepsInstance;
- end;
- Function TProjectsHistoriesResource.CreateExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=CreateExecutionsStepsResource(Self);
- end;
- Function TProjectsHistoriesResource.CreateExecutionsStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TProjectsHistoriesResource.GetExecutionsInstance : TProjectsHistoriesExecutionsResource;
- begin
- if (FExecutionsInstance=Nil) then
- FExecutionsInstance:=CreateExecutionsResource;
- Result:=FExecutionsInstance;
- end;
- Function TProjectsHistoriesResource.CreateExecutionsResource : TProjectsHistoriesExecutionsResource;
- begin
- Result:=CreateExecutionsResource(Self);
- end;
- Function TProjectsHistoriesResource.CreateExecutionsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsResource;
- begin
- Result:=TProjectsHistoriesExecutionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TProjectsResource
- --------------------------------------------------------------------}
- Class Function TProjectsResource.ResourceName : String;
- begin
- Result:='projects';
- end;
- Class Function TProjectsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TtoolresultsAPI;
- end;
- Function TProjectsResource.GetSettings(projectId: string) : TProjectSettings;
- Const
- _HTTPMethod = 'GET';
- _Path = '{projectId}/settings';
- _Methodid = 'toolresults.projects.getSettings';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TProjectSettings) as TProjectSettings;
- end;
- Function TProjectsResource.InitializeSettings(projectId: string) : TProjectSettings;
- Const
- _HTTPMethod = 'POST';
- _Path = '{projectId}:initializeSettings';
- _Methodid = 'toolresults.projects.initializeSettings';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TProjectSettings) as TProjectSettings;
- end;
- Function TProjectsResource.GetHistoriesExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- if (FHistoriesExecutionsStepsThumbnailsInstance=Nil) then
- FHistoriesExecutionsStepsThumbnailsInstance:=CreateHistoriesExecutionsStepsThumbnailsResource;
- Result:=FHistoriesExecutionsStepsThumbnailsInstance;
- end;
- Function TProjectsResource.CreateHistoriesExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=CreateHistoriesExecutionsStepsThumbnailsResource(Self);
- end;
- Function TProjectsResource.CreateHistoriesExecutionsStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsThumbnailsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TProjectsResource.GetHistoriesExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- begin
- if (FHistoriesExecutionsStepsInstance=Nil) then
- FHistoriesExecutionsStepsInstance:=CreateHistoriesExecutionsStepsResource;
- Result:=FHistoriesExecutionsStepsInstance;
- end;
- Function TProjectsResource.CreateHistoriesExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=CreateHistoriesExecutionsStepsResource(Self);
- end;
- Function TProjectsResource.CreateHistoriesExecutionsStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TProjectsResource.GetHistoriesExecutionsInstance : TProjectsHistoriesExecutionsResource;
- begin
- if (FHistoriesExecutionsInstance=Nil) then
- FHistoriesExecutionsInstance:=CreateHistoriesExecutionsResource;
- Result:=FHistoriesExecutionsInstance;
- end;
- Function TProjectsResource.CreateHistoriesExecutionsResource : TProjectsHistoriesExecutionsResource;
- begin
- Result:=CreateHistoriesExecutionsResource(Self);
- end;
- Function TProjectsResource.CreateHistoriesExecutionsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsResource;
- begin
- Result:=TProjectsHistoriesExecutionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TProjectsResource.GetHistoriesInstance : TProjectsHistoriesResource;
- begin
- if (FHistoriesInstance=Nil) then
- FHistoriesInstance:=CreateHistoriesResource;
- Result:=FHistoriesInstance;
- end;
- Function TProjectsResource.CreateHistoriesResource : TProjectsHistoriesResource;
- begin
- Result:=CreateHistoriesResource(Self);
- end;
- Function TProjectsResource.CreateHistoriesResource(AOwner : TComponent) : TProjectsHistoriesResource;
- begin
- Result:=TProjectsHistoriesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- { --------------------------------------------------------------------
- TToolresultsAPI
- --------------------------------------------------------------------}
- Class Function TToolresultsAPI.APIName : String;
- begin
- Result:='toolresults';
- end;
- Class Function TToolresultsAPI.APIVersion : String;
- begin
- Result:='v1beta3';
- end;
- Class Function TToolresultsAPI.APIRevision : String;
- begin
- Result:='20160523';
- end;
- Class Function TToolresultsAPI.APIID : String;
- begin
- Result:='toolresults:v1beta3';
- end;
- Class Function TToolresultsAPI.APITitle : String;
- begin
- Result:='Cloud Tool Results API';
- end;
- Class Function TToolresultsAPI.APIDescription : String;
- begin
- Result:='Reads and publishes results from Cloud Test Lab.';
- end;
- Class Function TToolresultsAPI.APIOwnerDomain : String;
- begin
- Result:='google.com';
- end;
- Class Function TToolresultsAPI.APIOwnerName : String;
- begin
- Result:='Google';
- end;
- Class Function TToolresultsAPI.APIIcon16 : String;
- begin
- Result:='http://www.google.com/images/icons/product/search-16.gif';
- end;
- Class Function TToolresultsAPI.APIIcon32 : String;
- begin
- Result:='http://www.google.com/images/icons/product/search-32.gif';
- end;
- Class Function TToolresultsAPI.APIdocumentationLink : String;
- begin
- Result:='https://developers.google.com/cloud-test-lab/';
- end;
- Class Function TToolresultsAPI.APIrootUrl : string;
- begin
- Result:='https://www.googleapis.com/';
- end;
- Class Function TToolresultsAPI.APIbasePath : string;
- begin
- Result:='/toolresults/v1beta3/projects/';
- end;
- Class Function TToolresultsAPI.APIbaseURL : String;
- begin
- Result:='https://www.googleapis.com/toolresults/v1beta3/projects/';
- end;
- Class Function TToolresultsAPI.APIProtocol : string;
- begin
- Result:='rest';
- end;
- Class Function TToolresultsAPI.APIservicePath : string;
- begin
- Result:='toolresults/v1beta3/projects/';
- end;
- Class Function TToolresultsAPI.APIbatchPath : String;
- begin
- Result:='batch';
- end;
- Class Function TToolresultsAPI.APIAuthScopes : TScopeInfoArray;
- begin
- SetLength(Result,1);
- Result[0].Name:='https://www.googleapis.com/auth/cloud-platform';
- Result[0].Description:='View and manage your data across Google Cloud Platform services';
-
- end;
- Class Function TToolresultsAPI.APINeedsAuth : Boolean;
- begin
- Result:=True;
- end;
- Class Procedure TToolresultsAPI.RegisterAPIResources;
- begin
- TAny.RegisterObject;
- TDuration.RegisterObject;
- TExecution.RegisterObject;
- TFailureDetail.RegisterObject;
- TFileReference.RegisterObject;
- THistory.RegisterObject;
- TImage.RegisterObject;
- TInconclusiveDetail.RegisterObject;
- TListExecutionsResponse.RegisterObject;
- TListHistoriesResponse.RegisterObject;
- TListStepThumbnailsResponse.RegisterObject;
- TListStepsResponse.RegisterObject;
- TOutcome.RegisterObject;
- TProjectSettings.RegisterObject;
- TPublishXunitXmlFilesRequest.RegisterObject;
- TSkippedDetail.RegisterObject;
- TStackTrace.RegisterObject;
- TStatus.RegisterObject;
- TStep.RegisterObject;
- TStepDimensionValueEntry.RegisterObject;
- TStepLabelsEntry.RegisterObject;
- TSuccessDetail.RegisterObject;
- TTestCaseReference.RegisterObject;
- TTestExecutionStep.RegisterObject;
- TTestIssue.RegisterObject;
- TTestSuiteOverview.RegisterObject;
- TTestTiming.RegisterObject;
- TThumbnail.RegisterObject;
- TTimestamp.RegisterObject;
- TToolExecution.RegisterObject;
- TToolExecutionStep.RegisterObject;
- TToolExitCode.RegisterObject;
- TToolOutputReference.RegisterObject;
- end;
- Function TToolresultsAPI.GetProjectsHistoriesExecutionsStepsThumbnailsInstance : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- if (FProjectsHistoriesExecutionsStepsThumbnailsInstance=Nil) then
- FProjectsHistoriesExecutionsStepsThumbnailsInstance:=CreateProjectsHistoriesExecutionsStepsThumbnailsResource;
- Result:=FProjectsHistoriesExecutionsStepsThumbnailsInstance;
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesExecutionsStepsThumbnailsResource : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=CreateProjectsHistoriesExecutionsStepsThumbnailsResource(Self);
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesExecutionsStepsThumbnailsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsThumbnailsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsThumbnailsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TToolresultsAPI.GetProjectsHistoriesExecutionsStepsInstance : TProjectsHistoriesExecutionsStepsResource;
- begin
- if (FProjectsHistoriesExecutionsStepsInstance=Nil) then
- FProjectsHistoriesExecutionsStepsInstance:=CreateProjectsHistoriesExecutionsStepsResource;
- Result:=FProjectsHistoriesExecutionsStepsInstance;
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesExecutionsStepsResource : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=CreateProjectsHistoriesExecutionsStepsResource(Self);
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesExecutionsStepsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsStepsResource;
- begin
- Result:=TProjectsHistoriesExecutionsStepsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TToolresultsAPI.GetProjectsHistoriesExecutionsInstance : TProjectsHistoriesExecutionsResource;
- begin
- if (FProjectsHistoriesExecutionsInstance=Nil) then
- FProjectsHistoriesExecutionsInstance:=CreateProjectsHistoriesExecutionsResource;
- Result:=FProjectsHistoriesExecutionsInstance;
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesExecutionsResource : TProjectsHistoriesExecutionsResource;
- begin
- Result:=CreateProjectsHistoriesExecutionsResource(Self);
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesExecutionsResource(AOwner : TComponent) : TProjectsHistoriesExecutionsResource;
- begin
- Result:=TProjectsHistoriesExecutionsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TToolresultsAPI.GetProjectsHistoriesInstance : TProjectsHistoriesResource;
- begin
- if (FProjectsHistoriesInstance=Nil) then
- FProjectsHistoriesInstance:=CreateProjectsHistoriesResource;
- Result:=FProjectsHistoriesInstance;
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesResource : TProjectsHistoriesResource;
- begin
- Result:=CreateProjectsHistoriesResource(Self);
- end;
- Function TToolresultsAPI.CreateProjectsHistoriesResource(AOwner : TComponent) : TProjectsHistoriesResource;
- begin
- Result:=TProjectsHistoriesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TToolresultsAPI.GetProjectsInstance : TProjectsResource;
- begin
- if (FProjectsInstance=Nil) then
- FProjectsInstance:=CreateProjectsResource;
- Result:=FProjectsInstance;
- end;
- Function TToolresultsAPI.CreateProjectsResource : TProjectsResource;
- begin
- Result:=CreateProjectsResource(Self);
- end;
- Function TToolresultsAPI.CreateProjectsResource(AOwner : TComponent) : TProjectsResource;
- begin
- Result:=TProjectsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- initialization
- TToolresultsAPI.RegisterAPI;
- end.
|