Descriptions.php 986 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372
  1. <?php
  2. namespace Qcloud\Cos;
  3. /**
  4. * 为 src/Qcloud/Cos/Service.php 服务,视觉上区分各方法的参数\输出描述
  5. * 原service的参数描述可不改动
  6. * Class Descriptions
  7. * @package Qcloud\Cos
  8. */
  9. class Descriptions {
  10. /**
  11. * 视频转码
  12. * @return array
  13. */
  14. public static function CreateMediaTranscodeJobs() {
  15. return array(
  16. 'httpMethod' => 'POST',
  17. 'uri' => '/{Bucket}jobs',
  18. 'class' => 'Qcloud\\Cos\\Command',
  19. 'responseClass' => 'CreateMediaTranscodeJobsOutput',
  20. 'responseType' => 'model',
  21. 'data' => array(
  22. 'xmlRoot' => array(
  23. 'name' => 'Request',
  24. ),
  25. ),
  26. 'parameters' => array(
  27. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  28. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  29. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  30. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  31. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  32. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  33. 'Input' => array(
  34. 'type' => 'object',
  35. 'location' => 'xml',
  36. 'properties' => array(
  37. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  38. ),
  39. ),
  40. 'Operation' => array(
  41. 'type' => 'object',
  42. 'location' => 'xml',
  43. 'properties' => array(
  44. 'Tag' => array('location' => 'xml', 'type' => 'string', ),
  45. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  46. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  47. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  48. 'FreeTranscode' => array( 'type' => 'string', 'location' => 'xml', ),
  49. 'WatermarkTemplateId' => array(
  50. 'type' => 'array',
  51. 'location' => 'xml',
  52. 'data' => array(
  53. 'xmlFlattened' => true,
  54. ),
  55. 'items' => array(
  56. 'name' => 'WatermarkTemplateId',
  57. 'type' => 'string',
  58. 'location' => 'xml',
  59. 'sentAs' => 'WatermarkTemplateId',
  60. ),
  61. ),
  62. 'Transcode' => array(
  63. 'type' => 'object',
  64. 'location' => 'xml',
  65. 'properties' => array(
  66. 'Container' => array(
  67. 'type' => 'object',
  68. 'location' => 'xml',
  69. 'properties' => array(
  70. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  71. 'ClipConfig' => array(
  72. 'type' => 'object',
  73. 'location' => 'xml',
  74. 'properties' => array(
  75. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  76. ),
  77. ),
  78. ),
  79. ),
  80. 'Video' => array(
  81. 'type' => 'object',
  82. 'location' => 'xml',
  83. 'properties' => array(
  84. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  85. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  86. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  87. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  88. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  89. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  90. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  91. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  92. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  93. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  94. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  95. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  96. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  97. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  98. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  99. ),
  100. ),
  101. 'TimeInterval' => array(
  102. 'type' => 'object',
  103. 'location' => 'xml',
  104. 'properties' => array(
  105. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  106. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  107. ),
  108. ),
  109. 'Audio' => array(
  110. 'type' => 'object',
  111. 'location' => 'xml',
  112. 'properties' => array(
  113. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  114. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  115. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  116. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  117. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  118. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  119. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  120. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  121. ),
  122. ),
  123. 'TransConfig' => array(
  124. 'type' => 'object',
  125. 'location' => 'xml',
  126. 'properties' => array(
  127. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  128. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  129. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  130. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  131. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  132. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  133. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  134. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  135. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  136. 'HlsEncrypt' => array(
  137. 'type' => 'object',
  138. 'location' => 'xml',
  139. 'properties' => array(
  140. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  141. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  142. ),
  143. ),
  144. ),
  145. ),
  146. 'AudioMix' => array(
  147. 'type' => 'object',
  148. 'location' => 'xml',
  149. 'properties' => array(
  150. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  151. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  152. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  153. 'EffectConfig' => array(
  154. 'type' => 'object',
  155. 'location' => 'xml',
  156. 'properties' => array(
  157. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  158. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  159. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  160. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  161. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  162. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  163. ),
  164. ),
  165. ),
  166. ),
  167. 'AudioMixArray' => array(
  168. 'type' => 'array',
  169. 'location' => 'xml',
  170. 'data' => array(
  171. 'xmlFlattened' => true,
  172. ),
  173. 'items' => array(
  174. 'type' => 'object',
  175. 'name' => 'AudioMixArray',
  176. 'sentAs' => 'AudioMixArray',
  177. 'properties' => array(
  178. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  179. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  180. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  181. 'EffectConfig' => array(
  182. 'type' => 'object',
  183. 'location' => 'xml',
  184. 'properties' => array(
  185. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  186. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  187. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  188. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  189. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  190. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  191. ),
  192. ),
  193. ),
  194. ),
  195. ),
  196. ),
  197. ),
  198. 'Watermark' => array(
  199. 'type' => 'array',
  200. 'location' => 'xml',
  201. 'data' => array(
  202. 'xmlFlattened' => true,
  203. ),
  204. 'items' => array(
  205. 'name' => 'Watermark',
  206. 'type' => 'object',
  207. 'sentAs' => 'Watermark',
  208. 'properties' => array(
  209. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  210. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  211. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  212. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  213. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  214. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  215. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  216. 'Image' => array(
  217. 'type' => 'object',
  218. 'location' => 'xml',
  219. 'properties' => array(
  220. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  221. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  222. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  223. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  224. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  225. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  226. ),
  227. ),
  228. 'Text' => array(
  229. 'type' => 'object',
  230. 'location' => 'xml',
  231. 'properties' => array(
  232. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  233. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  234. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  235. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  236. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  237. ),
  238. ),
  239. ),
  240. )
  241. ),
  242. 'RemoveWatermark' => array(
  243. 'type' => 'object',
  244. 'location' => 'xml',
  245. 'properties' => array(
  246. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  247. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  248. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  249. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  250. ),
  251. ),
  252. 'Output' => array(
  253. 'type' => 'object',
  254. 'location' => 'xml',
  255. 'properties' => array(
  256. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  257. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  258. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  259. ),
  260. ),
  261. 'DigitalWatermark' => array(
  262. 'type' => 'object',
  263. 'location' => 'xml',
  264. 'properties' => array(
  265. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  266. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  267. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  268. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  269. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  270. ),
  271. ),
  272. ),
  273. ),
  274. 'CallBackMqConfig' => array(
  275. 'type' => 'object',
  276. 'location' => 'xml',
  277. 'properties' => array(
  278. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  279. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  280. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  281. ),
  282. ),
  283. ),
  284. );
  285. }
  286. public static function CreateMediaTranscodeJobsOutput() {
  287. return array(
  288. 'type' => 'object',
  289. 'additionalProperties' => true,
  290. 'properties' => array(
  291. 'Body' => array(
  292. 'type' => 'string',
  293. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  294. 'location' => 'body',
  295. ),
  296. 'RequestId' => array(
  297. 'type' => 'string',
  298. 'location' => 'header',
  299. 'sentAs' => 'x-ci-request-id',
  300. ),
  301. 'ContentType' => array(
  302. 'type' => 'string',
  303. 'location' => 'header',
  304. 'sentAs' => 'Content-Type',
  305. ),
  306. 'ContentLength' => array(
  307. 'type' => 'numeric',
  308. 'minimum'=> 0,
  309. 'location' => 'header',
  310. 'sentAs' => 'Content-Length',
  311. ),
  312. ),
  313. );
  314. }
  315. public static function CreateMediaJobs() {
  316. return array(
  317. 'httpMethod' => 'POST',
  318. 'uri' => '/{Bucket}jobs',
  319. 'class' => 'Qcloud\\Cos\\Command',
  320. 'responseClass' => 'CreateMediaJobsOutput',
  321. 'responseType' => 'model',
  322. 'data' => array(
  323. 'xmlRoot' => array(
  324. 'name' => 'Request',
  325. ),
  326. ),
  327. 'parameters' => array(
  328. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  329. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  330. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  331. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  332. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  333. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  334. 'Input' => array(
  335. 'type' => 'object',
  336. 'location' => 'xml',
  337. 'properties' => array(
  338. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  339. ),
  340. ),
  341. 'Operation' => array(
  342. 'type' => 'array',
  343. 'location' => 'xml',
  344. 'data' => array(
  345. 'xmlFlattened' => true,
  346. ),
  347. 'items' => array(
  348. 'name' => 'Operation',
  349. 'type' => 'object',
  350. 'sentAs' => 'Operation',
  351. 'properties' => array(
  352. 'Tag' => array('location' => 'xml', 'type' => 'string', ),
  353. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  354. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  355. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  356. 'TranscodeTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  357. 'VideoProcess' => array(
  358. 'type' => 'object',
  359. 'location' => 'xml',
  360. 'properties' => array(
  361. 'ColorEnhance' => array(
  362. 'type' => 'object',
  363. 'location' => 'xml',
  364. 'properties' => array(
  365. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  366. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  367. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  368. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  369. ),
  370. ),
  371. 'MsSharpen' => array(
  372. 'type' => 'object',
  373. 'location' => 'xml',
  374. 'properties' => array(
  375. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  376. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  377. ),
  378. ),
  379. ),
  380. ),
  381. 'VideoMontage' => array(
  382. 'type' => 'object',
  383. 'location' => 'xml',
  384. 'properties' => array(
  385. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  386. 'Container' => array(
  387. 'type' => 'object',
  388. 'location' => 'xml',
  389. 'properties' => array(
  390. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  391. ),
  392. ),
  393. 'Video' => array(
  394. 'type' => 'object',
  395. 'location' => 'xml',
  396. 'properties' => array(
  397. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  398. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  399. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  400. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  401. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  402. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  403. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  404. ),
  405. ),
  406. 'Audio' => array(
  407. 'type' => 'object',
  408. 'location' => 'xml',
  409. 'properties' => array(
  410. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  411. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  412. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  413. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  414. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  415. ),
  416. ),
  417. ),
  418. ),
  419. 'Animation' => array(
  420. 'type' => 'object',
  421. 'location' => 'xml',
  422. 'properties' => array(
  423. 'Container' => array(
  424. 'type' => 'object',
  425. 'location' => 'xml',
  426. 'properties' => array(
  427. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  428. ),
  429. ),
  430. 'Video' => array(
  431. 'type' => 'object',
  432. 'location' => 'xml',
  433. 'properties' => array(
  434. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  435. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  436. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  437. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  438. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  439. 'AnimateOnlyKeepKeyFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  440. 'AnimateTimeIntervalOfFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  441. 'AnimateFramesPerSecond' => array( 'type' => 'string', 'location' => 'xml', ),
  442. 'Quality' => array( 'type' => 'string', 'location' => 'xml', ),
  443. ),
  444. ),
  445. 'TimeInterval' => array(
  446. 'type' => 'object',
  447. 'location' => 'xml',
  448. 'properties' => array(
  449. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  450. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  451. ),
  452. ),
  453. ),
  454. ),
  455. 'Snapshot' => array(
  456. 'type' => 'object',
  457. 'location' => 'xml',
  458. 'properties' => array(
  459. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  460. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  461. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  462. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  463. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  464. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  465. ),
  466. ),
  467. 'VoiceSeparate' => array(
  468. 'type' => 'object',
  469. 'location' => 'xml',
  470. 'properties' => array(
  471. 'AudioMode' => array( 'type' => 'string', 'location' => 'xml', ),
  472. 'AudioConfig' => array(
  473. 'type' => 'object',
  474. 'location' => 'xml',
  475. 'properties' => array(
  476. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  477. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  478. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  479. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  480. ),
  481. ),
  482. ),
  483. ),
  484. 'Segment' => array(
  485. 'type' => 'object',
  486. 'location' => 'xml',
  487. 'properties' => array(
  488. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  489. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  490. ),
  491. ),
  492. 'SDRtoHDR' => array(
  493. 'type' => 'object',
  494. 'location' => 'xml',
  495. 'properties' => array(
  496. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  497. ),
  498. ),
  499. 'SuperResolution' => array(
  500. 'type' => 'object',
  501. 'location' => 'xml',
  502. 'properties' => array(
  503. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  504. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  505. ),
  506. ),
  507. 'WatermarkTemplateId' => array(
  508. 'type' => 'array',
  509. 'location' => 'xml',
  510. 'data' => array(
  511. 'xmlFlattened' => true,
  512. ),
  513. 'items' => array(
  514. 'name' => 'WatermarkTemplateId',
  515. 'type' => 'string',
  516. 'location' => 'xml',
  517. 'sentAs' => 'WatermarkTemplateId',
  518. ),
  519. ),
  520. 'Transcode' => array(
  521. 'type' => 'object',
  522. 'location' => 'xml',
  523. 'properties' => array(
  524. 'Container' => array(
  525. 'type' => 'object',
  526. 'location' => 'xml',
  527. 'properties' => array(
  528. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  529. ),
  530. ),
  531. 'Video' => array(
  532. 'type' => 'object',
  533. 'location' => 'xml',
  534. 'properties' => array(
  535. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  536. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  537. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  538. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  539. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  540. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  541. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  542. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  543. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  544. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  545. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  546. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  547. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  548. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  549. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  550. ),
  551. ),
  552. 'TimeInterval' => array(
  553. 'type' => 'object',
  554. 'location' => 'xml',
  555. 'properties' => array(
  556. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  557. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  558. ),
  559. ),
  560. 'Audio' => array(
  561. 'type' => 'object',
  562. 'location' => 'xml',
  563. 'properties' => array(
  564. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  565. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  566. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  567. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  568. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  569. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  570. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  571. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  572. ),
  573. ),
  574. 'TransConfig' => array(
  575. 'type' => 'object',
  576. 'location' => 'xml',
  577. 'properties' => array(
  578. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  579. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  580. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  581. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  582. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  583. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  584. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  585. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  586. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  587. 'HlsEncrypt' => array(
  588. 'type' => 'object',
  589. 'location' => 'xml',
  590. 'properties' => array(
  591. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  592. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  593. ),
  594. ),
  595. ),
  596. ),
  597. ),
  598. ),
  599. 'Watermark' => array(
  600. 'type' => 'array',
  601. 'location' => 'xml',
  602. 'data' => array(
  603. 'xmlFlattened' => true,
  604. ),
  605. 'items' => array(
  606. 'name' => 'Watermark',
  607. 'type' => 'object',
  608. 'sentAs' => 'Watermark',
  609. 'properties' => array(
  610. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  611. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  612. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  613. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  614. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  615. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  616. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  617. 'Image' => array(
  618. 'type' => 'object',
  619. 'location' => 'xml',
  620. 'properties' => array(
  621. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  622. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  623. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  624. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  625. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  626. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  627. ),
  628. ),
  629. 'Text' => array(
  630. 'type' => 'object',
  631. 'location' => 'xml',
  632. 'properties' => array(
  633. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  634. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  635. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  636. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  637. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  638. ),
  639. ),
  640. ),
  641. )
  642. ),
  643. 'RemoveWatermark' => array(
  644. 'type' => 'object',
  645. 'location' => 'xml',
  646. 'properties' => array(
  647. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  648. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  649. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  650. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  651. ),
  652. ),
  653. 'Output' => array(
  654. 'required' => true,
  655. 'type' => 'object',
  656. 'location' => 'xml',
  657. 'properties' => array(
  658. 'Region' => array( 'required' => true, 'type' => 'string', 'location' => 'xml', ),
  659. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'xml', ),
  660. 'Object' => array( 'required' => false, 'type' => 'string', 'location' => 'xml', ),
  661. 'AuObject' => array( 'required' => false, 'type' => 'string', 'location' => 'xml', ),
  662. 'SpriteObject' => array( 'required' => false, 'type' => 'string', 'location' => 'xml', ),
  663. ),
  664. ),
  665. ),
  666. ),
  667. ),
  668. 'CallBackMqConfig' => array(
  669. 'type' => 'object',
  670. 'location' => 'xml',
  671. 'properties' => array(
  672. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  673. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  674. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  675. ),
  676. ),
  677. ),
  678. );
  679. }
  680. public static function CreateMediaJobsOutput() {
  681. return array(
  682. 'type' => 'object',
  683. 'additionalProperties' => true,
  684. 'properties' => array(
  685. 'Body' => array(
  686. 'type' => 'string',
  687. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  688. 'location' => 'body',
  689. ),
  690. 'RequestId' => array(
  691. 'type' => 'string',
  692. 'location' => 'header',
  693. 'sentAs' => 'x-ci-request-id',
  694. ),
  695. 'ContentType' => array(
  696. 'type' => 'string',
  697. 'location' => 'header',
  698. 'sentAs' => 'Content-Type',
  699. ),
  700. 'ContentLength' => array(
  701. 'type' => 'numeric',
  702. 'minimum'=> 0,
  703. 'location' => 'header',
  704. 'sentAs' => 'Content-Length',
  705. ),
  706. ),
  707. );
  708. }
  709. public static function DescribeMediaJob() {
  710. return array(
  711. 'httpMethod' => 'GET',
  712. 'uri' => '/{Bucket}jobs/{/Key*}',
  713. 'class' => 'Qcloud\\Cos\\Command',
  714. 'responseClass' => 'DescribeMediaJobOutput',
  715. 'responseType' => 'model',
  716. 'parameters' => array(
  717. 'Bucket' => array(
  718. 'required' => true,
  719. 'type' => 'string',
  720. 'location' => 'uri',
  721. ),
  722. 'Key' => array(
  723. 'required' => true,
  724. 'type' => 'string',
  725. 'location' => 'uri',
  726. ),
  727. ),
  728. );
  729. }
  730. public static function DescribeMediaJobOutput() {
  731. return array(
  732. 'type' => 'object',
  733. 'additionalProperties' => true,
  734. 'properties' => array(
  735. 'Body' => array(
  736. 'type' => 'string',
  737. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  738. 'location' => 'body',
  739. ),
  740. 'RequestId' => array(
  741. 'type' => 'string',
  742. 'location' => 'header',
  743. 'sentAs' => 'x-ci-request-id',
  744. ),
  745. 'ContentType' => array(
  746. 'type' => 'string',
  747. 'location' => 'header',
  748. 'sentAs' => 'Content-Type',
  749. ),
  750. 'ContentLength' => array(
  751. 'type' => 'numeric',
  752. 'minimum'=> 0,
  753. 'location' => 'header',
  754. 'sentAs' => 'Content-Length',
  755. ),
  756. ),
  757. );
  758. }
  759. public static function DescribeMediaJobs() {
  760. return array(
  761. 'httpMethod' => 'GET',
  762. 'uri' => '/{Bucket}jobs',
  763. 'class' => 'Qcloud\\Cos\\Command',
  764. 'responseClass' => 'DescribeMediaJobsOutput',
  765. 'responseType' => 'model',
  766. 'parameters' => array(
  767. 'Bucket' => array(
  768. 'required' => true,
  769. 'type' => 'string',
  770. 'location' => 'uri',
  771. ),
  772. 'Tag' => array(
  773. 'type' => 'string',
  774. 'location' => 'query',
  775. 'sentAs' => 'tag',
  776. ),
  777. 'QueueId' => array(
  778. 'type' => 'string',
  779. 'location' => 'query',
  780. 'sentAs' => 'queueId',
  781. ),
  782. 'OrderByTime' => array(
  783. 'type' => 'string',
  784. 'location' => 'query',
  785. 'sentAs' => 'orderByTime',
  786. ),
  787. 'NextToken' => array(
  788. 'type' => 'string',
  789. 'location' => 'query',
  790. 'sentAs' => 'nextToken',
  791. ),
  792. 'Size' => array(
  793. 'type' => 'integer',
  794. 'location' => 'query',
  795. 'sentAs' => 'size',
  796. ),
  797. 'States' => array(
  798. 'type' => 'string',
  799. 'location' => 'query',
  800. 'sentAs' => 'states',
  801. ),
  802. 'StartCreationTime' => array(
  803. 'type' => 'string',
  804. 'location' => 'query',
  805. 'sentAs' => 'startCreationTime',
  806. ),
  807. 'EndCreationTime' => array(
  808. 'type' => 'string',
  809. 'location' => 'query',
  810. 'sentAs' => 'endCreationTime',
  811. ),
  812. 'WorkflowId' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'workflowId', ),
  813. 'InventoryTriggerJobId' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'inventoryTriggerJobId', ),
  814. 'InputObject' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'inputObject', ),
  815. ),
  816. );
  817. }
  818. public static function DescribeMediaJobsOutput() {
  819. return array(
  820. 'type' => 'object',
  821. 'additionalProperties' => true,
  822. 'properties' => array(
  823. 'Body' => array(
  824. 'type' => 'string',
  825. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  826. 'location' => 'body',
  827. ),
  828. 'RequestId' => array(
  829. 'type' => 'string',
  830. 'location' => 'header',
  831. 'sentAs' => 'x-ci-request-id',
  832. ),
  833. 'ContentType' => array(
  834. 'type' => 'string',
  835. 'location' => 'header',
  836. 'sentAs' => 'Content-Type',
  837. ),
  838. 'ContentLength' => array(
  839. 'type' => 'numeric',
  840. 'minimum'=> 0,
  841. 'location' => 'header',
  842. 'sentAs' => 'Content-Length',
  843. ),
  844. ),
  845. );
  846. }
  847. public static function CreateMediaSnapshotJobs() {
  848. return array(
  849. 'httpMethod' => 'POST',
  850. 'uri' => '/{Bucket}jobs',
  851. 'class' => 'Qcloud\\Cos\\Command',
  852. 'responseClass' => 'CreateMediaSnapshotJobsOutput',
  853. 'responseType' => 'model',
  854. 'data' => array(
  855. 'xmlRoot' => array(
  856. 'name' => 'Request',
  857. ),
  858. ),
  859. 'parameters' => array(
  860. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  861. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  862. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  863. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  864. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  865. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  866. 'Input' => array(
  867. 'type' => 'object',
  868. 'location' => 'xml',
  869. 'properties' => array(
  870. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  871. ),
  872. ),
  873. 'Operation' => array(
  874. 'type' => 'object',
  875. 'location' => 'xml',
  876. 'properties' => array(
  877. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  878. 'Output' => array(
  879. 'type' => 'object',
  880. 'location' => 'xml',
  881. 'properties' => array(
  882. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  883. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  884. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  885. 'SpriteObject' => array( 'type' => 'string', 'location' => 'xml', ),
  886. ),
  887. ),
  888. 'Snapshot' => array(
  889. 'type' => 'object',
  890. 'location' => 'xml',
  891. 'properties' => array(
  892. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  893. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  894. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  895. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  896. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  897. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  898. ),
  899. ),
  900. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  901. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  902. ),
  903. ),
  904. 'CallBackMqConfig' => array(
  905. 'type' => 'object',
  906. 'location' => 'xml',
  907. 'properties' => array(
  908. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  909. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  910. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  911. ),
  912. ),
  913. ),
  914. );
  915. }
  916. public static function CreateMediaSnapshotJobsOutput() {
  917. return array(
  918. 'type' => 'object',
  919. 'additionalProperties' => true,
  920. 'properties' => array(
  921. 'Body' => array(
  922. 'type' => 'string',
  923. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  924. 'location' => 'body',
  925. ),
  926. 'RequestId' => array(
  927. 'type' => 'string',
  928. 'location' => 'header',
  929. 'sentAs' => 'x-ci-request-id',
  930. ),
  931. 'ContentType' => array(
  932. 'type' => 'string',
  933. 'location' => 'header',
  934. 'sentAs' => 'Content-Type',
  935. ),
  936. 'ContentLength' => array(
  937. 'type' => 'numeric',
  938. 'minimum'=> 0,
  939. 'location' => 'header',
  940. 'sentAs' => 'Content-Length',
  941. ),
  942. ),
  943. );
  944. }
  945. public static function CreateMediaConcatJobs() {
  946. return array(
  947. 'httpMethod' => 'POST',
  948. 'uri' => '/{Bucket}jobs',
  949. 'class' => 'Qcloud\\Cos\\Command',
  950. 'responseClass' => 'CreateMediaConcatJobsOutput',
  951. 'responseType' => 'model',
  952. 'data' => array(
  953. 'xmlRoot' => array(
  954. 'name' => 'Request',
  955. ),
  956. ),
  957. 'parameters' => array(
  958. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  959. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  960. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  961. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  962. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  963. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  964. 'Input' => array(
  965. 'type' => 'object',
  966. 'location' => 'xml',
  967. 'properties' => array(
  968. 'Object' => array( 'type' => 'string', 'location' => 'xml', ), // 拼接任务Input可以为空,完全用数组内的元素拼接
  969. ),
  970. ),
  971. 'Operation' => array(
  972. 'type' => 'object',
  973. 'location' => 'xml',
  974. 'properties' => array(
  975. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  976. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  977. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  978. 'Output' => array(
  979. 'type' => 'object',
  980. 'location' => 'xml',
  981. 'properties' => array(
  982. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  983. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  984. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  985. ),
  986. ),
  987. 'ConcatTemplate' => array(
  988. 'type' => 'object',
  989. 'location' => 'xml',
  990. 'properties' => array(
  991. 'Audio' => array(
  992. 'type' => 'object',
  993. 'location' => 'xml',
  994. 'properties' => array(
  995. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  996. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  997. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  998. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  999. ),
  1000. ),
  1001. 'Index' => array( 'type' => 'string', 'location' => 'xml', ),
  1002. 'DirectConcat' => array( 'type' => 'string', 'location' => 'xml', ),
  1003. 'ConcatFragments' => array(
  1004. 'type' => 'array',
  1005. 'location' => 'xml',
  1006. 'data' => array(
  1007. 'xmlFlattened' => true,
  1008. ),
  1009. 'items' => array(
  1010. 'name' => 'ConcatFragment',
  1011. 'type' => 'object',
  1012. 'sentAs' => 'ConcatFragment',
  1013. 'properties' => array(
  1014. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  1015. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1016. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1017. // 'Mode' => array( 'type' => 'string', 'location' => 'xml', ), 拼接接口不需要Mode参数
  1018. ),
  1019. ),
  1020. ),
  1021. 'Video' => array(
  1022. 'type' => 'object',
  1023. 'location' => 'xml',
  1024. 'properties' => array(
  1025. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  1026. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  1027. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  1028. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  1029. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  1030. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  1031. ),
  1032. ),
  1033. 'Container' => array(
  1034. 'type' => 'object',
  1035. 'location' => 'xml',
  1036. 'properties' => array(
  1037. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  1038. ),
  1039. ),
  1040. 'AudioMix' => array(
  1041. 'type' => 'object',
  1042. 'location' => 'xml',
  1043. 'properties' => array(
  1044. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  1045. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  1046. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  1047. 'EffectConfig' => array(
  1048. 'type' => 'object',
  1049. 'location' => 'xml',
  1050. 'properties' => array(
  1051. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  1052. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1053. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  1054. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1055. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  1056. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1057. ),
  1058. ),
  1059. ),
  1060. ),
  1061. 'AudioMixArray' => array(
  1062. 'type' => 'array',
  1063. 'location' => 'xml',
  1064. 'data' => array(
  1065. 'xmlFlattened' => true,
  1066. ),
  1067. 'items' => array(
  1068. 'type' => 'object',
  1069. 'name' => 'AudioMixArray',
  1070. 'sentAs' => 'AudioMixArray',
  1071. 'properties' => array(
  1072. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  1073. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  1074. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  1075. 'EffectConfig' => array(
  1076. 'type' => 'object',
  1077. 'location' => 'xml',
  1078. 'properties' => array(
  1079. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  1080. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1081. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  1082. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1083. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  1084. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1085. ),
  1086. ),
  1087. ),
  1088. ),
  1089. ),
  1090. ),
  1091. ),
  1092. ),
  1093. ),
  1094. 'CallBackMqConfig' => array(
  1095. 'type' => 'object',
  1096. 'location' => 'xml',
  1097. 'properties' => array(
  1098. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  1099. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  1100. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  1101. ),
  1102. ),
  1103. ),
  1104. );
  1105. }
  1106. public static function CreateMediaConcatJobsOutput() {
  1107. return array(
  1108. 'type' => 'object',
  1109. 'additionalProperties' => true,
  1110. 'properties' => array(
  1111. 'Body' => array(
  1112. 'type' => 'string',
  1113. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  1114. 'location' => 'body',
  1115. ),
  1116. 'RequestId' => array(
  1117. 'type' => 'string',
  1118. 'location' => 'header',
  1119. 'sentAs' => 'x-ci-request-id',
  1120. ),
  1121. 'ContentType' => array(
  1122. 'type' => 'string',
  1123. 'location' => 'header',
  1124. 'sentAs' => 'Content-Type',
  1125. ),
  1126. 'ContentLength' => array(
  1127. 'type' => 'numeric',
  1128. 'minimum'=> 0,
  1129. 'location' => 'header',
  1130. 'sentAs' => 'Content-Length',
  1131. ),
  1132. ),
  1133. );
  1134. }
  1135. public static function DetectAudio() {
  1136. return array(
  1137. 'httpMethod' => 'POST',
  1138. 'uri' => '/{Bucket}audio/auditing',
  1139. 'class' => 'Qcloud\\Cos\\Command',
  1140. 'responseClass' => 'DetectAudioOutput',
  1141. 'responseType' => 'model',
  1142. 'data' => array(
  1143. 'xmlRoot' => array(
  1144. 'name' => 'Request',
  1145. ),
  1146. ),
  1147. 'parameters' => array(
  1148. 'Bucket' => array(
  1149. 'required' => true,
  1150. 'type' => 'string',
  1151. 'location' => 'uri',
  1152. ),
  1153. 'Input' => array(
  1154. 'location' => 'xml',
  1155. 'type' => 'object',
  1156. 'properties' => array(
  1157. 'Url' => array(
  1158. 'type' => 'string',
  1159. 'location' => 'xml',
  1160. ),
  1161. 'Object' => array(
  1162. 'type' => 'string',
  1163. 'location' => 'xml',
  1164. ),
  1165. 'DataId' => array(
  1166. 'type' => 'string',
  1167. 'location' => 'xml',
  1168. ),
  1169. 'UserInfo' => array(
  1170. 'location' => 'xml',
  1171. 'type' => 'object',
  1172. 'properties' => array(
  1173. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  1174. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  1175. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  1176. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  1177. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  1178. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  1179. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  1180. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  1181. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  1182. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  1183. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  1184. ),
  1185. ),
  1186. ),
  1187. ),
  1188. 'Conf' => array(
  1189. 'location' => 'xml',
  1190. 'type' => 'object',
  1191. 'properties' => array(
  1192. 'DetectType' => array(
  1193. 'type' => 'string',
  1194. 'location' => 'xml',
  1195. ),
  1196. 'Callback' => array(
  1197. 'type' => 'string',
  1198. 'location' => 'xml',
  1199. ),
  1200. 'BizType' => array(
  1201. 'type' => 'string',
  1202. 'location' => 'xml',
  1203. ),
  1204. 'CallbackVersion' => array(
  1205. 'type' => 'string',
  1206. 'location' => 'xml',
  1207. ),
  1208. 'CallbackType' => array(
  1209. 'type' => 'integer',
  1210. 'location' => 'xml',
  1211. ),
  1212. 'Freeze' => array(
  1213. 'location' => 'xml',
  1214. 'type' => 'object',
  1215. 'properties' => array(
  1216. 'PornScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  1217. 'AdsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  1218. 'PoliticsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  1219. 'TerrorismScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  1220. ),
  1221. ),
  1222. ),
  1223. ),
  1224. ),
  1225. );
  1226. }
  1227. public static function DetectAudioOutput() {
  1228. return array(
  1229. 'type' => 'object',
  1230. 'additionalProperties' => true,
  1231. 'properties' => array(
  1232. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  1233. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  1234. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  1235. 'JobsDetail' => array(
  1236. 'type' => 'object',
  1237. 'location' => 'xml',
  1238. 'properties' => array(
  1239. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  1240. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  1241. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  1242. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1243. ),
  1244. ),
  1245. ),
  1246. );
  1247. }
  1248. public static function GetDetectAudioResult() {
  1249. return array(
  1250. 'httpMethod' => 'GET',
  1251. 'uri' => '/{Bucket}audio/auditing/{/Key*}',
  1252. 'class' => 'Qcloud\\Cos\\Command',
  1253. 'responseClass' => 'GetDetectAudioResultOutput',
  1254. 'responseType' => 'model',
  1255. 'parameters' => array(
  1256. 'Bucket' => array(
  1257. 'required' => true,
  1258. 'type' => 'string',
  1259. 'location' => 'uri',
  1260. ),
  1261. 'Key' => array(
  1262. 'required' => true,
  1263. 'type' => 'string',
  1264. 'location' => 'uri',
  1265. ),
  1266. ),
  1267. );
  1268. }
  1269. public static function GetDetectAudioResultOutput() {
  1270. return array(
  1271. 'type' => 'object',
  1272. 'additionalProperties' => true,
  1273. 'properties' => array(
  1274. 'RequestId' => array(
  1275. 'type' => 'string',
  1276. 'location' => 'header',
  1277. 'sentAs' => 'x-ci-request-id',
  1278. ),
  1279. 'ContentType' => array(
  1280. 'type' => 'string',
  1281. 'location' => 'header',
  1282. 'sentAs' => 'Content-Type',
  1283. ),
  1284. 'ContentLength' => array(
  1285. 'type' => 'numeric',
  1286. 'minimum'=> 0,
  1287. 'location' => 'header',
  1288. 'sentAs' => 'Content-Length',
  1289. ),
  1290. 'JobsDetail' => array(
  1291. 'type' => 'object',
  1292. 'location' => 'xml',
  1293. 'properties' => array(
  1294. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  1295. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  1296. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  1297. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  1298. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  1299. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1300. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  1301. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  1302. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1303. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1304. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  1305. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  1306. 'Result' => array( 'type' => 'integer', 'location' => 'xml', ),
  1307. 'ForbidState' => array( 'type' => 'integer', 'location' => 'xml', ),
  1308. 'AudioText' => array( 'type' => 'string', 'location' => 'xml', ),
  1309. 'PornInfo' => array(
  1310. 'type' => 'object',
  1311. 'location' => 'xml',
  1312. 'properties' => array(
  1313. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1314. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1315. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1316. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1317. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1318. ),
  1319. ),
  1320. 'TerrorismInfo' => array(
  1321. 'type' => 'object',
  1322. 'location' => 'xml',
  1323. 'properties' => array(
  1324. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1325. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1326. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1327. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1328. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1329. ),
  1330. ),
  1331. 'PoliticsInfo' => array(
  1332. 'type' => 'object',
  1333. 'location' => 'xml',
  1334. 'properties' => array(
  1335. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1336. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1337. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1338. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1339. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1340. ),
  1341. ),
  1342. 'AdsInfo' => array(
  1343. 'type' => 'object',
  1344. 'location' => 'xml',
  1345. 'properties' => array(
  1346. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1347. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1348. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1349. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1350. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1351. ),
  1352. ),
  1353. 'TeenagerInfo' => array(
  1354. 'type' => 'object',
  1355. 'location' => 'xml',
  1356. 'properties' => array(
  1357. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1358. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1359. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1360. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1361. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1362. ),
  1363. ),
  1364. 'Section' => array(
  1365. 'type' => 'array',
  1366. 'location' => 'xml',
  1367. 'items' => array(
  1368. 'type' => 'object',
  1369. 'properties' => array(
  1370. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  1371. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  1372. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1373. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1374. 'OffsetTime' => array( 'type' => 'integer', 'location' => 'xml', ),
  1375. 'Duration' => array( 'type' => 'integer', 'location' => 'xml', ),
  1376. 'Result' => array( 'type' => 'integer', 'location' => 'xml', ),
  1377. 'PornInfo' => array(
  1378. 'type' => 'object',
  1379. 'location' => 'xml',
  1380. 'properties' => array(
  1381. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1382. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1383. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1384. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1385. 'Keywords' => array(
  1386. 'type' => 'array',
  1387. 'location' => 'xml',
  1388. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  1389. ),
  1390. 'LibResults' => array(
  1391. 'type' => 'array',
  1392. 'location' => 'xml',
  1393. 'items' => array(
  1394. 'type' => 'object',
  1395. 'location' => 'xml',
  1396. 'properties' => array(
  1397. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1398. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1399. 'Keywords' => array(
  1400. 'type' => 'array',
  1401. 'location' => 'xml',
  1402. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1403. ),
  1404. ),
  1405. ),
  1406. ),
  1407. 'SpeakerResults' => array(
  1408. 'type' => 'array',
  1409. 'location' => 'xml',
  1410. 'items' => array(
  1411. 'type' => 'object',
  1412. 'location' => 'xml',
  1413. 'properties' => array(
  1414. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1415. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1416. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1417. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1418. ),
  1419. ),
  1420. ),
  1421. 'RecognitionResults' => array(
  1422. 'type' => 'array',
  1423. 'location' => 'xml',
  1424. 'items' => array(
  1425. 'type' => 'object',
  1426. 'location' => 'xml',
  1427. 'properties' => array(
  1428. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1429. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1430. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1431. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1432. ),
  1433. ),
  1434. ),
  1435. ),
  1436. ),
  1437. 'TerrorismInfo' => array(
  1438. 'type' => 'object',
  1439. 'location' => 'xml',
  1440. 'properties' => array(
  1441. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1442. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1443. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1444. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1445. 'Keywords' => array(
  1446. 'type' => 'array',
  1447. 'location' => 'xml',
  1448. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  1449. ),
  1450. 'LibResults' => array(
  1451. 'type' => 'array',
  1452. 'location' => 'xml',
  1453. 'items' => array(
  1454. 'type' => 'object',
  1455. 'location' => 'xml',
  1456. 'properties' => array(
  1457. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1458. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1459. 'Keywords' => array(
  1460. 'type' => 'array',
  1461. 'location' => 'xml',
  1462. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1463. ),
  1464. ),
  1465. ),
  1466. ),
  1467. 'SpeakerResults' => array(
  1468. 'type' => 'array',
  1469. 'location' => 'xml',
  1470. 'items' => array(
  1471. 'type' => 'object',
  1472. 'location' => 'xml',
  1473. 'properties' => array(
  1474. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1475. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1476. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1477. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1478. ),
  1479. ),
  1480. ),
  1481. 'RecognitionResults' => array(
  1482. 'type' => 'array',
  1483. 'location' => 'xml',
  1484. 'items' => array(
  1485. 'type' => 'object',
  1486. 'location' => 'xml',
  1487. 'properties' => array(
  1488. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1489. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1490. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1491. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1492. ),
  1493. ),
  1494. ),
  1495. ),
  1496. ),
  1497. 'PoliticsInfo' => array(
  1498. 'type' => 'object',
  1499. 'location' => 'xml',
  1500. 'properties' => array(
  1501. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1502. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1503. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1504. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1505. 'Keywords' => array(
  1506. 'type' => 'array',
  1507. 'location' => 'xml',
  1508. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  1509. ),
  1510. 'LibResults' => array(
  1511. 'type' => 'array',
  1512. 'location' => 'xml',
  1513. 'items' => array(
  1514. 'type' => 'object',
  1515. 'location' => 'xml',
  1516. 'properties' => array(
  1517. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1518. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1519. 'Keywords' => array(
  1520. 'type' => 'array',
  1521. 'location' => 'xml',
  1522. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1523. ),
  1524. ),
  1525. ),
  1526. ),
  1527. 'SpeakerResults' => array(
  1528. 'type' => 'array',
  1529. 'location' => 'xml',
  1530. 'items' => array(
  1531. 'type' => 'object',
  1532. 'location' => 'xml',
  1533. 'properties' => array(
  1534. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1535. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1536. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1537. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1538. ),
  1539. ),
  1540. ),
  1541. 'RecognitionResults' => array(
  1542. 'type' => 'array',
  1543. 'location' => 'xml',
  1544. 'items' => array(
  1545. 'type' => 'object',
  1546. 'location' => 'xml',
  1547. 'properties' => array(
  1548. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1549. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1550. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1551. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1552. ),
  1553. ),
  1554. ),
  1555. ),
  1556. ),
  1557. 'AdsInfo' => array(
  1558. 'type' => 'object',
  1559. 'location' => 'xml',
  1560. 'properties' => array(
  1561. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1562. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1563. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1564. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1565. 'Keywords' => array(
  1566. 'type' => 'array',
  1567. 'location' => 'xml',
  1568. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  1569. ),
  1570. 'LibResults' => array(
  1571. 'type' => 'array',
  1572. 'location' => 'xml',
  1573. 'items' => array(
  1574. 'type' => 'object',
  1575. 'location' => 'xml',
  1576. 'properties' => array(
  1577. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1578. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1579. 'Keywords' => array(
  1580. 'type' => 'array',
  1581. 'location' => 'xml',
  1582. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1583. ),
  1584. ),
  1585. ),
  1586. ),
  1587. 'SpeakerResults' => array(
  1588. 'type' => 'array',
  1589. 'location' => 'xml',
  1590. 'items' => array(
  1591. 'type' => 'object',
  1592. 'location' => 'xml',
  1593. 'properties' => array(
  1594. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1595. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1596. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1597. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1598. ),
  1599. ),
  1600. ),
  1601. 'RecognitionResults' => array(
  1602. 'type' => 'array',
  1603. 'location' => 'xml',
  1604. 'items' => array(
  1605. 'type' => 'object',
  1606. 'location' => 'xml',
  1607. 'properties' => array(
  1608. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1609. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1610. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1611. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1612. ),
  1613. ),
  1614. ),
  1615. ),
  1616. ),
  1617. 'TeenagerInfo' => array(
  1618. 'type' => 'object',
  1619. 'location' => 'xml',
  1620. 'properties' => array(
  1621. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1622. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1623. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  1624. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1625. 'Keywords' => array(
  1626. 'type' => 'array',
  1627. 'location' => 'xml',
  1628. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  1629. ),
  1630. 'LibResults' => array(
  1631. 'type' => 'array',
  1632. 'location' => 'xml',
  1633. 'items' => array(
  1634. 'type' => 'object',
  1635. 'location' => 'xml',
  1636. 'properties' => array(
  1637. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1638. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1639. 'Keywords' => array(
  1640. 'type' => 'array',
  1641. 'location' => 'xml',
  1642. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1643. ),
  1644. ),
  1645. ),
  1646. ),
  1647. 'SpeakerResults' => array(
  1648. 'type' => 'array',
  1649. 'location' => 'xml',
  1650. 'items' => array(
  1651. 'type' => 'object',
  1652. 'location' => 'xml',
  1653. 'properties' => array(
  1654. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1655. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1656. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1657. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1658. ),
  1659. ),
  1660. ),
  1661. 'RecognitionResults' => array(
  1662. 'type' => 'array',
  1663. 'location' => 'xml',
  1664. 'items' => array(
  1665. 'type' => 'object',
  1666. 'location' => 'xml',
  1667. 'properties' => array(
  1668. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1669. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1670. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1671. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1672. ),
  1673. ),
  1674. ),
  1675. ),
  1676. ),
  1677. 'LanguageResults' => array(
  1678. 'type' => 'array',
  1679. 'location' => 'xml',
  1680. 'items' => array(
  1681. 'type' => 'object',
  1682. 'location' => 'xml',
  1683. 'properties' => array(
  1684. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  1685. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  1686. 'StartTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1687. 'EndTime' => array( 'type' => 'integer', 'location' => 'xml',),
  1688. ),
  1689. ),
  1690. ),
  1691. ),
  1692. ),
  1693. ),
  1694. 'UserInfo' => array(
  1695. 'type' => 'object',
  1696. 'location' => 'xml',
  1697. 'properties' => array(
  1698. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  1699. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  1700. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  1701. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  1702. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  1703. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  1704. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  1705. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  1706. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  1707. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  1708. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  1709. ),
  1710. ),
  1711. 'ListInfo' => array(
  1712. 'type' => 'object',
  1713. 'location' => 'xml',
  1714. 'properties' => array(
  1715. 'ListResults' => array(
  1716. 'type' => 'array',
  1717. 'location' => 'xml',
  1718. 'items' => array(
  1719. 'type' => 'object',
  1720. 'location' => 'xml',
  1721. 'properties' => array(
  1722. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  1723. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  1724. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  1725. ),
  1726. ),
  1727. ),
  1728. ),
  1729. ),
  1730. 'CosHeaders' => array(
  1731. 'type' => 'object',
  1732. 'location' => 'xml',
  1733. ),
  1734. ),
  1735. ),
  1736. ),
  1737. );
  1738. }
  1739. public static function GetDetectTextResult() {
  1740. return array(
  1741. 'httpMethod' => 'GET',
  1742. 'uri' => '/{Bucket}text/auditing/{/Key*}',
  1743. 'class' => 'Qcloud\\Cos\\Command',
  1744. 'responseClass' => 'GetDetectTextResultOutput',
  1745. 'responseType' => 'model',
  1746. 'parameters' => array(
  1747. 'Bucket' => array(
  1748. 'required' => true,
  1749. 'type' => 'string',
  1750. 'location' => 'uri',
  1751. ),
  1752. 'Key' => array(
  1753. 'required' => true,
  1754. 'type' => 'string',
  1755. 'location' => 'uri',
  1756. ),
  1757. ),
  1758. );
  1759. }
  1760. public static function GetDetectTextResultOutput() {
  1761. return array(
  1762. 'type' => 'object',
  1763. 'additionalProperties' => true,
  1764. 'properties' => array(
  1765. 'RequestId' => array(
  1766. 'type' => 'string',
  1767. 'location' => 'header',
  1768. 'sentAs' => 'x-ci-request-id',
  1769. ),
  1770. 'ContentType' => array(
  1771. 'type' => 'string',
  1772. 'location' => 'header',
  1773. 'sentAs' => 'Content-Type',
  1774. ),
  1775. 'ContentLength' => array(
  1776. 'type' => 'numeric',
  1777. 'minimum'=> 0,
  1778. 'location' => 'header',
  1779. 'sentAs' => 'Content-Length',
  1780. ),
  1781. 'JobsDetail' => array(
  1782. 'type' => 'object',
  1783. 'location' => 'xml',
  1784. 'properties' => array(
  1785. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  1786. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  1787. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  1788. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  1789. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  1790. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  1791. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  1792. 'Content' => array( 'type' => 'string', 'location' => 'xml', ),
  1793. 'SectionCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  1794. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1795. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  1796. 'Result' => array( 'type' => 'integer', 'location' => 'xml', ),
  1797. 'ForbidState' => array( 'type' => 'integer', 'location' => 'xml', ),
  1798. 'PornInfo' => array(
  1799. 'type' => 'object',
  1800. 'location' => 'xml',
  1801. 'properties' => array(
  1802. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1803. 'Count' => array( 'type' => 'integer', 'location' => 'xml', ),
  1804. ),
  1805. ),
  1806. 'TerrorismInfo' => array(
  1807. 'type' => 'object',
  1808. 'location' => 'xml',
  1809. 'properties' => array(
  1810. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1811. 'Count' => array( 'type' => 'integer', 'location' => 'xml', ),
  1812. ),
  1813. ),
  1814. 'PoliticsInfo' => array(
  1815. 'type' => 'object',
  1816. 'location' => 'xml',
  1817. 'properties' => array(
  1818. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1819. 'Count' => array( 'type' => 'integer', 'location' => 'xml', ),
  1820. ),
  1821. ),
  1822. 'AdsInfo' => array(
  1823. 'type' => 'object',
  1824. 'location' => 'xml',
  1825. 'properties' => array(
  1826. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1827. 'Count' => array( 'type' => 'integer', 'location' => 'xml', ),
  1828. ),
  1829. ),
  1830. 'IllegalInfo' => array(
  1831. 'type' => 'object',
  1832. 'location' => 'xml',
  1833. 'properties' => array(
  1834. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1835. 'Count' => array( 'type' => 'integer', 'location' => 'xml', ),
  1836. ),
  1837. ),
  1838. 'AbuseInfo' => array(
  1839. 'type' => 'object',
  1840. 'location' => 'xml',
  1841. 'properties' => array(
  1842. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1843. 'Count' => array( 'type' => 'integer', 'location' => 'xml', ),
  1844. ),
  1845. ),
  1846. 'Section' => array(
  1847. 'type' => 'array',
  1848. 'location' => 'xml',
  1849. 'items' => array(
  1850. 'type' => 'object',
  1851. 'properties' => array(
  1852. 'StartByte' => array( 'type' => 'integer', 'location' => 'xml', ),
  1853. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  1854. 'Result' => array( 'type' => 'integer', 'location' => 'xml', ),
  1855. 'PornInfo' => array(
  1856. 'type' => 'object',
  1857. 'location' => 'xml',
  1858. 'properties' => array(
  1859. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1860. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1861. 'Keywords' => array( 'type' => 'string', 'location' => 'xml', ),
  1862. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  1863. 'LibResults' => array(
  1864. 'type' => 'array',
  1865. 'location' => 'xml',
  1866. 'items' => array(
  1867. 'type' => 'object',
  1868. 'location' => 'xml',
  1869. 'properties' => array(
  1870. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1871. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1872. 'Keywords' => array(
  1873. 'type' => 'array',
  1874. 'location' => 'xml',
  1875. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1876. ),
  1877. ),
  1878. ),
  1879. ),
  1880. ),
  1881. ),
  1882. 'TerrorismInfo' => array(
  1883. 'type' => 'object',
  1884. 'location' => 'xml',
  1885. 'properties' => array(
  1886. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1887. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1888. 'Keywords' => array( 'type' => 'string', 'location' => 'xml', ),
  1889. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  1890. 'LibResults' => array(
  1891. 'type' => 'array',
  1892. 'location' => 'xml',
  1893. 'items' => array(
  1894. 'type' => 'object',
  1895. 'location' => 'xml',
  1896. 'properties' => array(
  1897. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1898. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1899. 'Keywords' => array(
  1900. 'type' => 'array',
  1901. 'location' => 'xml',
  1902. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1903. ),
  1904. ),
  1905. ),
  1906. ),
  1907. ),
  1908. ),
  1909. 'PoliticsInfo' => array(
  1910. 'type' => 'object',
  1911. 'location' => 'xml',
  1912. 'properties' => array(
  1913. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1914. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1915. 'Keywords' => array( 'type' => 'string', 'location' => 'xml', ),
  1916. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  1917. 'LibResults' => array(
  1918. 'type' => 'array',
  1919. 'location' => 'xml',
  1920. 'items' => array(
  1921. 'type' => 'object',
  1922. 'location' => 'xml',
  1923. 'properties' => array(
  1924. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1925. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1926. 'Keywords' => array(
  1927. 'type' => 'array',
  1928. 'location' => 'xml',
  1929. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1930. ),
  1931. ),
  1932. ),
  1933. ),
  1934. ),
  1935. ),
  1936. 'AdsInfo' => array(
  1937. 'type' => 'object',
  1938. 'location' => 'xml',
  1939. 'properties' => array(
  1940. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1941. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1942. 'Keywords' => array( 'type' => 'string', 'location' => 'xml', ),
  1943. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  1944. 'LibResults' => array(
  1945. 'type' => 'array',
  1946. 'location' => 'xml',
  1947. 'items' => array(
  1948. 'type' => 'object',
  1949. 'location' => 'xml',
  1950. 'properties' => array(
  1951. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1952. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1953. 'Keywords' => array(
  1954. 'type' => 'array',
  1955. 'location' => 'xml',
  1956. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1957. ),
  1958. ),
  1959. ),
  1960. ),
  1961. ),
  1962. ),
  1963. 'IllegalInfo' => array(
  1964. 'type' => 'object',
  1965. 'location' => 'xml',
  1966. 'properties' => array(
  1967. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1968. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1969. 'Keywords' => array( 'type' => 'string', 'location' => 'xml', ),
  1970. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  1971. 'LibResults' => array(
  1972. 'type' => 'array',
  1973. 'location' => 'xml',
  1974. 'items' => array(
  1975. 'type' => 'object',
  1976. 'location' => 'xml',
  1977. 'properties' => array(
  1978. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  1979. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  1980. 'Keywords' => array(
  1981. 'type' => 'array',
  1982. 'location' => 'xml',
  1983. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  1984. ),
  1985. ),
  1986. ),
  1987. ),
  1988. ),
  1989. ),
  1990. 'AbuseInfo' => array(
  1991. 'type' => 'object',
  1992. 'location' => 'xml',
  1993. 'properties' => array(
  1994. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  1995. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  1996. 'Keywords' => array( 'type' => 'string', 'location' => 'xml', ),
  1997. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  1998. 'LibResults' => array(
  1999. 'type' => 'array',
  2000. 'location' => 'xml',
  2001. 'items' => array(
  2002. 'type' => 'object',
  2003. 'location' => 'xml',
  2004. 'properties' => array(
  2005. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  2006. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  2007. 'Keywords' => array(
  2008. 'type' => 'array',
  2009. 'location' => 'xml',
  2010. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  2011. ),
  2012. ),
  2013. ),
  2014. ),
  2015. ),
  2016. ),
  2017. ),
  2018. ),
  2019. ),
  2020. 'UserInfo' => array(
  2021. 'type' => 'object',
  2022. 'location' => 'xml',
  2023. 'properties' => array(
  2024. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  2025. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  2026. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  2027. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  2028. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  2029. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  2030. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  2031. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  2032. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  2033. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  2034. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  2035. ),
  2036. ),
  2037. 'ListInfo' => array(
  2038. 'type' => 'object',
  2039. 'location' => 'xml',
  2040. 'properties' => array(
  2041. 'ListResults' => array(
  2042. 'type' => 'array',
  2043. 'location' => 'xml',
  2044. 'items' => array(
  2045. 'type' => 'object',
  2046. 'location' => 'xml',
  2047. 'properties' => array(
  2048. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  2049. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  2050. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  2051. ),
  2052. ),
  2053. ),
  2054. ),
  2055. ),
  2056. ),
  2057. ),
  2058. ),
  2059. );
  2060. }
  2061. public static function DetectVideo() {
  2062. return array(
  2063. 'httpMethod' => 'POST',
  2064. 'uri' => '/{Bucket}video/auditing',
  2065. 'class' => 'Qcloud\\Cos\\Command',
  2066. 'responseClass' => 'DetectVideoOutput',
  2067. 'responseType' => 'model',
  2068. 'data' => array(
  2069. 'xmlRoot' => array(
  2070. 'name' => 'Request',
  2071. ),
  2072. ),
  2073. 'parameters' => array(
  2074. 'Bucket' => array(
  2075. 'required' => true,
  2076. 'type' => 'string',
  2077. 'location' => 'uri',
  2078. ),
  2079. 'Input' => array(
  2080. 'location' => 'xml',
  2081. 'type' => 'object',
  2082. 'properties' => array(
  2083. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  2084. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  2085. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  2086. 'UserInfo' => array(
  2087. 'location' => 'xml',
  2088. 'type' => 'object',
  2089. 'properties' => array(
  2090. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  2091. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  2092. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  2093. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  2094. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  2095. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  2096. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  2097. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  2098. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  2099. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  2100. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  2101. ),
  2102. ),
  2103. 'Encryption' => array(
  2104. 'location' => 'xml',
  2105. 'type' => 'object',
  2106. 'properties' => array(
  2107. 'Algorithm' => array( 'type' => 'string', 'location' => 'xml', ),
  2108. 'Key' => array( 'type' => 'string', 'location' => 'xml', ),
  2109. 'IV' => array( 'type' => 'string', 'location' => 'xml', ),
  2110. 'KeyId' => array( 'type' => 'string', 'location' => 'xml', ),
  2111. 'KeyType' => array( 'type' => 'integer', 'location' => 'xml', ),
  2112. ),
  2113. ),
  2114. ),
  2115. ),
  2116. 'Conf' => array(
  2117. 'location' => 'xml',
  2118. 'type' => 'object',
  2119. 'properties' => array(
  2120. 'DetectType' => array( 'type' => 'string', 'location' => 'xml', ),
  2121. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  2122. 'BizType' => array( 'type' => 'string', 'location' => 'xml', ),
  2123. 'CallbackVersion' => array( 'type' => 'string', 'location' => 'xml', ),
  2124. 'DetectContent' => array( 'type' => 'integer', 'location' => 'xml', ),
  2125. 'CallbackType' => array( 'type' => 'integer', 'location' => 'xml', ),
  2126. 'Snapshot' => array(
  2127. 'location' => 'xml',
  2128. 'type' => 'object',
  2129. 'properties' => array(
  2130. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  2131. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  2132. 'TimeInterval' => array( 'type' => 'numeric', 'location' => 'xml', ),
  2133. ),
  2134. ),
  2135. 'Freeze' => array(
  2136. 'location' => 'xml',
  2137. 'type' => 'object',
  2138. 'properties' => array(
  2139. 'PornScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2140. 'AdsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2141. 'PoliticsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2142. 'TerrorismScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2143. ),
  2144. ),
  2145. ),
  2146. ),
  2147. ),
  2148. );
  2149. }
  2150. public static function DetectVideoOutput() {
  2151. return array(
  2152. 'type' => 'object',
  2153. 'additionalProperties' => true,
  2154. 'properties' => array(
  2155. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  2156. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  2157. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  2158. 'JobsDetail' => array(
  2159. 'type' => 'object',
  2160. 'location' => 'xml',
  2161. 'properties' => array(
  2162. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  2163. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  2164. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  2165. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  2166. ),
  2167. ),
  2168. ),
  2169. );
  2170. }
  2171. public static function GetDetectVideoResult() {
  2172. return array(
  2173. 'httpMethod' => 'GET',
  2174. 'uri' => '/{Bucket}video/auditing/{/Key*}',
  2175. 'class' => 'Qcloud\\Cos\\Command',
  2176. 'responseClass' => 'GetDetectVideoResultOutput',
  2177. 'responseType' => 'model',
  2178. 'parameters' => array(
  2179. 'Bucket' => array(
  2180. 'required' => true,
  2181. 'type' => 'string',
  2182. 'location' => 'uri',
  2183. ),
  2184. 'Key' => array(
  2185. 'required' => true,
  2186. 'type' => 'string',
  2187. 'location' => 'uri',
  2188. ),
  2189. ),
  2190. );
  2191. }
  2192. public static function GetDetectVideoResultOutput() {
  2193. return array(
  2194. 'type' => 'object',
  2195. 'additionalProperties' => true,
  2196. 'properties' => array(
  2197. 'RequestId' => array(
  2198. 'type' => 'string',
  2199. 'location' => 'header',
  2200. 'sentAs' => 'x-ci-request-id',
  2201. ),
  2202. 'ContentType' => array(
  2203. 'type' => 'string',
  2204. 'location' => 'header',
  2205. 'sentAs' => 'Content-Type',
  2206. ),
  2207. 'ContentLength' => array(
  2208. 'type' => 'numeric',
  2209. 'minimum'=> 0,
  2210. 'location' => 'header',
  2211. 'sentAs' => 'Content-Length',
  2212. ),
  2213. 'JobsDetail' => array(
  2214. 'type' => 'object',
  2215. 'location' => 'xml',
  2216. 'properties' => array(
  2217. 'Code' => array('type' => 'string', 'location' => 'xml',),
  2218. 'Message' => array('type' => 'string', 'location' => 'xml',),
  2219. 'DataId' => array('type' => 'string', 'location' => 'xml',),
  2220. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  2221. 'State' => array('type' => 'string', 'location' => 'xml',),
  2222. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  2223. 'Object' => array('type' => 'string', 'location' => 'xml',),
  2224. 'Url' => array('type' => 'string', 'location' => 'xml',),
  2225. 'SnapshotCount' => array('type' => 'string', 'location' => 'xml',),
  2226. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2227. 'Result' => array('type' => 'integer', 'location' => 'xml',),
  2228. 'ForbidState' => array('type' => 'integer', 'location' => 'xml',),
  2229. 'PornInfo' => array(
  2230. 'type' => 'object',
  2231. 'location' => 'xml',
  2232. 'properties' => array(
  2233. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2234. 'Count' => array('type' => 'integer', 'location' => 'xml',),
  2235. )
  2236. ),
  2237. 'TerrorismInfo' => array(
  2238. 'type' => 'object',
  2239. 'location' => 'xml',
  2240. 'properties' => array(
  2241. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2242. 'Count' => array('type' => 'integer', 'location' => 'xml',),
  2243. )
  2244. ),
  2245. 'PoliticsInfo' => array(
  2246. 'type' => 'object',
  2247. 'location' => 'xml',
  2248. 'properties' => array(
  2249. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2250. 'Count' => array('type' => 'integer', 'location' => 'xml',),
  2251. )
  2252. ),
  2253. 'AdsInfo' => array(
  2254. 'type' => 'object',
  2255. 'location' => 'xml',
  2256. 'properties' => array(
  2257. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2258. 'Count' => array('type' => 'integer', 'location' => 'xml',),
  2259. )
  2260. ),
  2261. 'TeenagerInfo' => array(
  2262. 'type' => 'object',
  2263. 'location' => 'xml',
  2264. 'properties' => array(
  2265. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2266. 'Count' => array('type' => 'integer', 'location' => 'xml',),
  2267. )
  2268. ),
  2269. 'Snapshot' => array(
  2270. 'type' => 'array',
  2271. 'location' => 'xml',
  2272. 'items' => array(
  2273. 'type' => 'object',
  2274. 'properties' => array(
  2275. 'Url' => array('type' => 'string', 'location' => 'xml',),
  2276. 'SnapshotTime' => array('type' => 'integer', 'location' => 'xml',),
  2277. 'Text' => array('type' => 'string', 'location' => 'xml',),
  2278. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2279. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2280. 'Result' => array('type' => 'integer', 'location' => 'xml',),
  2281. 'PornInfo' => array(
  2282. 'type' => 'object',
  2283. 'location' => 'xml',
  2284. 'properties' => array(
  2285. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2286. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  2287. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2288. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2289. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2290. 'OcrResults' => array(
  2291. 'type' => 'array',
  2292. 'location' => 'xml',
  2293. 'items' => array(
  2294. 'type' => 'object',
  2295. 'location' => 'xml',
  2296. 'properties' => array(
  2297. 'Text' => array('type' => 'integer', 'location' => 'xml',),
  2298. 'SubLabel' => array('type' => 'integer', 'location' => 'xml',),
  2299. 'Keywords' => array(
  2300. 'type' => 'array',
  2301. 'location' => 'xml',
  2302. 'items' => array('type' => 'string', 'location' => 'xml',),
  2303. ),
  2304. 'Location' => array(
  2305. 'type' => 'object',
  2306. 'location' => 'xml',
  2307. 'properties' => array(
  2308. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2309. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2310. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2311. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2312. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2313. )
  2314. ),
  2315. )
  2316. ),
  2317. ),
  2318. 'ObjectResults' => array(
  2319. 'type' => 'array',
  2320. 'location' => 'xml',
  2321. 'items' => array(
  2322. 'type' => 'object',
  2323. 'location' => 'xml',
  2324. 'properties' => array(
  2325. 'Name' => array('type' => 'string', 'location' => 'xml',),
  2326. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2327. 'Location' => array(
  2328. 'type' => 'object',
  2329. 'location' => 'xml',
  2330. 'properties' => array(
  2331. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2332. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2333. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2334. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2335. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2336. )
  2337. ),
  2338. )
  2339. ),
  2340. ),
  2341. 'LibResults' => array(
  2342. 'type' => 'array',
  2343. 'location' => 'xml',
  2344. 'items' => array(
  2345. 'type' => 'object',
  2346. 'location' => 'xml',
  2347. 'properties' => array(
  2348. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  2349. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  2350. ),
  2351. ),
  2352. ),
  2353. )
  2354. ),
  2355. 'TerrorismInfo' => array(
  2356. 'type' => 'object',
  2357. 'location' => 'xml',
  2358. 'properties' => array(
  2359. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2360. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  2361. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2362. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2363. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2364. 'OcrResults' => array(
  2365. 'type' => 'array',
  2366. 'location' => 'xml',
  2367. 'items' => array(
  2368. 'type' => 'object',
  2369. 'location' => 'xml',
  2370. 'properties' => array(
  2371. 'Text' => array('type' => 'integer', 'location' => 'xml',),
  2372. 'SubLabel' => array('type' => 'integer', 'location' => 'xml',),
  2373. 'Keywords' => array(
  2374. 'type' => 'array',
  2375. 'location' => 'xml',
  2376. 'items' => array('type' => 'string', 'location' => 'xml',),
  2377. ),
  2378. 'Location' => array(
  2379. 'type' => 'object',
  2380. 'location' => 'xml',
  2381. 'properties' => array(
  2382. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2383. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2384. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2385. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2386. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2387. )
  2388. ),
  2389. )
  2390. ),
  2391. ),
  2392. 'ObjectResults' => array(
  2393. 'type' => 'array',
  2394. 'location' => 'xml',
  2395. 'items' => array(
  2396. 'type' => 'object',
  2397. 'location' => 'xml',
  2398. 'properties' => array(
  2399. 'Name' => array('type' => 'string', 'location' => 'xml',),
  2400. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2401. 'Location' => array(
  2402. 'type' => 'object',
  2403. 'location' => 'xml',
  2404. 'properties' => array(
  2405. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2406. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2407. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2408. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2409. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2410. )
  2411. ),
  2412. )
  2413. ),
  2414. ),
  2415. 'LibResults' => array(
  2416. 'type' => 'array',
  2417. 'location' => 'xml',
  2418. 'items' => array(
  2419. 'type' => 'object',
  2420. 'location' => 'xml',
  2421. 'properties' => array(
  2422. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  2423. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  2424. ),
  2425. ),
  2426. ),
  2427. )
  2428. ),
  2429. 'PoliticsInfo' => array(
  2430. 'type' => 'object',
  2431. 'location' => 'xml',
  2432. 'properties' => array(
  2433. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2434. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  2435. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2436. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2437. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2438. 'OcrResults' => array(
  2439. 'type' => 'array',
  2440. 'location' => 'xml',
  2441. 'items' => array(
  2442. 'type' => 'object',
  2443. 'location' => 'xml',
  2444. 'properties' => array(
  2445. 'Text' => array('type' => 'integer', 'location' => 'xml',),
  2446. 'SubLabel' => array('type' => 'integer', 'location' => 'xml',),
  2447. 'Keywords' => array(
  2448. 'type' => 'array',
  2449. 'location' => 'xml',
  2450. 'items' => array('type' => 'string', 'location' => 'xml',),
  2451. ),
  2452. 'Location' => array(
  2453. 'type' => 'object',
  2454. 'location' => 'xml',
  2455. 'properties' => array(
  2456. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2457. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2458. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2459. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2460. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2461. )
  2462. ),
  2463. )
  2464. ),
  2465. ),
  2466. 'ObjectResults' => array(
  2467. 'type' => 'array',
  2468. 'location' => 'xml',
  2469. 'items' => array(
  2470. 'type' => 'object',
  2471. 'location' => 'xml',
  2472. 'properties' => array(
  2473. 'Name' => array('type' => 'string', 'location' => 'xml',),
  2474. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2475. 'Location' => array(
  2476. 'type' => 'object',
  2477. 'location' => 'xml',
  2478. 'properties' => array(
  2479. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2480. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2481. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2482. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2483. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2484. )
  2485. ),
  2486. )
  2487. ),
  2488. ),
  2489. 'LibResults' => array(
  2490. 'type' => 'array',
  2491. 'location' => 'xml',
  2492. 'items' => array(
  2493. 'type' => 'object',
  2494. 'location' => 'xml',
  2495. 'properties' => array(
  2496. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  2497. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  2498. ),
  2499. ),
  2500. ),
  2501. )
  2502. ),
  2503. 'AdsInfo' => array(
  2504. 'type' => 'object',
  2505. 'location' => 'xml',
  2506. 'properties' => array(
  2507. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2508. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  2509. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2510. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2511. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2512. 'OcrResults' => array(
  2513. 'type' => 'array',
  2514. 'location' => 'xml',
  2515. 'items' => array(
  2516. 'type' => 'object',
  2517. 'location' => 'xml',
  2518. 'properties' => array(
  2519. 'Text' => array('type' => 'integer', 'location' => 'xml',),
  2520. 'SubLabel' => array('type' => 'integer', 'location' => 'xml',),
  2521. 'Keywords' => array(
  2522. 'type' => 'array',
  2523. 'location' => 'xml',
  2524. 'items' => array('type' => 'string', 'location' => 'xml',),
  2525. ),
  2526. 'Location' => array(
  2527. 'type' => 'object',
  2528. 'location' => 'xml',
  2529. 'properties' => array(
  2530. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2531. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2532. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2533. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2534. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2535. )
  2536. ),
  2537. )
  2538. ),
  2539. ),
  2540. 'ObjectResults' => array(
  2541. 'type' => 'array',
  2542. 'location' => 'xml',
  2543. 'items' => array(
  2544. 'type' => 'object',
  2545. 'location' => 'xml',
  2546. 'properties' => array(
  2547. 'Name' => array('type' => 'string', 'location' => 'xml',),
  2548. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2549. 'Location' => array(
  2550. 'type' => 'object',
  2551. 'location' => 'xml',
  2552. 'properties' => array(
  2553. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2554. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2555. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2556. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2557. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2558. )
  2559. ),
  2560. )
  2561. ),
  2562. ),
  2563. 'LibResults' => array(
  2564. 'type' => 'array',
  2565. 'location' => 'xml',
  2566. 'items' => array(
  2567. 'type' => 'object',
  2568. 'location' => 'xml',
  2569. 'properties' => array(
  2570. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  2571. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  2572. ),
  2573. ),
  2574. ),
  2575. )
  2576. ),
  2577. 'TeenagerInfo' => array(
  2578. 'type' => 'object',
  2579. 'location' => 'xml',
  2580. 'properties' => array(
  2581. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  2582. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  2583. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2584. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2585. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2586. 'OcrResults' => array(
  2587. 'type' => 'array',
  2588. 'location' => 'xml',
  2589. 'items' => array(
  2590. 'type' => 'object',
  2591. 'location' => 'xml',
  2592. 'properties' => array(
  2593. 'Text' => array('type' => 'integer', 'location' => 'xml',),
  2594. 'SubLabel' => array('type' => 'integer', 'location' => 'xml',),
  2595. 'Keywords' => array(
  2596. 'type' => 'array',
  2597. 'location' => 'xml',
  2598. 'items' => array('type' => 'string', 'location' => 'xml',),
  2599. ),
  2600. 'Location' => array(
  2601. 'type' => 'object',
  2602. 'location' => 'xml',
  2603. 'properties' => array(
  2604. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2605. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2606. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2607. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2608. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2609. )
  2610. ),
  2611. )
  2612. ),
  2613. ),
  2614. 'ObjectResults' => array(
  2615. 'type' => 'array',
  2616. 'location' => 'xml',
  2617. 'items' => array(
  2618. 'type' => 'object',
  2619. 'location' => 'xml',
  2620. 'properties' => array(
  2621. 'Name' => array('type' => 'string', 'location' => 'xml',),
  2622. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2623. 'Location' => array(
  2624. 'type' => 'object',
  2625. 'location' => 'xml',
  2626. 'properties' => array(
  2627. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  2628. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  2629. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  2630. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  2631. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  2632. )
  2633. ),
  2634. )
  2635. ),
  2636. ),
  2637. 'LibResults' => array(
  2638. 'type' => 'array',
  2639. 'location' => 'xml',
  2640. 'items' => array(
  2641. 'type' => 'object',
  2642. 'location' => 'xml',
  2643. 'properties' => array(
  2644. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  2645. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  2646. ),
  2647. ),
  2648. ),
  2649. )
  2650. ),
  2651. )
  2652. ),
  2653. ),
  2654. 'AudioSection' => array(
  2655. 'type' => 'array',
  2656. 'location' => 'xml',
  2657. 'items' => array(
  2658. 'type' => 'object',
  2659. 'properties' => array(
  2660. 'Url' => array('type' => 'string', 'location' => 'xml',),
  2661. 'Text' => array('type' => 'string', 'location' => 'xml',),
  2662. 'OffsetTime' => array('type' => 'integer', 'location' => 'xml',),
  2663. 'Duration' => array('type' => 'integer', 'location' => 'xml',),
  2664. 'Label' => array('type' => 'string', 'location' => 'xml',),
  2665. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2666. 'Result' => array('type' => 'integer', 'location' => 'xml',),
  2667. 'PornInfo' => array(
  2668. 'type' => 'object',
  2669. 'location' => 'xml',
  2670. 'properties' => array(
  2671. 'HitFlag' => array('type' => 'string', 'location' => 'xml',),
  2672. 'Score' => array('type' => 'string', 'location' => 'xml',),
  2673. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2674. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2675. 'Keywords' => array(
  2676. 'type' => 'array',
  2677. 'location' => 'xml',
  2678. 'items' => array('type' => 'string', 'location' => 'xml',),
  2679. ),
  2680. 'LibResults' => array(
  2681. 'type' => 'array',
  2682. 'location' => 'xml',
  2683. 'items' => array(
  2684. 'type' => 'object',
  2685. 'location' => 'xml',
  2686. 'properties' => array(
  2687. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  2688. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  2689. 'Keywords' => array(
  2690. 'type' => 'array',
  2691. 'location' => 'xml',
  2692. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  2693. ),
  2694. ),
  2695. ),
  2696. ),
  2697. )
  2698. ),
  2699. 'TerrorismInfo' => array(
  2700. 'type' => 'object',
  2701. 'location' => 'xml',
  2702. 'properties' => array(
  2703. 'HitFlag' => array('type' => 'string', 'location' => 'xml',),
  2704. 'Score' => array('type' => 'string', 'location' => 'xml',),
  2705. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2706. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2707. 'Keywords' => array(
  2708. 'type' => 'array',
  2709. 'location' => 'xml',
  2710. 'items' => array('type' => 'string', 'location' => 'xml',),
  2711. ),
  2712. 'LibResults' => array(
  2713. 'type' => 'array',
  2714. 'location' => 'xml',
  2715. 'items' => array(
  2716. 'type' => 'object',
  2717. 'location' => 'xml',
  2718. 'properties' => array(
  2719. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  2720. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  2721. 'Keywords' => array(
  2722. 'type' => 'array',
  2723. 'location' => 'xml',
  2724. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  2725. ),
  2726. ),
  2727. ),
  2728. ),
  2729. )
  2730. ),
  2731. 'PoliticsInfo' => array(
  2732. 'type' => 'object',
  2733. 'location' => 'xml',
  2734. 'properties' => array(
  2735. 'HitFlag' => array('type' => 'string', 'location' => 'xml',),
  2736. 'Score' => array('type' => 'string', 'location' => 'xml',),
  2737. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2738. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2739. 'Keywords' => array(
  2740. 'type' => 'array',
  2741. 'location' => 'xml',
  2742. 'items' => array('type' => 'string', 'location' => 'xml',),
  2743. ),
  2744. 'LibResults' => array(
  2745. 'type' => 'array',
  2746. 'location' => 'xml',
  2747. 'items' => array(
  2748. 'type' => 'object',
  2749. 'location' => 'xml',
  2750. 'properties' => array(
  2751. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  2752. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  2753. 'Keywords' => array(
  2754. 'type' => 'array',
  2755. 'location' => 'xml',
  2756. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  2757. ),
  2758. ),
  2759. ),
  2760. ),
  2761. )
  2762. ),
  2763. 'AdsInfo' => array(
  2764. 'type' => 'object',
  2765. 'location' => 'xml',
  2766. 'properties' => array(
  2767. 'HitFlag' => array('type' => 'string', 'location' => 'xml',),
  2768. 'Score' => array('type' => 'string', 'location' => 'xml',),
  2769. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2770. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2771. 'Keywords' => array(
  2772. 'type' => 'array',
  2773. 'location' => 'xml',
  2774. 'items' => array('type' => 'string', 'location' => 'xml',),
  2775. ),
  2776. 'LibResults' => array(
  2777. 'type' => 'array',
  2778. 'location' => 'xml',
  2779. 'items' => array(
  2780. 'type' => 'object',
  2781. 'location' => 'xml',
  2782. 'properties' => array(
  2783. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  2784. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  2785. 'Keywords' => array(
  2786. 'type' => 'array',
  2787. 'location' => 'xml',
  2788. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  2789. ),
  2790. ),
  2791. ),
  2792. ),
  2793. )
  2794. ),
  2795. 'TeenagerInfo' => array(
  2796. 'type' => 'object',
  2797. 'location' => 'xml',
  2798. 'properties' => array(
  2799. 'HitFlag' => array('type' => 'string', 'location' => 'xml',),
  2800. 'Score' => array('type' => 'string', 'location' => 'xml',),
  2801. 'Category' => array('type' => 'string', 'location' => 'xml',),
  2802. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  2803. 'Keywords' => array(
  2804. 'type' => 'array',
  2805. 'location' => 'xml',
  2806. 'items' => array('type' => 'string', 'location' => 'xml',),
  2807. ),
  2808. 'LibResults' => array(
  2809. 'type' => 'array',
  2810. 'location' => 'xml',
  2811. 'items' => array(
  2812. 'type' => 'object',
  2813. 'location' => 'xml',
  2814. 'properties' => array(
  2815. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  2816. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  2817. 'Keywords' => array(
  2818. 'type' => 'array',
  2819. 'location' => 'xml',
  2820. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  2821. ),
  2822. ),
  2823. ),
  2824. ),
  2825. )
  2826. ),
  2827. ),
  2828. ),
  2829. ),
  2830. 'UserInfo' => array(
  2831. 'type' => 'object',
  2832. 'location' => 'xml',
  2833. 'properties' => array(
  2834. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  2835. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  2836. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  2837. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  2838. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  2839. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  2840. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  2841. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  2842. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  2843. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  2844. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  2845. ),
  2846. ),
  2847. 'ListInfo' => array(
  2848. 'type' => 'object',
  2849. 'location' => 'xml',
  2850. 'properties' => array(
  2851. 'ListResults' => array(
  2852. 'type' => 'array',
  2853. 'location' => 'xml',
  2854. 'items' => array(
  2855. 'type' => 'object',
  2856. 'location' => 'xml',
  2857. 'properties' => array(
  2858. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  2859. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  2860. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  2861. ),
  2862. ),
  2863. ),
  2864. ),
  2865. ),
  2866. )
  2867. ),
  2868. 'NonExistJobIds' => array('type' => 'string', 'location' => 'xml',)
  2869. ),
  2870. );
  2871. }
  2872. public static function DetectDocument() {
  2873. return array(
  2874. 'httpMethod' => 'POST',
  2875. 'uri' => '/{Bucket}document/auditing',
  2876. 'class' => 'Qcloud\\Cos\\Command',
  2877. 'responseClass' => 'DetectDocumentOutput',
  2878. 'responseType' => 'model',
  2879. 'data' => array(
  2880. 'xmlRoot' => array(
  2881. 'name' => 'Request',
  2882. ),
  2883. ),
  2884. 'parameters' => array(
  2885. 'Bucket' => array(
  2886. 'required' => true,
  2887. 'type' => 'string',
  2888. 'location' => 'uri',
  2889. ),
  2890. 'Input' => array(
  2891. 'location' => 'xml',
  2892. 'type' => 'object',
  2893. 'properties' => array(
  2894. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  2895. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  2896. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  2897. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  2898. 'UserInfo' => array(
  2899. 'location' => 'xml',
  2900. 'type' => 'object',
  2901. 'properties' => array(
  2902. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  2903. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  2904. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  2905. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  2906. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  2907. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  2908. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  2909. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  2910. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  2911. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  2912. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  2913. ),
  2914. ),
  2915. ),
  2916. ),
  2917. 'Conf' => array(
  2918. 'location' => 'xml',
  2919. 'type' => 'object',
  2920. 'properties' => array(
  2921. 'DetectType' => array( 'type' => 'string', 'location' => 'xml', ),
  2922. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  2923. 'BizType' => array( 'type' => 'string', 'location' => 'xml', ),
  2924. 'CallbackType' => array( 'type' => 'integer', 'location' => 'xml', ),
  2925. 'Freeze' => array(
  2926. 'location' => 'xml',
  2927. 'type' => 'object',
  2928. 'properties' => array(
  2929. 'PornScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2930. 'AdsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2931. 'PoliticsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2932. 'TerrorismScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  2933. ),
  2934. ),
  2935. ),
  2936. ),
  2937. ),
  2938. );
  2939. }
  2940. public static function DetectDocumentOutput() {
  2941. return array(
  2942. 'type' => 'object',
  2943. 'additionalProperties' => true,
  2944. 'properties' => array(
  2945. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  2946. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  2947. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  2948. 'JobsDetail' => array(
  2949. 'type' => 'object',
  2950. 'location' => 'xml',
  2951. 'properties' => array(
  2952. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  2953. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  2954. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  2955. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  2956. ),
  2957. ),
  2958. ),
  2959. );
  2960. }
  2961. public static function GetDetectDocumentResult() {
  2962. return array(
  2963. 'httpMethod' => 'GET',
  2964. 'uri' => '/{Bucket}document/auditing/{/Key*}',
  2965. 'class' => 'Qcloud\\Cos\\Command',
  2966. 'responseClass' => 'GetDetectDocumentResultOutput',
  2967. 'responseType' => 'model',
  2968. 'parameters' => array(
  2969. 'Bucket' => array(
  2970. 'required' => true,
  2971. 'type' => 'string',
  2972. 'location' => 'uri',
  2973. ),
  2974. 'Key' => array(
  2975. 'required' => true,
  2976. 'type' => 'string',
  2977. 'location' => 'uri',
  2978. ),
  2979. ),
  2980. );
  2981. }
  2982. public static function GetDetectDocumentResultOutput() {
  2983. return array(
  2984. 'type' => 'object',
  2985. 'additionalProperties' => true,
  2986. 'properties' => array(
  2987. 'RequestId' => array(
  2988. 'type' => 'string',
  2989. 'location' => 'header',
  2990. 'sentAs' => 'x-ci-request-id',
  2991. ),
  2992. 'ContentType' => array(
  2993. 'type' => 'string',
  2994. 'location' => 'header',
  2995. 'sentAs' => 'Content-Type',
  2996. ),
  2997. 'ContentLength' => array(
  2998. 'type' => 'numeric',
  2999. 'minimum'=> 0,
  3000. 'location' => 'header',
  3001. 'sentAs' => 'Content-Length',
  3002. ),
  3003. 'JobsDetail' => array(
  3004. 'type' => 'object',
  3005. 'location' => 'xml',
  3006. 'properties' => array(
  3007. 'Code' => array('type' => 'string', 'location' => 'xml',),
  3008. 'Message' => array('type' => 'string', 'location' => 'xml',),
  3009. 'DataId' => array('type' => 'string', 'location' => 'xml',),
  3010. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  3011. 'State' => array('type' => 'string', 'location' => 'xml',),
  3012. 'Suggestion' => array('type' => 'integer', 'location' => 'xml',),
  3013. 'Label' => array('type' => 'string', 'location' => 'xml',),
  3014. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  3015. 'Object' => array('type' => 'string', 'location' => 'xml',),
  3016. 'Url' => array('type' => 'string', 'location' => 'xml',),
  3017. 'PageCount' => array('type' => 'integer', 'location' => 'xml',),
  3018. 'ForbidState' => array('type' => 'integer', 'location' => 'xml',),
  3019. 'Labels' => array(
  3020. 'type' => 'object',
  3021. 'location' => 'xml',
  3022. 'properties' => array(
  3023. 'PornInfo' => array(
  3024. 'type' => 'object',
  3025. 'location' => 'xml',
  3026. 'properties' => array(
  3027. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3028. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3029. ),
  3030. ),
  3031. 'TerrorismInfo' => array(
  3032. 'type' => 'object',
  3033. 'location' => 'xml',
  3034. 'properties' => array(
  3035. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3036. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3037. ),
  3038. ),
  3039. 'PoliticsInfo' => array(
  3040. 'type' => 'object',
  3041. 'location' => 'xml',
  3042. 'properties' => array(
  3043. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3044. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3045. ),
  3046. ),
  3047. 'AdsInfo' => array(
  3048. 'type' => 'object',
  3049. 'location' => 'xml',
  3050. 'properties' => array(
  3051. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3052. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3053. ),
  3054. ),
  3055. ),
  3056. ),
  3057. 'PageSegment' => array(
  3058. 'type' => 'object',
  3059. 'location' => 'xml',
  3060. 'properties' => array(
  3061. 'Results' => array(
  3062. 'type' => 'array',
  3063. 'location' => 'xml',
  3064. 'items' => array(
  3065. 'type' => 'object',
  3066. 'location' => 'xml',
  3067. 'properties' => array(
  3068. 'Url' => array('type' => 'string', 'location' => 'xml',),
  3069. 'Text' => array('type' => 'string', 'location' => 'xml',),
  3070. 'PageNumber' => array('type' => 'integer', 'location' => 'xml',),
  3071. 'SheetNumber' => array('type' => 'integer', 'location' => 'xml',),
  3072. 'Label' => array('type' => 'string', 'location' => 'xml',),
  3073. 'Suggestion' => array('type' => 'integer', 'location' => 'xml',),
  3074. 'PornInfo' => array(
  3075. 'type' => 'object',
  3076. 'location' => 'xml',
  3077. 'properties' => array(
  3078. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3079. 'Category' => array('type' => 'string', 'location' => 'xml',),
  3080. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3081. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3082. 'OcrResults' => array(
  3083. 'type' => 'array',
  3084. 'location' => 'xml',
  3085. 'items' => array(
  3086. 'type' => 'object',
  3087. 'location' => 'xml',
  3088. 'properties' => array(
  3089. 'Text' => array('type' => 'string', 'location' => 'xml',),
  3090. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3091. 'Keywords' => array(
  3092. 'type' => 'array',
  3093. 'location' => 'xml',
  3094. 'items' => array('type' => 'string', 'location' => 'xml',)
  3095. ),
  3096. 'Location' => array(
  3097. 'type' => 'object',
  3098. 'location' => 'xml',
  3099. 'properties' => array(
  3100. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3101. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3102. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3103. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3104. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3105. ),
  3106. ),
  3107. ),
  3108. ),
  3109. ),
  3110. 'ObjectResults' => array(
  3111. 'type' => 'array',
  3112. 'location' => 'xml',
  3113. 'items' => array(
  3114. 'type' => 'object',
  3115. 'location' => 'xml',
  3116. 'properties' => array(
  3117. 'Name' => array('type' => 'string', 'location' => 'xml',),
  3118. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3119. 'Location' => array(
  3120. 'type' => 'object',
  3121. 'location' => 'xml',
  3122. 'properties' => array(
  3123. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3124. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3125. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3126. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3127. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3128. ),
  3129. ),
  3130. ),
  3131. ),
  3132. ),
  3133. 'LibResults' => array(
  3134. 'type' => 'array',
  3135. 'location' => 'xml',
  3136. 'items' => array(
  3137. 'type' => 'object',
  3138. 'location' => 'xml',
  3139. 'properties' => array(
  3140. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  3141. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  3142. ),
  3143. ),
  3144. ),
  3145. ),
  3146. ),
  3147. 'TerrorismInfo' => array(
  3148. 'type' => 'object',
  3149. 'location' => 'xml',
  3150. 'properties' => array(
  3151. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3152. 'Category' => array('type' => 'string', 'location' => 'xml',),
  3153. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3154. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3155. 'OcrResults' => array(
  3156. 'type' => 'array',
  3157. 'location' => 'xml',
  3158. 'items' => array(
  3159. 'type' => 'object',
  3160. 'location' => 'xml',
  3161. 'properties' => array(
  3162. 'Text' => array('type' => 'string', 'location' => 'xml',),
  3163. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3164. 'Keywords' => array(
  3165. 'type' => 'array',
  3166. 'location' => 'xml',
  3167. 'items' => array('type' => 'string', 'location' => 'xml',)
  3168. ),
  3169. 'Location' => array(
  3170. 'type' => 'object',
  3171. 'location' => 'xml',
  3172. 'properties' => array(
  3173. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3174. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3175. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3176. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3177. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3178. ),
  3179. ),
  3180. ),
  3181. ),
  3182. ),
  3183. 'ObjectResults' => array(
  3184. 'type' => 'array',
  3185. 'location' => 'xml',
  3186. 'items' => array(
  3187. 'type' => 'object',
  3188. 'location' => 'xml',
  3189. 'properties' => array(
  3190. 'Name' => array('type' => 'string', 'location' => 'xml',),
  3191. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3192. 'Location' => array(
  3193. 'type' => 'object',
  3194. 'location' => 'xml',
  3195. 'properties' => array(
  3196. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3197. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3198. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3199. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3200. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3201. ),
  3202. ),
  3203. ),
  3204. ),
  3205. ),
  3206. 'LibResults' => array(
  3207. 'type' => 'array',
  3208. 'location' => 'xml',
  3209. 'items' => array(
  3210. 'type' => 'object',
  3211. 'location' => 'xml',
  3212. 'properties' => array(
  3213. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  3214. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  3215. ),
  3216. ),
  3217. ),
  3218. ),
  3219. ),
  3220. 'PoliticsInfo' => array(
  3221. 'type' => 'object',
  3222. 'location' => 'xml',
  3223. 'properties' => array(
  3224. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3225. 'Category' => array('type' => 'string', 'location' => 'xml',),
  3226. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3227. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3228. 'OcrResults' => array(
  3229. 'type' => 'array',
  3230. 'location' => 'xml',
  3231. 'items' => array(
  3232. 'type' => 'object',
  3233. 'location' => 'xml',
  3234. 'properties' => array(
  3235. 'Text' => array('type' => 'string', 'location' => 'xml',),
  3236. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3237. 'Keywords' => array(
  3238. 'type' => 'array',
  3239. 'location' => 'xml',
  3240. 'items' => array('type' => 'string', 'location' => 'xml',)
  3241. ),
  3242. 'Location' => array(
  3243. 'type' => 'object',
  3244. 'location' => 'xml',
  3245. 'properties' => array(
  3246. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3247. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3248. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3249. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3250. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3251. ),
  3252. ),
  3253. ),
  3254. ),
  3255. ),
  3256. 'ObjectResults' => array(
  3257. 'type' => 'array',
  3258. 'location' => 'xml',
  3259. 'items' => array(
  3260. 'type' => 'object',
  3261. 'location' => 'xml',
  3262. 'properties' => array(
  3263. 'Name' => array('type' => 'string', 'location' => 'xml',),
  3264. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3265. 'Location' => array(
  3266. 'type' => 'object',
  3267. 'location' => 'xml',
  3268. 'properties' => array(
  3269. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3270. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3271. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3272. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3273. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3274. ),
  3275. ),
  3276. ),
  3277. ),
  3278. ),
  3279. 'LibResults' => array(
  3280. 'type' => 'array',
  3281. 'location' => 'xml',
  3282. 'items' => array(
  3283. 'type' => 'object',
  3284. 'location' => 'xml',
  3285. 'properties' => array(
  3286. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  3287. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  3288. ),
  3289. ),
  3290. ),
  3291. ),
  3292. ),
  3293. 'AdsInfo' => array(
  3294. 'type' => 'object',
  3295. 'location' => 'xml',
  3296. 'properties' => array(
  3297. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  3298. 'Category' => array('type' => 'string', 'location' => 'xml',),
  3299. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3300. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  3301. 'OcrResults' => array(
  3302. 'type' => 'array',
  3303. 'location' => 'xml',
  3304. 'items' => array(
  3305. 'type' => 'object',
  3306. 'location' => 'xml',
  3307. 'properties' => array(
  3308. 'Text' => array('type' => 'string', 'location' => 'xml',),
  3309. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3310. 'Keywords' => array(
  3311. 'type' => 'array',
  3312. 'location' => 'xml',
  3313. 'items' => array('type' => 'string', 'location' => 'xml',)
  3314. ),
  3315. 'Location' => array(
  3316. 'type' => 'object',
  3317. 'location' => 'xml',
  3318. 'properties' => array(
  3319. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3320. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3321. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3322. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3323. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3324. ),
  3325. ),
  3326. ),
  3327. ),
  3328. ),
  3329. 'ObjectResults' => array(
  3330. 'type' => 'array',
  3331. 'location' => 'xml',
  3332. 'items' => array(
  3333. 'type' => 'object',
  3334. 'location' => 'xml',
  3335. 'properties' => array(
  3336. 'Name' => array('type' => 'string', 'location' => 'xml',),
  3337. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  3338. 'Location' => array(
  3339. 'type' => 'object',
  3340. 'location' => 'xml',
  3341. 'properties' => array(
  3342. 'X' => array('type' => 'numeric', 'location' => 'xml',),
  3343. 'Y' => array('type' => 'numeric', 'location' => 'xml',),
  3344. 'Height' => array('type' => 'numeric', 'location' => 'xml',),
  3345. 'Width' => array('type' => 'numeric', 'location' => 'xml',),
  3346. 'Rotate' => array('type' => 'numeric', 'location' => 'xml',),
  3347. ),
  3348. ),
  3349. ),
  3350. ),
  3351. ),
  3352. 'LibResults' => array(
  3353. 'type' => 'array',
  3354. 'location' => 'xml',
  3355. 'items' => array(
  3356. 'type' => 'object',
  3357. 'location' => 'xml',
  3358. 'properties' => array(
  3359. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  3360. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  3361. ),
  3362. ),
  3363. ),
  3364. ),
  3365. ),
  3366. ),
  3367. ),
  3368. ),
  3369. ),
  3370. ),
  3371. 'UserInfo' => array(
  3372. 'type' => 'object',
  3373. 'location' => 'xml',
  3374. 'properties' => array(
  3375. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  3376. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  3377. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  3378. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  3379. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  3380. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  3381. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  3382. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  3383. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  3384. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  3385. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  3386. ),
  3387. ),
  3388. 'ListInfo' => array(
  3389. 'type' => 'object',
  3390. 'location' => 'xml',
  3391. 'properties' => array(
  3392. 'ListResults' => array(
  3393. 'type' => 'array',
  3394. 'location' => 'xml',
  3395. 'items' => array(
  3396. 'type' => 'object',
  3397. 'location' => 'xml',
  3398. 'properties' => array(
  3399. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  3400. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  3401. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  3402. ),
  3403. ),
  3404. ),
  3405. ),
  3406. ),
  3407. ),
  3408. ),
  3409. ),
  3410. );
  3411. }
  3412. public static function CreateDocProcessJobs() {
  3413. return array(
  3414. 'httpMethod' => 'POST',
  3415. 'uri' => '/{Bucket}doc_jobs',
  3416. 'class' => 'Qcloud\\Cos\\Command',
  3417. 'responseClass' => 'CreateDocProcessJobsOutput',
  3418. 'responseType' => 'model',
  3419. 'data' => array(
  3420. 'xmlRoot' => array(
  3421. 'name' => 'Request',
  3422. ),
  3423. ),
  3424. 'parameters' => array(
  3425. 'Bucket' => array(
  3426. 'required' => true,
  3427. 'type' => 'string',
  3428. 'location' => 'uri',
  3429. ),
  3430. 'Tag' => array(
  3431. 'type' => 'string',
  3432. 'location' => 'xml',
  3433. ),
  3434. 'QueueId' => array(
  3435. 'type' => 'string',
  3436. 'location' => 'xml',
  3437. ),
  3438. 'Input' => array(
  3439. 'type' => 'object',
  3440. 'location' => 'xml',
  3441. 'properties' => array(
  3442. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  3443. ),
  3444. ),
  3445. 'Operation' => array(
  3446. 'type' => 'object',
  3447. 'location' => 'xml',
  3448. 'properties' => array(
  3449. 'Output' => array(
  3450. 'type' => 'object',
  3451. 'location' => 'xml',
  3452. 'properties' => array(
  3453. 'Region' => array(
  3454. 'type' => 'string','location' => 'xml',
  3455. ),
  3456. 'Bucket' => array(
  3457. 'type' => 'string','location' => 'xml',
  3458. ),
  3459. 'Object' => array(
  3460. 'type' => 'string','location' => 'xml',
  3461. ),
  3462. ),
  3463. ),
  3464. 'DocProcess' => array(
  3465. 'type' => 'object',
  3466. 'location' => 'xml',
  3467. 'properties' => array(
  3468. 'SrcType' => array(
  3469. 'type' => 'string',
  3470. ),
  3471. 'TgtType' => array(
  3472. 'type' => 'string',
  3473. ),
  3474. 'SheetId' => array(
  3475. 'type' => 'integer',
  3476. ),
  3477. 'StartPage' => array(
  3478. 'type' => 'integer',
  3479. ),
  3480. 'EndPage' => array(
  3481. 'type' => 'integer',
  3482. ),
  3483. 'ImageParams' => array(
  3484. 'type' => 'string',
  3485. ),
  3486. 'DocPassword' => array(
  3487. 'type' => 'string',
  3488. ),
  3489. 'Comments' => array(
  3490. 'type' => 'integer',
  3491. ),
  3492. 'PaperDirection' => array(
  3493. 'type' => 'integer',
  3494. ),
  3495. 'Quality' => array(
  3496. 'type' => 'integer',
  3497. ),
  3498. 'Zoom' => array(
  3499. 'type' => 'integer',
  3500. ),
  3501. ),
  3502. ),
  3503. ),
  3504. ),
  3505. ),
  3506. );
  3507. }
  3508. public static function CreateDocProcessJobsOutput()
  3509. {
  3510. return array(
  3511. 'type' => 'object',
  3512. 'additionalProperties' => true,
  3513. 'properties' => array(
  3514. 'RequestId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id',),
  3515. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  3516. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  3517. 'JobsDetail' => array(
  3518. 'type' => 'object',
  3519. 'location' => 'xml',
  3520. 'properties' => array(
  3521. 'EndTime' => array('type' => 'string', 'location' => 'xml',),
  3522. 'StartTime' => array('type' => 'string', 'location' => 'xml',),
  3523. 'Code' => array('type' => 'string', 'location' => 'xml',),
  3524. 'Message' => array('type' => 'string', 'location' => 'xml',),
  3525. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  3526. 'Tag' => array('type' => 'string', 'location' => 'xml',),
  3527. 'State' => array('type' => 'string', 'location' => 'xml',),
  3528. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  3529. 'QueueId' => array('type' => 'string', 'location' => 'xml',),
  3530. 'Input' => array(
  3531. 'type' => 'object',
  3532. 'location' => 'xml',
  3533. 'properties' => array(
  3534. 'Object' => array('type' => 'string', 'location' => 'xml',),
  3535. ),
  3536. ),
  3537. 'Operation' => array(
  3538. 'type' => 'object',
  3539. 'location' => 'xml',
  3540. 'properties' => array(
  3541. 'Output' => array(
  3542. 'required' => true,
  3543. 'type' => 'object',
  3544. 'location' => 'xml',
  3545. 'properties' => array(
  3546. 'Region' => array(
  3547. 'type' => 'string','location' => 'xml',
  3548. ),
  3549. 'Bucket' => array(
  3550. 'type' => 'string','location' => 'xml',
  3551. ),
  3552. 'Object' => array(
  3553. 'type' => 'string','location' => 'xml',
  3554. ),
  3555. ),
  3556. ),
  3557. 'DocProcess' => array(
  3558. 'type' => 'object',
  3559. 'location' => 'xml',
  3560. 'properties' => array(
  3561. 'SrcType' => array(
  3562. 'type' => 'string',
  3563. ),
  3564. 'TgtType' => array(
  3565. 'type' => 'string',
  3566. ),
  3567. 'SheetId' => array(
  3568. 'type' => 'integer',
  3569. ),
  3570. 'StartPage' => array(
  3571. 'type' => 'integer',
  3572. ),
  3573. 'EndPage' => array(
  3574. 'type' => 'integer',
  3575. ),
  3576. 'ImageParams' => array(
  3577. 'type' => 'string',
  3578. ),
  3579. 'DocPassword' => array(
  3580. 'type' => 'string',
  3581. ),
  3582. 'Comments' => array(
  3583. 'type' => 'integer',
  3584. ),
  3585. 'PaperDirection' => array(
  3586. 'type' => 'integer',
  3587. ),
  3588. 'Quality' => array(
  3589. 'type' => 'integer',
  3590. ),
  3591. 'Zoom' => array(
  3592. 'type' => 'integer',
  3593. ),
  3594. ),
  3595. ),
  3596. ),
  3597. ),
  3598. ),
  3599. ),
  3600. ),
  3601. );
  3602. }
  3603. public static function DescribeDocProcessQueues() {
  3604. return array(
  3605. 'httpMethod' => 'GET',
  3606. 'uri' => '/{Bucket}docqueue',
  3607. 'class' => 'Qcloud\\Cos\\Command',
  3608. 'responseClass' => 'DescribeDocProcessQueuesOutput',
  3609. 'responseType' => 'model',
  3610. 'data' => array(
  3611. 'xmlRoot' => array(
  3612. 'name' => 'Request',
  3613. ),
  3614. ),
  3615. 'parameters' => array(
  3616. 'Bucket' => array(
  3617. 'required' => true,
  3618. 'type' => 'string',
  3619. 'location' => 'uri',
  3620. ),
  3621. 'queueIds' => array(
  3622. 'type' => 'string',
  3623. 'location' => 'xml',
  3624. ),
  3625. 'state' => array(
  3626. 'type' => 'string',
  3627. 'location' => 'xml',
  3628. ),
  3629. 'pageNumber' => array(
  3630. 'type' => 'string',
  3631. 'location' => 'query',
  3632. ),
  3633. 'pageSize' => array(
  3634. 'type' => 'string',
  3635. 'location' => 'query',
  3636. ),
  3637. ),
  3638. );
  3639. }
  3640. public static function DescribeDocProcessQueuesOutput() {
  3641. return array(
  3642. 'type' => 'object',
  3643. 'additionalProperties' => true,
  3644. 'properties' => array(
  3645. 'RequestId' => array('type' => 'string', 'location' => 'xml',),
  3646. 'TotalCount' => array('type' => 'integer', 'location' => 'xml',),
  3647. 'PageNumber' => array('type' => 'integer', 'location' => 'xml',),
  3648. 'PageSize' => array('type' => 'integer', 'location' => 'xml',),
  3649. 'QueueList' => array(
  3650. 'type' => 'object',
  3651. 'location' => 'xml',
  3652. 'properties' => array(
  3653. 'State' => array('type' => 'string', 'location' => 'xml',),
  3654. 'Name' => array('type' => 'string', 'location' => 'xml',),
  3655. 'MaxSize' => array('type' => 'integer', 'location' => 'xml',),
  3656. 'MaxConcurrent' => array('type' => 'integer', 'location' => 'xml',),
  3657. 'CreateTime' => array('type' => 'string', 'location' => 'xml',),
  3658. 'UpdateTime' => array('type' => 'string', 'location' => 'xml',),
  3659. 'BucketId' => array('type' => 'string', 'location' => 'xml',),
  3660. 'Category' => array('type' => 'string', 'location' => 'xml',),
  3661. 'QueueId' => array('type' => 'string', 'location' => 'xml',),
  3662. 'NotifyConfig' => array(
  3663. 'type' => 'object',
  3664. 'location' => 'xml',
  3665. 'properties' => array(
  3666. 'Url' => array('type' => 'string', 'location' => 'xml',),
  3667. 'Event' => array('type' => 'string', 'location' => 'xml',),
  3668. 'Type' => array('type' => 'string', 'location' => 'xml',),
  3669. 'State' => array('type' => 'string', 'location' => 'xml',),
  3670. ),
  3671. ),
  3672. ),
  3673. ),
  3674. ),
  3675. );
  3676. }
  3677. public static function DescribeDocProcessJob() {
  3678. return array(
  3679. 'httpMethod' => 'GET',
  3680. 'uri' => '/{Bucket}doc_jobs/{/Key*}',
  3681. 'class' => 'Qcloud\\Cos\\Command',
  3682. 'responseClass' => 'DescribeDocProcessJobOutput',
  3683. 'responseType' => 'model',
  3684. 'parameters' => array(
  3685. 'Bucket' => array(
  3686. 'required' => true,
  3687. 'type' => 'string',
  3688. 'location' => 'uri',
  3689. ),
  3690. 'Key' => array(
  3691. 'required' => true,
  3692. 'type' => 'string',
  3693. 'location' => 'uri',
  3694. ),
  3695. ),
  3696. );
  3697. }
  3698. public static function DescribeDocProcessJobOutput() {
  3699. return array(
  3700. 'type' => 'object',
  3701. 'additionalProperties' => true,
  3702. 'properties' => array(
  3703. 'RequestId' => array(
  3704. 'type' => 'string',
  3705. 'location' => 'header',
  3706. 'sentAs' => 'x-ci-request-id',
  3707. ),
  3708. 'ContentType' => array(
  3709. 'type' => 'string',
  3710. 'location' => 'header',
  3711. 'sentAs' => 'Content-Type',
  3712. ),
  3713. 'ContentLength' => array(
  3714. 'type' => 'numeric',
  3715. 'minimum'=> 0,
  3716. 'location' => 'header',
  3717. 'sentAs' => 'Content-Length',
  3718. ),
  3719. 'JobsDetail' => array(
  3720. 'type' => 'object',
  3721. 'location' => 'xml',
  3722. 'properties' => array(
  3723. 'Code' => array(
  3724. 'type' => 'string',
  3725. ),
  3726. 'Message' => array(
  3727. 'type' => 'string',
  3728. ),
  3729. 'JobId' => array(
  3730. 'type' => 'string',
  3731. ),
  3732. 'State' => array(
  3733. 'type' => 'string',
  3734. ),
  3735. 'CreationTime' => array(
  3736. 'type' => 'string',
  3737. ),
  3738. 'QueueId' => array(
  3739. 'type' => 'string',
  3740. ),
  3741. 'Tag' => array(
  3742. 'type' => 'string',
  3743. ),
  3744. 'EndTime' => array(
  3745. 'type' => 'string',
  3746. ),
  3747. 'Input' => array(
  3748. 'type' => 'object',
  3749. 'location' => 'xml',
  3750. 'properties' => array(
  3751. 'Object' => array(
  3752. 'type' => 'string',
  3753. ),
  3754. ),
  3755. ),
  3756. 'Operation' => array(
  3757. 'type' => 'object',
  3758. 'location' => 'xml',
  3759. 'properties' => array(
  3760. 'DocProcess' => array(
  3761. 'type' => 'object',
  3762. 'location' => 'xml',
  3763. 'properties' => array(
  3764. 'SrcType' => array(
  3765. 'type' => 'string',
  3766. ),
  3767. 'TgtType' => array(
  3768. 'type' => 'string',
  3769. ),
  3770. 'SheetId' => array(
  3771. 'type' => 'integer',
  3772. ),
  3773. 'StartPage' => array(
  3774. 'type' => 'integer',
  3775. ),
  3776. 'EndPage' => array(
  3777. 'type' => 'integer',
  3778. ),
  3779. 'ImageParams' => array(
  3780. 'type' => 'string',
  3781. ),
  3782. 'DocPassword' => array(
  3783. 'type' => 'string',
  3784. ),
  3785. 'Comments' => array(
  3786. 'type' => 'integer',
  3787. ),
  3788. 'PaperDirection' => array(
  3789. 'type' => 'integer',
  3790. ),
  3791. 'Quality' => array(
  3792. 'type' => 'integer',
  3793. ),
  3794. 'Zoom' => array(
  3795. 'type' => 'integer',
  3796. ),
  3797. ),
  3798. ),
  3799. 'DocProcessResult' => array(
  3800. 'type' => 'object',
  3801. 'location' => 'xml',
  3802. 'properties' => array(
  3803. 'PageInfo' => array(
  3804. 'type' => 'array',
  3805. 'location' => 'xml',
  3806. 'items' => array(
  3807. 'type' => 'object',
  3808. 'location' => 'xml',
  3809. 'properties' => array(
  3810. 'PageNo' => array(
  3811. 'type' => 'integer',
  3812. ),
  3813. 'TgtUri' => array(
  3814. 'type' => 'string',
  3815. ),
  3816. 'PicIndex' => array(
  3817. 'type' => 'integer',
  3818. ),
  3819. 'PicNum' => array(
  3820. 'type' => 'integer',
  3821. ),
  3822. 'X-SheetPics' => array(
  3823. 'type' => 'integer',
  3824. ),
  3825. ),
  3826. ),
  3827. ),
  3828. 'SuccPageCount' => array(
  3829. 'type' => 'integer',
  3830. ),
  3831. 'FailPageCount' => array(
  3832. 'type' => 'integer',
  3833. ),
  3834. 'TaskId' => array(
  3835. 'type' => 'string',
  3836. ),
  3837. 'TgtType' => array(
  3838. 'type' => 'string',
  3839. ),
  3840. 'TotalPageCount' => array(
  3841. 'type' => 'integer',
  3842. ),
  3843. 'TotalSheetCount' => array(
  3844. 'type' => 'integer',
  3845. ),
  3846. ),
  3847. ),
  3848. 'Output' => array(
  3849. 'type' => 'object',
  3850. 'location' => 'xml',
  3851. 'properties' => array(
  3852. 'Bucket' => array(
  3853. 'type' => 'string',
  3854. ),
  3855. 'Object' => array(
  3856. 'type' => 'string',
  3857. ),
  3858. 'Region' => array(
  3859. 'type' => 'string',
  3860. ),
  3861. ),
  3862. ),
  3863. ),
  3864. ),
  3865. ),
  3866. ),
  3867. ),
  3868. );
  3869. }
  3870. public static function GetDescribeDocProcessJobs() {
  3871. return array(
  3872. 'httpMethod' => 'GET',
  3873. 'uri' => '/{Bucket}doc_jobs',
  3874. 'class' => 'Qcloud\\Cos\\Command',
  3875. 'responseClass' => 'GetDescribeDocProcessJobsOutput',
  3876. 'responseType' => 'model',
  3877. 'parameters' => array(
  3878. 'Bucket' => array(
  3879. 'required' => true,
  3880. 'type' => 'string',
  3881. 'location' => 'uri',
  3882. ),
  3883. 'Tag' => array(
  3884. 'type' => 'string',
  3885. 'location' => 'query',
  3886. 'sentAs' => 'tag',
  3887. ),
  3888. 'QueueId' => array(
  3889. 'type' => 'string',
  3890. 'location' => 'query',
  3891. 'sentAs' => 'queueId',
  3892. ),
  3893. 'OrderByTime' => array(
  3894. 'type' => 'string',
  3895. 'location' => 'query',
  3896. 'sentAs' => 'orderByTime',
  3897. ),
  3898. 'NextToken' => array(
  3899. 'type' => 'string',
  3900. 'location' => 'query',
  3901. 'sentAs' => 'nextToken',
  3902. ),
  3903. 'Size' => array(
  3904. 'type' => 'integer',
  3905. 'location' => 'query',
  3906. 'sentAs' => 'size',
  3907. ),
  3908. 'States' => array(
  3909. 'type' => 'string',
  3910. 'location' => 'query',
  3911. 'sentAs' => 'states',
  3912. ),
  3913. 'StartCreationTime' => array(
  3914. 'type' => 'string',
  3915. 'location' => 'query',
  3916. 'sentAs' => 'startCreationTime',
  3917. ),
  3918. 'EndCreationTime' => array(
  3919. 'type' => 'string',
  3920. 'location' => 'query',
  3921. 'sentAs' => 'endCreationTime',
  3922. ),
  3923. ),
  3924. );
  3925. }
  3926. public static function GetDescribeDocProcessJobsOutput() {
  3927. return array(
  3928. 'type' => 'object',
  3929. 'additionalProperties' => true,
  3930. 'properties' => array(
  3931. 'RequestId' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id',),
  3932. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  3933. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  3934. 'NextToken' => array('type' => 'string','location' => 'xml',),
  3935. 'JobsDetail' => array(
  3936. 'type' => 'array',
  3937. 'location' => 'xml',
  3938. 'data' => array(
  3939. 'xmlFlattened' => true,
  3940. ),
  3941. 'items' => array(
  3942. 'type' => 'object',
  3943. 'properties' => array(
  3944. 'Code' => array('type' => 'string', 'location' => 'xml',),
  3945. 'Message' => array('type' => 'string', 'location' => 'xml',),
  3946. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  3947. 'Tag' => array('type' => 'string', 'location' => 'xml',),
  3948. 'State' => array('type' => 'string', 'location' => 'xml',),
  3949. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  3950. 'QueueId' => array('type' => 'string', 'location' => 'xml',),
  3951. 'Input' => array(
  3952. 'type' => 'object',
  3953. 'location' => 'xml',
  3954. 'properties' => array(
  3955. 'Object' => array('type' => 'string', 'location' => 'xml',),
  3956. ),
  3957. ),
  3958. 'Operation' => array(
  3959. 'type' => 'object',
  3960. 'location' => 'xml',
  3961. 'properties' => array(
  3962. 'Output' => array(
  3963. 'required' => true,
  3964. 'type' => 'object',
  3965. 'location' => 'xml',
  3966. 'properties' => array(
  3967. 'Region' => array(
  3968. 'type' => 'string','location' => 'xml',
  3969. ),
  3970. 'Bucket' => array(
  3971. 'type' => 'string','location' => 'xml',
  3972. ),
  3973. 'Object' => array(
  3974. 'type' => 'string','location' => 'xml',
  3975. ),
  3976. ),
  3977. ),
  3978. 'DocProcess' => array(
  3979. 'type' => 'object',
  3980. 'location' => 'xml',
  3981. 'properties' => array(
  3982. 'SrcType' => array(
  3983. 'type' => 'string',
  3984. ),
  3985. 'TgtType' => array(
  3986. 'type' => 'string',
  3987. ),
  3988. 'SheetId' => array(
  3989. 'type' => 'integer',
  3990. ),
  3991. 'StartPage' => array(
  3992. 'type' => 'integer',
  3993. ),
  3994. 'EndPage' => array(
  3995. 'type' => 'integer',
  3996. ),
  3997. 'ImageParams' => array(
  3998. 'type' => 'string',
  3999. ),
  4000. 'DocPassword' => array(
  4001. 'type' => 'string',
  4002. ),
  4003. 'Comments' => array(
  4004. 'type' => 'integer',
  4005. ),
  4006. 'PaperDirection' => array(
  4007. 'type' => 'integer',
  4008. ),
  4009. 'Quality' => array(
  4010. 'type' => 'integer',
  4011. ),
  4012. 'Zoom' => array(
  4013. 'type' => 'integer',
  4014. ),
  4015. ),
  4016. ),
  4017. ),
  4018. ),
  4019. ),
  4020. ),
  4021. ),
  4022. ),
  4023. );
  4024. }
  4025. public static function DetectImage() {
  4026. return array(
  4027. 'httpMethod' => 'GET',
  4028. 'uri' => '/{Bucket}{/Key*}',
  4029. 'class' => 'Qcloud\\Cos\\Command',
  4030. 'responseClass' => 'DetectImageOutput',
  4031. 'responseType' => 'model',
  4032. 'parameters' => array(
  4033. 'Bucket' => array(
  4034. 'required' => true,
  4035. 'type' => 'string',
  4036. 'location' => 'uri',
  4037. ),
  4038. 'Key' => array(
  4039. 'required' => true,
  4040. 'type' => 'string',
  4041. 'location' => 'uri',
  4042. 'minLength' => 1,
  4043. 'filters' => array(
  4044. 'Qcloud\\Cos\\Client::explodeKey'
  4045. )
  4046. ),
  4047. 'ci-process' => array(
  4048. 'required' => true,
  4049. 'type' => 'string',
  4050. 'location' => 'query'
  4051. ),
  4052. 'DetectType' => array(
  4053. 'type' => 'string',
  4054. 'location' => 'query',
  4055. 'sentAs' => 'detect-type'
  4056. ),
  4057. 'DetectUrl' => array(
  4058. 'type' => 'string',
  4059. 'location' => 'query',
  4060. 'sentAs' => 'detect-url'
  4061. ),
  4062. 'Interval' => array(
  4063. 'type' => 'integer',
  4064. 'location' => 'query',
  4065. 'sentAs' => 'interval'
  4066. ),
  4067. 'MaxFrames' => array(
  4068. 'type' => 'integer',
  4069. 'location' => 'query',
  4070. 'sentAs' => 'max-frames'
  4071. ),
  4072. 'BizType' => array(
  4073. 'type' => 'string',
  4074. 'location' => 'query',
  4075. 'sentAs' => 'biz-type'
  4076. ),
  4077. 'LargeImageDetect' => array(
  4078. 'type' => 'integer',
  4079. 'location' => 'query',
  4080. 'sentAs' => 'large-image-detect'
  4081. ),
  4082. 'DataId' => array(
  4083. 'type' => 'string',
  4084. 'location' => 'query',
  4085. 'sentAs' => 'dataid'
  4086. ),
  4087. 'Async' => array(
  4088. 'type' => 'integer',
  4089. 'location' => 'query',
  4090. 'sentAs' => 'async'
  4091. ),
  4092. 'Callback' => array(
  4093. 'type' => 'string',
  4094. 'location' => 'query',
  4095. 'sentAs' => 'callback'
  4096. ),
  4097. ),
  4098. );
  4099. }
  4100. public static function DetectImageOutput() {
  4101. return array(
  4102. 'type' => 'object',
  4103. 'additionalProperties' => true,
  4104. 'properties' => array(
  4105. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  4106. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  4107. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  4108. 'Result' => array('type' => 'integer', 'location' => 'xml',),
  4109. 'Label' => array('type' => 'string', 'location' => 'xml',),
  4110. 'Category' => array('type' => 'string', 'location' => 'xml',),
  4111. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  4112. 'CompressionResult' => array('type' => 'integer', 'location' => 'xml',),
  4113. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  4114. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  4115. 'Text' => array('type' => 'string', 'location' => 'xml',),
  4116. 'DataId' => array('type' => 'string', 'location' => 'xml',),
  4117. 'PornInfo' => array(
  4118. 'type' => 'object',
  4119. 'location' => 'xml',
  4120. 'properties' => array(
  4121. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4122. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4123. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4124. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4125. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4126. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4127. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4128. 'OcrResults' => array(
  4129. 'type' => 'array',
  4130. 'location' => 'xml',
  4131. 'items' => array(
  4132. 'type' => 'object',
  4133. 'location' => 'xml',
  4134. 'properties' => array(
  4135. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4136. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4137. 'Keywords' => array(
  4138. 'type' => 'array',
  4139. 'location' => 'xml',
  4140. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4141. ),
  4142. 'Location' => array(
  4143. 'type' => 'object',
  4144. 'location' => 'xml',
  4145. 'properties' => array(
  4146. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4147. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4148. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4149. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4150. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4151. ),
  4152. ),
  4153. ),
  4154. ),
  4155. ),
  4156. 'ObjectResults' => array(
  4157. 'type' => 'array',
  4158. 'location' => 'xml',
  4159. 'items' => array(
  4160. 'type' => 'object',
  4161. 'location' => 'xml',
  4162. 'properties' => array(
  4163. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4164. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4165. 'Location' => array(
  4166. 'type' => 'object',
  4167. 'location' => 'xml',
  4168. 'properties' => array(
  4169. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4170. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4171. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4172. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4173. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4174. ),
  4175. ),
  4176. ),
  4177. ),
  4178. ),
  4179. 'LibResults' => array(
  4180. 'type' => 'array',
  4181. 'location' => 'xml',
  4182. 'items' => array(
  4183. 'type' => 'object',
  4184. 'location' => 'xml',
  4185. 'properties' => array(
  4186. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4187. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4188. ),
  4189. ),
  4190. ),
  4191. ),
  4192. ),
  4193. 'TerroristInfo' => array(
  4194. 'type' => 'object',
  4195. 'location' => 'xml',
  4196. 'properties' => array(
  4197. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4198. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4199. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4200. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4201. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4202. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4203. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4204. 'OcrResults' => array(
  4205. 'type' => 'array',
  4206. 'location' => 'xml',
  4207. 'items' => array(
  4208. 'type' => 'object',
  4209. 'location' => 'xml',
  4210. 'properties' => array(
  4211. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4212. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4213. 'Keywords' => array(
  4214. 'type' => 'array',
  4215. 'location' => 'xml',
  4216. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4217. ),
  4218. 'Location' => array(
  4219. 'type' => 'object',
  4220. 'location' => 'xml',
  4221. 'properties' => array(
  4222. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4223. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4224. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4225. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4226. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4227. ),
  4228. ),
  4229. ),
  4230. ),
  4231. ),
  4232. 'ObjectResults' => array(
  4233. 'type' => 'array',
  4234. 'location' => 'xml',
  4235. 'items' => array(
  4236. 'type' => 'object',
  4237. 'location' => 'xml',
  4238. 'properties' => array(
  4239. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4240. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4241. 'Location' => array(
  4242. 'type' => 'object',
  4243. 'location' => 'xml',
  4244. 'properties' => array(
  4245. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4246. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4247. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4248. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4249. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4250. ),
  4251. ),
  4252. ),
  4253. ),
  4254. ),
  4255. 'LibResults' => array(
  4256. 'type' => 'array',
  4257. 'location' => 'xml',
  4258. 'items' => array(
  4259. 'type' => 'object',
  4260. 'location' => 'xml',
  4261. 'properties' => array(
  4262. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4263. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4264. ),
  4265. ),
  4266. ),
  4267. ),
  4268. ),
  4269. 'TerrorismInfo' => array(
  4270. 'type' => 'object',
  4271. 'location' => 'xml',
  4272. 'properties' => array(
  4273. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4274. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4275. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4276. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4277. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4278. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4279. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4280. 'OcrResults' => array(
  4281. 'type' => 'array',
  4282. 'location' => 'xml',
  4283. 'items' => array(
  4284. 'type' => 'object',
  4285. 'location' => 'xml',
  4286. 'properties' => array(
  4287. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4288. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4289. 'Keywords' => array(
  4290. 'type' => 'array',
  4291. 'location' => 'xml',
  4292. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4293. ),
  4294. 'Location' => array(
  4295. 'type' => 'object',
  4296. 'location' => 'xml',
  4297. 'properties' => array(
  4298. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4299. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4300. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4301. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4302. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4303. ),
  4304. ),
  4305. ),
  4306. ),
  4307. ),
  4308. 'ObjectResults' => array(
  4309. 'type' => 'array',
  4310. 'location' => 'xml',
  4311. 'items' => array(
  4312. 'type' => 'object',
  4313. 'location' => 'xml',
  4314. 'properties' => array(
  4315. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4316. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4317. 'Location' => array(
  4318. 'type' => 'object',
  4319. 'location' => 'xml',
  4320. 'properties' => array(
  4321. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4322. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4323. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4324. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4325. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4326. ),
  4327. ),
  4328. ),
  4329. ),
  4330. ),
  4331. 'LibResults' => array(
  4332. 'type' => 'array',
  4333. 'location' => 'xml',
  4334. 'items' => array(
  4335. 'type' => 'object',
  4336. 'location' => 'xml',
  4337. 'properties' => array(
  4338. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4339. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4340. ),
  4341. ),
  4342. ),
  4343. ),
  4344. ),
  4345. 'PoliticsInfo' => array(
  4346. 'type' => 'object',
  4347. 'location' => 'xml',
  4348. 'properties' => array(
  4349. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4350. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4351. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4352. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4353. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4354. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4355. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4356. 'OcrResults' => array(
  4357. 'type' => 'array',
  4358. 'location' => 'xml',
  4359. 'items' => array(
  4360. 'type' => 'object',
  4361. 'location' => 'xml',
  4362. 'properties' => array(
  4363. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4364. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4365. 'Keywords' => array(
  4366. 'type' => 'array',
  4367. 'location' => 'xml',
  4368. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4369. ),
  4370. 'Location' => array(
  4371. 'type' => 'object',
  4372. 'location' => 'xml',
  4373. 'properties' => array(
  4374. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4375. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4376. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4377. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4378. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4379. ),
  4380. ),
  4381. ),
  4382. ),
  4383. ),
  4384. 'ObjectResults' => array(
  4385. 'type' => 'array',
  4386. 'location' => 'xml',
  4387. 'items' => array(
  4388. 'type' => 'object',
  4389. 'location' => 'xml',
  4390. 'properties' => array(
  4391. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4392. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4393. 'Location' => array(
  4394. 'type' => 'object',
  4395. 'location' => 'xml',
  4396. 'properties' => array(
  4397. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4398. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4399. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4400. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4401. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4402. ),
  4403. ),
  4404. ),
  4405. ),
  4406. ),
  4407. 'LibResults' => array(
  4408. 'type' => 'array',
  4409. 'location' => 'xml',
  4410. 'items' => array(
  4411. 'type' => 'object',
  4412. 'location' => 'xml',
  4413. 'properties' => array(
  4414. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4415. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4416. ),
  4417. ),
  4418. ),
  4419. ),
  4420. ),
  4421. 'AdsInfo' => array(
  4422. 'type' => 'object',
  4423. 'location' => 'xml',
  4424. 'properties' => array(
  4425. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4426. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4427. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4428. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4429. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4430. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4431. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4432. 'OcrResults' => array(
  4433. 'type' => 'array',
  4434. 'location' => 'xml',
  4435. 'items' => array(
  4436. 'type' => 'object',
  4437. 'location' => 'xml',
  4438. 'properties' => array(
  4439. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4440. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4441. 'Keywords' => array(
  4442. 'type' => 'array',
  4443. 'location' => 'xml',
  4444. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4445. ),
  4446. 'Location' => array(
  4447. 'type' => 'object',
  4448. 'location' => 'xml',
  4449. 'properties' => array(
  4450. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4451. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4452. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4453. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4454. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4455. ),
  4456. ),
  4457. ),
  4458. ),
  4459. ),
  4460. 'ObjectResults' => array(
  4461. 'type' => 'array',
  4462. 'location' => 'xml',
  4463. 'items' => array(
  4464. 'type' => 'object',
  4465. 'location' => 'xml',
  4466. 'properties' => array(
  4467. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4468. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4469. 'Location' => array(
  4470. 'type' => 'object',
  4471. 'location' => 'xml',
  4472. 'properties' => array(
  4473. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4474. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4475. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4476. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4477. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4478. ),
  4479. ),
  4480. ),
  4481. ),
  4482. ),
  4483. 'LibResults' => array(
  4484. 'type' => 'array',
  4485. 'location' => 'xml',
  4486. 'items' => array(
  4487. 'type' => 'object',
  4488. 'location' => 'xml',
  4489. 'properties' => array(
  4490. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4491. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4492. ),
  4493. ),
  4494. ),
  4495. ),
  4496. ),
  4497. 'TeenagerInfo' => array(
  4498. 'type' => 'object',
  4499. 'location' => 'xml',
  4500. 'properties' => array(
  4501. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4502. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4503. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4504. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4505. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4506. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4507. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4508. 'OcrResults' => array(
  4509. 'type' => 'array',
  4510. 'location' => 'xml',
  4511. 'items' => array(
  4512. 'type' => 'object',
  4513. 'location' => 'xml',
  4514. 'properties' => array(
  4515. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4516. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4517. 'Keywords' => array(
  4518. 'type' => 'array',
  4519. 'location' => 'xml',
  4520. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4521. ),
  4522. 'Location' => array(
  4523. 'type' => 'object',
  4524. 'location' => 'xml',
  4525. 'properties' => array(
  4526. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4527. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4528. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4529. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4530. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4531. ),
  4532. ),
  4533. ),
  4534. ),
  4535. ),
  4536. 'ObjectResults' => array(
  4537. 'type' => 'array',
  4538. 'location' => 'xml',
  4539. 'items' => array(
  4540. 'type' => 'object',
  4541. 'location' => 'xml',
  4542. 'properties' => array(
  4543. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4544. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4545. 'Location' => array(
  4546. 'type' => 'object',
  4547. 'location' => 'xml',
  4548. 'properties' => array(
  4549. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4550. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4551. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4552. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4553. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4554. ),
  4555. ),
  4556. ),
  4557. ),
  4558. ),
  4559. 'LibResults' => array(
  4560. 'type' => 'array',
  4561. 'location' => 'xml',
  4562. 'items' => array(
  4563. 'type' => 'object',
  4564. 'location' => 'xml',
  4565. 'properties' => array(
  4566. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4567. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4568. ),
  4569. ),
  4570. ),
  4571. ),
  4572. ),
  4573. 'QualityInfo' => array(
  4574. 'type' => 'object',
  4575. 'location' => 'xml',
  4576. 'properties' => array(
  4577. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4578. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4579. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4580. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4581. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4582. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4583. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4584. 'OcrResults' => array(
  4585. 'type' => 'array',
  4586. 'location' => 'xml',
  4587. 'items' => array(
  4588. 'type' => 'object',
  4589. 'location' => 'xml',
  4590. 'properties' => array(
  4591. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4592. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4593. 'Keywords' => array(
  4594. 'type' => 'array',
  4595. 'location' => 'xml',
  4596. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4597. ),
  4598. 'Location' => array(
  4599. 'type' => 'object',
  4600. 'location' => 'xml',
  4601. 'properties' => array(
  4602. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4603. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4604. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4605. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4606. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4607. ),
  4608. ),
  4609. ),
  4610. ),
  4611. ),
  4612. 'ObjectResults' => array(
  4613. 'type' => 'array',
  4614. 'location' => 'xml',
  4615. 'items' => array(
  4616. 'type' => 'object',
  4617. 'location' => 'xml',
  4618. 'properties' => array(
  4619. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4620. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4621. 'Location' => array(
  4622. 'type' => 'object',
  4623. 'location' => 'xml',
  4624. 'properties' => array(
  4625. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4626. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4627. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4628. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4629. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4630. ),
  4631. ),
  4632. ),
  4633. ),
  4634. ),
  4635. 'LibResults' => array(
  4636. 'type' => 'array',
  4637. 'location' => 'xml',
  4638. 'items' => array(
  4639. 'type' => 'object',
  4640. 'location' => 'xml',
  4641. 'properties' => array(
  4642. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4643. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4644. ),
  4645. ),
  4646. ),
  4647. ),
  4648. ),
  4649. )
  4650. );
  4651. }
  4652. public static function DetectImages() {
  4653. return array(
  4654. 'httpMethod' => 'POST',
  4655. 'uri' => '/{Bucket}image/auditing',
  4656. 'class' => 'Qcloud\\Cos\\Command',
  4657. 'responseClass' => 'DetectImagesOutput',
  4658. 'responseType' => 'model',
  4659. 'data' => array(
  4660. 'xmlRoot' => array(
  4661. 'name' => 'Request',
  4662. ),
  4663. ),
  4664. 'parameters' => array(
  4665. 'Bucket' => array(
  4666. 'required' => true,
  4667. 'type' => 'string',
  4668. 'location' => 'uri',
  4669. ),
  4670. 'Inputs' => array(
  4671. 'type' => 'array',
  4672. 'location' => 'xml',
  4673. 'data' => array(
  4674. 'xmlFlattened' => true,
  4675. ),
  4676. 'items' => array(
  4677. 'name' => 'Input',
  4678. 'type' => 'object',
  4679. 'location' => 'xml',
  4680. 'sentAs' => 'Input',
  4681. 'properties' => array(
  4682. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  4683. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  4684. 'Content' => array( 'type' => 'string', 'location' => 'xml', ),
  4685. 'Interval' => array( 'type' => 'integer', 'location' => 'xml', ),
  4686. 'MaxFrames' => array( 'type' => 'integer', 'location' => 'xml', ),
  4687. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  4688. 'LargeImageDetect' => array( 'type' => 'integer', 'location' => 'xml', ),
  4689. 'UserInfo' => array(
  4690. 'location' => 'xml',
  4691. 'type' => 'object',
  4692. 'properties' => array(
  4693. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  4694. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  4695. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  4696. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  4697. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  4698. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  4699. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  4700. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  4701. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  4702. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  4703. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  4704. ),
  4705. ),
  4706. 'Encryption' => array(
  4707. 'location' => 'xml',
  4708. 'type' => 'object',
  4709. 'properties' => array(
  4710. 'Algorithm' => array( 'type' => 'string', 'location' => 'xml', ),
  4711. 'Key' => array( 'type' => 'string', 'location' => 'xml', ),
  4712. 'IV' => array( 'type' => 'string', 'location' => 'xml', ),
  4713. 'KeyId' => array( 'type' => 'string', 'location' => 'xml', ),
  4714. 'KeyType' => array( 'type' => 'integer', 'location' => 'xml', ),
  4715. ),
  4716. ),
  4717. ),
  4718. ),
  4719. ),
  4720. 'Conf' => array(
  4721. 'type' => 'object',
  4722. 'location' => 'xml',
  4723. 'properties' => array(
  4724. 'DetectType' => array( 'type' => 'string', 'location' => 'xml', ),
  4725. 'BizType' => array( 'type' => 'string', 'location' => 'xml', ),
  4726. 'Async' => array( 'type' => 'integer', 'location' => 'xml', ),
  4727. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  4728. 'Freeze' => array(
  4729. 'type' => 'object',
  4730. 'location' => 'xml',
  4731. 'properties' => array(
  4732. 'PornScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  4733. 'AdsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  4734. 'PoliticsScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  4735. 'TerrorismScore' => array( 'type' => 'integer', 'location' => 'xml', ),
  4736. ),
  4737. ),
  4738. ),
  4739. ),
  4740. ),
  4741. );
  4742. }
  4743. public static function DetectImagesOutput() {
  4744. return array(
  4745. 'type' => 'object',
  4746. 'additionalProperties' => true,
  4747. 'properties' => array(
  4748. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  4749. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  4750. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  4751. 'JobsDetail' => array(
  4752. 'type' => 'array',
  4753. 'location' => 'xml',
  4754. 'items' => array(
  4755. 'type' => 'object',
  4756. 'location' => 'xml',
  4757. 'properties' => array(
  4758. 'Code' => array( 'type' => 'string', 'location' => 'xml',),
  4759. 'Message' => array( 'type' => 'string', 'location' => 'xml',),
  4760. 'JobId' => array( 'type' => 'string', 'location' => 'xml',),
  4761. 'DataId' => array( 'type' => 'string', 'location' => 'xml',),
  4762. 'CompressionResult' => array( 'type' => 'integer', 'location' => 'xml',),
  4763. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4764. 'Result' => array( 'type' => 'integer', 'location' => 'xml',),
  4765. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4766. 'ForbidState' => array( 'type' => 'integer', 'location' => 'xml',),
  4767. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4768. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4769. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4770. 'Object' => array( 'type' => 'string', 'location' => 'xml',),
  4771. 'Url' => array( 'type' => 'string', 'location' => 'xml',),
  4772. 'PornInfo' => array(
  4773. 'type' => 'object',
  4774. 'location' => 'xml',
  4775. 'properties' => array(
  4776. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4777. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4778. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4779. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4780. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4781. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4782. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4783. 'OcrResults' => array(
  4784. 'type' => 'array',
  4785. 'location' => 'xml',
  4786. 'items' => array(
  4787. 'type' => 'object',
  4788. 'location' => 'xml',
  4789. 'properties' => array(
  4790. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4791. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4792. 'Keywords' => array(
  4793. 'type' => 'array',
  4794. 'location' => 'xml',
  4795. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4796. ),
  4797. 'Location' => array(
  4798. 'type' => 'object',
  4799. 'location' => 'xml',
  4800. 'properties' => array(
  4801. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4802. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4803. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4804. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4805. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4806. ),
  4807. ),
  4808. ),
  4809. ),
  4810. ),
  4811. 'ObjectResults' => array(
  4812. 'type' => 'array',
  4813. 'location' => 'xml',
  4814. 'items' => array(
  4815. 'type' => 'object',
  4816. 'location' => 'xml',
  4817. 'properties' => array(
  4818. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4819. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4820. 'Location' => array(
  4821. 'type' => 'object',
  4822. 'location' => 'xml',
  4823. 'properties' => array(
  4824. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4825. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4826. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4827. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4828. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4829. ),
  4830. ),
  4831. ),
  4832. ),
  4833. ),
  4834. 'LibResults' => array(
  4835. 'type' => 'array',
  4836. 'location' => 'xml',
  4837. 'items' => array(
  4838. 'type' => 'object',
  4839. 'location' => 'xml',
  4840. 'properties' => array(
  4841. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4842. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4843. ),
  4844. ),
  4845. ),
  4846. ),
  4847. ),
  4848. 'TerrorismInfo' => array(
  4849. 'type' => 'object',
  4850. 'location' => 'xml',
  4851. 'properties' => array(
  4852. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4853. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4854. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4855. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4856. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4857. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4858. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4859. 'OcrResults' => array(
  4860. 'type' => 'array',
  4861. 'location' => 'xml',
  4862. 'items' => array(
  4863. 'type' => 'object',
  4864. 'location' => 'xml',
  4865. 'properties' => array(
  4866. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4867. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4868. 'Keywords' => array(
  4869. 'type' => 'array',
  4870. 'location' => 'xml',
  4871. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4872. ),
  4873. 'Location' => array(
  4874. 'type' => 'object',
  4875. 'location' => 'xml',
  4876. 'properties' => array(
  4877. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4878. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4879. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4880. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4881. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4882. ),
  4883. ),
  4884. ),
  4885. ),
  4886. ),
  4887. 'ObjectResults' => array(
  4888. 'type' => 'array',
  4889. 'location' => 'xml',
  4890. 'items' => array(
  4891. 'type' => 'object',
  4892. 'location' => 'xml',
  4893. 'properties' => array(
  4894. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4895. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4896. 'Location' => array(
  4897. 'type' => 'object',
  4898. 'location' => 'xml',
  4899. 'properties' => array(
  4900. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4901. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4902. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4903. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4904. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4905. ),
  4906. ),
  4907. ),
  4908. ),
  4909. ),
  4910. 'LibResults' => array(
  4911. 'type' => 'array',
  4912. 'location' => 'xml',
  4913. 'items' => array(
  4914. 'type' => 'object',
  4915. 'location' => 'xml',
  4916. 'properties' => array(
  4917. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4918. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4919. ),
  4920. ),
  4921. ),
  4922. ),
  4923. ),
  4924. 'PoliticsInfo' => array(
  4925. 'type' => 'object',
  4926. 'location' => 'xml',
  4927. 'properties' => array(
  4928. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  4929. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  4930. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  4931. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4932. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  4933. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  4934. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4935. 'OcrResults' => array(
  4936. 'type' => 'array',
  4937. 'location' => 'xml',
  4938. 'items' => array(
  4939. 'type' => 'object',
  4940. 'location' => 'xml',
  4941. 'properties' => array(
  4942. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  4943. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4944. 'Keywords' => array(
  4945. 'type' => 'array',
  4946. 'location' => 'xml',
  4947. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  4948. ),
  4949. 'Location' => array(
  4950. 'type' => 'object',
  4951. 'location' => 'xml',
  4952. 'properties' => array(
  4953. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4954. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4955. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4956. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4957. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4958. ),
  4959. ),
  4960. ),
  4961. ),
  4962. ),
  4963. 'ObjectResults' => array(
  4964. 'type' => 'array',
  4965. 'location' => 'xml',
  4966. 'items' => array(
  4967. 'type' => 'object',
  4968. 'location' => 'xml',
  4969. 'properties' => array(
  4970. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  4971. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  4972. 'Location' => array(
  4973. 'type' => 'object',
  4974. 'location' => 'xml',
  4975. 'properties' => array(
  4976. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  4977. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  4978. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  4979. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  4980. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  4981. ),
  4982. ),
  4983. ),
  4984. ),
  4985. ),
  4986. 'LibResults' => array(
  4987. 'type' => 'array',
  4988. 'location' => 'xml',
  4989. 'items' => array(
  4990. 'type' => 'object',
  4991. 'location' => 'xml',
  4992. 'properties' => array(
  4993. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  4994. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  4995. ),
  4996. ),
  4997. ),
  4998. ),
  4999. ),
  5000. 'AdsInfo' => array(
  5001. 'type' => 'object',
  5002. 'location' => 'xml',
  5003. 'properties' => array(
  5004. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  5005. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  5006. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  5007. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5008. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  5009. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  5010. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5011. 'OcrResults' => array(
  5012. 'type' => 'array',
  5013. 'location' => 'xml',
  5014. 'items' => array(
  5015. 'type' => 'object',
  5016. 'location' => 'xml',
  5017. 'properties' => array(
  5018. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5019. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5020. 'Keywords' => array(
  5021. 'type' => 'array',
  5022. 'location' => 'xml',
  5023. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5024. ),
  5025. 'Location' => array(
  5026. 'type' => 'object',
  5027. 'location' => 'xml',
  5028. 'properties' => array(
  5029. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5030. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5031. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5032. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5033. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5034. ),
  5035. ),
  5036. ),
  5037. ),
  5038. ),
  5039. 'ObjectResults' => array(
  5040. 'type' => 'array',
  5041. 'location' => 'xml',
  5042. 'items' => array(
  5043. 'type' => 'object',
  5044. 'location' => 'xml',
  5045. 'properties' => array(
  5046. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5047. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5048. 'Location' => array(
  5049. 'type' => 'object',
  5050. 'location' => 'xml',
  5051. 'properties' => array(
  5052. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5053. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5054. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5055. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5056. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5057. ),
  5058. ),
  5059. ),
  5060. ),
  5061. ),
  5062. 'LibResults' => array(
  5063. 'type' => 'array',
  5064. 'location' => 'xml',
  5065. 'items' => array(
  5066. 'type' => 'object',
  5067. 'location' => 'xml',
  5068. 'properties' => array(
  5069. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5070. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5071. ),
  5072. ),
  5073. ),
  5074. ),
  5075. ),
  5076. 'TeenagerInfo' => array(
  5077. 'type' => 'object',
  5078. 'location' => 'xml',
  5079. 'properties' => array(
  5080. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  5081. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  5082. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  5083. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5084. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  5085. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  5086. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5087. 'OcrResults' => array(
  5088. 'type' => 'array',
  5089. 'location' => 'xml',
  5090. 'items' => array(
  5091. 'type' => 'object',
  5092. 'location' => 'xml',
  5093. 'properties' => array(
  5094. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5095. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5096. 'Keywords' => array(
  5097. 'type' => 'array',
  5098. 'location' => 'xml',
  5099. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5100. ),
  5101. 'Location' => array(
  5102. 'type' => 'object',
  5103. 'location' => 'xml',
  5104. 'properties' => array(
  5105. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5106. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5107. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5108. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5109. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5110. ),
  5111. ),
  5112. ),
  5113. ),
  5114. ),
  5115. 'ObjectResults' => array(
  5116. 'type' => 'array',
  5117. 'location' => 'xml',
  5118. 'items' => array(
  5119. 'type' => 'object',
  5120. 'location' => 'xml',
  5121. 'properties' => array(
  5122. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5123. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5124. 'Location' => array(
  5125. 'type' => 'object',
  5126. 'location' => 'xml',
  5127. 'properties' => array(
  5128. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5129. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5130. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5131. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5132. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5133. ),
  5134. ),
  5135. ),
  5136. ),
  5137. ),
  5138. 'LibResults' => array(
  5139. 'type' => 'array',
  5140. 'location' => 'xml',
  5141. 'items' => array(
  5142. 'type' => 'object',
  5143. 'location' => 'xml',
  5144. 'properties' => array(
  5145. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5146. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5147. ),
  5148. ),
  5149. ),
  5150. ),
  5151. ),
  5152. 'QualityInfo' => array(
  5153. 'type' => 'object',
  5154. 'location' => 'xml',
  5155. 'properties' => array(
  5156. 'Code' => array( 'type' => 'integer', 'location' => 'xml',),
  5157. 'Msg' => array( 'type' => 'string', 'location' => 'xml',),
  5158. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml',),
  5159. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5160. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  5161. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  5162. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5163. 'OcrResults' => array(
  5164. 'type' => 'array',
  5165. 'location' => 'xml',
  5166. 'items' => array(
  5167. 'type' => 'object',
  5168. 'location' => 'xml',
  5169. 'properties' => array(
  5170. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5171. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5172. 'Keywords' => array(
  5173. 'type' => 'array',
  5174. 'location' => 'xml',
  5175. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5176. ),
  5177. 'Location' => array(
  5178. 'type' => 'object',
  5179. 'location' => 'xml',
  5180. 'properties' => array(
  5181. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5182. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5183. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5184. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5185. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5186. ),
  5187. ),
  5188. ),
  5189. ),
  5190. ),
  5191. 'ObjectResults' => array(
  5192. 'type' => 'array',
  5193. 'location' => 'xml',
  5194. 'items' => array(
  5195. 'type' => 'object',
  5196. 'location' => 'xml',
  5197. 'properties' => array(
  5198. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5199. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5200. 'Location' => array(
  5201. 'type' => 'object',
  5202. 'location' => 'xml',
  5203. 'properties' => array(
  5204. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5205. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5206. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5207. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5208. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5209. ),
  5210. ),
  5211. ),
  5212. ),
  5213. ),
  5214. 'LibResults' => array(
  5215. 'type' => 'array',
  5216. 'location' => 'xml',
  5217. 'items' => array(
  5218. 'type' => 'object',
  5219. 'location' => 'xml',
  5220. 'properties' => array(
  5221. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5222. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5223. ),
  5224. ),
  5225. ),
  5226. ),
  5227. ),
  5228. 'UserInfo' => array(
  5229. 'type' => 'object',
  5230. 'location' => 'xml',
  5231. 'properties' => array(
  5232. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  5233. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  5234. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  5235. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  5236. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  5237. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  5238. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  5239. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  5240. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  5241. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  5242. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  5243. ),
  5244. ),
  5245. 'ListInfo' => array(
  5246. 'type' => 'object',
  5247. 'location' => 'xml',
  5248. 'properties' => array(
  5249. 'ListResults' => array(
  5250. 'type' => 'array',
  5251. 'location' => 'xml',
  5252. 'items' => array(
  5253. 'type' => 'object',
  5254. 'location' => 'xml',
  5255. 'properties' => array(
  5256. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  5257. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  5258. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  5259. ),
  5260. ),
  5261. ),
  5262. ),
  5263. ),
  5264. ),
  5265. ),
  5266. ),
  5267. )
  5268. );
  5269. }
  5270. public static function DetectVirus() {
  5271. return array(
  5272. 'httpMethod' => 'POST',
  5273. 'uri' => '/{Bucket}virus/detect',
  5274. 'class' => 'Qcloud\\Cos\\Command',
  5275. 'responseClass' => 'DetectVirusOutput',
  5276. 'responseType' => 'model',
  5277. 'data' => array(
  5278. 'xmlRoot' => array(
  5279. 'name' => 'Request',
  5280. ),
  5281. ),
  5282. 'parameters' => array(
  5283. 'Bucket' => array(
  5284. 'required' => true,
  5285. 'type' => 'string',
  5286. 'location' => 'uri',
  5287. ),
  5288. 'Input' => array(
  5289. 'location' => 'xml',
  5290. 'type' => 'object',
  5291. 'properties' => array(
  5292. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  5293. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  5294. ),
  5295. ),
  5296. 'Conf' => array(
  5297. 'location' => 'xml',
  5298. 'type' => 'object',
  5299. 'properties' => array(
  5300. 'DetectType' => array( 'type' => 'string', 'location' => 'xml', ),
  5301. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  5302. ),
  5303. ),
  5304. ),
  5305. );
  5306. }
  5307. public static function DetectVirusOutput() {
  5308. return array(
  5309. 'type' => 'object',
  5310. 'additionalProperties' => true,
  5311. 'properties' => array(
  5312. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  5313. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  5314. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  5315. 'JobsDetail' => array(
  5316. 'type' => 'object',
  5317. 'location' => 'xml',
  5318. 'properties' => array(
  5319. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  5320. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  5321. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  5322. ),
  5323. ),
  5324. ),
  5325. );
  5326. }
  5327. public static function GetDetectVirusResult() {
  5328. return array(
  5329. 'httpMethod' => 'GET',
  5330. 'uri' => '/{Bucket}virus/detect/{/Key*}',
  5331. 'class' => 'Qcloud\\Cos\\Command',
  5332. 'responseClass' => 'GetDetectVirusResultOutput',
  5333. 'responseType' => 'model',
  5334. 'parameters' => array(
  5335. 'Bucket' => array(
  5336. 'required' => true,
  5337. 'type' => 'string',
  5338. 'location' => 'uri',
  5339. ),
  5340. 'Key' => array(
  5341. 'required' => true,
  5342. 'type' => 'string',
  5343. 'location' => 'uri',
  5344. ),
  5345. ),
  5346. );
  5347. }
  5348. public static function GetDetectVirusResultOutput() {
  5349. return array(
  5350. 'type' => 'object',
  5351. 'additionalProperties' => true,
  5352. 'properties' => array(
  5353. 'RequestId' => array(
  5354. 'type' => 'string',
  5355. 'location' => 'header',
  5356. 'sentAs' => 'x-ci-request-id',
  5357. ),
  5358. 'ContentType' => array(
  5359. 'type' => 'string',
  5360. 'location' => 'header',
  5361. 'sentAs' => 'Content-Type',
  5362. ),
  5363. 'ContentLength' => array(
  5364. 'type' => 'numeric',
  5365. 'minimum'=> 0,
  5366. 'location' => 'header',
  5367. 'sentAs' => 'Content-Length',
  5368. ),
  5369. 'JobsDetail' => array(
  5370. 'type' => 'object',
  5371. 'location' => 'xml',
  5372. 'properties' => array(
  5373. 'Code' => array('type' => 'string', 'location' => 'xml',),
  5374. 'Message' => array('type' => 'string', 'location' => 'xml',),
  5375. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  5376. 'State' => array('type' => 'string', 'location' => 'xml',),
  5377. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  5378. 'Object' => array('type' => 'string', 'location' => 'xml',),
  5379. 'Url' => array('type' => 'string', 'location' => 'xml',),
  5380. 'Suggestion' => array('type' => 'string', 'location' => 'xml',),
  5381. 'DetectDetail' => array(
  5382. 'type' => 'array',
  5383. 'location' => 'xml',
  5384. 'items' => array(
  5385. 'type' => 'object',
  5386. 'location' => 'xml',
  5387. 'properties' => array(
  5388. 'Result' => array(
  5389. 'type' => 'array',
  5390. 'location' => 'xml',
  5391. 'items' => array(
  5392. 'type' => 'object',
  5393. 'location' => 'xml',
  5394. 'properties' => array(
  5395. 'FileName' => array( 'type' => 'string', 'location' => 'xml', ),
  5396. 'VirusName' => array( 'type' => 'string', 'location' => 'xml', ),
  5397. ),
  5398. ),
  5399. ),
  5400. ),
  5401. ),
  5402. ),
  5403. ),
  5404. ),
  5405. ),
  5406. );
  5407. }
  5408. public static function GetDetectImageResult() {
  5409. return array(
  5410. 'httpMethod' => 'GET',
  5411. 'uri' => '/{Bucket}image/auditing/{/Key*}',
  5412. 'class' => 'Qcloud\\Cos\\Command',
  5413. 'responseClass' => 'GetDetectImageResultOutput',
  5414. 'responseType' => 'model',
  5415. 'parameters' => array(
  5416. 'Bucket' => array(
  5417. 'required' => true,
  5418. 'type' => 'string',
  5419. 'location' => 'uri',
  5420. ),
  5421. 'Key' => array(
  5422. 'required' => true,
  5423. 'type' => 'string',
  5424. 'location' => 'uri',
  5425. ),
  5426. ),
  5427. );
  5428. }
  5429. public static function GetDetectImageResultOutput() {
  5430. return array(
  5431. 'type' => 'object',
  5432. 'additionalProperties' => true,
  5433. 'properties' => array(
  5434. 'RequestId' => array(
  5435. 'type' => 'string',
  5436. 'location' => 'header',
  5437. 'sentAs' => 'x-ci-request-id',
  5438. ),
  5439. 'ContentType' => array(
  5440. 'type' => 'string',
  5441. 'location' => 'header',
  5442. 'sentAs' => 'Content-Type',
  5443. ),
  5444. 'ContentLength' => array(
  5445. 'type' => 'numeric',
  5446. 'minimum'=> 0,
  5447. 'location' => 'header',
  5448. 'sentAs' => 'Content-Length',
  5449. ),
  5450. 'JobsDetail' => array(
  5451. 'type' => 'object',
  5452. 'location' => 'xml',
  5453. 'properties' => array(
  5454. 'Code' => array('type' => 'string', 'location' => 'xml',),
  5455. 'Message' => array('type' => 'string', 'location' => 'xml',),
  5456. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  5457. 'State' => array('type' => 'string', 'location' => 'xml',),
  5458. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  5459. 'Object' => array('type' => 'string', 'location' => 'xml',),
  5460. 'Url' => array('type' => 'string', 'location' => 'xml',),
  5461. 'CompressionResult' => array('type' => 'integer', 'location' => 'xml',),
  5462. 'Text' => array('type' => 'string', 'location' => 'xml',),
  5463. 'Label' => array('type' => 'string', 'location' => 'xml',),
  5464. 'Category' => array('type' => 'string', 'location' => 'xml',),
  5465. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  5466. 'Result' => array('type' => 'integer', 'location' => 'xml',),
  5467. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  5468. 'ForbidState' => array('type' => 'integer', 'location' => 'xml',),
  5469. 'PornInfo' => array(
  5470. 'type' => 'object',
  5471. 'location' => 'xml',
  5472. 'properties' => array(
  5473. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  5474. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  5475. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  5476. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  5477. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  5478. 'OcrResults' => array(
  5479. 'type' => 'array',
  5480. 'location' => 'xml',
  5481. 'items' => array(
  5482. 'type' => 'object',
  5483. 'location' => 'xml',
  5484. 'properties' => array(
  5485. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5486. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5487. 'Keywords' => array(
  5488. 'type' => 'array',
  5489. 'location' => 'xml',
  5490. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5491. ),
  5492. 'Location' => array(
  5493. 'type' => 'object',
  5494. 'location' => 'xml',
  5495. 'properties' => array(
  5496. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5497. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5498. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5499. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5500. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5501. ),
  5502. ),
  5503. ),
  5504. ),
  5505. ),
  5506. 'ObjectResults' => array(
  5507. 'type' => 'array',
  5508. 'location' => 'xml',
  5509. 'items' => array(
  5510. 'type' => 'object',
  5511. 'location' => 'xml',
  5512. 'properties' => array(
  5513. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5514. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5515. 'Location' => array(
  5516. 'type' => 'object',
  5517. 'location' => 'xml',
  5518. 'properties' => array(
  5519. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5520. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5521. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5522. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5523. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5524. ),
  5525. ),
  5526. ),
  5527. ),
  5528. ),
  5529. 'LibResults' => array(
  5530. 'type' => 'array',
  5531. 'location' => 'xml',
  5532. 'items' => array(
  5533. 'type' => 'object',
  5534. 'location' => 'xml',
  5535. 'properties' => array(
  5536. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5537. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5538. ),
  5539. ),
  5540. ),
  5541. ),
  5542. ),
  5543. 'AdsInfo' => array(
  5544. 'type' => 'object',
  5545. 'location' => 'xml',
  5546. 'properties' => array(
  5547. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  5548. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  5549. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  5550. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  5551. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  5552. 'OcrResults' => array(
  5553. 'type' => 'array',
  5554. 'location' => 'xml',
  5555. 'items' => array(
  5556. 'type' => 'object',
  5557. 'location' => 'xml',
  5558. 'properties' => array(
  5559. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5560. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5561. 'Keywords' => array(
  5562. 'type' => 'array',
  5563. 'location' => 'xml',
  5564. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5565. ),
  5566. 'Location' => array(
  5567. 'type' => 'object',
  5568. 'location' => 'xml',
  5569. 'properties' => array(
  5570. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5571. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5572. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5573. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5574. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5575. ),
  5576. ),
  5577. ),
  5578. ),
  5579. ),
  5580. 'ObjectResults' => array(
  5581. 'type' => 'array',
  5582. 'location' => 'xml',
  5583. 'items' => array(
  5584. 'type' => 'object',
  5585. 'location' => 'xml',
  5586. 'properties' => array(
  5587. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5588. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5589. 'Location' => array(
  5590. 'type' => 'object',
  5591. 'location' => 'xml',
  5592. 'properties' => array(
  5593. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5594. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5595. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5596. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5597. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5598. ),
  5599. ),
  5600. ),
  5601. ),
  5602. ),
  5603. 'LibResults' => array(
  5604. 'type' => 'array',
  5605. 'location' => 'xml',
  5606. 'items' => array(
  5607. 'type' => 'object',
  5608. 'location' => 'xml',
  5609. 'properties' => array(
  5610. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5611. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5612. ),
  5613. ),
  5614. ),
  5615. ),
  5616. ),
  5617. 'PoliticsInfo' => array(
  5618. 'type' => 'object',
  5619. 'location' => 'xml',
  5620. 'properties' => array(
  5621. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  5622. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  5623. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  5624. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  5625. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  5626. 'OcrResults' => array(
  5627. 'type' => 'array',
  5628. 'location' => 'xml',
  5629. 'items' => array(
  5630. 'type' => 'object',
  5631. 'location' => 'xml',
  5632. 'properties' => array(
  5633. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5634. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5635. 'Keywords' => array(
  5636. 'type' => 'array',
  5637. 'location' => 'xml',
  5638. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5639. ),
  5640. 'Location' => array(
  5641. 'type' => 'object',
  5642. 'location' => 'xml',
  5643. 'properties' => array(
  5644. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5645. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5646. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5647. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5648. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5649. ),
  5650. ),
  5651. ),
  5652. ),
  5653. ),
  5654. 'ObjectResults' => array(
  5655. 'type' => 'array',
  5656. 'location' => 'xml',
  5657. 'items' => array(
  5658. 'type' => 'object',
  5659. 'location' => 'xml',
  5660. 'properties' => array(
  5661. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5662. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5663. 'Location' => array(
  5664. 'type' => 'object',
  5665. 'location' => 'xml',
  5666. 'properties' => array(
  5667. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5668. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5669. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5670. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5671. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5672. ),
  5673. ),
  5674. ),
  5675. ),
  5676. ),
  5677. 'LibResults' => array(
  5678. 'type' => 'array',
  5679. 'location' => 'xml',
  5680. 'items' => array(
  5681. 'type' => 'object',
  5682. 'location' => 'xml',
  5683. 'properties' => array(
  5684. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5685. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5686. ),
  5687. ),
  5688. ),
  5689. ),
  5690. ),
  5691. 'TerrorismInfo' => array(
  5692. 'type' => 'object',
  5693. 'location' => 'xml',
  5694. 'properties' => array(
  5695. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  5696. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  5697. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  5698. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  5699. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  5700. 'OcrResults' => array(
  5701. 'type' => 'array',
  5702. 'location' => 'xml',
  5703. 'items' => array(
  5704. 'type' => 'object',
  5705. 'location' => 'xml',
  5706. 'properties' => array(
  5707. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5708. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5709. 'Keywords' => array(
  5710. 'type' => 'array',
  5711. 'location' => 'xml',
  5712. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5713. ),
  5714. 'Location' => array(
  5715. 'type' => 'object',
  5716. 'location' => 'xml',
  5717. 'properties' => array(
  5718. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5719. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5720. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5721. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5722. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5723. ),
  5724. ),
  5725. ),
  5726. ),
  5727. ),
  5728. 'ObjectResults' => array(
  5729. 'type' => 'array',
  5730. 'location' => 'xml',
  5731. 'items' => array(
  5732. 'type' => 'object',
  5733. 'location' => 'xml',
  5734. 'properties' => array(
  5735. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5736. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5737. 'Location' => array(
  5738. 'type' => 'object',
  5739. 'location' => 'xml',
  5740. 'properties' => array(
  5741. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5742. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5743. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5744. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5745. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5746. ),
  5747. ),
  5748. ),
  5749. ),
  5750. ),
  5751. 'LibResults' => array(
  5752. 'type' => 'array',
  5753. 'location' => 'xml',
  5754. 'items' => array(
  5755. 'type' => 'object',
  5756. 'location' => 'xml',
  5757. 'properties' => array(
  5758. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5759. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5760. ),
  5761. ),
  5762. ),
  5763. ),
  5764. ),
  5765. 'TeenagerInfo' => array(
  5766. 'type' => 'object',
  5767. 'location' => 'xml',
  5768. 'properties' => array(
  5769. 'HitFlag' => array( 'type' => 'integer', 'location' => 'xml', ),
  5770. 'Score' => array( 'type' => 'integer', 'location' => 'xml', ),
  5771. 'Label' => array( 'type' => 'string', 'location' => 'xml', ),
  5772. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  5773. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml', ),
  5774. 'OcrResults' => array(
  5775. 'type' => 'array',
  5776. 'location' => 'xml',
  5777. 'items' => array(
  5778. 'type' => 'object',
  5779. 'location' => 'xml',
  5780. 'properties' => array(
  5781. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  5782. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5783. 'Keywords' => array(
  5784. 'type' => 'array',
  5785. 'location' => 'xml',
  5786. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  5787. ),
  5788. 'Location' => array(
  5789. 'type' => 'object',
  5790. 'location' => 'xml',
  5791. 'properties' => array(
  5792. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5793. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5794. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5795. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5796. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5797. ),
  5798. ),
  5799. ),
  5800. ),
  5801. ),
  5802. 'ObjectResults' => array(
  5803. 'type' => 'array',
  5804. 'location' => 'xml',
  5805. 'items' => array(
  5806. 'type' => 'object',
  5807. 'location' => 'xml',
  5808. 'properties' => array(
  5809. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  5810. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  5811. 'Location' => array(
  5812. 'type' => 'object',
  5813. 'location' => 'xml',
  5814. 'properties' => array(
  5815. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  5816. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  5817. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  5818. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  5819. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  5820. ),
  5821. ),
  5822. ),
  5823. ),
  5824. ),
  5825. 'LibResults' => array(
  5826. 'type' => 'array',
  5827. 'location' => 'xml',
  5828. 'items' => array(
  5829. 'type' => 'object',
  5830. 'location' => 'xml',
  5831. 'properties' => array(
  5832. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  5833. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  5834. ),
  5835. ),
  5836. ),
  5837. ),
  5838. ),
  5839. 'UserInfo' => array(
  5840. 'type' => 'object',
  5841. 'location' => 'xml',
  5842. 'properties' => array(
  5843. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  5844. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  5845. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  5846. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  5847. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  5848. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  5849. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  5850. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  5851. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  5852. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  5853. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  5854. ),
  5855. ),
  5856. 'ListInfo' => array(
  5857. 'type' => 'object',
  5858. 'location' => 'xml',
  5859. 'properties' => array(
  5860. 'ListResults' => array(
  5861. 'type' => 'array',
  5862. 'location' => 'xml',
  5863. 'items' => array(
  5864. 'type' => 'object',
  5865. 'location' => 'xml',
  5866. 'properties' => array(
  5867. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  5868. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  5869. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  5870. ),
  5871. ),
  5872. ),
  5873. ),
  5874. ),
  5875. ),
  5876. ),
  5877. ),
  5878. );
  5879. }
  5880. public static function CreateMediaVoiceSeparateJobs() {
  5881. return array(
  5882. 'httpMethod' => 'POST',
  5883. 'uri' => '/{Bucket}jobs',
  5884. 'class' => 'Qcloud\\Cos\\Command',
  5885. 'responseClass' => 'CreateMediaVoiceSeparateJobsOutput',
  5886. 'responseType' => 'model',
  5887. 'data' => array(
  5888. 'xmlRoot' => array(
  5889. 'name' => 'Request',
  5890. ),
  5891. ),
  5892. 'parameters' => array(
  5893. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  5894. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  5895. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  5896. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  5897. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  5898. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  5899. 'Input' => array(
  5900. 'type' => 'object',
  5901. 'location' => 'xml',
  5902. 'properties' => array(
  5903. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  5904. ),
  5905. ),
  5906. 'Operation' => array(
  5907. 'type' => 'object',
  5908. 'location' => 'xml',
  5909. 'properties' => array(
  5910. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  5911. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  5912. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  5913. 'VoiceSeparate' => array(
  5914. 'type' => 'object',
  5915. 'location' => 'xml',
  5916. 'properties' => array(
  5917. 'AudioMode' => array( 'type' => 'string', 'location' => 'xml', ),
  5918. 'AudioConfig' => array(
  5919. 'type' => 'object',
  5920. 'location' => 'xml',
  5921. 'properties' => array(
  5922. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  5923. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  5924. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  5925. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  5926. ),
  5927. ),
  5928. ),
  5929. ),
  5930. 'Output' => array(
  5931. 'type' => 'object',
  5932. 'location' => 'xml',
  5933. 'properties' => array(
  5934. 'Region' => array('type' => 'string', 'location' => 'xml', ),
  5935. 'Bucket' => array('type' => 'string', 'location' => 'xml', ),
  5936. 'Object' => array('type' => 'string', 'location' => 'xml', ),
  5937. 'AuObject' => array('type' => 'string', 'location' => 'xml', ),
  5938. ),
  5939. ),
  5940. ),
  5941. ),
  5942. 'CallBackMqConfig' => array(
  5943. 'type' => 'object',
  5944. 'location' => 'xml',
  5945. 'properties' => array(
  5946. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  5947. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  5948. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  5949. ),
  5950. ),
  5951. ),
  5952. );
  5953. }
  5954. public static function CreateMediaVoiceSeparateJobsOutput() {
  5955. return array(
  5956. 'type' => 'object',
  5957. 'additionalProperties' => true,
  5958. 'properties' => array(
  5959. 'Body' => array(
  5960. 'type' => 'string',
  5961. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  5962. 'location' => 'body',
  5963. ),
  5964. 'RequestId' => array(
  5965. 'type' => 'string',
  5966. 'location' => 'header',
  5967. 'sentAs' => 'x-ci-request-id',
  5968. ),
  5969. 'ContentType' => array(
  5970. 'type' => 'string',
  5971. 'location' => 'header',
  5972. 'sentAs' => 'Content-Type',
  5973. ),
  5974. 'ContentLength' => array(
  5975. 'type' => 'numeric',
  5976. 'minimum'=> 0,
  5977. 'location' => 'header',
  5978. 'sentAs' => 'Content-Length',
  5979. ),
  5980. ),
  5981. );
  5982. }
  5983. public static function DescribeMediaVoiceSeparateJob() {
  5984. return array(
  5985. 'httpMethod' => 'GET',
  5986. 'uri' => '/{Bucket}jobs/{/Key*}',
  5987. 'class' => 'Qcloud\\Cos\\Command',
  5988. 'responseClass' => 'DescribeMediaVoiceSeparateJobOutput',
  5989. 'responseType' => 'model',
  5990. 'parameters' => array(
  5991. 'Bucket' => array(
  5992. 'required' => true,
  5993. 'type' => 'string',
  5994. 'location' => 'uri',
  5995. ),
  5996. 'Key' => array(
  5997. 'required' => true,
  5998. 'type' => 'string',
  5999. 'location' => 'uri',
  6000. ),
  6001. ),
  6002. );
  6003. }
  6004. public static function DescribeMediaVoiceSeparateJobOutput() {
  6005. return array(
  6006. 'type' => 'object',
  6007. 'additionalProperties' => true,
  6008. 'properties' => array(
  6009. 'Body' => array(
  6010. 'type' => 'string',
  6011. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6012. 'location' => 'body',
  6013. ),
  6014. 'RequestId' => array(
  6015. 'type' => 'string',
  6016. 'location' => 'header',
  6017. 'sentAs' => 'x-ci-request-id',
  6018. ),
  6019. 'ContentType' => array(
  6020. 'type' => 'string',
  6021. 'location' => 'header',
  6022. 'sentAs' => 'Content-Type',
  6023. ),
  6024. 'ContentLength' => array(
  6025. 'type' => 'numeric',
  6026. 'minimum'=> 0,
  6027. 'location' => 'header',
  6028. 'sentAs' => 'Content-Length',
  6029. ),
  6030. ),
  6031. );
  6032. }
  6033. public static function DetectWebpage() {
  6034. return array(
  6035. 'httpMethod' => 'POST',
  6036. 'uri' => '/{Bucket}webpage/auditing',
  6037. 'class' => 'Qcloud\\Cos\\Command',
  6038. 'responseClass' => 'DetectWebpageOutput',
  6039. 'responseType' => 'model',
  6040. 'data' => array(
  6041. 'xmlRoot' => array(
  6042. 'name' => 'Request',
  6043. ),
  6044. ),
  6045. 'parameters' => array(
  6046. 'Bucket' => array(
  6047. 'required' => true,
  6048. 'type' => 'string',
  6049. 'location' => 'uri',
  6050. ),
  6051. 'Input' => array(
  6052. 'location' => 'xml',
  6053. 'type' => 'object',
  6054. 'properties' => array(
  6055. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  6056. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  6057. 'UserInfo' => array(
  6058. 'location' => 'xml',
  6059. 'type' => 'object',
  6060. 'properties' => array(
  6061. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  6062. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  6063. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  6064. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  6065. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  6066. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  6067. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  6068. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  6069. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  6070. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  6071. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  6072. ),
  6073. ),
  6074. ),
  6075. ),
  6076. 'Conf' => array(
  6077. 'location' => 'xml',
  6078. 'type' => 'object',
  6079. 'properties' => array(
  6080. 'BizType' => array( 'type' => 'string', 'location' => 'xml', ),
  6081. 'DetectType' => array( 'type' => 'string', 'location' => 'xml', ),
  6082. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  6083. 'ReturnHighlightHtml' => array( 'type' => 'string', 'location' => 'xml', ),
  6084. 'CallbackType' => array( 'type' => 'integer', 'location' => 'xml', ),
  6085. ),
  6086. ),
  6087. ),
  6088. );
  6089. }
  6090. public static function DetectWebpageOutput() {
  6091. return array(
  6092. 'type' => 'object',
  6093. 'additionalProperties' => true,
  6094. 'properties' => array(
  6095. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  6096. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  6097. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  6098. 'JobsDetail' => array(
  6099. 'type' => 'object',
  6100. 'location' => 'xml',
  6101. 'properties' => array(
  6102. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  6103. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  6104. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  6105. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  6106. ),
  6107. ),
  6108. ),
  6109. );
  6110. }
  6111. public static function GetDetectWebpageResult() {
  6112. return array(
  6113. 'httpMethod' => 'GET',
  6114. 'uri' => '/{Bucket}webpage/auditing/{/Key*}',
  6115. 'class' => 'Qcloud\\Cos\\Command',
  6116. 'responseClass' => 'GetDetectWebpageResultOutput',
  6117. 'responseType' => 'model',
  6118. 'parameters' => array(
  6119. 'Bucket' => array(
  6120. 'required' => true,
  6121. 'type' => 'string',
  6122. 'location' => 'uri',
  6123. ),
  6124. 'Key' => array(
  6125. 'required' => true,
  6126. 'type' => 'string',
  6127. 'location' => 'uri',
  6128. ),
  6129. ),
  6130. );
  6131. }
  6132. public static function GetDetectWebpageResultOutput() {
  6133. return array(
  6134. 'type' => 'object',
  6135. 'additionalProperties' => true,
  6136. 'properties' => array(
  6137. 'RequestId' => array(
  6138. 'type' => 'string',
  6139. 'location' => 'header',
  6140. 'sentAs' => 'x-ci-request-id',
  6141. ),
  6142. 'ContentType' => array(
  6143. 'type' => 'string',
  6144. 'location' => 'header',
  6145. 'sentAs' => 'Content-Type',
  6146. ),
  6147. 'ContentLength' => array(
  6148. 'type' => 'numeric',
  6149. 'minimum'=> 0,
  6150. 'location' => 'header',
  6151. 'sentAs' => 'Content-Length',
  6152. ),
  6153. 'JobsDetail' => array(
  6154. 'type' => 'object',
  6155. 'location' => 'xml',
  6156. 'properties' => array(
  6157. 'Code' => array('type' => 'string', 'location' => 'xml',),
  6158. 'Message' => array('type' => 'string', 'location' => 'xml',),
  6159. 'DataId' => array('type' => 'string', 'location' => 'xml',),
  6160. 'JobId' => array('type' => 'string', 'location' => 'xml',),
  6161. 'State' => array('type' => 'string', 'location' => 'xml',),
  6162. 'CreationTime' => array('type' => 'string', 'location' => 'xml',),
  6163. 'Url' => array('type' => 'string', 'location' => 'xml',),
  6164. 'Suggestion' => array('type' => 'integer', 'location' => 'xml',),
  6165. 'Label' => array('type' => 'string', 'location' => 'xml',),
  6166. 'PageCount' => array('type' => 'integer', 'location' => 'xml',),
  6167. 'HighlightHtml' => array('type' => 'string', 'location' => 'xml',),
  6168. 'Labels' => array(
  6169. 'type' => 'object',
  6170. 'location' => 'xml',
  6171. 'properties' => array(
  6172. 'PornInfo' => array(
  6173. 'type' => 'object',
  6174. 'location' => 'xml',
  6175. 'properties' => array(
  6176. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6177. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6178. ),
  6179. ),
  6180. 'AdsInfo' => array(
  6181. 'type' => 'object',
  6182. 'location' => 'xml',
  6183. 'properties' => array(
  6184. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6185. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6186. ),
  6187. ),
  6188. 'PoliticsInfo' => array(
  6189. 'type' => 'object',
  6190. 'location' => 'xml',
  6191. 'properties' => array(
  6192. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6193. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6194. ),
  6195. ),
  6196. 'TerrorismInfo' => array(
  6197. 'type' => 'object',
  6198. 'location' => 'xml',
  6199. 'properties' => array(
  6200. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6201. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6202. ),
  6203. ),
  6204. ),
  6205. ),
  6206. 'ImageResults' => array(
  6207. 'type' => 'object',
  6208. 'location' => 'xml',
  6209. 'properties' => array(
  6210. 'Results' => array(
  6211. 'type' => 'array',
  6212. 'location' => 'xml',
  6213. 'items' => array(
  6214. 'type' => 'object',
  6215. 'location' => 'xml',
  6216. 'properties' => array(
  6217. 'Url' => array( 'type' => 'string', 'location' => 'xml',),
  6218. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  6219. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  6220. 'Suggestion' => array( 'type' => 'integer', 'location' => 'xml',),
  6221. 'PornInfo' => array(
  6222. 'type' => 'object',
  6223. 'location' => 'xml',
  6224. 'properties' => array(
  6225. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6226. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6227. 'Category' => array('type' => 'string', 'location' => 'xml',),
  6228. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  6229. 'OcrResults' => array(
  6230. 'type' => 'array',
  6231. 'location' => 'xml',
  6232. 'items' => array(
  6233. 'type' => 'object',
  6234. 'location' => 'xml',
  6235. 'properties' => array(
  6236. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  6237. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6238. 'Keywords' => array(
  6239. 'type' => 'array',
  6240. 'location' => 'xml',
  6241. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6242. ),
  6243. 'Location' => array(
  6244. 'type' => 'object',
  6245. 'location' => 'xml',
  6246. 'properties' => array(
  6247. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6248. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6249. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6250. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6251. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6252. ),
  6253. ),
  6254. ),
  6255. ),
  6256. ),
  6257. 'ObjectResults' => array(
  6258. 'type' => 'array',
  6259. 'location' => 'xml',
  6260. 'items' => array(
  6261. 'type' => 'object',
  6262. 'location' => 'xml',
  6263. 'properties' => array(
  6264. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  6265. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6266. 'Location' => array(
  6267. 'type' => 'object',
  6268. 'location' => 'xml',
  6269. 'properties' => array(
  6270. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6271. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6272. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6273. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6274. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6275. ),
  6276. ),
  6277. ),
  6278. ),
  6279. ),
  6280. 'LibResults' => array(
  6281. 'type' => 'array',
  6282. 'location' => 'xml',
  6283. 'items' => array(
  6284. 'type' => 'object',
  6285. 'location' => 'xml',
  6286. 'properties' => array(
  6287. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  6288. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6289. ),
  6290. ),
  6291. ),
  6292. ),
  6293. ),
  6294. 'AdsInfo' => array(
  6295. 'type' => 'object',
  6296. 'location' => 'xml',
  6297. 'properties' => array(
  6298. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6299. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6300. 'Category' => array('type' => 'string', 'location' => 'xml',),
  6301. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  6302. 'OcrResults' => array(
  6303. 'type' => 'array',
  6304. 'location' => 'xml',
  6305. 'items' => array(
  6306. 'type' => 'object',
  6307. 'location' => 'xml',
  6308. 'properties' => array(
  6309. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  6310. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6311. 'Keywords' => array(
  6312. 'type' => 'array',
  6313. 'location' => 'xml',
  6314. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6315. ),
  6316. 'Location' => array(
  6317. 'type' => 'object',
  6318. 'location' => 'xml',
  6319. 'properties' => array(
  6320. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6321. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6322. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6323. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6324. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6325. ),
  6326. ),
  6327. ),
  6328. ),
  6329. ),
  6330. 'ObjectResults' => array(
  6331. 'type' => 'array',
  6332. 'location' => 'xml',
  6333. 'items' => array(
  6334. 'type' => 'object',
  6335. 'location' => 'xml',
  6336. 'properties' => array(
  6337. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  6338. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6339. 'Location' => array(
  6340. 'type' => 'object',
  6341. 'location' => 'xml',
  6342. 'properties' => array(
  6343. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6344. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6345. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6346. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6347. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6348. ),
  6349. ),
  6350. ),
  6351. ),
  6352. ),
  6353. 'LibResults' => array(
  6354. 'type' => 'array',
  6355. 'location' => 'xml',
  6356. 'items' => array(
  6357. 'type' => 'object',
  6358. 'location' => 'xml',
  6359. 'properties' => array(
  6360. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  6361. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6362. ),
  6363. ),
  6364. ),
  6365. ),
  6366. ),
  6367. 'PoliticsInfo' => array(
  6368. 'type' => 'object',
  6369. 'location' => 'xml',
  6370. 'properties' => array(
  6371. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6372. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6373. 'Category' => array('type' => 'string', 'location' => 'xml',),
  6374. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  6375. 'OcrResults' => array(
  6376. 'type' => 'array',
  6377. 'location' => 'xml',
  6378. 'items' => array(
  6379. 'type' => 'object',
  6380. 'location' => 'xml',
  6381. 'properties' => array(
  6382. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  6383. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6384. 'Keywords' => array(
  6385. 'type' => 'array',
  6386. 'location' => 'xml',
  6387. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6388. ),
  6389. 'Location' => array(
  6390. 'type' => 'object',
  6391. 'location' => 'xml',
  6392. 'properties' => array(
  6393. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6394. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6395. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6396. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6397. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6398. ),
  6399. ),
  6400. ),
  6401. ),
  6402. ),
  6403. 'ObjectResults' => array(
  6404. 'type' => 'array',
  6405. 'location' => 'xml',
  6406. 'items' => array(
  6407. 'type' => 'object',
  6408. 'location' => 'xml',
  6409. 'properties' => array(
  6410. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  6411. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6412. 'Location' => array(
  6413. 'type' => 'object',
  6414. 'location' => 'xml',
  6415. 'properties' => array(
  6416. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6417. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6418. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6419. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6420. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6421. ),
  6422. ),
  6423. ),
  6424. ),
  6425. ),
  6426. 'LibResults' => array(
  6427. 'type' => 'array',
  6428. 'location' => 'xml',
  6429. 'items' => array(
  6430. 'type' => 'object',
  6431. 'location' => 'xml',
  6432. 'properties' => array(
  6433. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  6434. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6435. ),
  6436. ),
  6437. ),
  6438. ),
  6439. ),
  6440. 'TerrorismInfo' => array(
  6441. 'type' => 'object',
  6442. 'location' => 'xml',
  6443. 'properties' => array(
  6444. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6445. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6446. 'Category' => array('type' => 'string', 'location' => 'xml',),
  6447. 'SubLabel' => array('type' => 'string', 'location' => 'xml',),
  6448. 'OcrResults' => array(
  6449. 'type' => 'array',
  6450. 'location' => 'xml',
  6451. 'items' => array(
  6452. 'type' => 'object',
  6453. 'location' => 'xml',
  6454. 'properties' => array(
  6455. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  6456. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6457. 'Keywords' => array(
  6458. 'type' => 'array',
  6459. 'location' => 'xml',
  6460. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6461. ),
  6462. 'Location' => array(
  6463. 'type' => 'object',
  6464. 'location' => 'xml',
  6465. 'properties' => array(
  6466. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6467. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6468. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6469. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6470. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6471. ),
  6472. ),
  6473. ),
  6474. ),
  6475. ),
  6476. 'ObjectResults' => array(
  6477. 'type' => 'array',
  6478. 'location' => 'xml',
  6479. 'items' => array(
  6480. 'type' => 'object',
  6481. 'location' => 'xml',
  6482. 'properties' => array(
  6483. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  6484. 'SubLabel' => array( 'type' => 'string', 'location' => 'xml',),
  6485. 'Location' => array(
  6486. 'type' => 'object',
  6487. 'location' => 'xml',
  6488. 'properties' => array(
  6489. 'X' => array( 'type' => 'numeric', 'location' => 'xml',),
  6490. 'Y' => array( 'type' => 'numeric', 'location' => 'xml',),
  6491. 'Width' => array( 'type' => 'numeric', 'location' => 'xml',),
  6492. 'Height' => array( 'type' => 'numeric', 'location' => 'xml',),
  6493. 'Rotate' => array( 'type' => 'numeric', 'location' => 'xml',),
  6494. ),
  6495. ),
  6496. ),
  6497. ),
  6498. ),
  6499. 'LibResults' => array(
  6500. 'type' => 'array',
  6501. 'location' => 'xml',
  6502. 'items' => array(
  6503. 'type' => 'object',
  6504. 'location' => 'xml',
  6505. 'properties' => array(
  6506. 'ImageId' => array( 'type' => 'string', 'location' => 'xml',),
  6507. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  6508. ),
  6509. ),
  6510. ),
  6511. ),
  6512. ),
  6513. ),
  6514. ),
  6515. ),
  6516. ),
  6517. ),
  6518. 'TextResults' => array(
  6519. 'type' => 'object',
  6520. 'location' => 'xml',
  6521. 'properties' => array(
  6522. 'Results' => array(
  6523. 'type' => 'array',
  6524. 'location' => 'xml',
  6525. 'items' => array(
  6526. 'type' => 'object',
  6527. 'location' => 'xml',
  6528. 'properties' => array(
  6529. 'Text' => array( 'type' => 'string', 'location' => 'xml',),
  6530. 'Label' => array( 'type' => 'string', 'location' => 'xml',),
  6531. 'Suggestion' => array( 'type' => 'integer', 'location' => 'xml',),
  6532. 'PornInfo' => array(
  6533. 'type' => 'object',
  6534. 'location' => 'xml',
  6535. 'properties' => array(
  6536. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6537. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6538. 'Keywords' => array('type' => 'string', 'location' => 'xml',),
  6539. 'LibResults' => array(
  6540. 'type' => 'array',
  6541. 'location' => 'xml',
  6542. 'items' => array(
  6543. 'type' => 'object',
  6544. 'location' => 'xml',
  6545. 'properties' => array(
  6546. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6547. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6548. 'Keywords' => array(
  6549. 'type' => 'array',
  6550. 'location' => 'xml',
  6551. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6552. ),
  6553. ),
  6554. ),
  6555. ),
  6556. ),
  6557. ),
  6558. 'AdsInfo' => array(
  6559. 'type' => 'object',
  6560. 'location' => 'xml',
  6561. 'properties' => array(
  6562. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6563. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6564. 'Keywords' => array('type' => 'string', 'location' => 'xml',),
  6565. 'LibResults' => array(
  6566. 'type' => 'array',
  6567. 'location' => 'xml',
  6568. 'items' => array(
  6569. 'type' => 'object',
  6570. 'location' => 'xml',
  6571. 'properties' => array(
  6572. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6573. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6574. 'Keywords' => array(
  6575. 'type' => 'array',
  6576. 'location' => 'xml',
  6577. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6578. ),
  6579. ),
  6580. ),
  6581. ),
  6582. ),
  6583. ),
  6584. 'PoliticsInfo' => array(
  6585. 'type' => 'object',
  6586. 'location' => 'xml',
  6587. 'properties' => array(
  6588. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6589. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6590. 'Keywords' => array('type' => 'string', 'location' => 'xml',),
  6591. 'LibResults' => array(
  6592. 'type' => 'array',
  6593. 'location' => 'xml',
  6594. 'items' => array(
  6595. 'type' => 'object',
  6596. 'location' => 'xml',
  6597. 'properties' => array(
  6598. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6599. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6600. 'Keywords' => array(
  6601. 'type' => 'array',
  6602. 'location' => 'xml',
  6603. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6604. ),
  6605. ),
  6606. ),
  6607. ),
  6608. ),
  6609. ),
  6610. 'TerrorismInfo' => array(
  6611. 'type' => 'object',
  6612. 'location' => 'xml',
  6613. 'properties' => array(
  6614. 'HitFlag' => array('type' => 'integer', 'location' => 'xml',),
  6615. 'Score' => array('type' => 'integer', 'location' => 'xml',),
  6616. 'Keywords' => array('type' => 'string', 'location' => 'xml',),
  6617. 'LibResults' => array(
  6618. 'type' => 'array',
  6619. 'location' => 'xml',
  6620. 'items' => array(
  6621. 'type' => 'object',
  6622. 'location' => 'xml',
  6623. 'properties' => array(
  6624. 'LibType' => array( 'type' => 'integer', 'location' => 'xml',),
  6625. 'LibName' => array( 'type' => 'string', 'location' => 'xml',),
  6626. 'Keywords' => array(
  6627. 'type' => 'array',
  6628. 'location' => 'xml',
  6629. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  6630. ),
  6631. ),
  6632. ),
  6633. ),
  6634. ),
  6635. ),
  6636. ),
  6637. ),
  6638. ),
  6639. ),
  6640. ),
  6641. 'UserInfo' => array(
  6642. 'type' => 'object',
  6643. 'location' => 'xml',
  6644. 'properties' => array(
  6645. 'TokenId' => array( 'type' => 'string', 'location' => 'xml',),
  6646. 'Nickname' => array( 'type' => 'string', 'location' => 'xml',),
  6647. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml',),
  6648. 'AppId' => array( 'type' => 'string', 'location' => 'xml',),
  6649. 'Room' => array( 'type' => 'string', 'location' => 'xml',),
  6650. 'IP' => array( 'type' => 'string', 'location' => 'xml',),
  6651. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  6652. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml',),
  6653. 'Gender' => array( 'type' => 'string', 'location' => 'xml',),
  6654. 'Level' => array( 'type' => 'string', 'location' => 'xml',),
  6655. 'Role' => array( 'type' => 'string', 'location' => 'xml',),
  6656. ),
  6657. ),
  6658. 'ListInfo' => array(
  6659. 'type' => 'object',
  6660. 'location' => 'xml',
  6661. 'properties' => array(
  6662. 'ListResults' => array(
  6663. 'type' => 'array',
  6664. 'location' => 'xml',
  6665. 'items' => array(
  6666. 'type' => 'object',
  6667. 'location' => 'xml',
  6668. 'properties' => array(
  6669. 'ListType' => array( 'type' => 'integer', 'location' => 'xml',),
  6670. 'ListName' => array( 'type' => 'string', 'location' => 'xml',),
  6671. 'Entity' => array( 'type' => 'string', 'location' => 'xml',),
  6672. ),
  6673. ),
  6674. ),
  6675. ),
  6676. ),
  6677. ),
  6678. ),
  6679. ),
  6680. );
  6681. }
  6682. public static function DescribeMediaBuckets() {
  6683. return array(
  6684. 'httpMethod' => 'GET',
  6685. 'uri' => '/mediabucket',
  6686. 'class' => 'Qcloud\\Cos\\Command',
  6687. 'responseClass' => 'DescribeMediaBucketsOutput',
  6688. 'responseType' => 'model',
  6689. 'parameters' => array(
  6690. 'Regions' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'regions' ),
  6691. 'BucketNames' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketNames' ),
  6692. 'BucketName' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketName' ),
  6693. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  6694. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  6695. ),
  6696. );
  6697. }
  6698. public static function DescribeMediaBucketsOutput() {
  6699. return array(
  6700. 'type' => 'object',
  6701. 'additionalProperties' => true,
  6702. 'properties' => array(
  6703. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  6704. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  6705. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  6706. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  6707. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  6708. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  6709. 'MediaBucketList' => array(
  6710. 'type' => 'array',
  6711. 'location' => 'xml',
  6712. 'items' => array(
  6713. 'type' => 'object',
  6714. 'location' => 'xml',
  6715. 'properties' => array(
  6716. 'BucketId' => array( 'type' => 'string', 'location' => 'xml',),
  6717. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  6718. 'Region' => array( 'type' => 'string', 'location' => 'xml',),
  6719. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  6720. ),
  6721. ),
  6722. ),
  6723. ),
  6724. );
  6725. }
  6726. public static function GetPrivateM3U8() {
  6727. return array(
  6728. 'httpMethod' => 'GET',
  6729. 'uri' => '/{Bucket}{/Key*}',
  6730. 'class' => 'Qcloud\\Cos\\Command',
  6731. 'responseClass' => 'GetPrivateM3U8Output',
  6732. 'responseType' => 'model',
  6733. 'parameters' => array(
  6734. 'Bucket' => array(
  6735. 'required' => true,
  6736. 'type' => 'string',
  6737. 'location' => 'uri',
  6738. ),
  6739. 'Key' => array(
  6740. 'required' => true,
  6741. 'type' => 'string',
  6742. 'location' => 'uri',
  6743. ),
  6744. 'ci-process' => array(
  6745. 'required' => true,
  6746. 'type' => 'string',
  6747. 'location' => 'query'
  6748. ),
  6749. 'expires' => array(
  6750. 'required' => true,
  6751. 'type' => 'string',
  6752. 'location' => 'query'
  6753. )
  6754. ),
  6755. );
  6756. }
  6757. public static function GetPrivateM3U8Output() {
  6758. return array(
  6759. 'type' => 'object',
  6760. 'additionalProperties' => true,
  6761. 'properties' => array(
  6762. 'Body' => array(
  6763. 'type' => 'string',
  6764. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6765. 'location' => 'body',
  6766. ),
  6767. 'RequestId' => array(
  6768. 'type' => 'string',
  6769. 'location' => 'header',
  6770. 'sentAs' => 'x-cos-request-id',
  6771. ),
  6772. 'ContentType' => array(
  6773. 'type' => 'string',
  6774. 'location' => 'header',
  6775. 'sentAs' => 'Content-Type',
  6776. ),
  6777. 'ContentLength' => array(
  6778. 'type' => 'numeric',
  6779. 'minimum'=> 0,
  6780. 'location' => 'header',
  6781. 'sentAs' => 'Content-Length',
  6782. ),
  6783. ),
  6784. );
  6785. }
  6786. public static function DescribeMediaQueues() {
  6787. return array(
  6788. 'httpMethod' => 'GET',
  6789. 'uri' => '/{Bucket}queue',
  6790. 'class' => 'Qcloud\\Cos\\Command',
  6791. 'responseClass' => 'DescribeMediaQueuesOutput',
  6792. 'responseType' => 'model',
  6793. 'parameters' => array(
  6794. 'Bucket' => array(
  6795. 'required' => true,
  6796. 'type' => 'string',
  6797. 'location' => 'uri',
  6798. ),
  6799. 'QueueIds' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'queueIds' ),
  6800. 'State' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'state' ),
  6801. 'Category' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'category' ),
  6802. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  6803. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  6804. ),
  6805. );
  6806. }
  6807. public static function DescribeMediaQueuesOutput() {
  6808. return array(
  6809. 'type' => 'object',
  6810. 'additionalProperties' => true,
  6811. 'properties' => array(
  6812. 'RequestId' => array(
  6813. 'type' => 'string',
  6814. 'location' => 'header',
  6815. 'sentAs' => 'x-ci-request-id',
  6816. ),
  6817. 'ContentType' => array(
  6818. 'type' => 'string',
  6819. 'location' => 'header',
  6820. 'sentAs' => 'Content-Type',
  6821. ),
  6822. 'ContentLength' => array(
  6823. 'type' => 'numeric',
  6824. 'minimum'=> 0,
  6825. 'location' => 'header',
  6826. 'sentAs' => 'Content-Length',
  6827. ),
  6828. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  6829. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  6830. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  6831. 'QueueList' => array(
  6832. 'type' => 'array', 'location' => 'xml',
  6833. 'items' => array(
  6834. 'type' => 'object', 'location' => 'xml',
  6835. 'properties' => array(
  6836. 'QueueId' => array( 'type' => 'string', 'location' => 'xml',),
  6837. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  6838. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  6839. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml',),
  6840. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml',),
  6841. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  6842. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml',),
  6843. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  6844. 'NotifyConfig' => array(
  6845. 'type' => 'object', 'location' => 'xml',
  6846. 'properties' => array(
  6847. 'Url' => array( 'type' => 'string', 'location' => 'xml',),
  6848. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  6849. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  6850. 'Event' => array( 'type' => 'string', 'location' => 'xml',),
  6851. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml',),
  6852. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  6853. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  6854. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  6855. ),
  6856. ),
  6857. ),
  6858. ),
  6859. ),
  6860. 'NonExistPIDs' => array(
  6861. 'type' => 'array', 'location' => 'xml',
  6862. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  6863. ),
  6864. ),
  6865. );
  6866. }
  6867. public static function UpdateMediaQueue() {
  6868. return array(
  6869. 'httpMethod' => 'PUT',
  6870. 'uri' => '/{Bucket}queue/{/Key*}',
  6871. 'class' => 'Qcloud\\Cos\\Command',
  6872. 'responseClass' => 'UpdateMediaQueueOutput',
  6873. 'responseType' => 'model',
  6874. 'data' => array(
  6875. 'xmlRoot' => array(
  6876. 'name' => 'Request',
  6877. ),
  6878. ),
  6879. 'parameters' => array(
  6880. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  6881. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  6882. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  6883. 'QueueID' => array( 'location' => 'xml', 'type' => 'string', ),
  6884. 'State' => array( 'location' => 'xml', 'type' => 'string', ),
  6885. 'NotifyConfig' => array(
  6886. 'type' => 'object',
  6887. 'location' => 'xml',
  6888. 'properties' => array(
  6889. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  6890. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  6891. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  6892. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  6893. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  6894. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  6895. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  6896. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  6897. ),
  6898. ),
  6899. ),
  6900. );
  6901. }
  6902. public static function UpdateMediaQueueOutput() {
  6903. return array(
  6904. 'type' => 'object',
  6905. 'additionalProperties' => true,
  6906. 'properties' => array(
  6907. 'Body' => array(
  6908. 'type' => 'string',
  6909. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  6910. 'location' => 'body',
  6911. ),
  6912. 'RequestId' => array(
  6913. 'type' => 'string',
  6914. 'location' => 'header',
  6915. 'sentAs' => 'x-ci-request-id',
  6916. ),
  6917. 'ContentType' => array(
  6918. 'type' => 'string',
  6919. 'location' => 'header',
  6920. 'sentAs' => 'Content-Type',
  6921. ),
  6922. 'ContentLength' => array(
  6923. 'type' => 'numeric',
  6924. 'minimum'=> 0,
  6925. 'location' => 'header',
  6926. 'sentAs' => 'Content-Length',
  6927. ),
  6928. ),
  6929. );
  6930. }
  6931. public static function CreateMediaSmartCoverJobs() {
  6932. return array(
  6933. 'httpMethod' => 'POST',
  6934. 'uri' => '/{Bucket}jobs',
  6935. 'class' => 'Qcloud\\Cos\\Command',
  6936. 'responseClass' => 'CreateMediaSmartCoverJobsOutput',
  6937. 'responseType' => 'model',
  6938. 'data' => array(
  6939. 'xmlRoot' => array(
  6940. 'name' => 'Request',
  6941. ),
  6942. ),
  6943. 'parameters' => array(
  6944. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  6945. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  6946. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  6947. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  6948. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  6949. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  6950. 'Input' => array(
  6951. 'type' => 'object',
  6952. 'location' => 'xml',
  6953. 'properties' => array(
  6954. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  6955. ),
  6956. ),
  6957. 'Operation' => array(
  6958. 'type' => 'object',
  6959. 'location' => 'xml',
  6960. 'properties' => array(
  6961. 'TemplateId' => array( 'location' => 'xml', 'type' => 'string', ),
  6962. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  6963. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  6964. 'SmartCover' => array(
  6965. 'type' => 'object',
  6966. 'location' => 'xml',
  6967. 'properties' => array(
  6968. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  6969. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  6970. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  6971. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  6972. 'DeleteDuplicates' => array( 'type' => 'string', 'location' => 'xml', ),
  6973. ),
  6974. ),
  6975. 'Output' => array(
  6976. 'type' => 'object',
  6977. 'location' => 'xml',
  6978. 'properties' => array(
  6979. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  6980. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  6981. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  6982. ),
  6983. ),
  6984. ),
  6985. ),
  6986. 'CallBackMqConfig' => array(
  6987. 'type' => 'object',
  6988. 'location' => 'xml',
  6989. 'properties' => array(
  6990. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  6991. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  6992. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  6993. ),
  6994. ),
  6995. ),
  6996. );
  6997. }
  6998. public static function CreateMediaSmartCoverJobsOutput() {
  6999. return array(
  7000. 'type' => 'object',
  7001. 'additionalProperties' => true,
  7002. 'properties' => array(
  7003. 'Body' => array(
  7004. 'type' => 'string',
  7005. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7006. 'location' => 'body',
  7007. ),
  7008. 'RequestId' => array(
  7009. 'type' => 'string',
  7010. 'location' => 'header',
  7011. 'sentAs' => 'x-ci-request-id',
  7012. ),
  7013. 'ContentType' => array(
  7014. 'type' => 'string',
  7015. 'location' => 'header',
  7016. 'sentAs' => 'Content-Type',
  7017. ),
  7018. 'ContentLength' => array(
  7019. 'type' => 'numeric',
  7020. 'minimum'=> 0,
  7021. 'location' => 'header',
  7022. 'sentAs' => 'Content-Length',
  7023. ),
  7024. ),
  7025. );
  7026. }
  7027. public static function CreateMediaVideoProcessJobs() {
  7028. return array(
  7029. 'httpMethod' => 'POST',
  7030. 'uri' => '/{Bucket}jobs',
  7031. 'class' => 'Qcloud\\Cos\\Command',
  7032. 'responseClass' => 'CreateMediaVideoProcessJobsOutput',
  7033. 'responseType' => 'model',
  7034. 'data' => array(
  7035. 'xmlRoot' => array(
  7036. 'name' => 'Request',
  7037. ),
  7038. ),
  7039. 'parameters' => array(
  7040. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7041. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7042. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7043. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7044. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7045. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7046. 'Input' => array(
  7047. 'type' => 'object',
  7048. 'location' => 'xml',
  7049. 'properties' => array(
  7050. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7051. ),
  7052. ),
  7053. 'Operation' => array(
  7054. 'type' => 'object',
  7055. 'location' => 'xml',
  7056. 'properties' => array(
  7057. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7058. 'TranscodeTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7059. 'WatermarkTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7060. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7061. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7062. 'VideoProcess' => array(
  7063. 'type' => 'object',
  7064. 'location' => 'xml',
  7065. 'properties' => array(
  7066. 'ColorEnhance' => array(
  7067. 'type' => 'object',
  7068. 'location' => 'xml',
  7069. 'properties' => array(
  7070. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  7071. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  7072. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  7073. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  7074. ),
  7075. ),
  7076. 'MsSharpen' => array(
  7077. 'type' => 'object',
  7078. 'location' => 'xml',
  7079. 'properties' => array(
  7080. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  7081. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7082. ),
  7083. ),
  7084. ),
  7085. ),
  7086. 'Transcode' => array(
  7087. 'type' => 'object',
  7088. 'location' => 'xml',
  7089. 'properties' => array(
  7090. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  7091. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  7092. 'Container' => array(
  7093. 'type' => 'object',
  7094. 'location' => 'xml',
  7095. 'properties' => array(
  7096. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  7097. ),
  7098. ),
  7099. 'Video' => array(
  7100. 'type' => 'object',
  7101. 'location' => 'xml',
  7102. 'properties' => array(
  7103. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7104. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  7105. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  7106. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  7107. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  7108. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  7109. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7110. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  7111. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  7112. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  7113. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  7114. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7115. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7116. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  7117. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7118. ),
  7119. ),
  7120. 'TimeInterval' => array(
  7121. 'type' => 'object',
  7122. 'location' => 'xml',
  7123. 'properties' => array(
  7124. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  7125. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  7126. ),
  7127. ),
  7128. 'Audio' => array(
  7129. 'type' => 'object',
  7130. 'location' => 'xml',
  7131. 'properties' => array(
  7132. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7133. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  7134. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7135. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  7136. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  7137. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  7138. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  7139. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  7140. ),
  7141. ),
  7142. 'TransConfig' => array(
  7143. 'type' => 'object',
  7144. 'location' => 'xml',
  7145. 'properties' => array(
  7146. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7147. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  7148. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7149. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7150. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7151. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7152. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7153. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  7154. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  7155. 'HlsEncrypt' => array(
  7156. 'type' => 'object',
  7157. 'location' => 'xml',
  7158. 'properties' => array(
  7159. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  7160. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  7161. ),
  7162. ),
  7163. ),
  7164. ),
  7165. ),
  7166. ),
  7167. 'Watermark' => array(
  7168. 'type' => 'object',
  7169. 'location' => 'xml',
  7170. 'properties' => array(
  7171. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  7172. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  7173. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7174. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  7175. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  7176. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7177. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7178. 'Image' => array(
  7179. 'type' => 'object',
  7180. 'location' => 'xml',
  7181. 'properties' => array(
  7182. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  7183. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  7184. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  7185. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  7186. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  7187. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  7188. ),
  7189. ),
  7190. 'Text' => array(
  7191. 'type' => 'object',
  7192. 'location' => 'xml',
  7193. 'properties' => array(
  7194. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  7195. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  7196. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  7197. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  7198. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  7199. ),
  7200. ),
  7201. ),
  7202. ),
  7203. 'DigitalWatermark' => array(
  7204. 'type' => 'object',
  7205. 'location' => 'xml',
  7206. 'properties' => array(
  7207. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  7208. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  7209. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  7210. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  7211. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  7212. ),
  7213. ),
  7214. 'Output' => array(
  7215. 'type' => 'object',
  7216. 'location' => 'xml',
  7217. 'properties' => array(
  7218. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  7219. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  7220. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7221. ),
  7222. ),
  7223. ),
  7224. ),
  7225. 'CallBackMqConfig' => array(
  7226. 'type' => 'object',
  7227. 'location' => 'xml',
  7228. 'properties' => array(
  7229. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  7230. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7231. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  7232. ),
  7233. ),
  7234. ),
  7235. );
  7236. }
  7237. public static function CreateMediaVideoProcessJobsOutput() {
  7238. return array(
  7239. 'type' => 'object',
  7240. 'additionalProperties' => true,
  7241. 'properties' => array(
  7242. 'Body' => array(
  7243. 'type' => 'string',
  7244. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7245. 'location' => 'body',
  7246. ),
  7247. 'RequestId' => array(
  7248. 'type' => 'string',
  7249. 'location' => 'header',
  7250. 'sentAs' => 'x-ci-request-id',
  7251. ),
  7252. 'ContentType' => array(
  7253. 'type' => 'string',
  7254. 'location' => 'header',
  7255. 'sentAs' => 'Content-Type',
  7256. ),
  7257. 'ContentLength' => array(
  7258. 'type' => 'numeric',
  7259. 'minimum'=> 0,
  7260. 'location' => 'header',
  7261. 'sentAs' => 'Content-Length',
  7262. ),
  7263. ),
  7264. );
  7265. }
  7266. public static function CreateMediaVideoMontageJobs() {
  7267. return array(
  7268. 'httpMethod' => 'POST',
  7269. 'uri' => '/{Bucket}jobs',
  7270. 'class' => 'Qcloud\\Cos\\Command',
  7271. 'responseClass' => 'CreateMediaVideoMontageJobsOutput',
  7272. 'responseType' => 'model',
  7273. 'data' => array(
  7274. 'xmlRoot' => array(
  7275. 'name' => 'Request',
  7276. ),
  7277. ),
  7278. 'parameters' => array(
  7279. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7280. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7281. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7282. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7283. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7284. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7285. 'Input' => array(
  7286. 'type' => 'object',
  7287. 'location' => 'xml',
  7288. 'properties' => array(
  7289. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7290. ),
  7291. ),
  7292. 'Operation' => array(
  7293. 'type' => 'object',
  7294. 'location' => 'xml',
  7295. 'properties' => array(
  7296. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7297. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7298. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7299. 'VideoMontage' => array(
  7300. 'type' => 'object',
  7301. 'location' => 'xml',
  7302. 'properties' => array(
  7303. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  7304. 'Scene' => array( 'type' => 'string', 'location' => 'xml', ),
  7305. 'Container' => array(
  7306. 'type' => 'object',
  7307. 'location' => 'xml',
  7308. 'properties' => array(
  7309. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  7310. ),
  7311. ),
  7312. 'Video' => array(
  7313. 'type' => 'object',
  7314. 'location' => 'xml',
  7315. 'properties' => array(
  7316. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7317. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  7318. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  7319. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  7320. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7321. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  7322. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  7323. ),
  7324. ),
  7325. 'Audio' => array(
  7326. 'type' => 'object',
  7327. 'location' => 'xml',
  7328. 'properties' => array(
  7329. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7330. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  7331. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7332. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  7333. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  7334. ),
  7335. ),
  7336. 'AudioMix' => array(
  7337. 'type' => 'object',
  7338. 'location' => 'xml',
  7339. 'properties' => array(
  7340. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  7341. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7342. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  7343. 'EffectConfig' => array(
  7344. 'type' => 'object',
  7345. 'location' => 'xml',
  7346. 'properties' => array(
  7347. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  7348. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7349. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  7350. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7351. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  7352. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7353. ),
  7354. ),
  7355. ),
  7356. ),
  7357. 'AudioMixArray' => array(
  7358. 'type' => 'array',
  7359. 'location' => 'xml',
  7360. 'data' => array(
  7361. 'xmlFlattened' => true,
  7362. ),
  7363. 'items' => array(
  7364. 'type' => 'object',
  7365. 'name' => 'AudioMixArray',
  7366. 'sentAs' => 'AudioMixArray',
  7367. 'properties' => array(
  7368. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  7369. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7370. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  7371. 'EffectConfig' => array(
  7372. 'type' => 'object',
  7373. 'location' => 'xml',
  7374. 'properties' => array(
  7375. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  7376. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7377. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  7378. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7379. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  7380. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7381. ),
  7382. ),
  7383. ),
  7384. ),
  7385. ),
  7386. ),
  7387. ),
  7388. 'Output' => array(
  7389. 'type' => 'object',
  7390. 'location' => 'xml',
  7391. 'properties' => array(
  7392. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  7393. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  7394. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7395. ),
  7396. ),
  7397. ),
  7398. ),
  7399. 'CallBackMqConfig' => array(
  7400. 'type' => 'object',
  7401. 'location' => 'xml',
  7402. 'properties' => array(
  7403. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  7404. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7405. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  7406. ),
  7407. ),
  7408. ),
  7409. );
  7410. }
  7411. public static function CreateMediaVideoMontageJobsOutput() {
  7412. return array(
  7413. 'type' => 'object',
  7414. 'additionalProperties' => true,
  7415. 'properties' => array(
  7416. 'Body' => array(
  7417. 'type' => 'string',
  7418. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7419. 'location' => 'body',
  7420. ),
  7421. 'RequestId' => array(
  7422. 'type' => 'string',
  7423. 'location' => 'header',
  7424. 'sentAs' => 'x-ci-request-id',
  7425. ),
  7426. 'ContentType' => array(
  7427. 'type' => 'string',
  7428. 'location' => 'header',
  7429. 'sentAs' => 'Content-Type',
  7430. ),
  7431. 'ContentLength' => array(
  7432. 'type' => 'numeric',
  7433. 'minimum'=> 0,
  7434. 'location' => 'header',
  7435. 'sentAs' => 'Content-Length',
  7436. ),
  7437. ),
  7438. );
  7439. }
  7440. public static function CreateMediaAnimationJobs() {
  7441. return array(
  7442. 'httpMethod' => 'POST',
  7443. 'uri' => '/{Bucket}jobs',
  7444. 'class' => 'Qcloud\\Cos\\Command',
  7445. 'responseClass' => 'CreateMediaAnimationJobsOutput',
  7446. 'responseType' => 'model',
  7447. 'data' => array(
  7448. 'xmlRoot' => array(
  7449. 'name' => 'Request',
  7450. ),
  7451. ),
  7452. 'parameters' => array(
  7453. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7454. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7455. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7456. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7457. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7458. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7459. 'Input' => array(
  7460. 'type' => 'object',
  7461. 'location' => 'xml',
  7462. 'properties' => array(
  7463. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7464. ),
  7465. ),
  7466. 'Operation' => array(
  7467. 'type' => 'object',
  7468. 'location' => 'xml',
  7469. 'properties' => array(
  7470. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7471. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7472. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7473. 'Animation' => array(
  7474. 'type' => 'object',
  7475. 'location' => 'xml',
  7476. 'properties' => array(
  7477. 'Container' => array(
  7478. 'type' => 'object',
  7479. 'location' => 'xml',
  7480. 'properties' => array(
  7481. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  7482. ),
  7483. ),
  7484. 'Video' => array(
  7485. 'type' => 'object',
  7486. 'location' => 'xml',
  7487. 'properties' => array(
  7488. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7489. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  7490. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  7491. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  7492. 'AnimateOnlyKeepKeyFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  7493. 'AnimateTimeIntervalOfFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  7494. 'AnimateFramesPerSecond' => array( 'type' => 'string', 'location' => 'xml', ),
  7495. 'Quality' => array( 'type' => 'string', 'location' => 'xml', ),
  7496. ),
  7497. ),
  7498. 'TimeInterval' => array(
  7499. 'type' => 'object',
  7500. 'location' => 'xml',
  7501. 'properties' => array(
  7502. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  7503. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  7504. ),
  7505. ),
  7506. ),
  7507. ),
  7508. 'Output' => array(
  7509. 'type' => 'object',
  7510. 'location' => 'xml',
  7511. 'properties' => array(
  7512. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  7513. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  7514. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7515. ),
  7516. ),
  7517. ),
  7518. ),
  7519. 'CallBackMqConfig' => array(
  7520. 'type' => 'object',
  7521. 'location' => 'xml',
  7522. 'properties' => array(
  7523. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  7524. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7525. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  7526. ),
  7527. ),
  7528. ),
  7529. );
  7530. }
  7531. public static function CreateMediaAnimationJobsOutput() {
  7532. return array(
  7533. 'type' => 'object',
  7534. 'additionalProperties' => true,
  7535. 'properties' => array(
  7536. 'Body' => array(
  7537. 'type' => 'string',
  7538. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7539. 'location' => 'body',
  7540. ),
  7541. 'RequestId' => array(
  7542. 'type' => 'string',
  7543. 'location' => 'header',
  7544. 'sentAs' => 'x-ci-request-id',
  7545. ),
  7546. 'ContentType' => array(
  7547. 'type' => 'string',
  7548. 'location' => 'header',
  7549. 'sentAs' => 'Content-Type',
  7550. ),
  7551. 'ContentLength' => array(
  7552. 'type' => 'numeric',
  7553. 'minimum'=> 0,
  7554. 'location' => 'header',
  7555. 'sentAs' => 'Content-Length',
  7556. ),
  7557. ),
  7558. );
  7559. }
  7560. public static function CreateMediaPicProcessJobs() {
  7561. return array(
  7562. 'httpMethod' => 'POST',
  7563. 'uri' => '/{Bucket}pic_jobs',
  7564. 'class' => 'Qcloud\\Cos\\Command',
  7565. 'responseClass' => 'CreateMediaPicProcessJobsOutput',
  7566. 'responseType' => 'model',
  7567. 'data' => array(
  7568. 'xmlRoot' => array(
  7569. 'name' => 'Request',
  7570. ),
  7571. ),
  7572. 'parameters' => array(
  7573. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7574. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7575. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7576. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7577. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7578. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7579. 'Input' => array(
  7580. 'type' => 'object',
  7581. 'location' => 'xml',
  7582. 'properties' => array(
  7583. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7584. ),
  7585. ),
  7586. 'Operation' => array(
  7587. 'type' => 'object',
  7588. 'location' => 'xml',
  7589. 'properties' => array(
  7590. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7591. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7592. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7593. 'PicProcess' => array(
  7594. 'type' => 'object',
  7595. 'location' => 'xml',
  7596. 'properties' => array(
  7597. 'IsPicInfo' => array( 'type' => 'string', 'location' => 'xml', ),
  7598. 'ProcessRule' => array( 'type' => 'string', 'location' => 'xml', ),
  7599. ),
  7600. ),
  7601. 'Output' => array(
  7602. 'type' => 'object',
  7603. 'location' => 'xml',
  7604. 'properties' => array(
  7605. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  7606. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  7607. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7608. ),
  7609. ),
  7610. ),
  7611. ),
  7612. 'CallBackMqConfig' => array(
  7613. 'type' => 'object',
  7614. 'location' => 'xml',
  7615. 'properties' => array(
  7616. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  7617. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7618. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  7619. ),
  7620. ),
  7621. ),
  7622. );
  7623. }
  7624. public static function CreateMediaPicProcessJobsOutput() {
  7625. return array(
  7626. 'type' => 'object',
  7627. 'additionalProperties' => true,
  7628. 'properties' => array(
  7629. 'Body' => array(
  7630. 'type' => 'string',
  7631. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7632. 'location' => 'body',
  7633. ),
  7634. 'RequestId' => array(
  7635. 'type' => 'string',
  7636. 'location' => 'header',
  7637. 'sentAs' => 'x-ci-request-id',
  7638. ),
  7639. 'ContentType' => array(
  7640. 'type' => 'string',
  7641. 'location' => 'header',
  7642. 'sentAs' => 'Content-Type',
  7643. ),
  7644. 'ContentLength' => array(
  7645. 'type' => 'numeric',
  7646. 'minimum'=> 0,
  7647. 'location' => 'header',
  7648. 'sentAs' => 'Content-Length',
  7649. ),
  7650. ),
  7651. );
  7652. }
  7653. public static function CreateMediaSegmentJobs() {
  7654. return array(
  7655. 'httpMethod' => 'POST',
  7656. 'uri' => '/{Bucket}jobs',
  7657. 'class' => 'Qcloud\\Cos\\Command',
  7658. 'responseClass' => 'CreateMediaSegmentJobsOutput',
  7659. 'responseType' => 'model',
  7660. 'data' => array(
  7661. 'xmlRoot' => array(
  7662. 'name' => 'Request',
  7663. ),
  7664. ),
  7665. 'parameters' => array(
  7666. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7667. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7668. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7669. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7670. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7671. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7672. 'Input' => array(
  7673. 'type' => 'object',
  7674. 'location' => 'xml',
  7675. 'properties' => array(
  7676. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7677. ),
  7678. ),
  7679. 'Operation' => array(
  7680. 'type' => 'object',
  7681. 'location' => 'xml',
  7682. 'properties' => array(
  7683. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7684. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7685. 'Segment' => array(
  7686. 'type' => 'object',
  7687. 'location' => 'xml',
  7688. 'properties' => array(
  7689. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  7690. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  7691. 'HlsEncrypt' => array(
  7692. 'type' => 'object',
  7693. 'location' => 'xml',
  7694. 'properties' => array(
  7695. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  7696. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  7697. ),
  7698. ),
  7699. ),
  7700. ),
  7701. 'Output' => array(
  7702. 'type' => 'object',
  7703. 'location' => 'xml',
  7704. 'properties' => array(
  7705. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  7706. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  7707. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7708. ),
  7709. ),
  7710. ),
  7711. ),
  7712. 'CallBackMqConfig' => array(
  7713. 'type' => 'object',
  7714. 'location' => 'xml',
  7715. 'properties' => array(
  7716. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  7717. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7718. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  7719. ),
  7720. ),
  7721. ),
  7722. );
  7723. }
  7724. public static function CreateMediaSegmentJobsOutput() {
  7725. return array(
  7726. 'type' => 'object',
  7727. 'additionalProperties' => true,
  7728. 'properties' => array(
  7729. 'Body' => array(
  7730. 'type' => 'string',
  7731. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7732. 'location' => 'body',
  7733. ),
  7734. 'RequestId' => array(
  7735. 'type' => 'string',
  7736. 'location' => 'header',
  7737. 'sentAs' => 'x-ci-request-id',
  7738. ),
  7739. 'ContentType' => array(
  7740. 'type' => 'string',
  7741. 'location' => 'header',
  7742. 'sentAs' => 'Content-Type',
  7743. ),
  7744. 'ContentLength' => array(
  7745. 'type' => 'numeric',
  7746. 'minimum'=> 0,
  7747. 'location' => 'header',
  7748. 'sentAs' => 'Content-Length',
  7749. ),
  7750. ),
  7751. );
  7752. }
  7753. public static function CreateMediaVideoTagJobs() {
  7754. return array(
  7755. 'httpMethod' => 'POST',
  7756. 'uri' => '/{Bucket}jobs',
  7757. 'class' => 'Qcloud\\Cos\\Command',
  7758. 'responseClass' => 'CreateMediaVideoTagJobsOutput',
  7759. 'responseType' => 'model',
  7760. 'data' => array(
  7761. 'xmlRoot' => array(
  7762. 'name' => 'Request',
  7763. ),
  7764. ),
  7765. 'parameters' => array(
  7766. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7767. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7768. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7769. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7770. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7771. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7772. 'Input' => array(
  7773. 'type' => 'object',
  7774. 'location' => 'xml',
  7775. 'properties' => array(
  7776. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7777. ),
  7778. ),
  7779. 'Operation' => array(
  7780. 'type' => 'object',
  7781. 'location' => 'xml',
  7782. 'properties' => array(
  7783. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7784. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7785. 'VideoTag' => array(
  7786. 'type' => 'object',
  7787. 'location' => 'xml',
  7788. 'properties' => array(
  7789. 'Scenario' => array( 'type' => 'string', 'location' => 'xml', ),
  7790. ),
  7791. ),
  7792. ),
  7793. ),
  7794. 'CallBackMqConfig' => array(
  7795. 'type' => 'object',
  7796. 'location' => 'xml',
  7797. 'properties' => array(
  7798. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  7799. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7800. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  7801. ),
  7802. ),
  7803. ),
  7804. );
  7805. }
  7806. public static function CreateMediaVideoTagJobsOutput() {
  7807. return array(
  7808. 'type' => 'object',
  7809. 'additionalProperties' => true,
  7810. 'properties' => array(
  7811. 'Body' => array(
  7812. 'type' => 'string',
  7813. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  7814. 'location' => 'body',
  7815. ),
  7816. 'RequestId' => array(
  7817. 'type' => 'string',
  7818. 'location' => 'header',
  7819. 'sentAs' => 'x-ci-request-id',
  7820. ),
  7821. 'ContentType' => array(
  7822. 'type' => 'string',
  7823. 'location' => 'header',
  7824. 'sentAs' => 'Content-Type',
  7825. ),
  7826. 'ContentLength' => array(
  7827. 'type' => 'numeric',
  7828. 'minimum'=> 0,
  7829. 'location' => 'header',
  7830. 'sentAs' => 'Content-Length',
  7831. ),
  7832. ),
  7833. );
  7834. }
  7835. public static function CreateMediaSuperResolutionJobs() {
  7836. return array(
  7837. 'httpMethod' => 'POST',
  7838. 'uri' => '/{Bucket}jobs',
  7839. 'class' => 'Qcloud\\Cos\\Command',
  7840. 'responseClass' => 'CreateMediaSuperResolutionJobsOutput',
  7841. 'responseType' => 'model',
  7842. 'data' => array(
  7843. 'xmlRoot' => array(
  7844. 'name' => 'Request',
  7845. ),
  7846. ),
  7847. 'parameters' => array(
  7848. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  7849. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  7850. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  7851. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  7852. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  7853. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  7854. 'Input' => array(
  7855. 'type' => 'object',
  7856. 'location' => 'xml',
  7857. 'properties' => array(
  7858. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  7859. ),
  7860. ),
  7861. 'Operation' => array(
  7862. 'type' => 'object',
  7863. 'location' => 'xml',
  7864. 'properties' => array(
  7865. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7866. 'TranscodeTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7867. 'WatermarkTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  7868. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  7869. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  7870. 'SuperResolution' => array(
  7871. 'type' => 'object',
  7872. 'location' => 'xml',
  7873. 'properties' => array(
  7874. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  7875. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  7876. ),
  7877. ),
  7878. 'Transcode' => array(
  7879. 'type' => 'object',
  7880. 'location' => 'xml',
  7881. 'properties' => array(
  7882. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  7883. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  7884. 'Container' => array(
  7885. 'type' => 'object',
  7886. 'location' => 'xml',
  7887. 'properties' => array(
  7888. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  7889. ),
  7890. ),
  7891. 'Video' => array(
  7892. 'type' => 'object',
  7893. 'location' => 'xml',
  7894. 'properties' => array(
  7895. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7896. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  7897. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  7898. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  7899. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  7900. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  7901. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7902. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  7903. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  7904. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  7905. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  7906. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7907. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7908. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  7909. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7910. ),
  7911. ),
  7912. 'TimeInterval' => array(
  7913. 'type' => 'object',
  7914. 'location' => 'xml',
  7915. 'properties' => array(
  7916. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  7917. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  7918. ),
  7919. ),
  7920. 'Audio' => array(
  7921. 'type' => 'object',
  7922. 'location' => 'xml',
  7923. 'properties' => array(
  7924. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  7925. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  7926. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7927. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  7928. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  7929. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  7930. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  7931. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  7932. ),
  7933. ),
  7934. 'TransConfig' => array(
  7935. 'type' => 'object',
  7936. 'location' => 'xml',
  7937. 'properties' => array(
  7938. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7939. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  7940. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7941. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7942. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7943. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  7944. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  7945. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  7946. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  7947. 'HlsEncrypt' => array(
  7948. 'type' => 'object',
  7949. 'location' => 'xml',
  7950. 'properties' => array(
  7951. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  7952. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  7953. ),
  7954. ),
  7955. ),
  7956. ),
  7957. ),
  7958. ),
  7959. 'Watermark' => array(
  7960. 'type' => 'object',
  7961. 'location' => 'xml',
  7962. 'properties' => array(
  7963. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  7964. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  7965. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  7966. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  7967. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  7968. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7969. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  7970. 'Image' => array(
  7971. 'type' => 'object',
  7972. 'location' => 'xml',
  7973. 'properties' => array(
  7974. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  7975. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  7976. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  7977. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  7978. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  7979. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  7980. ),
  7981. ),
  7982. 'Text' => array(
  7983. 'type' => 'object',
  7984. 'location' => 'xml',
  7985. 'properties' => array(
  7986. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  7987. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  7988. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  7989. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  7990. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  7991. ),
  7992. ),
  7993. ),
  7994. ),
  7995. 'DigitalWatermark' => array(
  7996. 'type' => 'object',
  7997. 'location' => 'xml',
  7998. 'properties' => array(
  7999. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  8000. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  8001. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  8002. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  8003. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  8004. ),
  8005. ),
  8006. 'Output' => array(
  8007. 'type' => 'object',
  8008. 'location' => 'xml',
  8009. 'properties' => array(
  8010. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  8011. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  8012. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8013. ),
  8014. ),
  8015. ),
  8016. ),
  8017. 'CallBackMqConfig' => array(
  8018. 'type' => 'object',
  8019. 'location' => 'xml',
  8020. 'properties' => array(
  8021. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  8022. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8023. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  8024. ),
  8025. ),
  8026. ),
  8027. );
  8028. }
  8029. public static function CreateMediaSuperResolutionJobsOutput() {
  8030. return array(
  8031. 'type' => 'object',
  8032. 'additionalProperties' => true,
  8033. 'properties' => array(
  8034. 'Body' => array(
  8035. 'type' => 'string',
  8036. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  8037. 'location' => 'body',
  8038. ),
  8039. 'RequestId' => array(
  8040. 'type' => 'string',
  8041. 'location' => 'header',
  8042. 'sentAs' => 'x-ci-request-id',
  8043. ),
  8044. 'ContentType' => array(
  8045. 'type' => 'string',
  8046. 'location' => 'header',
  8047. 'sentAs' => 'Content-Type',
  8048. ),
  8049. 'ContentLength' => array(
  8050. 'type' => 'numeric',
  8051. 'minimum'=> 0,
  8052. 'location' => 'header',
  8053. 'sentAs' => 'Content-Length',
  8054. ),
  8055. ),
  8056. );
  8057. }
  8058. public static function CreateMediaSDRtoHDRJobs() {
  8059. return array(
  8060. 'httpMethod' => 'POST',
  8061. 'uri' => '/{Bucket}jobs',
  8062. 'class' => 'Qcloud\\Cos\\Command',
  8063. 'responseClass' => 'CreateMediaSDRtoHDRJobsOutput',
  8064. 'responseType' => 'model',
  8065. 'data' => array(
  8066. 'xmlRoot' => array(
  8067. 'name' => 'Request',
  8068. ),
  8069. ),
  8070. 'parameters' => array(
  8071. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8072. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  8073. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  8074. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  8075. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  8076. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  8077. 'Input' => array(
  8078. 'type' => 'object',
  8079. 'location' => 'xml',
  8080. 'properties' => array(
  8081. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8082. ),
  8083. ),
  8084. 'Operation' => array(
  8085. 'type' => 'object',
  8086. 'location' => 'xml',
  8087. 'properties' => array(
  8088. 'TranscodeTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  8089. 'WatermarkTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  8090. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  8091. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  8092. 'SDRtoHDR' => array(
  8093. 'type' => 'object',
  8094. 'location' => 'xml',
  8095. 'properties' => array(
  8096. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8097. ),
  8098. ),
  8099. 'Transcode' => array(
  8100. 'type' => 'object',
  8101. 'location' => 'xml',
  8102. 'properties' => array(
  8103. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  8104. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  8105. 'Container' => array(
  8106. 'type' => 'object',
  8107. 'location' => 'xml',
  8108. 'properties' => array(
  8109. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  8110. ),
  8111. ),
  8112. 'Video' => array(
  8113. 'type' => 'object',
  8114. 'location' => 'xml',
  8115. 'properties' => array(
  8116. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  8117. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8118. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8119. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  8120. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  8121. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  8122. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8123. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  8124. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  8125. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  8126. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  8127. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8128. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8129. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  8130. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8131. ),
  8132. ),
  8133. 'TimeInterval' => array(
  8134. 'type' => 'object',
  8135. 'location' => 'xml',
  8136. 'properties' => array(
  8137. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  8138. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  8139. ),
  8140. ),
  8141. 'Audio' => array(
  8142. 'type' => 'object',
  8143. 'location' => 'xml',
  8144. 'properties' => array(
  8145. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  8146. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  8147. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8148. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  8149. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  8150. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  8151. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  8152. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  8153. ),
  8154. ),
  8155. 'TransConfig' => array(
  8156. 'type' => 'object',
  8157. 'location' => 'xml',
  8158. 'properties' => array(
  8159. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8160. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  8161. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8162. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8163. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8164. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8165. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8166. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  8167. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  8168. 'HlsEncrypt' => array(
  8169. 'type' => 'object',
  8170. 'location' => 'xml',
  8171. 'properties' => array(
  8172. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  8173. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  8174. ),
  8175. ),
  8176. ),
  8177. ),
  8178. ),
  8179. ),
  8180. 'Watermark' => array(
  8181. 'type' => 'object',
  8182. 'location' => 'xml',
  8183. 'properties' => array(
  8184. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  8185. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  8186. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8187. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  8188. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  8189. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8190. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8191. 'Image' => array(
  8192. 'type' => 'object',
  8193. 'location' => 'xml',
  8194. 'properties' => array(
  8195. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  8196. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  8197. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8198. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8199. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  8200. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  8201. ),
  8202. ),
  8203. 'Text' => array(
  8204. 'type' => 'object',
  8205. 'location' => 'xml',
  8206. 'properties' => array(
  8207. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  8208. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  8209. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  8210. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  8211. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  8212. ),
  8213. ),
  8214. ),
  8215. ),
  8216. 'Output' => array(
  8217. 'type' => 'object',
  8218. 'location' => 'xml',
  8219. 'properties' => array(
  8220. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  8221. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  8222. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8223. ),
  8224. ),
  8225. ),
  8226. ),
  8227. 'CallBackMqConfig' => array(
  8228. 'type' => 'object',
  8229. 'location' => 'xml',
  8230. 'properties' => array(
  8231. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  8232. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8233. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  8234. ),
  8235. ),
  8236. ),
  8237. );
  8238. }
  8239. public static function CreateMediaSDRtoHDRJobsOutput() {
  8240. return array(
  8241. 'type' => 'object',
  8242. 'additionalProperties' => true,
  8243. 'properties' => array(
  8244. 'Body' => array(
  8245. 'type' => 'string',
  8246. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  8247. 'location' => 'body',
  8248. ),
  8249. 'RequestId' => array(
  8250. 'type' => 'string',
  8251. 'location' => 'header',
  8252. 'sentAs' => 'x-ci-request-id',
  8253. ),
  8254. 'ContentType' => array(
  8255. 'type' => 'string',
  8256. 'location' => 'header',
  8257. 'sentAs' => 'Content-Type',
  8258. ),
  8259. 'ContentLength' => array(
  8260. 'type' => 'numeric',
  8261. 'minimum'=> 0,
  8262. 'location' => 'header',
  8263. 'sentAs' => 'Content-Length',
  8264. ),
  8265. ),
  8266. );
  8267. }
  8268. public static function CreateMediaDigitalWatermarkJobs() {
  8269. return array(
  8270. 'httpMethod' => 'POST',
  8271. 'uri' => '/{Bucket}jobs',
  8272. 'class' => 'Qcloud\\Cos\\Command',
  8273. 'responseClass' => 'CreateMediaDigitalWatermarkJobsOutput',
  8274. 'responseType' => 'model',
  8275. 'data' => array(
  8276. 'xmlRoot' => array(
  8277. 'name' => 'Request',
  8278. ),
  8279. ),
  8280. 'parameters' => array(
  8281. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8282. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  8283. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  8284. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  8285. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  8286. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  8287. 'Input' => array(
  8288. 'type' => 'object',
  8289. 'location' => 'xml',
  8290. 'properties' => array(
  8291. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8292. ),
  8293. ),
  8294. 'Operation' => array(
  8295. 'type' => 'object',
  8296. 'location' => 'xml',
  8297. 'properties' => array(
  8298. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  8299. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  8300. 'DigitalWatermark' => array(
  8301. 'type' => 'object',
  8302. 'location' => 'xml',
  8303. 'properties' => array(
  8304. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  8305. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  8306. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  8307. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  8308. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  8309. ),
  8310. ),
  8311. 'Output' => array(
  8312. 'type' => 'object',
  8313. 'location' => 'xml',
  8314. 'properties' => array(
  8315. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  8316. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  8317. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8318. ),
  8319. ),
  8320. ),
  8321. ),
  8322. 'CallBackMqConfig' => array(
  8323. 'type' => 'object',
  8324. 'location' => 'xml',
  8325. 'properties' => array(
  8326. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  8327. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8328. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  8329. ),
  8330. ),
  8331. ),
  8332. );
  8333. }
  8334. public static function CreateMediaDigitalWatermarkJobsOutput() {
  8335. return array(
  8336. 'type' => 'object',
  8337. 'additionalProperties' => true,
  8338. 'properties' => array(
  8339. 'Body' => array(
  8340. 'type' => 'string',
  8341. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  8342. 'location' => 'body',
  8343. ),
  8344. 'RequestId' => array(
  8345. 'type' => 'string',
  8346. 'location' => 'header',
  8347. 'sentAs' => 'x-ci-request-id',
  8348. ),
  8349. 'ContentType' => array(
  8350. 'type' => 'string',
  8351. 'location' => 'header',
  8352. 'sentAs' => 'Content-Type',
  8353. ),
  8354. 'ContentLength' => array(
  8355. 'type' => 'numeric',
  8356. 'minimum'=> 0,
  8357. 'location' => 'header',
  8358. 'sentAs' => 'Content-Length',
  8359. ),
  8360. ),
  8361. );
  8362. }
  8363. public static function CreateMediaExtractDigitalWatermarkJobs() {
  8364. return array(
  8365. 'httpMethod' => 'POST',
  8366. 'uri' => '/{Bucket}jobs',
  8367. 'class' => 'Qcloud\\Cos\\Command',
  8368. 'responseClass' => 'CreateMediaExtractDigitalWatermarkJobsOutput',
  8369. 'responseType' => 'model',
  8370. 'data' => array(
  8371. 'xmlRoot' => array(
  8372. 'name' => 'Request',
  8373. ),
  8374. ),
  8375. 'parameters' => array(
  8376. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8377. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  8378. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  8379. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  8380. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  8381. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  8382. 'Input' => array(
  8383. 'type' => 'object',
  8384. 'location' => 'xml',
  8385. 'properties' => array(
  8386. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8387. ),
  8388. ),
  8389. 'Operation' => array(
  8390. 'type' => 'object',
  8391. 'location' => 'xml',
  8392. 'properties' => array(
  8393. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  8394. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  8395. 'ExtractDigitalWatermark' => array(
  8396. 'type' => 'object',
  8397. 'location' => 'xml',
  8398. 'properties' => array(
  8399. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  8400. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  8401. ),
  8402. ),
  8403. ),
  8404. ),
  8405. 'CallBackMqConfig' => array(
  8406. 'type' => 'object',
  8407. 'location' => 'xml',
  8408. 'properties' => array(
  8409. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  8410. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8411. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  8412. ),
  8413. ),
  8414. ),
  8415. );
  8416. }
  8417. public static function CreateMediaExtractDigitalWatermarkJobsOutput() {
  8418. return array(
  8419. 'type' => 'object',
  8420. 'additionalProperties' => true,
  8421. 'properties' => array(
  8422. 'Body' => array(
  8423. 'type' => 'string',
  8424. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  8425. 'location' => 'body',
  8426. ),
  8427. 'RequestId' => array(
  8428. 'type' => 'string',
  8429. 'location' => 'header',
  8430. 'sentAs' => 'x-ci-request-id',
  8431. ),
  8432. 'ContentType' => array(
  8433. 'type' => 'string',
  8434. 'location' => 'header',
  8435. 'sentAs' => 'Content-Type',
  8436. ),
  8437. 'ContentLength' => array(
  8438. 'type' => 'numeric',
  8439. 'minimum'=> 0,
  8440. 'location' => 'header',
  8441. 'sentAs' => 'Content-Length',
  8442. ),
  8443. ),
  8444. );
  8445. }
  8446. public static function DetectLiveVideo() {
  8447. return array(
  8448. 'httpMethod' => 'POST',
  8449. 'uri' => '/{Bucket}video/auditing',
  8450. 'class' => 'Qcloud\\Cos\\Command',
  8451. 'responseClass' => 'DetectLiveVideoOutput',
  8452. 'responseType' => 'model',
  8453. 'data' => array(
  8454. 'xmlRoot' => array(
  8455. 'name' => 'Request',
  8456. ),
  8457. ),
  8458. 'parameters' => array(
  8459. 'Bucket' => array(
  8460. 'required' => true,
  8461. 'type' => 'string',
  8462. 'location' => 'uri',
  8463. ),
  8464. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  8465. 'Input' => array(
  8466. 'location' => 'xml',
  8467. 'type' => 'object',
  8468. 'properties' => array(
  8469. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  8470. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  8471. 'UserInfo' => array(
  8472. 'location' => 'xml',
  8473. 'type' => 'object',
  8474. 'properties' => array(
  8475. 'TokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  8476. 'Nickname' => array( 'type' => 'string', 'location' => 'xml', ),
  8477. 'DeviceId' => array( 'type' => 'string', 'location' => 'xml', ),
  8478. 'AppId' => array( 'type' => 'string', 'location' => 'xml', ),
  8479. 'Room' => array( 'type' => 'string', 'location' => 'xml', ),
  8480. 'IP' => array( 'type' => 'string', 'location' => 'xml', ),
  8481. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  8482. 'ReceiveTokenId' => array( 'type' => 'string', 'location' => 'xml', ),
  8483. 'Gender' => array( 'type' => 'string', 'location' => 'xml', ),
  8484. 'Level' => array( 'type' => 'string', 'location' => 'xml', ),
  8485. 'Role' => array( 'type' => 'string', 'location' => 'xml', ),
  8486. ),
  8487. ),
  8488. ),
  8489. ),
  8490. 'Conf' => array(
  8491. 'location' => 'xml',
  8492. 'type' => 'object',
  8493. 'properties' => array(
  8494. 'Callback' => array( 'type' => 'string', 'location' => 'xml', ),
  8495. 'BizType' => array( 'type' => 'string', 'location' => 'xml', ),
  8496. 'CallbackType' => array( 'type' => 'integer', 'location' => 'xml', ),
  8497. ),
  8498. ),
  8499. 'StorageConf' => array(
  8500. 'location' => 'xml',
  8501. 'type' => 'object',
  8502. 'properties' => array(
  8503. 'Path' => array( 'type' => 'string', 'location' => 'xml', ),
  8504. ),
  8505. ),
  8506. ),
  8507. );
  8508. }
  8509. public static function DetectLiveVideoOutput() {
  8510. return array(
  8511. 'type' => 'object',
  8512. 'additionalProperties' => true,
  8513. 'properties' => array(
  8514. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  8515. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  8516. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  8517. 'JobsDetail' => array(
  8518. 'type' => 'object',
  8519. 'location' => 'xml',
  8520. 'properties' => array(
  8521. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  8522. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  8523. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  8524. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8525. ),
  8526. ),
  8527. ),
  8528. );
  8529. }
  8530. public static function CancelLiveVideoAuditing() {
  8531. return array(
  8532. 'httpMethod' => 'POST',
  8533. 'uri' => '/{Bucket}video/cancel_auditing/{/Key*}',
  8534. 'class' => 'Qcloud\\Cos\\Command',
  8535. 'responseClass' => 'CancelLiveVideoAuditingOutput',
  8536. 'responseType' => 'model',
  8537. 'parameters' => array(
  8538. 'Bucket' => array(
  8539. 'required' => true,
  8540. 'type' => 'string',
  8541. 'location' => 'uri',
  8542. ),
  8543. 'Key' => array(
  8544. 'required' => true,
  8545. 'type' => 'string',
  8546. 'location' => 'uri',
  8547. ),
  8548. ),
  8549. );
  8550. }
  8551. public static function CancelLiveVideoAuditingOutput() {
  8552. return array(
  8553. 'type' => 'object',
  8554. 'additionalProperties' => true,
  8555. 'properties' => array(
  8556. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  8557. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  8558. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  8559. 'JobsDetail' => array(
  8560. 'type' => 'object',
  8561. 'location' => 'xml',
  8562. 'properties' => array(
  8563. 'DataId' => array( 'type' => 'string', 'location' => 'xml', ),
  8564. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  8565. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  8566. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8567. ),
  8568. ),
  8569. ),
  8570. );
  8571. }
  8572. public static function OpticalOcrRecognition() {
  8573. return array(
  8574. 'httpMethod' => 'GET',
  8575. 'uri' => '/{Bucket}{/Key*}',
  8576. 'class' => 'Qcloud\\Cos\\Command',
  8577. 'responseClass' => 'OpticalOcrRecognitionOutput',
  8578. 'responseType' => 'model',
  8579. 'parameters' => array(
  8580. 'Bucket' => array(
  8581. 'required' => true,
  8582. 'type' => 'string',
  8583. 'location' => 'uri',
  8584. ),
  8585. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8586. 'CiProcess' => array( 'required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'ci-process' ),
  8587. 'Type' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'type' ),
  8588. 'LanguageType' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'language-type' ),
  8589. 'IsPDF' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'ispdf' ),
  8590. 'PdfPageNumber' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'pdf-pagenumber' ),
  8591. 'IsWord' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'isword' ),
  8592. 'EnableWordPolygon' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'enable-word-polygon' ),
  8593. ),
  8594. );
  8595. }
  8596. public static function OpticalOcrRecognitionOutput() {
  8597. return array(
  8598. 'type' => 'object',
  8599. 'additionalProperties' => true,
  8600. 'properties' => array(
  8601. 'Body' => array(
  8602. 'type' => 'string',
  8603. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  8604. 'location' => 'body',
  8605. ),
  8606. 'RequestId' => array(
  8607. 'type' => 'string',
  8608. 'location' => 'header',
  8609. 'sentAs' => 'x-cos-request-id',
  8610. ),
  8611. 'ContentType' => array(
  8612. 'type' => 'string',
  8613. 'location' => 'header',
  8614. 'sentAs' => 'Content-Type',
  8615. ),
  8616. 'ContentLength' => array(
  8617. 'type' => 'numeric',
  8618. 'minimum'=> 0,
  8619. 'location' => 'header',
  8620. 'sentAs' => 'Content-Length',
  8621. ),
  8622. ),
  8623. );
  8624. }
  8625. public static function TriggerWorkflow() {
  8626. return array(
  8627. 'httpMethod' => 'POST',
  8628. 'uri' => '/{Bucket}triggerworkflow',
  8629. 'class' => 'Qcloud\\Cos\\Command',
  8630. 'responseClass' => 'TriggerWorkflowOutput',
  8631. 'responseType' => 'model',
  8632. 'parameters' => array(
  8633. 'Bucket' => array(
  8634. 'required' => true,
  8635. 'type' => 'string',
  8636. 'location' => 'uri',
  8637. ),
  8638. 'workflowId' => array( 'required' => true, 'type' => 'string', 'location' => 'query', ),
  8639. 'object' => array( 'required' => true, 'type' => 'string', 'location' => 'query', ),
  8640. 'name' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8641. ),
  8642. );
  8643. }
  8644. public static function TriggerWorkflowOutput() {
  8645. return array(
  8646. 'type' => 'object',
  8647. 'additionalProperties' => true,
  8648. 'properties' => array(
  8649. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  8650. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  8651. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  8652. 'InstanceId' => array( 'type' => 'string', 'location' => 'xml', ),
  8653. ),
  8654. );
  8655. }
  8656. public static function GetWorkflowInstances() {
  8657. return array(
  8658. 'httpMethod' => 'GET',
  8659. 'uri' => '/{Bucket}workflowexecution',
  8660. 'class' => 'Qcloud\\Cos\\Command',
  8661. 'responseClass' => 'GetWorkflowInstancesOutput',
  8662. 'responseType' => 'model',
  8663. 'parameters' => array(
  8664. 'Bucket' => array(
  8665. 'required' => true,
  8666. 'type' => 'string',
  8667. 'location' => 'uri',
  8668. ),
  8669. 'workflowId' => array( 'required' => true, 'type' => 'string', 'location' => 'query', ),
  8670. 'name' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8671. 'orderByTime' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8672. 'size' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8673. 'states' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8674. 'startCreationTime' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8675. 'endCreationTime' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8676. 'nextToken' => array( 'required' => false, 'type' => 'string', 'location' => 'query', ),
  8677. ),
  8678. );
  8679. }
  8680. public static function GetWorkflowInstancesOutput() {
  8681. return array(
  8682. 'type' => 'object',
  8683. 'additionalProperties' => true,
  8684. 'properties' => array(
  8685. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  8686. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  8687. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  8688. 'NextToken' => array( 'type' => 'string', 'location' => 'xml', ),
  8689. 'WorkflowExecutionList' => array(
  8690. 'type' => 'array',
  8691. 'location' => 'xml',
  8692. 'items' => array(
  8693. 'type' => 'object',
  8694. 'location' => 'xml',
  8695. 'properties' => array(
  8696. 'RunId' => array( 'type' => 'string', 'location' => 'xml', ),
  8697. 'WorkflowId' => array( 'type' => 'string', 'location' => 'xml', ),
  8698. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  8699. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8700. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  8701. ),
  8702. ),
  8703. ),
  8704. ),
  8705. );
  8706. }
  8707. public static function GetWorkflowInstance() {
  8708. return array(
  8709. 'httpMethod' => 'GET',
  8710. 'uri' => '/{Bucket}workflowexecution/{/Key*}',
  8711. 'class' => 'Qcloud\\Cos\\Command',
  8712. 'responseClass' => 'GetWorkflowInstanceOutput',
  8713. 'responseType' => 'model',
  8714. 'parameters' => array(
  8715. 'Bucket' => array(
  8716. 'required' => true,
  8717. 'type' => 'string',
  8718. 'location' => 'uri',
  8719. ),
  8720. 'Key' => array(
  8721. 'required' => true,
  8722. 'type' => 'string',
  8723. 'location' => 'uri',
  8724. ),
  8725. ),
  8726. );
  8727. }
  8728. public static function GetWorkflowInstanceOutput() {
  8729. return array(
  8730. 'type' => 'object',
  8731. 'additionalProperties' => true,
  8732. 'properties' => array(
  8733. 'Body' => array(
  8734. 'type' => 'string',
  8735. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  8736. 'location' => 'body',
  8737. ),
  8738. 'RequestId' => array(
  8739. 'type' => 'string',
  8740. 'location' => 'header',
  8741. 'sentAs' => 'x-ci-request-id',
  8742. ),
  8743. 'ContentType' => array(
  8744. 'type' => 'string',
  8745. 'location' => 'header',
  8746. 'sentAs' => 'Content-Type',
  8747. ),
  8748. 'ContentLength' => array(
  8749. 'type' => 'numeric',
  8750. 'minimum'=> 0,
  8751. 'location' => 'header',
  8752. 'sentAs' => 'Content-Length',
  8753. ),
  8754. ),
  8755. );
  8756. }
  8757. public static function CreateMediaSnapshotTemplate() {
  8758. return array(
  8759. 'httpMethod' => 'POST',
  8760. 'uri' => '/{Bucket}template',
  8761. 'class' => 'Qcloud\\Cos\\Command',
  8762. 'responseClass' => 'CreateMediaSnapshotTemplateOutput',
  8763. 'responseType' => 'model',
  8764. 'data' => array(
  8765. 'xmlRoot' => array(
  8766. 'name' => 'Request',
  8767. ),
  8768. ),
  8769. 'parameters' => array(
  8770. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8771. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  8772. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  8773. 'Snapshot' => array(
  8774. 'type' => 'object',
  8775. 'location' => 'xml',
  8776. 'properties' => array(
  8777. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  8778. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  8779. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  8780. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  8781. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8782. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8783. ),
  8784. ),
  8785. ),
  8786. );
  8787. }
  8788. public static function CreateMediaSnapshotTemplateOutput() {
  8789. return array(
  8790. 'type' => 'object',
  8791. 'additionalProperties' => true,
  8792. 'properties' => array(
  8793. 'RequestId' => array(
  8794. 'type' => 'string',
  8795. 'location' => 'header',
  8796. 'sentAs' => 'x-ci-request-id',
  8797. ),
  8798. 'ContentType' => array(
  8799. 'type' => 'string',
  8800. 'location' => 'header',
  8801. 'sentAs' => 'Content-Type',
  8802. ),
  8803. 'ContentLength' => array(
  8804. 'type' => 'numeric',
  8805. 'minimum'=> 0,
  8806. 'location' => 'header',
  8807. 'sentAs' => 'Content-Length',
  8808. ),
  8809. 'Template' => array(
  8810. 'type' => 'object',
  8811. 'location' => 'xml',
  8812. 'properties' => array(
  8813. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  8814. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  8815. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  8816. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8817. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8818. 'Snapshot' => array(
  8819. 'type' => 'object',
  8820. 'location' => 'xml',
  8821. 'properties' => array(
  8822. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  8823. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  8824. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  8825. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  8826. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8827. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8828. ),
  8829. ),
  8830. ),
  8831. ),
  8832. ),
  8833. );
  8834. }
  8835. public static function UpdateMediaSnapshotTemplate() {
  8836. return array(
  8837. 'httpMethod' => 'PUT',
  8838. 'uri' => '/{Bucket}template/{/Key*}',
  8839. 'class' => 'Qcloud\\Cos\\Command',
  8840. 'responseClass' => 'UpdateMediaSnapshotTemplateOutput',
  8841. 'responseType' => 'model',
  8842. 'data' => array(
  8843. 'xmlRoot' => array(
  8844. 'name' => 'Request',
  8845. ),
  8846. ),
  8847. 'parameters' => array(
  8848. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8849. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8850. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  8851. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  8852. 'Snapshot' => array(
  8853. 'type' => 'object',
  8854. 'location' => 'xml',
  8855. 'properties' => array(
  8856. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  8857. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  8858. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  8859. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  8860. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8861. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8862. ),
  8863. ),
  8864. ),
  8865. );
  8866. }
  8867. public static function UpdateMediaSnapshotTemplateOutput() {
  8868. return array(
  8869. 'type' => 'object',
  8870. 'additionalProperties' => true,
  8871. 'properties' => array(
  8872. 'RequestId' => array(
  8873. 'type' => 'string',
  8874. 'location' => 'header',
  8875. 'sentAs' => 'x-ci-request-id',
  8876. ),
  8877. 'ContentType' => array(
  8878. 'type' => 'string',
  8879. 'location' => 'header',
  8880. 'sentAs' => 'Content-Type',
  8881. ),
  8882. 'ContentLength' => array(
  8883. 'type' => 'numeric',
  8884. 'minimum'=> 0,
  8885. 'location' => 'header',
  8886. 'sentAs' => 'Content-Length',
  8887. ),
  8888. 'Template' => array(
  8889. 'type' => 'object',
  8890. 'location' => 'xml',
  8891. 'properties' => array(
  8892. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  8893. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  8894. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  8895. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8896. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  8897. 'Snapshot' => array(
  8898. 'type' => 'object',
  8899. 'location' => 'xml',
  8900. 'properties' => array(
  8901. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  8902. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  8903. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  8904. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  8905. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8906. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8907. ),
  8908. ),
  8909. ),
  8910. ),
  8911. ),
  8912. );
  8913. }
  8914. public static function CreateMediaTranscodeTemplate() {
  8915. return array(
  8916. 'httpMethod' => 'POST',
  8917. 'uri' => '/{Bucket}template',
  8918. 'class' => 'Qcloud\\Cos\\Command',
  8919. 'responseClass' => 'CreateMediaTranscodeTemplateOutput',
  8920. 'responseType' => 'model',
  8921. 'data' => array(
  8922. 'xmlRoot' => array(
  8923. 'name' => 'Request',
  8924. ),
  8925. ),
  8926. 'parameters' => array(
  8927. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  8928. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  8929. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  8930. 'Container' => array(
  8931. 'type' => 'object',
  8932. 'location' => 'xml',
  8933. 'properties' => array(
  8934. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  8935. 'ClipConfig' => array(
  8936. 'type' => 'object',
  8937. 'location' => 'xml',
  8938. 'properties' => array(
  8939. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  8940. ),
  8941. ),
  8942. ),
  8943. ),
  8944. 'Video' => array(
  8945. 'type' => 'object',
  8946. 'location' => 'xml',
  8947. 'properties' => array(
  8948. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  8949. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  8950. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  8951. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  8952. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  8953. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  8954. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8955. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  8956. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  8957. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  8958. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  8959. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8960. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  8961. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  8962. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  8963. ),
  8964. ),
  8965. 'TimeInterval' => array(
  8966. 'type' => 'object',
  8967. 'location' => 'xml',
  8968. 'properties' => array(
  8969. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  8970. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  8971. ),
  8972. ),
  8973. 'Audio' => array(
  8974. 'type' => 'object',
  8975. 'location' => 'xml',
  8976. 'properties' => array(
  8977. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  8978. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  8979. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8980. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  8981. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  8982. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  8983. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  8984. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  8985. ),
  8986. ),
  8987. 'TransConfig' => array(
  8988. 'type' => 'object',
  8989. 'location' => 'xml',
  8990. 'properties' => array(
  8991. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8992. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  8993. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8994. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8995. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8996. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  8997. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  8998. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  8999. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  9000. 'HlsEncrypt' => array(
  9001. 'type' => 'object',
  9002. 'location' => 'xml',
  9003. 'properties' => array(
  9004. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  9005. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  9006. ),
  9007. ),
  9008. ),
  9009. ),
  9010. 'AudioMix' => array(
  9011. 'type' => 'object',
  9012. 'location' => 'xml',
  9013. 'properties' => array(
  9014. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9015. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9016. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9017. 'EffectConfig' => array(
  9018. 'type' => 'object',
  9019. 'location' => 'xml',
  9020. 'properties' => array(
  9021. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9022. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9023. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9024. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9025. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9026. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9027. ),
  9028. ),
  9029. ),
  9030. ),
  9031. 'AudioMixArray' => array(
  9032. 'type' => 'array',
  9033. 'location' => 'xml',
  9034. 'data' => array(
  9035. 'xmlFlattened' => true,
  9036. ),
  9037. 'items' => array(
  9038. 'type' => 'object',
  9039. 'name' => 'AudioMixArray',
  9040. 'sentAs' => 'AudioMixArray',
  9041. 'properties' => array(
  9042. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9043. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9044. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9045. 'EffectConfig' => array(
  9046. 'type' => 'object',
  9047. 'location' => 'xml',
  9048. 'properties' => array(
  9049. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9050. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9051. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9052. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9053. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9054. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9055. ),
  9056. ),
  9057. ),
  9058. ),
  9059. ),
  9060. ),
  9061. );
  9062. }
  9063. public static function CreateMediaTranscodeTemplateOutput() {
  9064. return array(
  9065. 'type' => 'object',
  9066. 'additionalProperties' => true,
  9067. 'properties' => array(
  9068. 'Body' => array(
  9069. 'type' => 'string',
  9070. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9071. 'location' => 'body',
  9072. ),
  9073. 'RequestId' => array(
  9074. 'type' => 'string',
  9075. 'location' => 'header',
  9076. 'sentAs' => 'x-ci-request-id',
  9077. ),
  9078. 'ContentType' => array(
  9079. 'type' => 'string',
  9080. 'location' => 'header',
  9081. 'sentAs' => 'Content-Type',
  9082. ),
  9083. 'ContentLength' => array(
  9084. 'type' => 'numeric',
  9085. 'minimum'=> 0,
  9086. 'location' => 'header',
  9087. 'sentAs' => 'Content-Length',
  9088. ),
  9089. ),
  9090. );
  9091. }
  9092. public static function UpdateMediaTranscodeTemplate() {
  9093. return array(
  9094. 'httpMethod' => 'PUT',
  9095. 'uri' => '/{Bucket}template/{/Key*}',
  9096. 'class' => 'Qcloud\\Cos\\Command',
  9097. 'responseClass' => 'UpdateMediaTranscodeTemplateOutput',
  9098. 'responseType' => 'model',
  9099. 'data' => array(
  9100. 'xmlRoot' => array(
  9101. 'name' => 'Request',
  9102. ),
  9103. ),
  9104. 'parameters' => array(
  9105. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9106. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9107. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  9108. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9109. 'Container' => array(
  9110. 'type' => 'object',
  9111. 'location' => 'xml',
  9112. 'properties' => array(
  9113. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9114. 'ClipConfig' => array(
  9115. 'type' => 'object',
  9116. 'location' => 'xml',
  9117. 'properties' => array(
  9118. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  9119. ),
  9120. ),
  9121. ),
  9122. ),
  9123. 'Video' => array(
  9124. 'type' => 'object',
  9125. 'location' => 'xml',
  9126. 'properties' => array(
  9127. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9128. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9129. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9130. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9131. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  9132. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  9133. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9134. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  9135. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  9136. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  9137. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  9138. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9139. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  9140. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9141. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  9142. ),
  9143. ),
  9144. 'TimeInterval' => array(
  9145. 'type' => 'object',
  9146. 'location' => 'xml',
  9147. 'properties' => array(
  9148. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  9149. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  9150. ),
  9151. ),
  9152. 'Audio' => array(
  9153. 'type' => 'object',
  9154. 'location' => 'xml',
  9155. 'properties' => array(
  9156. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9157. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  9158. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9159. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  9160. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  9161. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  9162. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  9163. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  9164. ),
  9165. ),
  9166. 'TransConfig' => array(
  9167. 'type' => 'object',
  9168. 'location' => 'xml',
  9169. 'properties' => array(
  9170. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  9171. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  9172. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  9173. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9174. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  9175. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9176. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  9177. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  9178. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  9179. 'HlsEncrypt' => array(
  9180. 'type' => 'object',
  9181. 'location' => 'xml',
  9182. 'properties' => array(
  9183. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  9184. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  9185. ),
  9186. ),
  9187. ),
  9188. ),
  9189. 'AudioMix' => array(
  9190. 'type' => 'object',
  9191. 'location' => 'xml',
  9192. 'properties' => array(
  9193. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9194. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9195. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9196. 'EffectConfig' => array(
  9197. 'type' => 'object',
  9198. 'location' => 'xml',
  9199. 'properties' => array(
  9200. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9201. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9202. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9203. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9204. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9205. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9206. ),
  9207. ),
  9208. ),
  9209. ),
  9210. 'AudioMixArray' => array(
  9211. 'type' => 'array',
  9212. 'location' => 'xml',
  9213. 'data' => array(
  9214. 'xmlFlattened' => true,
  9215. ),
  9216. 'items' => array(
  9217. 'type' => 'object',
  9218. 'name' => 'AudioMixArray',
  9219. 'sentAs' => 'AudioMixArray',
  9220. 'properties' => array(
  9221. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9222. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9223. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9224. 'EffectConfig' => array(
  9225. 'type' => 'object',
  9226. 'location' => 'xml',
  9227. 'properties' => array(
  9228. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9229. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9230. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9231. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9232. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9233. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9234. ),
  9235. ),
  9236. ),
  9237. ),
  9238. ),
  9239. ),
  9240. );
  9241. }
  9242. public static function UpdateMediaTranscodeTemplateOutput() {
  9243. return array(
  9244. 'type' => 'object',
  9245. 'additionalProperties' => true,
  9246. 'properties' => array(
  9247. 'Body' => array(
  9248. 'type' => 'string',
  9249. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9250. 'location' => 'body',
  9251. ),
  9252. 'RequestId' => array(
  9253. 'type' => 'string',
  9254. 'location' => 'header',
  9255. 'sentAs' => 'x-ci-request-id',
  9256. ),
  9257. 'ContentType' => array(
  9258. 'type' => 'string',
  9259. 'location' => 'header',
  9260. 'sentAs' => 'Content-Type',
  9261. ),
  9262. 'ContentLength' => array(
  9263. 'type' => 'numeric',
  9264. 'minimum'=> 0,
  9265. 'location' => 'header',
  9266. 'sentAs' => 'Content-Length',
  9267. ),
  9268. ),
  9269. );
  9270. }
  9271. public static function CreateMediaHighSpeedHdTemplate() {
  9272. return array(
  9273. 'httpMethod' => 'POST',
  9274. 'uri' => '/{Bucket}template',
  9275. 'class' => 'Qcloud\\Cos\\Command',
  9276. 'responseClass' => 'CreateMediaHighSpeedHdTemplateOutput',
  9277. 'responseType' => 'model',
  9278. 'data' => array(
  9279. 'xmlRoot' => array(
  9280. 'name' => 'Request',
  9281. ),
  9282. ),
  9283. 'parameters' => array(
  9284. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9285. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  9286. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9287. 'Container' => array(
  9288. 'type' => 'object',
  9289. 'location' => 'xml',
  9290. 'properties' => array(
  9291. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9292. ),
  9293. ),
  9294. 'Video' => array(
  9295. 'type' => 'object',
  9296. 'location' => 'xml',
  9297. 'properties' => array(
  9298. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9299. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9300. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9301. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9302. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  9303. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9304. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  9305. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  9306. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  9307. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  9308. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9309. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9310. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  9311. ),
  9312. ),
  9313. 'TimeInterval' => array(
  9314. 'type' => 'object',
  9315. 'location' => 'xml',
  9316. 'properties' => array(
  9317. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  9318. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  9319. ),
  9320. ),
  9321. 'Audio' => array(
  9322. 'type' => 'object',
  9323. 'location' => 'xml',
  9324. 'properties' => array(
  9325. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9326. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  9327. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9328. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  9329. ),
  9330. ),
  9331. 'TransConfig' => array(
  9332. 'type' => 'object',
  9333. 'location' => 'xml',
  9334. 'properties' => array(
  9335. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  9336. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  9337. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  9338. ),
  9339. ),
  9340. ),
  9341. );
  9342. }
  9343. public static function CreateMediaHighSpeedHdTemplateOutput() {
  9344. return array(
  9345. 'type' => 'object',
  9346. 'additionalProperties' => true,
  9347. 'properties' => array(
  9348. 'Body' => array(
  9349. 'type' => 'string',
  9350. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9351. 'location' => 'body',
  9352. ),
  9353. 'RequestId' => array(
  9354. 'type' => 'string',
  9355. 'location' => 'header',
  9356. 'sentAs' => 'x-ci-request-id',
  9357. ),
  9358. 'ContentType' => array(
  9359. 'type' => 'string',
  9360. 'location' => 'header',
  9361. 'sentAs' => 'Content-Type',
  9362. ),
  9363. 'ContentLength' => array(
  9364. 'type' => 'numeric',
  9365. 'minimum'=> 0,
  9366. 'location' => 'header',
  9367. 'sentAs' => 'Content-Length',
  9368. ),
  9369. ),
  9370. );
  9371. }
  9372. public static function UpdateMediaHighSpeedHdTemplate() {
  9373. return array(
  9374. 'httpMethod' => 'PUT',
  9375. 'uri' => '/{Bucket}template/{/Key*}',
  9376. 'class' => 'Qcloud\\Cos\\Command',
  9377. 'responseClass' => 'UpdateMediaHighSpeedHdTemplateOutput',
  9378. 'responseType' => 'model',
  9379. 'data' => array(
  9380. 'xmlRoot' => array(
  9381. 'name' => 'Request',
  9382. ),
  9383. ),
  9384. 'parameters' => array(
  9385. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9386. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9387. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  9388. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9389. 'Container' => array(
  9390. 'type' => 'object',
  9391. 'location' => 'xml',
  9392. 'properties' => array(
  9393. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9394. ),
  9395. ),
  9396. 'Video' => array(
  9397. 'type' => 'object',
  9398. 'location' => 'xml',
  9399. 'properties' => array(
  9400. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9401. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9402. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9403. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9404. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  9405. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9406. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  9407. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  9408. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  9409. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  9410. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9411. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9412. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  9413. ),
  9414. ),
  9415. 'TimeInterval' => array(
  9416. 'type' => 'object',
  9417. 'location' => 'xml',
  9418. 'properties' => array(
  9419. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  9420. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  9421. ),
  9422. ),
  9423. 'Audio' => array(
  9424. 'type' => 'object',
  9425. 'location' => 'xml',
  9426. 'properties' => array(
  9427. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9428. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  9429. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9430. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  9431. ),
  9432. ),
  9433. 'TransConfig' => array(
  9434. 'type' => 'object',
  9435. 'location' => 'xml',
  9436. 'properties' => array(
  9437. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  9438. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  9439. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  9440. ),
  9441. ),
  9442. ),
  9443. );
  9444. }
  9445. public static function UpdateMediaHighSpeedHdTemplateOutput() {
  9446. return array(
  9447. 'type' => 'object',
  9448. 'additionalProperties' => true,
  9449. 'properties' => array(
  9450. 'Body' => array(
  9451. 'type' => 'string',
  9452. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9453. 'location' => 'body',
  9454. ),
  9455. 'RequestId' => array(
  9456. 'type' => 'string',
  9457. 'location' => 'header',
  9458. 'sentAs' => 'x-ci-request-id',
  9459. ),
  9460. 'ContentType' => array(
  9461. 'type' => 'string',
  9462. 'location' => 'header',
  9463. 'sentAs' => 'Content-Type',
  9464. ),
  9465. 'ContentLength' => array(
  9466. 'type' => 'numeric',
  9467. 'minimum'=> 0,
  9468. 'location' => 'header',
  9469. 'sentAs' => 'Content-Length',
  9470. ),
  9471. ),
  9472. );
  9473. }
  9474. public static function CreateMediaAnimationTemplate() {
  9475. return array(
  9476. 'httpMethod' => 'POST',
  9477. 'uri' => '/{Bucket}template',
  9478. 'class' => 'Qcloud\\Cos\\Command',
  9479. 'responseClass' => 'CreateMediaAnimationTemplateOutput',
  9480. 'responseType' => 'model',
  9481. 'data' => array(
  9482. 'xmlRoot' => array(
  9483. 'name' => 'Request',
  9484. ),
  9485. ),
  9486. 'parameters' => array(
  9487. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9488. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  9489. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9490. 'Container' => array(
  9491. 'type' => 'object',
  9492. 'location' => 'xml',
  9493. 'properties' => array(
  9494. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9495. ),
  9496. ),
  9497. 'Video' => array(
  9498. 'type' => 'object',
  9499. 'location' => 'xml',
  9500. 'properties' => array(
  9501. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9502. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9503. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9504. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9505. 'AnimateOnlyKeepKeyFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  9506. 'AnimateTimeIntervalOfFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  9507. 'AnimateFramesPerSecond' => array( 'type' => 'string', 'location' => 'xml', ),
  9508. 'Quality' => array( 'type' => 'string', 'location' => 'xml', ),
  9509. ),
  9510. ),
  9511. 'TimeInterval' => array(
  9512. 'type' => 'object',
  9513. 'location' => 'xml',
  9514. 'properties' => array(
  9515. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  9516. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  9517. ),
  9518. ),
  9519. ),
  9520. );
  9521. }
  9522. public static function CreateMediaAnimationTemplateOutput() {
  9523. return array(
  9524. 'type' => 'object',
  9525. 'additionalProperties' => true,
  9526. 'properties' => array(
  9527. 'Body' => array(
  9528. 'type' => 'string',
  9529. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9530. 'location' => 'body',
  9531. ),
  9532. 'RequestId' => array(
  9533. 'type' => 'string',
  9534. 'location' => 'header',
  9535. 'sentAs' => 'x-ci-request-id',
  9536. ),
  9537. 'ContentType' => array(
  9538. 'type' => 'string',
  9539. 'location' => 'header',
  9540. 'sentAs' => 'Content-Type',
  9541. ),
  9542. 'ContentLength' => array(
  9543. 'type' => 'numeric',
  9544. 'minimum'=> 0,
  9545. 'location' => 'header',
  9546. 'sentAs' => 'Content-Length',
  9547. ),
  9548. ),
  9549. );
  9550. }
  9551. public static function UpdateMediaAnimationTemplate() {
  9552. return array(
  9553. 'httpMethod' => 'PUT',
  9554. 'uri' => '/{Bucket}template/{/Key*}',
  9555. 'class' => 'Qcloud\\Cos\\Command',
  9556. 'responseClass' => 'UpdateMediaAnimationTemplateOutput',
  9557. 'responseType' => 'model',
  9558. 'data' => array(
  9559. 'xmlRoot' => array(
  9560. 'name' => 'Request',
  9561. ),
  9562. ),
  9563. 'parameters' => array(
  9564. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9565. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9566. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  9567. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9568. 'Container' => array(
  9569. 'type' => 'object',
  9570. 'location' => 'xml',
  9571. 'properties' => array(
  9572. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9573. ),
  9574. ),
  9575. 'Video' => array(
  9576. 'type' => 'object',
  9577. 'location' => 'xml',
  9578. 'properties' => array(
  9579. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9580. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9581. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9582. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9583. 'AnimateOnlyKeepKeyFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  9584. 'AnimateTimeIntervalOfFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  9585. 'AnimateFramesPerSecond' => array( 'type' => 'string', 'location' => 'xml', ),
  9586. 'Quality' => array( 'type' => 'string', 'location' => 'xml', ),
  9587. ),
  9588. ),
  9589. 'TimeInterval' => array(
  9590. 'type' => 'object',
  9591. 'location' => 'xml',
  9592. 'properties' => array(
  9593. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  9594. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  9595. ),
  9596. ),
  9597. ),
  9598. );
  9599. }
  9600. public static function UpdateMediaAnimationTemplateOutput() {
  9601. return array(
  9602. 'type' => 'object',
  9603. 'additionalProperties' => true,
  9604. 'properties' => array(
  9605. 'Body' => array(
  9606. 'type' => 'string',
  9607. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9608. 'location' => 'body',
  9609. ),
  9610. 'RequestId' => array(
  9611. 'type' => 'string',
  9612. 'location' => 'header',
  9613. 'sentAs' => 'x-ci-request-id',
  9614. ),
  9615. 'ContentType' => array(
  9616. 'type' => 'string',
  9617. 'location' => 'header',
  9618. 'sentAs' => 'Content-Type',
  9619. ),
  9620. 'ContentLength' => array(
  9621. 'type' => 'numeric',
  9622. 'minimum'=> 0,
  9623. 'location' => 'header',
  9624. 'sentAs' => 'Content-Length',
  9625. ),
  9626. ),
  9627. );
  9628. }
  9629. public static function CreateMediaConcatTemplate() {
  9630. return array(
  9631. 'httpMethod' => 'POST',
  9632. 'uri' => '/{Bucket}template',
  9633. 'class' => 'Qcloud\\Cos\\Command',
  9634. 'responseClass' => 'CreateMediaConcatTemplateOutput',
  9635. 'responseType' => 'model',
  9636. 'data' => array(
  9637. 'xmlRoot' => array(
  9638. 'name' => 'Request',
  9639. ),
  9640. ),
  9641. 'parameters' => array(
  9642. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9643. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  9644. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9645. 'ConcatTemplate' => array(
  9646. 'type' => 'object',
  9647. 'location' => 'xml',
  9648. 'properties' => array(
  9649. 'DirectConcat' => array( 'type' => 'string', 'location' => 'xml', ),
  9650. 'ConcatFragments' => array(
  9651. 'type' => 'array',
  9652. 'location' => 'xml',
  9653. 'data' => array(
  9654. 'xmlFlattened' => true,
  9655. ),
  9656. 'items' => array(
  9657. 'name' => 'ConcatFragment',
  9658. 'type' => 'object',
  9659. 'sentAs' => 'ConcatFragment',
  9660. 'properties' => array(
  9661. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  9662. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  9663. ),
  9664. ),
  9665. ),
  9666. 'Audio' => array(
  9667. 'type' => 'object',
  9668. 'location' => 'xml',
  9669. 'properties' => array(
  9670. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9671. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  9672. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9673. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  9674. ),
  9675. ),
  9676. 'Video' => array(
  9677. 'type' => 'object',
  9678. 'location' => 'xml',
  9679. 'properties' => array(
  9680. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9681. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9682. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9683. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9684. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9685. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  9686. ),
  9687. ),
  9688. 'Container' => array(
  9689. 'type' => 'object',
  9690. 'location' => 'xml',
  9691. 'properties' => array(
  9692. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9693. ),
  9694. ),
  9695. 'AudioMix' => array(
  9696. 'type' => 'object',
  9697. 'location' => 'xml',
  9698. 'properties' => array(
  9699. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9700. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9701. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9702. 'EffectConfig' => array(
  9703. 'type' => 'object',
  9704. 'location' => 'xml',
  9705. 'properties' => array(
  9706. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9707. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9708. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9709. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9710. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9711. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9712. ),
  9713. ),
  9714. ),
  9715. ),
  9716. 'AudioMixArray' => array(
  9717. 'type' => 'array',
  9718. 'location' => 'xml',
  9719. 'data' => array(
  9720. 'xmlFlattened' => true,
  9721. ),
  9722. 'items' => array(
  9723. 'type' => 'object',
  9724. 'name' => 'AudioMixArray',
  9725. 'sentAs' => 'AudioMixArray',
  9726. 'properties' => array(
  9727. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9728. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9729. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9730. 'EffectConfig' => array(
  9731. 'type' => 'object',
  9732. 'location' => 'xml',
  9733. 'properties' => array(
  9734. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9735. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9736. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9737. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9738. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9739. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9740. ),
  9741. ),
  9742. ),
  9743. ),
  9744. ),
  9745. 'SceneChangeInfo' => array(
  9746. 'type' => 'object',
  9747. 'location' => 'xml',
  9748. 'properties' => array(
  9749. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  9750. 'Time' => array( 'type' => 'string', 'location' => 'xml', ),
  9751. ),
  9752. ),
  9753. ),
  9754. ),
  9755. ),
  9756. );
  9757. }
  9758. public static function CreateMediaConcatTemplateOutput() {
  9759. return array(
  9760. 'type' => 'object',
  9761. 'additionalProperties' => true,
  9762. 'properties' => array(
  9763. 'Body' => array(
  9764. 'type' => 'string',
  9765. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9766. 'location' => 'body',
  9767. ),
  9768. 'RequestId' => array(
  9769. 'type' => 'string',
  9770. 'location' => 'header',
  9771. 'sentAs' => 'x-ci-request-id',
  9772. ),
  9773. 'ContentType' => array(
  9774. 'type' => 'string',
  9775. 'location' => 'header',
  9776. 'sentAs' => 'Content-Type',
  9777. ),
  9778. 'ContentLength' => array(
  9779. 'type' => 'numeric',
  9780. 'minimum'=> 0,
  9781. 'location' => 'header',
  9782. 'sentAs' => 'Content-Length',
  9783. ),
  9784. ),
  9785. );
  9786. }
  9787. public static function UpdateMediaConcatTemplate() {
  9788. return array(
  9789. 'httpMethod' => 'PUT',
  9790. 'uri' => '/{Bucket}template/{/Key*}',
  9791. 'class' => 'Qcloud\\Cos\\Command',
  9792. 'responseClass' => 'UpdateMediaConcatTemplateOutput',
  9793. 'responseType' => 'model',
  9794. 'data' => array(
  9795. 'xmlRoot' => array(
  9796. 'name' => 'Request',
  9797. ),
  9798. ),
  9799. 'parameters' => array(
  9800. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9801. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9802. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  9803. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9804. 'ConcatTemplate' => array(
  9805. 'type' => 'object',
  9806. 'location' => 'xml',
  9807. 'properties' => array(
  9808. 'DirectConcat' => array( 'type' => 'string', 'location' => 'xml', ),
  9809. 'ConcatFragments' => array(
  9810. 'type' => 'array',
  9811. 'location' => 'xml',
  9812. 'data' => array(
  9813. 'xmlFlattened' => true,
  9814. ),
  9815. 'items' => array(
  9816. 'name' => 'ConcatFragment',
  9817. 'type' => 'object',
  9818. 'sentAs' => 'ConcatFragment',
  9819. 'properties' => array(
  9820. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  9821. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  9822. ),
  9823. ),
  9824. ),
  9825. 'Audio' => array(
  9826. 'type' => 'object',
  9827. 'location' => 'xml',
  9828. 'properties' => array(
  9829. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9830. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  9831. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9832. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  9833. ),
  9834. ),
  9835. 'Video' => array(
  9836. 'type' => 'object',
  9837. 'location' => 'xml',
  9838. 'properties' => array(
  9839. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  9840. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  9841. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  9842. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  9843. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  9844. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  9845. ),
  9846. ),
  9847. 'Container' => array(
  9848. 'type' => 'object',
  9849. 'location' => 'xml',
  9850. 'properties' => array(
  9851. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  9852. ),
  9853. ),
  9854. 'AudioMix' => array(
  9855. 'type' => 'object',
  9856. 'location' => 'xml',
  9857. 'properties' => array(
  9858. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9859. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9860. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9861. 'EffectConfig' => array(
  9862. 'type' => 'object',
  9863. 'location' => 'xml',
  9864. 'properties' => array(
  9865. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9866. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9867. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9868. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9869. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9870. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9871. ),
  9872. ),
  9873. ),
  9874. ),
  9875. 'AudioMixArray' => array(
  9876. 'type' => 'array',
  9877. 'location' => 'xml',
  9878. 'data' => array(
  9879. 'xmlFlattened' => true,
  9880. ),
  9881. 'items' => array(
  9882. 'type' => 'object',
  9883. 'name' => 'AudioMixArray',
  9884. 'sentAs' => 'AudioMixArray',
  9885. 'properties' => array(
  9886. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  9887. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  9888. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  9889. 'EffectConfig' => array(
  9890. 'type' => 'object',
  9891. 'location' => 'xml',
  9892. 'properties' => array(
  9893. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  9894. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9895. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  9896. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9897. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  9898. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  9899. ),
  9900. ),
  9901. ),
  9902. ),
  9903. ),
  9904. 'SceneChangeInfo' => array(
  9905. 'type' => 'object',
  9906. 'location' => 'xml',
  9907. 'properties' => array(
  9908. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  9909. 'Time' => array( 'type' => 'string', 'location' => 'xml', ),
  9910. ),
  9911. ),
  9912. ),
  9913. ),
  9914. ),
  9915. );
  9916. }
  9917. public static function UpdateMediaConcatTemplateOutput() {
  9918. return array(
  9919. 'type' => 'object',
  9920. 'additionalProperties' => true,
  9921. 'properties' => array(
  9922. 'Body' => array(
  9923. 'type' => 'string',
  9924. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9925. 'location' => 'body',
  9926. ),
  9927. 'RequestId' => array(
  9928. 'type' => 'string',
  9929. 'location' => 'header',
  9930. 'sentAs' => 'x-ci-request-id',
  9931. ),
  9932. 'ContentType' => array(
  9933. 'type' => 'string',
  9934. 'location' => 'header',
  9935. 'sentAs' => 'Content-Type',
  9936. ),
  9937. 'ContentLength' => array(
  9938. 'type' => 'numeric',
  9939. 'minimum'=> 0,
  9940. 'location' => 'header',
  9941. 'sentAs' => 'Content-Length',
  9942. ),
  9943. ),
  9944. );
  9945. }
  9946. public static function CreateMediaVideoProcessTemplate() {
  9947. return array(
  9948. 'httpMethod' => 'POST',
  9949. 'uri' => '/{Bucket}template',
  9950. 'class' => 'Qcloud\\Cos\\Command',
  9951. 'responseClass' => 'CreateMediaVideoProcessTemplateOutput',
  9952. 'responseType' => 'model',
  9953. 'data' => array(
  9954. 'xmlRoot' => array(
  9955. 'name' => 'Request',
  9956. ),
  9957. ),
  9958. 'parameters' => array(
  9959. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  9960. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  9961. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  9962. 'ColorEnhance' => array(
  9963. 'type' => 'object',
  9964. 'location' => 'xml',
  9965. 'properties' => array(
  9966. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  9967. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  9968. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  9969. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  9970. ),
  9971. ),
  9972. 'MsSharpen' => array(
  9973. 'type' => 'object',
  9974. 'location' => 'xml',
  9975. 'properties' => array(
  9976. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  9977. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  9978. ),
  9979. ),
  9980. ),
  9981. );
  9982. }
  9983. public static function CreateMediaVideoProcessTemplateOutput() {
  9984. return array(
  9985. 'type' => 'object',
  9986. 'additionalProperties' => true,
  9987. 'properties' => array(
  9988. 'Body' => array(
  9989. 'type' => 'string',
  9990. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  9991. 'location' => 'body',
  9992. ),
  9993. 'RequestId' => array(
  9994. 'type' => 'string',
  9995. 'location' => 'header',
  9996. 'sentAs' => 'x-ci-request-id',
  9997. ),
  9998. 'ContentType' => array(
  9999. 'type' => 'string',
  10000. 'location' => 'header',
  10001. 'sentAs' => 'Content-Type',
  10002. ),
  10003. 'ContentLength' => array(
  10004. 'type' => 'numeric',
  10005. 'minimum'=> 0,
  10006. 'location' => 'header',
  10007. 'sentAs' => 'Content-Length',
  10008. ),
  10009. ),
  10010. );
  10011. }
  10012. public static function UpdateMediaVideoProcessTemplate() {
  10013. return array(
  10014. 'httpMethod' => 'PUT',
  10015. 'uri' => '/{Bucket}template/{/Key*}',
  10016. 'class' => 'Qcloud\\Cos\\Command',
  10017. 'responseClass' => 'UpdateMediaVideoProcessTemplateOutput',
  10018. 'responseType' => 'model',
  10019. 'data' => array(
  10020. 'xmlRoot' => array(
  10021. 'name' => 'Request',
  10022. ),
  10023. ),
  10024. 'parameters' => array(
  10025. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10026. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10027. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  10028. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10029. 'ColorEnhance' => array(
  10030. 'type' => 'object',
  10031. 'location' => 'xml',
  10032. 'properties' => array(
  10033. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  10034. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  10035. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  10036. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  10037. ),
  10038. ),
  10039. 'MsSharpen' => array(
  10040. 'type' => 'object',
  10041. 'location' => 'xml',
  10042. 'properties' => array(
  10043. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  10044. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  10045. ),
  10046. ),
  10047. ),
  10048. );
  10049. }
  10050. public static function UpdateMediaVideoProcessTemplateOutput() {
  10051. return array(
  10052. 'type' => 'object',
  10053. 'additionalProperties' => true,
  10054. 'properties' => array(
  10055. 'Body' => array(
  10056. 'type' => 'string',
  10057. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10058. 'location' => 'body',
  10059. ),
  10060. 'RequestId' => array(
  10061. 'type' => 'string',
  10062. 'location' => 'header',
  10063. 'sentAs' => 'x-ci-request-id',
  10064. ),
  10065. 'ContentType' => array(
  10066. 'type' => 'string',
  10067. 'location' => 'header',
  10068. 'sentAs' => 'Content-Type',
  10069. ),
  10070. 'ContentLength' => array(
  10071. 'type' => 'numeric',
  10072. 'minimum'=> 0,
  10073. 'location' => 'header',
  10074. 'sentAs' => 'Content-Length',
  10075. ),
  10076. ),
  10077. );
  10078. }
  10079. public static function CreateMediaVideoMontageTemplate() {
  10080. return array(
  10081. 'httpMethod' => 'POST',
  10082. 'uri' => '/{Bucket}template',
  10083. 'class' => 'Qcloud\\Cos\\Command',
  10084. 'responseClass' => 'CreateMediaVideoMontageTemplateOutput',
  10085. 'responseType' => 'model',
  10086. 'data' => array(
  10087. 'xmlRoot' => array(
  10088. 'name' => 'Request',
  10089. ),
  10090. ),
  10091. 'parameters' => array(
  10092. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10093. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  10094. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10095. 'Duration' => array( 'location' => 'xml', 'type' => 'string', ),
  10096. 'Scene' => array( 'location' => 'xml', 'type' => 'string', ),
  10097. 'Container' => array(
  10098. 'type' => 'object',
  10099. 'location' => 'xml',
  10100. 'properties' => array(
  10101. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  10102. ),
  10103. ),
  10104. 'Video' => array(
  10105. 'type' => 'object',
  10106. 'location' => 'xml',
  10107. 'properties' => array(
  10108. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  10109. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  10110. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  10111. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  10112. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  10113. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  10114. ),
  10115. ),
  10116. 'Audio' => array(
  10117. 'type' => 'object',
  10118. 'location' => 'xml',
  10119. 'properties' => array(
  10120. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  10121. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  10122. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  10123. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  10124. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  10125. ),
  10126. ),
  10127. 'AudioMix' => array(
  10128. 'type' => 'object',
  10129. 'location' => 'xml',
  10130. 'properties' => array(
  10131. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  10132. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  10133. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  10134. 'EffectConfig' => array(
  10135. 'type' => 'object',
  10136. 'location' => 'xml',
  10137. 'properties' => array(
  10138. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  10139. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10140. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  10141. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10142. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  10143. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10144. ),
  10145. ),
  10146. ),
  10147. ),
  10148. 'AudioMixArray' => array(
  10149. 'type' => 'array',
  10150. 'location' => 'xml',
  10151. 'data' => array(
  10152. 'xmlFlattened' => true,
  10153. ),
  10154. 'items' => array(
  10155. 'type' => 'object',
  10156. 'name' => 'AudioMixArray',
  10157. 'sentAs' => 'AudioMixArray',
  10158. 'properties' => array(
  10159. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  10160. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  10161. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  10162. 'EffectConfig' => array(
  10163. 'type' => 'object',
  10164. 'location' => 'xml',
  10165. 'properties' => array(
  10166. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  10167. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10168. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  10169. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10170. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  10171. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10172. ),
  10173. ),
  10174. ),
  10175. ),
  10176. ),
  10177. ),
  10178. );
  10179. }
  10180. public static function CreateMediaVideoMontageTemplateOutput() {
  10181. return array(
  10182. 'type' => 'object',
  10183. 'additionalProperties' => true,
  10184. 'properties' => array(
  10185. 'Body' => array(
  10186. 'type' => 'string',
  10187. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10188. 'location' => 'body',
  10189. ),
  10190. 'RequestId' => array(
  10191. 'type' => 'string',
  10192. 'location' => 'header',
  10193. 'sentAs' => 'x-ci-request-id',
  10194. ),
  10195. 'ContentType' => array(
  10196. 'type' => 'string',
  10197. 'location' => 'header',
  10198. 'sentAs' => 'Content-Type',
  10199. ),
  10200. 'ContentLength' => array(
  10201. 'type' => 'numeric',
  10202. 'minimum'=> 0,
  10203. 'location' => 'header',
  10204. 'sentAs' => 'Content-Length',
  10205. ),
  10206. ),
  10207. );
  10208. }
  10209. public static function UpdateMediaVideoMontageTemplate() {
  10210. return array(
  10211. 'httpMethod' => 'PUT',
  10212. 'uri' => '/{Bucket}template/{/Key*}',
  10213. 'class' => 'Qcloud\\Cos\\Command',
  10214. 'responseClass' => 'UpdateMediaVideoMontageTemplateOutput',
  10215. 'responseType' => 'model',
  10216. 'data' => array(
  10217. 'xmlRoot' => array(
  10218. 'name' => 'Request',
  10219. ),
  10220. ),
  10221. 'parameters' => array(
  10222. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10223. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10224. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  10225. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10226. 'Duration' => array( 'location' => 'xml', 'type' => 'string', ),
  10227. 'Scene' => array( 'location' => 'xml', 'type' => 'string', ),
  10228. 'Container' => array(
  10229. 'type' => 'object',
  10230. 'location' => 'xml',
  10231. 'properties' => array(
  10232. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  10233. ),
  10234. ),
  10235. 'Video' => array(
  10236. 'type' => 'object',
  10237. 'location' => 'xml',
  10238. 'properties' => array(
  10239. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  10240. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  10241. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  10242. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  10243. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  10244. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  10245. ),
  10246. ),
  10247. 'Audio' => array(
  10248. 'type' => 'object',
  10249. 'location' => 'xml',
  10250. 'properties' => array(
  10251. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  10252. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  10253. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  10254. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  10255. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  10256. ),
  10257. ),
  10258. 'AudioMix' => array(
  10259. 'type' => 'object',
  10260. 'location' => 'xml',
  10261. 'properties' => array(
  10262. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  10263. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  10264. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  10265. 'EffectConfig' => array(
  10266. 'type' => 'object',
  10267. 'location' => 'xml',
  10268. 'properties' => array(
  10269. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  10270. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10271. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  10272. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10273. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  10274. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10275. ),
  10276. ),
  10277. ),
  10278. ),
  10279. 'AudioMixArray' => array(
  10280. 'type' => 'array',
  10281. 'location' => 'xml',
  10282. 'data' => array(
  10283. 'xmlFlattened' => true,
  10284. ),
  10285. 'items' => array(
  10286. 'type' => 'object',
  10287. 'name' => 'AudioMixArray',
  10288. 'sentAs' => 'AudioMixArray',
  10289. 'properties' => array(
  10290. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  10291. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  10292. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  10293. 'EffectConfig' => array(
  10294. 'type' => 'object',
  10295. 'location' => 'xml',
  10296. 'properties' => array(
  10297. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  10298. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10299. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  10300. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10301. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  10302. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10303. ),
  10304. ),
  10305. ),
  10306. ),
  10307. ),
  10308. ),
  10309. );
  10310. }
  10311. public static function UpdateMediaVideoMontageTemplateOutput() {
  10312. return array(
  10313. 'type' => 'object',
  10314. 'additionalProperties' => true,
  10315. 'properties' => array(
  10316. 'Body' => array(
  10317. 'type' => 'string',
  10318. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10319. 'location' => 'body',
  10320. ),
  10321. 'RequestId' => array(
  10322. 'type' => 'string',
  10323. 'location' => 'header',
  10324. 'sentAs' => 'x-ci-request-id',
  10325. ),
  10326. 'ContentType' => array(
  10327. 'type' => 'string',
  10328. 'location' => 'header',
  10329. 'sentAs' => 'Content-Type',
  10330. ),
  10331. 'ContentLength' => array(
  10332. 'type' => 'numeric',
  10333. 'minimum'=> 0,
  10334. 'location' => 'header',
  10335. 'sentAs' => 'Content-Length',
  10336. ),
  10337. ),
  10338. );
  10339. }
  10340. public static function CreateMediaVoiceSeparateTemplate() {
  10341. return array(
  10342. 'httpMethod' => 'POST',
  10343. 'uri' => '/{Bucket}template',
  10344. 'class' => 'Qcloud\\Cos\\Command',
  10345. 'responseClass' => 'CreateMediaVoiceSeparateTemplateOutput',
  10346. 'responseType' => 'model',
  10347. 'data' => array(
  10348. 'xmlRoot' => array(
  10349. 'name' => 'Request',
  10350. ),
  10351. ),
  10352. 'parameters' => array(
  10353. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10354. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  10355. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10356. 'AudioMode' => array( 'location' => 'xml', 'type' => 'string', ),
  10357. 'AudioConfig' => array(
  10358. 'type' => 'object',
  10359. 'location' => 'xml',
  10360. 'properties' => array(
  10361. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  10362. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  10363. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  10364. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  10365. ),
  10366. ),
  10367. ),
  10368. );
  10369. }
  10370. public static function CreateMediaVoiceSeparateTemplateOutput() {
  10371. return array(
  10372. 'type' => 'object',
  10373. 'additionalProperties' => true,
  10374. 'properties' => array(
  10375. 'Body' => array(
  10376. 'type' => 'string',
  10377. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10378. 'location' => 'body',
  10379. ),
  10380. 'RequestId' => array(
  10381. 'type' => 'string',
  10382. 'location' => 'header',
  10383. 'sentAs' => 'x-ci-request-id',
  10384. ),
  10385. 'ContentType' => array(
  10386. 'type' => 'string',
  10387. 'location' => 'header',
  10388. 'sentAs' => 'Content-Type',
  10389. ),
  10390. 'ContentLength' => array(
  10391. 'type' => 'numeric',
  10392. 'minimum'=> 0,
  10393. 'location' => 'header',
  10394. 'sentAs' => 'Content-Length',
  10395. ),
  10396. ),
  10397. );
  10398. }
  10399. public static function UpdateMediaVoiceSeparateTemplate() {
  10400. return array(
  10401. 'httpMethod' => 'PUT',
  10402. 'uri' => '/{Bucket}template/{/Key*}',
  10403. 'class' => 'Qcloud\\Cos\\Command',
  10404. 'responseClass' => 'UpdateMediaVoiceSeparateTemplateOutput',
  10405. 'responseType' => 'model',
  10406. 'data' => array(
  10407. 'xmlRoot' => array(
  10408. 'name' => 'Request',
  10409. ),
  10410. ),
  10411. 'parameters' => array(
  10412. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10413. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10414. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  10415. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10416. 'AudioMode' => array( 'location' => 'xml', 'type' => 'string', ),
  10417. 'AudioConfig' => array(
  10418. 'type' => 'object',
  10419. 'location' => 'xml',
  10420. 'properties' => array(
  10421. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  10422. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  10423. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  10424. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  10425. ),
  10426. ),
  10427. ),
  10428. );
  10429. }
  10430. public static function UpdateMediaVoiceSeparateTemplateOutput() {
  10431. return array(
  10432. 'type' => 'object',
  10433. 'additionalProperties' => true,
  10434. 'properties' => array(
  10435. 'Body' => array(
  10436. 'type' => 'string',
  10437. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10438. 'location' => 'body',
  10439. ),
  10440. 'RequestId' => array(
  10441. 'type' => 'string',
  10442. 'location' => 'header',
  10443. 'sentAs' => 'x-ci-request-id',
  10444. ),
  10445. 'ContentType' => array(
  10446. 'type' => 'string',
  10447. 'location' => 'header',
  10448. 'sentAs' => 'Content-Type',
  10449. ),
  10450. 'ContentLength' => array(
  10451. 'type' => 'numeric',
  10452. 'minimum'=> 0,
  10453. 'location' => 'header',
  10454. 'sentAs' => 'Content-Length',
  10455. ),
  10456. ),
  10457. );
  10458. }
  10459. public static function CreateMediaSuperResolutionTemplate() {
  10460. return array(
  10461. 'httpMethod' => 'POST',
  10462. 'uri' => '/{Bucket}template',
  10463. 'class' => 'Qcloud\\Cos\\Command',
  10464. 'responseClass' => 'CreateMediaSuperResolutionTemplateOutput',
  10465. 'responseType' => 'model',
  10466. 'data' => array(
  10467. 'xmlRoot' => array(
  10468. 'name' => 'Request',
  10469. ),
  10470. ),
  10471. 'parameters' => array(
  10472. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10473. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  10474. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10475. 'Resolution' => array( 'location' => 'xml', 'type' => 'string', ),
  10476. 'EnableScaleUp' => array( 'location' => 'xml', 'type' => 'string', ),
  10477. 'Version' => array( 'location' => 'xml', 'type' => 'string', ),
  10478. ),
  10479. );
  10480. }
  10481. public static function CreateMediaSuperResolutionTemplateOutput() {
  10482. return array(
  10483. 'type' => 'object',
  10484. 'additionalProperties' => true,
  10485. 'properties' => array(
  10486. 'Body' => array(
  10487. 'type' => 'string',
  10488. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10489. 'location' => 'body',
  10490. ),
  10491. 'RequestId' => array(
  10492. 'type' => 'string',
  10493. 'location' => 'header',
  10494. 'sentAs' => 'x-ci-request-id',
  10495. ),
  10496. 'ContentType' => array(
  10497. 'type' => 'string',
  10498. 'location' => 'header',
  10499. 'sentAs' => 'Content-Type',
  10500. ),
  10501. 'ContentLength' => array(
  10502. 'type' => 'numeric',
  10503. 'minimum'=> 0,
  10504. 'location' => 'header',
  10505. 'sentAs' => 'Content-Length',
  10506. ),
  10507. ),
  10508. );
  10509. }
  10510. public static function UpdateMediaSuperResolutionTemplate() {
  10511. return array(
  10512. 'httpMethod' => 'PUT',
  10513. 'uri' => '/{Bucket}template/{/Key*}',
  10514. 'class' => 'Qcloud\\Cos\\Command',
  10515. 'responseClass' => 'UpdateMediaSuperResolutionTemplateOutput',
  10516. 'responseType' => 'model',
  10517. 'data' => array(
  10518. 'xmlRoot' => array(
  10519. 'name' => 'Request',
  10520. ),
  10521. ),
  10522. 'parameters' => array(
  10523. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10524. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10525. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  10526. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10527. 'Resolution' => array( 'location' => 'xml', 'type' => 'string', ),
  10528. 'EnableScaleUp' => array( 'location' => 'xml', 'type' => 'string', ),
  10529. 'Version' => array( 'location' => 'xml', 'type' => 'string', ),
  10530. ),
  10531. );
  10532. }
  10533. public static function UpdateMediaSuperResolutionTemplateOutput() {
  10534. return array(
  10535. 'type' => 'object',
  10536. 'additionalProperties' => true,
  10537. 'properties' => array(
  10538. 'Body' => array(
  10539. 'type' => 'string',
  10540. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10541. 'location' => 'body',
  10542. ),
  10543. 'RequestId' => array(
  10544. 'type' => 'string',
  10545. 'location' => 'header',
  10546. 'sentAs' => 'x-ci-request-id',
  10547. ),
  10548. 'ContentType' => array(
  10549. 'type' => 'string',
  10550. 'location' => 'header',
  10551. 'sentAs' => 'Content-Type',
  10552. ),
  10553. 'ContentLength' => array(
  10554. 'type' => 'numeric',
  10555. 'minimum'=> 0,
  10556. 'location' => 'header',
  10557. 'sentAs' => 'Content-Length',
  10558. ),
  10559. ),
  10560. );
  10561. }
  10562. public static function CreateMediaPicProcessTemplate() {
  10563. return array(
  10564. 'httpMethod' => 'POST',
  10565. 'uri' => '/{Bucket}template',
  10566. 'class' => 'Qcloud\\Cos\\Command',
  10567. 'responseClass' => 'CreateMediaPicProcessTemplateOutput',
  10568. 'responseType' => 'model',
  10569. 'data' => array(
  10570. 'xmlRoot' => array(
  10571. 'name' => 'Request',
  10572. ),
  10573. ),
  10574. 'parameters' => array(
  10575. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10576. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  10577. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10578. 'PicProcess' => array(
  10579. 'type' => 'object',
  10580. 'location' => 'xml',
  10581. 'properties' => array(
  10582. 'IsPicInfo' => array( 'type' => 'string', 'location' => 'xml', ),
  10583. 'ProcessRule' => array( 'type' => 'string', 'location' => 'xml', ),
  10584. ),
  10585. ),
  10586. ),
  10587. );
  10588. }
  10589. public static function CreateMediaPicProcessTemplateOutput() {
  10590. return array(
  10591. 'type' => 'object',
  10592. 'additionalProperties' => true,
  10593. 'properties' => array(
  10594. 'Body' => array(
  10595. 'type' => 'string',
  10596. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10597. 'location' => 'body',
  10598. ),
  10599. 'RequestId' => array(
  10600. 'type' => 'string',
  10601. 'location' => 'header',
  10602. 'sentAs' => 'x-ci-request-id',
  10603. ),
  10604. 'ContentType' => array(
  10605. 'type' => 'string',
  10606. 'location' => 'header',
  10607. 'sentAs' => 'Content-Type',
  10608. ),
  10609. 'ContentLength' => array(
  10610. 'type' => 'numeric',
  10611. 'minimum'=> 0,
  10612. 'location' => 'header',
  10613. 'sentAs' => 'Content-Length',
  10614. ),
  10615. ),
  10616. );
  10617. }
  10618. public static function UpdateMediaPicProcessTemplate() {
  10619. return array(
  10620. 'httpMethod' => 'PUT',
  10621. 'uri' => '/{Bucket}template/{/Key*}',
  10622. 'class' => 'Qcloud\\Cos\\Command',
  10623. 'responseClass' => 'UpdateMediaPicProcessTemplateOutput',
  10624. 'responseType' => 'model',
  10625. 'data' => array(
  10626. 'xmlRoot' => array(
  10627. 'name' => 'Request',
  10628. ),
  10629. ),
  10630. 'parameters' => array(
  10631. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10632. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10633. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  10634. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10635. 'PicProcess' => array(
  10636. 'type' => 'object',
  10637. 'location' => 'xml',
  10638. 'properties' => array(
  10639. 'IsPicInfo' => array( 'type' => 'string', 'location' => 'xml', ),
  10640. 'ProcessRule' => array( 'type' => 'string', 'location' => 'xml', ),
  10641. ),
  10642. ),
  10643. ),
  10644. );
  10645. }
  10646. public static function UpdateMediaPicProcessTemplateOutput() {
  10647. return array(
  10648. 'type' => 'object',
  10649. 'additionalProperties' => true,
  10650. 'properties' => array(
  10651. 'Body' => array(
  10652. 'type' => 'string',
  10653. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10654. 'location' => 'body',
  10655. ),
  10656. 'RequestId' => array(
  10657. 'type' => 'string',
  10658. 'location' => 'header',
  10659. 'sentAs' => 'x-ci-request-id',
  10660. ),
  10661. 'ContentType' => array(
  10662. 'type' => 'string',
  10663. 'location' => 'header',
  10664. 'sentAs' => 'Content-Type',
  10665. ),
  10666. 'ContentLength' => array(
  10667. 'type' => 'numeric',
  10668. 'minimum'=> 0,
  10669. 'location' => 'header',
  10670. 'sentAs' => 'Content-Length',
  10671. ),
  10672. ),
  10673. );
  10674. }
  10675. public static function CreateMediaWatermarkTemplate() {
  10676. return array(
  10677. 'httpMethod' => 'POST',
  10678. 'uri' => '/{Bucket}template',
  10679. 'class' => 'Qcloud\\Cos\\Command',
  10680. 'responseClass' => 'CreateMediaWatermarkTemplateOutput',
  10681. 'responseType' => 'model',
  10682. 'data' => array(
  10683. 'xmlRoot' => array(
  10684. 'name' => 'Request',
  10685. ),
  10686. ),
  10687. 'parameters' => array(
  10688. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10689. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  10690. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10691. 'Watermark' => array(
  10692. 'type' => 'object',
  10693. 'location' => 'xml',
  10694. 'properties' => array(
  10695. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  10696. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  10697. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  10698. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  10699. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  10700. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10701. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10702. 'Image' => array(
  10703. 'type' => 'object',
  10704. 'location' => 'xml',
  10705. 'properties' => array(
  10706. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  10707. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  10708. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  10709. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  10710. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  10711. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  10712. ),
  10713. ),
  10714. 'Text' => array(
  10715. 'type' => 'object',
  10716. 'location' => 'xml',
  10717. 'properties' => array(
  10718. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  10719. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  10720. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  10721. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  10722. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  10723. ),
  10724. ),
  10725. ),
  10726. ),
  10727. ),
  10728. );
  10729. }
  10730. public static function CreateMediaWatermarkTemplateOutput() {
  10731. return array(
  10732. 'type' => 'object',
  10733. 'additionalProperties' => true,
  10734. 'properties' => array(
  10735. 'Body' => array(
  10736. 'type' => 'string',
  10737. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10738. 'location' => 'body',
  10739. ),
  10740. 'RequestId' => array(
  10741. 'type' => 'string',
  10742. 'location' => 'header',
  10743. 'sentAs' => 'x-ci-request-id',
  10744. ),
  10745. 'ContentType' => array(
  10746. 'type' => 'string',
  10747. 'location' => 'header',
  10748. 'sentAs' => 'Content-Type',
  10749. ),
  10750. 'ContentLength' => array(
  10751. 'type' => 'numeric',
  10752. 'minimum'=> 0,
  10753. 'location' => 'header',
  10754. 'sentAs' => 'Content-Length',
  10755. ),
  10756. ),
  10757. );
  10758. }
  10759. public static function UpdateMediaWatermarkTemplate() {
  10760. return array(
  10761. 'httpMethod' => 'PUT',
  10762. 'uri' => '/{Bucket}template/{/Key*}',
  10763. 'class' => 'Qcloud\\Cos\\Command',
  10764. 'responseClass' => 'UpdateMediaWatermarkTemplateOutput',
  10765. 'responseType' => 'model',
  10766. 'data' => array(
  10767. 'xmlRoot' => array(
  10768. 'name' => 'Request',
  10769. ),
  10770. ),
  10771. 'parameters' => array(
  10772. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10773. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10774. 'Tag' => array( 'required' => true, 'location' => 'xml', 'type' => 'string', ),
  10775. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  10776. 'Watermark' => array(
  10777. 'type' => 'object',
  10778. 'location' => 'xml',
  10779. 'properties' => array(
  10780. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  10781. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  10782. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  10783. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  10784. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  10785. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10786. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  10787. 'Image' => array(
  10788. 'type' => 'object',
  10789. 'location' => 'xml',
  10790. 'properties' => array(
  10791. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  10792. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  10793. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  10794. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  10795. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  10796. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  10797. ),
  10798. ),
  10799. 'Text' => array(
  10800. 'type' => 'object',
  10801. 'location' => 'xml',
  10802. 'properties' => array(
  10803. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  10804. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  10805. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  10806. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  10807. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  10808. ),
  10809. ),
  10810. ),
  10811. ),
  10812. ),
  10813. );
  10814. }
  10815. public static function UpdateMediaWatermarkTemplateOutput() {
  10816. return array(
  10817. 'type' => 'object',
  10818. 'additionalProperties' => true,
  10819. 'properties' => array(
  10820. 'Body' => array(
  10821. 'type' => 'string',
  10822. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  10823. 'location' => 'body',
  10824. ),
  10825. 'RequestId' => array(
  10826. 'type' => 'string',
  10827. 'location' => 'header',
  10828. 'sentAs' => 'x-ci-request-id',
  10829. ),
  10830. 'ContentType' => array(
  10831. 'type' => 'string',
  10832. 'location' => 'header',
  10833. 'sentAs' => 'Content-Type',
  10834. ),
  10835. 'ContentLength' => array(
  10836. 'type' => 'numeric',
  10837. 'minimum'=> 0,
  10838. 'location' => 'header',
  10839. 'sentAs' => 'Content-Length',
  10840. ),
  10841. ),
  10842. );
  10843. }
  10844. public static function DescribeMediaTemplates() {
  10845. return array(
  10846. 'httpMethod' => 'GET',
  10847. 'uri' => '/{Bucket}template',
  10848. 'class' => 'Qcloud\\Cos\\Command',
  10849. 'responseClass' => 'DescribeMediaTemplatesOutput',
  10850. 'responseType' => 'model',
  10851. 'parameters' => array(
  10852. 'Bucket' => array(
  10853. 'required' => true,
  10854. 'type' => 'string',
  10855. 'location' => 'uri',
  10856. ),
  10857. 'Tag' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'tag' ),
  10858. 'Category' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'category' ),
  10859. 'Ids' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'ids' ),
  10860. 'Name' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'name' ),
  10861. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  10862. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  10863. ),
  10864. );
  10865. }
  10866. public static function DescribeMediaTemplatesOutput() {
  10867. return array(
  10868. 'type' => 'object',
  10869. 'additionalProperties' => true,
  10870. 'properties' => array(
  10871. 'RequestId' => array(
  10872. 'type' => 'string',
  10873. 'location' => 'header',
  10874. 'sentAs' => 'x-ci-request-id',
  10875. ),
  10876. 'ContentType' => array(
  10877. 'type' => 'string',
  10878. 'location' => 'header',
  10879. 'sentAs' => 'Content-Type',
  10880. ),
  10881. 'ContentLength' => array(
  10882. 'type' => 'numeric',
  10883. 'minimum'=> 0,
  10884. 'location' => 'header',
  10885. 'sentAs' => 'Content-Length',
  10886. ),
  10887. 'TotalCount' => array( 'type' => 'string', 'location' => 'xml', ),
  10888. 'PageNumber' => array( 'type' => 'string', 'location' => 'xml', ),
  10889. 'PageSize' => array( 'type' => 'string', 'location' => 'xml', ),
  10890. 'TemplateList' => array(
  10891. 'type' => 'array',
  10892. 'location' => 'xml',
  10893. 'items' => array(
  10894. 'type' => 'object',
  10895. 'location' => 'xml',
  10896. ),
  10897. ),
  10898. ),
  10899. );
  10900. }
  10901. public static function DescribeWorkflow() {
  10902. return array(
  10903. 'httpMethod' => 'GET',
  10904. 'uri' => '/{Bucket}workflow',
  10905. 'class' => 'Qcloud\\Cos\\Command',
  10906. 'responseClass' => 'DescribeWorkflowOutput',
  10907. 'responseType' => 'model',
  10908. 'parameters' => array(
  10909. 'Bucket' => array(
  10910. 'required' => true,
  10911. 'type' => 'string',
  10912. 'location' => 'uri',
  10913. ),
  10914. 'Ids' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'ids' ),
  10915. 'Name' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'name' ),
  10916. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  10917. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  10918. ),
  10919. );
  10920. }
  10921. public static function DescribeWorkflowOutput() {
  10922. return array(
  10923. 'type' => 'object',
  10924. 'additionalProperties' => true,
  10925. 'properties' => array(
  10926. 'RequestId' => array(
  10927. 'type' => 'string',
  10928. 'location' => 'header',
  10929. 'sentAs' => 'x-ci-request-id',
  10930. ),
  10931. 'ContentType' => array(
  10932. 'type' => 'string',
  10933. 'location' => 'header',
  10934. 'sentAs' => 'Content-Type',
  10935. ),
  10936. 'ContentLength' => array(
  10937. 'type' => 'numeric',
  10938. 'minimum'=> 0,
  10939. 'location' => 'header',
  10940. 'sentAs' => 'Content-Length',
  10941. ),
  10942. 'TotalCount' => array( 'type' => 'string', 'location' => 'xml', ),
  10943. 'PageNumber' => array( 'type' => 'string', 'location' => 'xml', ),
  10944. 'PageSize' => array( 'type' => 'string', 'location' => 'xml', ),
  10945. 'MediaWorkflowList' => array(
  10946. 'type' => 'array',
  10947. 'location' => 'xml',
  10948. 'items' => array(
  10949. 'type' => 'object',
  10950. 'location' => 'xml',
  10951. ),
  10952. ),
  10953. ),
  10954. );
  10955. }
  10956. public static function DeleteWorkflow() {
  10957. return array(
  10958. 'httpMethod' => 'DELETE',
  10959. 'uri' => '/{Bucket}workflow/{/Key*}',
  10960. 'class' => 'Qcloud\\Cos\\Command',
  10961. 'responseClass' => 'DeleteWorkflowOutput',
  10962. 'responseType' => 'model',
  10963. 'parameters' => array(
  10964. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10965. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  10966. ),
  10967. );
  10968. }
  10969. public static function DeleteWorkflowOutput() {
  10970. return array(
  10971. 'type' => 'object',
  10972. 'additionalProperties' => true,
  10973. 'properties' => array(
  10974. 'RequestId' => array(
  10975. 'type' => 'string',
  10976. 'location' => 'header',
  10977. 'sentAs' => 'x-ci-request-id',
  10978. ),
  10979. 'ContentType' => array(
  10980. 'type' => 'string',
  10981. 'location' => 'header',
  10982. 'sentAs' => 'Content-Type',
  10983. ),
  10984. 'ContentLength' => array(
  10985. 'type' => 'numeric',
  10986. 'minimum'=> 0,
  10987. 'location' => 'header',
  10988. 'sentAs' => 'Content-Length',
  10989. ),
  10990. 'WorkflowId' => array( 'type' => 'string', 'location' => 'xml' ),
  10991. ),
  10992. );
  10993. }
  10994. public static function CreateInventoryTriggerJob() {
  10995. return array(
  10996. 'httpMethod' => 'POST',
  10997. 'uri' => '/{Bucket}inventorytriggerjob',
  10998. 'class' => 'Qcloud\\Cos\\Command',
  10999. 'responseClass' => 'CreateInventoryTriggerJobOutput',
  11000. 'responseType' => 'model',
  11001. 'data' => array(
  11002. 'xmlRoot' => array(
  11003. 'name' => 'Request',
  11004. ),
  11005. ),
  11006. 'parameters' => array(
  11007. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  11008. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  11009. 'Type' => array( 'location' => 'xml', 'type' => 'string', ),
  11010. 'Input' => array(
  11011. 'type' => 'object',
  11012. 'location' => 'xml',
  11013. 'properties' => array(
  11014. 'Manifest' => array( 'type' => 'string', 'location' => 'xml', ),
  11015. 'UrlFile' => array( 'type' => 'string', 'location' => 'xml', ),
  11016. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  11017. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  11018. ),
  11019. ),
  11020. 'Operation' => array(
  11021. 'type' => 'object',
  11022. 'location' => 'xml',
  11023. 'properties' => array(
  11024. 'WorkflowIds' => array( 'type' => 'string', 'location' => 'xml', ),
  11025. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  11026. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  11027. 'QueueType' => array( 'type' => 'string', 'location' => 'xml', ),
  11028. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  11029. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  11030. 'CallBackFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  11031. 'CallBackType' => array( 'type' => 'string', 'location' => 'xml', ),
  11032. 'CallBack' => array( 'type' => 'string', 'location' => 'xml', ),
  11033. 'TimeInterval' => array(
  11034. 'type' => 'object',
  11035. 'location' => 'xml',
  11036. 'properties' => array(
  11037. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  11038. 'End' => array( 'type' => 'string', 'location' => 'xml', ),
  11039. ),
  11040. ),
  11041. 'Output' => array(
  11042. 'type' => 'object',
  11043. 'location' => 'xml',
  11044. 'properties' => array(
  11045. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  11046. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  11047. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  11048. 'AuObject' => array( 'type' => 'string', 'location' => 'xml', ),
  11049. 'SpriteObject' => array( 'type' => 'string', 'location' => 'xml', ),
  11050. 'StreamExtract' => array(
  11051. 'type' => 'object',
  11052. 'location' => 'xml',
  11053. 'properties' => array(
  11054. 'Index' => array( 'type' => 'string', 'location' => 'xml', ),
  11055. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  11056. ),
  11057. ),
  11058. ),
  11059. ),
  11060. 'JobParam' => array(
  11061. 'type' => 'object',
  11062. 'location' => 'xml',
  11063. 'properties' => array(
  11064. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  11065. 'TranscodeTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  11066. 'WatermarkTemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  11067. 'Animation' => array(
  11068. 'type' => 'object',
  11069. 'location' => 'xml',
  11070. 'properties' => array(
  11071. 'Container' => array(
  11072. 'type' => 'object',
  11073. 'location' => 'xml',
  11074. 'properties' => array(
  11075. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11076. ),
  11077. ),
  11078. 'Video' => array(
  11079. 'type' => 'object',
  11080. 'location' => 'xml',
  11081. 'properties' => array(
  11082. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11083. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11084. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11085. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  11086. 'AnimateOnlyKeepKeyFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  11087. 'AnimateTimeIntervalOfFrame' => array( 'type' => 'string', 'location' => 'xml', ),
  11088. 'AnimateFramesPerSecond' => array( 'type' => 'string', 'location' => 'xml', ),
  11089. 'Quality' => array( 'type' => 'string', 'location' => 'xml', ),
  11090. ),
  11091. ),
  11092. 'TimeInterval' => array(
  11093. 'type' => 'object',
  11094. 'location' => 'xml',
  11095. 'properties' => array(
  11096. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  11097. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  11098. ),
  11099. ),
  11100. ),
  11101. ),
  11102. 'Transcode' => array(
  11103. 'type' => 'object',
  11104. 'location' => 'xml',
  11105. 'properties' => array(
  11106. 'Container' => array(
  11107. 'type' => 'object',
  11108. 'location' => 'xml',
  11109. 'properties' => array(
  11110. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11111. ),
  11112. ),
  11113. 'Video' => array(
  11114. 'type' => 'object',
  11115. 'location' => 'xml',
  11116. 'properties' => array(
  11117. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11118. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11119. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11120. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  11121. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  11122. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  11123. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11124. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  11125. 'Gop' => array( 'type' => 'string', 'location' => 'xml', ),
  11126. 'Preset' => array( 'type' => 'string', 'location' => 'xml', ),
  11127. 'Bufsize' => array( 'type' => 'string', 'location' => 'xml', ),
  11128. 'Maxrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11129. 'HlsTsTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11130. 'Pixfmt' => array( 'type' => 'string', 'location' => 'xml', ),
  11131. 'LongShortMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11132. ),
  11133. ),
  11134. 'TimeInterval' => array(
  11135. 'type' => 'object',
  11136. 'location' => 'xml',
  11137. 'properties' => array(
  11138. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  11139. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  11140. ),
  11141. ),
  11142. 'Audio' => array(
  11143. 'type' => 'object',
  11144. 'location' => 'xml',
  11145. 'properties' => array(
  11146. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11147. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  11148. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11149. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  11150. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  11151. 'KeepTwoTracks' => array( 'type' => 'string', 'location' => 'xml', ),
  11152. 'SwitchTrack' => array( 'type' => 'string', 'location' => 'xml', ),
  11153. 'SampleFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  11154. ),
  11155. ),
  11156. 'TransConfig' => array(
  11157. 'type' => 'object',
  11158. 'location' => 'xml',
  11159. 'properties' => array(
  11160. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  11161. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  11162. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  11163. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11164. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  11165. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11166. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  11167. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  11168. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  11169. 'HlsEncrypt' => array(
  11170. 'type' => 'object',
  11171. 'location' => 'xml',
  11172. 'properties' => array(
  11173. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  11174. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  11175. ),
  11176. ),
  11177. ),
  11178. ),
  11179. 'AudioMix' => array(
  11180. 'type' => 'object',
  11181. 'location' => 'xml',
  11182. 'properties' => array(
  11183. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  11184. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11185. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  11186. 'EffectConfig' => array(
  11187. 'type' => 'object',
  11188. 'location' => 'xml',
  11189. 'properties' => array(
  11190. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  11191. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11192. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  11193. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11194. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  11195. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11196. ),
  11197. ),
  11198. ),
  11199. ),
  11200. 'AudioMixArray' => array(
  11201. 'type' => 'array',
  11202. 'location' => 'xml',
  11203. 'data' => array(
  11204. 'xmlFlattened' => true,
  11205. ),
  11206. 'items' => array(
  11207. 'type' => 'object',
  11208. 'name' => 'AudioMixArray',
  11209. 'sentAs' => 'AudioMixArray',
  11210. 'properties' => array(
  11211. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  11212. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11213. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  11214. 'EffectConfig' => array(
  11215. 'type' => 'object',
  11216. 'location' => 'xml',
  11217. 'properties' => array(
  11218. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  11219. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11220. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  11221. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11222. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  11223. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11224. ),
  11225. ),
  11226. ),
  11227. ),
  11228. ),
  11229. ),
  11230. ),
  11231. 'SmartCover' => array(
  11232. 'type' => 'object',
  11233. 'location' => 'xml',
  11234. 'properties' => array(
  11235. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11236. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11237. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11238. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  11239. 'DeleteDuplicates' => array( 'type' => 'string', 'location' => 'xml', ),
  11240. ),
  11241. ),
  11242. 'DigitalWatermark' => array(
  11243. 'type' => 'object',
  11244. 'location' => 'xml',
  11245. 'properties' => array(
  11246. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  11247. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  11248. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  11249. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  11250. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  11251. ),
  11252. ),
  11253. 'Watermark' => array(
  11254. 'type' => 'array',
  11255. 'location' => 'xml',
  11256. 'data' => array(
  11257. 'xmlFlattened' => true,
  11258. ),
  11259. 'items' => array(
  11260. 'name' => 'Watermark',
  11261. 'type' => 'object',
  11262. 'sentAs' => 'Watermark',
  11263. 'properties' => array(
  11264. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  11265. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  11266. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11267. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  11268. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  11269. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11270. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11271. 'Image' => array(
  11272. 'type' => 'object',
  11273. 'location' => 'xml',
  11274. 'properties' => array(
  11275. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  11276. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  11277. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11278. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11279. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  11280. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  11281. ),
  11282. ),
  11283. 'Text' => array(
  11284. 'type' => 'object',
  11285. 'location' => 'xml',
  11286. 'properties' => array(
  11287. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  11288. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  11289. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  11290. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  11291. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  11292. ),
  11293. ),
  11294. ),
  11295. )
  11296. ),
  11297. 'RemoveWatermark' => array(
  11298. 'type' => 'object',
  11299. 'location' => 'xml',
  11300. 'properties' => array(
  11301. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  11302. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  11303. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11304. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11305. ),
  11306. ),
  11307. 'Snapshot' => array(
  11308. 'type' => 'object',
  11309. 'location' => 'xml',
  11310. 'properties' => array(
  11311. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  11312. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  11313. 'TimeInterval' => array( 'type' => 'string', 'location' => 'xml', ),
  11314. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  11315. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11316. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11317. ),
  11318. ),
  11319. 'SpeechRecognition' => array(
  11320. 'type' => 'object',
  11321. 'location' => 'xml',
  11322. 'properties' => array(
  11323. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  11324. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  11325. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  11326. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  11327. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  11328. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  11329. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  11330. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  11331. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  11332. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  11333. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  11334. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11335. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  11336. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  11337. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  11338. ),
  11339. ),
  11340. 'ConcatTemplate' => array(
  11341. 'type' => 'object',
  11342. 'location' => 'xml',
  11343. 'properties' => array(
  11344. 'Audio' => array(
  11345. 'type' => 'object',
  11346. 'location' => 'xml',
  11347. 'properties' => array(
  11348. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11349. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  11350. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11351. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  11352. ),
  11353. ),
  11354. 'Index' => array( 'type' => 'string', 'location' => 'xml', ),
  11355. 'DirectConcat' => array( 'type' => 'string', 'location' => 'xml', ),
  11356. 'ConcatFragments' => array(
  11357. 'type' => 'array',
  11358. 'location' => 'xml',
  11359. 'data' => array(
  11360. 'xmlFlattened' => true,
  11361. ),
  11362. 'items' => array(
  11363. 'name' => 'ConcatFragment',
  11364. 'type' => 'object',
  11365. 'sentAs' => 'ConcatFragment',
  11366. 'properties' => array(
  11367. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  11368. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11369. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11370. // 'Mode' => array( 'type' => 'string', 'location' => 'xml', ), 拼接接口不需要Mode参数
  11371. ),
  11372. ),
  11373. ),
  11374. 'Video' => array(
  11375. 'type' => 'object',
  11376. 'location' => 'xml',
  11377. 'properties' => array(
  11378. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11379. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11380. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11381. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  11382. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11383. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  11384. ),
  11385. ),
  11386. 'Container' => array(
  11387. 'type' => 'object',
  11388. 'location' => 'xml',
  11389. 'properties' => array(
  11390. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11391. ),
  11392. ),
  11393. 'AudioMix' => array(
  11394. 'type' => 'object',
  11395. 'location' => 'xml',
  11396. 'properties' => array(
  11397. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  11398. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11399. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  11400. 'EffectConfig' => array(
  11401. 'type' => 'object',
  11402. 'location' => 'xml',
  11403. 'properties' => array(
  11404. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  11405. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11406. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  11407. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11408. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  11409. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11410. ),
  11411. ),
  11412. ),
  11413. ),
  11414. 'AudioMixArray' => array(
  11415. 'type' => 'array',
  11416. 'location' => 'xml',
  11417. 'data' => array(
  11418. 'xmlFlattened' => true,
  11419. ),
  11420. 'items' => array(
  11421. 'type' => 'object',
  11422. 'name' => 'AudioMixArray',
  11423. 'sentAs' => 'AudioMixArray',
  11424. 'properties' => array(
  11425. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  11426. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11427. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  11428. 'EffectConfig' => array(
  11429. 'type' => 'object',
  11430. 'location' => 'xml',
  11431. 'properties' => array(
  11432. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  11433. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11434. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  11435. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11436. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  11437. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11438. ),
  11439. ),
  11440. ),
  11441. ),
  11442. ),
  11443. ),
  11444. ),
  11445. 'VoiceSeparate' => array(
  11446. 'type' => 'object',
  11447. 'location' => 'xml',
  11448. 'properties' => array(
  11449. 'AudioMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11450. 'AudioConfig' => array(
  11451. 'type' => 'object',
  11452. 'location' => 'xml',
  11453. 'properties' => array(
  11454. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11455. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  11456. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11457. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  11458. ),
  11459. ),
  11460. ),
  11461. ),
  11462. 'VideoMontage' => array(
  11463. 'type' => 'object',
  11464. 'location' => 'xml',
  11465. 'properties' => array(
  11466. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  11467. 'Scene' => array( 'type' => 'string', 'location' => 'xml', ),
  11468. 'Container' => array(
  11469. 'type' => 'object',
  11470. 'location' => 'xml',
  11471. 'properties' => array(
  11472. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11473. ),
  11474. ),
  11475. 'Video' => array(
  11476. 'type' => 'object',
  11477. 'location' => 'xml',
  11478. 'properties' => array(
  11479. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11480. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  11481. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  11482. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  11483. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11484. 'Crf' => array( 'type' => 'string', 'location' => 'xml', ),
  11485. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  11486. ),
  11487. ),
  11488. 'Audio' => array(
  11489. 'type' => 'object',
  11490. 'location' => 'xml',
  11491. 'properties' => array(
  11492. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11493. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  11494. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  11495. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  11496. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  11497. ),
  11498. ),
  11499. 'AudioMix' => array(
  11500. 'type' => 'object',
  11501. 'location' => 'xml',
  11502. 'properties' => array(
  11503. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  11504. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11505. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  11506. 'EffectConfig' => array(
  11507. 'type' => 'object',
  11508. 'location' => 'xml',
  11509. 'properties' => array(
  11510. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  11511. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11512. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  11513. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11514. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  11515. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11516. ),
  11517. ),
  11518. ),
  11519. ),
  11520. 'AudioMixArray' => array(
  11521. 'type' => 'array',
  11522. 'location' => 'xml',
  11523. 'data' => array(
  11524. 'xmlFlattened' => true,
  11525. ),
  11526. 'items' => array(
  11527. 'type' => 'object',
  11528. 'name' => 'AudioMixArray',
  11529. 'sentAs' => 'AudioMixArray',
  11530. 'properties' => array(
  11531. 'AudioSource' => array( 'type' => 'string', 'location' => 'xml', ),
  11532. 'MixMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11533. 'Replace' => array( 'type' => 'string', 'location' => 'xml', ),
  11534. 'EffectConfig' => array(
  11535. 'type' => 'object',
  11536. 'location' => 'xml',
  11537. 'properties' => array(
  11538. 'EnableStartFadein' => array( 'type' => 'string', 'location' => 'xml', ),
  11539. 'StartFadeinTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11540. 'EnableEndFadeout' => array( 'type' => 'string', 'location' => 'xml', ),
  11541. 'EndFadeoutTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11542. 'EnableBgmFade' => array( 'type' => 'string', 'location' => 'xml', ),
  11543. 'BgmFadeTime' => array( 'type' => 'string', 'location' => 'xml', ),
  11544. ),
  11545. ),
  11546. ),
  11547. ),
  11548. ),
  11549. ),
  11550. ),
  11551. 'SDRtoHDR' => array(
  11552. 'type' => 'object',
  11553. 'location' => 'xml',
  11554. 'properties' => array(
  11555. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11556. ),
  11557. ),
  11558. 'VideoProcess' => array(
  11559. 'type' => 'object',
  11560. 'location' => 'xml',
  11561. 'properties' => array(
  11562. 'ColorEnhance' => array(
  11563. 'type' => 'object',
  11564. 'location' => 'xml',
  11565. 'properties' => array(
  11566. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  11567. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  11568. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  11569. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  11570. ),
  11571. ),
  11572. 'MsSharpen' => array(
  11573. 'type' => 'object',
  11574. 'location' => 'xml',
  11575. 'properties' => array(
  11576. 'Enable' => array( 'type' => 'string', 'location' => 'xml', ),
  11577. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  11578. ),
  11579. ),
  11580. ),
  11581. ),
  11582. 'SuperResolution' => array(
  11583. 'type' => 'object',
  11584. 'location' => 'xml',
  11585. 'properties' => array(
  11586. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  11587. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  11588. ),
  11589. ),
  11590. 'Segment' => array(
  11591. 'type' => 'object',
  11592. 'location' => 'xml',
  11593. 'properties' => array(
  11594. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11595. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  11596. 'HlsEncrypt' => array(
  11597. 'type' => 'object',
  11598. 'location' => 'xml',
  11599. 'properties' => array(
  11600. 'IsHlsEncrypt' => array( 'type' => 'string', 'location' => 'xml', ),
  11601. 'UriKey' => array( 'type' => 'string', 'location' => 'xml', ),
  11602. ),
  11603. ),
  11604. ),
  11605. ),
  11606. 'ExtractDigitalWatermark' => array(
  11607. 'type' => 'object',
  11608. 'location' => 'xml',
  11609. 'properties' => array(
  11610. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  11611. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  11612. ),
  11613. ),
  11614. 'VideoTag' => array(
  11615. 'type' => 'object',
  11616. 'location' => 'xml',
  11617. 'properties' => array(
  11618. 'Scenario' => array( 'type' => 'string', 'location' => 'xml', ),
  11619. ),
  11620. ),
  11621. 'TtsTpl' => array(
  11622. 'type' => 'object',
  11623. 'location' => 'xml',
  11624. 'properties' => array(
  11625. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  11626. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  11627. 'VoiceType' => array( 'type' => 'string', 'location' => 'xml', ),
  11628. 'Volume' => array( 'type' => 'string', 'location' => 'xml', ),
  11629. 'Speed' => array( 'type' => 'string', 'location' => 'xml', ),
  11630. 'Emotion' => array( 'type' => 'string', 'location' => 'xml', ),
  11631. ),
  11632. ),
  11633. 'NoiseReduction' => array(
  11634. 'type' => 'object',
  11635. 'location' => 'xml',
  11636. 'properties' => array(
  11637. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11638. 'SampleRate' => array( 'type' => 'string', 'location' => 'xml', ),
  11639. ),
  11640. ),
  11641. ),
  11642. ),
  11643. 'CallBackMqConfig' => array(
  11644. 'type' => 'object',
  11645. 'location' => 'xml',
  11646. 'properties' => array(
  11647. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  11648. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11649. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  11650. ),
  11651. ),
  11652. ),
  11653. ),
  11654. ),
  11655. );
  11656. }
  11657. public static function CreateInventoryTriggerJobOutput() {
  11658. return array(
  11659. 'type' => 'object',
  11660. 'additionalProperties' => true,
  11661. 'properties' => array(
  11662. 'Body' => array(
  11663. 'type' => 'string',
  11664. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  11665. 'location' => 'body',
  11666. ),
  11667. 'RequestId' => array(
  11668. 'type' => 'string',
  11669. 'location' => 'header',
  11670. 'sentAs' => 'x-ci-request-id',
  11671. ),
  11672. 'ContentType' => array(
  11673. 'type' => 'string',
  11674. 'location' => 'header',
  11675. 'sentAs' => 'Content-Type',
  11676. ),
  11677. 'ContentLength' => array(
  11678. 'type' => 'numeric',
  11679. 'minimum'=> 0,
  11680. 'location' => 'header',
  11681. 'sentAs' => 'Content-Length',
  11682. ),
  11683. ),
  11684. );
  11685. }
  11686. public static function DescribeInventoryTriggerJobs() {
  11687. return array(
  11688. 'httpMethod' => 'GET',
  11689. 'uri' => '/{Bucket}inventorytriggerjob',
  11690. 'class' => 'Qcloud\\Cos\\Command',
  11691. 'responseClass' => 'DescribeInventoryTriggerJobsOutput',
  11692. 'responseType' => 'model',
  11693. 'parameters' => array(
  11694. 'Bucket' => array(
  11695. 'required' => true,
  11696. 'type' => 'string',
  11697. 'location' => 'uri',
  11698. ),
  11699. 'NextToken' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'nextToken' ),
  11700. 'Size' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'size' ),
  11701. 'OrderByTime' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'orderByTime' ),
  11702. 'States' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'states' ),
  11703. 'StartCreationTime' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'startCreationTime' ),
  11704. 'EndCreationTime' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'endCreationTime' ),
  11705. 'WorkflowId' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'workflowId' ),
  11706. 'JobId' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'jobId' ),
  11707. 'Name' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'name' ),
  11708. ),
  11709. );
  11710. }
  11711. public static function DescribeInventoryTriggerJobsOutput() {
  11712. return array(
  11713. 'type' => 'object',
  11714. 'additionalProperties' => true,
  11715. 'properties' => array(
  11716. 'Body' => array(
  11717. 'type' => 'string',
  11718. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  11719. 'location' => 'body',
  11720. ),
  11721. 'RequestId' => array(
  11722. 'type' => 'string',
  11723. 'location' => 'header',
  11724. 'sentAs' => 'x-ci-request-id',
  11725. ),
  11726. 'ContentType' => array(
  11727. 'type' => 'string',
  11728. 'location' => 'header',
  11729. 'sentAs' => 'Content-Type',
  11730. ),
  11731. 'ContentLength' => array(
  11732. 'type' => 'numeric',
  11733. 'minimum'=> 0,
  11734. 'location' => 'header',
  11735. 'sentAs' => 'Content-Length',
  11736. ),
  11737. ),
  11738. );
  11739. }
  11740. public static function DescribeInventoryTriggerJob() {
  11741. return array(
  11742. 'httpMethod' => 'GET',
  11743. 'uri' => '/{Bucket}inventorytriggerjob/{/Key*}',
  11744. 'class' => 'Qcloud\\Cos\\Command',
  11745. 'responseClass' => 'DescribeInventoryTriggerJobOutput',
  11746. 'responseType' => 'model',
  11747. 'parameters' => array(
  11748. 'Bucket' => array(
  11749. 'required' => true,
  11750. 'type' => 'string',
  11751. 'location' => 'uri',
  11752. ),
  11753. 'Key' => array(
  11754. 'required' => true,
  11755. 'type' => 'string',
  11756. 'location' => 'uri',
  11757. ),
  11758. ),
  11759. );
  11760. }
  11761. public static function DescribeInventoryTriggerJobOutput() {
  11762. return array(
  11763. 'type' => 'object',
  11764. 'additionalProperties' => true,
  11765. 'properties' => array(
  11766. 'Body' => array(
  11767. 'type' => 'string',
  11768. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  11769. 'location' => 'body',
  11770. ),
  11771. 'RequestId' => array(
  11772. 'type' => 'string',
  11773. 'location' => 'header',
  11774. 'sentAs' => 'x-ci-request-id',
  11775. ),
  11776. 'ContentType' => array(
  11777. 'type' => 'string',
  11778. 'location' => 'header',
  11779. 'sentAs' => 'Content-Type',
  11780. ),
  11781. 'ContentLength' => array(
  11782. 'type' => 'numeric',
  11783. 'minimum'=> 0,
  11784. 'location' => 'header',
  11785. 'sentAs' => 'Content-Length',
  11786. ),
  11787. ),
  11788. );
  11789. }
  11790. public static function CancelInventoryTriggerJob() {
  11791. return array(
  11792. 'httpMethod' => 'PUT',
  11793. 'uri' => '/{Bucket}inventorytriggerjob/{/Key*}?cancel',
  11794. 'class' => 'Qcloud\\Cos\\Command',
  11795. 'responseClass' => 'CancelInventoryTriggerJobOutput',
  11796. 'responseType' => 'model',
  11797. 'parameters' => array(
  11798. 'Bucket' => array(
  11799. 'required' => true,
  11800. 'type' => 'string',
  11801. 'location' => 'uri',
  11802. ),
  11803. 'Key' => array(
  11804. 'required' => true,
  11805. 'type' => 'string',
  11806. 'location' => 'uri',
  11807. ),
  11808. ),
  11809. );
  11810. }
  11811. public static function CancelInventoryTriggerJobOutput() {
  11812. return array(
  11813. 'type' => 'object',
  11814. 'additionalProperties' => true,
  11815. 'properties' => array(
  11816. 'RequestId' => array(
  11817. 'type' => 'string',
  11818. 'location' => 'header',
  11819. 'sentAs' => 'x-ci-request-id',
  11820. ),
  11821. 'ContentType' => array(
  11822. 'type' => 'string',
  11823. 'location' => 'header',
  11824. 'sentAs' => 'Content-Type',
  11825. ),
  11826. 'ContentLength' => array(
  11827. 'type' => 'numeric',
  11828. 'minimum'=> 0,
  11829. 'location' => 'header',
  11830. 'sentAs' => 'Content-Length',
  11831. ),
  11832. ),
  11833. );
  11834. }
  11835. public static function CreateMediaNoiseReductionJobs() {
  11836. return array(
  11837. 'httpMethod' => 'POST',
  11838. 'uri' => '/{Bucket}jobs',
  11839. 'class' => 'Qcloud\\Cos\\Command',
  11840. 'responseClass' => 'CreateMediaNoiseReductionJobsOutput',
  11841. 'responseType' => 'model',
  11842. 'data' => array(
  11843. 'xmlRoot' => array(
  11844. 'name' => 'Request',
  11845. ),
  11846. ),
  11847. 'parameters' => array(
  11848. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  11849. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  11850. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  11851. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  11852. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  11853. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  11854. 'Input' => array(
  11855. 'type' => 'object',
  11856. 'location' => 'xml',
  11857. 'properties' => array(
  11858. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  11859. ),
  11860. ),
  11861. 'Operation' => array(
  11862. 'type' => 'object',
  11863. 'location' => 'xml',
  11864. 'properties' => array(
  11865. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  11866. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  11867. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  11868. 'NoiseReduction' => array(
  11869. 'type' => 'object',
  11870. 'location' => 'xml',
  11871. 'properties' => array(
  11872. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  11873. 'SampleRate' => array( 'type' => 'string', 'location' => 'xml', ),
  11874. ),
  11875. ),
  11876. 'Output' => array(
  11877. 'type' => 'object',
  11878. 'location' => 'xml',
  11879. 'properties' => array(
  11880. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  11881. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  11882. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  11883. ),
  11884. ),
  11885. ),
  11886. ),
  11887. 'CallBackMqConfig' => array(
  11888. 'type' => 'object',
  11889. 'location' => 'xml',
  11890. 'properties' => array(
  11891. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  11892. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  11893. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  11894. ),
  11895. ),
  11896. ),
  11897. );
  11898. }
  11899. public static function CreateMediaNoiseReductionJobsOutput() {
  11900. return array(
  11901. 'type' => 'object',
  11902. 'additionalProperties' => true,
  11903. 'properties' => array(
  11904. 'Body' => array(
  11905. 'type' => 'string',
  11906. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  11907. 'location' => 'body',
  11908. ),
  11909. 'RequestId' => array(
  11910. 'type' => 'string',
  11911. 'location' => 'header',
  11912. 'sentAs' => 'x-ci-request-id',
  11913. ),
  11914. 'ContentType' => array(
  11915. 'type' => 'string',
  11916. 'location' => 'header',
  11917. 'sentAs' => 'Content-Type',
  11918. ),
  11919. 'ContentLength' => array(
  11920. 'type' => 'numeric',
  11921. 'minimum'=> 0,
  11922. 'location' => 'header',
  11923. 'sentAs' => 'Content-Length',
  11924. ),
  11925. ),
  11926. );
  11927. }
  11928. public static function ImageRepairProcess() {
  11929. return array(
  11930. 'httpMethod' => 'GET',
  11931. 'uri' => '/{Bucket}{/Key*}',
  11932. 'class' => 'Qcloud\\Cos\\Command',
  11933. 'responseClass' => 'ImageRepairProcessOutput',
  11934. 'responseType' => 'model',
  11935. 'parameters' => array(
  11936. 'Bucket' => array(
  11937. 'required' => true,
  11938. 'type' => 'string',
  11939. 'location' => 'uri',
  11940. ),
  11941. 'Key' => array(
  11942. 'required' => true,
  11943. 'type' => 'string',
  11944. 'location' => 'uri',
  11945. ),
  11946. 'ci-process' => array(
  11947. 'required' => true,
  11948. 'type' => 'string',
  11949. 'location' => 'query'
  11950. ),
  11951. 'MaskPic' => array(
  11952. 'type' => 'string',
  11953. 'location' => 'query',
  11954. ),
  11955. 'MaskPoly' => array(
  11956. 'type' => 'string',
  11957. 'location' => 'query',
  11958. ),
  11959. ),
  11960. );
  11961. }
  11962. public static function ImageRepairProcessOutput() {
  11963. return array(
  11964. 'type' => 'object',
  11965. 'additionalProperties' => true,
  11966. 'properties' => array(
  11967. 'Body' => array(
  11968. 'type' => 'string',
  11969. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  11970. 'location' => 'body',
  11971. ),
  11972. 'RequestId' => array(
  11973. 'type' => 'string',
  11974. 'location' => 'header',
  11975. 'sentAs' => 'x-cos-request-id',
  11976. ),
  11977. 'ContentType' => array(
  11978. 'type' => 'string',
  11979. 'location' => 'header',
  11980. 'sentAs' => 'Content-Type',
  11981. ),
  11982. 'ContentLength' => array(
  11983. 'type' => 'numeric',
  11984. 'minimum'=> 0,
  11985. 'location' => 'header',
  11986. 'sentAs' => 'Content-Length',
  11987. ),
  11988. ),
  11989. );
  11990. }
  11991. public static function ImageDetectCarProcess() {
  11992. return array(
  11993. 'httpMethod' => 'GET',
  11994. 'uri' => '/{Bucket}{/Key*}?ci-process=DetectCar',
  11995. 'class' => 'Qcloud\\Cos\\Command',
  11996. 'responseClass' => 'ImageDetectCarProcessOutput',
  11997. 'responseType' => 'model',
  11998. 'parameters' => array(
  11999. 'Bucket' => array(
  12000. 'required' => true,
  12001. 'type' => 'string',
  12002. 'location' => 'uri',
  12003. ),
  12004. 'Key' => array(
  12005. 'required' => true,
  12006. 'type' => 'string',
  12007. 'location' => 'uri',
  12008. ),
  12009. ),
  12010. );
  12011. }
  12012. public static function ImageDetectCarProcessOutput() {
  12013. return array(
  12014. 'type' => 'object',
  12015. 'additionalProperties' => true,
  12016. 'properties' => array(
  12017. 'RequestId' => array(
  12018. 'type' => 'string',
  12019. 'location' => 'header',
  12020. 'sentAs' => 'x-cos-request-id',
  12021. ),
  12022. 'ContentType' => array(
  12023. 'type' => 'string',
  12024. 'location' => 'header',
  12025. 'sentAs' => 'Content-Type',
  12026. ),
  12027. 'ContentLength' => array(
  12028. 'type' => 'numeric',
  12029. 'minimum'=> 0,
  12030. 'location' => 'header',
  12031. 'sentAs' => 'Content-Length',
  12032. ),
  12033. 'CarTags' => array(
  12034. 'type' => 'object',
  12035. 'location' => 'xml',
  12036. 'properties' => array(
  12037. 'Serial' => array( 'type' => 'string', 'location' => 'xml', ),
  12038. 'Brand' => array( 'type' => 'string', 'location' => 'xml', ),
  12039. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  12040. 'Color' => array( 'type' => 'string', 'location' => 'xml', ),
  12041. 'Confidence' => array( 'type' => 'numeric', 'location' => 'xml', ),
  12042. 'Year' => array( 'type' => 'numeric', 'location' => 'xml', ),
  12043. 'CarLocation' => array(
  12044. 'type' => 'object',
  12045. 'location' => 'xml',
  12046. 'properties' => array(
  12047. 'X' => array( 'type' => 'numeric', 'location' => 'xml', ),
  12048. 'Y' => array( 'type' => 'numeric', 'location' => 'xml', ),
  12049. ),
  12050. ),
  12051. 'PlateContent' => array(
  12052. 'type' => 'object',
  12053. 'location' => 'xml',
  12054. 'properties' => array(
  12055. 'Plate' => array( 'type' => 'string', 'location' => 'xml', ),
  12056. 'Color' => array( 'type' => 'string', 'location' => 'xml', ),
  12057. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  12058. 'PlateLocation' => array(
  12059. 'type' => 'object',
  12060. 'location' => 'xml',
  12061. 'properties' => array(
  12062. 'X' => array( 'type' => 'numeric', 'location' => 'xml', ),
  12063. 'Y' => array( 'type' => 'numeric', 'location' => 'xml', ),
  12064. ),
  12065. ),
  12066. ),
  12067. ),
  12068. ),
  12069. ),
  12070. ),
  12071. );
  12072. }
  12073. public static function ImageAssessQualityProcess() {
  12074. return array(
  12075. 'httpMethod' => 'GET',
  12076. 'uri' => '/{Bucket}{/Key*}?ci-process=AssessQuality',
  12077. 'class' => 'Qcloud\\Cos\\Command',
  12078. 'responseClass' => 'ImageAssessQualityProcessOutput',
  12079. 'responseType' => 'model',
  12080. 'parameters' => array(
  12081. 'Bucket' => array(
  12082. 'required' => true,
  12083. 'type' => 'string',
  12084. 'location' => 'uri',
  12085. ),
  12086. 'Key' => array(
  12087. 'required' => true,
  12088. 'type' => 'string',
  12089. 'location' => 'uri',
  12090. ),
  12091. ),
  12092. );
  12093. }
  12094. public static function ImageAssessQualityProcessOutput() {
  12095. return array(
  12096. 'type' => 'object',
  12097. 'additionalProperties' => true,
  12098. 'properties' => array(
  12099. 'RequestId' => array(
  12100. 'type' => 'string',
  12101. 'location' => 'header',
  12102. 'sentAs' => 'x-cos-request-id',
  12103. ),
  12104. 'ContentType' => array(
  12105. 'type' => 'string',
  12106. 'location' => 'header',
  12107. 'sentAs' => 'Content-Type',
  12108. ),
  12109. 'ContentLength' => array(
  12110. 'type' => 'numeric',
  12111. 'minimum'=> 0,
  12112. 'location' => 'header',
  12113. 'sentAs' => 'Content-Length',
  12114. ),
  12115. 'LongImage' => array( 'type' => 'string', 'location' => 'xml', ),
  12116. 'BlackAndWhite' => array( 'type' => 'string', 'location' => 'xml', ),
  12117. 'SmallImage' => array( 'type' => 'string', 'location' => 'xml', ),
  12118. 'BigImage' => array( 'type' => 'string', 'location' => 'xml', ),
  12119. 'PureImage' => array( 'type' => 'string', 'location' => 'xml', ),
  12120. 'ClarityScore' => array( 'type' => 'string', 'location' => 'xml', ),
  12121. 'AestheticScore' => array( 'type' => 'string', 'location' => 'xml', ),
  12122. ),
  12123. );
  12124. }
  12125. public static function ImageSearchOpen() {
  12126. return array(
  12127. 'httpMethod' => 'POST',
  12128. 'uri' => '/{Bucket}ImageSearchBucket',
  12129. 'class' => 'Qcloud\\Cos\\Command',
  12130. 'responseClass' => 'ImageSearchOpenOutput',
  12131. 'responseType' => 'model',
  12132. 'data' => array(
  12133. 'xmlRoot' => array(
  12134. 'name' => 'Request',
  12135. ),
  12136. ),
  12137. 'parameters' => array(
  12138. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12139. 'MaxCapacity' => array( 'location' => 'xml', 'type' => 'integer', ),
  12140. 'MaxQps' => array( 'location' => 'xml', 'type' => 'integer', ),
  12141. ),
  12142. );
  12143. }
  12144. public static function ImageSearchOpenOutput() {
  12145. return array(
  12146. 'type' => 'object',
  12147. 'additionalProperties' => true,
  12148. 'properties' => array(
  12149. 'RequestId' => array(
  12150. 'type' => 'string',
  12151. 'location' => 'header',
  12152. 'sentAs' => 'x-ci-request-id',
  12153. ),
  12154. 'ContentType' => array(
  12155. 'type' => 'string',
  12156. 'location' => 'header',
  12157. 'sentAs' => 'Content-Type',
  12158. ),
  12159. 'ContentLength' => array(
  12160. 'type' => 'numeric',
  12161. 'minimum'=> 0,
  12162. 'location' => 'header',
  12163. 'sentAs' => 'Content-Length',
  12164. ),
  12165. ),
  12166. );
  12167. }
  12168. public static function ImageSearchAdd() {
  12169. return array(
  12170. 'httpMethod' => 'POST',
  12171. 'uri' => '/{Bucket}{/Key*}?ci-process=ImageSearch&action=AddImage',
  12172. 'class' => 'Qcloud\\Cos\\Command',
  12173. 'responseClass' => 'ImageSearchAddOutput',
  12174. 'responseType' => 'model',
  12175. 'data' => array(
  12176. 'xmlRoot' => array(
  12177. 'name' => 'Request',
  12178. ),
  12179. ),
  12180. 'parameters' => array(
  12181. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12182. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12183. 'EntityId' => array( 'location' => 'xml', 'type' => 'string', ),
  12184. 'CustomContent' => array( 'location' => 'xml', 'type' => 'string', ),
  12185. 'Tags' => array( 'location' => 'xml', 'type' => 'string', ),
  12186. ),
  12187. );
  12188. }
  12189. public static function ImageSearchAddOutput() {
  12190. return array(
  12191. 'type' => 'object',
  12192. 'additionalProperties' => true,
  12193. 'properties' => array(
  12194. 'RequestId' => array(
  12195. 'type' => 'string',
  12196. 'location' => 'header',
  12197. 'sentAs' => 'x-cos-request-id',
  12198. ),
  12199. 'ContentType' => array(
  12200. 'type' => 'string',
  12201. 'location' => 'header',
  12202. 'sentAs' => 'Content-Type',
  12203. ),
  12204. 'ContentLength' => array(
  12205. 'type' => 'numeric',
  12206. 'minimum'=> 0,
  12207. 'location' => 'header',
  12208. 'sentAs' => 'Content-Length',
  12209. ),
  12210. ),
  12211. );
  12212. }
  12213. public static function ImageSearch() {
  12214. return array(
  12215. 'httpMethod' => 'GET',
  12216. 'uri' => '/{Bucket}{/Key*}?ci-process=ImageSearch&action=SearchImage',
  12217. 'class' => 'Qcloud\\Cos\\Command',
  12218. 'responseClass' => 'ImageSearchOutput',
  12219. 'responseType' => 'model',
  12220. 'parameters' => array(
  12221. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12222. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12223. 'MatchThreshold' => array( 'type' => 'integer', 'location' => 'query' ),
  12224. 'Offset' => array( 'type' => 'integer', 'location' => 'query' ),
  12225. 'Limit' => array( 'type' => 'integer', 'location' => 'query' ),
  12226. 'Filter' => array( 'type' => 'string', 'location' => 'query' ),
  12227. ),
  12228. );
  12229. }
  12230. public static function ImageSearchOutput() {
  12231. return array(
  12232. 'type' => 'object',
  12233. 'additionalProperties' => true,
  12234. 'properties' => array(
  12235. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12236. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12237. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12238. 'Count' => array('type' => 'integer', 'location' => 'xml',),
  12239. 'ImageInfos' => array(
  12240. 'type' => 'array',
  12241. 'location' => 'xml',
  12242. 'items' => array(
  12243. 'type' => 'object',
  12244. 'location' => 'xml',
  12245. 'properties' => array(
  12246. 'EntityId' => array( 'type' => 'string', 'location' => 'xml',),
  12247. 'CustomContent' => array( 'type' => 'string', 'location' => 'xml',),
  12248. 'Tags' => array( 'type' => 'string', 'location' => 'xml',),
  12249. 'PicName' => array( 'type' => 'string', 'location' => 'xml',),
  12250. 'Score' => array( 'type' => 'integer', 'location' => 'xml',),
  12251. ),
  12252. ),
  12253. ),
  12254. )
  12255. );
  12256. }
  12257. public static function ImageSearchDelete() {
  12258. return array(
  12259. 'httpMethod' => 'POST',
  12260. 'uri' => '/{Bucket}{/Key*}?ci-process=ImageSearch&action=DeleteImage',
  12261. 'class' => 'Qcloud\\Cos\\Command',
  12262. 'responseClass' => 'ImageSearchDeleteOutput',
  12263. 'responseType' => 'model',
  12264. 'data' => array(
  12265. 'xmlRoot' => array(
  12266. 'name' => 'Request',
  12267. ),
  12268. ),
  12269. 'parameters' => array(
  12270. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12271. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12272. 'EntityId' => array( 'location' => 'xml', 'type' => 'string', ),
  12273. ),
  12274. );
  12275. }
  12276. public static function ImageSearchDeleteOutput() {
  12277. return array(
  12278. 'type' => 'object',
  12279. 'additionalProperties' => true,
  12280. 'properties' => array(
  12281. 'RequestId' => array(
  12282. 'type' => 'string',
  12283. 'location' => 'header',
  12284. 'sentAs' => 'x-cos-request-id',
  12285. ),
  12286. 'ContentType' => array(
  12287. 'type' => 'string',
  12288. 'location' => 'header',
  12289. 'sentAs' => 'Content-Type',
  12290. ),
  12291. 'ContentLength' => array(
  12292. 'type' => 'numeric',
  12293. 'minimum'=> 0,
  12294. 'location' => 'header',
  12295. 'sentAs' => 'Content-Length',
  12296. ),
  12297. ),
  12298. );
  12299. }
  12300. public static function BindCiService() {
  12301. return array(
  12302. 'httpMethod' => 'PUT',
  12303. 'uri' => '/{Bucket}',
  12304. 'class' => 'Qcloud\\Cos\\Command',
  12305. 'responseClass' => 'BindCiServiceOutput',
  12306. 'responseType' => 'model',
  12307. 'parameters' => array(
  12308. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12309. ),
  12310. );
  12311. }
  12312. public static function BindCiServiceOutput() {
  12313. return array(
  12314. 'type' => 'object',
  12315. 'additionalProperties' => true,
  12316. 'properties' => array(
  12317. 'RequestId' => array(
  12318. 'type' => 'string',
  12319. 'location' => 'header',
  12320. 'sentAs' => 'x-cos-request-id',
  12321. ),
  12322. 'ContentType' => array(
  12323. 'type' => 'string',
  12324. 'location' => 'header',
  12325. 'sentAs' => 'Content-Type',
  12326. ),
  12327. 'ContentLength' => array(
  12328. 'type' => 'numeric',
  12329. 'minimum'=> 0,
  12330. 'location' => 'header',
  12331. 'sentAs' => 'Content-Length',
  12332. ),
  12333. ),
  12334. );
  12335. }
  12336. public static function GetCiService() {
  12337. return array(
  12338. 'httpMethod' => 'GET',
  12339. 'uri' => '/{Bucket}',
  12340. 'class' => 'Qcloud\\Cos\\Command',
  12341. 'responseClass' => 'GetCiServiceOutput',
  12342. 'responseType' => 'model',
  12343. 'parameters' => array(
  12344. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12345. ),
  12346. );
  12347. }
  12348. public static function GetCiServiceOutput() {
  12349. return array(
  12350. 'type' => 'object',
  12351. 'additionalProperties' => true,
  12352. 'properties' => array(
  12353. 'Body' => array(
  12354. 'type' => 'string',
  12355. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  12356. 'location' => 'body',
  12357. ),
  12358. 'RequestId' => array(
  12359. 'type' => 'string',
  12360. 'location' => 'header',
  12361. 'sentAs' => 'x-cos-request-id',
  12362. ),
  12363. 'ContentType' => array(
  12364. 'type' => 'string',
  12365. 'location' => 'header',
  12366. 'sentAs' => 'Content-Type',
  12367. ),
  12368. 'ContentLength' => array(
  12369. 'type' => 'numeric',
  12370. 'minimum'=> 0,
  12371. 'location' => 'header',
  12372. 'sentAs' => 'Content-Length',
  12373. ),
  12374. ),
  12375. );
  12376. }
  12377. public static function UnBindCiService() {
  12378. return array(
  12379. 'httpMethod' => 'PUT',
  12380. 'uri' => '/{Bucket}?unbind',
  12381. 'class' => 'Qcloud\\Cos\\Command',
  12382. 'responseClass' => 'UnBindCiServiceOutput',
  12383. 'responseType' => 'model',
  12384. 'parameters' => array(
  12385. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12386. ),
  12387. );
  12388. }
  12389. public static function UnBindCiServiceOutput() {
  12390. return array(
  12391. 'type' => 'object',
  12392. 'additionalProperties' => true,
  12393. 'properties' => array(
  12394. 'RequestId' => array(
  12395. 'type' => 'string',
  12396. 'location' => 'header',
  12397. 'sentAs' => 'x-cos-request-id',
  12398. ),
  12399. 'ContentType' => array(
  12400. 'type' => 'string',
  12401. 'location' => 'header',
  12402. 'sentAs' => 'Content-Type',
  12403. ),
  12404. 'ContentLength' => array(
  12405. 'type' => 'numeric',
  12406. 'minimum'=> 0,
  12407. 'location' => 'header',
  12408. 'sentAs' => 'Content-Length',
  12409. ),
  12410. ),
  12411. );
  12412. }
  12413. public static function GetHotLink() {
  12414. return array(
  12415. 'httpMethod' => 'GET',
  12416. 'uri' => '/{Bucket}?hotlink',
  12417. 'class' => 'Qcloud\\Cos\\Command',
  12418. 'responseClass' => 'GetHotLinkOutput',
  12419. 'responseType' => 'model',
  12420. 'parameters' => array(
  12421. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12422. ),
  12423. );
  12424. }
  12425. public static function GetHotLinkOutput() {
  12426. return array(
  12427. 'type' => 'object',
  12428. 'additionalProperties' => true,
  12429. 'properties' => array(
  12430. 'Body' => array(
  12431. 'type' => 'string',
  12432. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  12433. 'location' => 'body',
  12434. ),
  12435. 'RequestId' => array(
  12436. 'type' => 'string',
  12437. 'location' => 'header',
  12438. 'sentAs' => 'x-cos-request-id',
  12439. ),
  12440. 'ContentType' => array(
  12441. 'type' => 'string',
  12442. 'location' => 'header',
  12443. 'sentAs' => 'Content-Type',
  12444. ),
  12445. 'ContentLength' => array(
  12446. 'type' => 'numeric',
  12447. 'minimum'=> 0,
  12448. 'location' => 'header',
  12449. 'sentAs' => 'Content-Length',
  12450. ),
  12451. ),
  12452. );
  12453. }
  12454. public static function AddHotLink() {
  12455. return array(
  12456. 'httpMethod' => 'PUT',
  12457. 'uri' => '/{Bucket}?hotlink',
  12458. 'class' => 'Qcloud\\Cos\\Command',
  12459. 'responseClass' => 'AddHotLinkOutput',
  12460. 'responseType' => 'model',
  12461. 'data' => array(
  12462. 'xmlRoot' => array(
  12463. 'name' => 'Hotlink',
  12464. ),
  12465. ),
  12466. 'parameters' => array(
  12467. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12468. 'Type' => array( 'location' => 'xml', 'type' => 'string', ),
  12469. 'Urls' => array(
  12470. 'type' => 'array',
  12471. 'location' => 'xml',
  12472. 'data' => array(
  12473. 'xmlFlattened' => true,
  12474. ),
  12475. 'items' => array( 'name' => 'Url', 'type' => 'string', 'location' => 'xml', 'sentAs' => 'Url', ),
  12476. ),
  12477. ),
  12478. );
  12479. }
  12480. public static function AddHotLinkOutput() {
  12481. return array(
  12482. 'type' => 'object',
  12483. 'additionalProperties' => true,
  12484. 'properties' => array(
  12485. 'RequestId' => array(
  12486. 'type' => 'string',
  12487. 'location' => 'header',
  12488. 'sentAs' => 'x-cos-request-id',
  12489. ),
  12490. 'ContentType' => array(
  12491. 'type' => 'string',
  12492. 'location' => 'header',
  12493. 'sentAs' => 'Content-Type',
  12494. ),
  12495. 'ContentLength' => array(
  12496. 'type' => 'numeric',
  12497. 'minimum'=> 0,
  12498. 'location' => 'header',
  12499. 'sentAs' => 'Content-Length',
  12500. ),
  12501. ),
  12502. );
  12503. }
  12504. public static function OpenOriginProtect() {
  12505. return array(
  12506. 'httpMethod' => 'PUT',
  12507. 'uri' => '/{Bucket}?origin-protect',
  12508. 'class' => 'Qcloud\\Cos\\Command',
  12509. 'responseClass' => 'OpenOriginProtectOutput',
  12510. 'responseType' => 'model',
  12511. 'parameters' => array(
  12512. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12513. ),
  12514. );
  12515. }
  12516. public static function OpenOriginProtectOutput() {
  12517. return array(
  12518. 'type' => 'object',
  12519. 'additionalProperties' => true,
  12520. 'properties' => array(
  12521. 'RequestId' => array(
  12522. 'type' => 'string',
  12523. 'location' => 'header',
  12524. 'sentAs' => 'x-cos-request-id',
  12525. ),
  12526. 'ContentType' => array(
  12527. 'type' => 'string',
  12528. 'location' => 'header',
  12529. 'sentAs' => 'Content-Type',
  12530. ),
  12531. 'ContentLength' => array(
  12532. 'type' => 'numeric',
  12533. 'minimum'=> 0,
  12534. 'location' => 'header',
  12535. 'sentAs' => 'Content-Length',
  12536. ),
  12537. ),
  12538. );
  12539. }
  12540. public static function GetOriginProtect() {
  12541. return array(
  12542. 'httpMethod' => 'GET',
  12543. 'uri' => '/{Bucket}?origin-protect',
  12544. 'class' => 'Qcloud\\Cos\\Command',
  12545. 'responseClass' => 'GetOriginProtectOutput',
  12546. 'responseType' => 'model',
  12547. 'parameters' => array(
  12548. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12549. ),
  12550. );
  12551. }
  12552. public static function GetOriginProtectOutput() {
  12553. return array(
  12554. 'type' => 'object',
  12555. 'additionalProperties' => true,
  12556. 'properties' => array(
  12557. 'Body' => array(
  12558. 'type' => 'string',
  12559. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  12560. 'location' => 'body',
  12561. ),
  12562. 'RequestId' => array(
  12563. 'type' => 'string',
  12564. 'location' => 'header',
  12565. 'sentAs' => 'x-cos-request-id',
  12566. ),
  12567. 'ContentType' => array(
  12568. 'type' => 'string',
  12569. 'location' => 'header',
  12570. 'sentAs' => 'Content-Type',
  12571. ),
  12572. 'ContentLength' => array(
  12573. 'type' => 'numeric',
  12574. 'minimum'=> 0,
  12575. 'location' => 'header',
  12576. 'sentAs' => 'Content-Length',
  12577. ),
  12578. ),
  12579. );
  12580. }
  12581. public static function CloseOriginProtect() {
  12582. return array(
  12583. 'httpMethod' => 'DELETE',
  12584. 'uri' => '/{Bucket}?origin-protect',
  12585. 'class' => 'Qcloud\\Cos\\Command',
  12586. 'responseClass' => 'CloseOriginProtectOutput',
  12587. 'responseType' => 'model',
  12588. 'parameters' => array(
  12589. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12590. ),
  12591. );
  12592. }
  12593. public static function CloseOriginProtectOutput() {
  12594. return array(
  12595. 'type' => 'object',
  12596. 'additionalProperties' => true,
  12597. 'properties' => array(
  12598. 'RequestId' => array(
  12599. 'type' => 'string',
  12600. 'location' => 'header',
  12601. 'sentAs' => 'x-cos-request-id',
  12602. ),
  12603. 'ContentType' => array(
  12604. 'type' => 'string',
  12605. 'location' => 'header',
  12606. 'sentAs' => 'Content-Type',
  12607. ),
  12608. 'ContentLength' => array(
  12609. 'type' => 'numeric',
  12610. 'minimum'=> 0,
  12611. 'location' => 'header',
  12612. 'sentAs' => 'Content-Length',
  12613. ),
  12614. ),
  12615. );
  12616. }
  12617. public static function ImageDetectFace() {
  12618. return array(
  12619. 'httpMethod' => 'GET',
  12620. 'uri' => '/{Bucket}{/Key*}?ci-process=DetectFace',
  12621. 'class' => 'Qcloud\\Cos\\Command',
  12622. 'responseClass' => 'ImageDetectFaceOutput',
  12623. 'responseType' => 'model',
  12624. 'parameters' => array(
  12625. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12626. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12627. 'MaxFaceNum' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'max-face-num' ),
  12628. ),
  12629. );
  12630. }
  12631. public static function ImageDetectFaceOutput() {
  12632. return array(
  12633. 'type' => 'object',
  12634. 'additionalProperties' => true,
  12635. 'properties' => array(
  12636. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12637. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12638. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12639. 'ImageWidth' => array('type' => 'integer', 'location' => 'xml',),
  12640. 'ImageHeight' => array('type' => 'integer', 'location' => 'xml',),
  12641. 'FaceModelVersion' => array('type' => 'string', 'location' => 'xml',),
  12642. 'FaceInfos' => array(
  12643. 'type' => 'array',
  12644. 'location' => 'xml',
  12645. 'items' => array(
  12646. 'type' => 'object',
  12647. 'location' => 'xml',
  12648. 'properties' => array(
  12649. 'X' => array( 'type' => 'integer', 'location' => 'xml',),
  12650. 'Y' => array( 'type' => 'integer', 'location' => 'xml',),
  12651. 'Width' => array( 'type' => 'integer', 'location' => 'xml',),
  12652. 'Height' => array( 'type' => 'integer', 'location' => 'xml',),
  12653. ),
  12654. ),
  12655. ),
  12656. )
  12657. );
  12658. }
  12659. public static function ImageFaceEffect() {
  12660. return array(
  12661. 'httpMethod' => 'GET',
  12662. 'uri' => '/{Bucket}{/Key*}?ci-process=face-effect',
  12663. 'class' => 'Qcloud\\Cos\\Command',
  12664. 'responseClass' => 'ImageFaceEffectOutput',
  12665. 'responseType' => 'model',
  12666. 'parameters' => array(
  12667. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12668. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12669. 'type' => array( 'type' => 'string', 'location' => 'query', ),
  12670. 'whitening' => array( 'type' => 'integer', 'location' => 'query', ),
  12671. 'smoothing' => array( 'type' => 'integer', 'location' => 'query', ),
  12672. 'faceLifting' => array( 'type' => 'integer', 'location' => 'query', ),
  12673. 'eyeEnlarging' => array( 'type' => 'integer', 'location' => 'query', ),
  12674. 'gender' => array( 'type' => 'integer', 'location' => 'query', ),
  12675. 'age' => array( 'type' => 'integer', 'location' => 'query', ),
  12676. ),
  12677. );
  12678. }
  12679. public static function ImageFaceEffectOutput() {
  12680. return array(
  12681. 'type' => 'object',
  12682. 'additionalProperties' => true,
  12683. 'properties' => array(
  12684. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12685. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12686. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12687. 'ResultImage' => array('type' => 'string', 'location' => 'xml',),
  12688. 'ResultMask' => array('type' => 'string', 'location' => 'xml',),
  12689. )
  12690. );
  12691. }
  12692. public static function IDCardOCR() {
  12693. return array(
  12694. 'httpMethod' => 'GET',
  12695. 'uri' => '/{Bucket}{/Key*}?ci-process=IDCardOCR',
  12696. 'class' => 'Qcloud\\Cos\\Command',
  12697. 'responseClass' => 'IDCardOCROutput',
  12698. 'responseType' => 'model',
  12699. 'parameters' => array(
  12700. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12701. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12702. 'CardSide' => array( 'type' => 'string', 'location' => 'query', ),
  12703. 'Config' => array( 'type' => 'string', 'location' => 'query', ),
  12704. ),
  12705. );
  12706. }
  12707. public static function IDCardOCROutput() {
  12708. return array(
  12709. 'type' => 'object',
  12710. 'additionalProperties' => true,
  12711. 'properties' => array(
  12712. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12713. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12714. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12715. 'ResultImage' => array('type' => 'string', 'location' => 'xml',),
  12716. 'IdInfo' => array(
  12717. 'type' => 'object',
  12718. 'location' => 'xml',
  12719. 'properties' => array(
  12720. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  12721. 'Sex' => array( 'type' => 'string', 'location' => 'xml',),
  12722. 'Nation' => array( 'type' => 'string', 'location' => 'xml',),
  12723. 'Birth' => array( 'type' => 'string', 'location' => 'xml',),
  12724. 'Address' => array( 'type' => 'string', 'location' => 'xml',),
  12725. 'IdNum' => array( 'type' => 'string', 'location' => 'xml',),
  12726. 'Authority' => array( 'type' => 'string', 'location' => 'xml',),
  12727. 'ValidDate' => array( 'type' => 'string', 'location' => 'xml',),
  12728. ),
  12729. ),
  12730. 'AdvancedInfo' => array(
  12731. 'type' => 'object',
  12732. 'location' => 'xml',
  12733. 'properties' => array(
  12734. 'IdCard' => array( 'type' => 'string', 'location' => 'xml',),
  12735. 'Portrait' => array( 'type' => 'string', 'location' => 'xml',),
  12736. 'Quality' => array( 'type' => 'string', 'location' => 'xml',),
  12737. 'BorderCodeValue' => array( 'type' => 'string', 'location' => 'xml',),
  12738. 'WarnInfos' => array(
  12739. 'type' => 'array',
  12740. 'location' => 'xml',
  12741. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  12742. ),
  12743. ),
  12744. ),
  12745. )
  12746. );
  12747. }
  12748. public static function IDCardOCRByUpload() {
  12749. return array(
  12750. 'httpMethod' => 'PUT',
  12751. 'uri' => '/{Bucket}{/Key*}?ci-process=IDCardOCR',
  12752. 'class' => 'Qcloud\\Cos\\Command',
  12753. 'responseClass' => 'IDCardOCRByUploadOutput',
  12754. 'responseType' => 'model',
  12755. 'parameters' => array(
  12756. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12757. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12758. 'CardSide' => array( 'type' => 'string', 'location' => 'query', ),
  12759. 'Config' => array( 'type' => 'string', 'location' => 'query', ),
  12760. 'Body' => array(
  12761. 'required' => true,
  12762. 'type' => array( 'any' ),
  12763. 'location' => 'body'
  12764. ),
  12765. ),
  12766. );
  12767. }
  12768. public static function IDCardOCRByUploadOutput() {
  12769. return array(
  12770. 'type' => 'object',
  12771. 'additionalProperties' => true,
  12772. 'properties' => array(
  12773. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12774. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12775. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12776. 'ResultImage' => array('type' => 'string', 'location' => 'xml',),
  12777. 'IdInfo' => array(
  12778. 'type' => 'object',
  12779. 'location' => 'xml',
  12780. 'properties' => array(
  12781. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  12782. 'Sex' => array( 'type' => 'string', 'location' => 'xml',),
  12783. 'Nation' => array( 'type' => 'string', 'location' => 'xml',),
  12784. 'Birth' => array( 'type' => 'string', 'location' => 'xml',),
  12785. 'Address' => array( 'type' => 'string', 'location' => 'xml',),
  12786. 'IdNum' => array( 'type' => 'string', 'location' => 'xml',),
  12787. 'Authority' => array( 'type' => 'string', 'location' => 'xml',),
  12788. 'ValidDate' => array( 'type' => 'string', 'location' => 'xml',),
  12789. ),
  12790. ),
  12791. 'AdvancedInfo' => array(
  12792. 'type' => 'object',
  12793. 'location' => 'xml',
  12794. 'properties' => array(
  12795. 'IdCard' => array( 'type' => 'string', 'location' => 'xml',),
  12796. 'Portrait' => array( 'type' => 'string', 'location' => 'xml',),
  12797. 'Quality' => array( 'type' => 'string', 'location' => 'xml',),
  12798. 'BorderCodeValue' => array( 'type' => 'string', 'location' => 'xml',),
  12799. 'WarnInfos' => array(
  12800. 'type' => 'array',
  12801. 'location' => 'xml',
  12802. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  12803. ),
  12804. ),
  12805. ),
  12806. )
  12807. );
  12808. }
  12809. public static function GetLiveCode() {
  12810. return array(
  12811. 'httpMethod' => 'GET',
  12812. 'uri' => '/{Bucket}?ci-process=GetLiveCode',
  12813. 'class' => 'Qcloud\\Cos\\Command',
  12814. 'responseClass' => 'GetLiveCodeOutput',
  12815. 'responseType' => 'model',
  12816. 'parameters' => array(
  12817. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12818. ),
  12819. );
  12820. }
  12821. public static function GetLiveCodeOutput() {
  12822. return array(
  12823. 'type' => 'object',
  12824. 'additionalProperties' => true,
  12825. 'properties' => array(
  12826. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12827. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12828. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12829. 'LiveCode' => array('type' => 'string', 'location' => 'xml',),
  12830. )
  12831. );
  12832. }
  12833. public static function GetActionSequence() {
  12834. return array(
  12835. 'httpMethod' => 'GET',
  12836. 'uri' => '/{Bucket}?ci-process=GetActionSequence',
  12837. 'class' => 'Qcloud\\Cos\\Command',
  12838. 'responseClass' => 'GetActionSequenceOutput',
  12839. 'responseType' => 'model',
  12840. 'parameters' => array(
  12841. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12842. ),
  12843. );
  12844. }
  12845. public static function GetActionSequenceOutput() {
  12846. return array(
  12847. 'type' => 'object',
  12848. 'additionalProperties' => true,
  12849. 'properties' => array(
  12850. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  12851. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  12852. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  12853. 'ActionSequence' => array('type' => 'string', 'location' => 'xml',),
  12854. )
  12855. );
  12856. }
  12857. public static function DescribeDocProcessBuckets() {
  12858. return array(
  12859. 'httpMethod' => 'GET',
  12860. 'uri' => '/docbucket',
  12861. 'class' => 'Qcloud\\Cos\\Command',
  12862. 'responseClass' => 'DescribeDocProcessBucketsOutput',
  12863. 'responseType' => 'model',
  12864. 'parameters' => array(
  12865. 'Regions' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'regions' ),
  12866. 'BucketNames' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketNames' ),
  12867. 'BucketName' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketName' ),
  12868. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  12869. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  12870. ),
  12871. );
  12872. }
  12873. public static function DescribeDocProcessBucketsOutput() {
  12874. return array(
  12875. 'type' => 'object',
  12876. 'additionalProperties' => true,
  12877. 'properties' => array(
  12878. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  12879. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  12880. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  12881. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  12882. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  12883. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  12884. 'DocBucketList' => array(
  12885. 'type' => 'array',
  12886. 'location' => 'xml',
  12887. 'items' => array(
  12888. 'type' => 'object',
  12889. 'location' => 'xml',
  12890. 'properties' => array(
  12891. 'BucketId' => array( 'type' => 'string', 'location' => 'xml',),
  12892. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  12893. 'Region' => array( 'type' => 'string', 'location' => 'xml',),
  12894. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  12895. 'AliasBucketId' => array( 'type' => 'string', 'location' => 'xml',),
  12896. ),
  12897. ),
  12898. ),
  12899. ),
  12900. );
  12901. }
  12902. public static function UpdateDocProcessQueue() {
  12903. return array(
  12904. 'httpMethod' => 'PUT',
  12905. 'uri' => '/{Bucket}docqueue/{/Key*}',
  12906. 'class' => 'Qcloud\\Cos\\Command',
  12907. 'responseClass' => 'UpdateDocProcessQueueOutput',
  12908. 'responseType' => 'model',
  12909. 'data' => array(
  12910. 'xmlRoot' => array(
  12911. 'name' => 'Request',
  12912. ),
  12913. ),
  12914. 'parameters' => array(
  12915. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12916. 'Key' => array( 'type' => 'string', 'location' => 'uri', ),
  12917. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  12918. 'QueueID' => array( 'type' => 'string', 'location' => 'xml', ),
  12919. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  12920. 'NotifyConfig' => array(
  12921. 'location' => 'xml',
  12922. 'type' => 'object',
  12923. 'properties' => array(
  12924. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  12925. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  12926. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  12927. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  12928. ),
  12929. ),
  12930. ),
  12931. );
  12932. }
  12933. public static function UpdateDocProcessQueueOutput() {
  12934. return array(
  12935. 'type' => 'object',
  12936. 'additionalProperties' => true,
  12937. 'properties' => array(
  12938. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  12939. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  12940. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  12941. 'Queue' => array(
  12942. 'type' => 'object',
  12943. 'location' => 'xml',
  12944. 'properties' => array(
  12945. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  12946. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  12947. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  12948. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  12949. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  12950. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  12951. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml', ),
  12952. 'NotifyConfig' => array(
  12953. 'type' => 'object',
  12954. 'location' => 'xml',
  12955. 'properties' => array(
  12956. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  12957. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  12958. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  12959. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  12960. ),
  12961. ),
  12962. ),
  12963. ),
  12964. ),
  12965. );
  12966. }
  12967. public static function CreateMediaQualityEstimateJobs() {
  12968. return array(
  12969. 'httpMethod' => 'POST',
  12970. 'uri' => '/{Bucket}jobs',
  12971. 'class' => 'Qcloud\\Cos\\Command',
  12972. 'responseClass' => 'CreateMediaQualityEstimateJobsOutput',
  12973. 'responseType' => 'model',
  12974. 'data' => array(
  12975. 'xmlRoot' => array(
  12976. 'name' => 'Request',
  12977. ),
  12978. ),
  12979. 'parameters' => array(
  12980. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  12981. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  12982. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  12983. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  12984. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  12985. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  12986. 'Input' => array(
  12987. 'type' => 'object',
  12988. 'location' => 'xml',
  12989. 'properties' => array(
  12990. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  12991. ),
  12992. ),
  12993. 'Operation' => array(
  12994. 'type' => 'object',
  12995. 'location' => 'xml',
  12996. 'properties' => array(
  12997. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  12998. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  12999. 'QualityEstimateConfig' => array(
  13000. 'type' => 'object',
  13001. 'location' => 'xml',
  13002. 'properties' => array(
  13003. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  13004. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  13005. ),
  13006. ),
  13007. ),
  13008. ),
  13009. 'CallBackMqConfig' => array(
  13010. 'type' => 'object',
  13011. 'location' => 'xml',
  13012. 'properties' => array(
  13013. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13014. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13015. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13016. ),
  13017. ),
  13018. ),
  13019. );
  13020. }
  13021. public static function CreateMediaQualityEstimateJobsOutput() {
  13022. return array(
  13023. 'type' => 'object',
  13024. 'additionalProperties' => true,
  13025. 'properties' => array(
  13026. 'Body' => array(
  13027. 'type' => 'string',
  13028. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  13029. 'location' => 'body',
  13030. ),
  13031. 'RequestId' => array(
  13032. 'type' => 'string',
  13033. 'location' => 'header',
  13034. 'sentAs' => 'x-ci-request-id',
  13035. ),
  13036. 'ContentType' => array(
  13037. 'type' => 'string',
  13038. 'location' => 'header',
  13039. 'sentAs' => 'Content-Type',
  13040. ),
  13041. 'ContentLength' => array(
  13042. 'type' => 'numeric',
  13043. 'minimum'=> 0,
  13044. 'location' => 'header',
  13045. 'sentAs' => 'Content-Length',
  13046. ),
  13047. ),
  13048. );
  13049. }
  13050. public static function CreateMediaStreamExtractJobs() {
  13051. return array(
  13052. 'httpMethod' => 'POST',
  13053. 'uri' => '/{Bucket}jobs',
  13054. 'class' => 'Qcloud\\Cos\\Command',
  13055. 'responseClass' => 'CreateMediaStreamExtractJobsOutput',
  13056. 'responseType' => 'model',
  13057. 'data' => array(
  13058. 'xmlRoot' => array(
  13059. 'name' => 'Request',
  13060. ),
  13061. ),
  13062. 'parameters' => array(
  13063. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13064. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  13065. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  13066. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  13067. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  13068. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  13069. 'Input' => array(
  13070. 'type' => 'object',
  13071. 'location' => 'xml',
  13072. 'properties' => array(
  13073. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13074. ),
  13075. ),
  13076. 'Operation' => array(
  13077. 'type' => 'object',
  13078. 'location' => 'xml',
  13079. 'properties' => array(
  13080. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13081. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  13082. 'Output' => array(
  13083. 'type' => 'object',
  13084. 'location' => 'xml',
  13085. 'properties' => array(
  13086. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13087. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13088. 'StreamExtracts' => array(
  13089. 'type' => 'array',
  13090. 'location' => 'xml',
  13091. 'data' => array(
  13092. 'xmlFlattened' => true,
  13093. ),
  13094. 'items' => array(
  13095. 'name' => 'StreamExtract',
  13096. 'type' => 'object',
  13097. 'sentAs' => 'StreamExtract',
  13098. 'properties' => array(
  13099. 'Index' => array( 'type' => 'string', 'location' => 'xml', ),
  13100. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13101. ),
  13102. ),
  13103. ),
  13104. ),
  13105. ),
  13106. ),
  13107. ),
  13108. 'CallBackMqConfig' => array(
  13109. 'type' => 'object',
  13110. 'location' => 'xml',
  13111. 'properties' => array(
  13112. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13113. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13114. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13115. ),
  13116. ),
  13117. ),
  13118. );
  13119. }
  13120. public static function CreateMediaStreamExtractJobsOutput() {
  13121. return array(
  13122. 'type' => 'object',
  13123. 'additionalProperties' => true,
  13124. 'properties' => array(
  13125. 'Body' => array(
  13126. 'type' => 'string',
  13127. 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream',
  13128. 'location' => 'body',
  13129. ),
  13130. 'RequestId' => array(
  13131. 'type' => 'string',
  13132. 'location' => 'header',
  13133. 'sentAs' => 'x-ci-request-id',
  13134. ),
  13135. 'ContentType' => array(
  13136. 'type' => 'string',
  13137. 'location' => 'header',
  13138. 'sentAs' => 'Content-Type',
  13139. ),
  13140. 'ContentLength' => array(
  13141. 'type' => 'numeric',
  13142. 'minimum'=> 0,
  13143. 'location' => 'header',
  13144. 'sentAs' => 'Content-Length',
  13145. ),
  13146. ),
  13147. );
  13148. }
  13149. public static function FileJobs4Hash() {
  13150. return array(
  13151. 'httpMethod' => 'GET',
  13152. 'uri' => '/{Bucket}{/Key*}?ci-process=filehash',
  13153. 'class' => 'Qcloud\\Cos\\Command',
  13154. 'responseClass' => 'FileJobs4HashOutput',
  13155. 'responseType' => 'model',
  13156. 'parameters' => array(
  13157. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13158. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13159. 'Type' => array( 'required' => true, 'type' => 'string', 'location' => 'query', 'sentAs' => 'type', ),
  13160. 'AddToHeader' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'addtoheader', ),
  13161. ),
  13162. );
  13163. }
  13164. public static function FileJobs4HashOutput() {
  13165. return array(
  13166. 'type' => 'object',
  13167. 'additionalProperties' => true,
  13168. 'properties' => array(
  13169. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-cos-request-id', ),
  13170. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  13171. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  13172. 'FileHashCodeResult' => array(
  13173. 'type' => 'object',
  13174. 'location' => 'xml',
  13175. 'properties' => array(
  13176. 'MD5' => array( 'type' => 'string', 'location' => 'xml',),
  13177. 'SHA1' => array( 'type' => 'string', 'location' => 'xml',),
  13178. 'SHA256' => array( 'type' => 'string', 'location' => 'xml',),
  13179. 'FileSize' => array( 'type' => 'numeric', 'location' => 'xml',),
  13180. ),
  13181. ),
  13182. 'Input' => array(
  13183. 'type' => 'object',
  13184. 'location' => 'xml',
  13185. 'properties' => array(
  13186. 'Region' => array( 'type' => 'string', 'location' => 'xml',),
  13187. 'Bucket' => array( 'type' => 'string', 'location' => 'xml',),
  13188. 'Object' => array( 'type' => 'string', 'location' => 'xml',),
  13189. ),
  13190. ),
  13191. )
  13192. );
  13193. }
  13194. public static function OpenFileProcessService() {
  13195. return array(
  13196. 'httpMethod' => 'POST',
  13197. 'uri' => '/{Bucket}file_bucket',
  13198. 'class' => 'Qcloud\\Cos\\Command',
  13199. 'responseClass' => 'OpenFileProcessServiceOutput',
  13200. 'responseType' => 'model',
  13201. 'parameters' => array(
  13202. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13203. ),
  13204. );
  13205. }
  13206. public static function OpenFileProcessServiceOutput() {
  13207. return array(
  13208. 'type' => 'object',
  13209. 'additionalProperties' => true,
  13210. 'properties' => array(
  13211. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  13212. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  13213. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  13214. 'FileBucket' => array(
  13215. 'type' => 'object',
  13216. 'location' => 'xml',
  13217. 'properties' => array(
  13218. 'BucketId' => array( 'type' => 'string', 'location' => 'xml',),
  13219. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  13220. 'Region' => array( 'type' => 'string', 'location' => 'xml',),
  13221. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  13222. ),
  13223. ),
  13224. )
  13225. );
  13226. }
  13227. public static function GetFileProcessQueueList() {
  13228. return array(
  13229. 'httpMethod' => 'GET',
  13230. 'uri' => '/{Bucket}file_queue',
  13231. 'class' => 'Qcloud\\Cos\\Command',
  13232. 'responseClass' => 'GetFileProcessQueueListOutput',
  13233. 'responseType' => 'model',
  13234. 'parameters' => array(
  13235. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13236. 'QueueIds' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'queueIds', ),
  13237. 'State' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'state', ),
  13238. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber', ),
  13239. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize', ),
  13240. ),
  13241. );
  13242. }
  13243. public static function GetFileProcessQueueListOutput() {
  13244. return array(
  13245. 'type' => 'object',
  13246. 'additionalProperties' => true,
  13247. 'properties' => array(
  13248. 'RequestId' => array( 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  13249. 'ContentType' => array('type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type',),
  13250. 'ContentLength' => array('type' => 'numeric', 'minimum' => 0, 'location' => 'header', 'sentAs' => 'Content-Length',),
  13251. 'TotalCount' => array( 'type' => 'numeric', 'location' => 'xml',),
  13252. 'PageNumber' => array( 'type' => 'numeric', 'location' => 'xml',),
  13253. 'PageSize' => array( 'type' => 'numeric', 'location' => 'xml',),
  13254. 'QueueList' => array(
  13255. 'type' => 'array',
  13256. 'location' => 'xml',
  13257. 'items' => array(
  13258. 'type' => 'object',
  13259. 'location' => 'xml',
  13260. 'properties' => array(
  13261. 'QueueId' => array( 'type' => 'string', 'location' => 'xml',),
  13262. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  13263. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  13264. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  13265. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  13266. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml',),
  13267. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml',),
  13268. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml',),
  13269. 'NotifyConfig' => array(
  13270. 'type' => 'object',
  13271. 'location' => 'xml',
  13272. 'properties' => array(
  13273. 'Url' => array( 'type' => 'string', 'location' => 'xml',),
  13274. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  13275. 'Type' => array( 'type' => 'string', 'location' => 'xml',),
  13276. 'Event' => array( 'type' => 'string', 'location' => 'xml',),
  13277. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml',),
  13278. 'MqMode' => array( 'type' => 'string', 'location' => 'xml',),
  13279. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml',),
  13280. 'MqName' => array( 'type' => 'string', 'location' => 'xml',),
  13281. ),
  13282. ),
  13283. ),
  13284. ),
  13285. ),
  13286. 'NonExistPIDs' => array(
  13287. 'type' => 'array',
  13288. 'location' => 'xml',
  13289. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  13290. ),
  13291. )
  13292. );
  13293. }
  13294. public static function UpdateFileProcessQueue() {
  13295. return array(
  13296. 'httpMethod' => 'POST',
  13297. 'uri' => '/{Bucket}file_queue/{/Key*}',
  13298. 'class' => 'Qcloud\\Cos\\Command',
  13299. 'responseClass' => 'UpdateFileProcessQueueOutput',
  13300. 'responseType' => 'model',
  13301. 'data' => array(
  13302. 'xmlRoot' => array(
  13303. 'name' => 'Request',
  13304. ),
  13305. ),
  13306. 'parameters' => array(
  13307. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13308. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13309. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  13310. 'State' => array( 'location' => 'xml', 'type' => 'string', ),
  13311. 'NotifyConfig' => array(
  13312. 'type' => 'object',
  13313. 'location' => 'xml',
  13314. 'properties' => array(
  13315. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13316. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  13317. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  13318. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  13319. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  13320. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13321. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13322. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13323. ),
  13324. ),
  13325. ),
  13326. );
  13327. }
  13328. public static function UpdateFileProcessQueueOutput() {
  13329. return array(
  13330. 'type' => 'object',
  13331. 'additionalProperties' => true,
  13332. 'properties' => array(
  13333. 'RequestId' => array(
  13334. 'type' => 'string',
  13335. 'location' => 'header',
  13336. 'sentAs' => 'x-ci-request-id',
  13337. ),
  13338. 'ContentType' => array(
  13339. 'type' => 'string',
  13340. 'location' => 'header',
  13341. 'sentAs' => 'Content-Type',
  13342. ),
  13343. 'ContentLength' => array(
  13344. 'type' => 'numeric',
  13345. 'minimum'=> 0,
  13346. 'location' => 'header',
  13347. 'sentAs' => 'Content-Length',
  13348. ),
  13349. 'Queue' => array(
  13350. 'type' => 'object',
  13351. 'location' => 'xml',
  13352. 'properties' => array(
  13353. 'QueueId' => array( 'type' => 'string', 'location' => 'xml',),
  13354. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  13355. 'State' => array( 'type' => 'string', 'location' => 'xml',),
  13356. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  13357. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  13358. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml',),
  13359. 'MaxSize' => array( 'type' => 'numeric', 'location' => 'xml',),
  13360. 'MaxConcurrent' => array( 'type' => 'numeric', 'location' => 'xml',),
  13361. 'NotifyConfig' => array(
  13362. 'type' => 'object',
  13363. 'location' => 'xml',
  13364. 'properties' => array(
  13365. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13366. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  13367. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  13368. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  13369. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  13370. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13371. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13372. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13373. ),
  13374. ),
  13375. ),
  13376. ),
  13377. ),
  13378. );
  13379. }
  13380. public static function CreateFileHashCodeJobs() {
  13381. return array(
  13382. 'httpMethod' => 'POST',
  13383. 'uri' => '/{Bucket}file_jobs',
  13384. 'class' => 'Qcloud\\Cos\\Command',
  13385. 'responseClass' => 'CreateFileHashCodeJobsOutput',
  13386. 'responseType' => 'model',
  13387. 'data' => array(
  13388. 'xmlRoot' => array(
  13389. 'name' => 'Request',
  13390. ),
  13391. ),
  13392. 'parameters' => array(
  13393. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13394. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  13395. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  13396. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  13397. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  13398. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  13399. 'Input' => array(
  13400. 'type' => 'object',
  13401. 'location' => 'xml',
  13402. 'properties' => array(
  13403. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13404. ),
  13405. ),
  13406. 'Operation' => array(
  13407. 'type' => 'object',
  13408. 'location' => 'xml',
  13409. 'properties' => array(
  13410. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13411. 'FileHashCodeConfig' => array(
  13412. 'type' => 'object',
  13413. 'location' => 'xml',
  13414. 'properties' => array(
  13415. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  13416. 'AddToHeader' => array( 'type' => 'string', 'location' => 'xml', ),
  13417. ),
  13418. ),
  13419. ),
  13420. ),
  13421. 'CallBackMqConfig' => array(
  13422. 'type' => 'object',
  13423. 'location' => 'xml',
  13424. 'properties' => array(
  13425. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13426. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13427. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13428. ),
  13429. ),
  13430. ),
  13431. );
  13432. }
  13433. public static function CreateFileHashCodeJobsOutput() {
  13434. return array(
  13435. 'type' => 'object',
  13436. 'additionalProperties' => true,
  13437. 'properties' => array(
  13438. 'RequestId' => array(
  13439. 'type' => 'string',
  13440. 'location' => 'header',
  13441. 'sentAs' => 'x-ci-request-id',
  13442. ),
  13443. 'ContentType' => array(
  13444. 'type' => 'string',
  13445. 'location' => 'header',
  13446. 'sentAs' => 'Content-Type',
  13447. ),
  13448. 'ContentLength' => array(
  13449. 'type' => 'numeric',
  13450. 'minimum'=> 0,
  13451. 'location' => 'header',
  13452. 'sentAs' => 'Content-Length',
  13453. ),
  13454. 'JobsDetail' => array(
  13455. 'type' => 'object',
  13456. 'location' => 'xml',
  13457. 'properties' => array(
  13458. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  13459. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  13460. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  13461. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  13462. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13463. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13464. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13465. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13466. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  13467. 'Input' => array(
  13468. 'type' => 'object',
  13469. 'location' => 'xml',
  13470. 'properties' => array(
  13471. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13472. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13473. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13474. ),
  13475. ),
  13476. 'Operation' => array(
  13477. 'type' => 'object',
  13478. 'location' => 'xml',
  13479. 'properties' => array(
  13480. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13481. 'FileHashCodeConfig' => array(
  13482. 'type' => 'object',
  13483. 'location' => 'xml',
  13484. 'properties' => array(
  13485. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  13486. 'AddToHeader' => array( 'type' => 'string', 'location' => 'xml', ),
  13487. ),
  13488. ),
  13489. 'FileHashCodeResult' => array(
  13490. 'type' => 'object',
  13491. 'location' => 'xml',
  13492. 'properties' => array(
  13493. 'MD5' => array( 'type' => 'string', 'location' => 'xml', ),
  13494. 'SHA1' => array( 'type' => 'string', 'location' => 'xml', ),
  13495. 'SHA256' => array( 'type' => 'string', 'location' => 'xml', ),
  13496. 'LastModified' => array( 'type' => 'string', 'location' => 'xml', ),
  13497. 'Etag' => array( 'type' => 'string', 'location' => 'xml', ),
  13498. 'FileSize' => array( 'type' => 'numeric', 'location' => 'xml', ),
  13499. ),
  13500. ),
  13501. ),
  13502. ),
  13503. ),
  13504. ),
  13505. ),
  13506. );
  13507. }
  13508. public static function GetFileHashCodeResult() {
  13509. return array(
  13510. 'httpMethod' => 'GET',
  13511. 'uri' => '/{Bucket}file_jobs/{/Key*}',
  13512. 'class' => 'Qcloud\\Cos\\Command',
  13513. 'responseClass' => 'GetFileHashCodeResultOutput',
  13514. 'responseType' => 'model',
  13515. 'parameters' => array(
  13516. 'Bucket' => array(
  13517. 'required' => true,
  13518. 'type' => 'string',
  13519. 'location' => 'uri',
  13520. ),
  13521. 'Key' => array(
  13522. 'required' => true,
  13523. 'type' => 'string',
  13524. 'location' => 'uri',
  13525. ),
  13526. ),
  13527. );
  13528. }
  13529. public static function GetFileHashCodeResultOutput() {
  13530. return array(
  13531. 'type' => 'object',
  13532. 'additionalProperties' => true,
  13533. 'properties' => array(
  13534. 'RequestId' => array(
  13535. 'type' => 'string',
  13536. 'location' => 'header',
  13537. 'sentAs' => 'x-ci-request-id',
  13538. ),
  13539. 'ContentType' => array(
  13540. 'type' => 'string',
  13541. 'location' => 'header',
  13542. 'sentAs' => 'Content-Type',
  13543. ),
  13544. 'ContentLength' => array(
  13545. 'type' => 'numeric',
  13546. 'minimum'=> 0,
  13547. 'location' => 'header',
  13548. 'sentAs' => 'Content-Length',
  13549. ),
  13550. 'JobsDetail' => array(
  13551. 'type' => 'object',
  13552. 'location' => 'xml',
  13553. 'properties' => array(
  13554. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  13555. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  13556. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  13557. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  13558. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13559. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13560. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13561. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13562. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  13563. 'Input' => array(
  13564. 'type' => 'object',
  13565. 'location' => 'xml',
  13566. 'properties' => array(
  13567. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13568. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13569. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13570. ),
  13571. ),
  13572. 'Operation' => array(
  13573. 'type' => 'object',
  13574. 'location' => 'xml',
  13575. 'properties' => array(
  13576. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13577. 'FileHashCodeConfig' => array(
  13578. 'type' => 'object',
  13579. 'location' => 'xml',
  13580. 'properties' => array(
  13581. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  13582. 'AddToHeader' => array( 'type' => 'string', 'location' => 'xml', ),
  13583. ),
  13584. ),
  13585. 'FileHashCodeResult' => array(
  13586. 'type' => 'object',
  13587. 'location' => 'xml',
  13588. 'properties' => array(
  13589. 'MD5' => array( 'type' => 'string', 'location' => 'xml', ),
  13590. 'SHA1' => array( 'type' => 'string', 'location' => 'xml', ),
  13591. 'SHA256' => array( 'type' => 'string', 'location' => 'xml', ),
  13592. 'LastModified' => array( 'type' => 'string', 'location' => 'xml', ),
  13593. 'Etag' => array( 'type' => 'string', 'location' => 'xml', ),
  13594. 'FileSize' => array( 'type' => 'numeric', 'location' => 'xml', ),
  13595. ),
  13596. ),
  13597. ),
  13598. ),
  13599. ),
  13600. ),
  13601. 'NonExistJobIds' => array('type' => 'string', 'location' => 'xml',),
  13602. ),
  13603. );
  13604. }
  13605. public static function CreateFileUncompressJobs() {
  13606. return array(
  13607. 'httpMethod' => 'POST',
  13608. 'uri' => '/{Bucket}file_jobs',
  13609. 'class' => 'Qcloud\\Cos\\Command',
  13610. 'responseClass' => 'CreateFileUncompressJobsOutput',
  13611. 'responseType' => 'model',
  13612. 'data' => array(
  13613. 'xmlRoot' => array(
  13614. 'name' => 'Request',
  13615. ),
  13616. ),
  13617. 'parameters' => array(
  13618. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13619. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  13620. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  13621. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  13622. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  13623. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  13624. 'Input' => array(
  13625. 'type' => 'object',
  13626. 'location' => 'xml',
  13627. 'properties' => array(
  13628. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13629. ),
  13630. ),
  13631. 'Operation' => array(
  13632. 'type' => 'object',
  13633. 'location' => 'xml',
  13634. 'properties' => array(
  13635. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13636. 'FileUncompressConfig' => array(
  13637. 'type' => 'object',
  13638. 'location' => 'xml',
  13639. 'properties' => array(
  13640. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  13641. 'PrefixReplaced' => array( 'type' => 'string', 'location' => 'xml', ),
  13642. ),
  13643. ),
  13644. 'Output' => array(
  13645. 'type' => 'object',
  13646. 'location' => 'xml',
  13647. 'properties' => array(
  13648. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13649. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13650. ),
  13651. ),
  13652. ),
  13653. ),
  13654. 'CallBackMqConfig' => array(
  13655. 'type' => 'object',
  13656. 'location' => 'xml',
  13657. 'properties' => array(
  13658. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13659. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13660. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13661. ),
  13662. ),
  13663. ),
  13664. );
  13665. }
  13666. public static function CreateFileUncompressJobsOutput() {
  13667. return array(
  13668. 'type' => 'object',
  13669. 'additionalProperties' => true,
  13670. 'properties' => array(
  13671. 'RequestId' => array(
  13672. 'type' => 'string',
  13673. 'location' => 'header',
  13674. 'sentAs' => 'x-ci-request-id',
  13675. ),
  13676. 'ContentType' => array(
  13677. 'type' => 'string',
  13678. 'location' => 'header',
  13679. 'sentAs' => 'Content-Type',
  13680. ),
  13681. 'ContentLength' => array(
  13682. 'type' => 'numeric',
  13683. 'minimum'=> 0,
  13684. 'location' => 'header',
  13685. 'sentAs' => 'Content-Length',
  13686. ),
  13687. 'JobsDetail' => array(
  13688. 'type' => 'object',
  13689. 'location' => 'xml',
  13690. 'properties' => array(
  13691. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  13692. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  13693. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  13694. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  13695. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13696. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13697. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13698. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13699. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  13700. 'Input' => array(
  13701. 'type' => 'object',
  13702. 'location' => 'xml',
  13703. 'properties' => array(
  13704. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13705. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13706. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13707. ),
  13708. ),
  13709. 'Operation' => array(
  13710. 'type' => 'object',
  13711. 'location' => 'xml',
  13712. 'properties' => array(
  13713. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13714. 'Output' => array(
  13715. 'type' => 'object',
  13716. 'location' => 'xml',
  13717. 'properties' => array(
  13718. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13719. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13720. ),
  13721. ),
  13722. 'FileUncompressConfig' => array(
  13723. 'type' => 'object',
  13724. 'location' => 'xml',
  13725. 'properties' => array(
  13726. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  13727. 'PrefixReplaced' => array( 'type' => 'string', 'location' => 'xml', ),
  13728. ),
  13729. ),
  13730. 'FileUncompressResult' => array(
  13731. 'type' => 'object',
  13732. 'location' => 'xml',
  13733. 'properties' => array(
  13734. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13735. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13736. 'FileCount' => array( 'type' => 'string', 'location' => 'xml', ),
  13737. ),
  13738. ),
  13739. ),
  13740. ),
  13741. ),
  13742. ),
  13743. ),
  13744. );
  13745. }
  13746. public static function GetFileUncompressResult() {
  13747. return array(
  13748. 'httpMethod' => 'GET',
  13749. 'uri' => '/{Bucket}file_jobs/{/Key*}',
  13750. 'class' => 'Qcloud\\Cos\\Command',
  13751. 'responseClass' => 'GetFileUncompressResultOutput',
  13752. 'responseType' => 'model',
  13753. 'parameters' => array(
  13754. 'Bucket' => array(
  13755. 'required' => true,
  13756. 'type' => 'string',
  13757. 'location' => 'uri',
  13758. ),
  13759. 'Key' => array(
  13760. 'required' => true,
  13761. 'type' => 'string',
  13762. 'location' => 'uri',
  13763. ),
  13764. ),
  13765. );
  13766. }
  13767. public static function GetFileUncompressResultOutput() {
  13768. return array(
  13769. 'type' => 'object',
  13770. 'additionalProperties' => true,
  13771. 'properties' => array(
  13772. 'RequestId' => array(
  13773. 'type' => 'string',
  13774. 'location' => 'header',
  13775. 'sentAs' => 'x-ci-request-id',
  13776. ),
  13777. 'ContentType' => array(
  13778. 'type' => 'string',
  13779. 'location' => 'header',
  13780. 'sentAs' => 'Content-Type',
  13781. ),
  13782. 'ContentLength' => array(
  13783. 'type' => 'numeric',
  13784. 'minimum'=> 0,
  13785. 'location' => 'header',
  13786. 'sentAs' => 'Content-Length',
  13787. ),
  13788. 'JobsDetail' => array(
  13789. 'type' => 'object',
  13790. 'location' => 'xml',
  13791. 'properties' => array(
  13792. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  13793. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  13794. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  13795. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  13796. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13797. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13798. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13799. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13800. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  13801. 'Input' => array(
  13802. 'type' => 'object',
  13803. 'location' => 'xml',
  13804. 'properties' => array(
  13805. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13806. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13807. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13808. ),
  13809. ),
  13810. 'Operation' => array(
  13811. 'type' => 'object',
  13812. 'location' => 'xml',
  13813. 'properties' => array(
  13814. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13815. 'Output' => array(
  13816. 'type' => 'object',
  13817. 'location' => 'xml',
  13818. 'properties' => array(
  13819. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13820. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13821. ),
  13822. ),
  13823. 'FileUncompressConfig' => array(
  13824. 'type' => 'object',
  13825. 'location' => 'xml',
  13826. 'properties' => array(
  13827. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  13828. 'PrefixReplaced' => array( 'type' => 'string', 'location' => 'xml', ),
  13829. ),
  13830. ),
  13831. 'FileUncompressResult' => array(
  13832. 'type' => 'object',
  13833. 'location' => 'xml',
  13834. 'properties' => array(
  13835. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13836. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13837. 'FileCount' => array( 'type' => 'string', 'location' => 'xml', ),
  13838. ),
  13839. ),
  13840. ),
  13841. ),
  13842. ),
  13843. ),
  13844. 'NonExistJobIds' => array('type' => 'string', 'location' => 'xml',),
  13845. ),
  13846. );
  13847. }
  13848. public static function CreateFileCompressJobs() {
  13849. return array(
  13850. 'httpMethod' => 'POST',
  13851. 'uri' => '/{Bucket}file_jobs',
  13852. 'class' => 'Qcloud\\Cos\\Command',
  13853. 'responseClass' => 'CreateFileCompressJobsOutput',
  13854. 'responseType' => 'model',
  13855. 'data' => array(
  13856. 'xmlRoot' => array(
  13857. 'name' => 'Request',
  13858. ),
  13859. ),
  13860. 'parameters' => array(
  13861. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  13862. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  13863. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  13864. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  13865. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  13866. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  13867. 'Operation' => array(
  13868. 'type' => 'object',
  13869. 'location' => 'xml',
  13870. 'properties' => array(
  13871. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13872. 'FileCompressConfig' => array(
  13873. 'type' => 'object',
  13874. 'location' => 'xml',
  13875. 'properties' => array(
  13876. 'Flatten' => array( 'type' => 'string', 'location' => 'xml', ),
  13877. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  13878. 'UrlList' => array( 'type' => 'string', 'location' => 'xml', ),
  13879. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  13880. 'Keys' => array(
  13881. 'type' => 'array',
  13882. 'location' => 'xml',
  13883. 'data' => array(
  13884. 'xmlFlattened' => true),
  13885. 'items' => array(
  13886. 'name' => 'Key',
  13887. 'type' => 'string',
  13888. 'sentAs' => 'Key',
  13889. 'location' => 'xml',
  13890. )
  13891. ),
  13892. ),
  13893. ),
  13894. 'Output' => array(
  13895. 'type' => 'object',
  13896. 'location' => 'xml',
  13897. 'properties' => array(
  13898. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13899. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13900. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13901. ),
  13902. ),
  13903. ),
  13904. ),
  13905. 'CallBackMqConfig' => array(
  13906. 'type' => 'object',
  13907. 'location' => 'xml',
  13908. 'properties' => array(
  13909. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  13910. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  13911. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  13912. ),
  13913. ),
  13914. ),
  13915. );
  13916. }
  13917. public static function CreateFileCompressJobsOutput() {
  13918. return array(
  13919. 'type' => 'object',
  13920. 'additionalProperties' => true,
  13921. 'properties' => array(
  13922. 'RequestId' => array(
  13923. 'type' => 'string',
  13924. 'location' => 'header',
  13925. 'sentAs' => 'x-ci-request-id',
  13926. ),
  13927. 'ContentType' => array(
  13928. 'type' => 'string',
  13929. 'location' => 'header',
  13930. 'sentAs' => 'Content-Type',
  13931. ),
  13932. 'ContentLength' => array(
  13933. 'type' => 'numeric',
  13934. 'minimum'=> 0,
  13935. 'location' => 'header',
  13936. 'sentAs' => 'Content-Length',
  13937. ),
  13938. 'JobsDetail' => array(
  13939. 'type' => 'object',
  13940. 'location' => 'xml',
  13941. 'properties' => array(
  13942. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  13943. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  13944. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  13945. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  13946. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  13947. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13948. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13949. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  13950. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  13951. 'Operation' => array(
  13952. 'type' => 'object',
  13953. 'location' => 'xml',
  13954. 'properties' => array(
  13955. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  13956. 'Output' => array(
  13957. 'type' => 'object',
  13958. 'location' => 'xml',
  13959. 'properties' => array(
  13960. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13961. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13962. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13963. ),
  13964. ),
  13965. 'FileCompressConfig' => array(
  13966. 'type' => 'object',
  13967. 'location' => 'xml',
  13968. 'properties' => array(
  13969. 'Flatten' => array( 'type' => 'string', 'location' => 'xml', ),
  13970. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  13971. 'UrlList' => array( 'type' => 'string', 'location' => 'xml', ),
  13972. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  13973. 'Key' => array(
  13974. 'type' => 'array',
  13975. 'location' => 'xml',
  13976. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  13977. ),
  13978. ),
  13979. ),
  13980. 'FileCompressResult' => array(
  13981. 'type' => 'object',
  13982. 'location' => 'xml',
  13983. 'properties' => array(
  13984. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  13985. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  13986. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  13987. ),
  13988. ),
  13989. ),
  13990. ),
  13991. ),
  13992. ),
  13993. ),
  13994. );
  13995. }
  13996. public static function GetFileCompressResult() {
  13997. return array(
  13998. 'httpMethod' => 'GET',
  13999. 'uri' => '/{Bucket}file_jobs/{/Key*}',
  14000. 'class' => 'Qcloud\\Cos\\Command',
  14001. 'responseClass' => 'GetFileCompressResultOutput',
  14002. 'responseType' => 'model',
  14003. 'parameters' => array(
  14004. 'Bucket' => array(
  14005. 'required' => true,
  14006. 'type' => 'string',
  14007. 'location' => 'uri',
  14008. ),
  14009. 'Key' => array(
  14010. 'required' => true,
  14011. 'type' => 'string',
  14012. 'location' => 'uri',
  14013. ),
  14014. ),
  14015. );
  14016. }
  14017. public static function GetFileCompressResultOutput() {
  14018. return array(
  14019. 'type' => 'object',
  14020. 'additionalProperties' => true,
  14021. 'properties' => array(
  14022. 'RequestId' => array(
  14023. 'type' => 'string',
  14024. 'location' => 'header',
  14025. 'sentAs' => 'x-ci-request-id',
  14026. ),
  14027. 'ContentType' => array(
  14028. 'type' => 'string',
  14029. 'location' => 'header',
  14030. 'sentAs' => 'Content-Type',
  14031. ),
  14032. 'ContentLength' => array(
  14033. 'type' => 'numeric',
  14034. 'minimum'=> 0,
  14035. 'location' => 'header',
  14036. 'sentAs' => 'Content-Length',
  14037. ),
  14038. 'JobsDetail' => array(
  14039. 'type' => 'object',
  14040. 'location' => 'xml',
  14041. 'properties' => array(
  14042. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  14043. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  14044. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  14045. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  14046. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14047. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14048. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14049. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14050. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  14051. 'Operation' => array(
  14052. 'type' => 'object',
  14053. 'location' => 'xml',
  14054. 'properties' => array(
  14055. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  14056. 'Output' => array(
  14057. 'type' => 'object',
  14058. 'location' => 'xml',
  14059. 'properties' => array(
  14060. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  14061. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  14062. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  14063. ),
  14064. ),
  14065. 'FileCompressConfig' => array(
  14066. 'type' => 'object',
  14067. 'location' => 'xml',
  14068. 'properties' => array(
  14069. 'Flatten' => array( 'type' => 'string', 'location' => 'xml', ),
  14070. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  14071. 'UrlList' => array( 'type' => 'string', 'location' => 'xml', ),
  14072. 'Prefix' => array( 'type' => 'string', 'location' => 'xml', ),
  14073. 'Key' => array(
  14074. 'type' => 'array',
  14075. 'location' => 'xml',
  14076. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  14077. ),
  14078. ),
  14079. ),
  14080. 'FileCompressResult' => array(
  14081. 'type' => 'object',
  14082. 'location' => 'xml',
  14083. 'properties' => array(
  14084. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  14085. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  14086. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  14087. ),
  14088. ),
  14089. ),
  14090. ),
  14091. ),
  14092. ),
  14093. 'NonExistJobIds' => array('type' => 'string', 'location' => 'xml',),
  14094. ),
  14095. );
  14096. }
  14097. public static function CreateM3U8PlayListJobs() {
  14098. return array(
  14099. 'httpMethod' => 'POST',
  14100. 'uri' => '/{Bucket}m3u8_playlist',
  14101. 'class' => 'Qcloud\\Cos\\Command',
  14102. 'responseClass' => 'CreateM3U8PlayListJobsOutput',
  14103. 'responseType' => 'model',
  14104. 'data' => array(
  14105. 'xmlRoot' => array(
  14106. 'name' => 'Request',
  14107. ),
  14108. ),
  14109. 'parameters' => array(
  14110. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14111. 'StartTime' => array( 'location' => 'query', 'type' => 'integer', 'sentAs' => 'startTime'),
  14112. 'EndTime' => array( 'location' => 'query', 'type' => 'integer', 'sentAs' => 'endTime'),
  14113. 'Operation' => array(
  14114. 'type' => 'object',
  14115. 'location' => 'xml',
  14116. 'properties' => array(
  14117. 'M3U8List' => array(
  14118. 'type' => 'array',
  14119. 'location' => 'xml',
  14120. 'data' => array('xmlFlattened' => true),
  14121. 'items' => array(
  14122. 'name' => 'M3U8List',
  14123. 'type' => 'object',
  14124. 'sentAs' => 'M3U8List',
  14125. 'properties' => array(
  14126. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  14127. 'Index' => array( 'type' => 'string', 'location' => 'xml', ),
  14128. 'ObjectPath' => array( 'type' => 'string', 'location' => 'xml', ),
  14129. ),
  14130. ),
  14131. ),
  14132. 'Output' => array(
  14133. 'type' => 'object',
  14134. 'location' => 'xml',
  14135. 'properties' => array(
  14136. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  14137. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  14138. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  14139. ),
  14140. ),
  14141. ),
  14142. ),
  14143. ),
  14144. );
  14145. }
  14146. public static function CreateM3U8PlayListJobsOutput() {
  14147. return array(
  14148. 'type' => 'object',
  14149. 'additionalProperties' => true,
  14150. 'properties' => array(
  14151. 'RequestId' => array(
  14152. 'type' => 'string',
  14153. 'location' => 'header',
  14154. 'sentAs' => 'x-ci-request-id',
  14155. ),
  14156. 'ContentType' => array(
  14157. 'type' => 'string',
  14158. 'location' => 'header',
  14159. 'sentAs' => 'Content-Type',
  14160. ),
  14161. 'ContentLength' => array(
  14162. 'type' => 'numeric',
  14163. 'minimum'=> 0,
  14164. 'location' => 'header',
  14165. 'sentAs' => 'Content-Length',
  14166. ),
  14167. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14168. 'Operation' => array(
  14169. 'type' => 'object',
  14170. 'location' => 'xml',
  14171. 'properties' => array(
  14172. 'M3U8List' => array(
  14173. 'type' => 'array',
  14174. 'location' => 'xml',
  14175. 'items' => array(
  14176. 'type' => 'object',
  14177. 'location' => 'xml',
  14178. 'properties' => array(
  14179. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  14180. 'Index' => array( 'type' => 'string', 'location' => 'xml', ),
  14181. 'ObjectPath' => array( 'type' => 'string', 'location' => 'xml', ),
  14182. ),
  14183. ),
  14184. ),
  14185. 'Output' => array(
  14186. 'type' => 'object',
  14187. 'location' => 'xml',
  14188. 'properties' => array(
  14189. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  14190. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  14191. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  14192. ),
  14193. ),
  14194. ),
  14195. ),
  14196. 'ResultInfo' => array(
  14197. 'type' => 'object',
  14198. 'location' => 'xml',
  14199. 'properties' => array(
  14200. 'OutputUrl' => array( 'type' => 'string', 'location' => 'xml', ),
  14201. 'ErrorInfo' => array(
  14202. 'type' => 'array',
  14203. 'location' => 'xml',
  14204. 'items' => array(
  14205. 'type' => 'object',
  14206. 'location' => 'xml',
  14207. 'properties' => array(
  14208. 'ObjectPath' => array( 'type' => 'string', 'location' => 'xml', ),
  14209. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  14210. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  14211. ),
  14212. ),
  14213. ),
  14214. ),
  14215. ),
  14216. ),
  14217. );
  14218. }
  14219. public static function GetPicQueueList() {
  14220. return array(
  14221. 'httpMethod' => 'GET',
  14222. 'uri' => '/{Bucket}picqueue',
  14223. 'class' => 'Qcloud\\Cos\\Command',
  14224. 'responseClass' => 'GetPicQueueListOutput',
  14225. 'responseType' => 'model',
  14226. 'parameters' => array(
  14227. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14228. 'QueueIds' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'queueIds' ),
  14229. 'State' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'state' ),
  14230. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  14231. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  14232. ),
  14233. );
  14234. }
  14235. public static function GetPicQueueListOutput() {
  14236. return array(
  14237. 'type' => 'object',
  14238. 'additionalProperties' => true,
  14239. 'properties' => array(
  14240. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14241. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14242. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14243. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  14244. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  14245. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14246. 'QueueList' => array(
  14247. 'type' => 'array',
  14248. 'location' => 'xml',
  14249. 'items' => array(
  14250. 'type' => 'object',
  14251. 'location' => 'xml',
  14252. 'properties' => array(
  14253. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  14254. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14255. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14256. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14257. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml', ),
  14258. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  14259. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14260. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14261. 'NotifyConfig' => array(
  14262. 'type' => 'object',
  14263. 'location' => 'xml',
  14264. 'properties' => array(
  14265. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  14266. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14267. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  14268. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  14269. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  14270. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  14271. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  14272. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  14273. ),
  14274. ),
  14275. ),
  14276. ),
  14277. ),
  14278. 'NonExistPIDs' => array(
  14279. 'type' => 'array',
  14280. 'location' => 'xml',
  14281. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  14282. ),
  14283. ),
  14284. );
  14285. }
  14286. public static function UpdatePicQueue() {
  14287. return array(
  14288. 'httpMethod' => 'PUT',
  14289. 'uri' => '/{Bucket}picqueue/{/Key*}',
  14290. 'class' => 'Qcloud\\Cos\\Command',
  14291. 'responseClass' => 'UpdatePicQueueOutput',
  14292. 'responseType' => 'model',
  14293. 'data' => array(
  14294. 'xmlRoot' => array(
  14295. 'name' => 'Request',
  14296. ),
  14297. ),
  14298. 'parameters' => array(
  14299. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14300. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14301. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  14302. 'State' => array( 'location' => 'xml', 'type' => 'string', ),
  14303. 'NotifyConfig' => array(
  14304. 'type' => 'object',
  14305. 'location' => 'xml',
  14306. 'properties' => array(
  14307. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14308. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  14309. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  14310. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  14311. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  14312. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  14313. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  14314. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  14315. ),
  14316. ),
  14317. ),
  14318. );
  14319. }
  14320. public static function UpdatePicQueueOutput() {
  14321. return array(
  14322. 'type' => 'object',
  14323. 'additionalProperties' => true,
  14324. 'properties' => array(
  14325. 'RequestId' => array(
  14326. 'type' => 'string',
  14327. 'location' => 'header',
  14328. 'sentAs' => 'x-ci-request-id',
  14329. ),
  14330. 'ContentType' => array(
  14331. 'type' => 'string',
  14332. 'location' => 'header',
  14333. 'sentAs' => 'Content-Type',
  14334. ),
  14335. 'ContentLength' => array(
  14336. 'type' => 'numeric',
  14337. 'minimum'=> 0,
  14338. 'location' => 'header',
  14339. 'sentAs' => 'Content-Length',
  14340. ),
  14341. 'Queue' => array(
  14342. 'type' => 'object',
  14343. 'location' => 'xml',
  14344. 'properties' => array(
  14345. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  14346. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14347. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14348. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14349. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml', ),
  14350. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  14351. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14352. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14353. 'NotifyConfig' => array(
  14354. 'type' => 'object',
  14355. 'location' => 'xml',
  14356. 'properties' => array(
  14357. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14358. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  14359. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  14360. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  14361. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  14362. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  14363. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  14364. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  14365. ),
  14366. ),
  14367. ),
  14368. ),
  14369. ),
  14370. );
  14371. }
  14372. public static function GetPicBucketList() {
  14373. return array(
  14374. 'httpMethod' => 'GET',
  14375. 'uri' => '/picbucket',
  14376. 'class' => 'Qcloud\\Cos\\Command',
  14377. 'responseClass' => 'GetPicBucketListOutput',
  14378. 'responseType' => 'model',
  14379. 'parameters' => array(
  14380. 'Regions' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'regions' ),
  14381. 'BucketNames' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketNames' ),
  14382. 'BucketName' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketName' ),
  14383. 'PageNumber' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  14384. 'PageSize' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'pageSize' ),
  14385. ),
  14386. );
  14387. }
  14388. public static function GetPicBucketListOutput() {
  14389. return array(
  14390. 'type' => 'object',
  14391. 'additionalProperties' => true,
  14392. 'properties' => array(
  14393. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14394. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14395. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14396. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  14397. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  14398. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14399. 'PicBucketList' => array(
  14400. 'type' => 'array',
  14401. 'location' => 'xml',
  14402. 'items' => array(
  14403. 'type' => 'object',
  14404. 'location' => 'xml',
  14405. 'properties' => array(
  14406. 'BucketId' => array( 'type' => 'string', 'location' => 'xml',),
  14407. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  14408. 'Region' => array( 'type' => 'string', 'location' => 'xml',),
  14409. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  14410. ),
  14411. ),
  14412. ),
  14413. ),
  14414. );
  14415. }
  14416. public static function GetAiBucketList() {
  14417. return array(
  14418. 'httpMethod' => 'GET',
  14419. 'uri' => '/ai_bucket',
  14420. 'class' => 'Qcloud\\Cos\\Command',
  14421. 'responseClass' => 'GetAiBucketListOutput',
  14422. 'responseType' => 'model',
  14423. 'parameters' => array(
  14424. 'Regions' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'regions' ),
  14425. 'BucketNames' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketNames' ),
  14426. 'BucketName' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'bucketName' ),
  14427. 'PageNumber' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  14428. 'PageSize' => array( 'type' => 'integer', 'location' => 'query', 'sentAs' => 'pageSize' ),
  14429. ),
  14430. );
  14431. }
  14432. public static function GetAiBucketListOutput() {
  14433. return array(
  14434. 'type' => 'object',
  14435. 'additionalProperties' => true,
  14436. 'properties' => array(
  14437. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14438. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14439. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14440. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  14441. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  14442. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14443. 'AiBucketList' => array(
  14444. 'type' => 'array',
  14445. 'location' => 'xml',
  14446. 'items' => array(
  14447. 'type' => 'object',
  14448. 'location' => 'xml',
  14449. 'properties' => array(
  14450. 'BucketId' => array( 'type' => 'string', 'location' => 'xml',),
  14451. 'Name' => array( 'type' => 'string', 'location' => 'xml',),
  14452. 'Region' => array( 'type' => 'string', 'location' => 'xml',),
  14453. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml',),
  14454. ),
  14455. ),
  14456. ),
  14457. ),
  14458. );
  14459. }
  14460. public static function OpenAiService() {
  14461. return array(
  14462. 'httpMethod' => 'POST',
  14463. 'uri' => '/{Bucket}ai_bucket',
  14464. 'class' => 'Qcloud\\Cos\\Command',
  14465. 'responseClass' => 'OpenAiServiceOutput',
  14466. 'responseType' => 'model',
  14467. 'parameters' => array(
  14468. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14469. ),
  14470. );
  14471. }
  14472. public static function OpenAiServiceOutput() {
  14473. return array(
  14474. 'type' => 'object',
  14475. 'additionalProperties' => true,
  14476. 'properties' => array(
  14477. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14478. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14479. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14480. 'AiBucket' => array(
  14481. 'type' => 'object',
  14482. 'location' => 'xml',
  14483. 'properties' => array(
  14484. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  14485. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14486. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  14487. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14488. ),
  14489. ),
  14490. ),
  14491. );
  14492. }
  14493. public static function GetAiQueueList() {
  14494. return array(
  14495. 'httpMethod' => 'GET',
  14496. 'uri' => '/{Bucket}ai_queue',
  14497. 'class' => 'Qcloud\\Cos\\Command',
  14498. 'responseClass' => 'GetAiQueueListOutput',
  14499. 'responseType' => 'model',
  14500. 'parameters' => array(
  14501. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14502. 'QueueIds' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'queueIds' ),
  14503. 'State' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'state' ),
  14504. 'PageNumber' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageNumber' ),
  14505. 'PageSize' => array( 'type' => 'string', 'location' => 'query', 'sentAs' => 'pageSize' ),
  14506. ),
  14507. );
  14508. }
  14509. public static function GetAiQueueListOutput() {
  14510. return array(
  14511. 'type' => 'object',
  14512. 'additionalProperties' => true,
  14513. 'properties' => array(
  14514. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14515. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14516. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14517. 'TotalCount' => array( 'type' => 'integer', 'location' => 'xml', ),
  14518. 'PageNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  14519. 'PageSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14520. 'QueueList' => array(
  14521. 'type' => 'array',
  14522. 'location' => 'xml',
  14523. 'items' => array(
  14524. 'type' => 'object',
  14525. 'location' => 'xml',
  14526. 'properties' => array(
  14527. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  14528. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14529. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14530. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14531. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml', ),
  14532. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  14533. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14534. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14535. 'NotifyConfig' => array(
  14536. 'type' => 'object',
  14537. 'location' => 'xml',
  14538. 'properties' => array(
  14539. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  14540. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14541. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  14542. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  14543. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  14544. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  14545. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  14546. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  14547. ),
  14548. ),
  14549. ),
  14550. ),
  14551. ),
  14552. 'NonExistPIDs' => array(
  14553. 'type' => 'array',
  14554. 'location' => 'xml',
  14555. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  14556. ),
  14557. ),
  14558. );
  14559. }
  14560. public static function UpdateAiQueue() {
  14561. return array(
  14562. 'httpMethod' => 'PUT',
  14563. 'uri' => '/{Bucket}ai_queue/{/Key*}',
  14564. 'class' => 'Qcloud\\Cos\\Command',
  14565. 'responseClass' => 'UpdateAiQueueOutput',
  14566. 'responseType' => 'model',
  14567. 'data' => array(
  14568. 'xmlRoot' => array(
  14569. 'name' => 'Request',
  14570. ),
  14571. ),
  14572. 'parameters' => array(
  14573. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14574. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14575. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  14576. 'State' => array( 'location' => 'xml', 'type' => 'string', ),
  14577. 'NotifyConfig' => array(
  14578. 'type' => 'object',
  14579. 'location' => 'xml',
  14580. 'properties' => array(
  14581. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14582. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  14583. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  14584. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  14585. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  14586. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  14587. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  14588. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  14589. ),
  14590. ),
  14591. ),
  14592. );
  14593. }
  14594. public static function UpdateAiQueueOutput() {
  14595. return array(
  14596. 'type' => 'object',
  14597. 'additionalProperties' => true,
  14598. 'properties' => array(
  14599. 'RequestId' => array(
  14600. 'type' => 'string',
  14601. 'location' => 'header',
  14602. 'sentAs' => 'x-ci-request-id',
  14603. ),
  14604. 'ContentType' => array(
  14605. 'type' => 'string',
  14606. 'location' => 'header',
  14607. 'sentAs' => 'Content-Type',
  14608. ),
  14609. 'ContentLength' => array(
  14610. 'type' => 'numeric',
  14611. 'minimum'=> 0,
  14612. 'location' => 'header',
  14613. 'sentAs' => 'Content-Length',
  14614. ),
  14615. 'Queue' => array(
  14616. 'type' => 'object',
  14617. 'location' => 'xml',
  14618. 'properties' => array(
  14619. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  14620. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14621. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14622. 'MaxSize' => array( 'type' => 'integer', 'location' => 'xml', ),
  14623. 'MaxConcurrent' => array( 'type' => 'integer', 'location' => 'xml', ),
  14624. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  14625. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14626. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14627. 'NotifyConfig' => array(
  14628. 'type' => 'object',
  14629. 'location' => 'xml',
  14630. 'properties' => array(
  14631. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  14632. 'Event' => array( 'type' => 'string', 'location' => 'xml', ),
  14633. 'ResultFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  14634. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  14635. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  14636. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  14637. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  14638. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  14639. ),
  14640. ),
  14641. ),
  14642. ),
  14643. ),
  14644. );
  14645. }
  14646. public static function CreateMediaTranscodeProTemplate() {
  14647. return array(
  14648. 'httpMethod' => 'POST',
  14649. 'uri' => '/{Bucket}template',
  14650. 'class' => 'Qcloud\\Cos\\Command',
  14651. 'responseClass' => 'CreateMediaTranscodeProTemplateOutput',
  14652. 'responseType' => 'model',
  14653. 'data' => array(
  14654. 'xmlRoot' => array(
  14655. 'name' => 'Request',
  14656. ),
  14657. ),
  14658. 'parameters' => array(
  14659. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14660. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  14661. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  14662. 'Container' => array(
  14663. 'type' => 'object',
  14664. 'location' => 'xml',
  14665. 'properties' => array(
  14666. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  14667. ),
  14668. ),
  14669. 'Video' => array(
  14670. 'type' => 'object',
  14671. 'location' => 'xml',
  14672. 'properties' => array(
  14673. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14674. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  14675. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  14676. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  14677. 'Interlaced' => array( 'type' => 'string', 'location' => 'xml', ),
  14678. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  14679. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14680. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  14681. ),
  14682. ),
  14683. 'TimeInterval' => array(
  14684. 'type' => 'object',
  14685. 'location' => 'xml',
  14686. 'properties' => array(
  14687. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  14688. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  14689. ),
  14690. ),
  14691. 'Audio' => array(
  14692. 'type' => 'object',
  14693. 'location' => 'xml',
  14694. 'properties' => array(
  14695. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14696. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  14697. ),
  14698. ),
  14699. 'TransConfig' => array(
  14700. 'type' => 'object',
  14701. 'location' => 'xml',
  14702. 'properties' => array(
  14703. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14704. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  14705. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14706. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14707. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14708. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14709. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14710. 'IsCheckVideoFps' => array( 'type' => 'string', 'location' => 'xml', ),
  14711. 'VideoFpsAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14712. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  14713. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  14714. ),
  14715. ),
  14716. ),
  14717. );
  14718. }
  14719. public static function CreateMediaTranscodeProTemplateOutput() {
  14720. return array(
  14721. 'type' => 'object',
  14722. 'additionalProperties' => true,
  14723. 'properties' => array(
  14724. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14725. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14726. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14727. 'Template' => array(
  14728. 'type' => 'object',
  14729. 'location' => 'xml',
  14730. 'properties' => array(
  14731. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  14732. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14733. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  14734. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  14735. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  14736. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14737. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14738. 'TransProTpl' => array(
  14739. 'type' => 'object',
  14740. 'location' => 'xml',
  14741. 'properties' => array(
  14742. 'Container' => array(
  14743. 'type' => 'object',
  14744. 'location' => 'xml',
  14745. 'properties' => array(
  14746. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  14747. ),
  14748. ),
  14749. 'Video' => array(
  14750. 'type' => 'object',
  14751. 'location' => 'xml',
  14752. 'properties' => array(
  14753. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14754. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  14755. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  14756. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  14757. 'Interlaced' => array( 'type' => 'string', 'location' => 'xml', ),
  14758. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  14759. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14760. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  14761. ),
  14762. ),
  14763. 'TimeInterval' => array(
  14764. 'type' => 'object',
  14765. 'location' => 'xml',
  14766. 'properties' => array(
  14767. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  14768. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  14769. ),
  14770. ),
  14771. 'Audio' => array(
  14772. 'type' => 'object',
  14773. 'location' => 'xml',
  14774. 'properties' => array(
  14775. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14776. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  14777. ),
  14778. ),
  14779. 'TransConfig' => array(
  14780. 'type' => 'object',
  14781. 'location' => 'xml',
  14782. 'properties' => array(
  14783. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14784. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  14785. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14786. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14787. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14788. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14789. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14790. 'IsCheckVideoFps' => array( 'type' => 'string', 'location' => 'xml', ),
  14791. 'VideoFpsAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14792. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  14793. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  14794. ),
  14795. ),
  14796. ),
  14797. ),
  14798. ),
  14799. ),
  14800. ),
  14801. );
  14802. }
  14803. public static function UpdateMediaTranscodeProTemplate() {
  14804. return array(
  14805. 'httpMethod' => 'PUT',
  14806. 'uri' => '/{Bucket}template/{/Key*}',
  14807. 'class' => 'Qcloud\\Cos\\Command',
  14808. 'responseClass' => 'UpdateMediaTranscodeProTemplateOutput',
  14809. 'responseType' => 'model',
  14810. 'data' => array(
  14811. 'xmlRoot' => array(
  14812. 'name' => 'Request',
  14813. ),
  14814. ),
  14815. 'parameters' => array(
  14816. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14817. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14818. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  14819. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  14820. 'Container' => array(
  14821. 'type' => 'object',
  14822. 'location' => 'xml',
  14823. 'properties' => array(
  14824. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  14825. ),
  14826. ),
  14827. 'Video' => array(
  14828. 'type' => 'object',
  14829. 'location' => 'xml',
  14830. 'properties' => array(
  14831. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14832. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  14833. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  14834. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  14835. 'Interlaced' => array( 'type' => 'string', 'location' => 'xml', ),
  14836. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  14837. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14838. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  14839. ),
  14840. ),
  14841. 'TimeInterval' => array(
  14842. 'type' => 'object',
  14843. 'location' => 'xml',
  14844. 'properties' => array(
  14845. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  14846. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  14847. ),
  14848. ),
  14849. 'Audio' => array(
  14850. 'type' => 'object',
  14851. 'location' => 'xml',
  14852. 'properties' => array(
  14853. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14854. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  14855. ),
  14856. ),
  14857. 'TransConfig' => array(
  14858. 'type' => 'object',
  14859. 'location' => 'xml',
  14860. 'properties' => array(
  14861. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14862. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  14863. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14864. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14865. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14866. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14867. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14868. 'IsCheckVideoFps' => array( 'type' => 'string', 'location' => 'xml', ),
  14869. 'VideoFpsAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14870. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  14871. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  14872. ),
  14873. ),
  14874. ),
  14875. );
  14876. }
  14877. public static function UpdateMediaTranscodeProTemplateOutput() {
  14878. return array(
  14879. 'type' => 'object',
  14880. 'additionalProperties' => true,
  14881. 'properties' => array(
  14882. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14883. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14884. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14885. 'Template' => array(
  14886. 'type' => 'object',
  14887. 'location' => 'xml',
  14888. 'properties' => array(
  14889. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  14890. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14891. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  14892. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  14893. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  14894. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14895. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  14896. 'TransProTpl' => array(
  14897. 'type' => 'object',
  14898. 'location' => 'xml',
  14899. 'properties' => array(
  14900. 'Container' => array(
  14901. 'type' => 'object',
  14902. 'location' => 'xml',
  14903. 'properties' => array(
  14904. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  14905. ),
  14906. ),
  14907. 'Video' => array(
  14908. 'type' => 'object',
  14909. 'location' => 'xml',
  14910. 'properties' => array(
  14911. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14912. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  14913. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  14914. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  14915. 'Interlaced' => array( 'type' => 'string', 'location' => 'xml', ),
  14916. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  14917. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14918. 'Rotate' => array( 'type' => 'string', 'location' => 'xml', ),
  14919. ),
  14920. ),
  14921. 'TimeInterval' => array(
  14922. 'type' => 'object',
  14923. 'location' => 'xml',
  14924. 'properties' => array(
  14925. 'Start' => array( 'type' => 'string', 'location' => 'xml', ),
  14926. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  14927. ),
  14928. ),
  14929. 'Audio' => array(
  14930. 'type' => 'object',
  14931. 'location' => 'xml',
  14932. 'properties' => array(
  14933. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14934. 'Remove' => array( 'type' => 'string', 'location' => 'xml', ),
  14935. ),
  14936. ),
  14937. 'TransConfig' => array(
  14938. 'type' => 'object',
  14939. 'location' => 'xml',
  14940. 'properties' => array(
  14941. 'AdjDarMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14942. 'IsCheckReso' => array( 'type' => 'string', 'location' => 'xml', ),
  14943. 'ResoAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14944. 'IsCheckVideoBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14945. 'VideoBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14946. 'IsCheckAudioBitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  14947. 'AudioBitrateAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14948. 'IsCheckVideoFps' => array( 'type' => 'string', 'location' => 'xml', ),
  14949. 'VideoFpsAdjMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  14950. 'DeleteMetadata' => array( 'type' => 'string', 'location' => 'xml', ),
  14951. 'IsHdr2Sdr' => array( 'type' => 'string', 'location' => 'xml', ),
  14952. ),
  14953. ),
  14954. ),
  14955. ),
  14956. ),
  14957. ),
  14958. ),
  14959. );
  14960. }
  14961. public static function CreateVoiceTtsTemplate() {
  14962. return array(
  14963. 'httpMethod' => 'POST',
  14964. 'uri' => '/{Bucket}template',
  14965. 'class' => 'Qcloud\\Cos\\Command',
  14966. 'responseClass' => 'CreateVoiceTtsTemplateOutput',
  14967. 'responseType' => 'model',
  14968. 'data' => array(
  14969. 'xmlRoot' => array(
  14970. 'name' => 'Request',
  14971. ),
  14972. ),
  14973. 'parameters' => array(
  14974. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  14975. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  14976. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  14977. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  14978. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  14979. 'VoiceType' => array( 'type' => 'string', 'location' => 'xml', ),
  14980. 'Volume' => array( 'type' => 'string', 'location' => 'xml', ),
  14981. 'Speed' => array( 'type' => 'string', 'location' => 'xml', ),
  14982. 'Emotion' => array( 'type' => 'string', 'location' => 'xml', ),
  14983. ),
  14984. );
  14985. }
  14986. public static function CreateVoiceTtsTemplateOutput() {
  14987. return array(
  14988. 'type' => 'object',
  14989. 'additionalProperties' => true,
  14990. 'properties' => array(
  14991. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  14992. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  14993. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  14994. 'Template' => array(
  14995. 'type' => 'object',
  14996. 'location' => 'xml',
  14997. 'properties' => array(
  14998. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  14999. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15000. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  15001. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  15002. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15003. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15004. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15005. 'TtsTpl' => array(
  15006. 'type' => 'object',
  15007. 'location' => 'xml',
  15008. 'properties' => array(
  15009. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  15010. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  15011. 'VoiceType' => array( 'type' => 'string', 'location' => 'xml', ),
  15012. 'Volume' => array( 'type' => 'string', 'location' => 'xml', ),
  15013. 'Speed' => array( 'type' => 'string', 'location' => 'xml', ),
  15014. 'Emotion' => array( 'type' => 'string', 'location' => 'xml', ),
  15015. ),
  15016. ),
  15017. ),
  15018. ),
  15019. ),
  15020. );
  15021. }
  15022. public static function UpdateVoiceTtsTemplate() {
  15023. return array(
  15024. 'httpMethod' => 'PUT',
  15025. 'uri' => '/{Bucket}template/{/Key*}',
  15026. 'class' => 'Qcloud\\Cos\\Command',
  15027. 'responseClass' => 'UpdateVoiceTtsTemplateOutput',
  15028. 'responseType' => 'model',
  15029. 'data' => array(
  15030. 'xmlRoot' => array(
  15031. 'name' => 'Request',
  15032. ),
  15033. ),
  15034. 'parameters' => array(
  15035. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15036. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15037. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15038. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15039. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  15040. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  15041. 'VoiceType' => array( 'type' => 'string', 'location' => 'xml', ),
  15042. 'Volume' => array( 'type' => 'string', 'location' => 'xml', ),
  15043. 'Speed' => array( 'type' => 'string', 'location' => 'xml', ),
  15044. 'Emotion' => array( 'type' => 'string', 'location' => 'xml', ),
  15045. ),
  15046. );
  15047. }
  15048. public static function UpdateVoiceTtsTemplateOutput() {
  15049. return array(
  15050. 'type' => 'object',
  15051. 'additionalProperties' => true,
  15052. 'properties' => array(
  15053. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15054. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15055. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15056. 'Template' => array(
  15057. 'type' => 'object',
  15058. 'location' => 'xml',
  15059. 'properties' => array(
  15060. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15061. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15062. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  15063. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  15064. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15065. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15066. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15067. 'TtsTpl' => array(
  15068. 'type' => 'object',
  15069. 'location' => 'xml',
  15070. 'properties' => array(
  15071. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  15072. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  15073. 'VoiceType' => array( 'type' => 'string', 'location' => 'xml', ),
  15074. 'Volume' => array( 'type' => 'string', 'location' => 'xml', ),
  15075. 'Speed' => array( 'type' => 'string', 'location' => 'xml', ),
  15076. 'Emotion' => array( 'type' => 'string', 'location' => 'xml', ),
  15077. ),
  15078. ),
  15079. ),
  15080. ),
  15081. ),
  15082. );
  15083. }
  15084. public static function CreateMediaSmartCoverTemplate() {
  15085. return array(
  15086. 'httpMethod' => 'POST',
  15087. 'uri' => '/{Bucket}template',
  15088. 'class' => 'Qcloud\\Cos\\Command',
  15089. 'responseClass' => 'CreateMediaSmartCoverTemplateOutput',
  15090. 'responseType' => 'model',
  15091. 'data' => array(
  15092. 'xmlRoot' => array(
  15093. 'name' => 'Request',
  15094. ),
  15095. ),
  15096. 'parameters' => array(
  15097. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15098. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  15099. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  15100. 'SmartCover' => array(
  15101. 'type' => 'object',
  15102. 'location' => 'xml',
  15103. 'properties' => array(
  15104. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15105. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  15106. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  15107. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  15108. 'DeleteDuplicates' => array( 'type' => 'string', 'location' => 'xml', ),
  15109. ),
  15110. ),
  15111. ),
  15112. );
  15113. }
  15114. public static function CreateMediaSmartCoverTemplateOutput() {
  15115. return array(
  15116. 'type' => 'object',
  15117. 'additionalProperties' => true,
  15118. 'properties' => array(
  15119. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15120. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15121. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15122. 'Template' => array(
  15123. 'type' => 'object',
  15124. 'location' => 'xml',
  15125. 'properties' => array(
  15126. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15127. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15128. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  15129. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  15130. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15131. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15132. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15133. 'SmartCover' => array(
  15134. 'type' => 'object',
  15135. 'location' => 'xml',
  15136. 'properties' => array(
  15137. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15138. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  15139. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  15140. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  15141. 'DeleteDuplicates' => array( 'type' => 'string', 'location' => 'xml', ),
  15142. ),
  15143. ),
  15144. ),
  15145. ),
  15146. ),
  15147. );
  15148. }
  15149. public static function UpdateMediaSmartCoverTemplate() {
  15150. return array(
  15151. 'httpMethod' => 'PUT',
  15152. 'uri' => '/{Bucket}template/{/Key*}',
  15153. 'class' => 'Qcloud\\Cos\\Command',
  15154. 'responseClass' => 'UpdateMediaSmartCoverTemplateOutput',
  15155. 'responseType' => 'model',
  15156. 'data' => array(
  15157. 'xmlRoot' => array(
  15158. 'name' => 'Request',
  15159. ),
  15160. ),
  15161. 'parameters' => array(
  15162. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15163. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15164. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  15165. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  15166. 'SmartCover' => array(
  15167. 'type' => 'object',
  15168. 'location' => 'xml',
  15169. 'properties' => array(
  15170. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15171. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  15172. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  15173. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  15174. 'DeleteDuplicates' => array( 'type' => 'string', 'location' => 'xml', ),
  15175. ),
  15176. ),
  15177. ),
  15178. );
  15179. }
  15180. public static function UpdateMediaSmartCoverTemplateOutput() {
  15181. return array(
  15182. 'type' => 'object',
  15183. 'additionalProperties' => true,
  15184. 'properties' => array(
  15185. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15186. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15187. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15188. 'Template' => array(
  15189. 'type' => 'object',
  15190. 'location' => 'xml',
  15191. 'properties' => array(
  15192. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15193. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15194. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  15195. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  15196. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15197. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15198. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15199. 'SmartCover' => array(
  15200. 'type' => 'object',
  15201. 'location' => 'xml',
  15202. 'properties' => array(
  15203. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15204. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  15205. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  15206. 'Count' => array( 'type' => 'string', 'location' => 'xml', ),
  15207. 'DeleteDuplicates' => array( 'type' => 'string', 'location' => 'xml', ),
  15208. ),
  15209. ),
  15210. ),
  15211. ),
  15212. ),
  15213. );
  15214. }
  15215. public static function CreateVoiceSpeechRecognitionTemplate() {
  15216. return array(
  15217. 'httpMethod' => 'POST',
  15218. 'uri' => '/{Bucket}template',
  15219. 'class' => 'Qcloud\\Cos\\Command',
  15220. 'responseClass' => 'CreateVoiceSpeechRecognitionTemplateOutput',
  15221. 'responseType' => 'model',
  15222. 'data' => array(
  15223. 'xmlRoot' => array(
  15224. 'name' => 'Request',
  15225. ),
  15226. ),
  15227. 'parameters' => array(
  15228. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15229. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15230. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15231. 'SpeechRecognition' => array(
  15232. 'type' => 'object',
  15233. 'location' => 'xml',
  15234. 'properties' => array(
  15235. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  15236. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  15237. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  15238. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  15239. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  15240. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  15241. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  15242. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  15243. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  15244. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  15245. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  15246. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15247. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  15248. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  15249. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  15250. ),
  15251. ),
  15252. ),
  15253. );
  15254. }
  15255. public static function CreateVoiceSpeechRecognitionTemplateOutput() {
  15256. return array(
  15257. 'type' => 'object',
  15258. 'additionalProperties' => true,
  15259. 'properties' => array(
  15260. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15261. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15262. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15263. 'Template' => array(
  15264. 'type' => 'object',
  15265. 'location' => 'xml',
  15266. 'properties' => array(
  15267. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15268. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15269. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  15270. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  15271. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15272. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15273. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15274. 'SpeechRecognition' => array(
  15275. 'type' => 'object',
  15276. 'location' => 'xml',
  15277. 'properties' => array(
  15278. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  15279. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  15280. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  15281. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  15282. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  15283. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  15284. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  15285. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  15286. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  15287. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  15288. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  15289. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15290. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  15291. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  15292. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  15293. ),
  15294. ),
  15295. ),
  15296. ),
  15297. ),
  15298. );
  15299. }
  15300. public static function UpdateVoiceSpeechRecognitionTemplate() {
  15301. return array(
  15302. 'httpMethod' => 'PUT',
  15303. 'uri' => '/{Bucket}template/{/Key*}',
  15304. 'class' => 'Qcloud\\Cos\\Command',
  15305. 'responseClass' => 'UpdateVoiceSpeechRecognitionTemplateOutput',
  15306. 'responseType' => 'model',
  15307. 'data' => array(
  15308. 'xmlRoot' => array(
  15309. 'name' => 'Request',
  15310. ),
  15311. ),
  15312. 'parameters' => array(
  15313. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15314. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15315. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15316. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15317. 'SpeechRecognition' => array(
  15318. 'type' => 'object',
  15319. 'location' => 'xml',
  15320. 'properties' => array(
  15321. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  15322. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  15323. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  15324. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  15325. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  15326. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  15327. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  15328. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  15329. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  15330. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  15331. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  15332. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15333. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  15334. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  15335. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  15336. ),
  15337. ),
  15338. ),
  15339. );
  15340. }
  15341. public static function UpdateVoiceSpeechRecognitionTemplateOutput() {
  15342. return array(
  15343. 'type' => 'object',
  15344. 'additionalProperties' => true,
  15345. 'properties' => array(
  15346. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15347. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15348. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15349. 'Template' => array(
  15350. 'type' => 'object',
  15351. 'location' => 'xml',
  15352. 'properties' => array(
  15353. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15354. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  15355. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  15356. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  15357. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15358. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15359. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15360. 'SpeechRecognition' => array(
  15361. 'type' => 'object',
  15362. 'location' => 'xml',
  15363. 'properties' => array(
  15364. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  15365. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  15366. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  15367. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  15368. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  15369. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  15370. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  15371. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  15372. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  15373. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  15374. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  15375. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15376. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  15377. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  15378. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  15379. ),
  15380. ),
  15381. ),
  15382. ),
  15383. ),
  15384. );
  15385. }
  15386. public static function CreateVoiceTtsJobs() {
  15387. return array(
  15388. 'httpMethod' => 'POST',
  15389. 'uri' => '/{Bucket}jobs',
  15390. 'class' => 'Qcloud\\Cos\\Command',
  15391. 'responseClass' => 'CreateVoiceTtsJobsOutput',
  15392. 'responseType' => 'model',
  15393. 'data' => array(
  15394. 'xmlRoot' => array(
  15395. 'name' => 'Request',
  15396. ),
  15397. ),
  15398. 'parameters' => array(
  15399. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15400. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  15401. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  15402. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  15403. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  15404. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  15405. 'Operation' => array(
  15406. 'type' => 'object',
  15407. 'location' => 'xml',
  15408. 'properties' => array(
  15409. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15410. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  15411. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  15412. 'TtsConfig' => array(
  15413. 'type' => 'object',
  15414. 'location' => 'xml',
  15415. 'properties' => array(
  15416. 'InputType' => array( 'type' => 'string', 'location' => 'xml', ),
  15417. 'Input' => array( 'type' => 'string', 'location' => 'xml', ),
  15418. ),
  15419. ),
  15420. 'TtsTpl' => array(
  15421. 'type' => 'object',
  15422. 'location' => 'xml',
  15423. 'properties' => array(
  15424. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  15425. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  15426. 'VoiceType' => array( 'type' => 'string', 'location' => 'xml', ),
  15427. 'Volume' => array( 'type' => 'string', 'location' => 'xml', ),
  15428. 'Speed' => array( 'type' => 'string', 'location' => 'xml', ),
  15429. 'Emotion' => array( 'type' => 'string', 'location' => 'xml', ),
  15430. ),
  15431. ),
  15432. 'Output' => array(
  15433. 'type' => 'object',
  15434. 'location' => 'xml',
  15435. 'properties' => array(
  15436. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15437. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15438. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15439. ),
  15440. ),
  15441. ),
  15442. ),
  15443. 'CallBackMqConfig' => array(
  15444. 'type' => 'object',
  15445. 'location' => 'xml',
  15446. 'properties' => array(
  15447. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  15448. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  15449. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  15450. ),
  15451. ),
  15452. ),
  15453. );
  15454. }
  15455. public static function CreateVoiceTtsJobsOutput() {
  15456. return array(
  15457. 'type' => 'object',
  15458. 'additionalProperties' => true,
  15459. 'properties' => array(
  15460. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15461. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15462. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15463. 'JobsDetail' => array(
  15464. 'type' => 'object',
  15465. 'location' => 'xml',
  15466. 'properties' => array(
  15467. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  15468. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  15469. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  15470. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15471. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  15472. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15473. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15474. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15475. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  15476. 'Operation' => array(
  15477. 'type' => 'object',
  15478. 'location' => 'xml',
  15479. 'properties' => array(
  15480. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15481. 'TemplateName' => array( 'type' => 'string', 'location' => 'xml', ),
  15482. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  15483. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  15484. 'TtsConfig' => array(
  15485. 'type' => 'object',
  15486. 'location' => 'xml',
  15487. 'properties' => array(
  15488. 'InputType' => array( 'type' => 'string', 'location' => 'xml', ),
  15489. 'Input' => array( 'type' => 'string', 'location' => 'xml', ),
  15490. ),
  15491. ),
  15492. 'Output' => array(
  15493. 'type' => 'object',
  15494. 'location' => 'xml',
  15495. 'properties' => array(
  15496. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15497. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15498. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15499. ),
  15500. ),
  15501. 'MediaInfo' => array(
  15502. 'type' => 'object',
  15503. 'location' => 'xml',
  15504. 'properties' => array(
  15505. 'Format' => array(
  15506. 'type' => 'object',
  15507. 'location' => 'xml',
  15508. 'properties' => array(
  15509. 'NumStream' => array( 'type' => 'integer', 'location' => 'xml', ),
  15510. 'NumProgram' => array( 'type' => 'integer', 'location' => 'xml', ),
  15511. 'FormatName' => array( 'type' => 'string', 'location' => 'xml', ),
  15512. 'FormatLongName' => array( 'type' => 'string', 'location' => 'xml', ),
  15513. 'StartTime' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15514. 'Duration' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15515. 'Bitrate' => array( 'type' => 'integer', 'location' => 'xml', ),
  15516. 'Size' => array( 'type' => 'integer', 'location' => 'xml', ),
  15517. ),
  15518. ),
  15519. 'Stream' => array(
  15520. 'type' => 'object',
  15521. 'location' => 'xml',
  15522. 'properties' => array(
  15523. 'Video' => array(
  15524. 'type' => 'object',
  15525. 'location' => 'xml',
  15526. 'properties' => array(
  15527. 'Index' => array( 'type' => 'integer', 'location' => 'xml', ),
  15528. 'CodecName' => array( 'type' => 'string', 'location' => 'xml', ),
  15529. 'CodecLongName' => array( 'type' => 'string', 'location' => 'xml', ),
  15530. 'CodecTimeBase' => array( 'type' => 'string', 'location' => 'xml', ),
  15531. 'CodecTagString' => array( 'type' => 'string', 'location' => 'xml', ),
  15532. 'CodecTag' => array( 'type' => 'string', 'location' => 'xml', ),
  15533. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  15534. 'Height' => array( 'type' => 'integer', 'location' => 'xml', ),
  15535. 'Width' => array( 'type' => 'integer', 'location' => 'xml', ),
  15536. 'HasBFrame' => array( 'type' => 'integer', 'location' => 'xml', ),
  15537. 'RefFrames' => array( 'type' => 'integer', 'location' => 'xml', ),
  15538. 'Sar' => array( 'type' => 'string', 'location' => 'xml', ),
  15539. 'Dar' => array( 'type' => 'string', 'location' => 'xml', ),
  15540. 'PixFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  15541. 'FieldOrder' => array( 'type' => 'string', 'location' => 'xml', ),
  15542. 'Level' => array( 'type' => 'integer', 'location' => 'xml', ),
  15543. 'Fps' => array( 'type' => 'integer', 'location' => 'xml', ),
  15544. 'AvgFps' => array( 'type' => 'string', 'location' => 'xml', ),
  15545. 'Timebase' => array( 'type' => 'string', 'location' => 'xml', ),
  15546. 'StartTime' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15547. 'Duration' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15548. 'Bitrate' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15549. 'NumFrames' => array( 'type' => 'integer', 'location' => 'xml', ),
  15550. 'Language' => array( 'type' => 'string', 'location' => 'xml', ),
  15551. ),
  15552. ),
  15553. 'Audio' => array(
  15554. 'type' => 'object',
  15555. 'location' => 'xml',
  15556. 'properties' => array(
  15557. 'Index' => array( 'type' => 'integer', 'location' => 'xml', ),
  15558. 'CodecName' => array( 'type' => 'string', 'location' => 'xml', ),
  15559. 'CodecLongName' => array( 'type' => 'string', 'location' => 'xml', ),
  15560. 'CodecTimeBase' => array( 'type' => 'string', 'location' => 'xml', ),
  15561. 'CodecTagString' => array( 'type' => 'string', 'location' => 'xml', ),
  15562. 'CodecTag' => array( 'type' => 'string', 'location' => 'xml', ),
  15563. 'SampleFmt' => array( 'type' => 'string', 'location' => 'xml', ),
  15564. 'SampleRate' => array( 'type' => 'integer', 'location' => 'xml', ),
  15565. 'Channel' => array( 'type' => 'integer', 'location' => 'xml', ),
  15566. 'ChannelLayout' => array( 'type' => 'string', 'location' => 'xml', ),
  15567. 'Timebase' => array( 'type' => 'string', 'location' => 'xml', ),
  15568. 'StartTime' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15569. 'Duration' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15570. 'Bitrate' => array( 'type' => 'numeric', 'location' => 'xml', ),
  15571. 'Language' => array( 'type' => 'string', 'location' => 'xml', ),
  15572. ),
  15573. ),
  15574. 'Subtitle' => array(
  15575. 'type' => 'object',
  15576. 'location' => 'xml',
  15577. 'properties' => array(
  15578. 'Index' => array( 'type' => 'integer', 'location' => 'xml', ),
  15579. 'Language' => array( 'type' => 'string', 'location' => 'xml', ),
  15580. ),
  15581. ),
  15582. ),
  15583. ),
  15584. ),
  15585. ),
  15586. 'MediaResult' => array(
  15587. 'type' => 'object',
  15588. 'location' => 'xml',
  15589. 'properties' => array(
  15590. 'OutputFile' => array(
  15591. 'type' => 'object',
  15592. 'location' => 'xml',
  15593. 'properties' => array(
  15594. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15595. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15596. 'ObjectName' => array(
  15597. 'type' => 'array',
  15598. 'location' => 'xml',
  15599. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  15600. ),
  15601. 'Md5Info' => array(
  15602. 'type' => 'array',
  15603. 'location' => 'xml',
  15604. 'items' => array(
  15605. 'type' => 'object',
  15606. 'location' => 'xml',
  15607. 'properties' => array(
  15608. 'ObjectName' => array( 'type' => 'string', 'location' => 'xml',),
  15609. 'Md5' => array( 'type' => 'string', 'location' => 'xml',),
  15610. ),
  15611. ),
  15612. ),
  15613. ),
  15614. ),
  15615. ),
  15616. ),
  15617. ),
  15618. ),
  15619. ),
  15620. ),
  15621. ),
  15622. );
  15623. }
  15624. public static function CreateAiTranslationJobs() {
  15625. return array(
  15626. 'httpMethod' => 'POST',
  15627. 'uri' => '/{Bucket}jobs',
  15628. 'class' => 'Qcloud\\Cos\\Command',
  15629. 'responseClass' => 'CreateAiTranslationJobsOutput',
  15630. 'responseType' => 'model',
  15631. 'data' => array(
  15632. 'xmlRoot' => array(
  15633. 'name' => 'Request',
  15634. ),
  15635. ),
  15636. 'parameters' => array(
  15637. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15638. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  15639. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  15640. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  15641. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  15642. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  15643. 'Input' => array(
  15644. 'type' => 'object',
  15645. 'location' => 'xml',
  15646. 'properties' => array(
  15647. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15648. 'Lang' => array( 'type' => 'string', 'location' => 'xml', ),
  15649. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  15650. 'BasicType' => array( 'type' => 'string', 'location' => 'xml', ),
  15651. ),
  15652. ),
  15653. 'Operation' => array(
  15654. 'type' => 'object',
  15655. 'location' => 'xml',
  15656. 'properties' => array(
  15657. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  15658. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  15659. 'NoNeedOutput' => array( 'type' => 'string', 'location' => 'xml', ),
  15660. 'Translation' => array(
  15661. 'type' => 'object',
  15662. 'location' => 'xml',
  15663. 'properties' => array(
  15664. 'Lang' => array( 'type' => 'string', 'location' => 'xml', ),
  15665. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  15666. ),
  15667. ),
  15668. 'Output' => array(
  15669. 'type' => 'object',
  15670. 'location' => 'xml',
  15671. 'properties' => array(
  15672. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15673. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15674. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15675. ),
  15676. ),
  15677. ),
  15678. ),
  15679. 'CallBackMqConfig' => array(
  15680. 'type' => 'object',
  15681. 'location' => 'xml',
  15682. 'properties' => array(
  15683. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  15684. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  15685. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  15686. ),
  15687. ),
  15688. ),
  15689. );
  15690. }
  15691. public static function CreateAiTranslationJobsOutput() {
  15692. return array(
  15693. 'type' => 'object',
  15694. 'additionalProperties' => true,
  15695. 'properties' => array(
  15696. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15697. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15698. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15699. 'JobsDetail' => array(
  15700. 'type' => 'object',
  15701. 'location' => 'xml',
  15702. 'properties' => array(
  15703. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  15704. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  15705. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  15706. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15707. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  15708. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15709. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15710. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15711. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  15712. 'Input' => array(
  15713. 'type' => 'object',
  15714. 'location' => 'xml',
  15715. 'properties' => array(
  15716. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15717. 'Lang' => array( 'type' => 'string', 'location' => 'xml', ),
  15718. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  15719. 'BasicType' => array( 'type' => 'string', 'location' => 'xml', ),
  15720. ),
  15721. ),
  15722. 'Operation' => array(
  15723. 'type' => 'object',
  15724. 'location' => 'xml',
  15725. 'properties' => array(
  15726. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  15727. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  15728. 'Translation' => array(
  15729. 'type' => 'object',
  15730. 'location' => 'xml',
  15731. 'properties' => array(
  15732. 'Lang' => array( 'type' => 'string', 'location' => 'xml', ),
  15733. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  15734. ),
  15735. ),
  15736. 'Output' => array(
  15737. 'type' => 'object',
  15738. 'location' => 'xml',
  15739. 'properties' => array(
  15740. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15741. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15742. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15743. ),
  15744. ),
  15745. 'AITranslateResult' => array(
  15746. 'type' => 'object',
  15747. 'location' => 'xml',
  15748. 'properties' => array(
  15749. 'Result' => array( 'type' => 'string', 'location' => 'xml', ),
  15750. ),
  15751. ),
  15752. ),
  15753. ),
  15754. ),
  15755. ),
  15756. ),
  15757. );
  15758. }
  15759. public static function CreateVoiceSpeechRecognitionJobs() {
  15760. return array(
  15761. 'httpMethod' => 'POST',
  15762. 'uri' => '/{Bucket}jobs',
  15763. 'class' => 'Qcloud\\Cos\\Command',
  15764. 'responseClass' => 'CreateVoiceSpeechRecognitionJobsOutput',
  15765. 'responseType' => 'model',
  15766. 'data' => array(
  15767. 'xmlRoot' => array(
  15768. 'name' => 'Request',
  15769. ),
  15770. ),
  15771. 'parameters' => array(
  15772. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  15773. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  15774. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  15775. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  15776. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  15777. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  15778. 'Input' => array(
  15779. 'type' => 'object',
  15780. 'location' => 'xml',
  15781. 'properties' => array(
  15782. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15783. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  15784. ),
  15785. ),
  15786. 'Operation' => array(
  15787. 'type' => 'object',
  15788. 'location' => 'xml',
  15789. 'properties' => array(
  15790. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15791. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  15792. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  15793. 'SpeechRecognition' => array(
  15794. 'type' => 'object',
  15795. 'location' => 'xml',
  15796. 'properties' => array(
  15797. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  15798. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  15799. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  15800. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  15801. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  15802. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  15803. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  15804. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  15805. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  15806. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  15807. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  15808. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15809. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  15810. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  15811. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  15812. ),
  15813. ),
  15814. 'Output' => array(
  15815. 'type' => 'object',
  15816. 'location' => 'xml',
  15817. 'properties' => array(
  15818. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15819. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15820. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15821. ),
  15822. ),
  15823. ),
  15824. ),
  15825. 'CallBackMqConfig' => array(
  15826. 'type' => 'object',
  15827. 'location' => 'xml',
  15828. 'properties' => array(
  15829. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  15830. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  15831. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  15832. ),
  15833. ),
  15834. ),
  15835. );
  15836. }
  15837. public static function CreateVoiceSpeechRecognitionJobsOutput() {
  15838. return array(
  15839. 'type' => 'object',
  15840. 'additionalProperties' => true,
  15841. 'properties' => array(
  15842. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  15843. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  15844. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  15845. 'JobsDetail' => array(
  15846. 'type' => 'object',
  15847. 'location' => 'xml',
  15848. 'properties' => array(
  15849. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  15850. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  15851. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  15852. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  15853. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  15854. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15855. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15856. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15857. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  15858. 'Input' => array(
  15859. 'type' => 'object',
  15860. 'location' => 'xml',
  15861. 'properties' => array(
  15862. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15863. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  15864. ),
  15865. ),
  15866. 'Operation' => array(
  15867. 'type' => 'object',
  15868. 'location' => 'xml',
  15869. 'properties' => array(
  15870. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  15871. 'TemplateName' => array( 'type' => 'string', 'location' => 'xml', ),
  15872. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  15873. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  15874. 'SpeechRecognition' => array(
  15875. 'type' => 'object',
  15876. 'location' => 'xml',
  15877. 'properties' => array(
  15878. 'EngineModelType' => array( 'type' => 'string', 'location' => 'xml', ),
  15879. 'ChannelNum' => array( 'type' => 'integer', 'location' => 'xml', ),
  15880. 'ResTextFormat' => array( 'type' => 'integer', 'location' => 'xml', ),
  15881. 'FilterDirty' => array( 'type' => 'integer', 'location' => 'xml', ),
  15882. 'FilterModal' => array( 'type' => 'integer', 'location' => 'xml', ),
  15883. 'ConvertNumMode' => array( 'type' => 'integer', 'location' => 'xml', ),
  15884. 'SpeakerDiarization' => array( 'type' => 'integer', 'location' => 'xml', ),
  15885. 'SpeakerNumber' => array( 'type' => 'integer', 'location' => 'xml', ),
  15886. 'FilterPunc' => array( 'type' => 'integer', 'location' => 'xml', ),
  15887. 'OutputFileType' => array( 'type' => 'string', 'location' => 'xml', ),
  15888. 'FlashAsr' => array( 'type' => 'string', 'location' => 'xml', ),
  15889. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  15890. 'FirstChannelOnly' => array( 'type' => 'integer', 'location' => 'xml', ),
  15891. 'WordInfo' => array( 'type' => 'integer', 'location' => 'xml', ),
  15892. 'SentenceMaxLength' => array( 'type' => 'integer', 'location' => 'xml', ),
  15893. ),
  15894. ),
  15895. 'Output' => array(
  15896. 'type' => 'object',
  15897. 'location' => 'xml',
  15898. 'properties' => array(
  15899. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  15900. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  15901. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  15902. ),
  15903. ),
  15904. 'SpeechRecognitionResult' => array(
  15905. 'type' => 'object',
  15906. 'location' => 'xml',
  15907. 'properties' => array(
  15908. 'AudioTime' => array( 'type' => 'string', 'location' => 'xml', ),
  15909. 'Result' => array( 'type' => 'string', 'location' => 'xml', ),
  15910. 'FlashResult' => array(
  15911. 'type' => 'array',
  15912. 'location' => 'xml',
  15913. 'items' => array(
  15914. 'type' => 'object',
  15915. 'location' => 'xml',
  15916. 'properties' => array(
  15917. 'channel_id' => array( 'type' => 'integer', 'location' => 'xml',),
  15918. 'text' => array( 'type' => 'string', 'location' => 'xml',),
  15919. 'sentence_list' => array(
  15920. 'type' => 'array',
  15921. 'location' => 'xml',
  15922. 'items' => array(
  15923. 'type' => 'object',
  15924. 'location' => 'xml',
  15925. 'properties' => array(
  15926. 'text' => array( 'type' => 'string', 'location' => 'xml',),
  15927. 'start_time' => array( 'type' => 'integer', 'location' => 'xml',),
  15928. 'end_time' => array( 'type' => 'integer', 'location' => 'xml',),
  15929. 'speaker_id' => array( 'type' => 'integer', 'location' => 'xml',),
  15930. 'word_list' => array(
  15931. 'type' => 'array',
  15932. 'location' => 'xml',
  15933. 'items' => array(
  15934. 'type' => 'object',
  15935. 'location' => 'xml',
  15936. 'properties' => array(
  15937. 'word' => array( 'type' => 'string', 'location' => 'xml',),
  15938. 'start_time' => array( 'type' => 'integer', 'location' => 'xml',),
  15939. 'end_time' => array( 'type' => 'integer', 'location' => 'xml',),
  15940. ),
  15941. ),
  15942. ),
  15943. ),
  15944. ),
  15945. ),
  15946. ),
  15947. ),
  15948. ),
  15949. 'ResultDetail' => array(
  15950. 'type' => 'array',
  15951. 'location' => 'xml',
  15952. 'items' => array(
  15953. 'type' => 'object',
  15954. 'location' => 'xml',
  15955. 'properties' => array(
  15956. 'FinalSentence' => array( 'type' => 'string', 'location' => 'xml',),
  15957. 'SliceSentence' => array( 'type' => 'string', 'location' => 'xml',),
  15958. 'StartMs' => array( 'type' => 'string', 'location' => 'xml',),
  15959. 'EndMs' => array( 'type' => 'string', 'location' => 'xml',),
  15960. 'WordsNum' => array( 'type' => 'string', 'location' => 'xml',),
  15961. 'SpeechSpeed' => array( 'type' => 'string', 'location' => 'xml',),
  15962. 'SpeakerId' => array( 'type' => 'string', 'location' => 'xml',),
  15963. 'Words' => array(
  15964. 'type' => 'array',
  15965. 'location' => 'xml',
  15966. 'items' => array(
  15967. 'type' => 'object',
  15968. 'location' => 'xml',
  15969. 'properties' => array(
  15970. 'Word' => array( 'type' => 'string', 'location' => 'xml',),
  15971. 'OffsetStartMs' => array( 'type' => 'string', 'location' => 'xml',),
  15972. 'OffsetEndMs' => array( 'type' => 'string', 'location' => 'xml',),
  15973. ),
  15974. ),
  15975. ),
  15976. ),
  15977. ),
  15978. ),
  15979. ),
  15980. ),
  15981. ),
  15982. ),
  15983. ),
  15984. ),
  15985. ),
  15986. );
  15987. }
  15988. public static function CreateAiWordsGeneralizeJobs() {
  15989. return array(
  15990. 'httpMethod' => 'POST',
  15991. 'uri' => '/{Bucket}jobs',
  15992. 'class' => 'Qcloud\\Cos\\Command',
  15993. 'responseClass' => 'CreateAiWordsGeneralizeJobsOutput',
  15994. 'responseType' => 'model',
  15995. 'data' => array(
  15996. 'xmlRoot' => array(
  15997. 'name' => 'Request',
  15998. ),
  15999. ),
  16000. 'parameters' => array(
  16001. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  16002. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  16003. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  16004. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  16005. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  16006. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  16007. 'Input' => array(
  16008. 'type' => 'object',
  16009. 'location' => 'xml',
  16010. 'properties' => array(
  16011. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  16012. ),
  16013. ),
  16014. 'Operation' => array(
  16015. 'type' => 'object',
  16016. 'location' => 'xml',
  16017. 'properties' => array(
  16018. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  16019. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16020. 'WordsGeneralize' => array(
  16021. 'type' => 'object',
  16022. 'location' => 'xml',
  16023. 'properties' => array(
  16024. 'NerMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  16025. 'SegMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  16026. ),
  16027. ),
  16028. ),
  16029. ),
  16030. 'CallBackMqConfig' => array(
  16031. 'type' => 'object',
  16032. 'location' => 'xml',
  16033. 'properties' => array(
  16034. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  16035. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16036. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  16037. ),
  16038. ),
  16039. ),
  16040. );
  16041. }
  16042. public static function CreateAiWordsGeneralizeJobsOutput() {
  16043. return array(
  16044. 'type' => 'object',
  16045. 'additionalProperties' => true,
  16046. 'properties' => array(
  16047. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  16048. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  16049. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  16050. 'JobsDetail' => array(
  16051. 'type' => 'object',
  16052. 'location' => 'xml',
  16053. 'properties' => array(
  16054. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  16055. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  16056. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  16057. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  16058. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  16059. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16060. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16061. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16062. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  16063. 'QueueType' => array( 'type' => 'string', 'location' => 'xml', ),
  16064. 'Input' => array(
  16065. 'type' => 'object',
  16066. 'location' => 'xml',
  16067. 'properties' => array(
  16068. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  16069. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  16070. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  16071. ),
  16072. ),
  16073. 'Operation' => array(
  16074. 'type' => 'object',
  16075. 'location' => 'xml',
  16076. 'properties' => array(
  16077. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  16078. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16079. 'WordsGeneralize' => array(
  16080. 'type' => 'object',
  16081. 'location' => 'xml',
  16082. 'properties' => array(
  16083. 'NerMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  16084. 'SegMethod' => array( 'type' => 'string', 'location' => 'xml', ),
  16085. ),
  16086. ),
  16087. 'WordsGeneralizeResult' => array(
  16088. 'type' => 'object',
  16089. 'location' => 'xml',
  16090. 'properties' => array(
  16091. 'WordsGeneralizeLable' => array(
  16092. 'type' => 'array',
  16093. 'location' => 'xml',
  16094. 'items' => array(
  16095. 'type' => 'object',
  16096. 'location' => 'xml',
  16097. 'properties' => array(
  16098. 'Category' => array( 'type' => 'string', 'location' => 'xml',),
  16099. 'Word' => array( 'type' => 'string', 'location' => 'xml',),
  16100. ),
  16101. ),
  16102. ),
  16103. 'WordsGeneralizeToken' => array(
  16104. 'type' => 'array',
  16105. 'location' => 'xml',
  16106. 'items' => array(
  16107. 'type' => 'object',
  16108. 'location' => 'xml',
  16109. 'properties' => array(
  16110. 'Word' => array( 'type' => 'string', 'location' => 'xml',),
  16111. 'Offset' => array( 'type' => 'string', 'location' => 'xml',),
  16112. 'Length' => array( 'type' => 'string', 'location' => 'xml',),
  16113. 'Pos' => array( 'type' => 'string', 'location' => 'xml',),
  16114. ),
  16115. ),
  16116. ),
  16117. ),
  16118. ),
  16119. ),
  16120. ),
  16121. ),
  16122. ),
  16123. ),
  16124. );
  16125. }
  16126. public static function CreateMediaVideoEnhanceJobs() {
  16127. return array(
  16128. 'httpMethod' => 'POST',
  16129. 'uri' => '/{Bucket}jobs',
  16130. 'class' => 'Qcloud\\Cos\\Command',
  16131. 'responseClass' => 'CreateMediaVideoEnhanceJobsOutput',
  16132. 'responseType' => 'model',
  16133. 'data' => array(
  16134. 'xmlRoot' => array(
  16135. 'name' => 'Request',
  16136. ),
  16137. ),
  16138. 'parameters' => array(
  16139. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  16140. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  16141. 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
  16142. 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
  16143. 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
  16144. 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
  16145. 'Input' => array(
  16146. 'type' => 'object',
  16147. 'location' => 'xml',
  16148. 'properties' => array(
  16149. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  16150. ),
  16151. ),
  16152. 'Operation' => array(
  16153. 'type' => 'object',
  16154. 'location' => 'xml',
  16155. 'properties' => array(
  16156. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  16157. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  16158. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16159. 'VideoEnhance' => array(
  16160. 'type' => 'object',
  16161. 'location' => 'xml',
  16162. 'properties' => array(
  16163. 'Transcode' => array(
  16164. 'type' => 'object',
  16165. 'location' => 'xml',
  16166. 'properties' => array(
  16167. 'Container' => array(
  16168. 'type' => 'object',
  16169. 'location' => 'xml',
  16170. 'properties' => array(
  16171. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  16172. 'ClipConfig' => array(
  16173. 'type' => 'object',
  16174. 'location' => 'xml',
  16175. 'properties' => array(
  16176. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  16177. ),
  16178. ),
  16179. ),
  16180. ),
  16181. 'Video' => array(
  16182. 'type' => 'object',
  16183. 'location' => 'xml',
  16184. 'properties' => array(
  16185. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16186. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16187. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16188. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  16189. ),
  16190. ),
  16191. 'Audio' => array(
  16192. 'type' => 'object',
  16193. 'location' => 'xml',
  16194. 'properties' => array(
  16195. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16196. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  16197. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  16198. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  16199. ),
  16200. ),
  16201. ),
  16202. ),
  16203. 'SuperResolution' => array(
  16204. 'type' => 'object',
  16205. 'location' => 'xml',
  16206. 'properties' => array(
  16207. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  16208. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  16209. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16210. ),
  16211. ),
  16212. 'SDRtoHDR' => array(
  16213. 'type' => 'object',
  16214. 'location' => 'xml',
  16215. 'properties' => array(
  16216. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16217. ),
  16218. ),
  16219. 'ColorEnhance' => array(
  16220. 'type' => 'object',
  16221. 'location' => 'xml',
  16222. 'properties' => array(
  16223. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  16224. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  16225. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  16226. ),
  16227. ),
  16228. 'MsSharpen' => array(
  16229. 'type' => 'object',
  16230. 'location' => 'xml',
  16231. 'properties' => array(
  16232. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16233. ),
  16234. ),
  16235. 'FrameEnhance' => array(
  16236. 'type' => 'object',
  16237. 'location' => 'xml',
  16238. 'properties' => array(
  16239. 'FrameDoubling' => array( 'type' => 'string', 'location' => 'xml', ),
  16240. ),
  16241. ),
  16242. ),
  16243. ),
  16244. 'WatermarkTemplateId' => array(
  16245. 'type' => 'array',
  16246. 'location' => 'xml',
  16247. 'data' => array(
  16248. 'xmlFlattened' => true,
  16249. ),
  16250. 'items' => array(
  16251. 'name' => 'WatermarkTemplateId',
  16252. 'type' => 'string',
  16253. 'location' => 'xml',
  16254. 'sentAs' => 'WatermarkTemplateId',
  16255. ),
  16256. ),
  16257. 'Watermark' => array(
  16258. 'type' => 'array',
  16259. 'location' => 'xml',
  16260. 'data' => array(
  16261. 'xmlFlattened' => true,
  16262. ),
  16263. 'items' => array(
  16264. 'name' => 'Watermark',
  16265. 'type' => 'object',
  16266. 'sentAs' => 'Watermark',
  16267. 'properties' => array(
  16268. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  16269. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  16270. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16271. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  16272. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  16273. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16274. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16275. 'Image' => array(
  16276. 'type' => 'object',
  16277. 'location' => 'xml',
  16278. 'properties' => array(
  16279. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  16280. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  16281. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16282. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16283. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  16284. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  16285. ),
  16286. ),
  16287. 'Text' => array(
  16288. 'type' => 'object',
  16289. 'location' => 'xml',
  16290. 'properties' => array(
  16291. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  16292. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  16293. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  16294. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  16295. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  16296. ),
  16297. ),
  16298. 'SlideConfig' => array(
  16299. 'type' => 'object',
  16300. 'location' => 'xml',
  16301. 'properties' => array(
  16302. 'SlideMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16303. 'XSlideSpeed' => array( 'type' => 'string', 'location' => 'xml', ),
  16304. 'YSlideSpeed' => array( 'type' => 'string', 'location' => 'xml', ),
  16305. ),
  16306. ),
  16307. ),
  16308. )
  16309. ),
  16310. 'DigitalWatermark' => array(
  16311. 'type' => 'object',
  16312. 'location' => 'xml',
  16313. 'properties' => array(
  16314. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  16315. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  16316. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16317. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  16318. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  16319. ),
  16320. ),
  16321. 'Output' => array(
  16322. 'type' => 'object',
  16323. 'location' => 'xml',
  16324. 'properties' => array(
  16325. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  16326. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  16327. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  16328. ),
  16329. ),
  16330. ),
  16331. ),
  16332. 'CallBackMqConfig' => array(
  16333. 'type' => 'object',
  16334. 'location' => 'xml',
  16335. 'properties' => array(
  16336. 'MqRegion' => array( 'type' => 'string', 'location' => 'xml', ),
  16337. 'MqMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16338. 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
  16339. ),
  16340. ),
  16341. ),
  16342. );
  16343. }
  16344. public static function CreateMediaVideoEnhanceJobsOutput() {
  16345. return array(
  16346. 'type' => 'object',
  16347. 'additionalProperties' => true,
  16348. 'properties' => array(
  16349. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  16350. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  16351. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  16352. 'JobsDetail' => array(
  16353. 'type' => 'object',
  16354. 'location' => 'xml',
  16355. 'properties' => array(
  16356. 'Code' => array( 'type' => 'string', 'location' => 'xml', ),
  16357. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  16358. 'JobId' => array( 'type' => 'string', 'location' => 'xml', ),
  16359. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  16360. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  16361. 'Progress' => array( 'type' => 'string', 'location' => 'xml', ),
  16362. 'CreationTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16363. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16364. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16365. 'QueueId' => array( 'type' => 'string', 'location' => 'xml', ),
  16366. 'QueueType' => array( 'type' => 'string', 'location' => 'xml', ),
  16367. 'Input' => array(
  16368. 'type' => 'object',
  16369. 'location' => 'xml',
  16370. 'properties' => array(
  16371. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  16372. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  16373. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  16374. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  16375. ),
  16376. ),
  16377. 'Operation' => array(
  16378. 'type' => 'object',
  16379. 'location' => 'xml',
  16380. 'properties' => array(
  16381. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  16382. 'TemplateName' => array( 'type' => 'string', 'location' => 'xml', ),
  16383. 'UserData' => array( 'type' => 'string', 'location' => 'xml', ),
  16384. 'JobLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16385. 'VideoEnhance' => array(
  16386. 'type' => 'object',
  16387. 'location' => 'xml',
  16388. 'properties' => array(
  16389. 'Transcode' => array(
  16390. 'type' => 'object',
  16391. 'location' => 'xml',
  16392. 'properties' => array(
  16393. 'Container' => array(
  16394. 'type' => 'object',
  16395. 'location' => 'xml',
  16396. 'properties' => array(
  16397. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  16398. 'ClipConfig' => array(
  16399. 'type' => 'object',
  16400. 'location' => 'xml',
  16401. 'properties' => array(
  16402. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  16403. ),
  16404. ),
  16405. ),
  16406. ),
  16407. 'Video' => array(
  16408. 'type' => 'object',
  16409. 'location' => 'xml',
  16410. 'properties' => array(
  16411. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16412. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16413. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16414. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  16415. ),
  16416. ),
  16417. 'Audio' => array(
  16418. 'type' => 'object',
  16419. 'location' => 'xml',
  16420. 'properties' => array(
  16421. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16422. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  16423. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  16424. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  16425. ),
  16426. ),
  16427. ),
  16428. ),
  16429. 'SuperResolution' => array(
  16430. 'type' => 'object',
  16431. 'location' => 'xml',
  16432. 'properties' => array(
  16433. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  16434. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  16435. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16436. ),
  16437. ),
  16438. 'SDRtoHDR' => array(
  16439. 'type' => 'object',
  16440. 'location' => 'xml',
  16441. 'properties' => array(
  16442. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16443. ),
  16444. ),
  16445. 'ColorEnhance' => array(
  16446. 'type' => 'object',
  16447. 'location' => 'xml',
  16448. 'properties' => array(
  16449. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  16450. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  16451. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  16452. ),
  16453. ),
  16454. 'MsSharpen' => array(
  16455. 'type' => 'object',
  16456. 'location' => 'xml',
  16457. 'properties' => array(
  16458. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16459. ),
  16460. ),
  16461. 'FrameEnhance' => array(
  16462. 'type' => 'object',
  16463. 'location' => 'xml',
  16464. 'properties' => array(
  16465. 'FrameDoubling' => array( 'type' => 'string', 'location' => 'xml', ),
  16466. ),
  16467. ),
  16468. ),
  16469. ),
  16470. 'Watermark' => array(
  16471. 'type' => 'array',
  16472. 'location' => 'xml',
  16473. 'items' => array(
  16474. 'type' => 'object',
  16475. 'location' => 'xml',
  16476. 'properties' => array(
  16477. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  16478. 'Pos' => array( 'type' => 'string', 'location' => 'xml', ),
  16479. 'LocMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16480. 'Dx' => array( 'type' => 'string', 'location' => 'xml', ),
  16481. 'Dy' => array( 'type' => 'string', 'location' => 'xml', ),
  16482. 'StartTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16483. 'EndTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16484. 'Image' => array(
  16485. 'type' => 'object',
  16486. 'location' => 'xml',
  16487. 'properties' => array(
  16488. 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
  16489. 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
  16490. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16491. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16492. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  16493. 'Background' => array( 'type' => 'string', 'location' => 'xml', ),
  16494. ),
  16495. ),
  16496. 'Text' => array(
  16497. 'type' => 'object',
  16498. 'location' => 'xml',
  16499. 'properties' => array(
  16500. 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
  16501. 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
  16502. 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
  16503. 'Transparency' => array( 'type' => 'string', 'location' => 'xml', ),
  16504. 'Text' => array( 'type' => 'string', 'location' => 'xml', ),
  16505. ),
  16506. ),
  16507. 'SlideConfig' => array(
  16508. 'type' => 'object',
  16509. 'location' => 'xml',
  16510. 'properties' => array(
  16511. 'SlideMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16512. 'XSlideSpeed' => array( 'type' => 'string', 'location' => 'xml', ),
  16513. 'YSlideSpeed' => array( 'type' => 'string', 'location' => 'xml', ),
  16514. ),
  16515. ),
  16516. ),
  16517. )
  16518. ),
  16519. 'WatermarkTemplateId' => array(
  16520. 'type' => 'array',
  16521. 'location' => 'xml',
  16522. 'items' => array( 'type' => 'string', 'location' => 'xml', ),
  16523. ),
  16524. 'Output' => array(
  16525. 'type' => 'object',
  16526. 'location' => 'xml',
  16527. 'properties' => array(
  16528. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  16529. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  16530. 'Object' => array( 'type' => 'string', 'location' => 'xml', ),
  16531. ),
  16532. ),
  16533. 'MediaInfo' => array(
  16534. 'type' => 'object',
  16535. 'location' => 'xml',
  16536. 'properties' => array(
  16537. 'Format' => array(
  16538. 'type' => 'object',
  16539. 'location' => 'xml',
  16540. 'properties' => array(
  16541. 'NumStream' => array( 'type' => 'integer', 'location' => 'xml', ),
  16542. 'NumProgram' => array( 'type' => 'integer', 'location' => 'xml', ),
  16543. 'FormatName' => array( 'type' => 'string', 'location' => 'xml', ),
  16544. 'FormatLongName' => array( 'type' => 'string', 'location' => 'xml', ),
  16545. 'StartTime' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16546. 'Duration' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16547. 'Bitrate' => array( 'type' => 'integer', 'location' => 'xml', ),
  16548. 'Size' => array( 'type' => 'integer', 'location' => 'xml', ),
  16549. ),
  16550. ),
  16551. 'Stream' => array(
  16552. 'type' => 'object',
  16553. 'location' => 'xml',
  16554. 'properties' => array(
  16555. 'Video' => array(
  16556. 'type' => 'object',
  16557. 'location' => 'xml',
  16558. 'properties' => array(
  16559. 'Index' => array( 'type' => 'integer', 'location' => 'xml', ),
  16560. 'CodecName' => array( 'type' => 'string', 'location' => 'xml', ),
  16561. 'CodecLongName' => array( 'type' => 'string', 'location' => 'xml', ),
  16562. 'CodecTimeBase' => array( 'type' => 'string', 'location' => 'xml', ),
  16563. 'CodecTagString' => array( 'type' => 'string', 'location' => 'xml', ),
  16564. 'CodecTag' => array( 'type' => 'string', 'location' => 'xml', ),
  16565. 'Profile' => array( 'type' => 'string', 'location' => 'xml', ),
  16566. 'Height' => array( 'type' => 'integer', 'location' => 'xml', ),
  16567. 'Width' => array( 'type' => 'integer', 'location' => 'xml', ),
  16568. 'HasBFrame' => array( 'type' => 'integer', 'location' => 'xml', ),
  16569. 'RefFrames' => array( 'type' => 'integer', 'location' => 'xml', ),
  16570. 'Sar' => array( 'type' => 'string', 'location' => 'xml', ),
  16571. 'Dar' => array( 'type' => 'string', 'location' => 'xml', ),
  16572. 'PixFormat' => array( 'type' => 'string', 'location' => 'xml', ),
  16573. 'FieldOrder' => array( 'type' => 'string', 'location' => 'xml', ),
  16574. 'Level' => array( 'type' => 'integer', 'location' => 'xml', ),
  16575. 'Fps' => array( 'type' => 'integer', 'location' => 'xml', ),
  16576. 'AvgFps' => array( 'type' => 'string', 'location' => 'xml', ),
  16577. 'Timebase' => array( 'type' => 'string', 'location' => 'xml', ),
  16578. 'StartTime' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16579. 'Duration' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16580. 'Bitrate' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16581. 'NumFrames' => array( 'type' => 'integer', 'location' => 'xml', ),
  16582. 'Language' => array( 'type' => 'string', 'location' => 'xml', ),
  16583. ),
  16584. ),
  16585. 'Audio' => array(
  16586. 'type' => 'object',
  16587. 'location' => 'xml',
  16588. 'properties' => array(
  16589. 'Index' => array( 'type' => 'integer', 'location' => 'xml', ),
  16590. 'CodecName' => array( 'type' => 'string', 'location' => 'xml', ),
  16591. 'CodecLongName' => array( 'type' => 'string', 'location' => 'xml', ),
  16592. 'CodecTimeBase' => array( 'type' => 'string', 'location' => 'xml', ),
  16593. 'CodecTagString' => array( 'type' => 'string', 'location' => 'xml', ),
  16594. 'CodecTag' => array( 'type' => 'string', 'location' => 'xml', ),
  16595. 'SampleFmt' => array( 'type' => 'string', 'location' => 'xml', ),
  16596. 'SampleRate' => array( 'type' => 'integer', 'location' => 'xml', ),
  16597. 'Channel' => array( 'type' => 'integer', 'location' => 'xml', ),
  16598. 'ChannelLayout' => array( 'type' => 'string', 'location' => 'xml', ),
  16599. 'Timebase' => array( 'type' => 'string', 'location' => 'xml', ),
  16600. 'StartTime' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16601. 'Duration' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16602. 'Bitrate' => array( 'type' => 'numeric', 'location' => 'xml', ),
  16603. 'Language' => array( 'type' => 'string', 'location' => 'xml', ),
  16604. ),
  16605. ),
  16606. 'Subtitle' => array(
  16607. 'type' => 'object',
  16608. 'location' => 'xml',
  16609. 'properties' => array(
  16610. 'Index' => array( 'type' => 'integer', 'location' => 'xml', ),
  16611. 'Language' => array( 'type' => 'string', 'location' => 'xml', ),
  16612. ),
  16613. ),
  16614. ),
  16615. ),
  16616. ),
  16617. ),
  16618. 'MediaResult' => array(
  16619. 'type' => 'object',
  16620. 'location' => 'xml',
  16621. 'properties' => array(
  16622. 'OutputFile' => array(
  16623. 'type' => 'object',
  16624. 'location' => 'xml',
  16625. 'properties' => array(
  16626. 'Bucket' => array( 'type' => 'string', 'location' => 'xml', ),
  16627. 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
  16628. 'ObjectName' => array(
  16629. 'type' => 'array',
  16630. 'location' => 'xml',
  16631. 'items' => array( 'type' => 'string', 'location' => 'xml',),
  16632. ),
  16633. 'Md5Info' => array(
  16634. 'type' => 'array',
  16635. 'location' => 'xml',
  16636. 'items' => array(
  16637. 'type' => 'object',
  16638. 'location' => 'xml',
  16639. 'properties' => array(
  16640. 'ObjectName' => array( 'type' => 'string', 'location' => 'xml',),
  16641. 'Md5' => array( 'type' => 'string', 'location' => 'xml',),
  16642. ),
  16643. ),
  16644. ),
  16645. ),
  16646. ),
  16647. ),
  16648. ),
  16649. 'DigitalWatermark' => array(
  16650. 'type' => 'object',
  16651. 'location' => 'xml',
  16652. 'properties' => array(
  16653. 'Message' => array( 'type' => 'string', 'location' => 'xml', ),
  16654. 'Type' => array( 'type' => 'string', 'location' => 'xml', ),
  16655. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16656. 'IgnoreError' => array( 'type' => 'string', 'location' => 'xml', ),
  16657. 'State' => array( 'type' => 'string', 'location' => 'xml', ),
  16658. ),
  16659. ),
  16660. ),
  16661. ),
  16662. ),
  16663. ),
  16664. ),
  16665. );
  16666. }
  16667. public static function CreateMediaVideoEnhanceTemplate() {
  16668. return array(
  16669. 'httpMethod' => 'POST',
  16670. 'uri' => '/{Bucket}template',
  16671. 'class' => 'Qcloud\\Cos\\Command',
  16672. 'responseClass' => 'CreateMediaVideoEnhanceTemplateOutput',
  16673. 'responseType' => 'model',
  16674. 'data' => array(
  16675. 'xmlRoot' => array(
  16676. 'name' => 'Request',
  16677. ),
  16678. ),
  16679. 'parameters' => array(
  16680. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  16681. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  16682. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  16683. 'VideoEnhance' => array(
  16684. 'type' => 'object',
  16685. 'location' => 'xml',
  16686. 'properties' => array(
  16687. 'Transcode' => array(
  16688. 'type' => 'object',
  16689. 'location' => 'xml',
  16690. 'properties' => array(
  16691. 'Container' => array(
  16692. 'type' => 'object',
  16693. 'location' => 'xml',
  16694. 'properties' => array(
  16695. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  16696. 'ClipConfig' => array(
  16697. 'type' => 'object',
  16698. 'location' => 'xml',
  16699. 'properties' => array(
  16700. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  16701. ),
  16702. ),
  16703. ),
  16704. ),
  16705. 'Video' => array(
  16706. 'type' => 'object',
  16707. 'location' => 'xml',
  16708. 'properties' => array(
  16709. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16710. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16711. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16712. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  16713. ),
  16714. ),
  16715. 'Audio' => array(
  16716. 'type' => 'object',
  16717. 'location' => 'xml',
  16718. 'properties' => array(
  16719. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16720. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  16721. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  16722. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  16723. ),
  16724. ),
  16725. ),
  16726. ),
  16727. 'SuperResolution' => array(
  16728. 'type' => 'object',
  16729. 'location' => 'xml',
  16730. 'properties' => array(
  16731. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  16732. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  16733. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16734. ),
  16735. ),
  16736. 'SDRtoHDR' => array(
  16737. 'type' => 'object',
  16738. 'location' => 'xml',
  16739. 'properties' => array(
  16740. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16741. ),
  16742. ),
  16743. 'ColorEnhance' => array(
  16744. 'type' => 'object',
  16745. 'location' => 'xml',
  16746. 'properties' => array(
  16747. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  16748. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  16749. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  16750. ),
  16751. ),
  16752. 'MsSharpen' => array(
  16753. 'type' => 'object',
  16754. 'location' => 'xml',
  16755. 'properties' => array(
  16756. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16757. ),
  16758. ),
  16759. 'FrameEnhance' => array(
  16760. 'type' => 'object',
  16761. 'location' => 'xml',
  16762. 'properties' => array(
  16763. 'FrameDoubling' => array( 'type' => 'string', 'location' => 'xml', ),
  16764. ),
  16765. ),
  16766. ),
  16767. ),
  16768. ),
  16769. );
  16770. }
  16771. public static function CreateMediaVideoEnhanceTemplateOutput() {
  16772. return array(
  16773. 'type' => 'object',
  16774. 'additionalProperties' => true,
  16775. 'properties' => array(
  16776. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  16777. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  16778. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  16779. 'Template' => array(
  16780. 'type' => 'object',
  16781. 'location' => 'xml',
  16782. 'properties' => array(
  16783. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  16784. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  16785. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  16786. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  16787. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  16788. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16789. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  16790. 'VideoEnhance' => array(
  16791. 'type' => 'object',
  16792. 'location' => 'xml',
  16793. 'properties' => array(
  16794. 'Transcode' => array(
  16795. 'type' => 'object',
  16796. 'location' => 'xml',
  16797. 'properties' => array(
  16798. 'Container' => array(
  16799. 'type' => 'object',
  16800. 'location' => 'xml',
  16801. 'properties' => array(
  16802. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  16803. 'ClipConfig' => array(
  16804. 'type' => 'object',
  16805. 'location' => 'xml',
  16806. 'properties' => array(
  16807. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  16808. ),
  16809. ),
  16810. ),
  16811. ),
  16812. 'Video' => array(
  16813. 'type' => 'object',
  16814. 'location' => 'xml',
  16815. 'properties' => array(
  16816. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16817. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16818. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16819. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  16820. ),
  16821. ),
  16822. 'Audio' => array(
  16823. 'type' => 'object',
  16824. 'location' => 'xml',
  16825. 'properties' => array(
  16826. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16827. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  16828. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  16829. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  16830. ),
  16831. ),
  16832. ),
  16833. ),
  16834. 'SuperResolution' => array(
  16835. 'type' => 'object',
  16836. 'location' => 'xml',
  16837. 'properties' => array(
  16838. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  16839. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  16840. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16841. ),
  16842. ),
  16843. 'SDRtoHDR' => array(
  16844. 'type' => 'object',
  16845. 'location' => 'xml',
  16846. 'properties' => array(
  16847. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16848. ),
  16849. ),
  16850. 'ColorEnhance' => array(
  16851. 'type' => 'object',
  16852. 'location' => 'xml',
  16853. 'properties' => array(
  16854. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  16855. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  16856. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  16857. ),
  16858. ),
  16859. 'MsSharpen' => array(
  16860. 'type' => 'object',
  16861. 'location' => 'xml',
  16862. 'properties' => array(
  16863. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16864. ),
  16865. ),
  16866. 'FrameEnhance' => array(
  16867. 'type' => 'object',
  16868. 'location' => 'xml',
  16869. 'properties' => array(
  16870. 'FrameDoubling' => array( 'type' => 'string', 'location' => 'xml', ),
  16871. ),
  16872. ),
  16873. ),
  16874. ),
  16875. ),
  16876. ),
  16877. ),
  16878. );
  16879. }
  16880. public static function UpdateMediaVideoEnhanceTemplate() {
  16881. return array(
  16882. 'httpMethod' => 'PUT',
  16883. 'uri' => '/{Bucket}template/{/Key*}',
  16884. 'class' => 'Qcloud\\Cos\\Command',
  16885. 'responseClass' => 'UpdateMediaVideoEnhanceTemplateOutput',
  16886. 'responseType' => 'model',
  16887. 'data' => array(
  16888. 'xmlRoot' => array(
  16889. 'name' => 'Request',
  16890. ),
  16891. ),
  16892. 'parameters' => array(
  16893. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  16894. 'Key' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  16895. 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
  16896. 'Name' => array( 'location' => 'xml', 'type' => 'string', ),
  16897. 'VideoEnhance' => array(
  16898. 'type' => 'object',
  16899. 'location' => 'xml',
  16900. 'properties' => array(
  16901. 'Transcode' => array(
  16902. 'type' => 'object',
  16903. 'location' => 'xml',
  16904. 'properties' => array(
  16905. 'Container' => array(
  16906. 'type' => 'object',
  16907. 'location' => 'xml',
  16908. 'properties' => array(
  16909. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  16910. 'ClipConfig' => array(
  16911. 'type' => 'object',
  16912. 'location' => 'xml',
  16913. 'properties' => array(
  16914. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  16915. ),
  16916. ),
  16917. ),
  16918. ),
  16919. 'Video' => array(
  16920. 'type' => 'object',
  16921. 'location' => 'xml',
  16922. 'properties' => array(
  16923. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16924. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  16925. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  16926. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  16927. ),
  16928. ),
  16929. 'Audio' => array(
  16930. 'type' => 'object',
  16931. 'location' => 'xml',
  16932. 'properties' => array(
  16933. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  16934. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  16935. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  16936. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  16937. ),
  16938. ),
  16939. ),
  16940. ),
  16941. 'SuperResolution' => array(
  16942. 'type' => 'object',
  16943. 'location' => 'xml',
  16944. 'properties' => array(
  16945. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  16946. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  16947. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  16948. ),
  16949. ),
  16950. 'SDRtoHDR' => array(
  16951. 'type' => 'object',
  16952. 'location' => 'xml',
  16953. 'properties' => array(
  16954. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  16955. ),
  16956. ),
  16957. 'ColorEnhance' => array(
  16958. 'type' => 'object',
  16959. 'location' => 'xml',
  16960. 'properties' => array(
  16961. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  16962. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  16963. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  16964. ),
  16965. ),
  16966. 'MsSharpen' => array(
  16967. 'type' => 'object',
  16968. 'location' => 'xml',
  16969. 'properties' => array(
  16970. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  16971. ),
  16972. ),
  16973. 'FrameEnhance' => array(
  16974. 'type' => 'object',
  16975. 'location' => 'xml',
  16976. 'properties' => array(
  16977. 'FrameDoubling' => array( 'type' => 'string', 'location' => 'xml', ),
  16978. ),
  16979. ),
  16980. ),
  16981. ),
  16982. ),
  16983. );
  16984. }
  16985. public static function UpdateMediaVideoEnhanceTemplateOutput() {
  16986. return array(
  16987. 'type' => 'object',
  16988. 'additionalProperties' => true,
  16989. 'properties' => array(
  16990. 'RequestId' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'x-ci-request-id', ),
  16991. 'ContentType' => array( 'type' => 'string', 'location' => 'header', 'sentAs' => 'Content-Type', ),
  16992. 'ContentLength' => array( 'type' => 'numeric', 'minimum'=> 0, 'location' => 'header', 'sentAs' => 'Content-Length', ),
  16993. 'Template' => array(
  16994. 'type' => 'object',
  16995. 'location' => 'xml',
  16996. 'properties' => array(
  16997. 'TemplateId' => array( 'type' => 'string', 'location' => 'xml', ),
  16998. 'Name' => array( 'type' => 'string', 'location' => 'xml', ),
  16999. 'BucketId' => array( 'type' => 'string', 'location' => 'xml', ),
  17000. 'Category' => array( 'type' => 'string', 'location' => 'xml', ),
  17001. 'Tag' => array( 'type' => 'string', 'location' => 'xml', ),
  17002. 'UpdateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  17003. 'CreateTime' => array( 'type' => 'string', 'location' => 'xml', ),
  17004. 'VideoEnhance' => array(
  17005. 'type' => 'object',
  17006. 'location' => 'xml',
  17007. 'properties' => array(
  17008. 'Transcode' => array(
  17009. 'type' => 'object',
  17010. 'location' => 'xml',
  17011. 'properties' => array(
  17012. 'Container' => array(
  17013. 'type' => 'object',
  17014. 'location' => 'xml',
  17015. 'properties' => array(
  17016. 'Format' => array( 'type' => 'string', 'location' => 'xml', ),
  17017. 'ClipConfig' => array(
  17018. 'type' => 'object',
  17019. 'location' => 'xml',
  17020. 'properties' => array(
  17021. 'Duration' => array( 'type' => 'string', 'location' => 'xml', ),
  17022. ),
  17023. ),
  17024. ),
  17025. ),
  17026. 'Video' => array(
  17027. 'type' => 'object',
  17028. 'location' => 'xml',
  17029. 'properties' => array(
  17030. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  17031. 'Width' => array( 'type' => 'string', 'location' => 'xml', ),
  17032. 'Height' => array( 'type' => 'string', 'location' => 'xml', ),
  17033. 'Fps' => array( 'type' => 'string', 'location' => 'xml', ),
  17034. ),
  17035. ),
  17036. 'Audio' => array(
  17037. 'type' => 'object',
  17038. 'location' => 'xml',
  17039. 'properties' => array(
  17040. 'Codec' => array( 'type' => 'string', 'location' => 'xml', ),
  17041. 'Samplerate' => array( 'type' => 'string', 'location' => 'xml', ),
  17042. 'Bitrate' => array( 'type' => 'string', 'location' => 'xml', ),
  17043. 'Channels' => array( 'type' => 'string', 'location' => 'xml', ),
  17044. ),
  17045. ),
  17046. ),
  17047. ),
  17048. 'SuperResolution' => array(
  17049. 'type' => 'object',
  17050. 'location' => 'xml',
  17051. 'properties' => array(
  17052. 'Resolution' => array( 'type' => 'string', 'location' => 'xml', ),
  17053. 'EnableScaleUp' => array( 'type' => 'string', 'location' => 'xml', ),
  17054. 'Version' => array( 'type' => 'string', 'location' => 'xml', ),
  17055. ),
  17056. ),
  17057. 'SDRtoHDR' => array(
  17058. 'type' => 'object',
  17059. 'location' => 'xml',
  17060. 'properties' => array(
  17061. 'HdrMode' => array( 'type' => 'string', 'location' => 'xml', ),
  17062. ),
  17063. ),
  17064. 'ColorEnhance' => array(
  17065. 'type' => 'object',
  17066. 'location' => 'xml',
  17067. 'properties' => array(
  17068. 'Contrast' => array( 'type' => 'string', 'location' => 'xml', ),
  17069. 'Correction' => array( 'type' => 'string', 'location' => 'xml', ),
  17070. 'Saturation' => array( 'type' => 'string', 'location' => 'xml', ),
  17071. ),
  17072. ),
  17073. 'MsSharpen' => array(
  17074. 'type' => 'object',
  17075. 'location' => 'xml',
  17076. 'properties' => array(
  17077. 'SharpenLevel' => array( 'type' => 'string', 'location' => 'xml', ),
  17078. ),
  17079. ),
  17080. 'FrameEnhance' => array(
  17081. 'type' => 'object',
  17082. 'location' => 'xml',
  17083. 'properties' => array(
  17084. 'FrameDoubling' => array( 'type' => 'string', 'location' => 'xml', ),
  17085. ),
  17086. ),
  17087. ),
  17088. ),
  17089. ),
  17090. ),
  17091. ),
  17092. );
  17093. }
  17094. public static function OpenImageSlim() {
  17095. return array(
  17096. 'httpMethod' => 'PUT',
  17097. 'uri' => '/{Bucket}?image-slim',
  17098. 'class' => 'Qcloud\\Cos\\Command',
  17099. 'responseClass' => 'OpenImageSlimOutput',
  17100. 'responseType' => 'model',
  17101. 'data' => array(
  17102. 'xmlRoot' => array(
  17103. 'name' => 'ImageSlim',
  17104. ),
  17105. ),
  17106. 'parameters' => array(
  17107. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  17108. 'SlimMode' => array( 'location' => 'xml', 'type' => 'string', ),
  17109. 'Suffixs' => array(
  17110. 'type' => 'object',
  17111. 'location' => 'xml',
  17112. 'properties' => array(
  17113. 'Suffix' => array(
  17114. 'type' => 'array',
  17115. 'location' => 'xml',
  17116. 'data' => array(
  17117. 'xmlFlattened' => true,
  17118. ),
  17119. 'items' => array( 'name' => 'Suffix', 'type' => 'string', 'location' => 'xml', 'sentAs' => 'Suffix', ),
  17120. ),
  17121. ),
  17122. ),
  17123. ),
  17124. );
  17125. }
  17126. public static function OpenImageSlimOutput() {
  17127. return array(
  17128. 'type' => 'object',
  17129. 'additionalProperties' => true,
  17130. 'properties' => array(
  17131. 'RequestId' => array(
  17132. 'type' => 'string',
  17133. 'location' => 'header',
  17134. 'sentAs' => 'x-cos-request-id',
  17135. ),
  17136. 'ContentType' => array(
  17137. 'type' => 'string',
  17138. 'location' => 'header',
  17139. 'sentAs' => 'Content-Type',
  17140. ),
  17141. 'ContentLength' => array(
  17142. 'type' => 'numeric',
  17143. 'minimum'=> 0,
  17144. 'location' => 'header',
  17145. 'sentAs' => 'Content-Length',
  17146. ),
  17147. )
  17148. );
  17149. }
  17150. public static function CloseImageSlim() {
  17151. return array(
  17152. 'httpMethod' => 'DELETE',
  17153. 'uri' => '/{Bucket}?image-slim',
  17154. 'class' => 'Qcloud\\Cos\\Command',
  17155. 'responseClass' => 'CloseImageSlimOutput',
  17156. 'responseType' => 'model',
  17157. 'parameters' => array(
  17158. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  17159. ),
  17160. );
  17161. }
  17162. public static function CloseImageSlimOutput() {
  17163. return array(
  17164. 'type' => 'object',
  17165. 'additionalProperties' => true,
  17166. 'properties' => array(
  17167. 'RequestId' => array(
  17168. 'type' => 'string',
  17169. 'location' => 'header',
  17170. 'sentAs' => 'x-cos-request-id',
  17171. ),
  17172. 'ContentType' => array(
  17173. 'type' => 'string',
  17174. 'location' => 'header',
  17175. 'sentAs' => 'Content-Type',
  17176. ),
  17177. 'ContentLength' => array(
  17178. 'type' => 'numeric',
  17179. 'minimum'=> 0,
  17180. 'location' => 'header',
  17181. 'sentAs' => 'Content-Length',
  17182. ),
  17183. )
  17184. );
  17185. }
  17186. public static function GetImageSlim() {
  17187. return array(
  17188. 'httpMethod' => 'GET',
  17189. 'uri' => '/{Bucket}?image-slim',
  17190. 'class' => 'Qcloud\\Cos\\Command',
  17191. 'responseClass' => 'GetImageSlimOutput',
  17192. 'responseType' => 'model',
  17193. 'parameters' => array(
  17194. 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
  17195. ),
  17196. );
  17197. }
  17198. public static function GetImageSlimOutput() {
  17199. return array(
  17200. 'type' => 'object',
  17201. 'additionalProperties' => true,
  17202. 'properties' => array(
  17203. 'RequestId' => array(
  17204. 'type' => 'string',
  17205. 'location' => 'header',
  17206. 'sentAs' => 'x-cos-request-id',
  17207. ),
  17208. 'ContentType' => array(
  17209. 'type' => 'string',
  17210. 'location' => 'header',
  17211. 'sentAs' => 'Content-Type',
  17212. ),
  17213. 'ContentLength' => array(
  17214. 'type' => 'numeric',
  17215. 'minimum'=> 0,
  17216. 'location' => 'header',
  17217. 'sentAs' => 'Content-Length',
  17218. ),
  17219. 'Status' => array( 'type' => 'string', 'location' => 'xml', ),
  17220. 'SlimMode' => array( 'type' => 'string', 'location' => 'xml', ),
  17221. )
  17222. );
  17223. }
  17224. }