From d5154eba9e50c228cb8fb2ee8d86c55f1b432a01 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 23 Jul 2024 02:39:19 +0000 Subject: [PATCH] Update water-mark params --- CHANGELOG | 3 + aliyun-net-sdk-mts/Mts/Endpoint.cs | 74 + .../V20140618/ActivateMediaWorkflowRequest.cs | 123 + .../ActivateMediaWorkflowResponse.cs | 130 + .../Mts/Model/V20140618/AddMediaRequest.cs | 258 ++ .../Mts/Model/V20140618/AddMediaResponse.cs | 344 ++ .../Mts/Model/V20140618/AddMediaTagRequest.cs | 138 + .../Model/V20140618/AddMediaTagResponse.cs | 42 + .../V20140618/AddMediaWorkflowRequest.cs | 153 + .../V20140618/AddMediaWorkflowResponse.cs | 144 + .../Mts/Model/V20140618/AddPipelineRequest.cs | 183 + .../Model/V20140618/AddPipelineResponse.cs | 292 ++ .../V20140618/AddSmarttagTemplateRequest.cs | 303 ++ .../V20140618/AddSmarttagTemplateResponse.cs | 56 + .../Mts/Model/V20140618/AddTemplateRequest.cs | 198 + .../Model/V20140618/AddTemplateResponse.cs | 1070 +++++ .../V20140618/AddWaterMarkTemplateRequest.cs | 138 + .../V20140618/AddWaterMarkTemplateResponse.cs | 306 ++ .../Model/V20140618/BindInputBucketRequest.cs | 138 + .../V20140618/BindInputBucketResponse.cs | 42 + .../V20140618/BindOutputBucketRequest.cs | 123 + .../V20140618/BindOutputBucketResponse.cs | 42 + .../Mts/Model/V20140618/CancelJobRequest.cs | 123 + .../Mts/Model/V20140618/CancelJobResponse.cs | 56 + .../V20140618/CreateCustomEntityRequest.cs | 168 + .../V20140618/CreateCustomEntityResponse.cs | 56 + .../V20140618/CreateCustomGroupRequest.cs | 153 + .../V20140618/CreateCustomGroupResponse.cs | 56 + .../Model/V20140618/CreateFpShotDBRequest.cs | 168 + .../Model/V20140618/CreateFpShotDBResponse.cs | 158 + .../DeactivateMediaWorkflowRequest.cs | 123 + .../DeactivateMediaWorkflowResponse.cs | 130 + .../V20140618/DeleteCustomEntityRequest.cs | 153 + .../V20140618/DeleteCustomEntityResponse.cs | 42 + .../V20140618/DeleteCustomGroupRequest.cs | 138 + .../V20140618/DeleteCustomGroupResponse.cs | 42 + .../V20140618/DeleteCustomViewRequest.cs | 168 + .../V20140618/DeleteCustomViewResponse.cs | 42 + .../Mts/Model/V20140618/DeleteMediaRequest.cs | 123 + .../Model/V20140618/DeleteMediaResponse.cs | 42 + .../Model/V20140618/DeleteMediaTagRequest.cs | 138 + .../Model/V20140618/DeleteMediaTagResponse.cs | 42 + .../V20140618/DeleteMediaWorkflowRequest.cs | 123 + .../V20140618/DeleteMediaWorkflowResponse.cs | 130 + .../Model/V20140618/DeletePipelineRequest.cs | 123 + .../Model/V20140618/DeletePipelineResponse.cs | 56 + .../DeleteSmarttagTemplateRequest.cs | 123 + .../DeleteSmarttagTemplateResponse.cs | 42 + .../Model/V20140618/DeleteTemplateRequest.cs | 123 + .../Model/V20140618/DeleteTemplateResponse.cs | 56 + .../DeleteWaterMarkTemplateRequest.cs | 123 + .../DeleteWaterMarkTemplateResponse.cs | 56 + .../Mts/Model/V20140618/ImAuditRequest.cs | 158 + .../Mts/Model/V20140618/ImAuditResponse.cs | 1068 +++++ .../Model/V20140618/ImportFpShotJobRequest.cs | 188 + .../V20140618/ImportFpShotJobResponse.cs | 56 + .../V20140618/ListAllMediaBucketRequest.cs | 138 + .../V20140618/ListAllMediaBucketResponse.cs | 116 + .../V20140618/ListCustomEntitiesRequest.cs | 168 + .../V20140618/ListCustomEntitiesResponse.cs | 144 + .../V20140618/ListCustomGroupsRequest.cs | 153 + .../V20140618/ListCustomGroupsResponse.cs | 144 + .../V20140618/ListCustomPersonsRequest.cs | 138 + .../V20140618/ListCustomPersonsResponse.cs | 208 + .../Model/V20140618/ListCustomViewsRequest.cs | 183 + .../V20140618/ListCustomViewsResponse.cs | 130 + .../Model/V20140618/ListFpShotDBRequest.cs | 123 + .../Model/V20140618/ListFpShotDBResponse.cs | 158 + .../Model/V20140618/ListFpShotFilesRequest.cs | 183 + .../V20140618/ListFpShotFilesResponse.cs | 176 + .../V20140618/ListFpShotImportJobRequest.cs | 128 + .../V20140618/ListFpShotImportJobResponse.cs | 242 ++ .../Mts/Model/V20140618/ListJobRequest.cs | 198 + .../Mts/Model/V20140618/ListJobResponse.cs | 3250 +++++++++++++++ .../ListMediaWorkflowExecutionsRequest.cs | 183 + .../ListMediaWorkflowExecutionsResponse.cs | 440 ++ .../V20140618/QueryAnalysisJobListRequest.cs | 123 + .../V20140618/QueryAnalysisJobListResponse.cs | 1100 +++++ .../QueryCopyrightExtractJobRequest.cs | 68 + .../QueryCopyrightExtractJobResponse.cs | 102 + .../V20140618/QueryCopyrightJobRequest.cs | 143 + .../V20140618/QueryCopyrightJobResponse.cs | 270 ++ .../QueryFpDBDeleteJobListRequest.cs | 123 + .../QueryFpDBDeleteJobListResponse.cs | 214 + .../QueryFpFileDeleteJobListRequest.cs | 123 + .../QueryFpFileDeleteJobListResponse.cs | 214 + .../V20140618/QueryFpShotJobListRequest.cs | 213 + .../V20140618/QueryFpShotJobListResponse.cs | 772 ++++ .../V20140618/QueryIProductionJobRequest.cs | 123 + .../V20140618/QueryIProductionJobResponse.cs | 168 + .../Model/V20140618/QueryJobListRequest.cs | 123 + .../Model/V20140618/QueryJobListResponse.cs | 3680 +++++++++++++++++ .../QueryMediaCensorJobDetailRequest.cs | 153 + .../QueryMediaCensorJobDetailResponse.cs | 1054 +++++ .../QueryMediaCensorJobListRequest.cs | 213 + .../QueryMediaCensorJobListResponse.cs | 1008 +++++ .../V20140618/QueryMediaInfoJobListRequest.cs | 123 + .../QueryMediaInfoJobListResponse.cs | 1412 +++++++ .../V20140618/QueryMediaListByURLRequest.cs | 183 + .../V20140618/QueryMediaListByURLResponse.cs | 1684 ++++++++ .../Model/V20140618/QueryMediaListRequest.cs | 183 + .../Model/V20140618/QueryMediaListResponse.cs | 1684 ++++++++ .../QueryMediaWorkflowExecutionListRequest.cs | 123 + ...QueryMediaWorkflowExecutionListResponse.cs | 440 ++ .../QueryMediaWorkflowListRequest.cs | 123 + .../QueryMediaWorkflowListResponse.cs | 158 + .../V20140618/QueryPipelineListRequest.cs | 123 + .../V20140618/QueryPipelineListResponse.cs | 306 ++ .../V20140618/QuerySmarttagJobRequest.cs | 138 + .../V20140618/QuerySmarttagJobResponse.cs | 116 + .../QuerySmarttagTemplateListRequest.cs | 123 + .../QuerySmarttagTemplateListResponse.cs | 256 ++ .../V20140618/QuerySnapshotJobListRequest.cs | 213 + .../V20140618/QuerySnapshotJobListResponse.cs | 756 ++++ .../V20140618/QueryTemplateListRequest.cs | 123 + .../V20140618/QueryTemplateListResponse.cs | 1186 ++++++ .../Model/V20140618/QueryTraceAbJobRequest.cs | 83 + .../V20140618/QueryTraceAbJobResponse.cs | 256 ++ .../V20140618/QueryTraceExtractJobRequest.cs | 68 + .../V20140618/QueryTraceExtractJobResponse.cs | 102 + .../V20140618/QueryTraceM3u8JobRequest.cs | 128 + .../V20140618/QueryTraceM3u8JobResponse.cs | 228 + .../QueryWaterMarkTemplateListRequest.cs | 123 + .../QueryWaterMarkTemplateListResponse.cs | 320 ++ .../V20140618/RegisterCustomFaceRequest.cs | 153 + .../V20140618/RegisterCustomFaceResponse.cs | 56 + .../V20140618/RegisterCustomViewRequest.cs | 168 + .../V20140618/RegisterCustomViewResponse.cs | 56 + .../V20140618/SearchMediaWorkflowRequest.cs | 153 + .../V20140618/SearchMediaWorkflowResponse.cs | 186 + .../Model/V20140618/SearchPipelineRequest.cs | 153 + .../Model/V20140618/SearchPipelineResponse.cs | 348 ++ .../Model/V20140618/SearchTemplateRequest.cs | 168 + .../Model/V20140618/SearchTemplateResponse.cs | 1080 +++++ .../SearchWaterMarkTemplateRequest.cs | 153 + .../SearchWaterMarkTemplateResponse.cs | 348 ++ .../V20140618/SubmitAnalysisJobRequest.cs | 183 + .../V20140618/SubmitAnalysisJobResponse.cs | 1086 +++++ .../SubmitCopyrightExtractJobRequest.cs | 128 + .../SubmitCopyrightExtractJobResponse.cs | 102 + .../V20140618/SubmitCopyrightJobRequest.cs | 218 + .../V20140618/SubmitCopyrightJobResponse.cs | 102 + .../V20140618/SubmitFpDBDeleteJobRequest.cs | 168 + .../V20140618/SubmitFpDBDeleteJobResponse.cs | 56 + .../V20140618/SubmitFpFileDeleteJobRequest.cs | 183 + .../SubmitFpFileDeleteJobResponse.cs | 56 + .../Model/V20140618/SubmitFpShotJobRequest.cs | 168 + .../V20140618/SubmitFpShotJobResponse.cs | 56 + .../V20140618/SubmitIProductionJobRequest.cs | 243 ++ .../V20140618/SubmitIProductionJobResponse.cs | 70 + .../V20140618/SubmitImageCopyrightRequest.cs | 98 + .../V20140618/SubmitImageCopyrightResponse.cs | 102 + .../Mts/Model/V20140618/SubmitJobsRequest.cs | 183 + .../Mts/Model/V20140618/SubmitJobsResponse.cs | 3490 ++++++++++++++++ .../V20140618/SubmitMediaCensorJobRequest.cs | 243 ++ .../V20140618/SubmitMediaCensorJobResponse.cs | 56 + .../V20140618/SubmitMediaInfoJobRequest.cs | 168 + .../V20140618/SubmitMediaInfoJobResponse.cs | 1398 +++++++ .../V20140618/SubmitSmarttagJobRequest.cs | 273 ++ .../V20140618/SubmitSmarttagJobResponse.cs | 56 + .../V20140618/SubmitSnapshotJobRequest.cs | 168 + .../V20140618/SubmitSnapshotJobResponse.cs | 728 ++++ .../V20140618/SubmitTraceAbJobRequest.cs | 188 + .../V20140618/SubmitTraceAbJobResponse.cs | 116 + .../V20140618/SubmitTraceExtractJobRequest.cs | 128 + .../SubmitTraceExtractJobResponse.cs | 102 + .../V20140618/SubmitTraceM3u8JobRequest.cs | 128 + .../V20140618/SubmitTraceM3u8JobResponse.cs | 88 + .../Model/V20140618/TagCustomPersonRequest.cs | 198 + .../V20140618/TagCustomPersonResponse.cs | 42 + .../V20140618/UnbindInputBucketRequest.cs | 138 + .../V20140618/UnbindInputBucketResponse.cs | 42 + .../V20140618/UnbindOutputBucketRequest.cs | 123 + .../V20140618/UnbindOutputBucketResponse.cs | 42 + .../V20140618/UnregisterCustomFaceRequest.cs | 153 + .../V20140618/UnregisterCustomFaceResponse.cs | 42 + .../V20140618/UpdateMediaCategoryRequest.cs | 138 + .../V20140618/UpdateMediaCategoryResponse.cs | 42 + .../V20140618/UpdateMediaCoverRequest.cs | 138 + .../V20140618/UpdateMediaCoverResponse.cs | 42 + .../UpdateMediaPublishStateRequest.cs | 138 + .../UpdateMediaPublishStateResponse.cs | 42 + .../Mts/Model/V20140618/UpdateMediaRequest.cs | 198 + .../Model/V20140618/UpdateMediaResponse.cs | 344 ++ .../V20140618/UpdateMediaWorkflowRequest.cs | 168 + .../V20140618/UpdateMediaWorkflowResponse.cs | 144 + .../UpdateMediaWorkflowTriggerModeRequest.cs | 138 + .../UpdateMediaWorkflowTriggerModeResponse.cs | 144 + .../Model/V20140618/UpdatePipelineRequest.cs | 198 + .../Model/V20140618/UpdatePipelineResponse.cs | 278 ++ .../UpdateSmarttagTemplateRequest.cs | 318 ++ .../UpdateSmarttagTemplateResponse.cs | 42 + .../Model/V20140618/UpdateTemplateRequest.cs | 213 + .../Model/V20140618/UpdateTemplateResponse.cs | 1070 +++++ .../UpdateWaterMarkTemplateRequest.cs | 153 + .../UpdateWaterMarkTemplateResponse.cs | 306 ++ ...tivateMediaWorkflowResponseUnmarshaller.cs | 47 + .../V20140618/AddMediaResponseUnmarshaller.cs | 74 + .../AddMediaTagResponseUnmarshaller.cs | 39 + .../AddMediaWorkflowResponseUnmarshaller.cs | 48 + .../AddPipelineResponseUnmarshaller.cs | 62 + ...AddSmarttagTemplateResponseUnmarshaller.cs | 40 + .../AddTemplateResponseUnmarshaller.cs | 133 + ...ddWaterMarkTemplateResponseUnmarshaller.cs | 63 + .../BindInputBucketResponseUnmarshaller.cs | 39 + .../BindOutputBucketResponseUnmarshaller.cs | 39 + .../CancelJobResponseUnmarshaller.cs | 40 + .../CreateCustomEntityResponseUnmarshaller.cs | 40 + .../CreateCustomGroupResponseUnmarshaller.cs | 40 + .../CreateFpShotDBResponseUnmarshaller.cs | 49 + ...tivateMediaWorkflowResponseUnmarshaller.cs | 47 + .../DeleteCustomEntityResponseUnmarshaller.cs | 39 + .../DeleteCustomGroupResponseUnmarshaller.cs | 39 + .../DeleteCustomViewResponseUnmarshaller.cs | 39 + .../DeleteMediaResponseUnmarshaller.cs | 39 + .../DeleteMediaTagResponseUnmarshaller.cs | 39 + ...DeleteMediaWorkflowResponseUnmarshaller.cs | 47 + .../DeletePipelineResponseUnmarshaller.cs | 40 + ...eteSmarttagTemplateResponseUnmarshaller.cs | 39 + .../DeleteTemplateResponseUnmarshaller.cs | 40 + ...teWaterMarkTemplateResponseUnmarshaller.cs | 40 + .../V20140618/ImAuditResponseUnmarshaller.cs | 218 + .../ImportFpShotJobResponseUnmarshaller.cs | 40 + .../ListAllMediaBucketResponseUnmarshaller.cs | 51 + .../ListCustomEntitiesResponseUnmarshaller.cs | 53 + .../ListCustomGroupsResponseUnmarshaller.cs | 53 + .../ListCustomPersonsResponseUnmarshaller.cs | 71 + .../ListCustomViewsResponseUnmarshaller.cs | 52 + .../ListFpShotDBResponseUnmarshaller.cs | 59 + .../ListFpShotFilesResponseUnmarshaller.cs | 57 + ...ListFpShotImportJobResponseUnmarshaller.cs | 65 + .../V20140618/ListJobResponseUnmarshaller.cs | 390 ++ ...aWorkflowExecutionsResponseUnmarshaller.cs | 86 + ...ueryAnalysisJobListResponseUnmarshaller.cs | 157 + ...CopyrightExtractJobResponseUnmarshaller.cs | 45 + .../QueryCopyrightJobResponseUnmarshaller.cs | 62 + ...ryFpDBDeleteJobListResponseUnmarshaller.cs | 63 + ...FpFileDeleteJobListResponseUnmarshaller.cs | 63 + .../QueryFpShotJobListResponseUnmarshaller.cs | 173 + ...QueryIProductionJobResponseUnmarshaller.cs | 48 + .../QueryJobListResponseUnmarshaller.cs | 441 ++ ...ediaCensorJobDetailResponseUnmarshaller.cs | 167 + ...yMediaCensorJobListResponseUnmarshaller.cs | 167 + ...eryMediaInfoJobListResponseUnmarshaller.cs | 179 + ...QueryMediaListByURLResponseUnmarshaller.cs | 232 ++ .../QueryMediaListResponseUnmarshaller.cs | 232 ++ ...rkflowExecutionListResponseUnmarshaller.cs | 91 + ...ryMediaWorkflowListResponseUnmarshaller.cs | 59 + .../QueryPipelineListResponseUnmarshaller.cs | 73 + .../QuerySmarttagJobResponseUnmarshaller.cs | 51 + ...marttagTemplateListResponseUnmarshaller.cs | 61 + ...uerySnapshotJobListResponseUnmarshaller.cs | 117 + .../QueryTemplateListResponseUnmarshaller.cs | 153 + .../QueryTraceAbJobResponseUnmarshaller.cs | 61 + ...ueryTraceExtractJobResponseUnmarshaller.cs | 45 + .../QueryTraceM3u8JobResponseUnmarshaller.cs | 59 + ...terMarkTemplateListResponseUnmarshaller.cs | 74 + .../RegisterCustomFaceResponseUnmarshaller.cs | 40 + .../RegisterCustomViewResponseUnmarshaller.cs | 40 + ...SearchMediaWorkflowResponseUnmarshaller.cs | 56 + .../SearchPipelineResponseUnmarshaller.cs | 71 + .../SearchTemplateResponseUnmarshaller.cs | 137 + ...chWaterMarkTemplateResponseUnmarshaller.cs | 71 + .../SubmitAnalysisJobResponseUnmarshaller.cs | 146 + ...CopyrightExtractJobResponseUnmarshaller.cs | 45 + .../SubmitCopyrightJobResponseUnmarshaller.cs | 45 + ...SubmitFpDBDeleteJobResponseUnmarshaller.cs | 40 + ...bmitFpFileDeleteJobResponseUnmarshaller.cs | 40 + .../SubmitFpShotJobResponseUnmarshaller.cs | 40 + ...ubmitIProductionJobResponseUnmarshaller.cs | 41 + ...ubmitImageCopyrightResponseUnmarshaller.cs | 45 + .../SubmitJobsResponseUnmarshaller.cs | 419 ++ ...ubmitMediaCensorJobResponseUnmarshaller.cs | 40 + .../SubmitMediaInfoJobResponseUnmarshaller.cs | 168 + .../SubmitSmarttagJobResponseUnmarshaller.cs | 40 + .../SubmitSnapshotJobResponseUnmarshaller.cs | 105 + .../SubmitTraceAbJobResponseUnmarshaller.cs | 46 + ...bmitTraceExtractJobResponseUnmarshaller.cs | 45 + .../SubmitTraceM3u8JobResponseUnmarshaller.cs | 44 + .../TagCustomPersonResponseUnmarshaller.cs | 39 + .../UnbindInputBucketResponseUnmarshaller.cs | 39 + .../UnbindOutputBucketResponseUnmarshaller.cs | 39 + ...nregisterCustomFaceResponseUnmarshaller.cs | 39 + ...UpdateMediaCategoryResponseUnmarshaller.cs | 39 + .../UpdateMediaCoverResponseUnmarshaller.cs | 39 + ...teMediaPublishStateResponseUnmarshaller.cs | 39 + .../UpdateMediaResponseUnmarshaller.cs | 74 + ...UpdateMediaWorkflowResponseUnmarshaller.cs | 48 + ...WorkflowTriggerModeResponseUnmarshaller.cs | 48 + .../UpdatePipelineResponseUnmarshaller.cs | 61 + ...ateSmarttagTemplateResponseUnmarshaller.cs | 39 + .../UpdateTemplateResponseUnmarshaller.cs | 133 + ...teWaterMarkTemplateResponseUnmarshaller.cs | 63 + .../aliyun-net-sdk-mts.vs2017.csproj | 43 + 294 files changed, 62600 insertions(+) create mode 100644 aliyun-net-sdk-mts/Mts/Endpoint.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateRequest.cs create mode 100644 aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateResponse.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ActivateMediaWorkflowResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaTagResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaWorkflowResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddPipelineResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddSmarttagTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/AddWaterMarkTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/BindInputBucketResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/BindOutputBucketResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/CancelJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomEntityResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomGroupResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateFpShotDBResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeactivateMediaWorkflowResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomEntityResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomGroupResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomViewResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaTagResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaWorkflowResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeletePipelineResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteSmarttagTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteWaterMarkTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ImAuditResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ImportFpShotJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListAllMediaBucketResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomEntitiesResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomGroupsResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomPersonsResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomViewsResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotDBResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotFilesResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotImportJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/ListMediaWorkflowExecutionsResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryAnalysisJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightExtractJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpDBDeleteJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpFileDeleteJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpShotJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryIProductionJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobDetailResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaInfoJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListByURLResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowExecutionListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryPipelineListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagTemplateListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySnapshotJobListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTemplateListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceAbJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceExtractJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceM3u8JobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryWaterMarkTemplateListResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomFaceResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomViewResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchMediaWorkflowResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchPipelineResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchWaterMarkTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitAnalysisJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightExtractJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpDBDeleteJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpFileDeleteJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpShotJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitIProductionJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitImageCopyrightResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitJobsResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaCensorJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaInfoJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSmarttagJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSnapshotJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceAbJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceExtractJobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceM3u8JobResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/TagCustomPersonResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindInputBucketResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindOutputBucketResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UnregisterCustomFaceResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCategoryResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCoverResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaPublishStateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowTriggerModeResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdatePipelineResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateSmarttagTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateWaterMarkTemplateResponseUnmarshaller.cs create mode 100644 aliyun-net-sdk-mts/aliyun-net-sdk-mts.vs2017.csproj diff --git a/CHANGELOG b/CHANGELOG index ecb58ec4a..71120ec43 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2024-07-23 Version: 2.6.4 +- Update water-mark params + 2024-07-22 Version: 3.0.30 - Support kibana Pvl private link operation. diff --git a/aliyun-net-sdk-mts/Mts/Endpoint.cs b/aliyun-net-sdk-mts/Mts/Endpoint.cs new file mode 100644 index 000000000..f2312cf60 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Endpoint.cs @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +using System.Collections.Generic; + +namespace Aliyun.Acs.Mts +{ + public class Endpoint + { + public static Dictionary endpointMap = new Dictionary() + { + { "cn-shanghai-internal-test-1", "mts.aliyuncs.com" }, + { "cn-beijing-gov-1", "mts.aliyuncs.com" }, + { "cn-shenzhen-su18-b01", "mts.aliyuncs.com" }, + { "cn-wulanchabu", "mts.aliyuncs.com" }, + { "cn-shanghai-inner", "mts.aliyuncs.com" }, + { "cn-shenzhen-st4-d01", "mts.aliyuncs.com" }, + { "cn-haidian-cm12-c01", "mts.aliyuncs.com" }, + { "cn-hangzhou-internal-prod-1", "mts.aliyuncs.com" }, + { "cn-north-2-gov-1", "mts.aliyuncs.com" }, + { "cn-yushanfang", "mts.aliyuncs.com" }, + { "cn-hongkong-finance-pop", "mts.aliyuncs.com" }, + { "cn-qingdao-nebula", "mts.aliyuncs.com" }, + { "cn-shanghai-finance-1", "mts.aliyuncs.com" }, + { "cn-beijing-finance-pop", "mts.aliyuncs.com" }, + { "cn-wuhan", "mts.aliyuncs.com" }, + { "cn-zhangbei", "mts.aliyuncs.com" }, + { "cn-zhengzhou-nebula-1", "mts.aliyuncs.com" }, + { "rus-west-1-pop", "mts.aliyuncs.com" }, + { "cn-shanghai-et15-b01", "mts.aliyuncs.com" }, + { "cn-hangzhou-bj-b01", "mts.aliyuncs.com" }, + { "cn-hangzhou-internal-test-1", "mts.aliyuncs.com" }, + { "eu-west-1-oxs", "mts.aliyuncs.com" }, + { "cn-zhangbei-na61-b01", "mts.aliyuncs.com" }, + { "cn-beijing-finance-1", "mts.aliyuncs.com" }, + { "cn-hangzhou-internal-test-3", "mts.aliyuncs.com" }, + { "cn-hangzhou-internal-test-2", "mts.aliyuncs.com" }, + { "cn-shenzhen-finance-1", "mts.aliyuncs.com" }, + { "me-east-1", "mts.aliyuncs.com" }, + { "cn-chengdu", "mts.aliyuncs.com" }, + { "cn-hangzhou-test-306", "mts.aliyuncs.com" }, + { "cn-huhehaote-nebula-1", "mts.aliyuncs.com" }, + { "cn-shanghai-et2-b01", "mts.aliyuncs.com" }, + { "cn-hangzhou-finance", "mts.aliyuncs.com" }, + { "cn-beijing-nu16-b01", "mts.aliyuncs.com" }, + { "cn-edge-1", "mts.aliyuncs.com" }, + { "ap-southeast-2", "mts.aliyuncs.com" }, + { "ap-southeast-3", "mts.aliyuncs.com" }, + { "cn-fujian", "mts.aliyuncs.com" }, + { "us-east-1", "mts.aliyuncs.com" }, + { "ap-northeast-2-pop", "mts.aliyuncs.com" }, + { "cn-shenzhen-inner", "mts.aliyuncs.com" }, + { "cn-zhangjiakou-na62-a01", "mts.aliyuncs.com" }, + }; + + public static string endpointRegionalType = "regional"; + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowRequest.cs new file mode 100644 index 000000000..29308a8af --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ActivateMediaWorkflowRequest : RpcAcsRequest + { + public ActivateMediaWorkflowRequest() + : base("Mts", "2014-06-18", "ActivateMediaWorkflow", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaWorkflowId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public override ActivateMediaWorkflowResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ActivateMediaWorkflowResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowResponse.cs new file mode 100644 index 000000000..7561b5fe0 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowResponse.cs @@ -0,0 +1,130 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ActivateMediaWorkflowResponse : AcsResponse + { + + private string requestId; + + private ActivateMediaWorkflow_MediaWorkflow mediaWorkflow; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public ActivateMediaWorkflow_MediaWorkflow MediaWorkflow + { + get + { + return mediaWorkflow; + } + set + { + mediaWorkflow = value; + } + } + + public class ActivateMediaWorkflow_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaRequest.cs new file mode 100644 index 000000000..010bbea69 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaRequest.cs @@ -0,0 +1,258 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddMediaRequest : RpcAcsRequest + { + public AddMediaRequest() + : base("Mts", "2014-06-18", "AddMedia", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string description; + + private string title; + + private bool? inputUnbind; + + private string coverURL; + + private long? cateId; + + private string mediaWorkflowId; + + private string mediaWorkflowUserData; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string overrideParams; + + private long? ownerId; + + private string tags; + + private string fileURL; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + DictionaryUtil.Add(QueryParameters, "Description", value); + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + DictionaryUtil.Add(QueryParameters, "Title", value); + } + } + + public bool? InputUnbind + { + get + { + return inputUnbind; + } + set + { + inputUnbind = value; + DictionaryUtil.Add(QueryParameters, "InputUnbind", value.ToString()); + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + DictionaryUtil.Add(QueryParameters, "CoverURL", value); + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + DictionaryUtil.Add(QueryParameters, "CateId", value.ToString()); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public string MediaWorkflowUserData + { + get + { + return mediaWorkflowUserData; + } + set + { + mediaWorkflowUserData = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowUserData", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string OverrideParams + { + get + { + return overrideParams; + } + set + { + overrideParams = value; + DictionaryUtil.Add(QueryParameters, "OverrideParams", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Tags + { + get + { + return tags; + } + set + { + tags = value; + DictionaryUtil.Add(QueryParameters, "Tags", value); + } + } + + public string FileURL + { + get + { + return fileURL; + } + set + { + fileURL = value; + DictionaryUtil.Add(QueryParameters, "FileURL", value); + } + } + + public override AddMediaResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddMediaResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaResponse.cs new file mode 100644 index 000000000..49f3784c3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaResponse.cs @@ -0,0 +1,344 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddMediaResponse : AcsResponse + { + + private string requestId; + + private AddMedia_Media media; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public AddMedia_Media Media + { + get + { + return media; + } + set + { + media = value; + } + } + + public class AddMedia_Media + { + + private string creationTime; + + private long? cateId; + + private string height; + + private string censorState; + + private string bitrate; + + private string mediaId; + + private string publishState; + + private string description; + + private string width; + + private string size; + + private string coverURL; + + private string duration; + + private string fps; + + private string title; + + private string format; + + private List tags; + + private List runIdList; + + private AddMedia_File file; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CensorState + { + get + { + return censorState; + } + set + { + censorState = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string PublishState + { + get + { + return publishState; + } + set + { + publishState = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + } + } + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public List RunIdList + { + get + { + return runIdList; + } + set + { + runIdList = value; + } + } + + public AddMedia_File File + { + get + { + return file; + } + set + { + file = value; + } + } + + public class AddMedia_File + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagRequest.cs new file mode 100644 index 000000000..2f663bc0d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddMediaTagRequest : RpcAcsRequest + { + public AddMediaTagRequest() + : base("Mts", "2014-06-18", "AddMediaTag", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string tag; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Tag + { + get + { + return tag; + } + set + { + tag = value; + DictionaryUtil.Add(QueryParameters, "Tag", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public override AddMediaTagResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddMediaTagResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagResponse.cs new file mode 100644 index 000000000..0f7634100 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaTagResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddMediaTagResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowRequest.cs new file mode 100644 index 000000000..abf805a14 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddMediaWorkflowRequest : RpcAcsRequest + { + public AddMediaWorkflowRequest() + : base("Mts", "2014-06-18", "AddMediaWorkflow", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string topology; + + private string ownerAccount; + + private long? ownerId; + + private string triggerMode; + + private string name; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + DictionaryUtil.Add(QueryParameters, "Topology", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + DictionaryUtil.Add(QueryParameters, "TriggerMode", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public override AddMediaWorkflowResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddMediaWorkflowResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowResponse.cs new file mode 100644 index 000000000..135a509af --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddMediaWorkflowResponse.cs @@ -0,0 +1,144 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddMediaWorkflowResponse : AcsResponse + { + + private string requestId; + + private AddMediaWorkflow_MediaWorkflow mediaWorkflow; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public AddMediaWorkflow_MediaWorkflow MediaWorkflow + { + get + { + return mediaWorkflow; + } + set + { + mediaWorkflow = value; + } + } + + public class AddMediaWorkflow_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string triggerMode; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineRequest.cs new file mode 100644 index 000000000..58125df25 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddPipelineRequest : RpcAcsRequest + { + public AddPipelineRequest() + : base("Mts", "2014-06-18", "AddPipeline", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string role; + + private string speed; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string notifyConfig; + + private long? ownerId; + + private string name; + + private long? speedLevel; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Role + { + get + { + return role; + } + set + { + role = value; + DictionaryUtil.Add(QueryParameters, "Role", value); + } + } + + public string Speed + { + get + { + return speed; + } + set + { + speed = value; + DictionaryUtil.Add(QueryParameters, "Speed", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string NotifyConfig + { + get + { + return notifyConfig; + } + set + { + notifyConfig = value; + DictionaryUtil.Add(QueryParameters, "NotifyConfig", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public long? SpeedLevel + { + get + { + return speedLevel; + } + set + { + speedLevel = value; + DictionaryUtil.Add(QueryParameters, "SpeedLevel", value.ToString()); + } + } + + public override AddPipelineResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddPipelineResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineResponse.cs new file mode 100644 index 000000000..3532b1530 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddPipelineResponse.cs @@ -0,0 +1,292 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddPipelineResponse : AcsResponse + { + + private string requestId; + + private AddPipeline_Pipeline pipeline; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public AddPipeline_Pipeline Pipeline + { + get + { + return pipeline; + } + set + { + pipeline = value; + } + } + + public class AddPipeline_Pipeline + { + + private string speed; + + private string state; + + private long? speedLevel; + + private string role; + + private string name; + + private string id; + + private long? quotaAllocate; + + private AddPipeline_NotifyConfig notifyConfig; + + private AddPipeline_ExtendConfig extendConfig; + + public string Speed + { + get + { + return speed; + } + set + { + speed = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public long? SpeedLevel + { + get + { + return speedLevel; + } + set + { + speedLevel = value; + } + } + + public string Role + { + get + { + return role; + } + set + { + role = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public long? QuotaAllocate + { + get + { + return quotaAllocate; + } + set + { + quotaAllocate = value; + } + } + + public AddPipeline_NotifyConfig NotifyConfig + { + get + { + return notifyConfig; + } + set + { + notifyConfig = value; + } + } + + public AddPipeline_ExtendConfig ExtendConfig + { + get + { + return extendConfig; + } + set + { + extendConfig = value; + } + } + + public class AddPipeline_NotifyConfig + { + + private string mqTopic; + + private string queueName; + + private string mqTag; + + private string topic; + + public string MqTopic + { + get + { + return mqTopic; + } + set + { + mqTopic = value; + } + } + + public string QueueName + { + get + { + return queueName; + } + set + { + queueName = value; + } + } + + public string MqTag + { + get + { + return mqTag; + } + set + { + mqTag = value; + } + } + + public string Topic + { + get + { + return topic; + } + set + { + topic = value; + } + } + } + + public class AddPipeline_ExtendConfig + { + + private bool? isBoostNew; + + private int? maxMultiSpeed; + + private string multiSpeedDowngradePolicy; + + public bool? IsBoostNew + { + get + { + return isBoostNew; + } + set + { + isBoostNew = value; + } + } + + public int? MaxMultiSpeed + { + get + { + return maxMultiSpeed; + } + set + { + maxMultiSpeed = value; + } + } + + public string MultiSpeedDowngradePolicy + { + get + { + return multiSpeedDowngradePolicy; + } + set + { + multiSpeedDowngradePolicy = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateRequest.cs new file mode 100644 index 000000000..c4d2dbe77 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateRequest.cs @@ -0,0 +1,303 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddSmarttagTemplateRequest : RpcAcsRequest + { + public AddSmarttagTemplateRequest() + : base("Mts", "2014-06-18", "AddSmarttagTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string knowledgeConfig; + + private string industry; + + private string labelVersion; + + private string scene; + + private string faceCustomParamsConfig; + + private string templateName; + + private bool? isDefault; + + private string faceCategoryIds; + + private string keywordConfig; + + private string landmarkGroupIds; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string objectGroupIds; + + private long? ownerId; + + private string analyseTypes; + + private string labelType; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string KnowledgeConfig + { + get + { + return knowledgeConfig; + } + set + { + knowledgeConfig = value; + DictionaryUtil.Add(QueryParameters, "KnowledgeConfig", value); + } + } + + public string Industry + { + get + { + return industry; + } + set + { + industry = value; + DictionaryUtil.Add(QueryParameters, "Industry", value); + } + } + + public string LabelVersion + { + get + { + return labelVersion; + } + set + { + labelVersion = value; + DictionaryUtil.Add(QueryParameters, "LabelVersion", value); + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + DictionaryUtil.Add(QueryParameters, "Scene", value); + } + } + + public string FaceCustomParamsConfig + { + get + { + return faceCustomParamsConfig; + } + set + { + faceCustomParamsConfig = value; + DictionaryUtil.Add(QueryParameters, "FaceCustomParamsConfig", value); + } + } + + public string TemplateName + { + get + { + return templateName; + } + set + { + templateName = value; + DictionaryUtil.Add(QueryParameters, "TemplateName", value); + } + } + + public bool? IsDefault + { + get + { + return isDefault; + } + set + { + isDefault = value; + DictionaryUtil.Add(QueryParameters, "IsDefault", value.ToString()); + } + } + + public string FaceCategoryIds + { + get + { + return faceCategoryIds; + } + set + { + faceCategoryIds = value; + DictionaryUtil.Add(QueryParameters, "FaceCategoryIds", value); + } + } + + public string KeywordConfig + { + get + { + return keywordConfig; + } + set + { + keywordConfig = value; + DictionaryUtil.Add(QueryParameters, "KeywordConfig", value); + } + } + + public string LandmarkGroupIds + { + get + { + return landmarkGroupIds; + } + set + { + landmarkGroupIds = value; + DictionaryUtil.Add(QueryParameters, "LandmarkGroupIds", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string ObjectGroupIds + { + get + { + return objectGroupIds; + } + set + { + objectGroupIds = value; + DictionaryUtil.Add(QueryParameters, "ObjectGroupIds", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string AnalyseTypes + { + get + { + return analyseTypes; + } + set + { + analyseTypes = value; + DictionaryUtil.Add(QueryParameters, "AnalyseTypes", value); + } + } + + public string LabelType + { + get + { + return labelType; + } + set + { + labelType = value; + DictionaryUtil.Add(QueryParameters, "LabelType", value); + } + } + + public override AddSmarttagTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddSmarttagTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateResponse.cs new file mode 100644 index 000000000..135591783 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddSmarttagTemplateResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddSmarttagTemplateResponse : AcsResponse + { + + private string requestId; + + private string templateId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateRequest.cs new file mode 100644 index 000000000..beaa7e84f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateRequest.cs @@ -0,0 +1,198 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddTemplateRequest : RpcAcsRequest + { + public AddTemplateRequest() + : base("Mts", "2014-06-18", "AddTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string container; + + private long? resourceOwnerId; + + private string video; + + private string transConfig; + + private string audio; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string muxConfig; + + private long? ownerId; + + private string name; + + public string Container + { + get + { + return container; + } + set + { + container = value; + DictionaryUtil.Add(QueryParameters, "Container", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Video + { + get + { + return video; + } + set + { + video = value; + DictionaryUtil.Add(QueryParameters, "Video", value); + } + } + + public string TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + DictionaryUtil.Add(QueryParameters, "TransConfig", value); + } + } + + public string Audio + { + get + { + return audio; + } + set + { + audio = value; + DictionaryUtil.Add(QueryParameters, "Audio", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + DictionaryUtil.Add(QueryParameters, "MuxConfig", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public override AddTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateResponse.cs new file mode 100644 index 000000000..f92fea2c3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddTemplateResponse.cs @@ -0,0 +1,1070 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddTemplateResponse : AcsResponse + { + + private string requestId; + + private AddTemplate_Template template; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public AddTemplate_Template Template + { + get + { + return template; + } + set + { + template = value; + } + } + + public class AddTemplate_Template + { + + private string state; + + private string name; + + private string id; + + private AddTemplate_Video video; + + private AddTemplate_TransConfig transConfig; + + private AddTemplate_MuxConfig muxConfig; + + private AddTemplate_Audio audio; + + private AddTemplate_Container container; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public AddTemplate_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public AddTemplate_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public AddTemplate_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public AddTemplate_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public AddTemplate_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public class AddTemplate_Video + { + + private string bufsize; + + private string longShortMode; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string _remove; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private string hdr2sdr; + + private AddTemplate_BitrateBnd bitrateBnd; + + private AddTemplate_NarrowBand narrowBand; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string LongShortMode + { + get + { + return longShortMode; + } + set + { + longShortMode = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public string Hdr2sdr + { + get + { + return hdr2sdr; + } + set + { + hdr2sdr = value; + } + } + + public AddTemplate_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public AddTemplate_NarrowBand NarrowBand + { + get + { + return narrowBand; + } + set + { + narrowBand = value; + } + } + + public class AddTemplate_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + + public class AddTemplate_NarrowBand + { + + private string version; + + private float? abrmax; + + private float? maxAbrRatio; + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public float? Abrmax + { + get + { + return abrmax; + } + set + { + abrmax = value; + } + } + + public float? MaxAbrRatio + { + get + { + return maxAbrRatio; + } + set + { + maxAbrRatio = value; + } + } + } + } + + public class AddTemplate_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class AddTemplate_MuxConfig + { + + private AddTemplate_Webp webp; + + private AddTemplate_Gif gif; + + private AddTemplate_Segment segment; + + public AddTemplate_Webp Webp + { + get + { + return webp; + } + set + { + webp = value; + } + } + + public AddTemplate_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public AddTemplate_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class AddTemplate_Webp + { + + private string loop; + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class AddTemplate_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class AddTemplate_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class AddTemplate_Audio + { + + private string profile; + + private string _remove; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + private AddTemplate_Volume volume; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public AddTemplate_Volume Volume + { + get + { + return volume; + } + set + { + volume = value; + } + } + + public class AddTemplate_Volume + { + + private string method; + + private string level; + + private string integratedLoudnessTarget; + + private string truePeak; + + private string loudnessRangeTarget; + + private string peakLevel; + + public string Method + { + get + { + return method; + } + set + { + method = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string IntegratedLoudnessTarget + { + get + { + return integratedLoudnessTarget; + } + set + { + integratedLoudnessTarget = value; + } + } + + public string TruePeak + { + get + { + return truePeak; + } + set + { + truePeak = value; + } + } + + public string LoudnessRangeTarget + { + get + { + return loudnessRangeTarget; + } + set + { + loudnessRangeTarget = value; + } + } + + public string PeakLevel + { + get + { + return peakLevel; + } + set + { + peakLevel = value; + } + } + } + } + + public class AddTemplate_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateRequest.cs new file mode 100644 index 000000000..f85ea747d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddWaterMarkTemplateRequest : RpcAcsRequest + { + public AddWaterMarkTemplateRequest() + : base("Mts", "2014-06-18", "AddWaterMarkTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string name; + + private string config; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public string Config + { + get + { + return config; + } + set + { + config = value; + DictionaryUtil.Add(QueryParameters, "Config", value); + } + } + + public override AddWaterMarkTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return AddWaterMarkTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateResponse.cs new file mode 100644 index 000000000..9ee88d7e4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/AddWaterMarkTemplateResponse.cs @@ -0,0 +1,306 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class AddWaterMarkTemplateResponse : AcsResponse + { + + private string requestId; + + private AddWaterMarkTemplate_WaterMarkTemplate waterMarkTemplate; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public AddWaterMarkTemplate_WaterMarkTemplate WaterMarkTemplate + { + get + { + return waterMarkTemplate; + } + set + { + waterMarkTemplate = value; + } + } + + public class AddWaterMarkTemplate_WaterMarkTemplate + { + + private string type; + + private string referPos; + + private string state; + + private string dx; + + private string width; + + private string height; + + private string name; + + private string dy; + + private string id; + + private AddWaterMarkTemplate_RatioRefer ratioRefer; + + private AddWaterMarkTemplate_Timeline timeline; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public AddWaterMarkTemplate_RatioRefer RatioRefer + { + get + { + return ratioRefer; + } + set + { + ratioRefer = value; + } + } + + public AddWaterMarkTemplate_Timeline Timeline + { + get + { + return timeline; + } + set + { + timeline = value; + } + } + + public class AddWaterMarkTemplate_RatioRefer + { + + private string dx; + + private string width; + + private string height; + + private string dy; + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + } + + public class AddWaterMarkTemplate_Timeline + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketRequest.cs new file mode 100644 index 000000000..fcfbc5487 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class BindInputBucketRequest : RpcAcsRequest + { + public BindInputBucketRequest() + : base("Mts", "2014-06-18", "BindInputBucket", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string referer; + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string bucket; + + public string Referer + { + get + { + return referer; + } + set + { + referer = value; + DictionaryUtil.Add(QueryParameters, "Referer", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + DictionaryUtil.Add(QueryParameters, "Bucket", value); + } + } + + public override BindInputBucketResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return BindInputBucketResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketResponse.cs new file mode 100644 index 000000000..abc8dfdfe --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindInputBucketResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class BindInputBucketResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketRequest.cs new file mode 100644 index 000000000..49a6a6965 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class BindOutputBucketRequest : RpcAcsRequest + { + public BindOutputBucketRequest() + : base("Mts", "2014-06-18", "BindOutputBucket", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string bucket; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + DictionaryUtil.Add(QueryParameters, "Bucket", value); + } + } + + public override BindOutputBucketResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return BindOutputBucketResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketResponse.cs new file mode 100644 index 000000000..46adb853e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/BindOutputBucketResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class BindOutputBucketResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobRequest.cs new file mode 100644 index 000000000..c16a86f48 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CancelJobRequest : RpcAcsRequest + { + public CancelJobRequest() + : base("Mts", "2014-06-18", "CancelJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string jobId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override CancelJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CancelJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobResponse.cs new file mode 100644 index 000000000..42c4e1a82 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CancelJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CancelJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityRequest.cs new file mode 100644 index 000000000..cbc5ba80f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CreateCustomEntityRequest : RpcAcsRequest + { + public CreateCustomEntityRequest() + : base("Mts", "2014-06-18", "CreateCustomEntity", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string algorithm; + + private string customGroupId; + + private string customEntityName; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string customEntityInfo; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string CustomEntityName + { + get + { + return customEntityName; + } + set + { + customEntityName = value; + DictionaryUtil.Add(QueryParameters, "CustomEntityName", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string CustomEntityInfo + { + get + { + return customEntityInfo; + } + set + { + customEntityInfo = value; + DictionaryUtil.Add(QueryParameters, "CustomEntityInfo", value); + } + } + + public override CreateCustomEntityResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateCustomEntityResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityResponse.cs new file mode 100644 index 000000000..fae23403b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomEntityResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CreateCustomEntityResponse : AcsResponse + { + + private string customEntityId; + + private string requestId; + + public string CustomEntityId + { + get + { + return customEntityId; + } + set + { + customEntityId = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupRequest.cs new file mode 100644 index 000000000..010041462 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CreateCustomGroupRequest : RpcAcsRequest + { + public CreateCustomGroupRequest() + : base("Mts", "2014-06-18", "CreateCustomGroup", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string customGroupName; + + private string algorithm; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string customGroupDescription; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string CustomGroupName + { + get + { + return customGroupName; + } + set + { + customGroupName = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupName", value); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string CustomGroupDescription + { + get + { + return customGroupDescription; + } + set + { + customGroupDescription = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupDescription", value); + } + } + + public override CreateCustomGroupResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateCustomGroupResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupResponse.cs new file mode 100644 index 000000000..d1821be64 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateCustomGroupResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CreateCustomGroupResponse : AcsResponse + { + + private string customGroupId; + + private string requestId; + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBRequest.cs new file mode 100644 index 000000000..b58c63c30 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CreateFpShotDBRequest : RpcAcsRequest + { + public CreateFpShotDBRequest() + : base("Mts", "2014-06-18", "CreateFpShotDB", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string description; + + private string resourceOwnerAccount; + + private int? modelId; + + private string ownerAccount; + + private long? ownerId; + + private string name; + + private string config; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + DictionaryUtil.Add(QueryParameters, "Description", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public int? ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + DictionaryUtil.Add(QueryParameters, "ModelId", value.ToString()); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public string Config + { + get + { + return config; + } + set + { + config = value; + DictionaryUtil.Add(QueryParameters, "Config", value); + } + } + + public override CreateFpShotDBResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateFpShotDBResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBResponse.cs new file mode 100644 index 000000000..9d0647d9b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/CreateFpShotDBResponse.cs @@ -0,0 +1,158 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class CreateFpShotDBResponse : AcsResponse + { + + private string requestId; + + private CreateFpShotDB_FpShotDB fpShotDB; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public CreateFpShotDB_FpShotDB FpShotDB + { + get + { + return fpShotDB; + } + set + { + fpShotDB = value; + } + } + + public class CreateFpShotDB_FpShotDB + { + + private string description; + + private string state; + + private string name; + + private string fpDBId; + + private int? modelId; + + private string config; + + private string instanceId; + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + } + } + + public int? ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + } + } + + public string Config + { + get + { + return config; + } + set + { + config = value; + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowRequest.cs new file mode 100644 index 000000000..3fada9375 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeactivateMediaWorkflowRequest : RpcAcsRequest + { + public DeactivateMediaWorkflowRequest() + : base("Mts", "2014-06-18", "DeactivateMediaWorkflow", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaWorkflowId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public override DeactivateMediaWorkflowResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeactivateMediaWorkflowResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowResponse.cs new file mode 100644 index 000000000..a25200449 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeactivateMediaWorkflowResponse.cs @@ -0,0 +1,130 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeactivateMediaWorkflowResponse : AcsResponse + { + + private string requestId; + + private DeactivateMediaWorkflow_MediaWorkflow mediaWorkflow; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public DeactivateMediaWorkflow_MediaWorkflow MediaWorkflow + { + get + { + return mediaWorkflow; + } + set + { + mediaWorkflow = value; + } + } + + public class DeactivateMediaWorkflow_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityRequest.cs new file mode 100644 index 000000000..947d71359 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteCustomEntityRequest : RpcAcsRequest + { + public DeleteCustomEntityRequest() + : base("Mts", "2014-06-18", "DeleteCustomEntity", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string algorithm; + + private string customGroupId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string customEntityId; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string CustomEntityId + { + get + { + return customEntityId; + } + set + { + customEntityId = value; + DictionaryUtil.Add(QueryParameters, "CustomEntityId", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override DeleteCustomEntityResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteCustomEntityResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityResponse.cs new file mode 100644 index 000000000..7c3151569 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomEntityResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteCustomEntityResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupRequest.cs new file mode 100644 index 000000000..a6301c570 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteCustomGroupRequest : RpcAcsRequest + { + public DeleteCustomGroupRequest() + : base("Mts", "2014-06-18", "DeleteCustomGroup", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string algorithm; + + private string customGroupId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override DeleteCustomGroupResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteCustomGroupResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupResponse.cs new file mode 100644 index 000000000..8f5b83026 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomGroupResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteCustomGroupResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewRequest.cs new file mode 100644 index 000000000..fe12a94f5 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteCustomViewRequest : RpcAcsRequest + { + public DeleteCustomViewRequest() + : base("Mts", "2014-06-18", "DeleteCustomView", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string customViewId; + + private string algorithm; + + private string customGroupId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string customEntityId; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string CustomViewId + { + get + { + return customViewId; + } + set + { + customViewId = value; + DictionaryUtil.Add(QueryParameters, "CustomViewId", value); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string CustomEntityId + { + get + { + return customEntityId; + } + set + { + customEntityId = value; + DictionaryUtil.Add(QueryParameters, "CustomEntityId", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override DeleteCustomViewResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteCustomViewResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewResponse.cs new file mode 100644 index 000000000..b687c839b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteCustomViewResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteCustomViewResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaRequest.cs new file mode 100644 index 000000000..9dbb1b20c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteMediaRequest : RpcAcsRequest + { + public DeleteMediaRequest() + : base("Mts", "2014-06-18", "DeleteMedia", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaIds + { + get + { + return mediaIds; + } + set + { + mediaIds = value; + DictionaryUtil.Add(QueryParameters, "MediaIds", value); + } + } + + public override DeleteMediaResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteMediaResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaResponse.cs new file mode 100644 index 000000000..e89caa9fa --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteMediaResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagRequest.cs new file mode 100644 index 000000000..cc46d4d1b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteMediaTagRequest : RpcAcsRequest + { + public DeleteMediaTagRequest() + : base("Mts", "2014-06-18", "DeleteMediaTag", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string tag; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Tag + { + get + { + return tag; + } + set + { + tag = value; + DictionaryUtil.Add(QueryParameters, "Tag", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public override DeleteMediaTagResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteMediaTagResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagResponse.cs new file mode 100644 index 000000000..5ddaf930e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaTagResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteMediaTagResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowRequest.cs new file mode 100644 index 000000000..916df29b5 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteMediaWorkflowRequest : RpcAcsRequest + { + public DeleteMediaWorkflowRequest() + : base("Mts", "2014-06-18", "DeleteMediaWorkflow", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaWorkflowId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public override DeleteMediaWorkflowResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteMediaWorkflowResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowResponse.cs new file mode 100644 index 000000000..cecc1c8f9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteMediaWorkflowResponse.cs @@ -0,0 +1,130 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteMediaWorkflowResponse : AcsResponse + { + + private string requestId; + + private DeleteMediaWorkflow_MediaWorkflow mediaWorkflow; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public DeleteMediaWorkflow_MediaWorkflow MediaWorkflow + { + get + { + return mediaWorkflow; + } + set + { + mediaWorkflow = value; + } + } + + public class DeleteMediaWorkflow_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineRequest.cs new file mode 100644 index 000000000..bb586f9a4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeletePipelineRequest : RpcAcsRequest + { + public DeletePipelineRequest() + : base("Mts", "2014-06-18", "DeletePipeline", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public override DeletePipelineResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeletePipelineResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineResponse.cs new file mode 100644 index 000000000..687054b33 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeletePipelineResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeletePipelineResponse : AcsResponse + { + + private string requestId; + + private string pipelineId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateRequest.cs new file mode 100644 index 000000000..827fc7802 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteSmarttagTemplateRequest : RpcAcsRequest + { + public DeleteSmarttagTemplateRequest() + : base("Mts", "2014-06-18", "DeleteSmarttagTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string templateId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + DictionaryUtil.Add(QueryParameters, "TemplateId", value); + } + } + + public override DeleteSmarttagTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteSmarttagTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateResponse.cs new file mode 100644 index 000000000..6dfbfc64c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteSmarttagTemplateResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteSmarttagTemplateResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateRequest.cs new file mode 100644 index 000000000..f46d39f12 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteTemplateRequest : RpcAcsRequest + { + public DeleteTemplateRequest() + : base("Mts", "2014-06-18", "DeleteTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string templateId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + DictionaryUtil.Add(QueryParameters, "TemplateId", value); + } + } + + public override DeleteTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateResponse.cs new file mode 100644 index 000000000..54f7ed1cb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteTemplateResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteTemplateResponse : AcsResponse + { + + private string requestId; + + private string templateId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateRequest.cs new file mode 100644 index 000000000..fe01a591d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteWaterMarkTemplateRequest : RpcAcsRequest + { + public DeleteWaterMarkTemplateRequest() + : base("Mts", "2014-06-18", "DeleteWaterMarkTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string waterMarkTemplateId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string WaterMarkTemplateId + { + get + { + return waterMarkTemplateId; + } + set + { + waterMarkTemplateId = value; + DictionaryUtil.Add(QueryParameters, "WaterMarkTemplateId", value); + } + } + + public override DeleteWaterMarkTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteWaterMarkTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateResponse.cs new file mode 100644 index 000000000..dc7015ab3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/DeleteWaterMarkTemplateResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class DeleteWaterMarkTemplateResponse : AcsResponse + { + + private string requestId; + + private string waterMarkTemplateId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string WaterMarkTemplateId + { + get + { + return waterMarkTemplateId; + } + set + { + waterMarkTemplateId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditRequest.cs new file mode 100644 index 000000000..74640b81f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditRequest.cs @@ -0,0 +1,158 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ImAuditRequest : RpcAcsRequest + { + public ImAuditRequest() + : base("Mts", "2014-06-18", "ImAudit", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string images; + + private string resourceOwnerAccount; + + private long? ownerId; + + private string bizType; + + private string contents; + + private string scenes; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Images + { + get + { + return images; + } + set + { + images = value; + DictionaryUtil.Add(QueryParameters, "Images", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string BizType + { + get + { + return bizType; + } + set + { + bizType = value; + DictionaryUtil.Add(QueryParameters, "BizType", value); + } + } + + public string Contents + { + get + { + return contents; + } + set + { + contents = value; + DictionaryUtil.Add(QueryParameters, "Contents", value); + } + } + + public string Scenes + { + get + { + return scenes; + } + set + { + scenes = value; + DictionaryUtil.Add(QueryParameters, "Scenes", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ImAuditResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ImAuditResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditResponse.cs new file mode 100644 index 000000000..5889c067b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImAuditResponse.cs @@ -0,0 +1,1068 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ImAuditResponse : AcsResponse + { + + private bool? textQuotaExceed; + + private bool? imageQuotaExceed; + + private string requestId; + + private ImAudit_ImageResults imageResults; + + private ImAudit_TextResults textResults; + + public bool? TextQuotaExceed + { + get + { + return textQuotaExceed; + } + set + { + textQuotaExceed = value; + } + } + + public bool? ImageQuotaExceed + { + get + { + return imageQuotaExceed; + } + set + { + imageQuotaExceed = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public ImAudit_ImageResults ImageResults + { + get + { + return imageResults; + } + set + { + imageResults = value; + } + } + + public ImAudit_TextResults TextResults + { + get + { + return textResults; + } + set + { + textResults = value; + } + } + + public class ImAudit_ImageResults + { + + private List result; + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class ImAudit_ResultItem + { + + private long? code; + + private string dataId; + + private string extras; + + private string msg; + + private string taskId; + + private string url; + + private List results; + + public long? Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string DataId + { + get + { + return dataId; + } + set + { + dataId = value; + } + } + + public string Extras + { + get + { + return extras; + } + set + { + extras = value; + } + } + + public string Msg + { + get + { + return msg; + } + set + { + msg = value; + } + } + + public string TaskId + { + get + { + return taskId; + } + set + { + taskId = value; + } + } + + public string Url + { + get + { + return url; + } + set + { + url = value; + } + } + + public List Results + { + get + { + return results; + } + set + { + results = value; + } + } + + public class ImAudit_Result + { + + private string label; + + private double? rate; + + private string scene; + + private string suggestion; + + private List hintWordsInfo; + + private List qrcodeLocations; + + private List programCodeData; + + private List logoData; + + private List sfaceData; + + private List frames; + + private List qrcodeData; + + private List ocrData; + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public double? Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public List HintWordsInfo + { + get + { + return hintWordsInfo; + } + set + { + hintWordsInfo = value; + } + } + + public List QrcodeLocations + { + get + { + return qrcodeLocations; + } + set + { + qrcodeLocations = value; + } + } + + public List ProgramCodeData + { + get + { + return programCodeData; + } + set + { + programCodeData = value; + } + } + + public List LogoData + { + get + { + return logoData; + } + set + { + logoData = value; + } + } + + public List SfaceData + { + get + { + return sfaceData; + } + set + { + sfaceData = value; + } + } + + public List Frames + { + get + { + return frames; + } + set + { + frames = value; + } + } + + public List QrcodeData + { + get + { + return qrcodeData; + } + set + { + qrcodeData = value; + } + } + + public List OcrData + { + get + { + return ocrData; + } + set + { + ocrData = value; + } + } + + public class ImAudit_HintWordsInfoItem + { + + private string context; + + public string Context + { + get + { + return context; + } + set + { + context = value; + } + } + } + + public class ImAudit_QrcodeLocationsItem + { + + private float? x; + + private float? y; + + private float? w; + + private float? h; + + private string qrcode; + + public float? X + { + get + { + return x; + } + set + { + x = value; + } + } + + public float? Y + { + get + { + return y; + } + set + { + y = value; + } + } + + public float? W + { + get + { + return w; + } + set + { + w = value; + } + } + + public float? H + { + get + { + return h; + } + set + { + h = value; + } + } + + public string Qrcode + { + get + { + return qrcode; + } + set + { + qrcode = value; + } + } + } + + public class ImAudit_ProgramCodeDataItem + { + + private float? x; + + private float? y; + + private float? w; + + private float? h; + + public float? X + { + get + { + return x; + } + set + { + x = value; + } + } + + public float? Y + { + get + { + return y; + } + set + { + y = value; + } + } + + public float? W + { + get + { + return w; + } + set + { + w = value; + } + } + + public float? H + { + get + { + return h; + } + set + { + h = value; + } + } + } + + public class ImAudit_LogoDataItem + { + + private string type; + + private string name; + + private float? x; + + private float? y; + + private float? w; + + private float? h; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public float? X + { + get + { + return x; + } + set + { + x = value; + } + } + + public float? Y + { + get + { + return y; + } + set + { + y = value; + } + } + + public float? W + { + get + { + return w; + } + set + { + w = value; + } + } + + public float? H + { + get + { + return h; + } + set + { + h = value; + } + } + } + + public class ImAudit_SfaceDataItem + { + + private float? x; + + private float? y; + + private float? w; + + private float? h; + + private List faces; + + public float? X + { + get + { + return x; + } + set + { + x = value; + } + } + + public float? Y + { + get + { + return y; + } + set + { + y = value; + } + } + + public float? W + { + get + { + return w; + } + set + { + w = value; + } + } + + public float? H + { + get + { + return h; + } + set + { + h = value; + } + } + + public List Faces + { + get + { + return faces; + } + set + { + faces = value; + } + } + + public class ImAudit_FacesItem + { + + private string name; + + private float? re; + + private string idid; + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public float? Re + { + get + { + return re; + } + set + { + re = value; + } + } + + public string Idid + { + get + { + return idid; + } + set + { + idid = value; + } + } + } + } + + public class ImAudit_FramesItem + { + + private float? rate; + + private string url; + + public float? Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + + public string Url + { + get + { + return url; + } + set + { + url = value; + } + } + } + } + } + } + + public class ImAudit_TextResults + { + + private List result1; + + public List Result1 + { + get + { + return result1; + } + set + { + result1 = value; + } + } + + public class ImAudit_ResultItem2 + { + + private long? code; + + private string content; + + private string dataId; + + private string msg; + + private string taskId; + + private List results3; + + public long? Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Content + { + get + { + return content; + } + set + { + content = value; + } + } + + public string DataId + { + get + { + return dataId; + } + set + { + dataId = value; + } + } + + public string Msg + { + get + { + return msg; + } + set + { + msg = value; + } + } + + public string TaskId + { + get + { + return taskId; + } + set + { + taskId = value; + } + } + + public List Results3 + { + get + { + return results3; + } + set + { + results3 = value; + } + } + + public class ImAudit_Result4 + { + + private string label; + + private double? rate; + + private string scene; + + private string suggestion; + + private List details; + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public double? Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public List Details + { + get + { + return details; + } + set + { + details = value; + } + } + + public class ImAudit_DetailsItem + { + + private string label; + + private List contexts; + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public List Contexts + { + get + { + return contexts; + } + set + { + contexts = value; + } + } + + public class ImAudit_ContextsItem + { + + private string context; + + private string libName; + + private string libCode; + + private string ruleType; + + private List positions; + + public string Context + { + get + { + return context; + } + set + { + context = value; + } + } + + public string LibName + { + get + { + return libName; + } + set + { + libName = value; + } + } + + public string LibCode + { + get + { + return libCode; + } + set + { + libCode = value; + } + } + + public string RuleType + { + get + { + return ruleType; + } + set + { + ruleType = value; + } + } + + public List Positions + { + get + { + return positions; + } + set + { + positions = value; + } + } + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobRequest.cs new file mode 100644 index 000000000..12eba598a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobRequest.cs @@ -0,0 +1,188 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ImportFpShotJobRequest : RpcAcsRequest + { + public ImportFpShotJobRequest() + : base("Mts", "2014-06-18", "ImportFpShotJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string fpDBId; + + private string userData; + + private string resourceOwnerAccount; + + private string fpImportConfig; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + DictionaryUtil.Add(QueryParameters, "FpDBId", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string FpImportConfig + { + get + { + return fpImportConfig; + } + set + { + fpImportConfig = value; + DictionaryUtil.Add(QueryParameters, "FpImportConfig", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ImportFpShotJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ImportFpShotJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobResponse.cs new file mode 100644 index 000000000..1aab29f7a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ImportFpShotJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ImportFpShotJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketRequest.cs new file mode 100644 index 000000000..27a72f7e5 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListAllMediaBucketRequest : RpcAcsRequest + { + public ListAllMediaBucketRequest() + : base("Mts", "2014-06-18", "ListAllMediaBucket", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private int? maximumPageSize; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public int? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override ListAllMediaBucketResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListAllMediaBucketResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketResponse.cs new file mode 100644 index 000000000..79e7cddbf --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListAllMediaBucketResponse.cs @@ -0,0 +1,116 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListAllMediaBucketResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List mediaBucketList; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List MediaBucketList + { + get + { + return mediaBucketList; + } + set + { + mediaBucketList = value; + } + } + + public class ListAllMediaBucket_MediaBucket + { + + private string type; + + private string bucket; + + private string referer; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + + public string Referer + { + get + { + return referer; + } + set + { + referer = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesRequest.cs new file mode 100644 index 000000000..267afe32b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomEntitiesRequest : RpcAcsRequest + { + public ListCustomEntitiesRequest() + : base("Mts", "2014-06-18", "ListCustomEntities", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private int? pageNumber; + + private int? pageSize; + + private string algorithm; + + private string customGroupId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override ListCustomEntitiesResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListCustomEntitiesResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesResponse.cs new file mode 100644 index 000000000..4df366fae --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomEntitiesResponse.cs @@ -0,0 +1,144 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomEntitiesResponse : AcsResponse + { + + private string requestId; + + private int? pageNumber; + + private int? pageSize; + + private long? totalCount; + + private List customEntities; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public List CustomEntities + { + get + { + return customEntities; + } + set + { + customEntities = value; + } + } + + public class ListCustomEntities_CustomEntity + { + + private string customEntityId; + + private string customEntityName; + + private string customEntityInfo; + + public string CustomEntityId + { + get + { + return customEntityId; + } + set + { + customEntityId = value; + } + } + + public string CustomEntityName + { + get + { + return customEntityName; + } + set + { + customEntityName = value; + } + } + + public string CustomEntityInfo + { + get + { + return customEntityInfo; + } + set + { + customEntityInfo = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsRequest.cs new file mode 100644 index 000000000..eb653d958 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomGroupsRequest : RpcAcsRequest + { + public ListCustomGroupsRequest() + : base("Mts", "2014-06-18", "ListCustomGroups", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private int? pageNumber; + + private int? pageSize; + + private string algorithm; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override ListCustomGroupsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListCustomGroupsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsResponse.cs new file mode 100644 index 000000000..7d4b24b9b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomGroupsResponse.cs @@ -0,0 +1,144 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomGroupsResponse : AcsResponse + { + + private string requestId; + + private int? pageNumber; + + private int? pageSize; + + private long? totalCount; + + private List customGroups; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public List CustomGroups + { + get + { + return customGroups; + } + set + { + customGroups = value; + } + } + + public class ListCustomGroups_CustomGroup + { + + private string customGroupId; + + private string customGroupName; + + private string customGroupDescription; + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + } + } + + public string CustomGroupName + { + get + { + return customGroupName; + } + set + { + customGroupName = value; + } + } + + public string CustomGroupDescription + { + get + { + return customGroupDescription; + } + set + { + customGroupDescription = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsRequest.cs new file mode 100644 index 000000000..458c9ce22 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomPersonsRequest : RpcAcsRequest + { + public ListCustomPersonsRequest() + : base("Mts", "2014-06-18", "ListCustomPersons", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string personId; + + private string categoryId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string PersonId + { + get + { + return personId; + } + set + { + personId = value; + DictionaryUtil.Add(QueryParameters, "PersonId", value); + } + } + + public string CategoryId + { + get + { + return categoryId; + } + set + { + categoryId = value; + DictionaryUtil.Add(QueryParameters, "CategoryId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override ListCustomPersonsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListCustomPersonsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsResponse.cs new file mode 100644 index 000000000..5d43bce8a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomPersonsResponse.cs @@ -0,0 +1,208 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomPersonsResponse : AcsResponse + { + + private string requestId; + + private List categories; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Categories + { + get + { + return categories; + } + set + { + categories = value; + } + } + + public class ListCustomPersons_Category + { + + private string categoryId; + + private string categoryName; + + private string categoryDescription; + + private List persons; + + public string CategoryId + { + get + { + return categoryId; + } + set + { + categoryId = value; + } + } + + public string CategoryName + { + get + { + return categoryName; + } + set + { + categoryName = value; + } + } + + public string CategoryDescription + { + get + { + return categoryDescription; + } + set + { + categoryDescription = value; + } + } + + public List Persons + { + get + { + return persons; + } + set + { + persons = value; + } + } + + public class ListCustomPersons_Person + { + + private string personName; + + private string personDescription; + + private string personId; + + private List faces; + + public string PersonName + { + get + { + return personName; + } + set + { + personName = value; + } + } + + public string PersonDescription + { + get + { + return personDescription; + } + set + { + personDescription = value; + } + } + + public string PersonId + { + get + { + return personId; + } + set + { + personId = value; + } + } + + public List Faces + { + get + { + return faces; + } + set + { + faces = value; + } + } + + public class ListCustomPersons_Face + { + + private string imageUrl; + + private string faceId; + + public string ImageUrl + { + get + { + return imageUrl; + } + set + { + imageUrl = value; + } + } + + public string FaceId + { + get + { + return faceId; + } + set + { + faceId = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsRequest.cs new file mode 100644 index 000000000..7324c8176 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomViewsRequest : RpcAcsRequest + { + public ListCustomViewsRequest() + : base("Mts", "2014-06-18", "ListCustomViews", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private int? pageNumber; + + private int? pageSize; + + private string algorithm; + + private string customGroupId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string customEntityId; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string CustomEntityId + { + get + { + return customEntityId; + } + set + { + customEntityId = value; + DictionaryUtil.Add(QueryParameters, "CustomEntityId", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override ListCustomViewsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListCustomViewsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsResponse.cs new file mode 100644 index 000000000..8f6c2a992 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListCustomViewsResponse.cs @@ -0,0 +1,130 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListCustomViewsResponse : AcsResponse + { + + private string requestId; + + private int? pageNumber; + + private int? pageSize; + + private long? totalCount; + + private List customViews; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public int? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public List CustomViews + { + get + { + return customViews; + } + set + { + customViews = value; + } + } + + public class ListCustomViews_CustomView + { + + private string customViewId; + + private string imageUrl; + + public string CustomViewId + { + get + { + return customViewId; + } + set + { + customViewId = value; + } + } + + public string ImageUrl + { + get + { + return imageUrl; + } + set + { + imageUrl = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBRequest.cs new file mode 100644 index 000000000..d263c03d9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListFpShotDBRequest : RpcAcsRequest + { + public ListFpShotDBRequest() + : base("Mts", "2014-06-18", "ListFpShotDB", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string fpDBIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string FpDBIds + { + get + { + return fpDBIds; + } + set + { + fpDBIds = value; + DictionaryUtil.Add(QueryParameters, "FpDBIds", value); + } + } + + public override ListFpShotDBResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListFpShotDBResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBResponse.cs new file mode 100644 index 000000000..0b239d00c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotDBResponse.cs @@ -0,0 +1,158 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListFpShotDBResponse : AcsResponse + { + + private string requestId; + + private List fpShotDBList; + + private List nonExistIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List FpShotDBList + { + get + { + return fpShotDBList; + } + set + { + fpShotDBList = value; + } + } + + public List NonExistIds + { + get + { + return nonExistIds; + } + set + { + nonExistIds = value; + } + } + + public class ListFpShotDB_FpShotDB + { + + private string status; + + private string description; + + private string name; + + private int? modelId; + + private string fpDBId; + + private string instanceId; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public int? ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesRequest.cs new file mode 100644 index 000000000..8e01f02f0 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListFpShotFilesRequest : RpcAcsRequest + { + public ListFpShotFilesRequest() + : base("Mts", "2014-06-18", "ListFpShotFiles", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string fpDBId; + + private string nextPageToken; + + private string startTime; + + private int? pageSize; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string endTime; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + DictionaryUtil.Add(QueryParameters, "FpDBId", value); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + DictionaryUtil.Add(QueryParameters, "StartTime", value); + } + } + + public int? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + DictionaryUtil.Add(QueryParameters, "EndTime", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override ListFpShotFilesResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListFpShotFilesResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesResponse.cs new file mode 100644 index 000000000..f4e171eed --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotFilesResponse.cs @@ -0,0 +1,176 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListFpShotFilesResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List fpShotFileList; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List FpShotFileList + { + get + { + return fpShotFileList; + } + set + { + fpShotFileList = value; + } + } + + public class ListFpShotFiles_FpShotFile + { + + private string primaryKey; + + private string fileId; + + private string storeTime; + + private ListFpShotFiles_InputFile inputFile; + + public string PrimaryKey + { + get + { + return primaryKey; + } + set + { + primaryKey = value; + } + } + + public string FileId + { + get + { + return fileId; + } + set + { + fileId = value; + } + } + + public string StoreTime + { + get + { + return storeTime; + } + set + { + storeTime = value; + } + } + + public ListFpShotFiles_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class ListFpShotFiles_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobRequest.cs new file mode 100644 index 000000000..f6f61f53d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobRequest.cs @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListFpShotImportJobRequest : RpcAcsRequest + { + public ListFpShotImportJobRequest() + : base("Mts", "2014-06-18", "ListFpShotImportJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string jobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string JobIds + { + get + { + return jobIds; + } + set + { + jobIds = value; + DictionaryUtil.Add(QueryParameters, "JobIds", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListFpShotImportJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListFpShotImportJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobResponse.cs new file mode 100644 index 000000000..db61c0a63 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListFpShotImportJobResponse.cs @@ -0,0 +1,242 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListFpShotImportJobResponse : AcsResponse + { + + private string requestId; + + private List fpShotImportJobList; + + private List nonExistIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List FpShotImportJobList + { + get + { + return fpShotImportJobList; + } + set + { + fpShotImportJobList = value; + } + } + + public List NonExistIds + { + get + { + return nonExistIds; + } + set + { + nonExistIds = value; + } + } + + public class ListFpShotImportJob_FpShotImportJob + { + + private string id; + + private string fpDBId; + + private string pipelineId; + + private string fpImportConfig; + + private string status; + + private string code; + + private string message; + + private string createTime; + + private string finishTime; + + private string userData; + + private string input; + + private string processMessage; + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string FpImportConfig + { + get + { + return fpImportConfig; + } + set + { + fpImportConfig = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public string ProcessMessage + { + get + { + return processMessage; + } + set + { + processMessage = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobRequest.cs new file mode 100644 index 000000000..f53ea2e7e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobRequest.cs @@ -0,0 +1,198 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListJobRequest : RpcAcsRequest + { + public ListJobRequest() + : base("Mts", "2014-06-18", "ListJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string startOfJobCreatedTimeRange; + + private string state; + + private string endOfJobCreatedTimeRange; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? maximumPageSize; + + private long? ownerId; + + private string pipelineId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string StartOfJobCreatedTimeRange + { + get + { + return startOfJobCreatedTimeRange; + } + set + { + startOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "StartOfJobCreatedTimeRange", value); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string EndOfJobCreatedTimeRange + { + get + { + return endOfJobCreatedTimeRange; + } + set + { + endOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "EndOfJobCreatedTimeRange", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public override ListJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobResponse.cs new file mode 100644 index 000000000..c83b101e9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListJobResponse.cs @@ -0,0 +1,3250 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListJobResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List jobList; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List JobList + { + get + { + return jobList; + } + set + { + jobList = value; + } + } + + public class ListJob_Job + { + + private string creationTime; + + private long? percent; + + private string finishTime; + + private string state; + + private string jobId; + + private string code; + + private string message; + + private string pipelineId; + + private ListJob_Output output; + + private ListJob_Input input; + + private ListJob_MNSMessageResult mNSMessageResult; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public ListJob_Output Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public ListJob_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public ListJob_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public class ListJob_Output + { + + private string waterMarkConfigUrl; + + private string deWatermark; + + private string priority; + + private string audioStreamMap; + + private string userData; + + private string videoStreamMap; + + private string rotate; + + private string mergeConfigUrl; + + private string templateId; + + private List waterMarkList; + + private List mergeList; + + private List outSubtitleList; + + private List openingList; + + private List tailSlateList; + + private ListJob_Video video; + + private ListJob_TransConfig transConfig; + + private ListJob_Encryption encryption; + + private ListJob_M3U8NonStandardSupport m3U8NonStandardSupport; + + private ListJob_Audio audio; + + private ListJob_SuperReso superReso; + + private ListJob_OutputFile outputFile; + + private ListJob_Container container; + + private ListJob_Clip clip; + + private ListJob_MuxConfig muxConfig; + + private ListJob_SubtitleConfig subtitleConfig; + + private ListJob_Properties properties; + + public string WaterMarkConfigUrl + { + get + { + return waterMarkConfigUrl; + } + set + { + waterMarkConfigUrl = value; + } + } + + public string DeWatermark + { + get + { + return deWatermark; + } + set + { + deWatermark = value; + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + } + } + + public string AudioStreamMap + { + get + { + return audioStreamMap; + } + set + { + audioStreamMap = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string VideoStreamMap + { + get + { + return videoStreamMap; + } + set + { + videoStreamMap = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string MergeConfigUrl + { + get + { + return mergeConfigUrl; + } + set + { + mergeConfigUrl = value; + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + } + } + + public List WaterMarkList + { + get + { + return waterMarkList; + } + set + { + waterMarkList = value; + } + } + + public List MergeList + { + get + { + return mergeList; + } + set + { + mergeList = value; + } + } + + public List OutSubtitleList + { + get + { + return outSubtitleList; + } + set + { + outSubtitleList = value; + } + } + + public List OpeningList + { + get + { + return openingList; + } + set + { + openingList = value; + } + } + + public List TailSlateList + { + get + { + return tailSlateList; + } + set + { + tailSlateList = value; + } + } + + public ListJob_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public ListJob_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public ListJob_Encryption Encryption + { + get + { + return encryption; + } + set + { + encryption = value; + } + } + + public ListJob_M3U8NonStandardSupport M3U8NonStandardSupport + { + get + { + return m3U8NonStandardSupport; + } + set + { + m3U8NonStandardSupport = value; + } + } + + public ListJob_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public ListJob_SuperReso SuperReso + { + get + { + return superReso; + } + set + { + superReso = value; + } + } + + public ListJob_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public ListJob_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public ListJob_Clip Clip + { + get + { + return clip; + } + set + { + clip = value; + } + } + + public ListJob_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public ListJob_SubtitleConfig SubtitleConfig + { + get + { + return subtitleConfig; + } + set + { + subtitleConfig = value; + } + } + + public ListJob_Properties Properties + { + get + { + return properties; + } + set + { + properties = value; + } + } + + public class ListJob_WaterMark + { + + private string type; + + private string referPos; + + private string dx; + + private string width; + + private string height; + + private string waterMarkTemplateId; + + private string dy; + + private ListJob_InputFile inputFile; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string WaterMarkTemplateId + { + get + { + return waterMarkTemplateId; + } + set + { + waterMarkTemplateId = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public ListJob_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class ListJob_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class ListJob_Merge + { + + private string start; + + private string roleArn; + + private string mergeURL; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string MergeURL + { + get + { + return mergeURL; + } + set + { + mergeURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + + public class ListJob_OutSubtitle + { + + private string map; + + private bool? success; + + private string message; + + private ListJob_OutSubtitleFile outSubtitleFile; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public ListJob_OutSubtitleFile OutSubtitleFile + { + get + { + return outSubtitleFile; + } + set + { + outSubtitleFile = value; + } + } + + public class ListJob_OutSubtitleFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class ListJob_Opening + { + + private string openUrl; + + private string start; + + private string width; + + private string height; + + public string OpenUrl + { + get + { + return openUrl; + } + set + { + openUrl = value; + } + } + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + } + + public class ListJob_TailSlate + { + + private string start; + + private string bgColor; + + private bool? isMergeAudio; + + private string width; + + private string height; + + private string blendDuration; + + private string tailUrl; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string BgColor + { + get + { + return bgColor; + } + set + { + bgColor = value; + } + } + + public bool? IsMergeAudio + { + get + { + return isMergeAudio; + } + set + { + isMergeAudio = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string BlendDuration + { + get + { + return blendDuration; + } + set + { + blendDuration = value; + } + } + + public string TailUrl + { + get + { + return tailUrl; + } + set + { + tailUrl = value; + } + } + } + + public class ListJob_Video + { + + private string bufsize; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private ListJob_BitrateBnd bitrateBnd; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public ListJob_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public class ListJob_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + } + + public class ListJob_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class ListJob_Encryption + { + + private string type; + + private string key; + + private string keyType; + + private string id; + + private string keyUri; + + private string skipCnt; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Key + { + get + { + return key; + } + set + { + key = value; + } + } + + public string KeyType + { + get + { + return keyType; + } + set + { + keyType = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string KeyUri + { + get + { + return keyUri; + } + set + { + keyUri = value; + } + } + + public string SkipCnt + { + get + { + return skipCnt; + } + set + { + skipCnt = value; + } + } + } + + public class ListJob_M3U8NonStandardSupport + { + + private ListJob_TS tS; + + public ListJob_TS TS + { + get + { + return tS; + } + set + { + tS = value; + } + } + + public class ListJob_TS + { + + private bool? sizeSupport; + + private bool? md5Support; + + public bool? SizeSupport + { + get + { + return sizeSupport; + } + set + { + sizeSupport = value; + } + } + + public bool? Md5Support + { + get + { + return md5Support; + } + set + { + md5Support = value; + } + } + } + } + + public class ListJob_Audio + { + + private string profile; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + private ListJob_Volume volume; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public ListJob_Volume Volume + { + get + { + return volume; + } + set + { + volume = value; + } + } + + public class ListJob_Volume + { + + private string method; + + private string level; + + public string Method + { + get + { + return method; + } + set + { + method = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + } + } + + public class ListJob_SuperReso + { + + private string isHalfSample; + + public string IsHalfSample + { + get + { + return isHalfSample; + } + set + { + isHalfSample = value; + } + } + } + + public class ListJob_OutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class ListJob_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + + public class ListJob_Clip + { + + private ListJob_TimeSpan timeSpan; + + public ListJob_TimeSpan TimeSpan + { + get + { + return timeSpan; + } + set + { + timeSpan = value; + } + } + + public class ListJob_TimeSpan + { + + private string seek; + + private string duration; + + public string Seek + { + get + { + return seek; + } + set + { + seek = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class ListJob_MuxConfig + { + + private ListJob_Webp webp; + + private ListJob_Gif gif; + + private ListJob_Segment segment; + + public ListJob_Webp Webp + { + get + { + return webp; + } + set + { + webp = value; + } + } + + public ListJob_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public ListJob_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class ListJob_Webp + { + + private string loop; + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class ListJob_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class ListJob_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class ListJob_SubtitleConfig + { + + private List extSubtitleList; + + private List subtitleList; + + public List ExtSubtitleList + { + get + { + return extSubtitleList; + } + set + { + extSubtitleList = value; + } + } + + public List SubtitleList + { + get + { + return subtitleList; + } + set + { + subtitleList = value; + } + } + + public class ListJob_ExtSubtitle + { + + private string charEnc; + + private string fontName; + + private ListJob_Input1 input1; + + public string CharEnc + { + get + { + return charEnc; + } + set + { + charEnc = value; + } + } + + public string FontName + { + get + { + return fontName; + } + set + { + fontName = value; + } + } + + public ListJob_Input1 Input1 + { + get + { + return input1; + } + set + { + input1 = value; + } + } + + public class ListJob_Input1 + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class ListJob_Subtitle + { + + private string map; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + } + } + + public class ListJob_Properties + { + + private string width; + + private string height; + + private string duration; + + private string fps; + + private string bitrate; + + private string fileFormat; + + private string fileSize; + + private ListJob_Streams streams; + + private ListJob_Format format; + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FileFormat + { + get + { + return fileFormat; + } + set + { + fileFormat = value; + } + } + + public string FileSize + { + get + { + return fileSize; + } + set + { + fileSize = value; + } + } + + public ListJob_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public ListJob_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class ListJob_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class ListJob_VideoStream + { + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string sar; + + private string lang; + + private string codecLongName; + + private string height; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string width; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private ListJob_NetworkCost networkCost; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public ListJob_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class ListJob_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class ListJob_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class ListJob_SubtitleStream + { + + private string index; + + private string lang; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + } + } + + public class ListJob_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + } + + public class ListJob_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class ListJob_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsRequest.cs new file mode 100644 index 000000000..ac840f9d2 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListMediaWorkflowExecutionsRequest : RpcAcsRequest + { + public ListMediaWorkflowExecutionsRequest() + : base("Mts", "2014-06-18", "ListMediaWorkflowExecutions", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string mediaWorkflowId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? maximumPageSize; + + private long? ownerId; + + private string mediaWorkflowName; + + private string inputFileURL; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowName", value); + } + } + + public string InputFileURL + { + get + { + return inputFileURL; + } + set + { + inputFileURL = value; + DictionaryUtil.Add(QueryParameters, "InputFileURL", value); + } + } + + public override ListMediaWorkflowExecutionsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListMediaWorkflowExecutionsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsResponse.cs new file mode 100644 index 000000000..ed02c797a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/ListMediaWorkflowExecutionsResponse.cs @@ -0,0 +1,440 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class ListMediaWorkflowExecutionsResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List mediaWorkflowExecutionList; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List MediaWorkflowExecutionList + { + get + { + return mediaWorkflowExecutionList; + } + set + { + mediaWorkflowExecutionList = value; + } + } + + public class ListMediaWorkflowExecutions_MediaWorkflowExecution + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string name; + + private string mediaId; + + private string runId; + + private List activityList; + + private ListMediaWorkflowExecutions_Input input; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string RunId + { + get + { + return runId; + } + set + { + runId = value; + } + } + + public List ActivityList + { + get + { + return activityList; + } + set + { + activityList = value; + } + } + + public ListMediaWorkflowExecutions_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public class ListMediaWorkflowExecutions_Activity + { + + private string endTime; + + private string type; + + private string startTime; + + private string state; + + private string jobId; + + private string code; + + private string message; + + private string name; + + private ListMediaWorkflowExecutions_MNSMessageResult mNSMessageResult; + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public ListMediaWorkflowExecutions_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public class ListMediaWorkflowExecutions_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + } + + public class ListMediaWorkflowExecutions_Input + { + + private string userData; + + private ListMediaWorkflowExecutions_InputFile inputFile; + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public ListMediaWorkflowExecutions_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class ListMediaWorkflowExecutions_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListRequest.cs new file mode 100644 index 000000000..ba9df713c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryAnalysisJobListRequest : RpcAcsRequest + { + public QueryAnalysisJobListRequest() + : base("Mts", "2014-06-18", "QueryAnalysisJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string analysisJobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string AnalysisJobIds + { + get + { + return analysisJobIds; + } + set + { + analysisJobIds = value; + DictionaryUtil.Add(QueryParameters, "AnalysisJobIds", value); + } + } + + public override QueryAnalysisJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryAnalysisJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListResponse.cs new file mode 100644 index 000000000..2ed1b9a82 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryAnalysisJobListResponse.cs @@ -0,0 +1,1100 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryAnalysisJobListResponse : AcsResponse + { + + private string requestId; + + private List analysisJobList; + + private List nonExistAnalysisJobIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List AnalysisJobList + { + get + { + return analysisJobList; + } + set + { + analysisJobList = value; + } + } + + public List NonExistAnalysisJobIds + { + get + { + return nonExistAnalysisJobIds; + } + set + { + nonExistAnalysisJobIds = value; + } + } + + public class QueryAnalysisJobList_AnalysisJob + { + + private string creationTime; + + private long? percent; + + private string state; + + private string message; + + private string priority; + + private string userData; + + private string code; + + private string pipelineId; + + private string id; + + private List templateList; + + private QueryAnalysisJobList_AnalysisConfig analysisConfig; + + private QueryAnalysisJobList_MNSMessageResult mNSMessageResult; + + private QueryAnalysisJobList_InputFile inputFile; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public List TemplateList + { + get + { + return templateList; + } + set + { + templateList = value; + } + } + + public QueryAnalysisJobList_AnalysisConfig AnalysisConfig + { + get + { + return analysisConfig; + } + set + { + analysisConfig = value; + } + } + + public QueryAnalysisJobList_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public QueryAnalysisJobList_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class QueryAnalysisJobList_Template + { + + private string state; + + private string name; + + private string id; + + private QueryAnalysisJobList_Video video; + + private QueryAnalysisJobList_TransConfig transConfig; + + private QueryAnalysisJobList_MuxConfig muxConfig; + + private QueryAnalysisJobList_Audio audio; + + private QueryAnalysisJobList_Container container; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public QueryAnalysisJobList_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public QueryAnalysisJobList_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public QueryAnalysisJobList_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public QueryAnalysisJobList_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public QueryAnalysisJobList_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public class QueryAnalysisJobList_Video + { + + private string bufsize; + + private string degrain; + + private string pixFmt; + + private string codec; + + private string height; + + private string qscale; + + private string bitrate; + + private string maxrate; + + private string profile; + + private string crf; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private QueryAnalysisJobList_BitrateBnd bitrateBnd; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public QueryAnalysisJobList_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public class QueryAnalysisJobList_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + } + + public class QueryAnalysisJobList_TransConfig + { + + private string transMode; + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + } + + public class QueryAnalysisJobList_MuxConfig + { + + private QueryAnalysisJobList_Gif gif; + + private QueryAnalysisJobList_Segment segment; + + public QueryAnalysisJobList_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public QueryAnalysisJobList_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class QueryAnalysisJobList_Gif + { + + private string finalDelay; + + private string loop; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class QueryAnalysisJobList_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class QueryAnalysisJobList_Audio + { + + private string profile; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + } + + public class QueryAnalysisJobList_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + } + + public class QueryAnalysisJobList_AnalysisConfig + { + + private QueryAnalysisJobList_QualityControl qualityControl; + + private QueryAnalysisJobList_PropertiesControl propertiesControl; + + public QueryAnalysisJobList_QualityControl QualityControl + { + get + { + return qualityControl; + } + set + { + qualityControl = value; + } + } + + public QueryAnalysisJobList_PropertiesControl PropertiesControl + { + get + { + return propertiesControl; + } + set + { + propertiesControl = value; + } + } + + public class QueryAnalysisJobList_QualityControl + { + + private string methodStreaming; + + private string rateQuality; + + public string MethodStreaming + { + get + { + return methodStreaming; + } + set + { + methodStreaming = value; + } + } + + public string RateQuality + { + get + { + return rateQuality; + } + set + { + rateQuality = value; + } + } + } + + public class QueryAnalysisJobList_PropertiesControl + { + + private string deinterlace; + + private QueryAnalysisJobList_Crop crop; + + public string Deinterlace + { + get + { + return deinterlace; + } + set + { + deinterlace = value; + } + } + + public QueryAnalysisJobList_Crop Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public class QueryAnalysisJobList_Crop + { + + private string top; + + private string width; + + private string height; + + private string left; + + private string mode; + + public string Top + { + get + { + return top; + } + set + { + top = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Left + { + get + { + return left; + } + set + { + left = value; + } + } + + public string Mode + { + get + { + return mode; + } + set + { + mode = value; + } + } + } + } + } + + public class QueryAnalysisJobList_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class QueryAnalysisJobList_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobRequest.cs new file mode 100644 index 000000000..5c701685e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobRequest.cs @@ -0,0 +1,68 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryCopyrightExtractJobRequest : RpcAcsRequest + { + public QueryCopyrightExtractJobRequest() + : base("Mts", "2014-06-18", "QueryCopyrightExtractJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override QueryCopyrightExtractJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryCopyrightExtractJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobResponse.cs new file mode 100644 index 000000000..a2a64b8b9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightExtractJobResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryCopyrightExtractJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private QueryCopyrightExtractJob_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public QueryCopyrightExtractJob_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class QueryCopyrightExtractJob_Data + { + + private string message; + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobRequest.cs new file mode 100644 index 000000000..ebf15eaa6 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobRequest.cs @@ -0,0 +1,143 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryCopyrightJobRequest : RpcAcsRequest + { + public QueryCopyrightJobRequest() + : base("Mts", "2014-06-18", "QueryCopyrightJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? level; + + private long? pageNumber; + + private long? createTimeEnd; + + private string jobId; + + private long? pageSize; + + private long? createTimeStart; + + public long? Level + { + get + { + return level; + } + set + { + level = value; + DictionaryUtil.Add(QueryParameters, "Level", value.ToString()); + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public long? CreateTimeEnd + { + get + { + return createTimeEnd; + } + set + { + createTimeEnd = value; + DictionaryUtil.Add(QueryParameters, "CreateTimeEnd", value.ToString()); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public long? CreateTimeStart + { + get + { + return createTimeStart; + } + set + { + createTimeStart = value; + DictionaryUtil.Add(QueryParameters, "CreateTimeStart", value.ToString()); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override QueryCopyrightJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryCopyrightJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobResponse.cs new file mode 100644 index 000000000..a779d91c7 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryCopyrightJobResponse.cs @@ -0,0 +1,270 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryCopyrightJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private List data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public List Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class QueryCopyrightJob_DataItem + { + + private string callback; + + private long? gmtCreate; + + private long? gmtModified; + + private string input; + + private string jobId; + + private long? level; + + private string message; + + private long? messageId; + + private string output; + + private string status; + + private string userData; + + private long? userId; + + private string result; + + public string Callback + { + get + { + return callback; + } + set + { + callback = value; + } + } + + public long? GmtCreate + { + get + { + return gmtCreate; + } + set + { + gmtCreate = value; + } + } + + public long? GmtModified + { + get + { + return gmtModified; + } + set + { + gmtModified = value; + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public long? Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public long? UserId + { + get + { + return userId; + } + set + { + userId = value; + } + } + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListRequest.cs new file mode 100644 index 000000000..326ffe9d4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryFpDBDeleteJobListRequest : RpcAcsRequest + { + public QueryFpDBDeleteJobListRequest() + : base("Mts", "2014-06-18", "QueryFpDBDeleteJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string jobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string JobIds + { + get + { + return jobIds; + } + set + { + jobIds = value; + DictionaryUtil.Add(QueryParameters, "JobIds", value); + } + } + + public override QueryFpDBDeleteJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryFpDBDeleteJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListResponse.cs new file mode 100644 index 000000000..a37e8c78a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpDBDeleteJobListResponse.cs @@ -0,0 +1,214 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryFpDBDeleteJobListResponse : AcsResponse + { + + private string requestId; + + private List fpDBDeleteJobList; + + private List nonExistIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List FpDBDeleteJobList + { + get + { + return fpDBDeleteJobList; + } + set + { + fpDBDeleteJobList = value; + } + } + + public List NonExistIds + { + get + { + return nonExistIds; + } + set + { + nonExistIds = value; + } + } + + public class QueryFpDBDeleteJobList_FpDBDeleteJob + { + + private string creationTime; + + private string status; + + private string finishTime; + + private string delType; + + private string userData; + + private string code; + + private string message; + + private string pipelineId; + + private string fpDBId; + + private string id; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string DelType + { + get + { + return delType; + } + set + { + delType = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListRequest.cs new file mode 100644 index 000000000..0692bf947 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryFpFileDeleteJobListRequest : RpcAcsRequest + { + public QueryFpFileDeleteJobListRequest() + : base("Mts", "2014-06-18", "QueryFpFileDeleteJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string jobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string JobIds + { + get + { + return jobIds; + } + set + { + jobIds = value; + DictionaryUtil.Add(QueryParameters, "JobIds", value); + } + } + + public override QueryFpFileDeleteJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryFpFileDeleteJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListResponse.cs new file mode 100644 index 000000000..7b10ef58e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpFileDeleteJobListResponse.cs @@ -0,0 +1,214 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryFpFileDeleteJobListResponse : AcsResponse + { + + private string requestId; + + private List fpFileDeleteJobList; + + private List nonExistIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List FpFileDeleteJobList + { + get + { + return fpFileDeleteJobList; + } + set + { + fpFileDeleteJobList = value; + } + } + + public List NonExistIds + { + get + { + return nonExistIds; + } + set + { + nonExistIds = value; + } + } + + public class QueryFpFileDeleteJobList_FpFileDeleteJob + { + + private string creationTime; + + private string status; + + private string finishTime; + + private string userData; + + private string code; + + private string message; + + private string pipelineId; + + private string fpDBId; + + private string id; + + private string fileIds; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string FileIds + { + get + { + return fileIds; + } + set + { + fileIds = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListRequest.cs new file mode 100644 index 000000000..2bc179d3e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListRequest.cs @@ -0,0 +1,213 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryFpShotJobListRequest : RpcAcsRequest + { + public QueryFpShotJobListRequest() + : base("Mts", "2014-06-18", "QueryFpShotJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string startOfJobCreatedTimeRange; + + private string state; + + private string endOfJobCreatedTimeRange; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? maximumPageSize; + + private long? ownerId; + + private string pipelineId; + + private string jobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string StartOfJobCreatedTimeRange + { + get + { + return startOfJobCreatedTimeRange; + } + set + { + startOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "StartOfJobCreatedTimeRange", value); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string EndOfJobCreatedTimeRange + { + get + { + return endOfJobCreatedTimeRange; + } + set + { + endOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "EndOfJobCreatedTimeRange", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string JobIds + { + get + { + return jobIds; + } + set + { + jobIds = value; + DictionaryUtil.Add(QueryParameters, "JobIds", value); + } + } + + public override QueryFpShotJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryFpShotJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListResponse.cs new file mode 100644 index 000000000..754e1570f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryFpShotJobListResponse.cs @@ -0,0 +1,772 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryFpShotJobListResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List fpShotJobList; + + private List nonExistPrimaryKeys; + + private List nonExistIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List FpShotJobList + { + get + { + return fpShotJobList; + } + set + { + fpShotJobList = value; + } + } + + public List NonExistPrimaryKeys + { + get + { + return nonExistPrimaryKeys; + } + set + { + nonExistPrimaryKeys = value; + } + } + + public List NonExistIds + { + get + { + return nonExistIds; + } + set + { + nonExistIds = value; + } + } + + public class QueryFpShotJobList_FpShotJob + { + + private string creationTime; + + private string finishTime; + + private string state; + + private string message; + + private string txHash; + + private string transactionId; + + private string fileId; + + private string userData; + + private int? duration; + + private string code; + + private string pipelineId; + + private string id; + + private string input; + + private QueryFpShotJobList_FpShotResult fpShotResult; + + private QueryFpShotJobList_FpShotConfig fpShotConfig; + + private QueryFpShotJobList_InputFile inputFile; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string TxHash + { + get + { + return txHash; + } + set + { + txHash = value; + } + } + + public string TransactionId + { + get + { + return transactionId; + } + set + { + transactionId = value; + } + } + + public string FileId + { + get + { + return fileId; + } + set + { + fileId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public int? Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public QueryFpShotJobList_FpShotResult FpShotResult + { + get + { + return fpShotResult; + } + set + { + fpShotResult = value; + } + } + + public QueryFpShotJobList_FpShotConfig FpShotConfig + { + get + { + return fpShotConfig; + } + set + { + fpShotConfig = value; + } + } + + public QueryFpShotJobList_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class QueryFpShotJobList_FpShotResult + { + + private List audioFpShots; + + private List fpShots; + + private List textFpShots; + + public List AudioFpShots + { + get + { + return audioFpShots; + } + set + { + audioFpShots = value; + } + } + + public List FpShots + { + get + { + return fpShots; + } + set + { + fpShots = value; + } + } + + public List TextFpShots + { + get + { + return textFpShots; + } + set + { + textFpShots = value; + } + } + + public class QueryFpShotJobList_FpShot + { + + private string primaryKey; + + private string similarity; + + private List fpShotSlices; + + public string PrimaryKey + { + get + { + return primaryKey; + } + set + { + primaryKey = value; + } + } + + public string Similarity + { + get + { + return similarity; + } + set + { + similarity = value; + } + } + + public List FpShotSlices + { + get + { + return fpShotSlices; + } + set + { + fpShotSlices = value; + } + } + + public class QueryFpShotJobList_FpShotSlice + { + + private string similarity; + + private QueryFpShotJobList_Duplication duplication; + + private QueryFpShotJobList_Input input; + + public string Similarity + { + get + { + return similarity; + } + set + { + similarity = value; + } + } + + public QueryFpShotJobList_Duplication Duplication + { + get + { + return duplication; + } + set + { + duplication = value; + } + } + + public QueryFpShotJobList_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public class QueryFpShotJobList_Duplication + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + + public class QueryFpShotJobList_Input + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + } + + public class QueryFpShotJobList_TextFpShot + { + + private string primaryKey; + + private string similarity; + + private List textFpShotSlices; + + public string PrimaryKey + { + get + { + return primaryKey; + } + set + { + primaryKey = value; + } + } + + public string Similarity + { + get + { + return similarity; + } + set + { + similarity = value; + } + } + + public List TextFpShotSlices + { + get + { + return textFpShotSlices; + } + set + { + textFpShotSlices = value; + } + } + + public class QueryFpShotJobList_TextFpShotSlice + { + + private string similarity; + + private string inputText; + + private string duplicationText; + + private QueryFpShotJobList_InputFragment inputFragment; + + public string Similarity + { + get + { + return similarity; + } + set + { + similarity = value; + } + } + + public string InputText + { + get + { + return inputText; + } + set + { + inputText = value; + } + } + + public string DuplicationText + { + get + { + return duplicationText; + } + set + { + duplicationText = value; + } + } + + public QueryFpShotJobList_InputFragment InputFragment + { + get + { + return inputFragment; + } + set + { + inputFragment = value; + } + } + + public class QueryFpShotJobList_InputFragment + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + } + } + + public class QueryFpShotJobList_FpShotConfig + { + + private string primaryKey; + + private string saveType; + + private string notary; + + private string fpDBId; + + public string PrimaryKey + { + get + { + return primaryKey; + } + set + { + primaryKey = value; + } + } + + public string SaveType + { + get + { + return saveType; + } + set + { + saveType = value; + } + } + + public string Notary + { + get + { + return notary; + } + set + { + notary = value; + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + } + } + } + + public class QueryFpShotJobList_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobRequest.cs new file mode 100644 index 000000000..4c2d1203e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryIProductionJobRequest : RpcAcsRequest + { + public QueryIProductionJobRequest() + : base("Mts", "2014-06-18", "QueryIProductionJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string jobId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public override QueryIProductionJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryIProductionJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobResponse.cs new file mode 100644 index 000000000..e2604d98b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryIProductionJobResponse.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryIProductionJobResponse : AcsResponse + { + + private string functionName; + + private string input; + + private string requestId; + + private string userData; + + private string state; + + private string output; + + private string pipelineId; + + private string jobParams; + + private string jobId; + + private string result; + + public string FunctionName + { + get + { + return functionName; + } + set + { + functionName = value; + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string JobParams + { + get + { + return jobParams; + } + set + { + jobParams = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListRequest.cs new file mode 100644 index 000000000..ea0faf425 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryJobListRequest : RpcAcsRequest + { + public QueryJobListRequest() + : base("Mts", "2014-06-18", "QueryJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string jobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string JobIds + { + get + { + return jobIds; + } + set + { + jobIds = value; + DictionaryUtil.Add(QueryParameters, "JobIds", value); + } + } + + public override QueryJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListResponse.cs new file mode 100644 index 000000000..7a6be2d98 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryJobListResponse.cs @@ -0,0 +1,3680 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryJobListResponse : AcsResponse + { + + private string requestId; + + private List jobList; + + private List nonExistJobIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List JobList + { + get + { + return jobList; + } + set + { + jobList = value; + } + } + + public List NonExistJobIds + { + get + { + return nonExistJobIds; + } + set + { + nonExistJobIds = value; + } + } + + public class QueryJobList_Job + { + + private string creationTime; + + private long? percent; + + private string finishTime; + + private string state; + + private string jobId; + + private string code; + + private string message; + + private string pipelineId; + + private string submitTime; + + private QueryJobList_Output output; + + private QueryJobList_Input input; + + private QueryJobList_MNSMessageResult mNSMessageResult; + + private QueryJobList_Pipeline pipeline; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string SubmitTime + { + get + { + return submitTime; + } + set + { + submitTime = value; + } + } + + public QueryJobList_Output Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public QueryJobList_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public QueryJobList_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public QueryJobList_Pipeline Pipeline + { + get + { + return pipeline; + } + set + { + pipeline = value; + } + } + + public class QueryJobList_Output + { + + private string waterMarkConfigUrl; + + private string deWatermark; + + private string priority; + + private string audioStreamMap; + + private string userData; + + private string extendData; + + private string videoStreamMap; + + private string rotate; + + private string mergeConfigUrl; + + private string templateId; + + private List waterMarkList; + + private List mergeList; + + private List outSubtitleList; + + private List openingList; + + private List tailSlateList; + + private QueryJobList_Video video; + + private QueryJobList_TransConfig transConfig; + + private QueryJobList_Encryption encryption; + + private QueryJobList_M3U8NonStandardSupport m3U8NonStandardSupport; + + private QueryJobList_Audio audio; + + private QueryJobList_SuperReso superReso; + + private QueryJobList_OutputFile outputFile; + + private QueryJobList_Container container; + + private QueryJobList_Clip clip; + + private QueryJobList_MuxConfig muxConfig; + + private QueryJobList_SubtitleConfig subtitleConfig; + + private QueryJobList_Properties properties; + + private QueryJobList_MultiSpeedInfo multiSpeedInfo; + + private QueryJobList_TraceMark traceMark; + + private QueryJobList_CopyrightMark copyrightMark; + + public string WaterMarkConfigUrl + { + get + { + return waterMarkConfigUrl; + } + set + { + waterMarkConfigUrl = value; + } + } + + public string DeWatermark + { + get + { + return deWatermark; + } + set + { + deWatermark = value; + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + } + } + + public string AudioStreamMap + { + get + { + return audioStreamMap; + } + set + { + audioStreamMap = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string ExtendData + { + get + { + return extendData; + } + set + { + extendData = value; + } + } + + public string VideoStreamMap + { + get + { + return videoStreamMap; + } + set + { + videoStreamMap = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string MergeConfigUrl + { + get + { + return mergeConfigUrl; + } + set + { + mergeConfigUrl = value; + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + } + } + + public List WaterMarkList + { + get + { + return waterMarkList; + } + set + { + waterMarkList = value; + } + } + + public List MergeList + { + get + { + return mergeList; + } + set + { + mergeList = value; + } + } + + public List OutSubtitleList + { + get + { + return outSubtitleList; + } + set + { + outSubtitleList = value; + } + } + + public List OpeningList + { + get + { + return openingList; + } + set + { + openingList = value; + } + } + + public List TailSlateList + { + get + { + return tailSlateList; + } + set + { + tailSlateList = value; + } + } + + public QueryJobList_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public QueryJobList_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public QueryJobList_Encryption Encryption + { + get + { + return encryption; + } + set + { + encryption = value; + } + } + + public QueryJobList_M3U8NonStandardSupport M3U8NonStandardSupport + { + get + { + return m3U8NonStandardSupport; + } + set + { + m3U8NonStandardSupport = value; + } + } + + public QueryJobList_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public QueryJobList_SuperReso SuperReso + { + get + { + return superReso; + } + set + { + superReso = value; + } + } + + public QueryJobList_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public QueryJobList_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public QueryJobList_Clip Clip + { + get + { + return clip; + } + set + { + clip = value; + } + } + + public QueryJobList_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public QueryJobList_SubtitleConfig SubtitleConfig + { + get + { + return subtitleConfig; + } + set + { + subtitleConfig = value; + } + } + + public QueryJobList_Properties Properties + { + get + { + return properties; + } + set + { + properties = value; + } + } + + public QueryJobList_MultiSpeedInfo MultiSpeedInfo + { + get + { + return multiSpeedInfo; + } + set + { + multiSpeedInfo = value; + } + } + + public QueryJobList_TraceMark TraceMark + { + get + { + return traceMark; + } + set + { + traceMark = value; + } + } + + public QueryJobList_CopyrightMark CopyrightMark + { + get + { + return copyrightMark; + } + set + { + copyrightMark = value; + } + } + + public class QueryJobList_WaterMark + { + + private string type; + + private string referPos; + + private string dx; + + private string width; + + private string height; + + private string waterMarkTemplateId; + + private string dy; + + private QueryJobList_InputFile inputFile; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string WaterMarkTemplateId + { + get + { + return waterMarkTemplateId; + } + set + { + waterMarkTemplateId = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public QueryJobList_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class QueryJobList_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class QueryJobList_Merge + { + + private string start; + + private string roleArn; + + private string mergeURL; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string MergeURL + { + get + { + return mergeURL; + } + set + { + mergeURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + + public class QueryJobList_OutSubtitle + { + + private string map; + + private bool? success; + + private string message; + + private QueryJobList_OutSubtitleFile outSubtitleFile; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public QueryJobList_OutSubtitleFile OutSubtitleFile + { + get + { + return outSubtitleFile; + } + set + { + outSubtitleFile = value; + } + } + + public class QueryJobList_OutSubtitleFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class QueryJobList_Opening + { + + private string openUrl; + + private string start; + + private string width; + + private string height; + + public string OpenUrl + { + get + { + return openUrl; + } + set + { + openUrl = value; + } + } + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + } + + public class QueryJobList_TailSlate + { + + private string start; + + private string bgColor; + + private bool? isMergeAudio; + + private string width; + + private string height; + + private string blendDuration; + + private string tailUrl; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string BgColor + { + get + { + return bgColor; + } + set + { + bgColor = value; + } + } + + public bool? IsMergeAudio + { + get + { + return isMergeAudio; + } + set + { + isMergeAudio = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string BlendDuration + { + get + { + return blendDuration; + } + set + { + blendDuration = value; + } + } + + public string TailUrl + { + get + { + return tailUrl; + } + set + { + tailUrl = value; + } + } + } + + public class QueryJobList_Video + { + + private string bufsize; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private QueryJobList_BitrateBnd bitrateBnd; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public QueryJobList_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public class QueryJobList_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + } + + public class QueryJobList_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class QueryJobList_Encryption + { + + private string type; + + private string key; + + private string keyType; + + private string id; + + private string keyUri; + + private string skipCnt; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Key + { + get + { + return key; + } + set + { + key = value; + } + } + + public string KeyType + { + get + { + return keyType; + } + set + { + keyType = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string KeyUri + { + get + { + return keyUri; + } + set + { + keyUri = value; + } + } + + public string SkipCnt + { + get + { + return skipCnt; + } + set + { + skipCnt = value; + } + } + } + + public class QueryJobList_M3U8NonStandardSupport + { + + private QueryJobList_TS tS; + + public QueryJobList_TS TS + { + get + { + return tS; + } + set + { + tS = value; + } + } + + public class QueryJobList_TS + { + + private bool? sizeSupport; + + private bool? md5Support; + + public bool? SizeSupport + { + get + { + return sizeSupport; + } + set + { + sizeSupport = value; + } + } + + public bool? Md5Support + { + get + { + return md5Support; + } + set + { + md5Support = value; + } + } + } + } + + public class QueryJobList_Audio + { + + private string profile; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + private QueryJobList_Volume volume; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public QueryJobList_Volume Volume + { + get + { + return volume; + } + set + { + volume = value; + } + } + + public class QueryJobList_Volume + { + + private string method; + + private string level; + + public string Method + { + get + { + return method; + } + set + { + method = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + } + } + + public class QueryJobList_SuperReso + { + + private string isHalfSample; + + public string IsHalfSample + { + get + { + return isHalfSample; + } + set + { + isHalfSample = value; + } + } + } + + public class QueryJobList_OutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class QueryJobList_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + + public class QueryJobList_Clip + { + + private QueryJobList_TimeSpan timeSpan; + + public QueryJobList_TimeSpan TimeSpan + { + get + { + return timeSpan; + } + set + { + timeSpan = value; + } + } + + public class QueryJobList_TimeSpan + { + + private string seek; + + private string duration; + + public string Seek + { + get + { + return seek; + } + set + { + seek = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class QueryJobList_MuxConfig + { + + private QueryJobList_Webp webp; + + private QueryJobList_Gif gif; + + private QueryJobList_Segment segment; + + public QueryJobList_Webp Webp + { + get + { + return webp; + } + set + { + webp = value; + } + } + + public QueryJobList_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public QueryJobList_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class QueryJobList_Webp + { + + private string loop; + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class QueryJobList_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class QueryJobList_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class QueryJobList_SubtitleConfig + { + + private List extSubtitleList; + + private List subtitleList; + + public List ExtSubtitleList + { + get + { + return extSubtitleList; + } + set + { + extSubtitleList = value; + } + } + + public List SubtitleList + { + get + { + return subtitleList; + } + set + { + subtitleList = value; + } + } + + public class QueryJobList_ExtSubtitle + { + + private string charEnc; + + private string fontName; + + private QueryJobList_Input1 input1; + + public string CharEnc + { + get + { + return charEnc; + } + set + { + charEnc = value; + } + } + + public string FontName + { + get + { + return fontName; + } + set + { + fontName = value; + } + } + + public QueryJobList_Input1 Input1 + { + get + { + return input1; + } + set + { + input1 = value; + } + } + + public class QueryJobList_Input1 + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class QueryJobList_Subtitle + { + + private string map; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + } + } + + public class QueryJobList_Properties + { + + private string width; + + private string height; + + private string duration; + + private string fps; + + private string bitrate; + + private string fileFormat; + + private string fileSize; + + private List sourceLogos; + + private QueryJobList_Streams streams; + + private QueryJobList_Format format; + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FileFormat + { + get + { + return fileFormat; + } + set + { + fileFormat = value; + } + } + + public string FileSize + { + get + { + return fileSize; + } + set + { + fileSize = value; + } + } + + public List SourceLogos + { + get + { + return sourceLogos; + } + set + { + sourceLogos = value; + } + } + + public QueryJobList_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public QueryJobList_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class QueryJobList_SourceLogo + { + + private string source; + + public string Source + { + get + { + return source; + } + set + { + source = value; + } + } + } + + public class QueryJobList_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class QueryJobList_VideoStream + { + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string sar; + + private string lang; + + private string codecLongName; + + private string height; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string width; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private string colorTransfer; + + private string colorPrimaries; + + private string bitsPerRawSample; + + private QueryJobList_NetworkCost networkCost; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string ColorTransfer + { + get + { + return colorTransfer; + } + set + { + colorTransfer = value; + } + } + + public string ColorPrimaries + { + get + { + return colorPrimaries; + } + set + { + colorPrimaries = value; + } + } + + public string BitsPerRawSample + { + get + { + return bitsPerRawSample; + } + set + { + bitsPerRawSample = value; + } + } + + public QueryJobList_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class QueryJobList_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class QueryJobList_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class QueryJobList_SubtitleStream + { + + private string index; + + private string lang; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + } + } + + public class QueryJobList_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + + public class QueryJobList_MultiSpeedInfo + { + + private string enable; + + private string code; + + private string message; + + private int? settingSpeed; + + private string downgradePolicy; + + private double? realSpeed; + + private double? duration; + + private double? timeCost; + + public string Enable + { + get + { + return enable; + } + set + { + enable = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public int? SettingSpeed + { + get + { + return settingSpeed; + } + set + { + settingSpeed = value; + } + } + + public string DowngradePolicy + { + get + { + return downgradePolicy; + } + set + { + downgradePolicy = value; + } + } + + public double? RealSpeed + { + get + { + return realSpeed; + } + set + { + realSpeed = value; + } + } + + public double? Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public double? TimeCost + { + get + { + return timeCost; + } + set + { + timeCost = value; + } + } + } + + public class QueryJobList_TraceMark + { + + private string enable; + + public string Enable + { + get + { + return enable; + } + set + { + enable = value; + } + } + } + + public class QueryJobList_CopyrightMark + { + + private string content; + + public string Content + { + get + { + return content; + } + set + { + content = value; + } + } + } + } + + public class QueryJobList_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class QueryJobList_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class QueryJobList_Pipeline + { + + private string id; + + private string name; + + private string speed; + + private string state; + + private QueryJobList_ExtendConfig extendConfig; + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Speed + { + get + { + return speed; + } + set + { + speed = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public QueryJobList_ExtendConfig ExtendConfig + { + get + { + return extendConfig; + } + set + { + extendConfig = value; + } + } + + public class QueryJobList_ExtendConfig + { + + private bool? isBoostNew; + + private int? maxMultiSpeed; + + private string multiSpeedDowngradePolicy; + + public bool? IsBoostNew + { + get + { + return isBoostNew; + } + set + { + isBoostNew = value; + } + } + + public int? MaxMultiSpeed + { + get + { + return maxMultiSpeed; + } + set + { + maxMultiSpeed = value; + } + } + + public string MultiSpeedDowngradePolicy + { + get + { + return multiSpeedDowngradePolicy; + } + set + { + multiSpeedDowngradePolicy = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailRequest.cs new file mode 100644 index 000000000..f575c6807 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaCensorJobDetailRequest : RpcAcsRequest + { + public QueryMediaCensorJobDetailRequest() + : base("Mts", "2014-06-18", "QueryMediaCensorJobDetail", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string jobId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? maximumPageSize; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override QueryMediaCensorJobDetailResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaCensorJobDetailResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailResponse.cs new file mode 100644 index 000000000..334842241 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobDetailResponse.cs @@ -0,0 +1,1054 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaCensorJobDetailResponse : AcsResponse + { + + private string requestId; + + private QueryMediaCensorJobDetail_MediaCensorJobDetail mediaCensorJobDetail; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public QueryMediaCensorJobDetail_MediaCensorJobDetail MediaCensorJobDetail + { + get + { + return mediaCensorJobDetail; + } + set + { + mediaCensorJobDetail = value; + } + } + + public class QueryMediaCensorJobDetail_MediaCensorJobDetail + { + + private string creationTime; + + private string finishTime; + + private string suggestion; + + private string state; + + private string message; + + private string jobId; + + private string userData; + + private string code; + + private string pipelineId; + + private List coverImageCensorResults; + + private QueryMediaCensorJobDetail_TitleCensorResult titleCensorResult; + + private QueryMediaCensorJobDetail_Input input; + + private QueryMediaCensorJobDetail_BarrageCensorResult barrageCensorResult; + + private QueryMediaCensorJobDetail_DescCensorResult descCensorResult; + + private QueryMediaCensorJobDetail_VideoCensorConfig videoCensorConfig; + + private QueryMediaCensorJobDetail_VensorCensorResult vensorCensorResult; + + private QueryMediaCensorJobDetail_AudioCensorResult audioCensorResult; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public List CoverImageCensorResults + { + get + { + return coverImageCensorResults; + } + set + { + coverImageCensorResults = value; + } + } + + public QueryMediaCensorJobDetail_TitleCensorResult TitleCensorResult + { + get + { + return titleCensorResult; + } + set + { + titleCensorResult = value; + } + } + + public QueryMediaCensorJobDetail_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public QueryMediaCensorJobDetail_BarrageCensorResult BarrageCensorResult + { + get + { + return barrageCensorResult; + } + set + { + barrageCensorResult = value; + } + } + + public QueryMediaCensorJobDetail_DescCensorResult DescCensorResult + { + get + { + return descCensorResult; + } + set + { + descCensorResult = value; + } + } + + public QueryMediaCensorJobDetail_VideoCensorConfig VideoCensorConfig + { + get + { + return videoCensorConfig; + } + set + { + videoCensorConfig = value; + } + } + + public QueryMediaCensorJobDetail_VensorCensorResult VensorCensorResult + { + get + { + return vensorCensorResult; + } + set + { + vensorCensorResult = value; + } + } + + public QueryMediaCensorJobDetail_AudioCensorResult AudioCensorResult + { + get + { + return audioCensorResult; + } + set + { + audioCensorResult = value; + } + } + + public class QueryMediaCensorJobDetail_CoverImageCensorResult + { + + private string _object; + + private string location; + + private string bucket; + + private List results; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + + public List Results + { + get + { + return results; + } + set + { + results = value; + } + } + + public class QueryMediaCensorJobDetail_Result + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + } + + public class QueryMediaCensorJobDetail_TitleCensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + + public class QueryMediaCensorJobDetail_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class QueryMediaCensorJobDetail_BarrageCensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + + public class QueryMediaCensorJobDetail_DescCensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + + public class QueryMediaCensorJobDetail_VideoCensorConfig + { + + private string videoCensor; + + private string bizType; + + private QueryMediaCensorJobDetail_OutputFile outputFile; + + public string VideoCensor + { + get + { + return videoCensor; + } + set + { + videoCensor = value; + } + } + + public string BizType + { + get + { + return bizType; + } + set + { + bizType = value; + } + } + + public QueryMediaCensorJobDetail_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public class QueryMediaCensorJobDetail_OutputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class QueryMediaCensorJobDetail_VensorCensorResult + { + + private string nextPageToken; + + private List videoTimelines; + + private List censorResults; + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List VideoTimelines + { + get + { + return videoTimelines; + } + set + { + videoTimelines = value; + } + } + + public List CensorResults + { + get + { + return censorResults; + } + set + { + censorResults = value; + } + } + + public class QueryMediaCensorJobDetail_VideoTimeline + { + + private string timestamp; + + private string _object; + + private List censorResults1; + + public string Timestamp + { + get + { + return timestamp; + } + set + { + timestamp = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public List CensorResults1 + { + get + { + return censorResults1; + } + set + { + censorResults1 = value; + } + } + + public class QueryMediaCensorJobDetail_CensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + } + + public class QueryMediaCensorJobDetail_CensorResult2 + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + } + + public class QueryMediaCensorJobDetail_AudioCensorResult + { + + private string suggestion; + + private string label; + + private List audioDetailResultList; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public List AudioDetailResultList + { + get + { + return audioDetailResultList; + } + set + { + audioDetailResultList = value; + } + } + + public class QueryMediaCensorJobDetail_AudioDetailResult + { + + private int? startTime; + + private int? endTime; + + private string text; + + private string label; + + public int? StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public int? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string Text + { + get + { + return text; + } + set + { + text = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListRequest.cs new file mode 100644 index 000000000..b864be189 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListRequest.cs @@ -0,0 +1,213 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaCensorJobListRequest : RpcAcsRequest + { + public QueryMediaCensorJobListRequest() + : base("Mts", "2014-06-18", "QueryMediaCensorJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string startOfJobCreatedTimeRange; + + private string state; + + private string endOfJobCreatedTimeRange; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? maximumPageSize; + + private long? ownerId; + + private string pipelineId; + + private string jobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string StartOfJobCreatedTimeRange + { + get + { + return startOfJobCreatedTimeRange; + } + set + { + startOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "StartOfJobCreatedTimeRange", value); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string EndOfJobCreatedTimeRange + { + get + { + return endOfJobCreatedTimeRange; + } + set + { + endOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "EndOfJobCreatedTimeRange", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string JobIds + { + get + { + return jobIds; + } + set + { + jobIds = value; + DictionaryUtil.Add(QueryParameters, "JobIds", value); + } + } + + public override QueryMediaCensorJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaCensorJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListResponse.cs new file mode 100644 index 000000000..080d0c573 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaCensorJobListResponse.cs @@ -0,0 +1,1008 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaCensorJobListResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List mediaCensorJobList; + + private List nonExistIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List MediaCensorJobList + { + get + { + return mediaCensorJobList; + } + set + { + mediaCensorJobList = value; + } + } + + public List NonExistIds + { + get + { + return nonExistIds; + } + set + { + nonExistIds = value; + } + } + + public class QueryMediaCensorJobList_MediaCensorJob + { + + private string creationTime; + + private string finishTime; + + private string suggestion; + + private string state; + + private string message; + + private string jobId; + + private string userData; + + private string code; + + private string pipelineId; + + private List coverImageCensorResults; + + private QueryMediaCensorJobList_TitleCensorResult titleCensorResult; + + private QueryMediaCensorJobList_Input input; + + private QueryMediaCensorJobList_BarrageCensorResult barrageCensorResult; + + private QueryMediaCensorJobList_DescCensorResult descCensorResult; + + private QueryMediaCensorJobList_VideoCensorConfig videoCensorConfig; + + private QueryMediaCensorJobList_VensorCensorResult vensorCensorResult; + + private QueryMediaCensorJobList_AudioCensorResult audioCensorResult; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public List CoverImageCensorResults + { + get + { + return coverImageCensorResults; + } + set + { + coverImageCensorResults = value; + } + } + + public QueryMediaCensorJobList_TitleCensorResult TitleCensorResult + { + get + { + return titleCensorResult; + } + set + { + titleCensorResult = value; + } + } + + public QueryMediaCensorJobList_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public QueryMediaCensorJobList_BarrageCensorResult BarrageCensorResult + { + get + { + return barrageCensorResult; + } + set + { + barrageCensorResult = value; + } + } + + public QueryMediaCensorJobList_DescCensorResult DescCensorResult + { + get + { + return descCensorResult; + } + set + { + descCensorResult = value; + } + } + + public QueryMediaCensorJobList_VideoCensorConfig VideoCensorConfig + { + get + { + return videoCensorConfig; + } + set + { + videoCensorConfig = value; + } + } + + public QueryMediaCensorJobList_VensorCensorResult VensorCensorResult + { + get + { + return vensorCensorResult; + } + set + { + vensorCensorResult = value; + } + } + + public QueryMediaCensorJobList_AudioCensorResult AudioCensorResult + { + get + { + return audioCensorResult; + } + set + { + audioCensorResult = value; + } + } + + public class QueryMediaCensorJobList_CoverImageCensorResult + { + + private string _object; + + private string location; + + private string bucket; + + private List results; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + + public List Results + { + get + { + return results; + } + set + { + results = value; + } + } + + public class QueryMediaCensorJobList_Result + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + } + + public class QueryMediaCensorJobList_TitleCensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + + public class QueryMediaCensorJobList_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class QueryMediaCensorJobList_BarrageCensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + + public class QueryMediaCensorJobList_DescCensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + + public class QueryMediaCensorJobList_VideoCensorConfig + { + + private string videoCensor; + + private string bizType; + + private QueryMediaCensorJobList_OutputFile outputFile; + + public string VideoCensor + { + get + { + return videoCensor; + } + set + { + videoCensor = value; + } + } + + public string BizType + { + get + { + return bizType; + } + set + { + bizType = value; + } + } + + public QueryMediaCensorJobList_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public class QueryMediaCensorJobList_OutputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class QueryMediaCensorJobList_VensorCensorResult + { + + private string nextPageToken; + + private List videoTimelines; + + private List censorResults; + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List VideoTimelines + { + get + { + return videoTimelines; + } + set + { + videoTimelines = value; + } + } + + public List CensorResults + { + get + { + return censorResults; + } + set + { + censorResults = value; + } + } + + public class QueryMediaCensorJobList_VideoTimeline + { + + private string timestamp; + + private string _object; + + private List censorResults1; + + public string Timestamp + { + get + { + return timestamp; + } + set + { + timestamp = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public List CensorResults1 + { + get + { + return censorResults1; + } + set + { + censorResults1 = value; + } + } + + public class QueryMediaCensorJobList_CensorResult + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + } + + public class QueryMediaCensorJobList_CensorResult2 + { + + private string suggestion; + + private string label; + + private string scene; + + private string rate; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string Rate + { + get + { + return rate; + } + set + { + rate = value; + } + } + } + } + + public class QueryMediaCensorJobList_AudioCensorResult + { + + private string suggestion; + + private string label; + + public string Suggestion + { + get + { + return suggestion; + } + set + { + suggestion = value; + } + } + + public string Label + { + get + { + return label; + } + set + { + label = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListRequest.cs new file mode 100644 index 000000000..5d0f29b37 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaInfoJobListRequest : RpcAcsRequest + { + public QueryMediaInfoJobListRequest() + : base("Mts", "2014-06-18", "QueryMediaInfoJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaInfoJobIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaInfoJobIds + { + get + { + return mediaInfoJobIds; + } + set + { + mediaInfoJobIds = value; + DictionaryUtil.Add(QueryParameters, "MediaInfoJobIds", value); + } + } + + public override QueryMediaInfoJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaInfoJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListResponse.cs new file mode 100644 index 000000000..f176b7e8c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaInfoJobListResponse.cs @@ -0,0 +1,1412 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaInfoJobListResponse : AcsResponse + { + + private string requestId; + + private List mediaInfoJobList; + + private List nonExistMediaInfoJobIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List MediaInfoJobList + { + get + { + return mediaInfoJobList; + } + set + { + mediaInfoJobList = value; + } + } + + public List NonExistMediaInfoJobIds + { + get + { + return nonExistMediaInfoJobIds; + } + set + { + nonExistMediaInfoJobIds = value; + } + } + + public class QueryMediaInfoJobList_MediaInfoJob + { + + private string creationTime; + + private string state; + + private string jobId; + + private string userData; + + private string code; + + private string message; + + private string pipelineId; + + private bool? async; + + private QueryMediaInfoJobList_Input input; + + private QueryMediaInfoJobList_MNSMessageResult mNSMessageResult; + + private QueryMediaInfoJobList_Properties properties; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public bool? Async + { + get + { + return async; + } + set + { + async = value; + } + } + + public QueryMediaInfoJobList_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public QueryMediaInfoJobList_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public QueryMediaInfoJobList_Properties Properties + { + get + { + return properties; + } + set + { + properties = value; + } + } + + public class QueryMediaInfoJobList_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class QueryMediaInfoJobList_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class QueryMediaInfoJobList_Properties + { + + private string width; + + private string height; + + private string duration; + + private string fps; + + private string bitrate; + + private string fileFormat; + + private string fileSize; + + private QueryMediaInfoJobList_Streams streams; + + private QueryMediaInfoJobList_Format format; + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FileFormat + { + get + { + return fileFormat; + } + set + { + fileFormat = value; + } + } + + public string FileSize + { + get + { + return fileSize; + } + set + { + fileSize = value; + } + } + + public QueryMediaInfoJobList_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public QueryMediaInfoJobList_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class QueryMediaInfoJobList_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class QueryMediaInfoJobList_VideoStream + { + + private string sar; + + private string height; + + private string codecTagString; + + private string width; + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string lang; + + private string codecLongName; + + private string numFrames; + + private string rotate; + + private string bitrate; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private string colorRange; + + private string colorTransfer; + + private string colorPrimaries; + + private QueryMediaInfoJobList_NetworkCost networkCost; + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string ColorRange + { + get + { + return colorRange; + } + set + { + colorRange = value; + } + } + + public string ColorTransfer + { + get + { + return colorTransfer; + } + set + { + colorTransfer = value; + } + } + + public string ColorPrimaries + { + get + { + return colorPrimaries; + } + set + { + colorPrimaries = value; + } + } + + public QueryMediaInfoJobList_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class QueryMediaInfoJobList_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class QueryMediaInfoJobList_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class QueryMediaInfoJobList_SubtitleStream + { + + private string timebase; + + private string index; + + private string startTime; + + private string codecName; + + private string lang; + + private string codecLongName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + private string codecTagString; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + } + } + + public class QueryMediaInfoJobList_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLRequest.cs new file mode 100644 index 000000000..25f599ea3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaListByURLRequest : RpcAcsRequest + { + public QueryMediaListByURLRequest() + : base("Mts", "2014-06-18", "QueryMediaListByURL", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private bool? includeSummaryList; + + private string fileURLs; + + private bool? includePlayList; + + private string resourceOwnerAccount; + + private bool? includeSnapshotList; + + private string ownerAccount; + + private long? ownerId; + + private bool? includeMediaInfo; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public bool? IncludeSummaryList + { + get + { + return includeSummaryList; + } + set + { + includeSummaryList = value; + DictionaryUtil.Add(QueryParameters, "IncludeSummaryList", value.ToString()); + } + } + + public string FileURLs + { + get + { + return fileURLs; + } + set + { + fileURLs = value; + DictionaryUtil.Add(QueryParameters, "FileURLs", value); + } + } + + public bool? IncludePlayList + { + get + { + return includePlayList; + } + set + { + includePlayList = value; + DictionaryUtil.Add(QueryParameters, "IncludePlayList", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public bool? IncludeSnapshotList + { + get + { + return includeSnapshotList; + } + set + { + includeSnapshotList = value; + DictionaryUtil.Add(QueryParameters, "IncludeSnapshotList", value.ToString()); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public bool? IncludeMediaInfo + { + get + { + return includeMediaInfo; + } + set + { + includeMediaInfo = value; + DictionaryUtil.Add(QueryParameters, "IncludeMediaInfo", value.ToString()); + } + } + + public override QueryMediaListByURLResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaListByURLResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLResponse.cs new file mode 100644 index 000000000..5acbe3751 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListByURLResponse.cs @@ -0,0 +1,1684 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaListByURLResponse : AcsResponse + { + + private string requestId; + + private List mediaList; + + private List nonExistFileURLs; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List MediaList + { + get + { + return mediaList; + } + set + { + mediaList = value; + } + } + + public List NonExistFileURLs + { + get + { + return nonExistFileURLs; + } + set + { + nonExistFileURLs = value; + } + } + + public class QueryMediaListByURL_Media + { + + private string creationTime; + + private long? cateId; + + private string height; + + private string censorState; + + private string bitrate; + + private string mediaId; + + private string publishState; + + private string description; + + private string size; + + private string width; + + private string coverURL; + + private string duration; + + private string fps; + + private string title; + + private string format; + + private List playList; + + private List summaryList; + + private List snapshotList; + + private List tags; + + private List runIdList; + + private QueryMediaListByURL_File file; + + private QueryMediaListByURL_MediaInfo mediaInfo; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CensorState + { + get + { + return censorState; + } + set + { + censorState = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string PublishState + { + get + { + return publishState; + } + set + { + publishState = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + } + } + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public List PlayList + { + get + { + return playList; + } + set + { + playList = value; + } + } + + public List SummaryList + { + get + { + return summaryList; + } + set + { + summaryList = value; + } + } + + public List SnapshotList + { + get + { + return snapshotList; + } + set + { + snapshotList = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public List RunIdList + { + get + { + return runIdList; + } + set + { + runIdList = value; + } + } + + public QueryMediaListByURL_File File + { + get + { + return file; + } + set + { + file = value; + } + } + + public QueryMediaListByURL_MediaInfo MediaInfo + { + get + { + return mediaInfo; + } + set + { + mediaInfo = value; + } + } + + public class QueryMediaListByURL_Play + { + + private string encryption; + + private string height; + + private string bitrate; + + private string mediaWorkflowId; + + private string width; + + private string size; + + private string fps; + + private string duration; + + private string activityName; + + private string format; + + private string mediaWorkflowName; + + private QueryMediaListByURL_File1 file1; + + public string Encryption + { + get + { + return encryption; + } + set + { + encryption = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string ActivityName + { + get + { + return activityName; + } + set + { + activityName = value; + } + } + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + } + } + + public QueryMediaListByURL_File1 File1 + { + get + { + return file1; + } + set + { + file1 = value; + } + } + + public class QueryMediaListByURL_File1 + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + + public class QueryMediaListByURL_Summary + { + + private string type; + + private string mediaWorkflowId; + + private string activityName; + + private string mediaWorkflowName; + + private QueryMediaListByURL_File2 file2; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string ActivityName + { + get + { + return activityName; + } + set + { + activityName = value; + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + } + } + + public QueryMediaListByURL_File2 File2 + { + get + { + return file2; + } + set + { + file2 = value; + } + } + + public class QueryMediaListByURL_File2 + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + + public class QueryMediaListByURL_Snapshot + { + + private string type; + + private string mediaWorkflowId; + + private string activityName; + + private string count; + + private string mediaWorkflowName; + + private QueryMediaListByURL_File3 file3; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string ActivityName + { + get + { + return activityName; + } + set + { + activityName = value; + } + } + + public string Count + { + get + { + return count; + } + set + { + count = value; + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + } + } + + public QueryMediaListByURL_File3 File3 + { + get + { + return file3; + } + set + { + file3 = value; + } + } + + public class QueryMediaListByURL_File3 + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + + public class QueryMediaListByURL_File + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + + public class QueryMediaListByURL_MediaInfo + { + + private QueryMediaListByURL_Streams streams; + + private QueryMediaListByURL_Format format; + + public QueryMediaListByURL_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public QueryMediaListByURL_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class QueryMediaListByURL_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class QueryMediaListByURL_VideoStream + { + + private string sar; + + private string height; + + private string codecTagString; + + private string width; + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string lang; + + private string codecLongName; + + private string numFrames; + + private string rotate; + + private string bitrate; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private QueryMediaListByURL_NetworkCost networkCost; + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public QueryMediaListByURL_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class QueryMediaListByURL_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class QueryMediaListByURL_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class QueryMediaListByURL_SubtitleStream + { + + private string index; + + private string lang; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + } + } + + public class QueryMediaListByURL_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListRequest.cs new file mode 100644 index 000000000..078f6f87b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaListRequest : RpcAcsRequest + { + public QueryMediaListRequest() + : base("Mts", "2014-06-18", "QueryMediaList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private bool? includeSummaryList; + + private string mediaIds; + + private bool? includePlayList; + + private string resourceOwnerAccount; + + private bool? includeSnapshotList; + + private string ownerAccount; + + private long? ownerId; + + private bool? includeMediaInfo; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public bool? IncludeSummaryList + { + get + { + return includeSummaryList; + } + set + { + includeSummaryList = value; + DictionaryUtil.Add(QueryParameters, "IncludeSummaryList", value.ToString()); + } + } + + public string MediaIds + { + get + { + return mediaIds; + } + set + { + mediaIds = value; + DictionaryUtil.Add(QueryParameters, "MediaIds", value); + } + } + + public bool? IncludePlayList + { + get + { + return includePlayList; + } + set + { + includePlayList = value; + DictionaryUtil.Add(QueryParameters, "IncludePlayList", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public bool? IncludeSnapshotList + { + get + { + return includeSnapshotList; + } + set + { + includeSnapshotList = value; + DictionaryUtil.Add(QueryParameters, "IncludeSnapshotList", value.ToString()); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public bool? IncludeMediaInfo + { + get + { + return includeMediaInfo; + } + set + { + includeMediaInfo = value; + DictionaryUtil.Add(QueryParameters, "IncludeMediaInfo", value.ToString()); + } + } + + public override QueryMediaListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListResponse.cs new file mode 100644 index 000000000..1ab0e6cae --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaListResponse.cs @@ -0,0 +1,1684 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaListResponse : AcsResponse + { + + private string requestId; + + private List mediaList; + + private List nonExistMediaIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List MediaList + { + get + { + return mediaList; + } + set + { + mediaList = value; + } + } + + public List NonExistMediaIds + { + get + { + return nonExistMediaIds; + } + set + { + nonExistMediaIds = value; + } + } + + public class QueryMediaList_Media + { + + private string creationTime; + + private long? cateId; + + private string height; + + private string censorState; + + private string bitrate; + + private string mediaId; + + private string publishState; + + private string description; + + private string size; + + private string width; + + private string coverURL; + + private string duration; + + private string fps; + + private string title; + + private string format; + + private List playList; + + private List summaryList; + + private List snapshotList; + + private List tags; + + private List runIdList; + + private QueryMediaList_File file; + + private QueryMediaList_MediaInfo mediaInfo; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CensorState + { + get + { + return censorState; + } + set + { + censorState = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string PublishState + { + get + { + return publishState; + } + set + { + publishState = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + } + } + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public List PlayList + { + get + { + return playList; + } + set + { + playList = value; + } + } + + public List SummaryList + { + get + { + return summaryList; + } + set + { + summaryList = value; + } + } + + public List SnapshotList + { + get + { + return snapshotList; + } + set + { + snapshotList = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public List RunIdList + { + get + { + return runIdList; + } + set + { + runIdList = value; + } + } + + public QueryMediaList_File File + { + get + { + return file; + } + set + { + file = value; + } + } + + public QueryMediaList_MediaInfo MediaInfo + { + get + { + return mediaInfo; + } + set + { + mediaInfo = value; + } + } + + public class QueryMediaList_Play + { + + private string encryption; + + private string height; + + private string bitrate; + + private string mediaWorkflowId; + + private string width; + + private string size; + + private string fps; + + private string duration; + + private string activityName; + + private string format; + + private string mediaWorkflowName; + + private QueryMediaList_File1 file1; + + public string Encryption + { + get + { + return encryption; + } + set + { + encryption = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string ActivityName + { + get + { + return activityName; + } + set + { + activityName = value; + } + } + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + } + } + + public QueryMediaList_File1 File1 + { + get + { + return file1; + } + set + { + file1 = value; + } + } + + public class QueryMediaList_File1 + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + + public class QueryMediaList_Summary + { + + private string type; + + private string mediaWorkflowId; + + private string activityName; + + private string mediaWorkflowName; + + private QueryMediaList_File2 file2; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string ActivityName + { + get + { + return activityName; + } + set + { + activityName = value; + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + } + } + + public QueryMediaList_File2 File2 + { + get + { + return file2; + } + set + { + file2 = value; + } + } + + public class QueryMediaList_File2 + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + + public class QueryMediaList_Snapshot + { + + private string type; + + private string mediaWorkflowId; + + private string activityName; + + private string count; + + private string mediaWorkflowName; + + private QueryMediaList_File3 file3; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string ActivityName + { + get + { + return activityName; + } + set + { + activityName = value; + } + } + + public string Count + { + get + { + return count; + } + set + { + count = value; + } + } + + public string MediaWorkflowName + { + get + { + return mediaWorkflowName; + } + set + { + mediaWorkflowName = value; + } + } + + public QueryMediaList_File3 File3 + { + get + { + return file3; + } + set + { + file3 = value; + } + } + + public class QueryMediaList_File3 + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + + public class QueryMediaList_File + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + + public class QueryMediaList_MediaInfo + { + + private QueryMediaList_Streams streams; + + private QueryMediaList_Format format; + + public QueryMediaList_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public QueryMediaList_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class QueryMediaList_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class QueryMediaList_VideoStream + { + + private string sar; + + private string height; + + private string codecTagString; + + private string width; + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string lang; + + private string codecLongName; + + private string numFrames; + + private string rotate; + + private string bitrate; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private QueryMediaList_NetworkCost networkCost; + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public QueryMediaList_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class QueryMediaList_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class QueryMediaList_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class QueryMediaList_SubtitleStream + { + + private string index; + + private string lang; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + } + } + + public class QueryMediaList_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListRequest.cs new file mode 100644 index 000000000..39ed839f3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaWorkflowExecutionListRequest : RpcAcsRequest + { + public QueryMediaWorkflowExecutionListRequest() + : base("Mts", "2014-06-18", "QueryMediaWorkflowExecutionList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string runIds; + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public string RunIds + { + get + { + return runIds; + } + set + { + runIds = value; + DictionaryUtil.Add(QueryParameters, "RunIds", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override QueryMediaWorkflowExecutionListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaWorkflowExecutionListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListResponse.cs new file mode 100644 index 000000000..5abc98604 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowExecutionListResponse.cs @@ -0,0 +1,440 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaWorkflowExecutionListResponse : AcsResponse + { + + private string requestId; + + private List mediaWorkflowExecutionList; + + private List nonExistRunIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List MediaWorkflowExecutionList + { + get + { + return mediaWorkflowExecutionList; + } + set + { + mediaWorkflowExecutionList = value; + } + } + + public List NonExistRunIds + { + get + { + return nonExistRunIds; + } + set + { + nonExistRunIds = value; + } + } + + public class QueryMediaWorkflowExecutionList_MediaWorkflowExecution + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string name; + + private string mediaId; + + private string runId; + + private List activityList; + + private QueryMediaWorkflowExecutionList_Input input; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string RunId + { + get + { + return runId; + } + set + { + runId = value; + } + } + + public List ActivityList + { + get + { + return activityList; + } + set + { + activityList = value; + } + } + + public QueryMediaWorkflowExecutionList_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public class QueryMediaWorkflowExecutionList_Activity + { + + private string endTime; + + private string type; + + private string startTime; + + private string state; + + private string jobId; + + private string code; + + private string message; + + private string name; + + private QueryMediaWorkflowExecutionList_MNSMessageResult mNSMessageResult; + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public QueryMediaWorkflowExecutionList_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public class QueryMediaWorkflowExecutionList_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + } + + public class QueryMediaWorkflowExecutionList_Input + { + + private string userData; + + private QueryMediaWorkflowExecutionList_InputFile inputFile; + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public QueryMediaWorkflowExecutionList_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class QueryMediaWorkflowExecutionList_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListRequest.cs new file mode 100644 index 000000000..d0ab5ce8b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaWorkflowListRequest : RpcAcsRequest + { + public QueryMediaWorkflowListRequest() + : base("Mts", "2014-06-18", "QueryMediaWorkflowList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string mediaWorkflowIds; + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public string MediaWorkflowIds + { + get + { + return mediaWorkflowIds; + } + set + { + mediaWorkflowIds = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowIds", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override QueryMediaWorkflowListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryMediaWorkflowListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListResponse.cs new file mode 100644 index 000000000..dbc8008cf --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryMediaWorkflowListResponse.cs @@ -0,0 +1,158 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryMediaWorkflowListResponse : AcsResponse + { + + private string requestId; + + private List mediaWorkflowList; + + private List nonExistMediaWorkflowIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List MediaWorkflowList + { + get + { + return mediaWorkflowList; + } + set + { + mediaWorkflowList = value; + } + } + + public List NonExistMediaWorkflowIds + { + get + { + return nonExistMediaWorkflowIds; + } + set + { + nonExistMediaWorkflowIds = value; + } + } + + public class QueryMediaWorkflowList_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string triggerMode; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListRequest.cs new file mode 100644 index 000000000..4d792b29a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryPipelineListRequest : RpcAcsRequest + { + public QueryPipelineListRequest() + : base("Mts", "2014-06-18", "QueryPipelineList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineIds + { + get + { + return pipelineIds; + } + set + { + pipelineIds = value; + DictionaryUtil.Add(QueryParameters, "PipelineIds", value); + } + } + + public override QueryPipelineListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryPipelineListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListResponse.cs new file mode 100644 index 000000000..63463363a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryPipelineListResponse.cs @@ -0,0 +1,306 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryPipelineListResponse : AcsResponse + { + + private string requestId; + + private List pipelineList; + + private List nonExistPids; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List PipelineList + { + get + { + return pipelineList; + } + set + { + pipelineList = value; + } + } + + public List NonExistPids + { + get + { + return nonExistPids; + } + set + { + nonExistPids = value; + } + } + + public class QueryPipelineList_Pipeline + { + + private string speed; + + private string state; + + private long? speedLevel; + + private string role; + + private string name; + + private string id; + + private long? quotaAllocate; + + private QueryPipelineList_NotifyConfig notifyConfig; + + private QueryPipelineList_ExtendConfig extendConfig; + + public string Speed + { + get + { + return speed; + } + set + { + speed = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public long? SpeedLevel + { + get + { + return speedLevel; + } + set + { + speedLevel = value; + } + } + + public string Role + { + get + { + return role; + } + set + { + role = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public long? QuotaAllocate + { + get + { + return quotaAllocate; + } + set + { + quotaAllocate = value; + } + } + + public QueryPipelineList_NotifyConfig NotifyConfig + { + get + { + return notifyConfig; + } + set + { + notifyConfig = value; + } + } + + public QueryPipelineList_ExtendConfig ExtendConfig + { + get + { + return extendConfig; + } + set + { + extendConfig = value; + } + } + + public class QueryPipelineList_NotifyConfig + { + + private string mqTopic; + + private string queueName; + + private string mqTag; + + private string topic; + + public string MqTopic + { + get + { + return mqTopic; + } + set + { + mqTopic = value; + } + } + + public string QueueName + { + get + { + return queueName; + } + set + { + queueName = value; + } + } + + public string MqTag + { + get + { + return mqTag; + } + set + { + mqTag = value; + } + } + + public string Topic + { + get + { + return topic; + } + set + { + topic = value; + } + } + } + + public class QueryPipelineList_ExtendConfig + { + + private bool? isBoostNew; + + private int? maxMultiSpeed; + + private string multiSpeedDowngradePolicy; + + public bool? IsBoostNew + { + get + { + return isBoostNew; + } + set + { + isBoostNew = value; + } + } + + public int? MaxMultiSpeed + { + get + { + return maxMultiSpeed; + } + set + { + maxMultiSpeed = value; + } + } + + public string MultiSpeedDowngradePolicy + { + get + { + return multiSpeedDowngradePolicy; + } + set + { + multiSpeedDowngradePolicy = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobRequest.cs new file mode 100644 index 000000000..7779e88b3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QuerySmarttagJobRequest : RpcAcsRequest + { + public QuerySmarttagJobRequest() + : base("Mts", "2014-06-18", "QuerySmarttagJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string jobId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string _params; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public override QuerySmarttagJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QuerySmarttagJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobResponse.cs new file mode 100644 index 000000000..5257a2bf3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagJobResponse.cs @@ -0,0 +1,116 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QuerySmarttagJobResponse : AcsResponse + { + + private string jobStatus; + + private string requestId; + + private string userData; + + private List results; + + public string JobStatus + { + get + { + return jobStatus; + } + set + { + jobStatus = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public List Results + { + get + { + return results; + } + set + { + results = value; + } + } + + public class QuerySmarttagJob_Result + { + + private string type; + + private string data; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Data + { + get + { + return data; + } + set + { + data = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListRequest.cs new file mode 100644 index 000000000..185a17a57 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QuerySmarttagTemplateListRequest : RpcAcsRequest + { + public QuerySmarttagTemplateListRequest() + : base("Mts", "2014-06-18", "QuerySmarttagTemplateList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string templateId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + DictionaryUtil.Add(QueryParameters, "TemplateId", value); + } + } + + public override QuerySmarttagTemplateListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QuerySmarttagTemplateListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListResponse.cs new file mode 100644 index 000000000..0490ba435 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySmarttagTemplateListResponse.cs @@ -0,0 +1,256 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QuerySmarttagTemplateListResponse : AcsResponse + { + + private string requestId; + + private List templates; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Templates + { + get + { + return templates; + } + set + { + templates = value; + } + } + + public class QuerySmarttagTemplateList_Template + { + + private string analyseTypes; + + private string industry; + + private bool? isDefault; + + private string templateName; + + private string templateId; + + private string faceCategoryIds; + + private string faceCustomParamsConfig; + + private string objectGroupIds; + + private string landmarkGroupIds; + + private string scene; + + private string labelType; + + private string labelVersion; + + private string knowledgeConfig; + + private string keywordConfig; + + public string AnalyseTypes + { + get + { + return analyseTypes; + } + set + { + analyseTypes = value; + } + } + + public string Industry + { + get + { + return industry; + } + set + { + industry = value; + } + } + + public bool? IsDefault + { + get + { + return isDefault; + } + set + { + isDefault = value; + } + } + + public string TemplateName + { + get + { + return templateName; + } + set + { + templateName = value; + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + } + } + + public string FaceCategoryIds + { + get + { + return faceCategoryIds; + } + set + { + faceCategoryIds = value; + } + } + + public string FaceCustomParamsConfig + { + get + { + return faceCustomParamsConfig; + } + set + { + faceCustomParamsConfig = value; + } + } + + public string ObjectGroupIds + { + get + { + return objectGroupIds; + } + set + { + objectGroupIds = value; + } + } + + public string LandmarkGroupIds + { + get + { + return landmarkGroupIds; + } + set + { + landmarkGroupIds = value; + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + } + } + + public string LabelType + { + get + { + return labelType; + } + set + { + labelType = value; + } + } + + public string LabelVersion + { + get + { + return labelVersion; + } + set + { + labelVersion = value; + } + } + + public string KnowledgeConfig + { + get + { + return knowledgeConfig; + } + set + { + knowledgeConfig = value; + } + } + + public string KeywordConfig + { + get + { + return keywordConfig; + } + set + { + keywordConfig = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListRequest.cs new file mode 100644 index 000000000..9770c1694 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListRequest.cs @@ -0,0 +1,213 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QuerySnapshotJobListRequest : RpcAcsRequest + { + public QuerySnapshotJobListRequest() + : base("Mts", "2014-06-18", "QuerySnapshotJobList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string nextPageToken; + + private string startOfJobCreatedTimeRange; + + private string state; + + private string endOfJobCreatedTimeRange; + + private string resourceOwnerAccount; + + private string snapshotJobIds; + + private string ownerAccount; + + private long? maximumPageSize; + + private long? ownerId; + + private string pipelineId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + DictionaryUtil.Add(QueryParameters, "NextPageToken", value); + } + } + + public string StartOfJobCreatedTimeRange + { + get + { + return startOfJobCreatedTimeRange; + } + set + { + startOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "StartOfJobCreatedTimeRange", value); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string EndOfJobCreatedTimeRange + { + get + { + return endOfJobCreatedTimeRange; + } + set + { + endOfJobCreatedTimeRange = value; + DictionaryUtil.Add(QueryParameters, "EndOfJobCreatedTimeRange", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string SnapshotJobIds + { + get + { + return snapshotJobIds; + } + set + { + snapshotJobIds = value; + DictionaryUtil.Add(QueryParameters, "SnapshotJobIds", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? MaximumPageSize + { + get + { + return maximumPageSize; + } + set + { + maximumPageSize = value; + DictionaryUtil.Add(QueryParameters, "MaximumPageSize", value.ToString()); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public override QuerySnapshotJobListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QuerySnapshotJobListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListResponse.cs new file mode 100644 index 000000000..309472806 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QuerySnapshotJobListResponse.cs @@ -0,0 +1,756 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QuerySnapshotJobListResponse : AcsResponse + { + + private string requestId; + + private string nextPageToken; + + private List snapshotJobList; + + private List nonExistSnapshotJobIds; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextPageToken + { + get + { + return nextPageToken; + } + set + { + nextPageToken = value; + } + } + + public List SnapshotJobList + { + get + { + return snapshotJobList; + } + set + { + snapshotJobList = value; + } + } + + public List NonExistSnapshotJobIds + { + get + { + return nonExistSnapshotJobIds; + } + set + { + nonExistSnapshotJobIds = value; + } + } + + public class QuerySnapshotJobList_SnapshotJob + { + + private string creationTime; + + private string state; + + private string message; + + private string count; + + private string tileCount; + + private string userData; + + private string code; + + private string pipelineId; + + private string id; + + private QuerySnapshotJobList_SnapshotConfig snapshotConfig; + + private QuerySnapshotJobList_MNSMessageResult mNSMessageResult; + + private QuerySnapshotJobList_Input input; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string Count + { + get + { + return count; + } + set + { + count = value; + } + } + + public string TileCount + { + get + { + return tileCount; + } + set + { + tileCount = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public QuerySnapshotJobList_SnapshotConfig SnapshotConfig + { + get + { + return snapshotConfig; + } + set + { + snapshotConfig = value; + } + } + + public QuerySnapshotJobList_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public QuerySnapshotJobList_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public class QuerySnapshotJobList_SnapshotConfig + { + + private string time; + + private string interval; + + private string frameType; + + private string width; + + private string height; + + private string num; + + private List timeArray; + + private QuerySnapshotJobList_TileOut tileOut; + + private QuerySnapshotJobList_OutputFile outputFile; + + private QuerySnapshotJobList_TileOutputFile tileOutputFile; + + public string Time + { + get + { + return time; + } + set + { + time = value; + } + } + + public string Interval + { + get + { + return interval; + } + set + { + interval = value; + } + } + + public string FrameType + { + get + { + return frameType; + } + set + { + frameType = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Num + { + get + { + return num; + } + set + { + num = value; + } + } + + public List TimeArray + { + get + { + return timeArray; + } + set + { + timeArray = value; + } + } + + public QuerySnapshotJobList_TileOut TileOut + { + get + { + return tileOut; + } + set + { + tileOut = value; + } + } + + public QuerySnapshotJobList_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public QuerySnapshotJobList_TileOutputFile TileOutputFile + { + get + { + return tileOutputFile; + } + set + { + tileOutputFile = value; + } + } + + public class QuerySnapshotJobList_TileOut + { + + private string padding; + + private string color; + + private string cellSelStep; + + private string cellHeight; + + private string cellWidth; + + private string margin; + + private string columns; + + private string isKeepCellPic; + + private string lines; + + public string Padding + { + get + { + return padding; + } + set + { + padding = value; + } + } + + public string Color + { + get + { + return color; + } + set + { + color = value; + } + } + + public string CellSelStep + { + get + { + return cellSelStep; + } + set + { + cellSelStep = value; + } + } + + public string CellHeight + { + get + { + return cellHeight; + } + set + { + cellHeight = value; + } + } + + public string CellWidth + { + get + { + return cellWidth; + } + set + { + cellWidth = value; + } + } + + public string Margin + { + get + { + return margin; + } + set + { + margin = value; + } + } + + public string Columns + { + get + { + return columns; + } + set + { + columns = value; + } + } + + public string IsKeepCellPic + { + get + { + return isKeepCellPic; + } + set + { + isKeepCellPic = value; + } + } + + public string Lines + { + get + { + return lines; + } + set + { + lines = value; + } + } + } + + public class QuerySnapshotJobList_OutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class QuerySnapshotJobList_TileOutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class QuerySnapshotJobList_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class QuerySnapshotJobList_Input + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListRequest.cs new file mode 100644 index 000000000..98b6593d1 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTemplateListRequest : RpcAcsRequest + { + public QueryTemplateListRequest() + : base("Mts", "2014-06-18", "QueryTemplateList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string templateIds; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string TemplateIds + { + get + { + return templateIds; + } + set + { + templateIds = value; + DictionaryUtil.Add(QueryParameters, "TemplateIds", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override QueryTemplateListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryTemplateListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListResponse.cs new file mode 100644 index 000000000..341a6205c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTemplateListResponse.cs @@ -0,0 +1,1186 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTemplateListResponse : AcsResponse + { + + private string requestId; + + private List templateList; + + private List nonExistTids; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List TemplateList + { + get + { + return templateList; + } + set + { + templateList = value; + } + } + + public List NonExistTids + { + get + { + return nonExistTids; + } + set + { + nonExistTids = value; + } + } + + public class QueryTemplateList_Template + { + + private string state; + + private string name; + + private string id; + + private string creationTime; + + private QueryTemplateList_Video video; + + private QueryTemplateList_TransConfig transConfig; + + private QueryTemplateList_MuxConfig muxConfig; + + private QueryTemplateList_Audio audio; + + private QueryTemplateList_Container container; + + private QueryTemplateList_FrontendHint frontendHint; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public QueryTemplateList_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public QueryTemplateList_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public QueryTemplateList_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public QueryTemplateList_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public QueryTemplateList_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public QueryTemplateList_FrontendHint FrontendHint + { + get + { + return frontendHint; + } + set + { + frontendHint = value; + } + } + + public class QueryTemplateList_Video + { + + private string bufsize; + + private string longShortMode; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string _remove; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private string hdr2sdr; + + private QueryTemplateList_BitrateBnd bitrateBnd; + + private QueryTemplateList_NarrowBand narrowBand; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string LongShortMode + { + get + { + return longShortMode; + } + set + { + longShortMode = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public string Hdr2sdr + { + get + { + return hdr2sdr; + } + set + { + hdr2sdr = value; + } + } + + public QueryTemplateList_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public QueryTemplateList_NarrowBand NarrowBand + { + get + { + return narrowBand; + } + set + { + narrowBand = value; + } + } + + public class QueryTemplateList_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + + public class QueryTemplateList_NarrowBand + { + + private string version; + + private float? abrmax; + + private float? maxAbrRatio; + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public float? Abrmax + { + get + { + return abrmax; + } + set + { + abrmax = value; + } + } + + public float? MaxAbrRatio + { + get + { + return maxAbrRatio; + } + set + { + maxAbrRatio = value; + } + } + } + } + + public class QueryTemplateList_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class QueryTemplateList_MuxConfig + { + + private QueryTemplateList_Webp webp; + + private QueryTemplateList_Gif gif; + + private QueryTemplateList_Segment segment; + + public QueryTemplateList_Webp Webp + { + get + { + return webp; + } + set + { + webp = value; + } + } + + public QueryTemplateList_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public QueryTemplateList_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class QueryTemplateList_Webp + { + + private string loop; + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class QueryTemplateList_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class QueryTemplateList_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class QueryTemplateList_Audio + { + + private string profile; + + private string _remove; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + private QueryTemplateList_Volume volume; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public QueryTemplateList_Volume Volume + { + get + { + return volume; + } + set + { + volume = value; + } + } + + public class QueryTemplateList_Volume + { + + private string method; + + private string truePeak; + + private string integratedLoudnessTarget; + + private string loudnessRangeTarget; + + private string level; + + private string peakLevel; + + public string Method + { + get + { + return method; + } + set + { + method = value; + } + } + + public string TruePeak + { + get + { + return truePeak; + } + set + { + truePeak = value; + } + } + + public string IntegratedLoudnessTarget + { + get + { + return integratedLoudnessTarget; + } + set + { + integratedLoudnessTarget = value; + } + } + + public string LoudnessRangeTarget + { + get + { + return loudnessRangeTarget; + } + set + { + loudnessRangeTarget = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string PeakLevel + { + get + { + return peakLevel; + } + set + { + peakLevel = value; + } + } + } + } + + public class QueryTemplateList_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + + public class QueryTemplateList_FrontendHint + { + + private string transcodeType; + + private string bitrateControlType; + + private string source; + + private bool? isDynamic; + + private bool? hasOldHdr2Sdr; + + public string TranscodeType + { + get + { + return transcodeType; + } + set + { + transcodeType = value; + } + } + + public string BitrateControlType + { + get + { + return bitrateControlType; + } + set + { + bitrateControlType = value; + } + } + + public string Source + { + get + { + return source; + } + set + { + source = value; + } + } + + public bool? IsDynamic + { + get + { + return isDynamic; + } + set + { + isDynamic = value; + } + } + + public bool? HasOldHdr2Sdr + { + get + { + return hasOldHdr2Sdr; + } + set + { + hasOldHdr2Sdr = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobRequest.cs new file mode 100644 index 000000000..3c9a94e02 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobRequest.cs @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTraceAbJobRequest : RpcAcsRequest + { + public QueryTraceAbJobRequest() + : base("Mts", "2014-06-18", "QueryTraceAbJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string mediaId; + + private string jobId; + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override QueryTraceAbJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryTraceAbJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobResponse.cs new file mode 100644 index 000000000..01ceb051f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceAbJobResponse.cs @@ -0,0 +1,256 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTraceAbJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private List data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public List Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class QueryTraceAbJob_DataItem + { + + private string callback; + + private long? gmtCreate; + + private long? gmtModified; + + private string input; + + private string jobId; + + private long? level; + + private string mediaId; + + private string output; + + private string status; + + private string userData; + + private long? userId; + + private string result; + + public string Callback + { + get + { + return callback; + } + set + { + callback = value; + } + } + + public long? GmtCreate + { + get + { + return gmtCreate; + } + set + { + gmtCreate = value; + } + } + + public long? GmtModified + { + get + { + return gmtModified; + } + set + { + gmtModified = value; + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public long? Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public long? UserId + { + get + { + return userId; + } + set + { + userId = value; + } + } + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobRequest.cs new file mode 100644 index 000000000..80f0ddb4c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobRequest.cs @@ -0,0 +1,68 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTraceExtractJobRequest : RpcAcsRequest + { + public QueryTraceExtractJobRequest() + : base("Mts", "2014-06-18", "QueryTraceExtractJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override QueryTraceExtractJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryTraceExtractJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobResponse.cs new file mode 100644 index 000000000..dfa860b25 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceExtractJobResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTraceExtractJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private QueryTraceExtractJob_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public QueryTraceExtractJob_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class QueryTraceExtractJob_Data + { + + private string trace; + + public string Trace + { + get + { + return trace; + } + set + { + trace = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobRequest.cs new file mode 100644 index 000000000..205316ace --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobRequest.cs @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTraceM3u8JobRequest : RpcAcsRequest + { + public QueryTraceM3u8JobRequest() + : base("Mts", "2014-06-18", "QueryTraceM3u8Job", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? pageNumber; + + private long? createTimeEnd; + + private string jobId; + + private long? pageSize; + + private long? createTimeStart; + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public long? CreateTimeEnd + { + get + { + return createTimeEnd; + } + set + { + createTimeEnd = value; + DictionaryUtil.Add(QueryParameters, "CreateTimeEnd", value.ToString()); + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public long? CreateTimeStart + { + get + { + return createTimeStart; + } + set + { + createTimeStart = value; + DictionaryUtil.Add(QueryParameters, "CreateTimeStart", value.ToString()); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override QueryTraceM3u8JobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryTraceM3u8JobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobResponse.cs new file mode 100644 index 000000000..fabf01efe --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryTraceM3u8JobResponse.cs @@ -0,0 +1,228 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryTraceM3u8JobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private List data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public List Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class QueryTraceM3u8Job_DataItem + { + + private long? gmtCreate; + + private long? gmtModified; + + private string mediaId; + + private string jobId; + + private string trace; + + private long? traceId; + + private string output; + + private string status; + + private string userData; + + private long? userId; + + public long? GmtCreate + { + get + { + return gmtCreate; + } + set + { + gmtCreate = value; + } + } + + public long? GmtModified + { + get + { + return gmtModified; + } + set + { + gmtModified = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Trace + { + get + { + return trace; + } + set + { + trace = value; + } + } + + public long? TraceId + { + get + { + return traceId; + } + set + { + traceId = value; + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public long? UserId + { + get + { + return userId; + } + set + { + userId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListRequest.cs new file mode 100644 index 000000000..ceaaed2d7 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryWaterMarkTemplateListRequest : RpcAcsRequest + { + public QueryWaterMarkTemplateListRequest() + : base("Mts", "2014-06-18", "QueryWaterMarkTemplateList", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string waterMarkTemplateIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string WaterMarkTemplateIds + { + get + { + return waterMarkTemplateIds; + } + set + { + waterMarkTemplateIds = value; + DictionaryUtil.Add(QueryParameters, "WaterMarkTemplateIds", value); + } + } + + public override QueryWaterMarkTemplateListResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return QueryWaterMarkTemplateListResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListResponse.cs new file mode 100644 index 000000000..77daabe7d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/QueryWaterMarkTemplateListResponse.cs @@ -0,0 +1,320 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class QueryWaterMarkTemplateListResponse : AcsResponse + { + + private string requestId; + + private List waterMarkTemplateList; + + private List nonExistWids; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List WaterMarkTemplateList + { + get + { + return waterMarkTemplateList; + } + set + { + waterMarkTemplateList = value; + } + } + + public List NonExistWids + { + get + { + return nonExistWids; + } + set + { + nonExistWids = value; + } + } + + public class QueryWaterMarkTemplateList_WaterMarkTemplate + { + + private string type; + + private string referPos; + + private string state; + + private string dx; + + private string width; + + private string height; + + private string name; + + private string dy; + + private string id; + + private QueryWaterMarkTemplateList_RatioRefer ratioRefer; + + private QueryWaterMarkTemplateList_Timeline timeline; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public QueryWaterMarkTemplateList_RatioRefer RatioRefer + { + get + { + return ratioRefer; + } + set + { + ratioRefer = value; + } + } + + public QueryWaterMarkTemplateList_Timeline Timeline + { + get + { + return timeline; + } + set + { + timeline = value; + } + } + + public class QueryWaterMarkTemplateList_RatioRefer + { + + private string dx; + + private string width; + + private string height; + + private string dy; + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + } + + public class QueryWaterMarkTemplateList_Timeline + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceRequest.cs new file mode 100644 index 000000000..caa8b1f79 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class RegisterCustomFaceRequest : RpcAcsRequest + { + public RegisterCustomFaceRequest() + : base("Mts", "2014-06-18", "RegisterCustomFace", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string personId; + + private string categoryId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string imageUrl; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string PersonId + { + get + { + return personId; + } + set + { + personId = value; + DictionaryUtil.Add(QueryParameters, "PersonId", value); + } + } + + public string CategoryId + { + get + { + return categoryId; + } + set + { + categoryId = value; + DictionaryUtil.Add(QueryParameters, "CategoryId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string ImageUrl + { + get + { + return imageUrl; + } + set + { + imageUrl = value; + DictionaryUtil.Add(QueryParameters, "ImageUrl", value); + } + } + + public override RegisterCustomFaceResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return RegisterCustomFaceResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceResponse.cs new file mode 100644 index 000000000..d57ed4986 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomFaceResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class RegisterCustomFaceResponse : AcsResponse + { + + private string faceId; + + private string requestId; + + public string FaceId + { + get + { + return faceId; + } + set + { + faceId = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewRequest.cs new file mode 100644 index 000000000..de2e795c1 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class RegisterCustomViewRequest : RpcAcsRequest + { + public RegisterCustomViewRequest() + : base("Mts", "2014-06-18", "RegisterCustomView", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string algorithm; + + private string customGroupId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string customEntityId; + + private long? ownerId; + + private string imageUrl; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Algorithm + { + get + { + return algorithm; + } + set + { + algorithm = value; + DictionaryUtil.Add(QueryParameters, "Algorithm", value); + } + } + + public string CustomGroupId + { + get + { + return customGroupId; + } + set + { + customGroupId = value; + DictionaryUtil.Add(QueryParameters, "CustomGroupId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string CustomEntityId + { + get + { + return customEntityId; + } + set + { + customEntityId = value; + DictionaryUtil.Add(QueryParameters, "CustomEntityId", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string ImageUrl + { + get + { + return imageUrl; + } + set + { + imageUrl = value; + DictionaryUtil.Add(QueryParameters, "ImageUrl", value); + } + } + + public override RegisterCustomViewResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return RegisterCustomViewResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewResponse.cs new file mode 100644 index 000000000..396dd8fdb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/RegisterCustomViewResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class RegisterCustomViewResponse : AcsResponse + { + + private string customViewId; + + private string requestId; + + public string CustomViewId + { + get + { + return customViewId; + } + set + { + customViewId = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowRequest.cs new file mode 100644 index 000000000..c160f5d30 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchMediaWorkflowRequest : RpcAcsRequest + { + public SearchMediaWorkflowRequest() + : base("Mts", "2014-06-18", "SearchMediaWorkflow", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private long? pageNumber; + + private long? pageSize; + + private string stateList; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string StateList + { + get + { + return stateList; + } + set + { + stateList = value; + DictionaryUtil.Add(QueryParameters, "StateList", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override SearchMediaWorkflowResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SearchMediaWorkflowResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowResponse.cs new file mode 100644 index 000000000..0647c2c2f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchMediaWorkflowResponse.cs @@ -0,0 +1,186 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchMediaWorkflowResponse : AcsResponse + { + + private long? totalCount; + + private long? pageSize; + + private string requestId; + + private long? pageNumber; + + private List mediaWorkflowList; + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public List MediaWorkflowList + { + get + { + return mediaWorkflowList; + } + set + { + mediaWorkflowList = value; + } + } + + public class SearchMediaWorkflow_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string triggerMode; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineRequest.cs new file mode 100644 index 000000000..de1562a01 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchPipelineRequest : RpcAcsRequest + { + public SearchPipelineRequest() + : base("Mts", "2014-06-18", "SearchPipeline", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private long? pageNumber; + + private long? pageSize; + + private string state; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override SearchPipelineResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SearchPipelineResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineResponse.cs new file mode 100644 index 000000000..1d911faa3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchPipelineResponse.cs @@ -0,0 +1,348 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchPipelineResponse : AcsResponse + { + + private long? totalCount; + + private long? pageSize; + + private string requestId; + + private long? pageNumber; + + private List pipelineList; + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public List PipelineList + { + get + { + return pipelineList; + } + set + { + pipelineList = value; + } + } + + public class SearchPipeline_Pipeline + { + + private string speed; + + private string state; + + private long? speedLevel; + + private string role; + + private string name; + + private string id; + + private long? quotaAllocate; + + private string creationTime; + + private SearchPipeline_NotifyConfig notifyConfig; + + private SearchPipeline_ExtendConfig extendConfig; + + public string Speed + { + get + { + return speed; + } + set + { + speed = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public long? SpeedLevel + { + get + { + return speedLevel; + } + set + { + speedLevel = value; + } + } + + public string Role + { + get + { + return role; + } + set + { + role = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public long? QuotaAllocate + { + get + { + return quotaAllocate; + } + set + { + quotaAllocate = value; + } + } + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public SearchPipeline_NotifyConfig NotifyConfig + { + get + { + return notifyConfig; + } + set + { + notifyConfig = value; + } + } + + public SearchPipeline_ExtendConfig ExtendConfig + { + get + { + return extendConfig; + } + set + { + extendConfig = value; + } + } + + public class SearchPipeline_NotifyConfig + { + + private string mqTopic; + + private string queueName; + + private string mqTag; + + private string topic; + + public string MqTopic + { + get + { + return mqTopic; + } + set + { + mqTopic = value; + } + } + + public string QueueName + { + get + { + return queueName; + } + set + { + queueName = value; + } + } + + public string MqTag + { + get + { + return mqTag; + } + set + { + mqTag = value; + } + } + + public string Topic + { + get + { + return topic; + } + set + { + topic = value; + } + } + } + + public class SearchPipeline_ExtendConfig + { + + private bool? isBoostNew; + + private int? maxMultiSpeed; + + private string multiSpeedDowngradePolicy; + + public bool? IsBoostNew + { + get + { + return isBoostNew; + } + set + { + isBoostNew = value; + } + } + + public int? MaxMultiSpeed + { + get + { + return maxMultiSpeed; + } + set + { + maxMultiSpeed = value; + } + } + + public string MultiSpeedDowngradePolicy + { + get + { + return multiSpeedDowngradePolicy; + } + set + { + multiSpeedDowngradePolicy = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateRequest.cs new file mode 100644 index 000000000..fb1c9d2dd --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchTemplateRequest : RpcAcsRequest + { + public SearchTemplateRequest() + : base("Mts", "2014-06-18", "SearchTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private long? pageNumber; + + private long? pageSize; + + private string state; + + private string namePrefix; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string NamePrefix + { + get + { + return namePrefix; + } + set + { + namePrefix = value; + DictionaryUtil.Add(QueryParameters, "NamePrefix", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override SearchTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SearchTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateResponse.cs new file mode 100644 index 000000000..fea5d6eb4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchTemplateResponse.cs @@ -0,0 +1,1080 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchTemplateResponse : AcsResponse + { + + private long? totalCount; + + private long? pageSize; + + private string requestId; + + private long? pageNumber; + + private List templateList; + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public List TemplateList + { + get + { + return templateList; + } + set + { + templateList = value; + } + } + + public class SearchTemplate_Template + { + + private string state; + + private string name; + + private string id; + + private string creationTime; + + private SearchTemplate_Video video; + + private SearchTemplate_TransConfig transConfig; + + private SearchTemplate_MuxConfig muxConfig; + + private SearchTemplate_Audio audio; + + private SearchTemplate_Container container; + + private SearchTemplate_FrontendHint frontendHint; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public SearchTemplate_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public SearchTemplate_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public SearchTemplate_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public SearchTemplate_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public SearchTemplate_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public SearchTemplate_FrontendHint FrontendHint + { + get + { + return frontendHint; + } + set + { + frontendHint = value; + } + } + + public class SearchTemplate_Video + { + + private string bufsize; + + private string longShortMode; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string _remove; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private string hdr2sdr; + + private SearchTemplate_BitrateBnd bitrateBnd; + + private SearchTemplate_NarrowBand narrowBand; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string LongShortMode + { + get + { + return longShortMode; + } + set + { + longShortMode = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public string Hdr2sdr + { + get + { + return hdr2sdr; + } + set + { + hdr2sdr = value; + } + } + + public SearchTemplate_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public SearchTemplate_NarrowBand NarrowBand + { + get + { + return narrowBand; + } + set + { + narrowBand = value; + } + } + + public class SearchTemplate_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + + public class SearchTemplate_NarrowBand + { + + private float? abrmax; + + private float? maxAbrRatio; + + private string version; + + public float? Abrmax + { + get + { + return abrmax; + } + set + { + abrmax = value; + } + } + + public float? MaxAbrRatio + { + get + { + return maxAbrRatio; + } + set + { + maxAbrRatio = value; + } + } + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + } + } + + public class SearchTemplate_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class SearchTemplate_MuxConfig + { + + private SearchTemplate_Gif gif; + + private SearchTemplate_Segment segment; + + public SearchTemplate_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public SearchTemplate_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class SearchTemplate_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class SearchTemplate_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class SearchTemplate_Audio + { + + private string profile; + + private string _remove; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + } + + public class SearchTemplate_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + + public class SearchTemplate_FrontendHint + { + + private string transcodeType; + + private string bitrateControlType; + + private string source; + + private bool? isDynamic; + + private bool? hasOldHdr2Sdr; + + public string TranscodeType + { + get + { + return transcodeType; + } + set + { + transcodeType = value; + } + } + + public string BitrateControlType + { + get + { + return bitrateControlType; + } + set + { + bitrateControlType = value; + } + } + + public string Source + { + get + { + return source; + } + set + { + source = value; + } + } + + public bool? IsDynamic + { + get + { + return isDynamic; + } + set + { + isDynamic = value; + } + } + + public bool? HasOldHdr2Sdr + { + get + { + return hasOldHdr2Sdr; + } + set + { + hasOldHdr2Sdr = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateRequest.cs new file mode 100644 index 000000000..1ece90054 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchWaterMarkTemplateRequest : RpcAcsRequest + { + public SearchWaterMarkTemplateRequest() + : base("Mts", "2014-06-18", "SearchWaterMarkTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private long? pageNumber; + + private long? pageSize; + + private string state; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override SearchWaterMarkTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SearchWaterMarkTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateResponse.cs new file mode 100644 index 000000000..7d01b9ff7 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SearchWaterMarkTemplateResponse.cs @@ -0,0 +1,348 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SearchWaterMarkTemplateResponse : AcsResponse + { + + private long? totalCount; + + private long? pageSize; + + private string requestId; + + private long? pageNumber; + + private List waterMarkTemplateList; + + public long? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public long? PageSize + { + get + { + return pageSize; + } + set + { + pageSize = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public long? PageNumber + { + get + { + return pageNumber; + } + set + { + pageNumber = value; + } + } + + public List WaterMarkTemplateList + { + get + { + return waterMarkTemplateList; + } + set + { + waterMarkTemplateList = value; + } + } + + public class SearchWaterMarkTemplate_WaterMarkTemplate + { + + private string type; + + private string referPos; + + private string state; + + private string dx; + + private string width; + + private string height; + + private string name; + + private string dy; + + private string id; + + private SearchWaterMarkTemplate_RatioRefer ratioRefer; + + private SearchWaterMarkTemplate_Timeline timeline; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public SearchWaterMarkTemplate_RatioRefer RatioRefer + { + get + { + return ratioRefer; + } + set + { + ratioRefer = value; + } + } + + public SearchWaterMarkTemplate_Timeline Timeline + { + get + { + return timeline; + } + set + { + timeline = value; + } + } + + public class SearchWaterMarkTemplate_RatioRefer + { + + private string dx; + + private string width; + + private string height; + + private string dy; + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + } + + public class SearchWaterMarkTemplate_Timeline + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobRequest.cs new file mode 100644 index 000000000..62b5ca03b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitAnalysisJobRequest : RpcAcsRequest + { + public SubmitAnalysisJobRequest() + : base("Mts", "2014-06-18", "SubmitAnalysisJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string analysisConfig; + + private string userData; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string priority; + + private string pipelineId; + + private string input; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string AnalysisConfig + { + get + { + return analysisConfig; + } + set + { + analysisConfig = value; + DictionaryUtil.Add(QueryParameters, "AnalysisConfig", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + DictionaryUtil.Add(QueryParameters, "Priority", value); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public override SubmitAnalysisJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitAnalysisJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobResponse.cs new file mode 100644 index 000000000..3a04c1c68 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitAnalysisJobResponse.cs @@ -0,0 +1,1086 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitAnalysisJobResponse : AcsResponse + { + + private string requestId; + + private SubmitAnalysisJob_AnalysisJob analysisJob; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public SubmitAnalysisJob_AnalysisJob AnalysisJob + { + get + { + return analysisJob; + } + set + { + analysisJob = value; + } + } + + public class SubmitAnalysisJob_AnalysisJob + { + + private string creationTime; + + private long? percent; + + private string state; + + private string message; + + private string priority; + + private string userData; + + private string code; + + private string pipelineId; + + private string id; + + private List templateList; + + private SubmitAnalysisJob_AnalysisConfig analysisConfig; + + private SubmitAnalysisJob_MNSMessageResult mNSMessageResult; + + private SubmitAnalysisJob_InputFile inputFile; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public List TemplateList + { + get + { + return templateList; + } + set + { + templateList = value; + } + } + + public SubmitAnalysisJob_AnalysisConfig AnalysisConfig + { + get + { + return analysisConfig; + } + set + { + analysisConfig = value; + } + } + + public SubmitAnalysisJob_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public SubmitAnalysisJob_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class SubmitAnalysisJob_Template + { + + private string state; + + private string name; + + private string id; + + private SubmitAnalysisJob_Video video; + + private SubmitAnalysisJob_TransConfig transConfig; + + private SubmitAnalysisJob_MuxConfig muxConfig; + + private SubmitAnalysisJob_Audio audio; + + private SubmitAnalysisJob_Container container; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public SubmitAnalysisJob_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public SubmitAnalysisJob_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public SubmitAnalysisJob_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public SubmitAnalysisJob_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public SubmitAnalysisJob_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public class SubmitAnalysisJob_Video + { + + private string bufsize; + + private string degrain; + + private string pixFmt; + + private string codec; + + private string height; + + private string qscale; + + private string bitrate; + + private string maxrate; + + private string profile; + + private string crf; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private SubmitAnalysisJob_BitrateBnd bitrateBnd; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public SubmitAnalysisJob_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public class SubmitAnalysisJob_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + } + + public class SubmitAnalysisJob_TransConfig + { + + private string transMode; + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + } + + public class SubmitAnalysisJob_MuxConfig + { + + private SubmitAnalysisJob_Gif gif; + + private SubmitAnalysisJob_Segment segment; + + public SubmitAnalysisJob_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public SubmitAnalysisJob_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class SubmitAnalysisJob_Gif + { + + private string finalDelay; + + private string loop; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class SubmitAnalysisJob_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class SubmitAnalysisJob_Audio + { + + private string profile; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + } + + public class SubmitAnalysisJob_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + } + + public class SubmitAnalysisJob_AnalysisConfig + { + + private SubmitAnalysisJob_QualityControl qualityControl; + + private SubmitAnalysisJob_PropertiesControl propertiesControl; + + public SubmitAnalysisJob_QualityControl QualityControl + { + get + { + return qualityControl; + } + set + { + qualityControl = value; + } + } + + public SubmitAnalysisJob_PropertiesControl PropertiesControl + { + get + { + return propertiesControl; + } + set + { + propertiesControl = value; + } + } + + public class SubmitAnalysisJob_QualityControl + { + + private string methodStreaming; + + private string rateQuality; + + public string MethodStreaming + { + get + { + return methodStreaming; + } + set + { + methodStreaming = value; + } + } + + public string RateQuality + { + get + { + return rateQuality; + } + set + { + rateQuality = value; + } + } + } + + public class SubmitAnalysisJob_PropertiesControl + { + + private string deinterlace; + + private SubmitAnalysisJob_Crop crop; + + public string Deinterlace + { + get + { + return deinterlace; + } + set + { + deinterlace = value; + } + } + + public SubmitAnalysisJob_Crop Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public class SubmitAnalysisJob_Crop + { + + private string top; + + private string width; + + private string height; + + private string left; + + private string mode; + + public string Top + { + get + { + return top; + } + set + { + top = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Left + { + get + { + return left; + } + set + { + left = value; + } + } + + public string Mode + { + get + { + return mode; + } + set + { + mode = value; + } + } + } + } + } + + public class SubmitAnalysisJob_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class SubmitAnalysisJob_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobRequest.cs new file mode 100644 index 000000000..fd2075de9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobRequest.cs @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitCopyrightExtractJobRequest : RpcAcsRequest + { + public SubmitCopyrightExtractJobRequest() + : base("Mts", "2014-06-18", "SubmitCopyrightExtractJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string _params; + + private string url; + + private string input; + + private string userData; + + private string callBack; + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string Url + { + get + { + return url; + } + set + { + url = value; + DictionaryUtil.Add(QueryParameters, "Url", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string CallBack + { + get + { + return callBack; + } + set + { + callBack = value; + DictionaryUtil.Add(QueryParameters, "CallBack", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SubmitCopyrightExtractJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitCopyrightExtractJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobResponse.cs new file mode 100644 index 000000000..394815487 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightExtractJobResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitCopyrightExtractJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private SubmitCopyrightExtractJob_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public SubmitCopyrightExtractJob_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class SubmitCopyrightExtractJob_Data + { + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobRequest.cs new file mode 100644 index 000000000..54c242632 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobRequest.cs @@ -0,0 +1,218 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitCopyrightJobRequest : RpcAcsRequest + { + public SubmitCopyrightJobRequest() + : base("Mts", "2014-06-18", "SubmitCopyrightJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string description; + + private string startTime; + + private string output; + + private string userData; + + private long? level; + + private string message; + + private string _params; + + private string url; + + private string input; + + private string totalTime; + + private string callBack; + + public string Description + { + get + { + return description; + } + set + { + description = value; + DictionaryUtil.Add(QueryParameters, "Description", value); + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + DictionaryUtil.Add(QueryParameters, "StartTime", value); + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + DictionaryUtil.Add(QueryParameters, "Output", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public long? Level + { + get + { + return level; + } + set + { + level = value; + DictionaryUtil.Add(QueryParameters, "Level", value.ToString()); + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + DictionaryUtil.Add(QueryParameters, "Message", value); + } + } + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string Url + { + get + { + return url; + } + set + { + url = value; + DictionaryUtil.Add(QueryParameters, "Url", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string TotalTime + { + get + { + return totalTime; + } + set + { + totalTime = value; + DictionaryUtil.Add(QueryParameters, "TotalTime", value); + } + } + + public string CallBack + { + get + { + return callBack; + } + set + { + callBack = value; + DictionaryUtil.Add(QueryParameters, "CallBack", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SubmitCopyrightJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitCopyrightJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobResponse.cs new file mode 100644 index 000000000..dd8a4a4f5 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitCopyrightJobResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitCopyrightJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private SubmitCopyrightJob_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public SubmitCopyrightJob_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class SubmitCopyrightJob_Data + { + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobRequest.cs new file mode 100644 index 000000000..b1a89d607 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitFpDBDeleteJobRequest : RpcAcsRequest + { + public SubmitFpDBDeleteJobRequest() + : base("Mts", "2014-06-18", "SubmitFpDBDeleteJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string fpDBId; + + private string userData; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string delType; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + DictionaryUtil.Add(QueryParameters, "FpDBId", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string DelType + { + get + { + return delType; + } + set + { + delType = value; + DictionaryUtil.Add(QueryParameters, "DelType", value); + } + } + + public override SubmitFpDBDeleteJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitFpDBDeleteJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobResponse.cs new file mode 100644 index 000000000..af7d954be --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpDBDeleteJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitFpDBDeleteJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobRequest.cs new file mode 100644 index 000000000..f3de3d3ba --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitFpFileDeleteJobRequest : RpcAcsRequest + { + public SubmitFpFileDeleteJobRequest() + : base("Mts", "2014-06-18", "SubmitFpFileDeleteJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string fpDBId; + + private string userData; + + private string primaryKeys; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string fileIds; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string FpDBId + { + get + { + return fpDBId; + } + set + { + fpDBId = value; + DictionaryUtil.Add(QueryParameters, "FpDBId", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string PrimaryKeys + { + get + { + return primaryKeys; + } + set + { + primaryKeys = value; + DictionaryUtil.Add(QueryParameters, "PrimaryKeys", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string FileIds + { + get + { + return fileIds; + } + set + { + fileIds = value; + DictionaryUtil.Add(QueryParameters, "FileIds", value); + } + } + + public override SubmitFpFileDeleteJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitFpFileDeleteJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobResponse.cs new file mode 100644 index 000000000..a2dbc40c9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpFileDeleteJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitFpFileDeleteJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobRequest.cs new file mode 100644 index 000000000..43d4bcff2 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitFpShotJobRequest : RpcAcsRequest + { + public SubmitFpShotJobRequest() + : base("Mts", "2014-06-18", "SubmitFpShotJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string userData; + + private string fpShotConfig; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string FpShotConfig + { + get + { + return fpShotConfig; + } + set + { + fpShotConfig = value; + DictionaryUtil.Add(QueryParameters, "FpShotConfig", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public override SubmitFpShotJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitFpShotJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobResponse.cs new file mode 100644 index 000000000..37dd8598e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitFpShotJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitFpShotJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobRequest.cs new file mode 100644 index 000000000..be9f45a02 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobRequest.cs @@ -0,0 +1,243 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitIProductionJobRequest : RpcAcsRequest + { + public SubmitIProductionJobRequest() + : base("Mts", "2014-06-18", "SubmitIProductionJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string jobParams; + + private string output; + + private string userData; + + private string functionName; + + private string notifyUrl; + + private string resourceOwnerAccount; + + private string modelId; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + private string scheduleParams; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string JobParams + { + get + { + return jobParams; + } + set + { + jobParams = value; + DictionaryUtil.Add(QueryParameters, "JobParams", value); + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + DictionaryUtil.Add(QueryParameters, "Output", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string FunctionName + { + get + { + return functionName; + } + set + { + functionName = value; + DictionaryUtil.Add(QueryParameters, "FunctionName", value); + } + } + + public string NotifyUrl + { + get + { + return notifyUrl; + } + set + { + notifyUrl = value; + DictionaryUtil.Add(QueryParameters, "NotifyUrl", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + DictionaryUtil.Add(QueryParameters, "ModelId", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string ScheduleParams + { + get + { + return scheduleParams; + } + set + { + scheduleParams = value; + DictionaryUtil.Add(QueryParameters, "ScheduleParams", value); + } + } + + public override SubmitIProductionJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitIProductionJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobResponse.cs new file mode 100644 index 000000000..3e305be11 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitIProductionJobResponse.cs @@ -0,0 +1,70 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitIProductionJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + private string result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightRequest.cs new file mode 100644 index 000000000..b3aa53930 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightRequest.cs @@ -0,0 +1,98 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitImageCopyrightRequest : RpcAcsRequest + { + public SubmitImageCopyrightRequest() + : base("Mts", "2014-06-18", "SubmitImageCopyright", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string message; + + private string _params; + + private string output; + + public string Message + { + get + { + return message; + } + set + { + message = value; + DictionaryUtil.Add(QueryParameters, "Message", value); + } + } + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + DictionaryUtil.Add(QueryParameters, "Output", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SubmitImageCopyrightResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitImageCopyrightResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightResponse.cs new file mode 100644 index 000000000..60c69c5ad --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitImageCopyrightResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitImageCopyrightResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private SubmitImageCopyright_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public SubmitImageCopyright_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class SubmitImageCopyright_Data + { + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsRequest.cs new file mode 100644 index 000000000..f85b1e9cc --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsRequest.cs @@ -0,0 +1,183 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitJobsRequest : RpcAcsRequest + { + public SubmitJobsRequest() + : base("Mts", "2014-06-18", "SubmitJobs", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string outputs; + + private long? resourceOwnerId; + + private string outputLocation; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + private string outputBucket; + + public string Outputs + { + get + { + return outputs; + } + set + { + outputs = value; + DictionaryUtil.Add(QueryParameters, "Outputs", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string OutputLocation + { + get + { + return outputLocation; + } + set + { + outputLocation = value; + DictionaryUtil.Add(QueryParameters, "OutputLocation", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string OutputBucket + { + get + { + return outputBucket; + } + set + { + outputBucket = value; + DictionaryUtil.Add(QueryParameters, "OutputBucket", value); + } + } + + public override SubmitJobsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitJobsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsResponse.cs new file mode 100644 index 000000000..689510360 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitJobsResponse.cs @@ -0,0 +1,3490 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitJobsResponse : AcsResponse + { + + private string requestId; + + private List jobResultList; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List JobResultList + { + get + { + return jobResultList; + } + set + { + jobResultList = value; + } + } + + public class SubmitJobs_JobResult + { + + private bool? success; + + private string code; + + private string message; + + private SubmitJobs_Job job; + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public SubmitJobs_Job Job + { + get + { + return job; + } + set + { + job = value; + } + } + + public class SubmitJobs_Job + { + + private string creationTime; + + private long? percent; + + private string finishTime; + + private string state; + + private string jobId; + + private string code; + + private string message; + + private string pipelineId; + + private SubmitJobs_Output output; + + private SubmitJobs_Input input; + + private SubmitJobs_MNSMessageResult mNSMessageResult; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? Percent + { + get + { + return percent; + } + set + { + percent = value; + } + } + + public string FinishTime + { + get + { + return finishTime; + } + set + { + finishTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public SubmitJobs_Output Output + { + get + { + return output; + } + set + { + output = value; + } + } + + public SubmitJobs_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public SubmitJobs_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public class SubmitJobs_Output + { + + private string waterMarkConfigUrl; + + private string deWatermark; + + private string priority; + + private string audioStreamMap; + + private string userData; + + private string videoStreamMap; + + private string rotate; + + private string mergeConfigUrl; + + private string templateId; + + private List waterMarkList; + + private List mergeList; + + private List outSubtitleList; + + private List amixList; + + private List openingList; + + private List tailSlateList; + + private SubmitJobs_Video video; + + private SubmitJobs_TransConfig transConfig; + + private SubmitJobs_Encryption encryption; + + private SubmitJobs_M3U8NonStandardSupport m3U8NonStandardSupport; + + private SubmitJobs_Audio audio; + + private SubmitJobs_SuperReso superReso; + + private SubmitJobs_DigiWaterMark digiWaterMark; + + private SubmitJobs_OutputFile outputFile; + + private SubmitJobs_Container container; + + private SubmitJobs_Clip clip; + + private SubmitJobs_MuxConfig muxConfig; + + private SubmitJobs_SubtitleConfig subtitleConfig; + + private SubmitJobs_Properties properties; + + public string WaterMarkConfigUrl + { + get + { + return waterMarkConfigUrl; + } + set + { + waterMarkConfigUrl = value; + } + } + + public string DeWatermark + { + get + { + return deWatermark; + } + set + { + deWatermark = value; + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + } + } + + public string AudioStreamMap + { + get + { + return audioStreamMap; + } + set + { + audioStreamMap = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string VideoStreamMap + { + get + { + return videoStreamMap; + } + set + { + videoStreamMap = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string MergeConfigUrl + { + get + { + return mergeConfigUrl; + } + set + { + mergeConfigUrl = value; + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + } + } + + public List WaterMarkList + { + get + { + return waterMarkList; + } + set + { + waterMarkList = value; + } + } + + public List MergeList + { + get + { + return mergeList; + } + set + { + mergeList = value; + } + } + + public List OutSubtitleList + { + get + { + return outSubtitleList; + } + set + { + outSubtitleList = value; + } + } + + public List AmixList + { + get + { + return amixList; + } + set + { + amixList = value; + } + } + + public List OpeningList + { + get + { + return openingList; + } + set + { + openingList = value; + } + } + + public List TailSlateList + { + get + { + return tailSlateList; + } + set + { + tailSlateList = value; + } + } + + public SubmitJobs_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public SubmitJobs_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public SubmitJobs_Encryption Encryption + { + get + { + return encryption; + } + set + { + encryption = value; + } + } + + public SubmitJobs_M3U8NonStandardSupport M3U8NonStandardSupport + { + get + { + return m3U8NonStandardSupport; + } + set + { + m3U8NonStandardSupport = value; + } + } + + public SubmitJobs_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public SubmitJobs_SuperReso SuperReso + { + get + { + return superReso; + } + set + { + superReso = value; + } + } + + public SubmitJobs_DigiWaterMark DigiWaterMark + { + get + { + return digiWaterMark; + } + set + { + digiWaterMark = value; + } + } + + public SubmitJobs_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public SubmitJobs_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public SubmitJobs_Clip Clip + { + get + { + return clip; + } + set + { + clip = value; + } + } + + public SubmitJobs_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public SubmitJobs_SubtitleConfig SubtitleConfig + { + get + { + return subtitleConfig; + } + set + { + subtitleConfig = value; + } + } + + public SubmitJobs_Properties Properties + { + get + { + return properties; + } + set + { + properties = value; + } + } + + public class SubmitJobs_WaterMark + { + + private string type; + + private string referPos; + + private string dx; + + private string width; + + private string height; + + private string waterMarkTemplateId; + + private string dy; + + private SubmitJobs_InputFile inputFile; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string WaterMarkTemplateId + { + get + { + return waterMarkTemplateId; + } + set + { + waterMarkTemplateId = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public SubmitJobs_InputFile InputFile + { + get + { + return inputFile; + } + set + { + inputFile = value; + } + } + + public class SubmitJobs_InputFile + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class SubmitJobs_Merge + { + + private string start; + + private string roleArn; + + private string mergeURL; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string MergeURL + { + get + { + return mergeURL; + } + set + { + mergeURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + + public class SubmitJobs_OutSubtitle + { + + private string map; + + private bool? success; + + private string message; + + private SubmitJobs_OutSubtitleFile outSubtitleFile; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + + public bool? Success + { + get + { + return success; + } + set + { + success = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public SubmitJobs_OutSubtitleFile OutSubtitleFile + { + get + { + return outSubtitleFile; + } + set + { + outSubtitleFile = value; + } + } + + public class SubmitJobs_OutSubtitleFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class SubmitJobs_Amix + { + + private string map; + + private string start; + + private string amixURL; + + private string duration; + + private string mixDurMode; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string AmixURL + { + get + { + return amixURL; + } + set + { + amixURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string MixDurMode + { + get + { + return mixDurMode; + } + set + { + mixDurMode = value; + } + } + } + + public class SubmitJobs_Opening + { + + private string openUrl; + + private string start; + + private string width; + + private string height; + + public string OpenUrl + { + get + { + return openUrl; + } + set + { + openUrl = value; + } + } + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + } + + public class SubmitJobs_TailSlate + { + + private string start; + + private string bgColor; + + private bool? isMergeAudio; + + private string width; + + private string height; + + private string blendDuration; + + private string tailUrl; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string BgColor + { + get + { + return bgColor; + } + set + { + bgColor = value; + } + } + + public bool? IsMergeAudio + { + get + { + return isMergeAudio; + } + set + { + isMergeAudio = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string BlendDuration + { + get + { + return blendDuration; + } + set + { + blendDuration = value; + } + } + + public string TailUrl + { + get + { + return tailUrl; + } + set + { + tailUrl = value; + } + } + } + + public class SubmitJobs_Video + { + + private string bufsize; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private SubmitJobs_BitrateBnd bitrateBnd; + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public SubmitJobs_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public class SubmitJobs_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + } + + public class SubmitJobs_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class SubmitJobs_Encryption + { + + private string type; + + private string key; + + private string keyType; + + private string id; + + private string keyUri; + + private string skipCnt; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Key + { + get + { + return key; + } + set + { + key = value; + } + } + + public string KeyType + { + get + { + return keyType; + } + set + { + keyType = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string KeyUri + { + get + { + return keyUri; + } + set + { + keyUri = value; + } + } + + public string SkipCnt + { + get + { + return skipCnt; + } + set + { + skipCnt = value; + } + } + } + + public class SubmitJobs_M3U8NonStandardSupport + { + + private SubmitJobs_TS tS; + + public SubmitJobs_TS TS + { + get + { + return tS; + } + set + { + tS = value; + } + } + + public class SubmitJobs_TS + { + + private bool? sizeSupport; + + private bool? md5Support; + + public bool? SizeSupport + { + get + { + return sizeSupport; + } + set + { + sizeSupport = value; + } + } + + public bool? Md5Support + { + get + { + return md5Support; + } + set + { + md5Support = value; + } + } + } + } + + public class SubmitJobs_Audio + { + + private string profile; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + private SubmitJobs_Volume volume; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public SubmitJobs_Volume Volume + { + get + { + return volume; + } + set + { + volume = value; + } + } + + public class SubmitJobs_Volume + { + + private string method; + + private string level; + + public string Method + { + get + { + return method; + } + set + { + method = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + } + } + + public class SubmitJobs_SuperReso + { + + private string isHalfSample; + + public string IsHalfSample + { + get + { + return isHalfSample; + } + set + { + isHalfSample = value; + } + } + } + + public class SubmitJobs_DigiWaterMark + { + + private string type; + + private string alpha; + + private SubmitJobs_InputFile1 inputFile1; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string Alpha + { + get + { + return alpha; + } + set + { + alpha = value; + } + } + + public SubmitJobs_InputFile1 InputFile1 + { + get + { + return inputFile1; + } + set + { + inputFile1 = value; + } + } + + public class SubmitJobs_InputFile1 + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class SubmitJobs_OutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class SubmitJobs_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + + public class SubmitJobs_Clip + { + + private SubmitJobs_TimeSpan timeSpan; + + public SubmitJobs_TimeSpan TimeSpan + { + get + { + return timeSpan; + } + set + { + timeSpan = value; + } + } + + public class SubmitJobs_TimeSpan + { + + private string seek; + + private string duration; + + public string Seek + { + get + { + return seek; + } + set + { + seek = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class SubmitJobs_MuxConfig + { + + private SubmitJobs_Webp webp; + + private SubmitJobs_Gif gif; + + private SubmitJobs_Segment segment; + + public SubmitJobs_Webp Webp + { + get + { + return webp; + } + set + { + webp = value; + } + } + + public SubmitJobs_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public SubmitJobs_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class SubmitJobs_Webp + { + + private string loop; + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class SubmitJobs_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class SubmitJobs_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class SubmitJobs_SubtitleConfig + { + + private List extSubtitleList; + + private List subtitleList; + + public List ExtSubtitleList + { + get + { + return extSubtitleList; + } + set + { + extSubtitleList = value; + } + } + + public List SubtitleList + { + get + { + return subtitleList; + } + set + { + subtitleList = value; + } + } + + public class SubmitJobs_ExtSubtitle + { + + private string charEnc; + + private string fontName; + + private SubmitJobs_Input2 input2; + + public string CharEnc + { + get + { + return charEnc; + } + set + { + charEnc = value; + } + } + + public string FontName + { + get + { + return fontName; + } + set + { + fontName = value; + } + } + + public SubmitJobs_Input2 Input2 + { + get + { + return input2; + } + set + { + input2 = value; + } + } + + public class SubmitJobs_Input2 + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class SubmitJobs_Subtitle + { + + private string map; + + public string Map + { + get + { + return map; + } + set + { + map = value; + } + } + } + } + + public class SubmitJobs_Properties + { + + private string width; + + private string height; + + private string duration; + + private string fps; + + private string bitrate; + + private string fileFormat; + + private string fileSize; + + private SubmitJobs_Streams streams; + + private SubmitJobs_Format format; + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FileFormat + { + get + { + return fileFormat; + } + set + { + fileFormat = value; + } + } + + public string FileSize + { + get + { + return fileSize; + } + set + { + fileSize = value; + } + } + + public SubmitJobs_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public SubmitJobs_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class SubmitJobs_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class SubmitJobs_VideoStream + { + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string sar; + + private string lang; + + private string codecLongName; + + private string height; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string width; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private SubmitJobs_NetworkCost networkCost; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public SubmitJobs_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class SubmitJobs_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class SubmitJobs_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class SubmitJobs_SubtitleStream + { + + private string index; + + private string lang; + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + } + } + + public class SubmitJobs_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + } + + public class SubmitJobs_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class SubmitJobs_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobRequest.cs new file mode 100644 index 000000000..88486bb99 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobRequest.cs @@ -0,0 +1,243 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitMediaCensorJobRequest : RpcAcsRequest + { + public SubmitMediaCensorJobRequest() + : base("Mts", "2014-06-18", "SubmitMediaCensorJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string externalUrl; + + private long? resourceOwnerId; + + private string description; + + private string title; + + private string videoCensorConfig; + + private string userData; + + private string coverImages; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + private string barrages; + + public string ExternalUrl + { + get + { + return externalUrl; + } + set + { + externalUrl = value; + DictionaryUtil.Add(QueryParameters, "ExternalUrl", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + DictionaryUtil.Add(QueryParameters, "Description", value); + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + DictionaryUtil.Add(QueryParameters, "Title", value); + } + } + + public string VideoCensorConfig + { + get + { + return videoCensorConfig; + } + set + { + videoCensorConfig = value; + DictionaryUtil.Add(QueryParameters, "VideoCensorConfig", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string CoverImages + { + get + { + return coverImages; + } + set + { + coverImages = value; + DictionaryUtil.Add(QueryParameters, "CoverImages", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string Barrages + { + get + { + return barrages; + } + set + { + barrages = value; + DictionaryUtil.Add(QueryParameters, "Barrages", value); + } + } + + public override SubmitMediaCensorJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitMediaCensorJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobResponse.cs new file mode 100644 index 000000000..3d3c880de --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaCensorJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitMediaCensorJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobRequest.cs new file mode 100644 index 000000000..3721e60e7 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitMediaInfoJobRequest : RpcAcsRequest + { + public SubmitMediaInfoJobRequest() + : base("Mts", "2014-06-18", "SubmitMediaInfoJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string userData; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + private bool? async; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public bool? Async + { + get + { + return async; + } + set + { + async = value; + DictionaryUtil.Add(QueryParameters, "Async", value.ToString()); + } + } + + public override SubmitMediaInfoJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitMediaInfoJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobResponse.cs new file mode 100644 index 000000000..921d94977 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitMediaInfoJobResponse.cs @@ -0,0 +1,1398 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitMediaInfoJobResponse : AcsResponse + { + + private string requestId; + + private SubmitMediaInfoJob_MediaInfoJob mediaInfoJob; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public SubmitMediaInfoJob_MediaInfoJob MediaInfoJob + { + get + { + return mediaInfoJob; + } + set + { + mediaInfoJob = value; + } + } + + public class SubmitMediaInfoJob_MediaInfoJob + { + + private string creationTime; + + private string state; + + private string jobId; + + private string userData; + + private string code; + + private string message; + + private string pipelineId; + + private bool? async; + + private SubmitMediaInfoJob_Input input; + + private SubmitMediaInfoJob_MNSMessageResult mNSMessageResult; + + private SubmitMediaInfoJob_Properties properties; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public bool? Async + { + get + { + return async; + } + set + { + async = value; + } + } + + public SubmitMediaInfoJob_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public SubmitMediaInfoJob_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public SubmitMediaInfoJob_Properties Properties + { + get + { + return properties; + } + set + { + properties = value; + } + } + + public class SubmitMediaInfoJob_Input + { + + private string _object; + + private string location; + + private string bucket; + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class SubmitMediaInfoJob_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class SubmitMediaInfoJob_Properties + { + + private string width; + + private string height; + + private string duration; + + private string fps; + + private string bitrate; + + private string fileFormat; + + private string fileSize; + + private SubmitMediaInfoJob_Streams streams; + + private SubmitMediaInfoJob_Format format; + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FileFormat + { + get + { + return fileFormat; + } + set + { + fileFormat = value; + } + } + + public string FileSize + { + get + { + return fileSize; + } + set + { + fileSize = value; + } + } + + public SubmitMediaInfoJob_Streams Streams + { + get + { + return streams; + } + set + { + streams = value; + } + } + + public SubmitMediaInfoJob_Format Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public class SubmitMediaInfoJob_Streams + { + + private List videoStreamList; + + private List audioStreamList; + + private List subtitleStreamList; + + public List VideoStreamList + { + get + { + return videoStreamList; + } + set + { + videoStreamList = value; + } + } + + public List AudioStreamList + { + get + { + return audioStreamList; + } + set + { + audioStreamList = value; + } + } + + public List SubtitleStreamList + { + get + { + return subtitleStreamList; + } + set + { + subtitleStreamList = value; + } + } + + public class SubmitMediaInfoJob_VideoStream + { + + private string sar; + + private string height; + + private string codecTagString; + + private string width; + + private string index; + + private string timebase; + + private string avgFPS; + + private string pixFmt; + + private string lang; + + private string codecLongName; + + private string numFrames; + + private string rotate; + + private string bitrate; + + private string hasBFrames; + + private string profile; + + private string startTime; + + private string dar; + + private string codecName; + + private string duration; + + private string fps; + + private string codecTag; + + private string codecTimeBase; + + private string level; + + private string colorRange; + + private string colorTransfer; + + private string colorPrimaries; + + private SubmitMediaInfoJob_NetworkCost networkCost; + + public string Sar + { + get + { + return sar; + } + set + { + sar = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string AvgFPS + { + get + { + return avgFPS; + } + set + { + avgFPS = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Rotate + { + get + { + return rotate; + } + set + { + rotate = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string HasBFrames + { + get + { + return hasBFrames; + } + set + { + hasBFrames = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string Dar + { + get + { + return dar; + } + set + { + dar = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string ColorRange + { + get + { + return colorRange; + } + set + { + colorRange = value; + } + } + + public string ColorTransfer + { + get + { + return colorTransfer; + } + set + { + colorTransfer = value; + } + } + + public string ColorPrimaries + { + get + { + return colorPrimaries; + } + set + { + colorPrimaries = value; + } + } + + public SubmitMediaInfoJob_NetworkCost NetworkCost + { + get + { + return networkCost; + } + set + { + networkCost = value; + } + } + + public class SubmitMediaInfoJob_NetworkCost + { + + private string preloadTime; + + private string avgBitrate; + + private string costBandwidth; + + public string PreloadTime + { + get + { + return preloadTime; + } + set + { + preloadTime = value; + } + } + + public string AvgBitrate + { + get + { + return avgBitrate; + } + set + { + avgBitrate = value; + } + } + + public string CostBandwidth + { + get + { + return costBandwidth; + } + set + { + costBandwidth = value; + } + } + } + } + + public class SubmitMediaInfoJob_AudioStream + { + + private string timebase; + + private string index; + + private string sampleFmt; + + private string channelLayout; + + private string lang; + + private string samplerate; + + private string codecLongName; + + private string channels; + + private string numFrames; + + private string bitrate; + + private string codecTagString; + + private string startTime; + + private string codecName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string SampleFmt + { + get + { + return sampleFmt; + } + set + { + sampleFmt = value; + } + } + + public string ChannelLayout + { + get + { + return channelLayout; + } + set + { + channelLayout = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string NumFrames + { + get + { + return numFrames; + } + set + { + numFrames = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + } + + public class SubmitMediaInfoJob_SubtitleStream + { + + private string timebase; + + private string index; + + private string startTime; + + private string codecName; + + private string lang; + + private string codecLongName; + + private string duration; + + private string codecTag; + + private string codecTimeBase; + + private string codecTagString; + + public string Timebase + { + get + { + return timebase; + } + set + { + timebase = value; + } + } + + public string Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string CodecName + { + get + { + return codecName; + } + set + { + codecName = value; + } + } + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + } + } + + public string CodecLongName + { + get + { + return codecLongName; + } + set + { + codecLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string CodecTag + { + get + { + return codecTag; + } + set + { + codecTag = value; + } + } + + public string CodecTimeBase + { + get + { + return codecTimeBase; + } + set + { + codecTimeBase = value; + } + } + + public string CodecTagString + { + get + { + return codecTagString; + } + set + { + codecTagString = value; + } + } + } + } + + public class SubmitMediaInfoJob_Format + { + + private string startTime; + + private string numPrograms; + + private string size; + + private string numStreams; + + private string formatLongName; + + private string duration; + + private string bitrate; + + private string formatName; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string NumPrograms + { + get + { + return numPrograms; + } + set + { + numPrograms = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string NumStreams + { + get + { + return numStreams; + } + set + { + numStreams = value; + } + } + + public string FormatLongName + { + get + { + return formatLongName; + } + set + { + formatLongName = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string FormatName + { + get + { + return formatName; + } + set + { + formatName = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobRequest.cs new file mode 100644 index 000000000..3af594835 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobRequest.cs @@ -0,0 +1,273 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitSmarttagJobRequest : RpcAcsRequest + { + public SubmitSmarttagJobRequest() + : base("Mts", "2014-06-18", "SubmitSmarttagJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string title; + + private string content; + + private string userData; + + private string notifyUrl; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string _params; + + private string templateId; + + private string priority; + + private string pipelineId; + + private string contentType; + + private string input; + + private string contentAddr; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + DictionaryUtil.Add(QueryParameters, "Title", value); + } + } + + public string Content + { + get + { + return content; + } + set + { + content = value; + DictionaryUtil.Add(QueryParameters, "Content", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string NotifyUrl + { + get + { + return notifyUrl; + } + set + { + notifyUrl = value; + DictionaryUtil.Add(QueryParameters, "NotifyUrl", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + DictionaryUtil.Add(QueryParameters, "TemplateId", value); + } + } + + public string Priority + { + get + { + return priority; + } + set + { + priority = value; + DictionaryUtil.Add(QueryParameters, "Priority", value); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string ContentType + { + get + { + return contentType; + } + set + { + contentType = value; + DictionaryUtil.Add(QueryParameters, "ContentType", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string ContentAddr + { + get + { + return contentAddr; + } + set + { + contentAddr = value; + DictionaryUtil.Add(QueryParameters, "ContentAddr", value); + } + } + + public override SubmitSmarttagJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitSmarttagJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobResponse.cs new file mode 100644 index 000000000..76d4a4885 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSmarttagJobResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitSmarttagJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobRequest.cs new file mode 100644 index 000000000..6c81b6d8e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitSnapshotJobRequest : RpcAcsRequest + { + public SubmitSnapshotJobRequest() + : base("Mts", "2014-06-18", "SubmitSnapshotJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string snapshotConfig; + + private string userData; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string pipelineId; + + private string input; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string SnapshotConfig + { + get + { + return snapshotConfig; + } + set + { + snapshotConfig = value; + DictionaryUtil.Add(QueryParameters, "SnapshotConfig", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public override SubmitSnapshotJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitSnapshotJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobResponse.cs new file mode 100644 index 000000000..694870e05 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitSnapshotJobResponse.cs @@ -0,0 +1,728 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitSnapshotJobResponse : AcsResponse + { + + private string requestId; + + private SubmitSnapshotJob_SnapshotJob snapshotJob; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public SubmitSnapshotJob_SnapshotJob SnapshotJob + { + get + { + return snapshotJob; + } + set + { + snapshotJob = value; + } + } + + public class SubmitSnapshotJob_SnapshotJob + { + + private string creationTime; + + private string state; + + private string message; + + private string count; + + private string tileCount; + + private string userData; + + private string code; + + private string pipelineId; + + private string id; + + private SubmitSnapshotJob_SnapshotConfig snapshotConfig; + + private SubmitSnapshotJob_MNSMessageResult mNSMessageResult; + + private SubmitSnapshotJob_Input input; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public string Count + { + get + { + return count; + } + set + { + count = value; + } + } + + public string TileCount + { + get + { + return tileCount; + } + set + { + tileCount = value; + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + } + } + + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public SubmitSnapshotJob_SnapshotConfig SnapshotConfig + { + get + { + return snapshotConfig; + } + set + { + snapshotConfig = value; + } + } + + public SubmitSnapshotJob_MNSMessageResult MNSMessageResult + { + get + { + return mNSMessageResult; + } + set + { + mNSMessageResult = value; + } + } + + public SubmitSnapshotJob_Input Input + { + get + { + return input; + } + set + { + input = value; + } + } + + public class SubmitSnapshotJob_SnapshotConfig + { + + private string time; + + private string interval; + + private string frameType; + + private string width; + + private string height; + + private string num; + + private List timeArray; + + private SubmitSnapshotJob_TileOut tileOut; + + private SubmitSnapshotJob_OutputFile outputFile; + + private SubmitSnapshotJob_TileOutputFile tileOutputFile; + + public string Time + { + get + { + return time; + } + set + { + time = value; + } + } + + public string Interval + { + get + { + return interval; + } + set + { + interval = value; + } + } + + public string FrameType + { + get + { + return frameType; + } + set + { + frameType = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Num + { + get + { + return num; + } + set + { + num = value; + } + } + + public List TimeArray + { + get + { + return timeArray; + } + set + { + timeArray = value; + } + } + + public SubmitSnapshotJob_TileOut TileOut + { + get + { + return tileOut; + } + set + { + tileOut = value; + } + } + + public SubmitSnapshotJob_OutputFile OutputFile + { + get + { + return outputFile; + } + set + { + outputFile = value; + } + } + + public SubmitSnapshotJob_TileOutputFile TileOutputFile + { + get + { + return tileOutputFile; + } + set + { + tileOutputFile = value; + } + } + + public class SubmitSnapshotJob_TileOut + { + + private string padding; + + private string color; + + private string cellSelStep; + + private string cellHeight; + + private string cellWidth; + + private string margin; + + private string columns; + + private string isKeepCellPic; + + private string lines; + + public string Padding + { + get + { + return padding; + } + set + { + padding = value; + } + } + + public string Color + { + get + { + return color; + } + set + { + color = value; + } + } + + public string CellSelStep + { + get + { + return cellSelStep; + } + set + { + cellSelStep = value; + } + } + + public string CellHeight + { + get + { + return cellHeight; + } + set + { + cellHeight = value; + } + } + + public string CellWidth + { + get + { + return cellWidth; + } + set + { + cellWidth = value; + } + } + + public string Margin + { + get + { + return margin; + } + set + { + margin = value; + } + } + + public string Columns + { + get + { + return columns; + } + set + { + columns = value; + } + } + + public string IsKeepCellPic + { + get + { + return isKeepCellPic; + } + set + { + isKeepCellPic = value; + } + } + + public string Lines + { + get + { + return lines; + } + set + { + lines = value; + } + } + } + + public class SubmitSnapshotJob_OutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + + public class SubmitSnapshotJob_TileOutputFile + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + + public class SubmitSnapshotJob_MNSMessageResult + { + + private string messageId; + + private string errorMessage; + + private string errorCode; + + public string MessageId + { + get + { + return messageId; + } + set + { + messageId = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string ErrorCode + { + get + { + return errorCode; + } + set + { + errorCode = value; + } + } + } + + public class SubmitSnapshotJob_Input + { + + private string roleArn; + + private string _object; + + private string location; + + private string bucket; + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + } + } + + public string _Object + { + get + { + return _object; + } + set + { + _object = value; + } + } + + public string Location + { + get + { + return location; + } + set + { + location = value; + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobRequest.cs new file mode 100644 index 000000000..7bf0c6e6f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobRequest.cs @@ -0,0 +1,188 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitTraceAbJobRequest : RpcAcsRequest + { + public SubmitTraceAbJobRequest() + : base("Mts", "2014-06-18", "SubmitTraceAbJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string startTime; + + private string output; + + private string userData; + + private string cipherBase64ed; + + private long? level; + + private string url; + + private string input; + + private string totalTime; + + private string callBack; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + DictionaryUtil.Add(QueryParameters, "StartTime", value); + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + DictionaryUtil.Add(QueryParameters, "Output", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string CipherBase64ed + { + get + { + return cipherBase64ed; + } + set + { + cipherBase64ed = value; + DictionaryUtil.Add(QueryParameters, "CipherBase64ed", value); + } + } + + public long? Level + { + get + { + return level; + } + set + { + level = value; + DictionaryUtil.Add(QueryParameters, "Level", value.ToString()); + } + } + + public string Url + { + get + { + return url; + } + set + { + url = value; + DictionaryUtil.Add(QueryParameters, "Url", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string TotalTime + { + get + { + return totalTime; + } + set + { + totalTime = value; + DictionaryUtil.Add(QueryParameters, "TotalTime", value); + } + } + + public string CallBack + { + get + { + return callBack; + } + set + { + callBack = value; + DictionaryUtil.Add(QueryParameters, "CallBack", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SubmitTraceAbJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitTraceAbJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobResponse.cs new file mode 100644 index 000000000..737107f62 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceAbJobResponse.cs @@ -0,0 +1,116 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitTraceAbJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private SubmitTraceAbJob_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public SubmitTraceAbJob_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class SubmitTraceAbJob_Data + { + + private string jobId; + + private string mediaId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobRequest.cs new file mode 100644 index 000000000..c7a1a5bea --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobRequest.cs @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitTraceExtractJobRequest : RpcAcsRequest + { + public SubmitTraceExtractJobRequest() + : base("Mts", "2014-06-18", "SubmitTraceExtractJob", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string _params; + + private string url; + + private string input; + + private string userData; + + private string callBack; + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string Url + { + get + { + return url; + } + set + { + url = value; + DictionaryUtil.Add(QueryParameters, "Url", value); + } + } + + public string Input + { + get + { + return input; + } + set + { + input = value; + DictionaryUtil.Add(QueryParameters, "Input", value); + } + } + + public string UserData + { + get + { + return userData; + } + set + { + userData = value; + DictionaryUtil.Add(QueryParameters, "UserData", value); + } + } + + public string CallBack + { + get + { + return callBack; + } + set + { + callBack = value; + DictionaryUtil.Add(QueryParameters, "CallBack", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SubmitTraceExtractJobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitTraceExtractJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobResponse.cs new file mode 100644 index 000000000..9b5e52b76 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceExtractJobResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitTraceExtractJobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private long? statusCode; + + private SubmitTraceExtractJob_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public long? StatusCode + { + get + { + return statusCode; + } + set + { + statusCode = value; + } + } + + public SubmitTraceExtractJob_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class SubmitTraceExtractJob_Data + { + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobRequest.cs new file mode 100644 index 000000000..f5800245b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobRequest.cs @@ -0,0 +1,128 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitTraceM3u8JobRequest : RpcAcsRequest + { + public SubmitTraceM3u8JobRequest() + : base("Mts", "2014-06-18", "SubmitTraceM3u8Job", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string mediaId; + + private string _params; + + private string output; + + private string trace; + + private string keyUri; + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public string _Params + { + get + { + return _params; + } + set + { + _params = value; + DictionaryUtil.Add(QueryParameters, "Params", value); + } + } + + public string Output + { + get + { + return output; + } + set + { + output = value; + DictionaryUtil.Add(QueryParameters, "Output", value); + } + } + + public string Trace + { + get + { + return trace; + } + set + { + trace = value; + DictionaryUtil.Add(QueryParameters, "Trace", value); + } + } + + public string KeyUri + { + get + { + return keyUri; + } + set + { + keyUri = value; + DictionaryUtil.Add(QueryParameters, "KeyUri", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override SubmitTraceM3u8JobResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SubmitTraceM3u8JobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobResponse.cs new file mode 100644 index 000000000..96a11cc20 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/SubmitTraceM3u8JobResponse.cs @@ -0,0 +1,88 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class SubmitTraceM3u8JobResponse : AcsResponse + { + + private string requestId; + + private string message; + + private SubmitTraceM3u8Job_Data data; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + + public SubmitTraceM3u8Job_Data Data + { + get + { + return data; + } + set + { + data = value; + } + } + + public class SubmitTraceM3u8Job_Data + { + + private string jobId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonRequest.cs new file mode 100644 index 000000000..4f68a5ea4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonRequest.cs @@ -0,0 +1,198 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class TagCustomPersonRequest : RpcAcsRequest + { + public TagCustomPersonRequest() + : base("Mts", "2014-06-18", "TagCustomPerson", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string personDescription; + + private string categoryDescription; + + private string personId; + + private string categoryId; + + private string personName; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string categoryName; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string PersonDescription + { + get + { + return personDescription; + } + set + { + personDescription = value; + DictionaryUtil.Add(QueryParameters, "PersonDescription", value); + } + } + + public string CategoryDescription + { + get + { + return categoryDescription; + } + set + { + categoryDescription = value; + DictionaryUtil.Add(QueryParameters, "CategoryDescription", value); + } + } + + public string PersonId + { + get + { + return personId; + } + set + { + personId = value; + DictionaryUtil.Add(QueryParameters, "PersonId", value); + } + } + + public string CategoryId + { + get + { + return categoryId; + } + set + { + categoryId = value; + DictionaryUtil.Add(QueryParameters, "CategoryId", value); + } + } + + public string PersonName + { + get + { + return personName; + } + set + { + personName = value; + DictionaryUtil.Add(QueryParameters, "PersonName", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string CategoryName + { + get + { + return categoryName; + } + set + { + categoryName = value; + DictionaryUtil.Add(QueryParameters, "CategoryName", value); + } + } + + public override TagCustomPersonResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return TagCustomPersonResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonResponse.cs new file mode 100644 index 000000000..575d86d43 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/TagCustomPersonResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class TagCustomPersonResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketRequest.cs new file mode 100644 index 000000000..de1911e7e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UnbindInputBucketRequest : RpcAcsRequest + { + public UnbindInputBucketRequest() + : base("Mts", "2014-06-18", "UnbindInputBucket", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string bucket; + + private string roleArn; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + DictionaryUtil.Add(QueryParameters, "Bucket", value); + } + } + + public string RoleArn + { + get + { + return roleArn; + } + set + { + roleArn = value; + DictionaryUtil.Add(QueryParameters, "RoleArn", value); + } + } + + public override UnbindInputBucketResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UnbindInputBucketResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketResponse.cs new file mode 100644 index 000000000..990f9ef21 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindInputBucketResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UnbindInputBucketResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketRequest.cs new file mode 100644 index 000000000..c47b66350 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketRequest.cs @@ -0,0 +1,123 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UnbindOutputBucketRequest : RpcAcsRequest + { + public UnbindOutputBucketRequest() + : base("Mts", "2014-06-18", "UnbindOutputBucket", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string bucket; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Bucket + { + get + { + return bucket; + } + set + { + bucket = value; + DictionaryUtil.Add(QueryParameters, "Bucket", value); + } + } + + public override UnbindOutputBucketResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UnbindOutputBucketResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketResponse.cs new file mode 100644 index 000000000..f5163f017 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnbindOutputBucketResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UnbindOutputBucketResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceRequest.cs new file mode 100644 index 000000000..57bf1f79f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UnregisterCustomFaceRequest : RpcAcsRequest + { + public UnregisterCustomFaceRequest() + : base("Mts", "2014-06-18", "UnregisterCustomFace", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string personId; + + private string categoryId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string faceId; + + private long? ownerId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string PersonId + { + get + { + return personId; + } + set + { + personId = value; + DictionaryUtil.Add(QueryParameters, "PersonId", value); + } + } + + public string CategoryId + { + get + { + return categoryId; + } + set + { + categoryId = value; + DictionaryUtil.Add(QueryParameters, "CategoryId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string FaceId + { + get + { + return faceId; + } + set + { + faceId = value; + DictionaryUtil.Add(QueryParameters, "FaceId", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public override UnregisterCustomFaceResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UnregisterCustomFaceResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceResponse.cs new file mode 100644 index 000000000..d13adb4c6 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UnregisterCustomFaceResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UnregisterCustomFaceResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryRequest.cs new file mode 100644 index 000000000..6982d4c47 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaCategoryRequest : RpcAcsRequest + { + public UpdateMediaCategoryRequest() + : base("Mts", "2014-06-18", "UpdateMediaCategory", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private long? cateId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + DictionaryUtil.Add(QueryParameters, "CateId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public override UpdateMediaCategoryResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateMediaCategoryResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryResponse.cs new file mode 100644 index 000000000..32c84987e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCategoryResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaCategoryResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverRequest.cs new file mode 100644 index 000000000..9a7a965bd --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaCoverRequest : RpcAcsRequest + { + public UpdateMediaCoverRequest() + : base("Mts", "2014-06-18", "UpdateMediaCover", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string coverURL; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaId; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + DictionaryUtil.Add(QueryParameters, "CoverURL", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public override UpdateMediaCoverResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateMediaCoverResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverResponse.cs new file mode 100644 index 000000000..8d1d54c90 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaCoverResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaCoverResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateRequest.cs new file mode 100644 index 000000000..8345a4a56 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaPublishStateRequest : RpcAcsRequest + { + public UpdateMediaPublishStateRequest() + : base("Mts", "2014-06-18", "UpdateMediaPublishState", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaId; + + private bool? publish; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public bool? Publish + { + get + { + return publish; + } + set + { + publish = value; + DictionaryUtil.Add(QueryParameters, "Publish", value.ToString()); + } + } + + public override UpdateMediaPublishStateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateMediaPublishStateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateResponse.cs new file mode 100644 index 000000000..7e5f28246 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaPublishStateResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaPublishStateResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaRequest.cs new file mode 100644 index 000000000..32e8f6b3b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaRequest.cs @@ -0,0 +1,198 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaRequest : RpcAcsRequest + { + public UpdateMediaRequest() + : base("Mts", "2014-06-18", "UpdateMedia", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string description; + + private string title; + + private string coverURL; + + private long? cateId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string mediaId; + + private string tags; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + DictionaryUtil.Add(QueryParameters, "Description", value); + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + DictionaryUtil.Add(QueryParameters, "Title", value); + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + DictionaryUtil.Add(QueryParameters, "CoverURL", value); + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + DictionaryUtil.Add(QueryParameters, "CateId", value.ToString()); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + DictionaryUtil.Add(QueryParameters, "MediaId", value); + } + } + + public string Tags + { + get + { + return tags; + } + set + { + tags = value; + DictionaryUtil.Add(QueryParameters, "Tags", value); + } + } + + public override UpdateMediaResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateMediaResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaResponse.cs new file mode 100644 index 000000000..47ac9406a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaResponse.cs @@ -0,0 +1,344 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaResponse : AcsResponse + { + + private string requestId; + + private UpdateMedia_Media media; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public UpdateMedia_Media Media + { + get + { + return media; + } + set + { + media = value; + } + } + + public class UpdateMedia_Media + { + + private string creationTime; + + private long? cateId; + + private string height; + + private string censorState; + + private string bitrate; + + private string mediaId; + + private string publishState; + + private string description; + + private string width; + + private string size; + + private string coverURL; + + private string duration; + + private string fps; + + private string title; + + private string format; + + private List tags; + + private List runIdList; + + private UpdateMedia_File file; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public long? CateId + { + get + { + return cateId; + } + set + { + cateId = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string CensorState + { + get + { + return censorState; + } + set + { + censorState = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string MediaId + { + get + { + return mediaId; + } + set + { + mediaId = value; + } + } + + public string PublishState + { + get + { + return publishState; + } + set + { + publishState = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string CoverURL + { + get + { + return coverURL; + } + set + { + coverURL = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Title + { + get + { + return title; + } + set + { + title = value; + } + } + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public List RunIdList + { + get + { + return runIdList; + } + set + { + runIdList = value; + } + } + + public UpdateMedia_File File + { + get + { + return file; + } + set + { + file = value; + } + } + + public class UpdateMedia_File + { + + private string state; + + private string uRL; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string URL + { + get + { + return uRL; + } + set + { + uRL = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowRequest.cs new file mode 100644 index 000000000..6f5fb8217 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowRequest.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaWorkflowRequest : RpcAcsRequest + { + public UpdateMediaWorkflowRequest() + : base("Mts", "2014-06-18", "UpdateMediaWorkflow", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string mediaWorkflowId; + + private string resourceOwnerAccount; + + private string topology; + + private string ownerAccount; + + private long? ownerId; + + private string triggerMode; + + private string name; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + DictionaryUtil.Add(QueryParameters, "Topology", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + DictionaryUtil.Add(QueryParameters, "TriggerMode", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public override UpdateMediaWorkflowResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateMediaWorkflowResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowResponse.cs new file mode 100644 index 000000000..2cd61c004 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowResponse.cs @@ -0,0 +1,144 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaWorkflowResponse : AcsResponse + { + + private string requestId; + + private UpdateMediaWorkflow_MediaWorkflow mediaWorkflow; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public UpdateMediaWorkflow_MediaWorkflow MediaWorkflow + { + get + { + return mediaWorkflow; + } + set + { + mediaWorkflow = value; + } + } + + public class UpdateMediaWorkflow_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string triggerMode; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeRequest.cs new file mode 100644 index 000000000..3b251ff1b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaWorkflowTriggerModeRequest : RpcAcsRequest + { + public UpdateMediaWorkflowTriggerModeRequest() + : base("Mts", "2014-06-18", "UpdateMediaWorkflowTriggerMode", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string mediaWorkflowId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string triggerMode; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + DictionaryUtil.Add(QueryParameters, "MediaWorkflowId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + DictionaryUtil.Add(QueryParameters, "TriggerMode", value); + } + } + + public override UpdateMediaWorkflowTriggerModeResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateMediaWorkflowTriggerModeResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeResponse.cs new file mode 100644 index 000000000..6a191b263 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateMediaWorkflowTriggerModeResponse.cs @@ -0,0 +1,144 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateMediaWorkflowTriggerModeResponse : AcsResponse + { + + private string requestId; + + private UpdateMediaWorkflowTriggerMode_MediaWorkflow mediaWorkflow; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public UpdateMediaWorkflowTriggerMode_MediaWorkflow MediaWorkflow + { + get + { + return mediaWorkflow; + } + set + { + mediaWorkflow = value; + } + } + + public class UpdateMediaWorkflowTriggerMode_MediaWorkflow + { + + private string creationTime; + + private string mediaWorkflowId; + + private string state; + + private string triggerMode; + + private string name; + + private string topology; + + public string CreationTime + { + get + { + return creationTime; + } + set + { + creationTime = value; + } + } + + public string MediaWorkflowId + { + get + { + return mediaWorkflowId; + } + set + { + mediaWorkflowId = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string TriggerMode + { + get + { + return triggerMode; + } + set + { + triggerMode = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Topology + { + get + { + return topology; + } + set + { + topology = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineRequest.cs new file mode 100644 index 000000000..3134e1284 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineRequest.cs @@ -0,0 +1,198 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdatePipelineRequest : RpcAcsRequest + { + public UpdatePipelineRequest() + : base("Mts", "2014-06-18", "UpdatePipeline", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string role; + + private string state; + + private string extendConfig; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string notifyConfig; + + private long? ownerId; + + private string pipelineId; + + private string name; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Role + { + get + { + return role; + } + set + { + role = value; + DictionaryUtil.Add(QueryParameters, "Role", value); + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + DictionaryUtil.Add(QueryParameters, "State", value); + } + } + + public string ExtendConfig + { + get + { + return extendConfig; + } + set + { + extendConfig = value; + DictionaryUtil.Add(QueryParameters, "ExtendConfig", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string NotifyConfig + { + get + { + return notifyConfig; + } + set + { + notifyConfig = value; + DictionaryUtil.Add(QueryParameters, "NotifyConfig", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string PipelineId + { + get + { + return pipelineId; + } + set + { + pipelineId = value; + DictionaryUtil.Add(QueryParameters, "PipelineId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public override UpdatePipelineResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdatePipelineResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineResponse.cs new file mode 100644 index 000000000..ad6b9890f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdatePipelineResponse.cs @@ -0,0 +1,278 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdatePipelineResponse : AcsResponse + { + + private string requestId; + + private UpdatePipeline_Pipeline pipeline; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public UpdatePipeline_Pipeline Pipeline + { + get + { + return pipeline; + } + set + { + pipeline = value; + } + } + + public class UpdatePipeline_Pipeline + { + + private string speed; + + private string state; + + private string name; + + private string role; + + private string id; + + private long? quotaAllocate; + + private UpdatePipeline_NotifyConfig notifyConfig; + + private UpdatePipeline_ExtendConfig extendConfig; + + public string Speed + { + get + { + return speed; + } + set + { + speed = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Role + { + get + { + return role; + } + set + { + role = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public long? QuotaAllocate + { + get + { + return quotaAllocate; + } + set + { + quotaAllocate = value; + } + } + + public UpdatePipeline_NotifyConfig NotifyConfig + { + get + { + return notifyConfig; + } + set + { + notifyConfig = value; + } + } + + public UpdatePipeline_ExtendConfig ExtendConfig + { + get + { + return extendConfig; + } + set + { + extendConfig = value; + } + } + + public class UpdatePipeline_NotifyConfig + { + + private string mqTopic; + + private string queueName; + + private string mqTag; + + private string topic; + + public string MqTopic + { + get + { + return mqTopic; + } + set + { + mqTopic = value; + } + } + + public string QueueName + { + get + { + return queueName; + } + set + { + queueName = value; + } + } + + public string MqTag + { + get + { + return mqTag; + } + set + { + mqTag = value; + } + } + + public string Topic + { + get + { + return topic; + } + set + { + topic = value; + } + } + } + + public class UpdatePipeline_ExtendConfig + { + + private bool? isBoostNew; + + private int? maxMultiSpeed; + + private string multiSpeedDowngradePolicy; + + public bool? IsBoostNew + { + get + { + return isBoostNew; + } + set + { + isBoostNew = value; + } + } + + public int? MaxMultiSpeed + { + get + { + return maxMultiSpeed; + } + set + { + maxMultiSpeed = value; + } + } + + public string MultiSpeedDowngradePolicy + { + get + { + return multiSpeedDowngradePolicy; + } + set + { + multiSpeedDowngradePolicy = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateRequest.cs new file mode 100644 index 000000000..4b50cbb21 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateRequest.cs @@ -0,0 +1,318 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateSmarttagTemplateRequest : RpcAcsRequest + { + public UpdateSmarttagTemplateRequest() + : base("Mts", "2014-06-18", "UpdateSmarttagTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string knowledgeConfig; + + private string industry; + + private string labelVersion; + + private string scene; + + private string faceCustomParamsConfig; + + private string templateName; + + private bool? isDefault; + + private string faceCategoryIds; + + private string keywordConfig; + + private string landmarkGroupIds; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string objectGroupIds; + + private long? ownerId; + + private string templateId; + + private string analyseTypes; + + private string labelType; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string KnowledgeConfig + { + get + { + return knowledgeConfig; + } + set + { + knowledgeConfig = value; + DictionaryUtil.Add(QueryParameters, "KnowledgeConfig", value); + } + } + + public string Industry + { + get + { + return industry; + } + set + { + industry = value; + DictionaryUtil.Add(QueryParameters, "Industry", value); + } + } + + public string LabelVersion + { + get + { + return labelVersion; + } + set + { + labelVersion = value; + DictionaryUtil.Add(QueryParameters, "LabelVersion", value); + } + } + + public string Scene + { + get + { + return scene; + } + set + { + scene = value; + DictionaryUtil.Add(QueryParameters, "Scene", value); + } + } + + public string FaceCustomParamsConfig + { + get + { + return faceCustomParamsConfig; + } + set + { + faceCustomParamsConfig = value; + DictionaryUtil.Add(QueryParameters, "FaceCustomParamsConfig", value); + } + } + + public string TemplateName + { + get + { + return templateName; + } + set + { + templateName = value; + DictionaryUtil.Add(QueryParameters, "TemplateName", value); + } + } + + public bool? IsDefault + { + get + { + return isDefault; + } + set + { + isDefault = value; + DictionaryUtil.Add(QueryParameters, "IsDefault", value.ToString()); + } + } + + public string FaceCategoryIds + { + get + { + return faceCategoryIds; + } + set + { + faceCategoryIds = value; + DictionaryUtil.Add(QueryParameters, "FaceCategoryIds", value); + } + } + + public string KeywordConfig + { + get + { + return keywordConfig; + } + set + { + keywordConfig = value; + DictionaryUtil.Add(QueryParameters, "KeywordConfig", value); + } + } + + public string LandmarkGroupIds + { + get + { + return landmarkGroupIds; + } + set + { + landmarkGroupIds = value; + DictionaryUtil.Add(QueryParameters, "LandmarkGroupIds", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string ObjectGroupIds + { + get + { + return objectGroupIds; + } + set + { + objectGroupIds = value; + DictionaryUtil.Add(QueryParameters, "ObjectGroupIds", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + DictionaryUtil.Add(QueryParameters, "TemplateId", value); + } + } + + public string AnalyseTypes + { + get + { + return analyseTypes; + } + set + { + analyseTypes = value; + DictionaryUtil.Add(QueryParameters, "AnalyseTypes", value); + } + } + + public string LabelType + { + get + { + return labelType; + } + set + { + labelType = value; + DictionaryUtil.Add(QueryParameters, "LabelType", value); + } + } + + public override UpdateSmarttagTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateSmarttagTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateResponse.cs new file mode 100644 index 000000000..3b23959af --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateSmarttagTemplateResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateSmarttagTemplateResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateRequest.cs new file mode 100644 index 000000000..6b90e5d29 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateRequest.cs @@ -0,0 +1,213 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateTemplateRequest : RpcAcsRequest + { + public UpdateTemplateRequest() + : base("Mts", "2014-06-18", "UpdateTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string container; + + private long? resourceOwnerId; + + private string video; + + private string transConfig; + + private string audio; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private string muxConfig; + + private long? ownerId; + + private string templateId; + + private string name; + + public string Container + { + get + { + return container; + } + set + { + container = value; + DictionaryUtil.Add(QueryParameters, "Container", value); + } + } + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string Video + { + get + { + return video; + } + set + { + video = value; + DictionaryUtil.Add(QueryParameters, "Video", value); + } + } + + public string TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + DictionaryUtil.Add(QueryParameters, "TransConfig", value); + } + } + + public string Audio + { + get + { + return audio; + } + set + { + audio = value; + DictionaryUtil.Add(QueryParameters, "Audio", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public string MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + DictionaryUtil.Add(QueryParameters, "MuxConfig", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TemplateId + { + get + { + return templateId; + } + set + { + templateId = value; + DictionaryUtil.Add(QueryParameters, "TemplateId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public override UpdateTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateResponse.cs new file mode 100644 index 000000000..5e28243d9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateTemplateResponse.cs @@ -0,0 +1,1070 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateTemplateResponse : AcsResponse + { + + private string requestId; + + private UpdateTemplate_Template template; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public UpdateTemplate_Template Template + { + get + { + return template; + } + set + { + template = value; + } + } + + public class UpdateTemplate_Template + { + + private string state; + + private string name; + + private string id; + + private UpdateTemplate_Video video; + + private UpdateTemplate_TransConfig transConfig; + + private UpdateTemplate_MuxConfig muxConfig; + + private UpdateTemplate_Audio audio; + + private UpdateTemplate_Container container; + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public UpdateTemplate_Video Video + { + get + { + return video; + } + set + { + video = value; + } + } + + public UpdateTemplate_TransConfig TransConfig + { + get + { + return transConfig; + } + set + { + transConfig = value; + } + } + + public UpdateTemplate_MuxConfig MuxConfig + { + get + { + return muxConfig; + } + set + { + muxConfig = value; + } + } + + public UpdateTemplate_Audio Audio + { + get + { + return audio; + } + set + { + audio = value; + } + } + + public UpdateTemplate_Container Container + { + get + { + return container; + } + set + { + container = value; + } + } + + public class UpdateTemplate_Video + { + + private string longShortMode; + + private string bufsize; + + private string degrain; + + private string pixFmt; + + private string pad; + + private string codec; + + private string height; + + private string qscale; + + private string crop; + + private string bitrate; + + private string maxrate; + + private string maxFps; + + private string profile; + + private string crf; + + private string _remove; + + private string gop; + + private string width; + + private string fps; + + private string preset; + + private string scanMode; + + private string resoPriority; + + private string hdr2sdr; + + private UpdateTemplate_BitrateBnd bitrateBnd; + + private UpdateTemplate_NarrowBand narrowBand; + + public string LongShortMode + { + get + { + return longShortMode; + } + set + { + longShortMode = value; + } + } + + public string Bufsize + { + get + { + return bufsize; + } + set + { + bufsize = value; + } + } + + public string Degrain + { + get + { + return degrain; + } + set + { + degrain = value; + } + } + + public string PixFmt + { + get + { + return pixFmt; + } + set + { + pixFmt = value; + } + } + + public string Pad + { + get + { + return pad; + } + set + { + pad = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Crop + { + get + { + return crop; + } + set + { + crop = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public string Maxrate + { + get + { + return maxrate; + } + set + { + maxrate = value; + } + } + + public string MaxFps + { + get + { + return maxFps; + } + set + { + maxFps = value; + } + } + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string Crf + { + get + { + return crf; + } + set + { + crf = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Gop + { + get + { + return gop; + } + set + { + gop = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Fps + { + get + { + return fps; + } + set + { + fps = value; + } + } + + public string Preset + { + get + { + return preset; + } + set + { + preset = value; + } + } + + public string ScanMode + { + get + { + return scanMode; + } + set + { + scanMode = value; + } + } + + public string ResoPriority + { + get + { + return resoPriority; + } + set + { + resoPriority = value; + } + } + + public string Hdr2sdr + { + get + { + return hdr2sdr; + } + set + { + hdr2sdr = value; + } + } + + public UpdateTemplate_BitrateBnd BitrateBnd + { + get + { + return bitrateBnd; + } + set + { + bitrateBnd = value; + } + } + + public UpdateTemplate_NarrowBand NarrowBand + { + get + { + return narrowBand; + } + set + { + narrowBand = value; + } + } + + public class UpdateTemplate_BitrateBnd + { + + private string max; + + private string min; + + public string Max + { + get + { + return max; + } + set + { + max = value; + } + } + + public string Min + { + get + { + return min; + } + set + { + min = value; + } + } + } + + public class UpdateTemplate_NarrowBand + { + + private string version; + + private float? abrmax; + + private float? maxAbrRatio; + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public float? Abrmax + { + get + { + return abrmax; + } + set + { + abrmax = value; + } + } + + public float? MaxAbrRatio + { + get + { + return maxAbrRatio; + } + set + { + maxAbrRatio = value; + } + } + } + } + + public class UpdateTemplate_TransConfig + { + + private string isCheckAudioBitrate; + + private string transMode; + + private string isCheckReso; + + private string isCheckVideoBitrateFail; + + private string adjDarMethod; + + private string isCheckVideoBitrate; + + private string isCheckResoFail; + + private string isCheckAudioBitrateFail; + + public string IsCheckAudioBitrate + { + get + { + return isCheckAudioBitrate; + } + set + { + isCheckAudioBitrate = value; + } + } + + public string TransMode + { + get + { + return transMode; + } + set + { + transMode = value; + } + } + + public string IsCheckReso + { + get + { + return isCheckReso; + } + set + { + isCheckReso = value; + } + } + + public string IsCheckVideoBitrateFail + { + get + { + return isCheckVideoBitrateFail; + } + set + { + isCheckVideoBitrateFail = value; + } + } + + public string AdjDarMethod + { + get + { + return adjDarMethod; + } + set + { + adjDarMethod = value; + } + } + + public string IsCheckVideoBitrate + { + get + { + return isCheckVideoBitrate; + } + set + { + isCheckVideoBitrate = value; + } + } + + public string IsCheckResoFail + { + get + { + return isCheckResoFail; + } + set + { + isCheckResoFail = value; + } + } + + public string IsCheckAudioBitrateFail + { + get + { + return isCheckAudioBitrateFail; + } + set + { + isCheckAudioBitrateFail = value; + } + } + } + + public class UpdateTemplate_MuxConfig + { + + private UpdateTemplate_Webp webp; + + private UpdateTemplate_Gif gif; + + private UpdateTemplate_Segment segment; + + public UpdateTemplate_Webp Webp + { + get + { + return webp; + } + set + { + webp = value; + } + } + + public UpdateTemplate_Gif Gif + { + get + { + return gif; + } + set + { + gif = value; + } + } + + public UpdateTemplate_Segment Segment + { + get + { + return segment; + } + set + { + segment = value; + } + } + + public class UpdateTemplate_Webp + { + + private string loop; + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + } + + public class UpdateTemplate_Gif + { + + private string finalDelay; + + private string ditherMode; + + private string loop; + + private string isCustomPalette; + + public string FinalDelay + { + get + { + return finalDelay; + } + set + { + finalDelay = value; + } + } + + public string DitherMode + { + get + { + return ditherMode; + } + set + { + ditherMode = value; + } + } + + public string Loop + { + get + { + return loop; + } + set + { + loop = value; + } + } + + public string IsCustomPalette + { + get + { + return isCustomPalette; + } + set + { + isCustomPalette = value; + } + } + } + + public class UpdateTemplate_Segment + { + + private string duration; + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + + public class UpdateTemplate_Audio + { + + private string profile; + + private string _remove; + + private string codec; + + private string samplerate; + + private string qscale; + + private string channels; + + private string bitrate; + + private UpdateTemplate_Volume volume; + + public string Profile + { + get + { + return profile; + } + set + { + profile = value; + } + } + + public string _Remove + { + get + { + return _remove; + } + set + { + _remove = value; + } + } + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public string Samplerate + { + get + { + return samplerate; + } + set + { + samplerate = value; + } + } + + public string Qscale + { + get + { + return qscale; + } + set + { + qscale = value; + } + } + + public string Channels + { + get + { + return channels; + } + set + { + channels = value; + } + } + + public string Bitrate + { + get + { + return bitrate; + } + set + { + bitrate = value; + } + } + + public UpdateTemplate_Volume Volume + { + get + { + return volume; + } + set + { + volume = value; + } + } + + public class UpdateTemplate_Volume + { + + private string method; + + private string truePeak; + + private string integratedLoudnessTarget; + + private string level; + + private string loudnessRangeTarget; + + private string peakLevel; + + public string Method + { + get + { + return method; + } + set + { + method = value; + } + } + + public string TruePeak + { + get + { + return truePeak; + } + set + { + truePeak = value; + } + } + + public string IntegratedLoudnessTarget + { + get + { + return integratedLoudnessTarget; + } + set + { + integratedLoudnessTarget = value; + } + } + + public string Level + { + get + { + return level; + } + set + { + level = value; + } + } + + public string LoudnessRangeTarget + { + get + { + return loudnessRangeTarget; + } + set + { + loudnessRangeTarget = value; + } + } + + public string PeakLevel + { + get + { + return peakLevel; + } + set + { + peakLevel = value; + } + } + } + } + + public class UpdateTemplate_Container + { + + private string format; + + public string Format + { + get + { + return format; + } + set + { + format = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateRequest.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateRequest.cs new file mode 100644 index 000000000..7b80acc43 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateRequest.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.Mts.Transform; +using Aliyun.Acs.Mts.Transform.V20140618; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateWaterMarkTemplateRequest : RpcAcsRequest + { + public UpdateWaterMarkTemplateRequest() + : base("Mts", "2014-06-18", "UpdateWaterMarkTemplate", "mts", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.Mts.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private long? resourceOwnerId; + + private string waterMarkTemplateId; + + private string resourceOwnerAccount; + + private string ownerAccount; + + private long? ownerId; + + private string name; + + private string config; + + public long? ResourceOwnerId + { + get + { + return resourceOwnerId; + } + set + { + resourceOwnerId = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString()); + } + } + + public string WaterMarkTemplateId + { + get + { + return waterMarkTemplateId; + } + set + { + waterMarkTemplateId = value; + DictionaryUtil.Add(QueryParameters, "WaterMarkTemplateId", value); + } + } + + public string ResourceOwnerAccount + { + get + { + return resourceOwnerAccount; + } + set + { + resourceOwnerAccount = value; + DictionaryUtil.Add(QueryParameters, "ResourceOwnerAccount", value); + } + } + + public string OwnerAccount + { + get + { + return ownerAccount; + } + set + { + ownerAccount = value; + DictionaryUtil.Add(QueryParameters, "OwnerAccount", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "Name", value); + } + } + + public string Config + { + get + { + return config; + } + set + { + config = value; + DictionaryUtil.Add(QueryParameters, "Config", value); + } + } + + public override UpdateWaterMarkTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateWaterMarkTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateResponse.cs b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateResponse.cs new file mode 100644 index 000000000..6e8294003 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Model/V20140618/UpdateWaterMarkTemplateResponse.cs @@ -0,0 +1,306 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.Mts.Model.V20140618 +{ + public class UpdateWaterMarkTemplateResponse : AcsResponse + { + + private string requestId; + + private UpdateWaterMarkTemplate_WaterMarkTemplate waterMarkTemplate; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public UpdateWaterMarkTemplate_WaterMarkTemplate WaterMarkTemplate + { + get + { + return waterMarkTemplate; + } + set + { + waterMarkTemplate = value; + } + } + + public class UpdateWaterMarkTemplate_WaterMarkTemplate + { + + private string type; + + private string referPos; + + private string state; + + private string dx; + + private string width; + + private string height; + + private string name; + + private string dy; + + private string id; + + private UpdateWaterMarkTemplate_RatioRefer ratioRefer; + + private UpdateWaterMarkTemplate_Timeline timeline; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string ReferPos + { + get + { + return referPos; + } + set + { + referPos = value; + } + } + + public string State + { + get + { + return state; + } + set + { + state = value; + } + } + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public UpdateWaterMarkTemplate_RatioRefer RatioRefer + { + get + { + return ratioRefer; + } + set + { + ratioRefer = value; + } + } + + public UpdateWaterMarkTemplate_Timeline Timeline + { + get + { + return timeline; + } + set + { + timeline = value; + } + } + + public class UpdateWaterMarkTemplate_RatioRefer + { + + private string dx; + + private string width; + + private string height; + + private string dy; + + public string Dx + { + get + { + return dx; + } + set + { + dx = value; + } + } + + public string Width + { + get + { + return width; + } + set + { + width = value; + } + } + + public string Height + { + get + { + return height; + } + set + { + height = value; + } + } + + public string Dy + { + get + { + return dy; + } + set + { + dy = value; + } + } + } + + public class UpdateWaterMarkTemplate_Timeline + { + + private string start; + + private string duration; + + public string Start + { + get + { + return start; + } + set + { + start = value; + } + } + + public string Duration + { + get + { + return duration; + } + set + { + duration = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ActivateMediaWorkflowResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ActivateMediaWorkflowResponseUnmarshaller.cs new file mode 100644 index 000000000..5b0038560 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ActivateMediaWorkflowResponseUnmarshaller.cs @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ActivateMediaWorkflowResponseUnmarshaller + { + public static ActivateMediaWorkflowResponse Unmarshall(UnmarshallerContext _ctx) + { + ActivateMediaWorkflowResponse activateMediaWorkflowResponse = new ActivateMediaWorkflowResponse(); + + activateMediaWorkflowResponse.HttpResponse = _ctx.HttpResponse; + activateMediaWorkflowResponse.RequestId = _ctx.StringValue("ActivateMediaWorkflow.RequestId"); + + ActivateMediaWorkflowResponse.ActivateMediaWorkflow_MediaWorkflow mediaWorkflow = new ActivateMediaWorkflowResponse.ActivateMediaWorkflow_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("ActivateMediaWorkflow.MediaWorkflow.CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("ActivateMediaWorkflow.MediaWorkflow.MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("ActivateMediaWorkflow.MediaWorkflow.State"); + mediaWorkflow.Name = _ctx.StringValue("ActivateMediaWorkflow.MediaWorkflow.Name"); + mediaWorkflow.Topology = _ctx.StringValue("ActivateMediaWorkflow.MediaWorkflow.Topology"); + activateMediaWorkflowResponse.MediaWorkflow = mediaWorkflow; + + return activateMediaWorkflowResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaResponseUnmarshaller.cs new file mode 100644 index 000000000..af9c2c8b2 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaResponseUnmarshaller.cs @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddMediaResponseUnmarshaller + { + public static AddMediaResponse Unmarshall(UnmarshallerContext _ctx) + { + AddMediaResponse addMediaResponse = new AddMediaResponse(); + + addMediaResponse.HttpResponse = _ctx.HttpResponse; + addMediaResponse.RequestId = _ctx.StringValue("AddMedia.RequestId"); + + AddMediaResponse.AddMedia_Media media = new AddMediaResponse.AddMedia_Media(); + media.CreationTime = _ctx.StringValue("AddMedia.Media.CreationTime"); + media.CateId = _ctx.LongValue("AddMedia.Media.CateId"); + media.Height = _ctx.StringValue("AddMedia.Media.Height"); + media.CensorState = _ctx.StringValue("AddMedia.Media.CensorState"); + media.Bitrate = _ctx.StringValue("AddMedia.Media.Bitrate"); + media.MediaId = _ctx.StringValue("AddMedia.Media.MediaId"); + media.PublishState = _ctx.StringValue("AddMedia.Media.PublishState"); + media.Description = _ctx.StringValue("AddMedia.Media.Description"); + media.Width = _ctx.StringValue("AddMedia.Media.Width"); + media.Size = _ctx.StringValue("AddMedia.Media.Size"); + media.CoverURL = _ctx.StringValue("AddMedia.Media.CoverURL"); + media.Duration = _ctx.StringValue("AddMedia.Media.Duration"); + media.Fps = _ctx.StringValue("AddMedia.Media.Fps"); + media.Title = _ctx.StringValue("AddMedia.Media.Title"); + media.Format = _ctx.StringValue("AddMedia.Media.Format"); + + List media_tags = new List(); + for (int i = 0; i < _ctx.Length("AddMedia.Media.Tags.Length"); i++) { + media_tags.Add(_ctx.StringValue("AddMedia.Media.Tags["+ i +"]")); + } + media.Tags = media_tags; + + List media_runIdList = new List(); + for (int i = 0; i < _ctx.Length("AddMedia.Media.RunIdList.Length"); i++) { + media_runIdList.Add(_ctx.StringValue("AddMedia.Media.RunIdList["+ i +"]")); + } + media.RunIdList = media_runIdList; + + AddMediaResponse.AddMedia_Media.AddMedia_File file = new AddMediaResponse.AddMedia_Media.AddMedia_File(); + file.State = _ctx.StringValue("AddMedia.Media.File.State"); + file.URL = _ctx.StringValue("AddMedia.Media.File.URL"); + media.File = file; + addMediaResponse.Media = media; + + return addMediaResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaTagResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaTagResponseUnmarshaller.cs new file mode 100644 index 000000000..40c1d4fc9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaTagResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddMediaTagResponseUnmarshaller + { + public static AddMediaTagResponse Unmarshall(UnmarshallerContext _ctx) + { + AddMediaTagResponse addMediaTagResponse = new AddMediaTagResponse(); + + addMediaTagResponse.HttpResponse = _ctx.HttpResponse; + addMediaTagResponse.RequestId = _ctx.StringValue("AddMediaTag.RequestId"); + + return addMediaTagResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaWorkflowResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaWorkflowResponseUnmarshaller.cs new file mode 100644 index 000000000..0f01225dd --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddMediaWorkflowResponseUnmarshaller.cs @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddMediaWorkflowResponseUnmarshaller + { + public static AddMediaWorkflowResponse Unmarshall(UnmarshallerContext _ctx) + { + AddMediaWorkflowResponse addMediaWorkflowResponse = new AddMediaWorkflowResponse(); + + addMediaWorkflowResponse.HttpResponse = _ctx.HttpResponse; + addMediaWorkflowResponse.RequestId = _ctx.StringValue("AddMediaWorkflow.RequestId"); + + AddMediaWorkflowResponse.AddMediaWorkflow_MediaWorkflow mediaWorkflow = new AddMediaWorkflowResponse.AddMediaWorkflow_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("AddMediaWorkflow.MediaWorkflow.CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("AddMediaWorkflow.MediaWorkflow.MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("AddMediaWorkflow.MediaWorkflow.State"); + mediaWorkflow.TriggerMode = _ctx.StringValue("AddMediaWorkflow.MediaWorkflow.TriggerMode"); + mediaWorkflow.Name = _ctx.StringValue("AddMediaWorkflow.MediaWorkflow.Name"); + mediaWorkflow.Topology = _ctx.StringValue("AddMediaWorkflow.MediaWorkflow.Topology"); + addMediaWorkflowResponse.MediaWorkflow = mediaWorkflow; + + return addMediaWorkflowResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddPipelineResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddPipelineResponseUnmarshaller.cs new file mode 100644 index 000000000..5cd72a408 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddPipelineResponseUnmarshaller.cs @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddPipelineResponseUnmarshaller + { + public static AddPipelineResponse Unmarshall(UnmarshallerContext _ctx) + { + AddPipelineResponse addPipelineResponse = new AddPipelineResponse(); + + addPipelineResponse.HttpResponse = _ctx.HttpResponse; + addPipelineResponse.RequestId = _ctx.StringValue("AddPipeline.RequestId"); + + AddPipelineResponse.AddPipeline_Pipeline pipeline = new AddPipelineResponse.AddPipeline_Pipeline(); + pipeline.Speed = _ctx.StringValue("AddPipeline.Pipeline.Speed"); + pipeline.State = _ctx.StringValue("AddPipeline.Pipeline.State"); + pipeline.SpeedLevel = _ctx.LongValue("AddPipeline.Pipeline.SpeedLevel"); + pipeline.Role = _ctx.StringValue("AddPipeline.Pipeline.Role"); + pipeline.Name = _ctx.StringValue("AddPipeline.Pipeline.Name"); + pipeline.Id = _ctx.StringValue("AddPipeline.Pipeline.Id"); + pipeline.QuotaAllocate = _ctx.LongValue("AddPipeline.Pipeline.QuotaAllocate"); + + AddPipelineResponse.AddPipeline_Pipeline.AddPipeline_NotifyConfig notifyConfig = new AddPipelineResponse.AddPipeline_Pipeline.AddPipeline_NotifyConfig(); + notifyConfig.MqTopic = _ctx.StringValue("AddPipeline.Pipeline.NotifyConfig.MqTopic"); + notifyConfig.QueueName = _ctx.StringValue("AddPipeline.Pipeline.NotifyConfig.QueueName"); + notifyConfig.MqTag = _ctx.StringValue("AddPipeline.Pipeline.NotifyConfig.MqTag"); + notifyConfig.Topic = _ctx.StringValue("AddPipeline.Pipeline.NotifyConfig.Topic"); + pipeline.NotifyConfig = notifyConfig; + + AddPipelineResponse.AddPipeline_Pipeline.AddPipeline_ExtendConfig extendConfig = new AddPipelineResponse.AddPipeline_Pipeline.AddPipeline_ExtendConfig(); + extendConfig.IsBoostNew = _ctx.BooleanValue("AddPipeline.Pipeline.ExtendConfig.IsBoostNew"); + extendConfig.MaxMultiSpeed = _ctx.IntegerValue("AddPipeline.Pipeline.ExtendConfig.MaxMultiSpeed"); + extendConfig.MultiSpeedDowngradePolicy = _ctx.StringValue("AddPipeline.Pipeline.ExtendConfig.MultiSpeedDowngradePolicy"); + pipeline.ExtendConfig = extendConfig; + addPipelineResponse.Pipeline = pipeline; + + return addPipelineResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddSmarttagTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddSmarttagTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..c64295b75 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddSmarttagTemplateResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddSmarttagTemplateResponseUnmarshaller + { + public static AddSmarttagTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + AddSmarttagTemplateResponse addSmarttagTemplateResponse = new AddSmarttagTemplateResponse(); + + addSmarttagTemplateResponse.HttpResponse = _ctx.HttpResponse; + addSmarttagTemplateResponse.RequestId = _ctx.StringValue("AddSmarttagTemplate.RequestId"); + addSmarttagTemplateResponse.TemplateId = _ctx.StringValue("AddSmarttagTemplate.TemplateId"); + + return addSmarttagTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..7dc0f970a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddTemplateResponseUnmarshaller.cs @@ -0,0 +1,133 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddTemplateResponseUnmarshaller + { + public static AddTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + AddTemplateResponse addTemplateResponse = new AddTemplateResponse(); + + addTemplateResponse.HttpResponse = _ctx.HttpResponse; + addTemplateResponse.RequestId = _ctx.StringValue("AddTemplate.RequestId"); + + AddTemplateResponse.AddTemplate_Template template = new AddTemplateResponse.AddTemplate_Template(); + template.State = _ctx.StringValue("AddTemplate.Template.State"); + template.Name = _ctx.StringValue("AddTemplate.Template.Name"); + template.Id = _ctx.StringValue("AddTemplate.Template.Id"); + + AddTemplateResponse.AddTemplate_Template.AddTemplate_Video video = new AddTemplateResponse.AddTemplate_Template.AddTemplate_Video(); + video.Bufsize = _ctx.StringValue("AddTemplate.Template.Video.Bufsize"); + video.LongShortMode = _ctx.StringValue("AddTemplate.Template.Video.LongShortMode"); + video.Degrain = _ctx.StringValue("AddTemplate.Template.Video.Degrain"); + video.PixFmt = _ctx.StringValue("AddTemplate.Template.Video.PixFmt"); + video.Pad = _ctx.StringValue("AddTemplate.Template.Video.Pad"); + video.Codec = _ctx.StringValue("AddTemplate.Template.Video.Codec"); + video.Height = _ctx.StringValue("AddTemplate.Template.Video.Height"); + video.Qscale = _ctx.StringValue("AddTemplate.Template.Video.Qscale"); + video.Crop = _ctx.StringValue("AddTemplate.Template.Video.Crop"); + video.Bitrate = _ctx.StringValue("AddTemplate.Template.Video.Bitrate"); + video.Maxrate = _ctx.StringValue("AddTemplate.Template.Video.Maxrate"); + video.MaxFps = _ctx.StringValue("AddTemplate.Template.Video.MaxFps"); + video.Profile = _ctx.StringValue("AddTemplate.Template.Video.Profile"); + video.Crf = _ctx.StringValue("AddTemplate.Template.Video.Crf"); + video._Remove = _ctx.StringValue("AddTemplate.Template.Video.Remove"); + video.Gop = _ctx.StringValue("AddTemplate.Template.Video.Gop"); + video.Width = _ctx.StringValue("AddTemplate.Template.Video.Width"); + video.Fps = _ctx.StringValue("AddTemplate.Template.Video.Fps"); + video.Preset = _ctx.StringValue("AddTemplate.Template.Video.Preset"); + video.ScanMode = _ctx.StringValue("AddTemplate.Template.Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("AddTemplate.Template.Video.ResoPriority"); + video.Hdr2sdr = _ctx.StringValue("AddTemplate.Template.Video.Hdr2sdr"); + + AddTemplateResponse.AddTemplate_Template.AddTemplate_Video.AddTemplate_BitrateBnd bitrateBnd = new AddTemplateResponse.AddTemplate_Template.AddTemplate_Video.AddTemplate_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("AddTemplate.Template.Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("AddTemplate.Template.Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_Video.AddTemplate_NarrowBand narrowBand = new AddTemplateResponse.AddTemplate_Template.AddTemplate_Video.AddTemplate_NarrowBand(); + narrowBand.Version = _ctx.StringValue("AddTemplate.Template.Video.NarrowBand.Version"); + narrowBand.Abrmax = _ctx.FloatValue("AddTemplate.Template.Video.NarrowBand.Abrmax"); + narrowBand.MaxAbrRatio = _ctx.FloatValue("AddTemplate.Template.Video.NarrowBand.MaxAbrRatio"); + video.NarrowBand = narrowBand; + template.Video = video; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_TransConfig transConfig = new AddTemplateResponse.AddTemplate_Template.AddTemplate_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("AddTemplate.Template.TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("AddTemplate.Template.TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("AddTemplate.Template.TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("AddTemplate.Template.TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("AddTemplate.Template.TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("AddTemplate.Template.TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("AddTemplate.Template.TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("AddTemplate.Template.TransConfig.IsCheckAudioBitrateFail"); + template.TransConfig = transConfig; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig muxConfig = new AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig(); + + AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig.AddTemplate_Webp webp = new AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig.AddTemplate_Webp(); + webp.Loop = _ctx.StringValue("AddTemplate.Template.MuxConfig.Webp.Loop"); + muxConfig.Webp = webp; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig.AddTemplate_Gif gif = new AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig.AddTemplate_Gif(); + gif.FinalDelay = _ctx.StringValue("AddTemplate.Template.MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("AddTemplate.Template.MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("AddTemplate.Template.MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("AddTemplate.Template.MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig.AddTemplate_Segment segment = new AddTemplateResponse.AddTemplate_Template.AddTemplate_MuxConfig.AddTemplate_Segment(); + segment.Duration = _ctx.StringValue("AddTemplate.Template.MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + template.MuxConfig = muxConfig; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_Audio audio = new AddTemplateResponse.AddTemplate_Template.AddTemplate_Audio(); + audio.Profile = _ctx.StringValue("AddTemplate.Template.Audio.Profile"); + audio._Remove = _ctx.StringValue("AddTemplate.Template.Audio.Remove"); + audio.Codec = _ctx.StringValue("AddTemplate.Template.Audio.Codec"); + audio.Samplerate = _ctx.StringValue("AddTemplate.Template.Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("AddTemplate.Template.Audio.Qscale"); + audio.Channels = _ctx.StringValue("AddTemplate.Template.Audio.Channels"); + audio.Bitrate = _ctx.StringValue("AddTemplate.Template.Audio.Bitrate"); + + AddTemplateResponse.AddTemplate_Template.AddTemplate_Audio.AddTemplate_Volume volume = new AddTemplateResponse.AddTemplate_Template.AddTemplate_Audio.AddTemplate_Volume(); + volume.Method = _ctx.StringValue("AddTemplate.Template.Audio.Volume.Method"); + volume.Level = _ctx.StringValue("AddTemplate.Template.Audio.Volume.Level"); + volume.IntegratedLoudnessTarget = _ctx.StringValue("AddTemplate.Template.Audio.Volume.IntegratedLoudnessTarget"); + volume.TruePeak = _ctx.StringValue("AddTemplate.Template.Audio.Volume.TruePeak"); + volume.LoudnessRangeTarget = _ctx.StringValue("AddTemplate.Template.Audio.Volume.LoudnessRangeTarget"); + volume.PeakLevel = _ctx.StringValue("AddTemplate.Template.Audio.Volume.PeakLevel"); + audio.Volume = volume; + template.Audio = audio; + + AddTemplateResponse.AddTemplate_Template.AddTemplate_Container container = new AddTemplateResponse.AddTemplate_Template.AddTemplate_Container(); + container.Format = _ctx.StringValue("AddTemplate.Template.Container.Format"); + template.Container = container; + addTemplateResponse.Template = template; + + return addTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddWaterMarkTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddWaterMarkTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..6817caecc --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/AddWaterMarkTemplateResponseUnmarshaller.cs @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class AddWaterMarkTemplateResponseUnmarshaller + { + public static AddWaterMarkTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + AddWaterMarkTemplateResponse addWaterMarkTemplateResponse = new AddWaterMarkTemplateResponse(); + + addWaterMarkTemplateResponse.HttpResponse = _ctx.HttpResponse; + addWaterMarkTemplateResponse.RequestId = _ctx.StringValue("AddWaterMarkTemplate.RequestId"); + + AddWaterMarkTemplateResponse.AddWaterMarkTemplate_WaterMarkTemplate waterMarkTemplate = new AddWaterMarkTemplateResponse.AddWaterMarkTemplate_WaterMarkTemplate(); + waterMarkTemplate.Type = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Type"); + waterMarkTemplate.ReferPos = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.ReferPos"); + waterMarkTemplate.State = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.State"); + waterMarkTemplate.Dx = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Dx"); + waterMarkTemplate.Width = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Width"); + waterMarkTemplate.Height = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Height"); + waterMarkTemplate.Name = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Name"); + waterMarkTemplate.Dy = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Dy"); + waterMarkTemplate.Id = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Id"); + + AddWaterMarkTemplateResponse.AddWaterMarkTemplate_WaterMarkTemplate.AddWaterMarkTemplate_RatioRefer ratioRefer = new AddWaterMarkTemplateResponse.AddWaterMarkTemplate_WaterMarkTemplate.AddWaterMarkTemplate_RatioRefer(); + ratioRefer.Dx = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Dx"); + ratioRefer.Width = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Width"); + ratioRefer.Height = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Height"); + ratioRefer.Dy = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Dy"); + waterMarkTemplate.RatioRefer = ratioRefer; + + AddWaterMarkTemplateResponse.AddWaterMarkTemplate_WaterMarkTemplate.AddWaterMarkTemplate_Timeline timeline = new AddWaterMarkTemplateResponse.AddWaterMarkTemplate_WaterMarkTemplate.AddWaterMarkTemplate_Timeline(); + timeline.Start = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Timeline.Start"); + timeline.Duration = _ctx.StringValue("AddWaterMarkTemplate.WaterMarkTemplate.Timeline.Duration"); + waterMarkTemplate.Timeline = timeline; + addWaterMarkTemplateResponse.WaterMarkTemplate = waterMarkTemplate; + + return addWaterMarkTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/BindInputBucketResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/BindInputBucketResponseUnmarshaller.cs new file mode 100644 index 000000000..4ea040e1f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/BindInputBucketResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class BindInputBucketResponseUnmarshaller + { + public static BindInputBucketResponse Unmarshall(UnmarshallerContext _ctx) + { + BindInputBucketResponse bindInputBucketResponse = new BindInputBucketResponse(); + + bindInputBucketResponse.HttpResponse = _ctx.HttpResponse; + bindInputBucketResponse.RequestId = _ctx.StringValue("BindInputBucket.RequestId"); + + return bindInputBucketResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/BindOutputBucketResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/BindOutputBucketResponseUnmarshaller.cs new file mode 100644 index 000000000..5c473f9e7 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/BindOutputBucketResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class BindOutputBucketResponseUnmarshaller + { + public static BindOutputBucketResponse Unmarshall(UnmarshallerContext _ctx) + { + BindOutputBucketResponse bindOutputBucketResponse = new BindOutputBucketResponse(); + + bindOutputBucketResponse.HttpResponse = _ctx.HttpResponse; + bindOutputBucketResponse.RequestId = _ctx.StringValue("BindOutputBucket.RequestId"); + + return bindOutputBucketResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/CancelJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CancelJobResponseUnmarshaller.cs new file mode 100644 index 000000000..650829bab --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CancelJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class CancelJobResponseUnmarshaller + { + public static CancelJobResponse Unmarshall(UnmarshallerContext _ctx) + { + CancelJobResponse cancelJobResponse = new CancelJobResponse(); + + cancelJobResponse.HttpResponse = _ctx.HttpResponse; + cancelJobResponse.RequestId = _ctx.StringValue("CancelJob.RequestId"); + cancelJobResponse.JobId = _ctx.StringValue("CancelJob.JobId"); + + return cancelJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomEntityResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomEntityResponseUnmarshaller.cs new file mode 100644 index 000000000..833e9947b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomEntityResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class CreateCustomEntityResponseUnmarshaller + { + public static CreateCustomEntityResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateCustomEntityResponse createCustomEntityResponse = new CreateCustomEntityResponse(); + + createCustomEntityResponse.HttpResponse = _ctx.HttpResponse; + createCustomEntityResponse.CustomEntityId = _ctx.StringValue("CreateCustomEntity.CustomEntityId"); + createCustomEntityResponse.RequestId = _ctx.StringValue("CreateCustomEntity.RequestId"); + + return createCustomEntityResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomGroupResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomGroupResponseUnmarshaller.cs new file mode 100644 index 000000000..dcc42fff3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateCustomGroupResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class CreateCustomGroupResponseUnmarshaller + { + public static CreateCustomGroupResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateCustomGroupResponse createCustomGroupResponse = new CreateCustomGroupResponse(); + + createCustomGroupResponse.HttpResponse = _ctx.HttpResponse; + createCustomGroupResponse.CustomGroupId = _ctx.StringValue("CreateCustomGroup.CustomGroupId"); + createCustomGroupResponse.RequestId = _ctx.StringValue("CreateCustomGroup.RequestId"); + + return createCustomGroupResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateFpShotDBResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateFpShotDBResponseUnmarshaller.cs new file mode 100644 index 000000000..3910f9ac7 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/CreateFpShotDBResponseUnmarshaller.cs @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class CreateFpShotDBResponseUnmarshaller + { + public static CreateFpShotDBResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateFpShotDBResponse createFpShotDBResponse = new CreateFpShotDBResponse(); + + createFpShotDBResponse.HttpResponse = _ctx.HttpResponse; + createFpShotDBResponse.RequestId = _ctx.StringValue("CreateFpShotDB.RequestId"); + + CreateFpShotDBResponse.CreateFpShotDB_FpShotDB fpShotDB = new CreateFpShotDBResponse.CreateFpShotDB_FpShotDB(); + fpShotDB.Description = _ctx.StringValue("CreateFpShotDB.FpShotDB.Description"); + fpShotDB.State = _ctx.StringValue("CreateFpShotDB.FpShotDB.State"); + fpShotDB.Name = _ctx.StringValue("CreateFpShotDB.FpShotDB.Name"); + fpShotDB.FpDBId = _ctx.StringValue("CreateFpShotDB.FpShotDB.FpDBId"); + fpShotDB.ModelId = _ctx.IntegerValue("CreateFpShotDB.FpShotDB.ModelId"); + fpShotDB.Config = _ctx.StringValue("CreateFpShotDB.FpShotDB.Config"); + fpShotDB.InstanceId = _ctx.StringValue("CreateFpShotDB.FpShotDB.InstanceId"); + createFpShotDBResponse.FpShotDB = fpShotDB; + + return createFpShotDBResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeactivateMediaWorkflowResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeactivateMediaWorkflowResponseUnmarshaller.cs new file mode 100644 index 000000000..7ed51aa5e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeactivateMediaWorkflowResponseUnmarshaller.cs @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeactivateMediaWorkflowResponseUnmarshaller + { + public static DeactivateMediaWorkflowResponse Unmarshall(UnmarshallerContext _ctx) + { + DeactivateMediaWorkflowResponse deactivateMediaWorkflowResponse = new DeactivateMediaWorkflowResponse(); + + deactivateMediaWorkflowResponse.HttpResponse = _ctx.HttpResponse; + deactivateMediaWorkflowResponse.RequestId = _ctx.StringValue("DeactivateMediaWorkflow.RequestId"); + + DeactivateMediaWorkflowResponse.DeactivateMediaWorkflow_MediaWorkflow mediaWorkflow = new DeactivateMediaWorkflowResponse.DeactivateMediaWorkflow_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("DeactivateMediaWorkflow.MediaWorkflow.CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("DeactivateMediaWorkflow.MediaWorkflow.MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("DeactivateMediaWorkflow.MediaWorkflow.State"); + mediaWorkflow.Name = _ctx.StringValue("DeactivateMediaWorkflow.MediaWorkflow.Name"); + mediaWorkflow.Topology = _ctx.StringValue("DeactivateMediaWorkflow.MediaWorkflow.Topology"); + deactivateMediaWorkflowResponse.MediaWorkflow = mediaWorkflow; + + return deactivateMediaWorkflowResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomEntityResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomEntityResponseUnmarshaller.cs new file mode 100644 index 000000000..4166812bb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomEntityResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteCustomEntityResponseUnmarshaller + { + public static DeleteCustomEntityResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteCustomEntityResponse deleteCustomEntityResponse = new DeleteCustomEntityResponse(); + + deleteCustomEntityResponse.HttpResponse = _ctx.HttpResponse; + deleteCustomEntityResponse.RequestId = _ctx.StringValue("DeleteCustomEntity.RequestId"); + + return deleteCustomEntityResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomGroupResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomGroupResponseUnmarshaller.cs new file mode 100644 index 000000000..3dd77f346 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomGroupResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteCustomGroupResponseUnmarshaller + { + public static DeleteCustomGroupResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteCustomGroupResponse deleteCustomGroupResponse = new DeleteCustomGroupResponse(); + + deleteCustomGroupResponse.HttpResponse = _ctx.HttpResponse; + deleteCustomGroupResponse.RequestId = _ctx.StringValue("DeleteCustomGroup.RequestId"); + + return deleteCustomGroupResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomViewResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomViewResponseUnmarshaller.cs new file mode 100644 index 000000000..7d658e2af --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteCustomViewResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteCustomViewResponseUnmarshaller + { + public static DeleteCustomViewResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteCustomViewResponse deleteCustomViewResponse = new DeleteCustomViewResponse(); + + deleteCustomViewResponse.HttpResponse = _ctx.HttpResponse; + deleteCustomViewResponse.RequestId = _ctx.StringValue("DeleteCustomView.RequestId"); + + return deleteCustomViewResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaResponseUnmarshaller.cs new file mode 100644 index 000000000..517b2ca1b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteMediaResponseUnmarshaller + { + public static DeleteMediaResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteMediaResponse deleteMediaResponse = new DeleteMediaResponse(); + + deleteMediaResponse.HttpResponse = _ctx.HttpResponse; + deleteMediaResponse.RequestId = _ctx.StringValue("DeleteMedia.RequestId"); + + return deleteMediaResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaTagResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaTagResponseUnmarshaller.cs new file mode 100644 index 000000000..639fdf1fb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaTagResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteMediaTagResponseUnmarshaller + { + public static DeleteMediaTagResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteMediaTagResponse deleteMediaTagResponse = new DeleteMediaTagResponse(); + + deleteMediaTagResponse.HttpResponse = _ctx.HttpResponse; + deleteMediaTagResponse.RequestId = _ctx.StringValue("DeleteMediaTag.RequestId"); + + return deleteMediaTagResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaWorkflowResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaWorkflowResponseUnmarshaller.cs new file mode 100644 index 000000000..60452d053 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteMediaWorkflowResponseUnmarshaller.cs @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteMediaWorkflowResponseUnmarshaller + { + public static DeleteMediaWorkflowResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteMediaWorkflowResponse deleteMediaWorkflowResponse = new DeleteMediaWorkflowResponse(); + + deleteMediaWorkflowResponse.HttpResponse = _ctx.HttpResponse; + deleteMediaWorkflowResponse.RequestId = _ctx.StringValue("DeleteMediaWorkflow.RequestId"); + + DeleteMediaWorkflowResponse.DeleteMediaWorkflow_MediaWorkflow mediaWorkflow = new DeleteMediaWorkflowResponse.DeleteMediaWorkflow_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("DeleteMediaWorkflow.MediaWorkflow.CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("DeleteMediaWorkflow.MediaWorkflow.MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("DeleteMediaWorkflow.MediaWorkflow.State"); + mediaWorkflow.Name = _ctx.StringValue("DeleteMediaWorkflow.MediaWorkflow.Name"); + mediaWorkflow.Topology = _ctx.StringValue("DeleteMediaWorkflow.MediaWorkflow.Topology"); + deleteMediaWorkflowResponse.MediaWorkflow = mediaWorkflow; + + return deleteMediaWorkflowResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeletePipelineResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeletePipelineResponseUnmarshaller.cs new file mode 100644 index 000000000..43e67a6da --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeletePipelineResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeletePipelineResponseUnmarshaller + { + public static DeletePipelineResponse Unmarshall(UnmarshallerContext _ctx) + { + DeletePipelineResponse deletePipelineResponse = new DeletePipelineResponse(); + + deletePipelineResponse.HttpResponse = _ctx.HttpResponse; + deletePipelineResponse.RequestId = _ctx.StringValue("DeletePipeline.RequestId"); + deletePipelineResponse.PipelineId = _ctx.StringValue("DeletePipeline.PipelineId"); + + return deletePipelineResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteSmarttagTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteSmarttagTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..210fa5463 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteSmarttagTemplateResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteSmarttagTemplateResponseUnmarshaller + { + public static DeleteSmarttagTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteSmarttagTemplateResponse deleteSmarttagTemplateResponse = new DeleteSmarttagTemplateResponse(); + + deleteSmarttagTemplateResponse.HttpResponse = _ctx.HttpResponse; + deleteSmarttagTemplateResponse.RequestId = _ctx.StringValue("DeleteSmarttagTemplate.RequestId"); + + return deleteSmarttagTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..7747d1674 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteTemplateResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteTemplateResponseUnmarshaller + { + public static DeleteTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteTemplateResponse deleteTemplateResponse = new DeleteTemplateResponse(); + + deleteTemplateResponse.HttpResponse = _ctx.HttpResponse; + deleteTemplateResponse.RequestId = _ctx.StringValue("DeleteTemplate.RequestId"); + deleteTemplateResponse.TemplateId = _ctx.StringValue("DeleteTemplate.TemplateId"); + + return deleteTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteWaterMarkTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteWaterMarkTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..1e2869bbb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/DeleteWaterMarkTemplateResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class DeleteWaterMarkTemplateResponseUnmarshaller + { + public static DeleteWaterMarkTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteWaterMarkTemplateResponse deleteWaterMarkTemplateResponse = new DeleteWaterMarkTemplateResponse(); + + deleteWaterMarkTemplateResponse.HttpResponse = _ctx.HttpResponse; + deleteWaterMarkTemplateResponse.RequestId = _ctx.StringValue("DeleteWaterMarkTemplate.RequestId"); + deleteWaterMarkTemplateResponse.WaterMarkTemplateId = _ctx.StringValue("DeleteWaterMarkTemplate.WaterMarkTemplateId"); + + return deleteWaterMarkTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ImAuditResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ImAuditResponseUnmarshaller.cs new file mode 100644 index 000000000..698fb2d93 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ImAuditResponseUnmarshaller.cs @@ -0,0 +1,218 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ImAuditResponseUnmarshaller + { + public static ImAuditResponse Unmarshall(UnmarshallerContext _ctx) + { + ImAuditResponse imAuditResponse = new ImAuditResponse(); + + imAuditResponse.HttpResponse = _ctx.HttpResponse; + imAuditResponse.TextQuotaExceed = _ctx.BooleanValue("ImAudit.TextQuotaExceed"); + imAuditResponse.ImageQuotaExceed = _ctx.BooleanValue("ImAudit.ImageQuotaExceed"); + imAuditResponse.RequestId = _ctx.StringValue("ImAudit.RequestId"); + + ImAuditResponse.ImAudit_ImageResults imageResults = new ImAuditResponse.ImAudit_ImageResults(); + + List imageResults_result = new List(); + for (int i = 0; i < _ctx.Length("ImAudit.ImageResults.Result.Length"); i++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem resultItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem(); + resultItem.Code = _ctx.LongValue("ImAudit.ImageResults.Result["+ i +"].code"); + resultItem.DataId = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].dataId"); + resultItem.Extras = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].extras"); + resultItem.Msg = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].msg"); + resultItem.TaskId = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].taskId"); + resultItem.Url = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].url"); + + List resultItem_results = new List(); + for (int j = 0; j < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results.Length"); j++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result result = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result(); + result.Label = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Label"); + result.Rate = _ctx.DoubleValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Rate"); + result.Scene = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Scene"); + result.Suggestion = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Suggestion"); + + List result_qrcodeData = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeData.Length"); k++) { + result_qrcodeData.Add(_ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeData["+ k +"]")); + } + result.QrcodeData = result_qrcodeData; + + List result_ocrData = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].OcrData.Length"); k++) { + result_ocrData.Add(_ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].OcrData["+ k +"]")); + } + result.OcrData = result_ocrData; + + List result_hintWordsInfo = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].HintWordsInfo.Length"); k++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_HintWordsInfoItem hintWordsInfoItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_HintWordsInfoItem(); + hintWordsInfoItem.Context = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].HintWordsInfo["+ k +"].context"); + + result_hintWordsInfo.Add(hintWordsInfoItem); + } + result.HintWordsInfo = result_hintWordsInfo; + + List result_qrcodeLocations = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeLocations.Length"); k++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_QrcodeLocationsItem qrcodeLocationsItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_QrcodeLocationsItem(); + qrcodeLocationsItem.X = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeLocations["+ k +"].x"); + qrcodeLocationsItem.Y = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeLocations["+ k +"].y"); + qrcodeLocationsItem.W = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeLocations["+ k +"].w"); + qrcodeLocationsItem.H = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeLocations["+ k +"].h"); + qrcodeLocationsItem.Qrcode = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].QrcodeLocations["+ k +"].qrcode"); + + result_qrcodeLocations.Add(qrcodeLocationsItem); + } + result.QrcodeLocations = result_qrcodeLocations; + + List result_programCodeData = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].ProgramCodeData.Length"); k++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_ProgramCodeDataItem programCodeDataItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_ProgramCodeDataItem(); + programCodeDataItem.X = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].ProgramCodeData["+ k +"].x"); + programCodeDataItem.Y = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].ProgramCodeData["+ k +"].y"); + programCodeDataItem.W = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].ProgramCodeData["+ k +"].w"); + programCodeDataItem.H = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].ProgramCodeData["+ k +"].h"); + + result_programCodeData.Add(programCodeDataItem); + } + result.ProgramCodeData = result_programCodeData; + + List result_logoData = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData.Length"); k++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_LogoDataItem logoDataItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_LogoDataItem(); + logoDataItem.Type = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData["+ k +"].type"); + logoDataItem.Name = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData["+ k +"].name"); + logoDataItem.X = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData["+ k +"].x"); + logoDataItem.Y = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData["+ k +"].y"); + logoDataItem.W = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData["+ k +"].w"); + logoDataItem.H = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].LogoData["+ k +"].h"); + + result_logoData.Add(logoDataItem); + } + result.LogoData = result_logoData; + + List result_sfaceData = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData.Length"); k++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_SfaceDataItem sfaceDataItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_SfaceDataItem(); + sfaceDataItem.X = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].x"); + sfaceDataItem.Y = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].y"); + sfaceDataItem.W = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].w"); + sfaceDataItem.H = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].h"); + + List sfaceDataItem_faces = new List(); + for (int l = 0; l < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].Faces.Length"); l++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_SfaceDataItem.ImAudit_FacesItem facesItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_SfaceDataItem.ImAudit_FacesItem(); + facesItem.Name = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].Faces["+ l +"].name"); + facesItem.Re = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].Faces["+ l +"].re"); + facesItem.Idid = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].SfaceData["+ k +"].Faces["+ l +"].idid"); + + sfaceDataItem_faces.Add(facesItem); + } + sfaceDataItem.Faces = sfaceDataItem_faces; + + result_sfaceData.Add(sfaceDataItem); + } + result.SfaceData = result_sfaceData; + + List result_frames = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Frames.Length"); k++) { + ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_FramesItem framesItem = new ImAuditResponse.ImAudit_ImageResults.ImAudit_ResultItem.ImAudit_Result.ImAudit_FramesItem(); + framesItem.Rate = _ctx.FloatValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Frames["+ k +"].rate"); + framesItem.Url = _ctx.StringValue("ImAudit.ImageResults.Result["+ i +"].Results["+ j +"].Frames["+ k +"].url"); + + result_frames.Add(framesItem); + } + result.Frames = result_frames; + + resultItem_results.Add(result); + } + resultItem.Results = resultItem_results; + + imageResults_result.Add(resultItem); + } + imageResults.Result = imageResults_result; + imAuditResponse.ImageResults = imageResults; + + ImAuditResponse.ImAudit_TextResults textResults = new ImAuditResponse.ImAudit_TextResults(); + + List textResults_result1 = new List(); + for (int i = 0; i < _ctx.Length("ImAudit.TextResults.Result.Length"); i++) { + ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2 resultItem2 = new ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2(); + resultItem2.Code = _ctx.LongValue("ImAudit.TextResults.Result["+ i +"].code"); + resultItem2.Content = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].content"); + resultItem2.DataId = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].dataId"); + resultItem2.Msg = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].msg"); + resultItem2.TaskId = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].taskId"); + + List resultItem2_results3 = new List(); + for (int j = 0; j < _ctx.Length("ImAudit.TextResults.Result["+ i +"].Results.Length"); j++) { + ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2.ImAudit_Result4 result4 = new ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2.ImAudit_Result4(); + result4.Label = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].label"); + result4.Rate = _ctx.DoubleValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].rate"); + result4.Scene = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].scene"); + result4.Suggestion = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].suggestion"); + + List result4_details = new List(); + for (int k = 0; k < _ctx.Length("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details.Length"); k++) { + ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2.ImAudit_Result4.ImAudit_DetailsItem detailsItem = new ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2.ImAudit_Result4.ImAudit_DetailsItem(); + detailsItem.Label = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Label"); + + List detailsItem_contexts = new List(); + for (int l = 0; l < _ctx.Length("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts.Length"); l++) { + ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2.ImAudit_Result4.ImAudit_DetailsItem.ImAudit_ContextsItem contextsItem = new ImAuditResponse.ImAudit_TextResults.ImAudit_ResultItem2.ImAudit_Result4.ImAudit_DetailsItem.ImAudit_ContextsItem(); + contextsItem.Context = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts["+ l +"].context"); + contextsItem.LibName = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts["+ l +"].libName"); + contextsItem.LibCode = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts["+ l +"].libCode"); + contextsItem.RuleType = _ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts["+ l +"].ruleType"); + + List contextsItem_positions = new List(); + for (int m = 0; m < _ctx.Length("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts["+ l +"].Positions.Length"); m++) { + contextsItem_positions.Add(_ctx.StringValue("ImAudit.TextResults.Result["+ i +"].Results["+ j +"].Details["+ k +"].Contexts["+ l +"].Positions["+ m +"]")); + } + contextsItem.Positions = contextsItem_positions; + + detailsItem_contexts.Add(contextsItem); + } + detailsItem.Contexts = detailsItem_contexts; + + result4_details.Add(detailsItem); + } + result4.Details = result4_details; + + resultItem2_results3.Add(result4); + } + resultItem2.Results3 = resultItem2_results3; + + textResults_result1.Add(resultItem2); + } + textResults.Result1 = textResults_result1; + imAuditResponse.TextResults = textResults; + + return imAuditResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ImportFpShotJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ImportFpShotJobResponseUnmarshaller.cs new file mode 100644 index 000000000..c394f13fb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ImportFpShotJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ImportFpShotJobResponseUnmarshaller + { + public static ImportFpShotJobResponse Unmarshall(UnmarshallerContext _ctx) + { + ImportFpShotJobResponse importFpShotJobResponse = new ImportFpShotJobResponse(); + + importFpShotJobResponse.HttpResponse = _ctx.HttpResponse; + importFpShotJobResponse.RequestId = _ctx.StringValue("ImportFpShotJob.RequestId"); + importFpShotJobResponse.JobId = _ctx.StringValue("ImportFpShotJob.JobId"); + + return importFpShotJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListAllMediaBucketResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListAllMediaBucketResponseUnmarshaller.cs new file mode 100644 index 000000000..15184f163 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListAllMediaBucketResponseUnmarshaller.cs @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListAllMediaBucketResponseUnmarshaller + { + public static ListAllMediaBucketResponse Unmarshall(UnmarshallerContext _ctx) + { + ListAllMediaBucketResponse listAllMediaBucketResponse = new ListAllMediaBucketResponse(); + + listAllMediaBucketResponse.HttpResponse = _ctx.HttpResponse; + listAllMediaBucketResponse.RequestId = _ctx.StringValue("ListAllMediaBucket.RequestId"); + listAllMediaBucketResponse.NextPageToken = _ctx.StringValue("ListAllMediaBucket.NextPageToken"); + + List listAllMediaBucketResponse_mediaBucketList = new List(); + for (int i = 0; i < _ctx.Length("ListAllMediaBucket.MediaBucketList.Length"); i++) { + ListAllMediaBucketResponse.ListAllMediaBucket_MediaBucket mediaBucket = new ListAllMediaBucketResponse.ListAllMediaBucket_MediaBucket(); + mediaBucket.Type = _ctx.StringValue("ListAllMediaBucket.MediaBucketList["+ i +"].Type"); + mediaBucket.Bucket = _ctx.StringValue("ListAllMediaBucket.MediaBucketList["+ i +"].Bucket"); + mediaBucket.Referer = _ctx.StringValue("ListAllMediaBucket.MediaBucketList["+ i +"].Referer"); + + listAllMediaBucketResponse_mediaBucketList.Add(mediaBucket); + } + listAllMediaBucketResponse.MediaBucketList = listAllMediaBucketResponse_mediaBucketList; + + return listAllMediaBucketResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomEntitiesResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomEntitiesResponseUnmarshaller.cs new file mode 100644 index 000000000..470b874fc --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomEntitiesResponseUnmarshaller.cs @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListCustomEntitiesResponseUnmarshaller + { + public static ListCustomEntitiesResponse Unmarshall(UnmarshallerContext _ctx) + { + ListCustomEntitiesResponse listCustomEntitiesResponse = new ListCustomEntitiesResponse(); + + listCustomEntitiesResponse.HttpResponse = _ctx.HttpResponse; + listCustomEntitiesResponse.RequestId = _ctx.StringValue("ListCustomEntities.RequestId"); + listCustomEntitiesResponse.PageNumber = _ctx.IntegerValue("ListCustomEntities.PageNumber"); + listCustomEntitiesResponse.PageSize = _ctx.IntegerValue("ListCustomEntities.PageSize"); + listCustomEntitiesResponse.TotalCount = _ctx.LongValue("ListCustomEntities.TotalCount"); + + List listCustomEntitiesResponse_customEntities = new List(); + for (int i = 0; i < _ctx.Length("ListCustomEntities.CustomEntities.Length"); i++) { + ListCustomEntitiesResponse.ListCustomEntities_CustomEntity customEntity = new ListCustomEntitiesResponse.ListCustomEntities_CustomEntity(); + customEntity.CustomEntityId = _ctx.StringValue("ListCustomEntities.CustomEntities["+ i +"].CustomEntityId"); + customEntity.CustomEntityName = _ctx.StringValue("ListCustomEntities.CustomEntities["+ i +"].CustomEntityName"); + customEntity.CustomEntityInfo = _ctx.StringValue("ListCustomEntities.CustomEntities["+ i +"].CustomEntityInfo"); + + listCustomEntitiesResponse_customEntities.Add(customEntity); + } + listCustomEntitiesResponse.CustomEntities = listCustomEntitiesResponse_customEntities; + + return listCustomEntitiesResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomGroupsResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomGroupsResponseUnmarshaller.cs new file mode 100644 index 000000000..564dbefbe --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomGroupsResponseUnmarshaller.cs @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListCustomGroupsResponseUnmarshaller + { + public static ListCustomGroupsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListCustomGroupsResponse listCustomGroupsResponse = new ListCustomGroupsResponse(); + + listCustomGroupsResponse.HttpResponse = _ctx.HttpResponse; + listCustomGroupsResponse.RequestId = _ctx.StringValue("ListCustomGroups.RequestId"); + listCustomGroupsResponse.PageNumber = _ctx.IntegerValue("ListCustomGroups.PageNumber"); + listCustomGroupsResponse.PageSize = _ctx.IntegerValue("ListCustomGroups.PageSize"); + listCustomGroupsResponse.TotalCount = _ctx.LongValue("ListCustomGroups.TotalCount"); + + List listCustomGroupsResponse_customGroups = new List(); + for (int i = 0; i < _ctx.Length("ListCustomGroups.CustomGroups.Length"); i++) { + ListCustomGroupsResponse.ListCustomGroups_CustomGroup customGroup = new ListCustomGroupsResponse.ListCustomGroups_CustomGroup(); + customGroup.CustomGroupId = _ctx.StringValue("ListCustomGroups.CustomGroups["+ i +"].CustomGroupId"); + customGroup.CustomGroupName = _ctx.StringValue("ListCustomGroups.CustomGroups["+ i +"].CustomGroupName"); + customGroup.CustomGroupDescription = _ctx.StringValue("ListCustomGroups.CustomGroups["+ i +"].CustomGroupDescription"); + + listCustomGroupsResponse_customGroups.Add(customGroup); + } + listCustomGroupsResponse.CustomGroups = listCustomGroupsResponse_customGroups; + + return listCustomGroupsResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomPersonsResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomPersonsResponseUnmarshaller.cs new file mode 100644 index 000000000..052c3c324 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomPersonsResponseUnmarshaller.cs @@ -0,0 +1,71 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListCustomPersonsResponseUnmarshaller + { + public static ListCustomPersonsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListCustomPersonsResponse listCustomPersonsResponse = new ListCustomPersonsResponse(); + + listCustomPersonsResponse.HttpResponse = _ctx.HttpResponse; + listCustomPersonsResponse.RequestId = _ctx.StringValue("ListCustomPersons.RequestId"); + + List listCustomPersonsResponse_categories = new List(); + for (int i = 0; i < _ctx.Length("ListCustomPersons.Categories.Length"); i++) { + ListCustomPersonsResponse.ListCustomPersons_Category category = new ListCustomPersonsResponse.ListCustomPersons_Category(); + category.CategoryId = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].CategoryId"); + category.CategoryName = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].CategoryName"); + category.CategoryDescription = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].CategoryDescription"); + + List category_persons = new List(); + for (int j = 0; j < _ctx.Length("ListCustomPersons.Categories["+ i +"].Persons.Length"); j++) { + ListCustomPersonsResponse.ListCustomPersons_Category.ListCustomPersons_Person person = new ListCustomPersonsResponse.ListCustomPersons_Category.ListCustomPersons_Person(); + person.PersonName = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].Persons["+ j +"].PersonName"); + person.PersonDescription = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].Persons["+ j +"].PersonDescription"); + person.PersonId = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].Persons["+ j +"].PersonId"); + + List person_faces = new List(); + for (int k = 0; k < _ctx.Length("ListCustomPersons.Categories["+ i +"].Persons["+ j +"].Faces.Length"); k++) { + ListCustomPersonsResponse.ListCustomPersons_Category.ListCustomPersons_Person.ListCustomPersons_Face face = new ListCustomPersonsResponse.ListCustomPersons_Category.ListCustomPersons_Person.ListCustomPersons_Face(); + face.ImageUrl = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].Persons["+ j +"].Faces["+ k +"].ImageUrl"); + face.FaceId = _ctx.StringValue("ListCustomPersons.Categories["+ i +"].Persons["+ j +"].Faces["+ k +"].FaceId"); + + person_faces.Add(face); + } + person.Faces = person_faces; + + category_persons.Add(person); + } + category.Persons = category_persons; + + listCustomPersonsResponse_categories.Add(category); + } + listCustomPersonsResponse.Categories = listCustomPersonsResponse_categories; + + return listCustomPersonsResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomViewsResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomViewsResponseUnmarshaller.cs new file mode 100644 index 000000000..ce45cd336 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListCustomViewsResponseUnmarshaller.cs @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListCustomViewsResponseUnmarshaller + { + public static ListCustomViewsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListCustomViewsResponse listCustomViewsResponse = new ListCustomViewsResponse(); + + listCustomViewsResponse.HttpResponse = _ctx.HttpResponse; + listCustomViewsResponse.RequestId = _ctx.StringValue("ListCustomViews.RequestId"); + listCustomViewsResponse.PageNumber = _ctx.IntegerValue("ListCustomViews.PageNumber"); + listCustomViewsResponse.PageSize = _ctx.IntegerValue("ListCustomViews.PageSize"); + listCustomViewsResponse.TotalCount = _ctx.LongValue("ListCustomViews.TotalCount"); + + List listCustomViewsResponse_customViews = new List(); + for (int i = 0; i < _ctx.Length("ListCustomViews.CustomViews.Length"); i++) { + ListCustomViewsResponse.ListCustomViews_CustomView customView = new ListCustomViewsResponse.ListCustomViews_CustomView(); + customView.CustomViewId = _ctx.StringValue("ListCustomViews.CustomViews["+ i +"].CustomViewId"); + customView.ImageUrl = _ctx.StringValue("ListCustomViews.CustomViews["+ i +"].ImageUrl"); + + listCustomViewsResponse_customViews.Add(customView); + } + listCustomViewsResponse.CustomViews = listCustomViewsResponse_customViews; + + return listCustomViewsResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotDBResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotDBResponseUnmarshaller.cs new file mode 100644 index 000000000..93f30d0e4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotDBResponseUnmarshaller.cs @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListFpShotDBResponseUnmarshaller + { + public static ListFpShotDBResponse Unmarshall(UnmarshallerContext _ctx) + { + ListFpShotDBResponse listFpShotDBResponse = new ListFpShotDBResponse(); + + listFpShotDBResponse.HttpResponse = _ctx.HttpResponse; + listFpShotDBResponse.RequestId = _ctx.StringValue("ListFpShotDB.RequestId"); + + List listFpShotDBResponse_nonExistIds = new List(); + for (int i = 0; i < _ctx.Length("ListFpShotDB.NonExistIds.Length"); i++) { + listFpShotDBResponse_nonExistIds.Add(_ctx.StringValue("ListFpShotDB.NonExistIds["+ i +"]")); + } + listFpShotDBResponse.NonExistIds = listFpShotDBResponse_nonExistIds; + + List listFpShotDBResponse_fpShotDBList = new List(); + for (int i = 0; i < _ctx.Length("ListFpShotDB.FpShotDBList.Length"); i++) { + ListFpShotDBResponse.ListFpShotDB_FpShotDB fpShotDB = new ListFpShotDBResponse.ListFpShotDB_FpShotDB(); + fpShotDB.Status = _ctx.StringValue("ListFpShotDB.FpShotDBList["+ i +"].Status"); + fpShotDB.Description = _ctx.StringValue("ListFpShotDB.FpShotDBList["+ i +"].Description"); + fpShotDB.Name = _ctx.StringValue("ListFpShotDB.FpShotDBList["+ i +"].Name"); + fpShotDB.ModelId = _ctx.IntegerValue("ListFpShotDB.FpShotDBList["+ i +"].ModelId"); + fpShotDB.FpDBId = _ctx.StringValue("ListFpShotDB.FpShotDBList["+ i +"].FpDBId"); + fpShotDB.InstanceId = _ctx.StringValue("ListFpShotDB.FpShotDBList["+ i +"].InstanceId"); + + listFpShotDBResponse_fpShotDBList.Add(fpShotDB); + } + listFpShotDBResponse.FpShotDBList = listFpShotDBResponse_fpShotDBList; + + return listFpShotDBResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotFilesResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotFilesResponseUnmarshaller.cs new file mode 100644 index 000000000..15585bffa --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotFilesResponseUnmarshaller.cs @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListFpShotFilesResponseUnmarshaller + { + public static ListFpShotFilesResponse Unmarshall(UnmarshallerContext _ctx) + { + ListFpShotFilesResponse listFpShotFilesResponse = new ListFpShotFilesResponse(); + + listFpShotFilesResponse.HttpResponse = _ctx.HttpResponse; + listFpShotFilesResponse.RequestId = _ctx.StringValue("ListFpShotFiles.RequestId"); + listFpShotFilesResponse.NextPageToken = _ctx.StringValue("ListFpShotFiles.NextPageToken"); + + List listFpShotFilesResponse_fpShotFileList = new List(); + for (int i = 0; i < _ctx.Length("ListFpShotFiles.FpShotFileList.Length"); i++) { + ListFpShotFilesResponse.ListFpShotFiles_FpShotFile fpShotFile = new ListFpShotFilesResponse.ListFpShotFiles_FpShotFile(); + fpShotFile.PrimaryKey = _ctx.StringValue("ListFpShotFiles.FpShotFileList["+ i +"].PrimaryKey"); + fpShotFile.FileId = _ctx.StringValue("ListFpShotFiles.FpShotFileList["+ i +"].FileId"); + fpShotFile.StoreTime = _ctx.StringValue("ListFpShotFiles.FpShotFileList["+ i +"].StoreTime"); + + ListFpShotFilesResponse.ListFpShotFiles_FpShotFile.ListFpShotFiles_InputFile inputFile = new ListFpShotFilesResponse.ListFpShotFiles_FpShotFile.ListFpShotFiles_InputFile(); + inputFile._Object = _ctx.StringValue("ListFpShotFiles.FpShotFileList["+ i +"].InputFile.Object"); + inputFile.Location = _ctx.StringValue("ListFpShotFiles.FpShotFileList["+ i +"].InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("ListFpShotFiles.FpShotFileList["+ i +"].InputFile.Bucket"); + fpShotFile.InputFile = inputFile; + + listFpShotFilesResponse_fpShotFileList.Add(fpShotFile); + } + listFpShotFilesResponse.FpShotFileList = listFpShotFilesResponse_fpShotFileList; + + return listFpShotFilesResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotImportJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotImportJobResponseUnmarshaller.cs new file mode 100644 index 000000000..35d25239e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListFpShotImportJobResponseUnmarshaller.cs @@ -0,0 +1,65 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListFpShotImportJobResponseUnmarshaller + { + public static ListFpShotImportJobResponse Unmarshall(UnmarshallerContext _ctx) + { + ListFpShotImportJobResponse listFpShotImportJobResponse = new ListFpShotImportJobResponse(); + + listFpShotImportJobResponse.HttpResponse = _ctx.HttpResponse; + listFpShotImportJobResponse.RequestId = _ctx.StringValue("ListFpShotImportJob.RequestId"); + + List listFpShotImportJobResponse_nonExistIds = new List(); + for (int i = 0; i < _ctx.Length("ListFpShotImportJob.NonExistIds.Length"); i++) { + listFpShotImportJobResponse_nonExistIds.Add(_ctx.StringValue("ListFpShotImportJob.NonExistIds["+ i +"]")); + } + listFpShotImportJobResponse.NonExistIds = listFpShotImportJobResponse_nonExistIds; + + List listFpShotImportJobResponse_fpShotImportJobList = new List(); + for (int i = 0; i < _ctx.Length("ListFpShotImportJob.FpShotImportJobList.Length"); i++) { + ListFpShotImportJobResponse.ListFpShotImportJob_FpShotImportJob fpShotImportJob = new ListFpShotImportJobResponse.ListFpShotImportJob_FpShotImportJob(); + fpShotImportJob.Id = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].Id"); + fpShotImportJob.FpDBId = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].FpDBId"); + fpShotImportJob.PipelineId = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].PipelineId"); + fpShotImportJob.FpImportConfig = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].FpImportConfig"); + fpShotImportJob.Status = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].Status"); + fpShotImportJob.Code = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].Code"); + fpShotImportJob.Message = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].Message"); + fpShotImportJob.CreateTime = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].CreateTime"); + fpShotImportJob.FinishTime = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].FinishTime"); + fpShotImportJob.UserData = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].UserData"); + fpShotImportJob.Input = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].Input"); + fpShotImportJob.ProcessMessage = _ctx.StringValue("ListFpShotImportJob.FpShotImportJobList["+ i +"].ProcessMessage"); + + listFpShotImportJobResponse_fpShotImportJobList.Add(fpShotImportJob); + } + listFpShotImportJobResponse.FpShotImportJobList = listFpShotImportJobResponse_fpShotImportJobList; + + return listFpShotImportJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListJobResponseUnmarshaller.cs new file mode 100644 index 000000000..2aef3dfc0 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListJobResponseUnmarshaller.cs @@ -0,0 +1,390 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListJobResponseUnmarshaller + { + public static ListJobResponse Unmarshall(UnmarshallerContext _ctx) + { + ListJobResponse listJobResponse = new ListJobResponse(); + + listJobResponse.HttpResponse = _ctx.HttpResponse; + listJobResponse.RequestId = _ctx.StringValue("ListJob.RequestId"); + listJobResponse.NextPageToken = _ctx.StringValue("ListJob.NextPageToken"); + + List listJobResponse_jobList = new List(); + for (int i = 0; i < _ctx.Length("ListJob.JobList.Length"); i++) { + ListJobResponse.ListJob_Job job = new ListJobResponse.ListJob_Job(); + job.CreationTime = _ctx.StringValue("ListJob.JobList["+ i +"].CreationTime"); + job.Percent = _ctx.LongValue("ListJob.JobList["+ i +"].Percent"); + job.FinishTime = _ctx.StringValue("ListJob.JobList["+ i +"].FinishTime"); + job.State = _ctx.StringValue("ListJob.JobList["+ i +"].State"); + job.JobId = _ctx.StringValue("ListJob.JobList["+ i +"].JobId"); + job.Code = _ctx.StringValue("ListJob.JobList["+ i +"].Code"); + job.Message = _ctx.StringValue("ListJob.JobList["+ i +"].Message"); + job.PipelineId = _ctx.StringValue("ListJob.JobList["+ i +"].PipelineId"); + + ListJobResponse.ListJob_Job.ListJob_Output output = new ListJobResponse.ListJob_Job.ListJob_Output(); + output.WaterMarkConfigUrl = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkConfigUrl"); + output.DeWatermark = _ctx.StringValue("ListJob.JobList["+ i +"].Output.DeWatermark"); + output.Priority = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Priority"); + output.AudioStreamMap = _ctx.StringValue("ListJob.JobList["+ i +"].Output.AudioStreamMap"); + output.UserData = _ctx.StringValue("ListJob.JobList["+ i +"].Output.UserData"); + output.VideoStreamMap = _ctx.StringValue("ListJob.JobList["+ i +"].Output.VideoStreamMap"); + output.Rotate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Rotate"); + output.MergeConfigUrl = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MergeConfigUrl"); + output.TemplateId = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TemplateId"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video video = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video(); + video.Bufsize = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Bufsize"); + video.Degrain = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Degrain"); + video.PixFmt = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.PixFmt"); + video.Pad = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Pad"); + video.Codec = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Codec"); + video.Height = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Height"); + video.Qscale = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Qscale"); + video.Crop = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Crop"); + video.Bitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Bitrate"); + video.Maxrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Maxrate"); + video.MaxFps = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.MaxFps"); + video.Profile = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Profile"); + video.Crf = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Crf"); + video.Gop = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Gop"); + video.Width = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Width"); + video.Fps = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Fps"); + video.Preset = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.Preset"); + video.ScanMode = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.ResoPriority"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video.ListJob_BitrateBnd bitrateBnd = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video.ListJob_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + output.Video = video; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_TransConfig transConfig = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TransConfig.IsCheckAudioBitrateFail"); + output.TransConfig = transConfig; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Encryption encryption = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Encryption(); + encryption.Type = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Encryption.Type"); + encryption.Key = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Encryption.Key"); + encryption.KeyType = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Encryption.KeyType"); + encryption.Id = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Encryption.Id"); + encryption.KeyUri = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Encryption.KeyUri"); + encryption.SkipCnt = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Encryption.SkipCnt"); + output.Encryption = encryption; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport m3U8NonStandardSupport = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport(); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport.ListJob_TS tS = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport.ListJob_TS(); + tS.SizeSupport = _ctx.BooleanValue("ListJob.JobList["+ i +"].Output.M3U8NonStandardSupport.TS.SizeSupport"); + tS.Md5Support = _ctx.BooleanValue("ListJob.JobList["+ i +"].Output.M3U8NonStandardSupport.TS.Md5Support"); + m3U8NonStandardSupport.TS = tS; + output.M3U8NonStandardSupport = m3U8NonStandardSupport; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio audio = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio(); + audio.Profile = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Profile"); + audio.Codec = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Codec"); + audio.Samplerate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Qscale"); + audio.Channels = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Channels"); + audio.Bitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Bitrate"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio.ListJob_Volume volume = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio.ListJob_Volume(); + volume.Method = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Volume.Method"); + volume.Level = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Audio.Volume.Level"); + audio.Volume = volume; + output.Audio = audio; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SuperReso superReso = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SuperReso(); + superReso.IsHalfSample = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SuperReso.IsHalfSample"); + output.SuperReso = superReso; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutputFile outputFile = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutputFile(); + outputFile.RoleArn = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutputFile.RoleArn"); + outputFile._Object = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutputFile.Bucket"); + output.OutputFile = outputFile; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Container container = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Container(); + container.Format = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Container.Format"); + output.Container = container; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip clip = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip(); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip.ListJob_TimeSpan timeSpan = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip.ListJob_TimeSpan(); + timeSpan.Seek = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Clip.TimeSpan.Seek"); + timeSpan.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Clip.TimeSpan.Duration"); + clip.TimeSpan = timeSpan; + output.Clip = clip; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig muxConfig = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig(); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Webp webp = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Webp(); + webp.Loop = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MuxConfig.Webp.Loop"); + muxConfig.Webp = webp; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Gif gif = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Gif(); + gif.FinalDelay = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Segment segment = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Segment(); + segment.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + output.MuxConfig = muxConfig; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig subtitleConfig = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig(); + + List subtitleConfig_extSubtitleList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle extSubtitle = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle(); + extSubtitle.CharEnc = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].CharEnc"); + extSubtitle.FontName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].FontName"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle.ListJob_Input1 input1 = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle.ListJob_Input1(); + input1._Object = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Object"); + input1.Location = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Location"); + input1.Bucket = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Bucket"); + extSubtitle.Input1 = input1; + + subtitleConfig_extSubtitleList.Add(extSubtitle); + } + subtitleConfig.ExtSubtitleList = subtitleConfig_extSubtitleList; + + List subtitleConfig_subtitleList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.SubtitleConfig.SubtitleList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_Subtitle subtitle = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_Subtitle(); + subtitle.Map = _ctx.StringValue("ListJob.JobList["+ i +"].Output.SubtitleConfig.SubtitleList["+ j +"].Map"); + + subtitleConfig_subtitleList.Add(subtitle); + } + subtitleConfig.SubtitleList = subtitleConfig_subtitleList; + output.SubtitleConfig = subtitleConfig; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties properties = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties(); + properties.Width = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Width"); + properties.Height = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Height"); + properties.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Duration"); + properties.Fps = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Fps"); + properties.Bitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Bitrate"); + properties.FileFormat = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.FileFormat"); + properties.FileSize = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.FileSize"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams streams = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams(); + + List streams_videoStreamList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream videoStream = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream(); + videoStream.Index = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Index"); + videoStream.Timebase = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].PixFmt"); + videoStream.Sar = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Sar"); + videoStream.Lang = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecLongName"); + videoStream.Height = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Height"); + videoStream.NumFrames = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NumFrames"); + videoStream.Bitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Bitrate"); + videoStream.CodecTagString = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTagString"); + videoStream.HasBFrames = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Profile"); + videoStream.StartTime = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].StartTime"); + videoStream.Dar = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Dar"); + videoStream.CodecName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecName"); + videoStream.Width = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Width"); + videoStream.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Duration"); + videoStream.Fps = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Level"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream.ListJob_NetworkCost networkCost = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream.ListJob_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_AudioStream audioStream = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_AudioStream(); + audioStream.Timebase = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Timebase"); + audioStream.Index = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecName"); + audioStream.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_SubtitleStream subtitleStream = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_SubtitleStream(); + subtitleStream.Index = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList["+ j +"].Index"); + subtitleStream.Lang = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList["+ j +"].Lang"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + properties.Streams = streams; + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Format format = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Format(); + format.StartTime = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.NumPrograms"); + format.Size = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.Size"); + format.NumStreams = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.FormatLongName"); + format.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.Duration"); + format.Bitrate = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.Bitrate"); + format.FormatName = _ctx.StringValue("ListJob.JobList["+ i +"].Output.Properties.Format.FormatName"); + properties.Format = format; + output.Properties = properties; + + List output_waterMarkList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.WaterMarkList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark waterMark = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark(); + waterMark.Type = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].Type"); + waterMark.ReferPos = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].ReferPos"); + waterMark.Dx = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].Dx"); + waterMark.Width = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].Width"); + waterMark.Height = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].Height"); + waterMark.WaterMarkTemplateId = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].WaterMarkTemplateId"); + waterMark.Dy = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].Dy"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark.ListJob_InputFile inputFile = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark.ListJob_InputFile(); + inputFile._Object = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Object"); + inputFile.Location = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("ListJob.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Bucket"); + waterMark.InputFile = inputFile; + + output_waterMarkList.Add(waterMark); + } + output.WaterMarkList = output_waterMarkList; + + List output_mergeList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.MergeList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge merge = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge(); + merge.Start = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MergeList["+ j +"].Start"); + merge.RoleArn = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MergeList["+ j +"].RoleArn"); + merge.MergeURL = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MergeList["+ j +"].MergeURL"); + merge.Duration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.MergeList["+ j +"].Duration"); + + output_mergeList.Add(merge); + } + output.MergeList = output_mergeList; + + List output_outSubtitleList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.OutSubtitleList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutSubtitle outSubtitle = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutSubtitle(); + outSubtitle.Map = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Map"); + outSubtitle.Success = _ctx.BooleanValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Success"); + outSubtitle.Message = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Message"); + + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutSubtitle.ListJob_OutSubtitleFile outSubtitleFile = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutSubtitle.ListJob_OutSubtitleFile(); + outSubtitleFile.RoleArn = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.RoleArn"); + outSubtitleFile._Object = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Object"); + outSubtitleFile.Location = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Location"); + outSubtitleFile.Bucket = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Bucket"); + outSubtitle.OutSubtitleFile = outSubtitleFile; + + output_outSubtitleList.Add(outSubtitle); + } + output.OutSubtitleList = output_outSubtitleList; + + List output_openingList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.OpeningList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Opening opening = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Opening(); + opening.OpenUrl = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OpeningList["+ j +"].openUrl"); + opening.Start = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OpeningList["+ j +"].Start"); + opening.Width = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OpeningList["+ j +"].Width"); + opening.Height = _ctx.StringValue("ListJob.JobList["+ i +"].Output.OpeningList["+ j +"].Height"); + + output_openingList.Add(opening); + } + output.OpeningList = output_openingList; + + List output_tailSlateList = new List(); + for (int j = 0; j < _ctx.Length("ListJob.JobList["+ i +"].Output.TailSlateList.Length"); j++) { + ListJobResponse.ListJob_Job.ListJob_Output.ListJob_TailSlate tailSlate = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_TailSlate(); + tailSlate.Start = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].Start"); + tailSlate.BgColor = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].BgColor"); + tailSlate.IsMergeAudio = _ctx.BooleanValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].IsMergeAudio"); + tailSlate.Width = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].Width"); + tailSlate.Height = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].Height"); + tailSlate.BlendDuration = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].BlendDuration"); + tailSlate.TailUrl = _ctx.StringValue("ListJob.JobList["+ i +"].Output.TailSlateList["+ j +"].TailUrl"); + + output_tailSlateList.Add(tailSlate); + } + output.TailSlateList = output_tailSlateList; + job.Output = output; + + ListJobResponse.ListJob_Job.ListJob_Input input = new ListJobResponse.ListJob_Job.ListJob_Input(); + input._Object = _ctx.StringValue("ListJob.JobList["+ i +"].Input.Object"); + input.Location = _ctx.StringValue("ListJob.JobList["+ i +"].Input.Location"); + input.Bucket = _ctx.StringValue("ListJob.JobList["+ i +"].Input.Bucket"); + job.Input = input; + + ListJobResponse.ListJob_Job.ListJob_MNSMessageResult mNSMessageResult = new ListJobResponse.ListJob_Job.ListJob_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("ListJob.JobList["+ i +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("ListJob.JobList["+ i +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("ListJob.JobList["+ i +"].MNSMessageResult.ErrorCode"); + job.MNSMessageResult = mNSMessageResult; + + listJobResponse_jobList.Add(job); + } + listJobResponse.JobList = listJobResponse_jobList; + + return listJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListMediaWorkflowExecutionsResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListMediaWorkflowExecutionsResponseUnmarshaller.cs new file mode 100644 index 000000000..f8ac8adcd --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/ListMediaWorkflowExecutionsResponseUnmarshaller.cs @@ -0,0 +1,86 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class ListMediaWorkflowExecutionsResponseUnmarshaller + { + public static ListMediaWorkflowExecutionsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListMediaWorkflowExecutionsResponse listMediaWorkflowExecutionsResponse = new ListMediaWorkflowExecutionsResponse(); + + listMediaWorkflowExecutionsResponse.HttpResponse = _ctx.HttpResponse; + listMediaWorkflowExecutionsResponse.RequestId = _ctx.StringValue("ListMediaWorkflowExecutions.RequestId"); + listMediaWorkflowExecutionsResponse.NextPageToken = _ctx.StringValue("ListMediaWorkflowExecutions.NextPageToken"); + + List listMediaWorkflowExecutionsResponse_mediaWorkflowExecutionList = new List(); + for (int i = 0; i < _ctx.Length("ListMediaWorkflowExecutions.MediaWorkflowExecutionList.Length"); i++) { + ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution mediaWorkflowExecution = new ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution(); + mediaWorkflowExecution.CreationTime = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].CreationTime"); + mediaWorkflowExecution.MediaWorkflowId = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].MediaWorkflowId"); + mediaWorkflowExecution.State = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].State"); + mediaWorkflowExecution.Name = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Name"); + mediaWorkflowExecution.MediaId = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].MediaId"); + mediaWorkflowExecution.RunId = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].RunId"); + + ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Input input = new ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Input(); + input.UserData = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.UserData"); + + ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Input.ListMediaWorkflowExecutions_InputFile inputFile = new ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Input.ListMediaWorkflowExecutions_InputFile(); + inputFile._Object = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Object"); + inputFile.Location = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Bucket"); + input.InputFile = inputFile; + mediaWorkflowExecution.Input = input; + + List mediaWorkflowExecution_activityList = new List(); + for (int j = 0; j < _ctx.Length("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList.Length"); j++) { + ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Activity activity = new ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Activity(); + activity.EndTime = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].EndTime"); + activity.Type = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Type"); + activity.StartTime = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].StartTime"); + activity.State = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].State"); + activity.JobId = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].JobId"); + activity.Code = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Code"); + activity.Message = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Message"); + activity.Name = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Name"); + + ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Activity.ListMediaWorkflowExecutions_MNSMessageResult mNSMessageResult = new ListMediaWorkflowExecutionsResponse.ListMediaWorkflowExecutions_MediaWorkflowExecution.ListMediaWorkflowExecutions_Activity.ListMediaWorkflowExecutions_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.ErrorCode"); + activity.MNSMessageResult = mNSMessageResult; + + mediaWorkflowExecution_activityList.Add(activity); + } + mediaWorkflowExecution.ActivityList = mediaWorkflowExecution_activityList; + + listMediaWorkflowExecutionsResponse_mediaWorkflowExecutionList.Add(mediaWorkflowExecution); + } + listMediaWorkflowExecutionsResponse.MediaWorkflowExecutionList = listMediaWorkflowExecutionsResponse_mediaWorkflowExecutionList; + + return listMediaWorkflowExecutionsResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryAnalysisJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryAnalysisJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..bdf72b45e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryAnalysisJobListResponseUnmarshaller.cs @@ -0,0 +1,157 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryAnalysisJobListResponseUnmarshaller + { + public static QueryAnalysisJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryAnalysisJobListResponse queryAnalysisJobListResponse = new QueryAnalysisJobListResponse(); + + queryAnalysisJobListResponse.HttpResponse = _ctx.HttpResponse; + queryAnalysisJobListResponse.RequestId = _ctx.StringValue("QueryAnalysisJobList.RequestId"); + + List queryAnalysisJobListResponse_nonExistAnalysisJobIds = new List(); + for (int i = 0; i < _ctx.Length("QueryAnalysisJobList.NonExistAnalysisJobIds.Length"); i++) { + queryAnalysisJobListResponse_nonExistAnalysisJobIds.Add(_ctx.StringValue("QueryAnalysisJobList.NonExistAnalysisJobIds["+ i +"]")); + } + queryAnalysisJobListResponse.NonExistAnalysisJobIds = queryAnalysisJobListResponse_nonExistAnalysisJobIds; + + List queryAnalysisJobListResponse_analysisJobList = new List(); + for (int i = 0; i < _ctx.Length("QueryAnalysisJobList.AnalysisJobList.Length"); i++) { + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob analysisJob = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob(); + analysisJob.CreationTime = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].CreationTime"); + analysisJob.Percent = _ctx.LongValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].Percent"); + analysisJob.State = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].State"); + analysisJob.Message = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].Message"); + analysisJob.Priority = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].Priority"); + analysisJob.UserData = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].UserData"); + analysisJob.Code = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].Code"); + analysisJob.PipelineId = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].PipelineId"); + analysisJob.Id = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].Id"); + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig analysisConfig = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig(); + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig.QueryAnalysisJobList_QualityControl qualityControl = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig.QueryAnalysisJobList_QualityControl(); + qualityControl.MethodStreaming = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.QualityControl.MethodStreaming"); + qualityControl.RateQuality = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.QualityControl.RateQuality"); + analysisConfig.QualityControl = qualityControl; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig.QueryAnalysisJobList_PropertiesControl propertiesControl = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig.QueryAnalysisJobList_PropertiesControl(); + propertiesControl.Deinterlace = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.PropertiesControl.Deinterlace"); + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig.QueryAnalysisJobList_PropertiesControl.QueryAnalysisJobList_Crop crop = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_AnalysisConfig.QueryAnalysisJobList_PropertiesControl.QueryAnalysisJobList_Crop(); + crop.Top = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.PropertiesControl.Crop.Top"); + crop.Width = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.PropertiesControl.Crop.Width"); + crop.Height = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.PropertiesControl.Crop.Height"); + crop.Left = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.PropertiesControl.Crop.Left"); + crop.Mode = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].AnalysisConfig.PropertiesControl.Crop.Mode"); + propertiesControl.Crop = crop; + analysisConfig.PropertiesControl = propertiesControl; + analysisJob.AnalysisConfig = analysisConfig; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_MNSMessageResult mNSMessageResult = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].MNSMessageResult.ErrorCode"); + analysisJob.MNSMessageResult = mNSMessageResult; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_InputFile inputFile = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_InputFile(); + inputFile._Object = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].InputFile.Object"); + inputFile.Location = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].InputFile.Bucket"); + analysisJob.InputFile = inputFile; + + List analysisJob_templateList = new List(); + for (int j = 0; j < _ctx.Length("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList.Length"); j++) { + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template template = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template(); + template.State = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].State"); + template.Name = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Name"); + template.Id = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Id"); + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Video video = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Video(); + video.Bufsize = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Bufsize"); + video.Degrain = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Degrain"); + video.PixFmt = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.PixFmt"); + video.Codec = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Codec"); + video.Height = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Height"); + video.Qscale = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Qscale"); + video.Bitrate = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Bitrate"); + video.Maxrate = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Maxrate"); + video.Profile = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Profile"); + video.Crf = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Crf"); + video.Gop = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Gop"); + video.Width = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Width"); + video.Fps = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Fps"); + video.Preset = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.Preset"); + video.ScanMode = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.ScanMode"); + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Video.QueryAnalysisJobList_BitrateBnd bitrateBnd = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Video.QueryAnalysisJobList_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + template.Video = video; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_TransConfig transConfig = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_TransConfig(); + transConfig.TransMode = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].TransConfig.TransMode"); + template.TransConfig = transConfig; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_MuxConfig muxConfig = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_MuxConfig(); + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_MuxConfig.QueryAnalysisJobList_Gif gif = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_MuxConfig.QueryAnalysisJobList_Gif(); + gif.FinalDelay = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].MuxConfig.Gif.FinalDelay"); + gif.Loop = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].MuxConfig.Gif.Loop"); + muxConfig.Gif = gif; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_MuxConfig.QueryAnalysisJobList_Segment segment = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_MuxConfig.QueryAnalysisJobList_Segment(); + segment.Duration = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + template.MuxConfig = muxConfig; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Audio audio = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Audio(); + audio.Profile = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Audio.Profile"); + audio.Codec = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Audio.Codec"); + audio.Samplerate = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Audio.Qscale"); + audio.Channels = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Audio.Channels"); + audio.Bitrate = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Audio.Bitrate"); + template.Audio = audio; + + QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Container container = new QueryAnalysisJobListResponse.QueryAnalysisJobList_AnalysisJob.QueryAnalysisJobList_Template.QueryAnalysisJobList_Container(); + container.Format = _ctx.StringValue("QueryAnalysisJobList.AnalysisJobList["+ i +"].TemplateList["+ j +"].Container.Format"); + template.Container = container; + + analysisJob_templateList.Add(template); + } + analysisJob.TemplateList = analysisJob_templateList; + + queryAnalysisJobListResponse_analysisJobList.Add(analysisJob); + } + queryAnalysisJobListResponse.AnalysisJobList = queryAnalysisJobListResponse_analysisJobList; + + return queryAnalysisJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightExtractJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightExtractJobResponseUnmarshaller.cs new file mode 100644 index 000000000..5a7a3044e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightExtractJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryCopyrightExtractJobResponseUnmarshaller + { + public static QueryCopyrightExtractJobResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryCopyrightExtractJobResponse queryCopyrightExtractJobResponse = new QueryCopyrightExtractJobResponse(); + + queryCopyrightExtractJobResponse.HttpResponse = _ctx.HttpResponse; + queryCopyrightExtractJobResponse.RequestId = _ctx.StringValue("QueryCopyrightExtractJob.RequestId"); + queryCopyrightExtractJobResponse.Message = _ctx.StringValue("QueryCopyrightExtractJob.Message"); + queryCopyrightExtractJobResponse.StatusCode = _ctx.LongValue("QueryCopyrightExtractJob.StatusCode"); + + QueryCopyrightExtractJobResponse.QueryCopyrightExtractJob_Data data = new QueryCopyrightExtractJobResponse.QueryCopyrightExtractJob_Data(); + data.Message = _ctx.StringValue("QueryCopyrightExtractJob.Data.Message"); + queryCopyrightExtractJobResponse.Data = data; + + return queryCopyrightExtractJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightJobResponseUnmarshaller.cs new file mode 100644 index 000000000..3b8824f27 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryCopyrightJobResponseUnmarshaller.cs @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryCopyrightJobResponseUnmarshaller + { + public static QueryCopyrightJobResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryCopyrightJobResponse queryCopyrightJobResponse = new QueryCopyrightJobResponse(); + + queryCopyrightJobResponse.HttpResponse = _ctx.HttpResponse; + queryCopyrightJobResponse.RequestId = _ctx.StringValue("QueryCopyrightJob.RequestId"); + queryCopyrightJobResponse.Message = _ctx.StringValue("QueryCopyrightJob.Message"); + queryCopyrightJobResponse.StatusCode = _ctx.LongValue("QueryCopyrightJob.StatusCode"); + + List queryCopyrightJobResponse_data = new List(); + for (int i = 0; i < _ctx.Length("QueryCopyrightJob.Data.Length"); i++) { + QueryCopyrightJobResponse.QueryCopyrightJob_DataItem dataItem = new QueryCopyrightJobResponse.QueryCopyrightJob_DataItem(); + dataItem.Callback = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].Callback"); + dataItem.GmtCreate = _ctx.LongValue("QueryCopyrightJob.Data["+ i +"].GmtCreate"); + dataItem.GmtModified = _ctx.LongValue("QueryCopyrightJob.Data["+ i +"].GmtModified"); + dataItem.Input = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].Input"); + dataItem.JobId = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].JobId"); + dataItem.Level = _ctx.LongValue("QueryCopyrightJob.Data["+ i +"].Level"); + dataItem.Message = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].Message"); + dataItem.MessageId = _ctx.LongValue("QueryCopyrightJob.Data["+ i +"].MessageId"); + dataItem.Output = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].Output"); + dataItem.Status = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].Status"); + dataItem.UserData = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].UserData"); + dataItem.UserId = _ctx.LongValue("QueryCopyrightJob.Data["+ i +"].UserId"); + dataItem.Result = _ctx.StringValue("QueryCopyrightJob.Data["+ i +"].Result"); + + queryCopyrightJobResponse_data.Add(dataItem); + } + queryCopyrightJobResponse.Data = queryCopyrightJobResponse_data; + + return queryCopyrightJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpDBDeleteJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpDBDeleteJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..1cca14ccb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpDBDeleteJobListResponseUnmarshaller.cs @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryFpDBDeleteJobListResponseUnmarshaller + { + public static QueryFpDBDeleteJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryFpDBDeleteJobListResponse queryFpDBDeleteJobListResponse = new QueryFpDBDeleteJobListResponse(); + + queryFpDBDeleteJobListResponse.HttpResponse = _ctx.HttpResponse; + queryFpDBDeleteJobListResponse.RequestId = _ctx.StringValue("QueryFpDBDeleteJobList.RequestId"); + + List queryFpDBDeleteJobListResponse_nonExistIds = new List(); + for (int i = 0; i < _ctx.Length("QueryFpDBDeleteJobList.NonExistIds.Length"); i++) { + queryFpDBDeleteJobListResponse_nonExistIds.Add(_ctx.StringValue("QueryFpDBDeleteJobList.NonExistIds["+ i +"]")); + } + queryFpDBDeleteJobListResponse.NonExistIds = queryFpDBDeleteJobListResponse_nonExistIds; + + List queryFpDBDeleteJobListResponse_fpDBDeleteJobList = new List(); + for (int i = 0; i < _ctx.Length("QueryFpDBDeleteJobList.FpDBDeleteJobList.Length"); i++) { + QueryFpDBDeleteJobListResponse.QueryFpDBDeleteJobList_FpDBDeleteJob fpDBDeleteJob = new QueryFpDBDeleteJobListResponse.QueryFpDBDeleteJobList_FpDBDeleteJob(); + fpDBDeleteJob.CreationTime = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].CreationTime"); + fpDBDeleteJob.Status = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].Status"); + fpDBDeleteJob.FinishTime = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].FinishTime"); + fpDBDeleteJob.DelType = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].DelType"); + fpDBDeleteJob.UserData = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].UserData"); + fpDBDeleteJob.Code = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].Code"); + fpDBDeleteJob.Message = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].Message"); + fpDBDeleteJob.PipelineId = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].PipelineId"); + fpDBDeleteJob.FpDBId = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].FpDBId"); + fpDBDeleteJob.Id = _ctx.StringValue("QueryFpDBDeleteJobList.FpDBDeleteJobList["+ i +"].Id"); + + queryFpDBDeleteJobListResponse_fpDBDeleteJobList.Add(fpDBDeleteJob); + } + queryFpDBDeleteJobListResponse.FpDBDeleteJobList = queryFpDBDeleteJobListResponse_fpDBDeleteJobList; + + return queryFpDBDeleteJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpFileDeleteJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpFileDeleteJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..7daf42c62 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpFileDeleteJobListResponseUnmarshaller.cs @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryFpFileDeleteJobListResponseUnmarshaller + { + public static QueryFpFileDeleteJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryFpFileDeleteJobListResponse queryFpFileDeleteJobListResponse = new QueryFpFileDeleteJobListResponse(); + + queryFpFileDeleteJobListResponse.HttpResponse = _ctx.HttpResponse; + queryFpFileDeleteJobListResponse.RequestId = _ctx.StringValue("QueryFpFileDeleteJobList.RequestId"); + + List queryFpFileDeleteJobListResponse_nonExistIds = new List(); + for (int i = 0; i < _ctx.Length("QueryFpFileDeleteJobList.NonExistIds.Length"); i++) { + queryFpFileDeleteJobListResponse_nonExistIds.Add(_ctx.StringValue("QueryFpFileDeleteJobList.NonExistIds["+ i +"]")); + } + queryFpFileDeleteJobListResponse.NonExistIds = queryFpFileDeleteJobListResponse_nonExistIds; + + List queryFpFileDeleteJobListResponse_fpFileDeleteJobList = new List(); + for (int i = 0; i < _ctx.Length("QueryFpFileDeleteJobList.FpFileDeleteJobList.Length"); i++) { + QueryFpFileDeleteJobListResponse.QueryFpFileDeleteJobList_FpFileDeleteJob fpFileDeleteJob = new QueryFpFileDeleteJobListResponse.QueryFpFileDeleteJobList_FpFileDeleteJob(); + fpFileDeleteJob.CreationTime = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].CreationTime"); + fpFileDeleteJob.Status = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].Status"); + fpFileDeleteJob.FinishTime = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].FinishTime"); + fpFileDeleteJob.UserData = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].UserData"); + fpFileDeleteJob.Code = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].Code"); + fpFileDeleteJob.Message = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].Message"); + fpFileDeleteJob.PipelineId = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].PipelineId"); + fpFileDeleteJob.FpDBId = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].FpDBId"); + fpFileDeleteJob.Id = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].Id"); + fpFileDeleteJob.FileIds = _ctx.StringValue("QueryFpFileDeleteJobList.FpFileDeleteJobList["+ i +"].FileIds"); + + queryFpFileDeleteJobListResponse_fpFileDeleteJobList.Add(fpFileDeleteJob); + } + queryFpFileDeleteJobListResponse.FpFileDeleteJobList = queryFpFileDeleteJobListResponse_fpFileDeleteJobList; + + return queryFpFileDeleteJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpShotJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpShotJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..594c76c8a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryFpShotJobListResponseUnmarshaller.cs @@ -0,0 +1,173 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryFpShotJobListResponseUnmarshaller + { + public static QueryFpShotJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryFpShotJobListResponse queryFpShotJobListResponse = new QueryFpShotJobListResponse(); + + queryFpShotJobListResponse.HttpResponse = _ctx.HttpResponse; + queryFpShotJobListResponse.RequestId = _ctx.StringValue("QueryFpShotJobList.RequestId"); + queryFpShotJobListResponse.NextPageToken = _ctx.StringValue("QueryFpShotJobList.NextPageToken"); + + List queryFpShotJobListResponse_nonExistPrimaryKeys = new List(); + for (int i = 0; i < _ctx.Length("QueryFpShotJobList.NonExistPrimaryKeys.Length"); i++) { + queryFpShotJobListResponse_nonExistPrimaryKeys.Add(_ctx.StringValue("QueryFpShotJobList.NonExistPrimaryKeys["+ i +"]")); + } + queryFpShotJobListResponse.NonExistPrimaryKeys = queryFpShotJobListResponse_nonExistPrimaryKeys; + + List queryFpShotJobListResponse_nonExistIds = new List(); + for (int i = 0; i < _ctx.Length("QueryFpShotJobList.NonExistIds.Length"); i++) { + queryFpShotJobListResponse_nonExistIds.Add(_ctx.StringValue("QueryFpShotJobList.NonExistIds["+ i +"]")); + } + queryFpShotJobListResponse.NonExistIds = queryFpShotJobListResponse_nonExistIds; + + List queryFpShotJobListResponse_fpShotJobList = new List(); + for (int i = 0; i < _ctx.Length("QueryFpShotJobList.FpShotJobList.Length"); i++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob fpShotJob = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob(); + fpShotJob.CreationTime = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].CreationTime"); + fpShotJob.FinishTime = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FinishTime"); + fpShotJob.State = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].State"); + fpShotJob.Message = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].Message"); + fpShotJob.TxHash = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].TxHash"); + fpShotJob.TransactionId = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].TransactionId"); + fpShotJob.FileId = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FileId"); + fpShotJob.UserData = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].UserData"); + fpShotJob.Duration = _ctx.IntegerValue("QueryFpShotJobList.FpShotJobList["+ i +"].Duration"); + fpShotJob.Code = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].Code"); + fpShotJob.PipelineId = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].PipelineId"); + fpShotJob.Id = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].Id"); + fpShotJob.Input = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].Input"); + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult fpShotResult = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult(); + + List fpShotResult_audioFpShots = new List(); + for (int j = 0; j < _ctx.Length("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots.Length"); j++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot fpShot = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot(); + fpShot.PrimaryKey = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].PrimaryKey"); + fpShot.Similarity = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].Similarity"); + + List fpShot_fpShotSlices = new List(); + for (int k = 0; k < _ctx.Length("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].FpShotSlices.Length"); k++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice fpShotSlice = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice(); + fpShotSlice.Similarity = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].FpShotSlices["+ k +"].Similarity"); + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Duplication duplication = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Duplication(); + duplication.Start = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].FpShotSlices["+ k +"].Duplication.Start"); + duplication.Duration = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].FpShotSlices["+ k +"].Duplication.Duration"); + fpShotSlice.Duplication = duplication; + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Input input = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Input(); + input.Start = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].FpShotSlices["+ k +"].Input.Start"); + input.Duration = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.AudioFpShots["+ j +"].FpShotSlices["+ k +"].Input.Duration"); + fpShotSlice.Input = input; + + fpShot_fpShotSlices.Add(fpShotSlice); + } + fpShot.FpShotSlices = fpShot_fpShotSlices; + + fpShotResult_audioFpShots.Add(fpShot); + } + fpShotResult.AudioFpShots = fpShotResult_audioFpShots; + + List fpShotResult_fpShots = new List(); + for (int j = 0; j < _ctx.Length("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots.Length"); j++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot fpShot = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot(); + fpShot.PrimaryKey = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].PrimaryKey"); + fpShot.Similarity = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].Similarity"); + + List fpShot_fpShotSlices = new List(); + for (int k = 0; k < _ctx.Length("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].FpShotSlices.Length"); k++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice fpShotSlice = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice(); + fpShotSlice.Similarity = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].FpShotSlices["+ k +"].Similarity"); + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Duplication queryFpShotJobList_FpShotSliceQueryFpShotJobList_Duplication = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Duplication(); + queryFpShotJobList_FpShotSliceQueryFpShotJobList_Duplication.Start = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].FpShotSlices["+ k +"].Duplication.Start"); + queryFpShotJobList_FpShotSliceQueryFpShotJobList_Duplication.Duration = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].FpShotSlices["+ k +"].Duplication.Duration"); + fpShotSlice.Duplication = queryFpShotJobList_FpShotSliceQueryFpShotJobList_Duplication; + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Input queryFpShotJobList_FpShotSliceQueryFpShotJobList_Input = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_FpShot.QueryFpShotJobList_FpShotSlice.QueryFpShotJobList_Input(); + queryFpShotJobList_FpShotSliceQueryFpShotJobList_Input.Start = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].FpShotSlices["+ k +"].Input.Start"); + queryFpShotJobList_FpShotSliceQueryFpShotJobList_Input.Duration = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.FpShots["+ j +"].FpShotSlices["+ k +"].Input.Duration"); + fpShotSlice.Input = queryFpShotJobList_FpShotSliceQueryFpShotJobList_Input; + + fpShot_fpShotSlices.Add(fpShotSlice); + } + fpShot.FpShotSlices = fpShot_fpShotSlices; + + fpShotResult_fpShots.Add(fpShot); + } + fpShotResult.FpShots = fpShotResult_fpShots; + + List fpShotResult_textFpShots = new List(); + for (int j = 0; j < _ctx.Length("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots.Length"); j++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_TextFpShot textFpShot = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_TextFpShot(); + textFpShot.PrimaryKey = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].PrimaryKey"); + textFpShot.Similarity = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].Similarity"); + + List textFpShot_textFpShotSlices = new List(); + for (int k = 0; k < _ctx.Length("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].TextFpShotSlices.Length"); k++) { + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_TextFpShot.QueryFpShotJobList_TextFpShotSlice textFpShotSlice = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_TextFpShot.QueryFpShotJobList_TextFpShotSlice(); + textFpShotSlice.Similarity = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].TextFpShotSlices["+ k +"].Similarity"); + textFpShotSlice.InputText = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].TextFpShotSlices["+ k +"].InputText"); + textFpShotSlice.DuplicationText = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].TextFpShotSlices["+ k +"].DuplicationText"); + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_TextFpShot.QueryFpShotJobList_TextFpShotSlice.QueryFpShotJobList_InputFragment inputFragment = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotResult.QueryFpShotJobList_TextFpShot.QueryFpShotJobList_TextFpShotSlice.QueryFpShotJobList_InputFragment(); + inputFragment.Start = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].TextFpShotSlices["+ k +"].InputFragment.Start"); + inputFragment.Duration = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotResult.TextFpShots["+ j +"].TextFpShotSlices["+ k +"].InputFragment.Duration"); + textFpShotSlice.InputFragment = inputFragment; + + textFpShot_textFpShotSlices.Add(textFpShotSlice); + } + textFpShot.TextFpShotSlices = textFpShot_textFpShotSlices; + + fpShotResult_textFpShots.Add(textFpShot); + } + fpShotResult.TextFpShots = fpShotResult_textFpShots; + fpShotJob.FpShotResult = fpShotResult; + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotConfig fpShotConfig = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_FpShotConfig(); + fpShotConfig.PrimaryKey = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotConfig.PrimaryKey"); + fpShotConfig.SaveType = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotConfig.SaveType"); + fpShotConfig.Notary = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotConfig.Notary"); + fpShotConfig.FpDBId = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].FpShotConfig.FpDBId"); + fpShotJob.FpShotConfig = fpShotConfig; + + QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_InputFile inputFile = new QueryFpShotJobListResponse.QueryFpShotJobList_FpShotJob.QueryFpShotJobList_InputFile(); + inputFile._Object = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].InputFile.Object"); + inputFile.Location = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("QueryFpShotJobList.FpShotJobList["+ i +"].InputFile.Bucket"); + fpShotJob.InputFile = inputFile; + + queryFpShotJobListResponse_fpShotJobList.Add(fpShotJob); + } + queryFpShotJobListResponse.FpShotJobList = queryFpShotJobListResponse_fpShotJobList; + + return queryFpShotJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryIProductionJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryIProductionJobResponseUnmarshaller.cs new file mode 100644 index 000000000..6ddf150b2 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryIProductionJobResponseUnmarshaller.cs @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryIProductionJobResponseUnmarshaller + { + public static QueryIProductionJobResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryIProductionJobResponse queryIProductionJobResponse = new QueryIProductionJobResponse(); + + queryIProductionJobResponse.HttpResponse = _ctx.HttpResponse; + queryIProductionJobResponse.FunctionName = _ctx.StringValue("QueryIProductionJob.FunctionName"); + queryIProductionJobResponse.Input = _ctx.StringValue("QueryIProductionJob.Input"); + queryIProductionJobResponse.RequestId = _ctx.StringValue("QueryIProductionJob.RequestId"); + queryIProductionJobResponse.UserData = _ctx.StringValue("QueryIProductionJob.UserData"); + queryIProductionJobResponse.State = _ctx.StringValue("QueryIProductionJob.State"); + queryIProductionJobResponse.Output = _ctx.StringValue("QueryIProductionJob.Output"); + queryIProductionJobResponse.PipelineId = _ctx.StringValue("QueryIProductionJob.PipelineId"); + queryIProductionJobResponse.JobParams = _ctx.StringValue("QueryIProductionJob.JobParams"); + queryIProductionJobResponse.JobId = _ctx.StringValue("QueryIProductionJob.JobId"); + queryIProductionJobResponse.Result = _ctx.StringValue("QueryIProductionJob.Result"); + + return queryIProductionJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..3677953e9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryJobListResponseUnmarshaller.cs @@ -0,0 +1,441 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryJobListResponseUnmarshaller + { + public static QueryJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryJobListResponse queryJobListResponse = new QueryJobListResponse(); + + queryJobListResponse.HttpResponse = _ctx.HttpResponse; + queryJobListResponse.RequestId = _ctx.StringValue("QueryJobList.RequestId"); + + List queryJobListResponse_nonExistJobIds = new List(); + for (int i = 0; i < _ctx.Length("QueryJobList.NonExistJobIds.Length"); i++) { + queryJobListResponse_nonExistJobIds.Add(_ctx.StringValue("QueryJobList.NonExistJobIds["+ i +"]")); + } + queryJobListResponse.NonExistJobIds = queryJobListResponse_nonExistJobIds; + + List queryJobListResponse_jobList = new List(); + for (int i = 0; i < _ctx.Length("QueryJobList.JobList.Length"); i++) { + QueryJobListResponse.QueryJobList_Job job = new QueryJobListResponse.QueryJobList_Job(); + job.CreationTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].CreationTime"); + job.Percent = _ctx.LongValue("QueryJobList.JobList["+ i +"].Percent"); + job.FinishTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].FinishTime"); + job.State = _ctx.StringValue("QueryJobList.JobList["+ i +"].State"); + job.JobId = _ctx.StringValue("QueryJobList.JobList["+ i +"].JobId"); + job.Code = _ctx.StringValue("QueryJobList.JobList["+ i +"].Code"); + job.Message = _ctx.StringValue("QueryJobList.JobList["+ i +"].Message"); + job.PipelineId = _ctx.StringValue("QueryJobList.JobList["+ i +"].PipelineId"); + job.SubmitTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].SubmitTime"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output output = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output(); + output.WaterMarkConfigUrl = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkConfigUrl"); + output.DeWatermark = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.DeWatermark"); + output.Priority = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Priority"); + output.AudioStreamMap = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.AudioStreamMap"); + output.UserData = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.UserData"); + output.ExtendData = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.ExtendData"); + output.VideoStreamMap = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.VideoStreamMap"); + output.Rotate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Rotate"); + output.MergeConfigUrl = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MergeConfigUrl"); + output.TemplateId = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TemplateId"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Video video = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Video(); + video.Bufsize = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Bufsize"); + video.Degrain = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Degrain"); + video.PixFmt = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.PixFmt"); + video.Pad = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Pad"); + video.Codec = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Codec"); + video.Height = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Height"); + video.Qscale = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Qscale"); + video.Crop = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Crop"); + video.Bitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Bitrate"); + video.Maxrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Maxrate"); + video.MaxFps = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.MaxFps"); + video.Profile = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Profile"); + video.Crf = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Crf"); + video.Gop = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Gop"); + video.Width = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Width"); + video.Fps = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Fps"); + video.Preset = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.Preset"); + video.ScanMode = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.ResoPriority"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Video.QueryJobList_BitrateBnd bitrateBnd = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Video.QueryJobList_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + output.Video = video; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_TransConfig transConfig = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TransConfig.IsCheckAudioBitrateFail"); + output.TransConfig = transConfig; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Encryption encryption = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Encryption(); + encryption.Type = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Encryption.Type"); + encryption.Key = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Encryption.Key"); + encryption.KeyType = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Encryption.KeyType"); + encryption.Id = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Encryption.Id"); + encryption.KeyUri = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Encryption.KeyUri"); + encryption.SkipCnt = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Encryption.SkipCnt"); + output.Encryption = encryption; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_M3U8NonStandardSupport m3U8NonStandardSupport = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_M3U8NonStandardSupport(); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_M3U8NonStandardSupport.QueryJobList_TS tS = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_M3U8NonStandardSupport.QueryJobList_TS(); + tS.SizeSupport = _ctx.BooleanValue("QueryJobList.JobList["+ i +"].Output.M3U8NonStandardSupport.TS.SizeSupport"); + tS.Md5Support = _ctx.BooleanValue("QueryJobList.JobList["+ i +"].Output.M3U8NonStandardSupport.TS.Md5Support"); + m3U8NonStandardSupport.TS = tS; + output.M3U8NonStandardSupport = m3U8NonStandardSupport; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Audio audio = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Audio(); + audio.Profile = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Profile"); + audio.Codec = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Codec"); + audio.Samplerate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Qscale"); + audio.Channels = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Channels"); + audio.Bitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Bitrate"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Audio.QueryJobList_Volume volume = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Audio.QueryJobList_Volume(); + volume.Method = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Volume.Method"); + volume.Level = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Audio.Volume.Level"); + audio.Volume = volume; + output.Audio = audio; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SuperReso superReso = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SuperReso(); + superReso.IsHalfSample = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SuperReso.IsHalfSample"); + output.SuperReso = superReso; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_OutputFile outputFile = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_OutputFile(); + outputFile.RoleArn = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutputFile.RoleArn"); + outputFile._Object = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutputFile.Bucket"); + output.OutputFile = outputFile; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Container container = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Container(); + container.Format = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Container.Format"); + output.Container = container; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Clip clip = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Clip(); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Clip.QueryJobList_TimeSpan timeSpan = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Clip.QueryJobList_TimeSpan(); + timeSpan.Seek = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Clip.TimeSpan.Seek"); + timeSpan.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Clip.TimeSpan.Duration"); + clip.TimeSpan = timeSpan; + output.Clip = clip; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig muxConfig = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig(); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig.QueryJobList_Webp webp = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig.QueryJobList_Webp(); + webp.Loop = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MuxConfig.Webp.Loop"); + muxConfig.Webp = webp; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig.QueryJobList_Gif gif = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig.QueryJobList_Gif(); + gif.FinalDelay = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig.QueryJobList_Segment segment = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MuxConfig.QueryJobList_Segment(); + segment.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + output.MuxConfig = muxConfig; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig subtitleConfig = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig(); + + List subtitleConfig_extSubtitleList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig.QueryJobList_ExtSubtitle extSubtitle = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig.QueryJobList_ExtSubtitle(); + extSubtitle.CharEnc = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].CharEnc"); + extSubtitle.FontName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].FontName"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig.QueryJobList_ExtSubtitle.QueryJobList_Input1 input1 = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig.QueryJobList_ExtSubtitle.QueryJobList_Input1(); + input1._Object = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Object"); + input1.Location = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Location"); + input1.Bucket = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Bucket"); + extSubtitle.Input1 = input1; + + subtitleConfig_extSubtitleList.Add(extSubtitle); + } + subtitleConfig.ExtSubtitleList = subtitleConfig_extSubtitleList; + + List subtitleConfig_subtitleList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.SubtitleList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig.QueryJobList_Subtitle subtitle = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_SubtitleConfig.QueryJobList_Subtitle(); + subtitle.Map = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.SubtitleConfig.SubtitleList["+ j +"].Map"); + + subtitleConfig_subtitleList.Add(subtitle); + } + subtitleConfig.SubtitleList = subtitleConfig_subtitleList; + output.SubtitleConfig = subtitleConfig; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties properties = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties(); + properties.Width = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Width"); + properties.Height = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Height"); + properties.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Duration"); + properties.Fps = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Fps"); + properties.Bitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Bitrate"); + properties.FileFormat = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.FileFormat"); + properties.FileSize = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.FileSize"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams streams = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams(); + + List streams_videoStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_VideoStream videoStream = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_VideoStream(); + videoStream.Index = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Index"); + videoStream.Timebase = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].PixFmt"); + videoStream.Sar = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Sar"); + videoStream.Lang = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecLongName"); + videoStream.Height = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Height"); + videoStream.NumFrames = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NumFrames"); + videoStream.Bitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Bitrate"); + videoStream.CodecTagString = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTagString"); + videoStream.HasBFrames = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Profile"); + videoStream.StartTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].StartTime"); + videoStream.Dar = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Dar"); + videoStream.CodecName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecName"); + videoStream.Width = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Width"); + videoStream.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Duration"); + videoStream.Fps = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Level"); + videoStream.ColorTransfer = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].colorTransfer"); + videoStream.ColorPrimaries = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].colorPrimaries"); + videoStream.BitsPerRawSample = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].bitsPerRawSample"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_VideoStream.QueryJobList_NetworkCost networkCost = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_VideoStream.QueryJobList_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_AudioStream audioStream = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_AudioStream(); + audioStream.Timebase = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Timebase"); + audioStream.Index = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecName"); + audioStream.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_SubtitleStream subtitleStream = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Streams.QueryJobList_SubtitleStream(); + subtitleStream.Index = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList["+ j +"].Index"); + subtitleStream.Lang = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList["+ j +"].Lang"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + properties.Streams = streams; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Format format = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_Format(); + format.StartTime = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.NumPrograms"); + format.Size = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.Size"); + format.NumStreams = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.FormatLongName"); + format.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.Duration"); + format.Bitrate = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.Bitrate"); + format.FormatName = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.Format.FormatName"); + properties.Format = format; + + List properties_sourceLogos = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.Properties.SourceLogos.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_SourceLogo sourceLogo = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Properties.QueryJobList_SourceLogo(); + sourceLogo.Source = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.Properties.SourceLogos["+ j +"].Source"); + + properties_sourceLogos.Add(sourceLogo); + } + properties.SourceLogos = properties_sourceLogos; + output.Properties = properties; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MultiSpeedInfo multiSpeedInfo = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_MultiSpeedInfo(); + multiSpeedInfo.Enable = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.Enable"); + multiSpeedInfo.Code = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.Code"); + multiSpeedInfo.Message = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.Message"); + multiSpeedInfo.SettingSpeed = _ctx.IntegerValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.SettingSpeed"); + multiSpeedInfo.DowngradePolicy = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.DowngradePolicy"); + multiSpeedInfo.RealSpeed = _ctx.DoubleValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.RealSpeed"); + multiSpeedInfo.Duration = _ctx.DoubleValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.Duration"); + multiSpeedInfo.TimeCost = _ctx.DoubleValue("QueryJobList.JobList["+ i +"].Output.MultiSpeedInfo.TimeCost"); + output.MultiSpeedInfo = multiSpeedInfo; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_TraceMark traceMark = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_TraceMark(); + traceMark.Enable = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TraceMark.Enable"); + output.TraceMark = traceMark; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_CopyrightMark copyrightMark = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_CopyrightMark(); + copyrightMark.Content = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.CopyrightMark.Content"); + output.CopyrightMark = copyrightMark; + + List output_waterMarkList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.WaterMarkList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_WaterMark waterMark = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_WaterMark(); + waterMark.Type = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].Type"); + waterMark.ReferPos = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].ReferPos"); + waterMark.Dx = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].Dx"); + waterMark.Width = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].Width"); + waterMark.Height = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].Height"); + waterMark.WaterMarkTemplateId = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].WaterMarkTemplateId"); + waterMark.Dy = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].Dy"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_WaterMark.QueryJobList_InputFile inputFile = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_WaterMark.QueryJobList_InputFile(); + inputFile._Object = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Object"); + inputFile.Location = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Bucket"); + waterMark.InputFile = inputFile; + + output_waterMarkList.Add(waterMark); + } + output.WaterMarkList = output_waterMarkList; + + List output_mergeList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.MergeList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Merge merge = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Merge(); + merge.Start = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MergeList["+ j +"].Start"); + merge.RoleArn = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MergeList["+ j +"].RoleArn"); + merge.MergeURL = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MergeList["+ j +"].MergeURL"); + merge.Duration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.MergeList["+ j +"].Duration"); + + output_mergeList.Add(merge); + } + output.MergeList = output_mergeList; + + List output_outSubtitleList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.OutSubtitleList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_OutSubtitle outSubtitle = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_OutSubtitle(); + outSubtitle.Map = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Map"); + outSubtitle.Success = _ctx.BooleanValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Success"); + outSubtitle.Message = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Message"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_OutSubtitle.QueryJobList_OutSubtitleFile outSubtitleFile = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_OutSubtitle.QueryJobList_OutSubtitleFile(); + outSubtitleFile.RoleArn = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.RoleArn"); + outSubtitleFile._Object = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Object"); + outSubtitleFile.Location = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Location"); + outSubtitleFile.Bucket = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Bucket"); + outSubtitle.OutSubtitleFile = outSubtitleFile; + + output_outSubtitleList.Add(outSubtitle); + } + output.OutSubtitleList = output_outSubtitleList; + + List output_openingList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.OpeningList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Opening opening = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_Opening(); + opening.OpenUrl = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OpeningList["+ j +"].openUrl"); + opening.Start = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OpeningList["+ j +"].Start"); + opening.Width = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OpeningList["+ j +"].Width"); + opening.Height = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.OpeningList["+ j +"].Height"); + + output_openingList.Add(opening); + } + output.OpeningList = output_openingList; + + List output_tailSlateList = new List(); + for (int j = 0; j < _ctx.Length("QueryJobList.JobList["+ i +"].Output.TailSlateList.Length"); j++) { + QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_TailSlate tailSlate = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Output.QueryJobList_TailSlate(); + tailSlate.Start = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].Start"); + tailSlate.BgColor = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].BgColor"); + tailSlate.IsMergeAudio = _ctx.BooleanValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].IsMergeAudio"); + tailSlate.Width = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].Width"); + tailSlate.Height = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].Height"); + tailSlate.BlendDuration = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].BlendDuration"); + tailSlate.TailUrl = _ctx.StringValue("QueryJobList.JobList["+ i +"].Output.TailSlateList["+ j +"].TailUrl"); + + output_tailSlateList.Add(tailSlate); + } + output.TailSlateList = output_tailSlateList; + job.Output = output; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Input input = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Input(); + input._Object = _ctx.StringValue("QueryJobList.JobList["+ i +"].Input.Object"); + input.Location = _ctx.StringValue("QueryJobList.JobList["+ i +"].Input.Location"); + input.Bucket = _ctx.StringValue("QueryJobList.JobList["+ i +"].Input.Bucket"); + job.Input = input; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_MNSMessageResult mNSMessageResult = new QueryJobListResponse.QueryJobList_Job.QueryJobList_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("QueryJobList.JobList["+ i +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("QueryJobList.JobList["+ i +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("QueryJobList.JobList["+ i +"].MNSMessageResult.ErrorCode"); + job.MNSMessageResult = mNSMessageResult; + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Pipeline pipeline = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Pipeline(); + pipeline.Id = _ctx.StringValue("QueryJobList.JobList["+ i +"].Pipeline.Id"); + pipeline.Name = _ctx.StringValue("QueryJobList.JobList["+ i +"].Pipeline.Name"); + pipeline.Speed = _ctx.StringValue("QueryJobList.JobList["+ i +"].Pipeline.Speed"); + pipeline.State = _ctx.StringValue("QueryJobList.JobList["+ i +"].Pipeline.State"); + + QueryJobListResponse.QueryJobList_Job.QueryJobList_Pipeline.QueryJobList_ExtendConfig extendConfig = new QueryJobListResponse.QueryJobList_Job.QueryJobList_Pipeline.QueryJobList_ExtendConfig(); + extendConfig.IsBoostNew = _ctx.BooleanValue("QueryJobList.JobList["+ i +"].Pipeline.ExtendConfig.IsBoostNew"); + extendConfig.MaxMultiSpeed = _ctx.IntegerValue("QueryJobList.JobList["+ i +"].Pipeline.ExtendConfig.MaxMultiSpeed"); + extendConfig.MultiSpeedDowngradePolicy = _ctx.StringValue("QueryJobList.JobList["+ i +"].Pipeline.ExtendConfig.MultiSpeedDowngradePolicy"); + pipeline.ExtendConfig = extendConfig; + job.Pipeline = pipeline; + + queryJobListResponse_jobList.Add(job); + } + queryJobListResponse.JobList = queryJobListResponse_jobList; + + return queryJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobDetailResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobDetailResponseUnmarshaller.cs new file mode 100644 index 000000000..0ab41adca --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobDetailResponseUnmarshaller.cs @@ -0,0 +1,167 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaCensorJobDetailResponseUnmarshaller + { + public static QueryMediaCensorJobDetailResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaCensorJobDetailResponse queryMediaCensorJobDetailResponse = new QueryMediaCensorJobDetailResponse(); + + queryMediaCensorJobDetailResponse.HttpResponse = _ctx.HttpResponse; + queryMediaCensorJobDetailResponse.RequestId = _ctx.StringValue("QueryMediaCensorJobDetail.RequestId"); + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail mediaCensorJobDetail = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail(); + mediaCensorJobDetail.CreationTime = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CreationTime"); + mediaCensorJobDetail.FinishTime = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.FinishTime"); + mediaCensorJobDetail.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.Suggestion"); + mediaCensorJobDetail.State = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.State"); + mediaCensorJobDetail.Message = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.Message"); + mediaCensorJobDetail.JobId = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.JobId"); + mediaCensorJobDetail.UserData = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.UserData"); + mediaCensorJobDetail.Code = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.Code"); + mediaCensorJobDetail.PipelineId = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.PipelineId"); + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_TitleCensorResult titleCensorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_TitleCensorResult(); + titleCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.TitleCensorResult.Suggestion"); + titleCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.TitleCensorResult.Label"); + titleCensorResult.Scene = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.TitleCensorResult.Scene"); + titleCensorResult.Rate = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.TitleCensorResult.Rate"); + mediaCensorJobDetail.TitleCensorResult = titleCensorResult; + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_Input input = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_Input(); + input._Object = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.Input.Object"); + input.Location = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.Input.Location"); + input.Bucket = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.Input.Bucket"); + mediaCensorJobDetail.Input = input; + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_BarrageCensorResult barrageCensorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_BarrageCensorResult(); + barrageCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.BarrageCensorResult.Suggestion"); + barrageCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.BarrageCensorResult.Label"); + barrageCensorResult.Scene = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.BarrageCensorResult.Scene"); + barrageCensorResult.Rate = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.BarrageCensorResult.Rate"); + mediaCensorJobDetail.BarrageCensorResult = barrageCensorResult; + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_DescCensorResult descCensorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_DescCensorResult(); + descCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.DescCensorResult.Suggestion"); + descCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.DescCensorResult.Label"); + descCensorResult.Scene = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.DescCensorResult.Scene"); + descCensorResult.Rate = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.DescCensorResult.Rate"); + mediaCensorJobDetail.DescCensorResult = descCensorResult; + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VideoCensorConfig videoCensorConfig = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VideoCensorConfig(); + videoCensorConfig.VideoCensor = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VideoCensorConfig.VideoCensor"); + videoCensorConfig.BizType = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VideoCensorConfig.BizType"); + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VideoCensorConfig.QueryMediaCensorJobDetail_OutputFile outputFile = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VideoCensorConfig.QueryMediaCensorJobDetail_OutputFile(); + outputFile._Object = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VideoCensorConfig.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VideoCensorConfig.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VideoCensorConfig.OutputFile.Bucket"); + videoCensorConfig.OutputFile = outputFile; + mediaCensorJobDetail.VideoCensorConfig = videoCensorConfig; + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult vensorCensorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult(); + vensorCensorResult.NextPageToken = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.NextPageToken"); + + List vensorCensorResult_videoTimelines = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines.Length"); i++) { + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult.QueryMediaCensorJobDetail_VideoTimeline videoTimeline = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult.QueryMediaCensorJobDetail_VideoTimeline(); + videoTimeline.Timestamp = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].Timestamp"); + videoTimeline._Object = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].Object"); + + List videoTimeline_censorResults1 = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].CensorResults.Length"); j++) { + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult.QueryMediaCensorJobDetail_VideoTimeline.QueryMediaCensorJobDetail_CensorResult censorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult.QueryMediaCensorJobDetail_VideoTimeline.QueryMediaCensorJobDetail_CensorResult(); + censorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].CensorResults["+ j +"].Suggestion"); + censorResult.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].CensorResults["+ j +"].Label"); + censorResult.Scene = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].CensorResults["+ j +"].Scene"); + censorResult.Rate = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.VideoTimelines["+ i +"].CensorResults["+ j +"].Rate"); + + videoTimeline_censorResults1.Add(censorResult); + } + videoTimeline.CensorResults1 = videoTimeline_censorResults1; + + vensorCensorResult_videoTimelines.Add(videoTimeline); + } + vensorCensorResult.VideoTimelines = vensorCensorResult_videoTimelines; + + List vensorCensorResult_censorResults = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.CensorResults.Length"); i++) { + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult.QueryMediaCensorJobDetail_CensorResult2 censorResult2 = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_VensorCensorResult.QueryMediaCensorJobDetail_CensorResult2(); + censorResult2.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.CensorResults["+ i +"].Suggestion"); + censorResult2.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.CensorResults["+ i +"].Label"); + censorResult2.Scene = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.CensorResults["+ i +"].Scene"); + censorResult2.Rate = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.VensorCensorResult.CensorResults["+ i +"].Rate"); + + vensorCensorResult_censorResults.Add(censorResult2); + } + vensorCensorResult.CensorResults = vensorCensorResult_censorResults; + mediaCensorJobDetail.VensorCensorResult = vensorCensorResult; + + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_AudioCensorResult audioCensorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_AudioCensorResult(); + audioCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.Suggestion"); + audioCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.Label"); + + List audioCensorResult_audioDetailResultList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.AudioDetailResultList.Length"); i++) { + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_AudioCensorResult.QueryMediaCensorJobDetail_AudioDetailResult audioDetailResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_AudioCensorResult.QueryMediaCensorJobDetail_AudioDetailResult(); + audioDetailResult.StartTime = _ctx.IntegerValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.AudioDetailResultList["+ i +"].StartTime"); + audioDetailResult.EndTime = _ctx.IntegerValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.AudioDetailResultList["+ i +"].EndTime"); + audioDetailResult.Text = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.AudioDetailResultList["+ i +"].Text"); + audioDetailResult.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.AudioCensorResult.AudioDetailResultList["+ i +"].Label"); + + audioCensorResult_audioDetailResultList.Add(audioDetailResult); + } + audioCensorResult.AudioDetailResultList = audioCensorResult_audioDetailResultList; + mediaCensorJobDetail.AudioCensorResult = audioCensorResult; + + List mediaCensorJobDetail_coverImageCensorResults = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults.Length"); i++) { + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_CoverImageCensorResult coverImageCensorResult = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_CoverImageCensorResult(); + coverImageCensorResult._Object = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Object"); + coverImageCensorResult.Location = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Location"); + coverImageCensorResult.Bucket = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Bucket"); + + List coverImageCensorResult_results = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Results.Length"); j++) { + QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_CoverImageCensorResult.QueryMediaCensorJobDetail_Result result = new QueryMediaCensorJobDetailResponse.QueryMediaCensorJobDetail_MediaCensorJobDetail.QueryMediaCensorJobDetail_CoverImageCensorResult.QueryMediaCensorJobDetail_Result(); + result.Suggestion = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Results["+ j +"].Suggestion"); + result.Label = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Results["+ j +"].Label"); + result.Scene = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Results["+ j +"].Scene"); + result.Rate = _ctx.StringValue("QueryMediaCensorJobDetail.MediaCensorJobDetail.CoverImageCensorResults["+ i +"].Results["+ j +"].Rate"); + + coverImageCensorResult_results.Add(result); + } + coverImageCensorResult.Results = coverImageCensorResult_results; + + mediaCensorJobDetail_coverImageCensorResults.Add(coverImageCensorResult); + } + mediaCensorJobDetail.CoverImageCensorResults = mediaCensorJobDetail_coverImageCensorResults; + queryMediaCensorJobDetailResponse.MediaCensorJobDetail = mediaCensorJobDetail; + + return queryMediaCensorJobDetailResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..506062f0b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaCensorJobListResponseUnmarshaller.cs @@ -0,0 +1,167 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaCensorJobListResponseUnmarshaller + { + public static QueryMediaCensorJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaCensorJobListResponse queryMediaCensorJobListResponse = new QueryMediaCensorJobListResponse(); + + queryMediaCensorJobListResponse.HttpResponse = _ctx.HttpResponse; + queryMediaCensorJobListResponse.RequestId = _ctx.StringValue("QueryMediaCensorJobList.RequestId"); + queryMediaCensorJobListResponse.NextPageToken = _ctx.StringValue("QueryMediaCensorJobList.NextPageToken"); + + List queryMediaCensorJobListResponse_nonExistIds = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaCensorJobList.NonExistIds.Length"); i++) { + queryMediaCensorJobListResponse_nonExistIds.Add(_ctx.StringValue("QueryMediaCensorJobList.NonExistIds["+ i +"]")); + } + queryMediaCensorJobListResponse.NonExistIds = queryMediaCensorJobListResponse_nonExistIds; + + List queryMediaCensorJobListResponse_mediaCensorJobList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaCensorJobList.MediaCensorJobList.Length"); i++) { + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob mediaCensorJob = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob(); + mediaCensorJob.CreationTime = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CreationTime"); + mediaCensorJob.FinishTime = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].FinishTime"); + mediaCensorJob.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].Suggestion"); + mediaCensorJob.State = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].State"); + mediaCensorJob.Message = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].Message"); + mediaCensorJob.JobId = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].JobId"); + mediaCensorJob.UserData = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].UserData"); + mediaCensorJob.Code = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].Code"); + mediaCensorJob.PipelineId = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].PipelineId"); + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_TitleCensorResult titleCensorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_TitleCensorResult(); + titleCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].TitleCensorResult.Suggestion"); + titleCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].TitleCensorResult.Label"); + titleCensorResult.Scene = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].TitleCensorResult.Scene"); + titleCensorResult.Rate = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].TitleCensorResult.Rate"); + mediaCensorJob.TitleCensorResult = titleCensorResult; + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_Input input = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_Input(); + input._Object = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].Input.Object"); + input.Location = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].Input.Location"); + input.Bucket = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].Input.Bucket"); + mediaCensorJob.Input = input; + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_BarrageCensorResult barrageCensorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_BarrageCensorResult(); + barrageCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].BarrageCensorResult.Suggestion"); + barrageCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].BarrageCensorResult.Label"); + barrageCensorResult.Scene = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].BarrageCensorResult.Scene"); + barrageCensorResult.Rate = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].BarrageCensorResult.Rate"); + mediaCensorJob.BarrageCensorResult = barrageCensorResult; + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_DescCensorResult descCensorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_DescCensorResult(); + descCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].DescCensorResult.Suggestion"); + descCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].DescCensorResult.Label"); + descCensorResult.Scene = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].DescCensorResult.Scene"); + descCensorResult.Rate = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].DescCensorResult.Rate"); + mediaCensorJob.DescCensorResult = descCensorResult; + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VideoCensorConfig videoCensorConfig = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VideoCensorConfig(); + videoCensorConfig.VideoCensor = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VideoCensorConfig.VideoCensor"); + videoCensorConfig.BizType = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VideoCensorConfig.BizType"); + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VideoCensorConfig.QueryMediaCensorJobList_OutputFile outputFile = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VideoCensorConfig.QueryMediaCensorJobList_OutputFile(); + outputFile._Object = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VideoCensorConfig.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VideoCensorConfig.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VideoCensorConfig.OutputFile.Bucket"); + videoCensorConfig.OutputFile = outputFile; + mediaCensorJob.VideoCensorConfig = videoCensorConfig; + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult vensorCensorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult(); + vensorCensorResult.NextPageToken = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.NextPageToken"); + + List vensorCensorResult_videoTimelines = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines.Length"); j++) { + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult.QueryMediaCensorJobList_VideoTimeline videoTimeline = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult.QueryMediaCensorJobList_VideoTimeline(); + videoTimeline.Timestamp = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].Timestamp"); + videoTimeline._Object = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].Object"); + + List videoTimeline_censorResults1 = new List(); + for (int k = 0; k < _ctx.Length("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].CensorResults.Length"); k++) { + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult.QueryMediaCensorJobList_VideoTimeline.QueryMediaCensorJobList_CensorResult censorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult.QueryMediaCensorJobList_VideoTimeline.QueryMediaCensorJobList_CensorResult(); + censorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].CensorResults["+ k +"].Suggestion"); + censorResult.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].CensorResults["+ k +"].Label"); + censorResult.Scene = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].CensorResults["+ k +"].Scene"); + censorResult.Rate = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.VideoTimelines["+ j +"].CensorResults["+ k +"].Rate"); + + videoTimeline_censorResults1.Add(censorResult); + } + videoTimeline.CensorResults1 = videoTimeline_censorResults1; + + vensorCensorResult_videoTimelines.Add(videoTimeline); + } + vensorCensorResult.VideoTimelines = vensorCensorResult_videoTimelines; + + List vensorCensorResult_censorResults = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.CensorResults.Length"); j++) { + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult.QueryMediaCensorJobList_CensorResult2 censorResult2 = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_VensorCensorResult.QueryMediaCensorJobList_CensorResult2(); + censorResult2.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.CensorResults["+ j +"].Suggestion"); + censorResult2.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.CensorResults["+ j +"].Label"); + censorResult2.Scene = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.CensorResults["+ j +"].Scene"); + censorResult2.Rate = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].VensorCensorResult.CensorResults["+ j +"].Rate"); + + vensorCensorResult_censorResults.Add(censorResult2); + } + vensorCensorResult.CensorResults = vensorCensorResult_censorResults; + mediaCensorJob.VensorCensorResult = vensorCensorResult; + + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_AudioCensorResult audioCensorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_AudioCensorResult(); + audioCensorResult.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].AudioCensorResult.Suggestion"); + audioCensorResult.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].AudioCensorResult.Label"); + mediaCensorJob.AudioCensorResult = audioCensorResult; + + List mediaCensorJob_coverImageCensorResults = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults.Length"); j++) { + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_CoverImageCensorResult coverImageCensorResult = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_CoverImageCensorResult(); + coverImageCensorResult._Object = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Object"); + coverImageCensorResult.Location = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Location"); + coverImageCensorResult.Bucket = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Bucket"); + + List coverImageCensorResult_results = new List(); + for (int k = 0; k < _ctx.Length("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Results.Length"); k++) { + QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_CoverImageCensorResult.QueryMediaCensorJobList_Result result = new QueryMediaCensorJobListResponse.QueryMediaCensorJobList_MediaCensorJob.QueryMediaCensorJobList_CoverImageCensorResult.QueryMediaCensorJobList_Result(); + result.Suggestion = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Results["+ k +"].Suggestion"); + result.Label = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Results["+ k +"].Label"); + result.Scene = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Results["+ k +"].Scene"); + result.Rate = _ctx.StringValue("QueryMediaCensorJobList.MediaCensorJobList["+ i +"].CoverImageCensorResults["+ j +"].Results["+ k +"].Rate"); + + coverImageCensorResult_results.Add(result); + } + coverImageCensorResult.Results = coverImageCensorResult_results; + + mediaCensorJob_coverImageCensorResults.Add(coverImageCensorResult); + } + mediaCensorJob.CoverImageCensorResults = mediaCensorJob_coverImageCensorResults; + + queryMediaCensorJobListResponse_mediaCensorJobList.Add(mediaCensorJob); + } + queryMediaCensorJobListResponse.MediaCensorJobList = queryMediaCensorJobListResponse_mediaCensorJobList; + + return queryMediaCensorJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaInfoJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaInfoJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..83f83c74e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaInfoJobListResponseUnmarshaller.cs @@ -0,0 +1,179 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaInfoJobListResponseUnmarshaller + { + public static QueryMediaInfoJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaInfoJobListResponse queryMediaInfoJobListResponse = new QueryMediaInfoJobListResponse(); + + queryMediaInfoJobListResponse.HttpResponse = _ctx.HttpResponse; + queryMediaInfoJobListResponse.RequestId = _ctx.StringValue("QueryMediaInfoJobList.RequestId"); + + List queryMediaInfoJobListResponse_nonExistMediaInfoJobIds = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaInfoJobList.NonExistMediaInfoJobIds.Length"); i++) { + queryMediaInfoJobListResponse_nonExistMediaInfoJobIds.Add(_ctx.StringValue("QueryMediaInfoJobList.NonExistMediaInfoJobIds["+ i +"]")); + } + queryMediaInfoJobListResponse.NonExistMediaInfoJobIds = queryMediaInfoJobListResponse_nonExistMediaInfoJobIds; + + List queryMediaInfoJobListResponse_mediaInfoJobList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaInfoJobList.MediaInfoJobList.Length"); i++) { + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob mediaInfoJob = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob(); + mediaInfoJob.CreationTime = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].CreationTime"); + mediaInfoJob.State = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].State"); + mediaInfoJob.JobId = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].JobId"); + mediaInfoJob.UserData = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].UserData"); + mediaInfoJob.Code = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Code"); + mediaInfoJob.Message = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Message"); + mediaInfoJob.PipelineId = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].PipelineId"); + mediaInfoJob.Async = _ctx.BooleanValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Async"); + + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Input input = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Input(); + input._Object = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Input.Object"); + input.Location = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Input.Location"); + input.Bucket = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Input.Bucket"); + mediaInfoJob.Input = input; + + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_MNSMessageResult mNSMessageResult = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].MNSMessageResult.ErrorCode"); + mediaInfoJob.MNSMessageResult = mNSMessageResult; + + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties properties = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties(); + properties.Width = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Width"); + properties.Height = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Height"); + properties.Duration = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Duration"); + properties.Fps = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Fps"); + properties.Bitrate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Bitrate"); + properties.FileFormat = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.FileFormat"); + properties.FileSize = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.FileSize"); + + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams streams = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams(); + + List streams_videoStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList.Length"); j++) { + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_VideoStream videoStream = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_VideoStream(); + videoStream.Sar = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Sar"); + videoStream.Height = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Height"); + videoStream.CodecTagString = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].CodecTagString"); + videoStream.Width = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Width"); + videoStream.Index = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Index"); + videoStream.Timebase = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].PixFmt"); + videoStream.Lang = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].CodecLongName"); + videoStream.NumFrames = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].NumFrames"); + videoStream.Rotate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Rotate"); + videoStream.Bitrate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Bitrate"); + videoStream.HasBFrames = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Profile"); + videoStream.StartTime = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].StartTime"); + videoStream.Dar = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Dar"); + videoStream.CodecName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].CodecName"); + videoStream.Duration = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Duration"); + videoStream.Fps = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].Level"); + videoStream.ColorRange = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].ColorRange"); + videoStream.ColorTransfer = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].ColorTransfer"); + videoStream.ColorPrimaries = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].ColorPrimaries"); + + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_VideoStream.QueryMediaInfoJobList_NetworkCost networkCost = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_VideoStream.QueryMediaInfoJobList_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList.Length"); j++) { + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_AudioStream audioStream = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_AudioStream(); + audioStream.Timebase = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Timebase"); + audioStream.Index = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].CodecName"); + audioStream.Duration = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.AudioStreamList["+ j +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList.Length"); j++) { + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_SubtitleStream subtitleStream = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Streams.QueryMediaInfoJobList_SubtitleStream(); + subtitleStream.Timebase = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].Timebase"); + subtitleStream.Index = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].Index"); + subtitleStream.StartTime = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].StartTime"); + subtitleStream.CodecName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].CodecName"); + subtitleStream.Lang = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].Lang"); + subtitleStream.CodecLongName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].CodecLongName"); + subtitleStream.Duration = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].Duration"); + subtitleStream.CodecTag = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].CodecTag"); + subtitleStream.CodecTimeBase = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].CodecTimeBase"); + subtitleStream.CodecTagString = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Streams.SubtitleStreamList["+ j +"].CodecTagString"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + properties.Streams = streams; + + QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Format format = new QueryMediaInfoJobListResponse.QueryMediaInfoJobList_MediaInfoJob.QueryMediaInfoJobList_Properties.QueryMediaInfoJobList_Format(); + format.StartTime = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.NumPrograms"); + format.Size = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.Size"); + format.NumStreams = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.FormatLongName"); + format.Duration = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.Duration"); + format.Bitrate = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.Bitrate"); + format.FormatName = _ctx.StringValue("QueryMediaInfoJobList.MediaInfoJobList["+ i +"].Properties.Format.FormatName"); + properties.Format = format; + mediaInfoJob.Properties = properties; + + queryMediaInfoJobListResponse_mediaInfoJobList.Add(mediaInfoJob); + } + queryMediaInfoJobListResponse.MediaInfoJobList = queryMediaInfoJobListResponse_mediaInfoJobList; + + return queryMediaInfoJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListByURLResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListByURLResponseUnmarshaller.cs new file mode 100644 index 000000000..293728f33 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListByURLResponseUnmarshaller.cs @@ -0,0 +1,232 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaListByURLResponseUnmarshaller + { + public static QueryMediaListByURLResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaListByURLResponse queryMediaListByURLResponse = new QueryMediaListByURLResponse(); + + queryMediaListByURLResponse.HttpResponse = _ctx.HttpResponse; + queryMediaListByURLResponse.RequestId = _ctx.StringValue("QueryMediaListByURL.RequestId"); + + List queryMediaListByURLResponse_nonExistFileURLs = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaListByURL.NonExistFileURLs.Length"); i++) { + queryMediaListByURLResponse_nonExistFileURLs.Add(_ctx.StringValue("QueryMediaListByURL.NonExistFileURLs["+ i +"]")); + } + queryMediaListByURLResponse.NonExistFileURLs = queryMediaListByURLResponse_nonExistFileURLs; + + List queryMediaListByURLResponse_mediaList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaListByURL.MediaList.Length"); i++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media media = new QueryMediaListByURLResponse.QueryMediaListByURL_Media(); + media.CreationTime = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].CreationTime"); + media.CateId = _ctx.LongValue("QueryMediaListByURL.MediaList["+ i +"].CateId"); + media.Height = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Height"); + media.CensorState = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].CensorState"); + media.Bitrate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Bitrate"); + media.MediaId = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaId"); + media.PublishState = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PublishState"); + media.Description = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Description"); + media.Size = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Size"); + media.Width = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Width"); + media.CoverURL = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].CoverURL"); + media.Duration = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Duration"); + media.Fps = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Fps"); + media.Title = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Title"); + media.Format = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Format"); + + List media_tags = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].Tags.Length"); j++) { + media_tags.Add(_ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].Tags["+ j +"]")); + } + media.Tags = media_tags; + + List media_runIdList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].RunIdList.Length"); j++) { + media_runIdList.Add(_ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].RunIdList["+ j +"]")); + } + media.RunIdList = media_runIdList; + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_File file = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_File(); + file.State = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].File.State"); + file.URL = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].File.URL"); + media.File = file; + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo mediaInfo = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo(); + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams streams = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams(); + + List streams_videoStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList.Length"); j++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_VideoStream videoStream = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_VideoStream(); + videoStream.Sar = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Sar"); + videoStream.Height = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Height"); + videoStream.CodecTagString = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecTagString"); + videoStream.Width = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Width"); + videoStream.Index = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Index"); + videoStream.Timebase = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].PixFmt"); + videoStream.Lang = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecLongName"); + videoStream.NumFrames = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NumFrames"); + videoStream.Rotate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Rotate"); + videoStream.Bitrate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Bitrate"); + videoStream.HasBFrames = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Profile"); + videoStream.StartTime = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].StartTime"); + videoStream.Dar = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Dar"); + videoStream.CodecName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecName"); + videoStream.Duration = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Duration"); + videoStream.Fps = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Level"); + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_VideoStream.QueryMediaListByURL_NetworkCost networkCost = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_VideoStream.QueryMediaListByURL_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList.Length"); j++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_AudioStream audioStream = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_AudioStream(); + audioStream.Timebase = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Timebase"); + audioStream.Index = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecName"); + audioStream.Duration = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.SubtitleStreamList.Length"); j++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_SubtitleStream subtitleStream = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Streams.QueryMediaListByURL_SubtitleStream(); + subtitleStream.Index = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.SubtitleStreamList["+ j +"].Index"); + subtitleStream.Lang = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Streams.SubtitleStreamList["+ j +"].Lang"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + mediaInfo.Streams = streams; + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Format format = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_MediaInfo.QueryMediaListByURL_Format(); + format.StartTime = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.NumPrograms"); + format.Size = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.Size"); + format.NumStreams = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.FormatLongName"); + format.Duration = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.Duration"); + format.Bitrate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.Bitrate"); + format.FormatName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].MediaInfo.Format.FormatName"); + mediaInfo.Format = format; + media.MediaInfo = mediaInfo; + + List media_playList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].PlayList.Length"); j++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Play play = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Play(); + play.Encryption = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Encryption"); + play.Height = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Height"); + play.Bitrate = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Bitrate"); + play.MediaWorkflowId = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].MediaWorkflowId"); + play.Width = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Width"); + play.Size = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Size"); + play.Fps = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Fps"); + play.Duration = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Duration"); + play.ActivityName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].ActivityName"); + play.Format = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].Format"); + play.MediaWorkflowName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].MediaWorkflowName"); + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Play.QueryMediaListByURL_File1 file1 = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Play.QueryMediaListByURL_File1(); + file1.State = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].File.State"); + file1.URL = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].PlayList["+ j +"].File.URL"); + play.File1 = file1; + + media_playList.Add(play); + } + media.PlayList = media_playList; + + List media_summaryList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].SummaryList.Length"); j++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Summary summary = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Summary(); + summary.Type = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SummaryList["+ j +"].Type"); + summary.MediaWorkflowId = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SummaryList["+ j +"].MediaWorkflowId"); + summary.ActivityName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SummaryList["+ j +"].ActivityName"); + summary.MediaWorkflowName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SummaryList["+ j +"].MediaWorkflowName"); + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Summary.QueryMediaListByURL_File2 file2 = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Summary.QueryMediaListByURL_File2(); + file2.State = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SummaryList["+ j +"].File.State"); + file2.URL = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SummaryList["+ j +"].File.URL"); + summary.File2 = file2; + + media_summaryList.Add(summary); + } + media.SummaryList = media_summaryList; + + List media_snapshotList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaListByURL.MediaList["+ i +"].SnapshotList.Length"); j++) { + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Snapshot snapshot = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Snapshot(); + snapshot.Type = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].Type"); + snapshot.MediaWorkflowId = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].MediaWorkflowId"); + snapshot.ActivityName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].ActivityName"); + snapshot.Count = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].Count"); + snapshot.MediaWorkflowName = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].MediaWorkflowName"); + + QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Snapshot.QueryMediaListByURL_File3 file3 = new QueryMediaListByURLResponse.QueryMediaListByURL_Media.QueryMediaListByURL_Snapshot.QueryMediaListByURL_File3(); + file3.State = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].File.State"); + file3.URL = _ctx.StringValue("QueryMediaListByURL.MediaList["+ i +"].SnapshotList["+ j +"].File.URL"); + snapshot.File3 = file3; + + media_snapshotList.Add(snapshot); + } + media.SnapshotList = media_snapshotList; + + queryMediaListByURLResponse_mediaList.Add(media); + } + queryMediaListByURLResponse.MediaList = queryMediaListByURLResponse_mediaList; + + return queryMediaListByURLResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListResponseUnmarshaller.cs new file mode 100644 index 000000000..2358456f9 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaListResponseUnmarshaller.cs @@ -0,0 +1,232 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaListResponseUnmarshaller + { + public static QueryMediaListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaListResponse queryMediaListResponse = new QueryMediaListResponse(); + + queryMediaListResponse.HttpResponse = _ctx.HttpResponse; + queryMediaListResponse.RequestId = _ctx.StringValue("QueryMediaList.RequestId"); + + List queryMediaListResponse_nonExistMediaIds = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaList.NonExistMediaIds.Length"); i++) { + queryMediaListResponse_nonExistMediaIds.Add(_ctx.StringValue("QueryMediaList.NonExistMediaIds["+ i +"]")); + } + queryMediaListResponse.NonExistMediaIds = queryMediaListResponse_nonExistMediaIds; + + List queryMediaListResponse_mediaList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaList.MediaList.Length"); i++) { + QueryMediaListResponse.QueryMediaList_Media media = new QueryMediaListResponse.QueryMediaList_Media(); + media.CreationTime = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].CreationTime"); + media.CateId = _ctx.LongValue("QueryMediaList.MediaList["+ i +"].CateId"); + media.Height = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Height"); + media.CensorState = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].CensorState"); + media.Bitrate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Bitrate"); + media.MediaId = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaId"); + media.PublishState = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PublishState"); + media.Description = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Description"); + media.Size = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Size"); + media.Width = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Width"); + media.CoverURL = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].CoverURL"); + media.Duration = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Duration"); + media.Fps = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Fps"); + media.Title = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Title"); + media.Format = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].Format"); + + List media_tags = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].Tags.Length"); j++) { + media_tags.Add(_ctx.StringValue("QueryMediaList.MediaList["+ i +"].Tags["+ j +"]")); + } + media.Tags = media_tags; + + List media_runIdList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].RunIdList.Length"); j++) { + media_runIdList.Add(_ctx.StringValue("QueryMediaList.MediaList["+ i +"].RunIdList["+ j +"]")); + } + media.RunIdList = media_runIdList; + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_File file = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_File(); + file.State = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].File.State"); + file.URL = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].File.URL"); + media.File = file; + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo mediaInfo = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo(); + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams streams = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams(); + + List streams_videoStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList.Length"); j++) { + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_VideoStream videoStream = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_VideoStream(); + videoStream.Sar = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Sar"); + videoStream.Height = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Height"); + videoStream.CodecTagString = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecTagString"); + videoStream.Width = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Width"); + videoStream.Index = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Index"); + videoStream.Timebase = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].PixFmt"); + videoStream.Lang = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecLongName"); + videoStream.NumFrames = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NumFrames"); + videoStream.Rotate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Rotate"); + videoStream.Bitrate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Bitrate"); + videoStream.HasBFrames = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Profile"); + videoStream.StartTime = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].StartTime"); + videoStream.Dar = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Dar"); + videoStream.CodecName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecName"); + videoStream.Duration = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Duration"); + videoStream.Fps = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].Level"); + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_VideoStream.QueryMediaList_NetworkCost networkCost = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_VideoStream.QueryMediaList_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList.Length"); j++) { + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_AudioStream audioStream = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_AudioStream(); + audioStream.Timebase = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Timebase"); + audioStream.Index = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecName"); + audioStream.Duration = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.AudioStreamList["+ j +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.SubtitleStreamList.Length"); j++) { + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_SubtitleStream subtitleStream = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Streams.QueryMediaList_SubtitleStream(); + subtitleStream.Index = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.SubtitleStreamList["+ j +"].Index"); + subtitleStream.Lang = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Streams.SubtitleStreamList["+ j +"].Lang"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + mediaInfo.Streams = streams; + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Format format = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_MediaInfo.QueryMediaList_Format(); + format.StartTime = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.NumPrograms"); + format.Size = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.Size"); + format.NumStreams = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.FormatLongName"); + format.Duration = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.Duration"); + format.Bitrate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.Bitrate"); + format.FormatName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].MediaInfo.Format.FormatName"); + mediaInfo.Format = format; + media.MediaInfo = mediaInfo; + + List media_playList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].PlayList.Length"); j++) { + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Play play = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Play(); + play.Encryption = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Encryption"); + play.Height = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Height"); + play.Bitrate = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Bitrate"); + play.MediaWorkflowId = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].MediaWorkflowId"); + play.Width = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Width"); + play.Size = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Size"); + play.Fps = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Fps"); + play.Duration = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Duration"); + play.ActivityName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].ActivityName"); + play.Format = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].Format"); + play.MediaWorkflowName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].MediaWorkflowName"); + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Play.QueryMediaList_File1 file1 = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Play.QueryMediaList_File1(); + file1.State = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].File.State"); + file1.URL = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].PlayList["+ j +"].File.URL"); + play.File1 = file1; + + media_playList.Add(play); + } + media.PlayList = media_playList; + + List media_summaryList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].SummaryList.Length"); j++) { + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Summary summary = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Summary(); + summary.Type = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SummaryList["+ j +"].Type"); + summary.MediaWorkflowId = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SummaryList["+ j +"].MediaWorkflowId"); + summary.ActivityName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SummaryList["+ j +"].ActivityName"); + summary.MediaWorkflowName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SummaryList["+ j +"].MediaWorkflowName"); + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Summary.QueryMediaList_File2 file2 = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Summary.QueryMediaList_File2(); + file2.State = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SummaryList["+ j +"].File.State"); + file2.URL = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SummaryList["+ j +"].File.URL"); + summary.File2 = file2; + + media_summaryList.Add(summary); + } + media.SummaryList = media_summaryList; + + List media_snapshotList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaList.MediaList["+ i +"].SnapshotList.Length"); j++) { + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Snapshot snapshot = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Snapshot(); + snapshot.Type = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].Type"); + snapshot.MediaWorkflowId = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].MediaWorkflowId"); + snapshot.ActivityName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].ActivityName"); + snapshot.Count = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].Count"); + snapshot.MediaWorkflowName = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].MediaWorkflowName"); + + QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Snapshot.QueryMediaList_File3 file3 = new QueryMediaListResponse.QueryMediaList_Media.QueryMediaList_Snapshot.QueryMediaList_File3(); + file3.State = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].File.State"); + file3.URL = _ctx.StringValue("QueryMediaList.MediaList["+ i +"].SnapshotList["+ j +"].File.URL"); + snapshot.File3 = file3; + + media_snapshotList.Add(snapshot); + } + media.SnapshotList = media_snapshotList; + + queryMediaListResponse_mediaList.Add(media); + } + queryMediaListResponse.MediaList = queryMediaListResponse_mediaList; + + return queryMediaListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowExecutionListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowExecutionListResponseUnmarshaller.cs new file mode 100644 index 000000000..a65c5d656 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowExecutionListResponseUnmarshaller.cs @@ -0,0 +1,91 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaWorkflowExecutionListResponseUnmarshaller + { + public static QueryMediaWorkflowExecutionListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaWorkflowExecutionListResponse queryMediaWorkflowExecutionListResponse = new QueryMediaWorkflowExecutionListResponse(); + + queryMediaWorkflowExecutionListResponse.HttpResponse = _ctx.HttpResponse; + queryMediaWorkflowExecutionListResponse.RequestId = _ctx.StringValue("QueryMediaWorkflowExecutionList.RequestId"); + + List queryMediaWorkflowExecutionListResponse_nonExistRunIds = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaWorkflowExecutionList.NonExistRunIds.Length"); i++) { + queryMediaWorkflowExecutionListResponse_nonExistRunIds.Add(_ctx.StringValue("QueryMediaWorkflowExecutionList.NonExistRunIds["+ i +"]")); + } + queryMediaWorkflowExecutionListResponse.NonExistRunIds = queryMediaWorkflowExecutionListResponse_nonExistRunIds; + + List queryMediaWorkflowExecutionListResponse_mediaWorkflowExecutionList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList.Length"); i++) { + QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution mediaWorkflowExecution = new QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution(); + mediaWorkflowExecution.CreationTime = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].CreationTime"); + mediaWorkflowExecution.MediaWorkflowId = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].MediaWorkflowId"); + mediaWorkflowExecution.State = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].State"); + mediaWorkflowExecution.Name = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Name"); + mediaWorkflowExecution.MediaId = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].MediaId"); + mediaWorkflowExecution.RunId = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].RunId"); + + QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Input input = new QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Input(); + input.UserData = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.UserData"); + + QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Input.QueryMediaWorkflowExecutionList_InputFile inputFile = new QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Input.QueryMediaWorkflowExecutionList_InputFile(); + inputFile._Object = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Object"); + inputFile.Location = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Bucket"); + input.InputFile = inputFile; + mediaWorkflowExecution.Input = input; + + List mediaWorkflowExecution_activityList = new List(); + for (int j = 0; j < _ctx.Length("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList.Length"); j++) { + QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Activity activity = new QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Activity(); + activity.EndTime = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].EndTime"); + activity.Type = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Type"); + activity.StartTime = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].StartTime"); + activity.State = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].State"); + activity.JobId = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].JobId"); + activity.Code = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Code"); + activity.Message = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Message"); + activity.Name = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Name"); + + QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Activity.QueryMediaWorkflowExecutionList_MNSMessageResult mNSMessageResult = new QueryMediaWorkflowExecutionListResponse.QueryMediaWorkflowExecutionList_MediaWorkflowExecution.QueryMediaWorkflowExecutionList_Activity.QueryMediaWorkflowExecutionList_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.ErrorCode"); + activity.MNSMessageResult = mNSMessageResult; + + mediaWorkflowExecution_activityList.Add(activity); + } + mediaWorkflowExecution.ActivityList = mediaWorkflowExecution_activityList; + + queryMediaWorkflowExecutionListResponse_mediaWorkflowExecutionList.Add(mediaWorkflowExecution); + } + queryMediaWorkflowExecutionListResponse.MediaWorkflowExecutionList = queryMediaWorkflowExecutionListResponse_mediaWorkflowExecutionList; + + return queryMediaWorkflowExecutionListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowListResponseUnmarshaller.cs new file mode 100644 index 000000000..1df414798 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryMediaWorkflowListResponseUnmarshaller.cs @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryMediaWorkflowListResponseUnmarshaller + { + public static QueryMediaWorkflowListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryMediaWorkflowListResponse queryMediaWorkflowListResponse = new QueryMediaWorkflowListResponse(); + + queryMediaWorkflowListResponse.HttpResponse = _ctx.HttpResponse; + queryMediaWorkflowListResponse.RequestId = _ctx.StringValue("QueryMediaWorkflowList.RequestId"); + + List queryMediaWorkflowListResponse_nonExistMediaWorkflowIds = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaWorkflowList.NonExistMediaWorkflowIds.Length"); i++) { + queryMediaWorkflowListResponse_nonExistMediaWorkflowIds.Add(_ctx.StringValue("QueryMediaWorkflowList.NonExistMediaWorkflowIds["+ i +"]")); + } + queryMediaWorkflowListResponse.NonExistMediaWorkflowIds = queryMediaWorkflowListResponse_nonExistMediaWorkflowIds; + + List queryMediaWorkflowListResponse_mediaWorkflowList = new List(); + for (int i = 0; i < _ctx.Length("QueryMediaWorkflowList.MediaWorkflowList.Length"); i++) { + QueryMediaWorkflowListResponse.QueryMediaWorkflowList_MediaWorkflow mediaWorkflow = new QueryMediaWorkflowListResponse.QueryMediaWorkflowList_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].State"); + mediaWorkflow.TriggerMode = _ctx.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].TriggerMode"); + mediaWorkflow.Name = _ctx.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].Name"); + mediaWorkflow.Topology = _ctx.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].Topology"); + + queryMediaWorkflowListResponse_mediaWorkflowList.Add(mediaWorkflow); + } + queryMediaWorkflowListResponse.MediaWorkflowList = queryMediaWorkflowListResponse_mediaWorkflowList; + + return queryMediaWorkflowListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryPipelineListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryPipelineListResponseUnmarshaller.cs new file mode 100644 index 000000000..a5e5ce850 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryPipelineListResponseUnmarshaller.cs @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryPipelineListResponseUnmarshaller + { + public static QueryPipelineListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryPipelineListResponse queryPipelineListResponse = new QueryPipelineListResponse(); + + queryPipelineListResponse.HttpResponse = _ctx.HttpResponse; + queryPipelineListResponse.RequestId = _ctx.StringValue("QueryPipelineList.RequestId"); + + List queryPipelineListResponse_nonExistPids = new List(); + for (int i = 0; i < _ctx.Length("QueryPipelineList.NonExistPids.Length"); i++) { + queryPipelineListResponse_nonExistPids.Add(_ctx.StringValue("QueryPipelineList.NonExistPids["+ i +"]")); + } + queryPipelineListResponse.NonExistPids = queryPipelineListResponse_nonExistPids; + + List queryPipelineListResponse_pipelineList = new List(); + for (int i = 0; i < _ctx.Length("QueryPipelineList.PipelineList.Length"); i++) { + QueryPipelineListResponse.QueryPipelineList_Pipeline pipeline = new QueryPipelineListResponse.QueryPipelineList_Pipeline(); + pipeline.Speed = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].Speed"); + pipeline.State = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].State"); + pipeline.SpeedLevel = _ctx.LongValue("QueryPipelineList.PipelineList["+ i +"].SpeedLevel"); + pipeline.Role = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].Role"); + pipeline.Name = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].Name"); + pipeline.Id = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].Id"); + pipeline.QuotaAllocate = _ctx.LongValue("QueryPipelineList.PipelineList["+ i +"].QuotaAllocate"); + + QueryPipelineListResponse.QueryPipelineList_Pipeline.QueryPipelineList_NotifyConfig notifyConfig = new QueryPipelineListResponse.QueryPipelineList_Pipeline.QueryPipelineList_NotifyConfig(); + notifyConfig.MqTopic = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.MqTopic"); + notifyConfig.QueueName = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.QueueName"); + notifyConfig.MqTag = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.MqTag"); + notifyConfig.Topic = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.Topic"); + pipeline.NotifyConfig = notifyConfig; + + QueryPipelineListResponse.QueryPipelineList_Pipeline.QueryPipelineList_ExtendConfig extendConfig = new QueryPipelineListResponse.QueryPipelineList_Pipeline.QueryPipelineList_ExtendConfig(); + extendConfig.IsBoostNew = _ctx.BooleanValue("QueryPipelineList.PipelineList["+ i +"].ExtendConfig.IsBoostNew"); + extendConfig.MaxMultiSpeed = _ctx.IntegerValue("QueryPipelineList.PipelineList["+ i +"].ExtendConfig.MaxMultiSpeed"); + extendConfig.MultiSpeedDowngradePolicy = _ctx.StringValue("QueryPipelineList.PipelineList["+ i +"].ExtendConfig.MultiSpeedDowngradePolicy"); + pipeline.ExtendConfig = extendConfig; + + queryPipelineListResponse_pipelineList.Add(pipeline); + } + queryPipelineListResponse.PipelineList = queryPipelineListResponse_pipelineList; + + return queryPipelineListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagJobResponseUnmarshaller.cs new file mode 100644 index 000000000..78d9e1e4b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagJobResponseUnmarshaller.cs @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QuerySmarttagJobResponseUnmarshaller + { + public static QuerySmarttagJobResponse Unmarshall(UnmarshallerContext _ctx) + { + QuerySmarttagJobResponse querySmarttagJobResponse = new QuerySmarttagJobResponse(); + + querySmarttagJobResponse.HttpResponse = _ctx.HttpResponse; + querySmarttagJobResponse.JobStatus = _ctx.StringValue("QuerySmarttagJob.JobStatus"); + querySmarttagJobResponse.RequestId = _ctx.StringValue("QuerySmarttagJob.RequestId"); + querySmarttagJobResponse.UserData = _ctx.StringValue("QuerySmarttagJob.UserData"); + + List querySmarttagJobResponse_results = new List(); + for (int i = 0; i < _ctx.Length("QuerySmarttagJob.Results.Length"); i++) { + QuerySmarttagJobResponse.QuerySmarttagJob_Result result = new QuerySmarttagJobResponse.QuerySmarttagJob_Result(); + result.Type = _ctx.StringValue("QuerySmarttagJob.Results["+ i +"].Type"); + result.Data = _ctx.StringValue("QuerySmarttagJob.Results["+ i +"].Data"); + + querySmarttagJobResponse_results.Add(result); + } + querySmarttagJobResponse.Results = querySmarttagJobResponse_results; + + return querySmarttagJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagTemplateListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagTemplateListResponseUnmarshaller.cs new file mode 100644 index 000000000..6e2a0517c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySmarttagTemplateListResponseUnmarshaller.cs @@ -0,0 +1,61 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QuerySmarttagTemplateListResponseUnmarshaller + { + public static QuerySmarttagTemplateListResponse Unmarshall(UnmarshallerContext _ctx) + { + QuerySmarttagTemplateListResponse querySmarttagTemplateListResponse = new QuerySmarttagTemplateListResponse(); + + querySmarttagTemplateListResponse.HttpResponse = _ctx.HttpResponse; + querySmarttagTemplateListResponse.RequestId = _ctx.StringValue("QuerySmarttagTemplateList.RequestId"); + + List querySmarttagTemplateListResponse_templates = new List(); + for (int i = 0; i < _ctx.Length("QuerySmarttagTemplateList.Templates.Length"); i++) { + QuerySmarttagTemplateListResponse.QuerySmarttagTemplateList_Template template = new QuerySmarttagTemplateListResponse.QuerySmarttagTemplateList_Template(); + template.AnalyseTypes = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].AnalyseTypes"); + template.Industry = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].Industry"); + template.IsDefault = _ctx.BooleanValue("QuerySmarttagTemplateList.Templates["+ i +"].IsDefault"); + template.TemplateName = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].TemplateName"); + template.TemplateId = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].TemplateId"); + template.FaceCategoryIds = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].FaceCategoryIds"); + template.FaceCustomParamsConfig = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].FaceCustomParamsConfig"); + template.ObjectGroupIds = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].ObjectGroupIds"); + template.LandmarkGroupIds = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].LandmarkGroupIds"); + template.Scene = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].Scene"); + template.LabelType = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].LabelType"); + template.LabelVersion = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].LabelVersion"); + template.KnowledgeConfig = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].KnowledgeConfig"); + template.KeywordConfig = _ctx.StringValue("QuerySmarttagTemplateList.Templates["+ i +"].KeywordConfig"); + + querySmarttagTemplateListResponse_templates.Add(template); + } + querySmarttagTemplateListResponse.Templates = querySmarttagTemplateListResponse_templates; + + return querySmarttagTemplateListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySnapshotJobListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySnapshotJobListResponseUnmarshaller.cs new file mode 100644 index 000000000..82f883791 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QuerySnapshotJobListResponseUnmarshaller.cs @@ -0,0 +1,117 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QuerySnapshotJobListResponseUnmarshaller + { + public static QuerySnapshotJobListResponse Unmarshall(UnmarshallerContext _ctx) + { + QuerySnapshotJobListResponse querySnapshotJobListResponse = new QuerySnapshotJobListResponse(); + + querySnapshotJobListResponse.HttpResponse = _ctx.HttpResponse; + querySnapshotJobListResponse.RequestId = _ctx.StringValue("QuerySnapshotJobList.RequestId"); + querySnapshotJobListResponse.NextPageToken = _ctx.StringValue("QuerySnapshotJobList.NextPageToken"); + + List querySnapshotJobListResponse_nonExistSnapshotJobIds = new List(); + for (int i = 0; i < _ctx.Length("QuerySnapshotJobList.NonExistSnapshotJobIds.Length"); i++) { + querySnapshotJobListResponse_nonExistSnapshotJobIds.Add(_ctx.StringValue("QuerySnapshotJobList.NonExistSnapshotJobIds["+ i +"]")); + } + querySnapshotJobListResponse.NonExistSnapshotJobIds = querySnapshotJobListResponse_nonExistSnapshotJobIds; + + List querySnapshotJobListResponse_snapshotJobList = new List(); + for (int i = 0; i < _ctx.Length("QuerySnapshotJobList.SnapshotJobList.Length"); i++) { + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob snapshotJob = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob(); + snapshotJob.CreationTime = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].CreationTime"); + snapshotJob.State = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].State"); + snapshotJob.Message = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Message"); + snapshotJob.Count = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Count"); + snapshotJob.TileCount = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].TileCount"); + snapshotJob.UserData = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].UserData"); + snapshotJob.Code = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Code"); + snapshotJob.PipelineId = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].PipelineId"); + snapshotJob.Id = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Id"); + + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig snapshotConfig = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig(); + snapshotConfig.Time = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Time"); + snapshotConfig.Interval = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Interval"); + snapshotConfig.FrameType = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.FrameType"); + snapshotConfig.Width = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Width"); + snapshotConfig.Height = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Height"); + snapshotConfig.Num = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Num"); + + List snapshotConfig_timeArray = new List(); + for (int j = 0; j < _ctx.Length("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TimeArray.Length"); j++) { + snapshotConfig_timeArray.Add(_ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TimeArray["+ j +"]")); + } + snapshotConfig.TimeArray = snapshotConfig_timeArray; + + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig.QuerySnapshotJobList_TileOut tileOut = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig.QuerySnapshotJobList_TileOut(); + tileOut.Padding = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.Padding"); + tileOut.Color = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.Color"); + tileOut.CellSelStep = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.CellSelStep"); + tileOut.CellHeight = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.CellHeight"); + tileOut.CellWidth = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.CellWidth"); + tileOut.Margin = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.Margin"); + tileOut.Columns = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.Columns"); + tileOut.IsKeepCellPic = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.IsKeepCellPic"); + tileOut.Lines = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOut.Lines"); + snapshotConfig.TileOut = tileOut; + + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig.QuerySnapshotJobList_OutputFile outputFile = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig.QuerySnapshotJobList_OutputFile(); + outputFile.RoleArn = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.RoleArn"); + outputFile._Object = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.Bucket"); + snapshotConfig.OutputFile = outputFile; + + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig.QuerySnapshotJobList_TileOutputFile tileOutputFile = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_SnapshotConfig.QuerySnapshotJobList_TileOutputFile(); + tileOutputFile.RoleArn = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOutputFile.RoleArn"); + tileOutputFile._Object = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOutputFile.Object"); + tileOutputFile.Location = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOutputFile.Location"); + tileOutputFile.Bucket = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.TileOutputFile.Bucket"); + snapshotConfig.TileOutputFile = tileOutputFile; + snapshotJob.SnapshotConfig = snapshotConfig; + + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_MNSMessageResult mNSMessageResult = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].MNSMessageResult.ErrorCode"); + snapshotJob.MNSMessageResult = mNSMessageResult; + + QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_Input input = new QuerySnapshotJobListResponse.QuerySnapshotJobList_SnapshotJob.QuerySnapshotJobList_Input(); + input.RoleArn = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.RoleArn"); + input._Object = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.Object"); + input.Location = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.Location"); + input.Bucket = _ctx.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.Bucket"); + snapshotJob.Input = input; + + querySnapshotJobListResponse_snapshotJobList.Add(snapshotJob); + } + querySnapshotJobListResponse.SnapshotJobList = querySnapshotJobListResponse_snapshotJobList; + + return querySnapshotJobListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTemplateListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTemplateListResponseUnmarshaller.cs new file mode 100644 index 000000000..efc411a6d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTemplateListResponseUnmarshaller.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryTemplateListResponseUnmarshaller + { + public static QueryTemplateListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryTemplateListResponse queryTemplateListResponse = new QueryTemplateListResponse(); + + queryTemplateListResponse.HttpResponse = _ctx.HttpResponse; + queryTemplateListResponse.RequestId = _ctx.StringValue("QueryTemplateList.RequestId"); + + List queryTemplateListResponse_nonExistTids = new List(); + for (int i = 0; i < _ctx.Length("QueryTemplateList.NonExistTids.Length"); i++) { + queryTemplateListResponse_nonExistTids.Add(_ctx.StringValue("QueryTemplateList.NonExistTids["+ i +"]")); + } + queryTemplateListResponse.NonExistTids = queryTemplateListResponse_nonExistTids; + + List queryTemplateListResponse_templateList = new List(); + for (int i = 0; i < _ctx.Length("QueryTemplateList.TemplateList.Length"); i++) { + QueryTemplateListResponse.QueryTemplateList_Template template = new QueryTemplateListResponse.QueryTemplateList_Template(); + template.State = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].State"); + template.Name = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Name"); + template.Id = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Id"); + template.CreationTime = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].CreationTime"); + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Video video = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Video(); + video.Bufsize = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Bufsize"); + video.LongShortMode = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.LongShortMode"); + video.Degrain = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Degrain"); + video.PixFmt = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.PixFmt"); + video.Pad = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Pad"); + video.Codec = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Codec"); + video.Height = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Height"); + video.Qscale = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Qscale"); + video.Crop = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Crop"); + video.Bitrate = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Bitrate"); + video.Maxrate = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Maxrate"); + video.MaxFps = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.MaxFps"); + video.Profile = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Profile"); + video.Crf = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Crf"); + video._Remove = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Remove"); + video.Gop = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Gop"); + video.Width = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Width"); + video.Fps = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Fps"); + video.Preset = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Preset"); + video.ScanMode = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.ResoPriority"); + video.Hdr2sdr = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.Hdr2sdr"); + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Video.QueryTemplateList_BitrateBnd bitrateBnd = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Video.QueryTemplateList_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Video.QueryTemplateList_NarrowBand narrowBand = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Video.QueryTemplateList_NarrowBand(); + narrowBand.Version = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Video.NarrowBand.Version"); + narrowBand.Abrmax = _ctx.FloatValue("QueryTemplateList.TemplateList["+ i +"].Video.NarrowBand.Abrmax"); + narrowBand.MaxAbrRatio = _ctx.FloatValue("QueryTemplateList.TemplateList["+ i +"].Video.NarrowBand.MaxAbrRatio"); + video.NarrowBand = narrowBand; + template.Video = video; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_TransConfig transConfig = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].TransConfig.IsCheckAudioBitrateFail"); + template.TransConfig = transConfig; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig muxConfig = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig(); + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig.QueryTemplateList_Webp webp = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig.QueryTemplateList_Webp(); + webp.Loop = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].MuxConfig.Webp.Loop"); + muxConfig.Webp = webp; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig.QueryTemplateList_Gif gif = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig.QueryTemplateList_Gif(); + gif.FinalDelay = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig.QueryTemplateList_Segment segment = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_MuxConfig.QueryTemplateList_Segment(); + segment.Duration = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + template.MuxConfig = muxConfig; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Audio audio = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Audio(); + audio.Profile = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Profile"); + audio._Remove = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Remove"); + audio.Codec = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Codec"); + audio.Samplerate = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Qscale"); + audio.Channels = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Channels"); + audio.Bitrate = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Bitrate"); + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Audio.QueryTemplateList_Volume volume = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Audio.QueryTemplateList_Volume(); + volume.Method = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Volume.Method"); + volume.TruePeak = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Volume.TruePeak"); + volume.IntegratedLoudnessTarget = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Volume.IntegratedLoudnessTarget"); + volume.LoudnessRangeTarget = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Volume.LoudnessRangeTarget"); + volume.Level = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Volume.Level"); + volume.PeakLevel = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Audio.Volume.PeakLevel"); + audio.Volume = volume; + template.Audio = audio; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Container container = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_Container(); + container.Format = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].Container.Format"); + template.Container = container; + + QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_FrontendHint frontendHint = new QueryTemplateListResponse.QueryTemplateList_Template.QueryTemplateList_FrontendHint(); + frontendHint.TranscodeType = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].FrontendHint.TranscodeType"); + frontendHint.BitrateControlType = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].FrontendHint.BitrateControlType"); + frontendHint.Source = _ctx.StringValue("QueryTemplateList.TemplateList["+ i +"].FrontendHint.Source"); + frontendHint.IsDynamic = _ctx.BooleanValue("QueryTemplateList.TemplateList["+ i +"].FrontendHint.IsDynamic"); + frontendHint.HasOldHdr2Sdr = _ctx.BooleanValue("QueryTemplateList.TemplateList["+ i +"].FrontendHint.HasOldHdr2Sdr"); + template.FrontendHint = frontendHint; + + queryTemplateListResponse_templateList.Add(template); + } + queryTemplateListResponse.TemplateList = queryTemplateListResponse_templateList; + + return queryTemplateListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceAbJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceAbJobResponseUnmarshaller.cs new file mode 100644 index 000000000..126a716aa --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceAbJobResponseUnmarshaller.cs @@ -0,0 +1,61 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryTraceAbJobResponseUnmarshaller + { + public static QueryTraceAbJobResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryTraceAbJobResponse queryTraceAbJobResponse = new QueryTraceAbJobResponse(); + + queryTraceAbJobResponse.HttpResponse = _ctx.HttpResponse; + queryTraceAbJobResponse.RequestId = _ctx.StringValue("QueryTraceAbJob.RequestId"); + queryTraceAbJobResponse.Message = _ctx.StringValue("QueryTraceAbJob.Message"); + queryTraceAbJobResponse.StatusCode = _ctx.LongValue("QueryTraceAbJob.StatusCode"); + + List queryTraceAbJobResponse_data = new List(); + for (int i = 0; i < _ctx.Length("QueryTraceAbJob.Data.Length"); i++) { + QueryTraceAbJobResponse.QueryTraceAbJob_DataItem dataItem = new QueryTraceAbJobResponse.QueryTraceAbJob_DataItem(); + dataItem.Callback = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].Callback"); + dataItem.GmtCreate = _ctx.LongValue("QueryTraceAbJob.Data["+ i +"].GmtCreate"); + dataItem.GmtModified = _ctx.LongValue("QueryTraceAbJob.Data["+ i +"].GmtModified"); + dataItem.Input = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].Input"); + dataItem.JobId = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].JobId"); + dataItem.Level = _ctx.LongValue("QueryTraceAbJob.Data["+ i +"].Level"); + dataItem.MediaId = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].MediaId"); + dataItem.Output = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].Output"); + dataItem.Status = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].Status"); + dataItem.UserData = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].UserData"); + dataItem.UserId = _ctx.LongValue("QueryTraceAbJob.Data["+ i +"].UserId"); + dataItem.Result = _ctx.StringValue("QueryTraceAbJob.Data["+ i +"].Result"); + + queryTraceAbJobResponse_data.Add(dataItem); + } + queryTraceAbJobResponse.Data = queryTraceAbJobResponse_data; + + return queryTraceAbJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceExtractJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceExtractJobResponseUnmarshaller.cs new file mode 100644 index 000000000..05ec8339e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceExtractJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryTraceExtractJobResponseUnmarshaller + { + public static QueryTraceExtractJobResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryTraceExtractJobResponse queryTraceExtractJobResponse = new QueryTraceExtractJobResponse(); + + queryTraceExtractJobResponse.HttpResponse = _ctx.HttpResponse; + queryTraceExtractJobResponse.RequestId = _ctx.StringValue("QueryTraceExtractJob.RequestId"); + queryTraceExtractJobResponse.Message = _ctx.StringValue("QueryTraceExtractJob.Message"); + queryTraceExtractJobResponse.StatusCode = _ctx.LongValue("QueryTraceExtractJob.StatusCode"); + + QueryTraceExtractJobResponse.QueryTraceExtractJob_Data data = new QueryTraceExtractJobResponse.QueryTraceExtractJob_Data(); + data.Trace = _ctx.StringValue("QueryTraceExtractJob.Data.Trace"); + queryTraceExtractJobResponse.Data = data; + + return queryTraceExtractJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceM3u8JobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceM3u8JobResponseUnmarshaller.cs new file mode 100644 index 000000000..3290a9b74 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryTraceM3u8JobResponseUnmarshaller.cs @@ -0,0 +1,59 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryTraceM3u8JobResponseUnmarshaller + { + public static QueryTraceM3u8JobResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryTraceM3u8JobResponse queryTraceM3u8JobResponse = new QueryTraceM3u8JobResponse(); + + queryTraceM3u8JobResponse.HttpResponse = _ctx.HttpResponse; + queryTraceM3u8JobResponse.RequestId = _ctx.StringValue("QueryTraceM3u8Job.RequestId"); + queryTraceM3u8JobResponse.Message = _ctx.StringValue("QueryTraceM3u8Job.Message"); + queryTraceM3u8JobResponse.StatusCode = _ctx.LongValue("QueryTraceM3u8Job.StatusCode"); + + List queryTraceM3u8JobResponse_data = new List(); + for (int i = 0; i < _ctx.Length("QueryTraceM3u8Job.Data.Length"); i++) { + QueryTraceM3u8JobResponse.QueryTraceM3u8Job_DataItem dataItem = new QueryTraceM3u8JobResponse.QueryTraceM3u8Job_DataItem(); + dataItem.GmtCreate = _ctx.LongValue("QueryTraceM3u8Job.Data["+ i +"].GmtCreate"); + dataItem.GmtModified = _ctx.LongValue("QueryTraceM3u8Job.Data["+ i +"].GmtModified"); + dataItem.MediaId = _ctx.StringValue("QueryTraceM3u8Job.Data["+ i +"].MediaId"); + dataItem.JobId = _ctx.StringValue("QueryTraceM3u8Job.Data["+ i +"].JobId"); + dataItem.Trace = _ctx.StringValue("QueryTraceM3u8Job.Data["+ i +"].Trace"); + dataItem.TraceId = _ctx.LongValue("QueryTraceM3u8Job.Data["+ i +"].TraceId"); + dataItem.Output = _ctx.StringValue("QueryTraceM3u8Job.Data["+ i +"].Output"); + dataItem.Status = _ctx.StringValue("QueryTraceM3u8Job.Data["+ i +"].Status"); + dataItem.UserData = _ctx.StringValue("QueryTraceM3u8Job.Data["+ i +"].UserData"); + dataItem.UserId = _ctx.LongValue("QueryTraceM3u8Job.Data["+ i +"].UserId"); + + queryTraceM3u8JobResponse_data.Add(dataItem); + } + queryTraceM3u8JobResponse.Data = queryTraceM3u8JobResponse_data; + + return queryTraceM3u8JobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryWaterMarkTemplateListResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryWaterMarkTemplateListResponseUnmarshaller.cs new file mode 100644 index 000000000..d2628e80c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/QueryWaterMarkTemplateListResponseUnmarshaller.cs @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class QueryWaterMarkTemplateListResponseUnmarshaller + { + public static QueryWaterMarkTemplateListResponse Unmarshall(UnmarshallerContext _ctx) + { + QueryWaterMarkTemplateListResponse queryWaterMarkTemplateListResponse = new QueryWaterMarkTemplateListResponse(); + + queryWaterMarkTemplateListResponse.HttpResponse = _ctx.HttpResponse; + queryWaterMarkTemplateListResponse.RequestId = _ctx.StringValue("QueryWaterMarkTemplateList.RequestId"); + + List queryWaterMarkTemplateListResponse_nonExistWids = new List(); + for (int i = 0; i < _ctx.Length("QueryWaterMarkTemplateList.NonExistWids.Length"); i++) { + queryWaterMarkTemplateListResponse_nonExistWids.Add(_ctx.StringValue("QueryWaterMarkTemplateList.NonExistWids["+ i +"]")); + } + queryWaterMarkTemplateListResponse.NonExistWids = queryWaterMarkTemplateListResponse_nonExistWids; + + List queryWaterMarkTemplateListResponse_waterMarkTemplateList = new List(); + for (int i = 0; i < _ctx.Length("QueryWaterMarkTemplateList.WaterMarkTemplateList.Length"); i++) { + QueryWaterMarkTemplateListResponse.QueryWaterMarkTemplateList_WaterMarkTemplate waterMarkTemplate = new QueryWaterMarkTemplateListResponse.QueryWaterMarkTemplateList_WaterMarkTemplate(); + waterMarkTemplate.Type = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Type"); + waterMarkTemplate.ReferPos = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].ReferPos"); + waterMarkTemplate.State = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].State"); + waterMarkTemplate.Dx = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Dx"); + waterMarkTemplate.Width = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Width"); + waterMarkTemplate.Height = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Height"); + waterMarkTemplate.Name = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Name"); + waterMarkTemplate.Dy = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Dy"); + waterMarkTemplate.Id = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Id"); + + QueryWaterMarkTemplateListResponse.QueryWaterMarkTemplateList_WaterMarkTemplate.QueryWaterMarkTemplateList_RatioRefer ratioRefer = new QueryWaterMarkTemplateListResponse.QueryWaterMarkTemplateList_WaterMarkTemplate.QueryWaterMarkTemplateList_RatioRefer(); + ratioRefer.Dx = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].RatioRefer.Dx"); + ratioRefer.Width = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].RatioRefer.Width"); + ratioRefer.Height = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].RatioRefer.Height"); + ratioRefer.Dy = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].RatioRefer.Dy"); + waterMarkTemplate.RatioRefer = ratioRefer; + + QueryWaterMarkTemplateListResponse.QueryWaterMarkTemplateList_WaterMarkTemplate.QueryWaterMarkTemplateList_Timeline timeline = new QueryWaterMarkTemplateListResponse.QueryWaterMarkTemplateList_WaterMarkTemplate.QueryWaterMarkTemplateList_Timeline(); + timeline.Start = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Timeline.Start"); + timeline.Duration = _ctx.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Timeline.Duration"); + waterMarkTemplate.Timeline = timeline; + + queryWaterMarkTemplateListResponse_waterMarkTemplateList.Add(waterMarkTemplate); + } + queryWaterMarkTemplateListResponse.WaterMarkTemplateList = queryWaterMarkTemplateListResponse_waterMarkTemplateList; + + return queryWaterMarkTemplateListResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomFaceResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomFaceResponseUnmarshaller.cs new file mode 100644 index 000000000..6aacccf6c --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomFaceResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class RegisterCustomFaceResponseUnmarshaller + { + public static RegisterCustomFaceResponse Unmarshall(UnmarshallerContext _ctx) + { + RegisterCustomFaceResponse registerCustomFaceResponse = new RegisterCustomFaceResponse(); + + registerCustomFaceResponse.HttpResponse = _ctx.HttpResponse; + registerCustomFaceResponse.FaceId = _ctx.StringValue("RegisterCustomFace.FaceId"); + registerCustomFaceResponse.RequestId = _ctx.StringValue("RegisterCustomFace.RequestId"); + + return registerCustomFaceResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomViewResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomViewResponseUnmarshaller.cs new file mode 100644 index 000000000..dacc46060 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/RegisterCustomViewResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class RegisterCustomViewResponseUnmarshaller + { + public static RegisterCustomViewResponse Unmarshall(UnmarshallerContext _ctx) + { + RegisterCustomViewResponse registerCustomViewResponse = new RegisterCustomViewResponse(); + + registerCustomViewResponse.HttpResponse = _ctx.HttpResponse; + registerCustomViewResponse.CustomViewId = _ctx.StringValue("RegisterCustomView.CustomViewId"); + registerCustomViewResponse.RequestId = _ctx.StringValue("RegisterCustomView.RequestId"); + + return registerCustomViewResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchMediaWorkflowResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchMediaWorkflowResponseUnmarshaller.cs new file mode 100644 index 000000000..97d2d3650 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchMediaWorkflowResponseUnmarshaller.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SearchMediaWorkflowResponseUnmarshaller + { + public static SearchMediaWorkflowResponse Unmarshall(UnmarshallerContext _ctx) + { + SearchMediaWorkflowResponse searchMediaWorkflowResponse = new SearchMediaWorkflowResponse(); + + searchMediaWorkflowResponse.HttpResponse = _ctx.HttpResponse; + searchMediaWorkflowResponse.TotalCount = _ctx.LongValue("SearchMediaWorkflow.TotalCount"); + searchMediaWorkflowResponse.PageSize = _ctx.LongValue("SearchMediaWorkflow.PageSize"); + searchMediaWorkflowResponse.RequestId = _ctx.StringValue("SearchMediaWorkflow.RequestId"); + searchMediaWorkflowResponse.PageNumber = _ctx.LongValue("SearchMediaWorkflow.PageNumber"); + + List searchMediaWorkflowResponse_mediaWorkflowList = new List(); + for (int i = 0; i < _ctx.Length("SearchMediaWorkflow.MediaWorkflowList.Length"); i++) { + SearchMediaWorkflowResponse.SearchMediaWorkflow_MediaWorkflow mediaWorkflow = new SearchMediaWorkflowResponse.SearchMediaWorkflow_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("SearchMediaWorkflow.MediaWorkflowList["+ i +"].CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("SearchMediaWorkflow.MediaWorkflowList["+ i +"].MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("SearchMediaWorkflow.MediaWorkflowList["+ i +"].State"); + mediaWorkflow.TriggerMode = _ctx.StringValue("SearchMediaWorkflow.MediaWorkflowList["+ i +"].TriggerMode"); + mediaWorkflow.Name = _ctx.StringValue("SearchMediaWorkflow.MediaWorkflowList["+ i +"].Name"); + mediaWorkflow.Topology = _ctx.StringValue("SearchMediaWorkflow.MediaWorkflowList["+ i +"].Topology"); + + searchMediaWorkflowResponse_mediaWorkflowList.Add(mediaWorkflow); + } + searchMediaWorkflowResponse.MediaWorkflowList = searchMediaWorkflowResponse_mediaWorkflowList; + + return searchMediaWorkflowResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchPipelineResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchPipelineResponseUnmarshaller.cs new file mode 100644 index 000000000..201c9e4ae --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchPipelineResponseUnmarshaller.cs @@ -0,0 +1,71 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SearchPipelineResponseUnmarshaller + { + public static SearchPipelineResponse Unmarshall(UnmarshallerContext _ctx) + { + SearchPipelineResponse searchPipelineResponse = new SearchPipelineResponse(); + + searchPipelineResponse.HttpResponse = _ctx.HttpResponse; + searchPipelineResponse.TotalCount = _ctx.LongValue("SearchPipeline.TotalCount"); + searchPipelineResponse.PageSize = _ctx.LongValue("SearchPipeline.PageSize"); + searchPipelineResponse.RequestId = _ctx.StringValue("SearchPipeline.RequestId"); + searchPipelineResponse.PageNumber = _ctx.LongValue("SearchPipeline.PageNumber"); + + List searchPipelineResponse_pipelineList = new List(); + for (int i = 0; i < _ctx.Length("SearchPipeline.PipelineList.Length"); i++) { + SearchPipelineResponse.SearchPipeline_Pipeline pipeline = new SearchPipelineResponse.SearchPipeline_Pipeline(); + pipeline.Speed = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].Speed"); + pipeline.State = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].State"); + pipeline.SpeedLevel = _ctx.LongValue("SearchPipeline.PipelineList["+ i +"].SpeedLevel"); + pipeline.Role = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].Role"); + pipeline.Name = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].Name"); + pipeline.Id = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].Id"); + pipeline.QuotaAllocate = _ctx.LongValue("SearchPipeline.PipelineList["+ i +"].QuotaAllocate"); + pipeline.CreationTime = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].CreationTime"); + + SearchPipelineResponse.SearchPipeline_Pipeline.SearchPipeline_NotifyConfig notifyConfig = new SearchPipelineResponse.SearchPipeline_Pipeline.SearchPipeline_NotifyConfig(); + notifyConfig.MqTopic = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].NotifyConfig.MqTopic"); + notifyConfig.QueueName = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].NotifyConfig.QueueName"); + notifyConfig.MqTag = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].NotifyConfig.MqTag"); + notifyConfig.Topic = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].NotifyConfig.Topic"); + pipeline.NotifyConfig = notifyConfig; + + SearchPipelineResponse.SearchPipeline_Pipeline.SearchPipeline_ExtendConfig extendConfig = new SearchPipelineResponse.SearchPipeline_Pipeline.SearchPipeline_ExtendConfig(); + extendConfig.IsBoostNew = _ctx.BooleanValue("SearchPipeline.PipelineList["+ i +"].ExtendConfig.IsBoostNew"); + extendConfig.MaxMultiSpeed = _ctx.IntegerValue("SearchPipeline.PipelineList["+ i +"].ExtendConfig.MaxMultiSpeed"); + extendConfig.MultiSpeedDowngradePolicy = _ctx.StringValue("SearchPipeline.PipelineList["+ i +"].ExtendConfig.MultiSpeedDowngradePolicy"); + pipeline.ExtendConfig = extendConfig; + + searchPipelineResponse_pipelineList.Add(pipeline); + } + searchPipelineResponse.PipelineList = searchPipelineResponse_pipelineList; + + return searchPipelineResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..f4d6317dc --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchTemplateResponseUnmarshaller.cs @@ -0,0 +1,137 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SearchTemplateResponseUnmarshaller + { + public static SearchTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + SearchTemplateResponse searchTemplateResponse = new SearchTemplateResponse(); + + searchTemplateResponse.HttpResponse = _ctx.HttpResponse; + searchTemplateResponse.TotalCount = _ctx.LongValue("SearchTemplate.TotalCount"); + searchTemplateResponse.PageSize = _ctx.LongValue("SearchTemplate.PageSize"); + searchTemplateResponse.RequestId = _ctx.StringValue("SearchTemplate.RequestId"); + searchTemplateResponse.PageNumber = _ctx.LongValue("SearchTemplate.PageNumber"); + + List searchTemplateResponse_templateList = new List(); + for (int i = 0; i < _ctx.Length("SearchTemplate.TemplateList.Length"); i++) { + SearchTemplateResponse.SearchTemplate_Template template = new SearchTemplateResponse.SearchTemplate_Template(); + template.State = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].State"); + template.Name = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Name"); + template.Id = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Id"); + template.CreationTime = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].CreationTime"); + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Video video = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Video(); + video.Bufsize = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Bufsize"); + video.LongShortMode = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.LongShortMode"); + video.Degrain = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Degrain"); + video.PixFmt = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.PixFmt"); + video.Pad = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Pad"); + video.Codec = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Codec"); + video.Height = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Height"); + video.Qscale = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Qscale"); + video.Crop = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Crop"); + video.Bitrate = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Bitrate"); + video.Maxrate = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Maxrate"); + video.MaxFps = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.MaxFps"); + video.Profile = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Profile"); + video.Crf = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Crf"); + video._Remove = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Remove"); + video.Gop = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Gop"); + video.Width = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Width"); + video.Fps = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Fps"); + video.Preset = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Preset"); + video.ScanMode = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.ResoPriority"); + video.Hdr2sdr = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.Hdr2sdr"); + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Video.SearchTemplate_BitrateBnd bitrateBnd = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Video.SearchTemplate_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Video.SearchTemplate_NarrowBand narrowBand = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Video.SearchTemplate_NarrowBand(); + narrowBand.Abrmax = _ctx.FloatValue("SearchTemplate.TemplateList["+ i +"].Video.NarrowBand.Abrmax"); + narrowBand.MaxAbrRatio = _ctx.FloatValue("SearchTemplate.TemplateList["+ i +"].Video.NarrowBand.MaxAbrRatio"); + narrowBand.Version = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Video.NarrowBand.Version"); + video.NarrowBand = narrowBand; + template.Video = video; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_TransConfig transConfig = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].TransConfig.IsCheckAudioBitrateFail"); + template.TransConfig = transConfig; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_MuxConfig muxConfig = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_MuxConfig(); + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_MuxConfig.SearchTemplate_Gif gif = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_MuxConfig.SearchTemplate_Gif(); + gif.FinalDelay = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_MuxConfig.SearchTemplate_Segment segment = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_MuxConfig.SearchTemplate_Segment(); + segment.Duration = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + template.MuxConfig = muxConfig; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Audio audio = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Audio(); + audio.Profile = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Profile"); + audio._Remove = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Remove"); + audio.Codec = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Codec"); + audio.Samplerate = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Qscale"); + audio.Channels = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Channels"); + audio.Bitrate = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Audio.Bitrate"); + template.Audio = audio; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Container container = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_Container(); + container.Format = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].Container.Format"); + template.Container = container; + + SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_FrontendHint frontendHint = new SearchTemplateResponse.SearchTemplate_Template.SearchTemplate_FrontendHint(); + frontendHint.TranscodeType = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].FrontendHint.TranscodeType"); + frontendHint.BitrateControlType = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].FrontendHint.BitrateControlType"); + frontendHint.Source = _ctx.StringValue("SearchTemplate.TemplateList["+ i +"].FrontendHint.Source"); + frontendHint.IsDynamic = _ctx.BooleanValue("SearchTemplate.TemplateList["+ i +"].FrontendHint.IsDynamic"); + frontendHint.HasOldHdr2Sdr = _ctx.BooleanValue("SearchTemplate.TemplateList["+ i +"].FrontendHint.HasOldHdr2Sdr"); + template.FrontendHint = frontendHint; + + searchTemplateResponse_templateList.Add(template); + } + searchTemplateResponse.TemplateList = searchTemplateResponse_templateList; + + return searchTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchWaterMarkTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchWaterMarkTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..63d5f627e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SearchWaterMarkTemplateResponseUnmarshaller.cs @@ -0,0 +1,71 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SearchWaterMarkTemplateResponseUnmarshaller + { + public static SearchWaterMarkTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + SearchWaterMarkTemplateResponse searchWaterMarkTemplateResponse = new SearchWaterMarkTemplateResponse(); + + searchWaterMarkTemplateResponse.HttpResponse = _ctx.HttpResponse; + searchWaterMarkTemplateResponse.TotalCount = _ctx.LongValue("SearchWaterMarkTemplate.TotalCount"); + searchWaterMarkTemplateResponse.PageSize = _ctx.LongValue("SearchWaterMarkTemplate.PageSize"); + searchWaterMarkTemplateResponse.RequestId = _ctx.StringValue("SearchWaterMarkTemplate.RequestId"); + searchWaterMarkTemplateResponse.PageNumber = _ctx.LongValue("SearchWaterMarkTemplate.PageNumber"); + + List searchWaterMarkTemplateResponse_waterMarkTemplateList = new List(); + for (int i = 0; i < _ctx.Length("SearchWaterMarkTemplate.WaterMarkTemplateList.Length"); i++) { + SearchWaterMarkTemplateResponse.SearchWaterMarkTemplate_WaterMarkTemplate waterMarkTemplate = new SearchWaterMarkTemplateResponse.SearchWaterMarkTemplate_WaterMarkTemplate(); + waterMarkTemplate.Type = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Type"); + waterMarkTemplate.ReferPos = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].ReferPos"); + waterMarkTemplate.State = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].State"); + waterMarkTemplate.Dx = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Dx"); + waterMarkTemplate.Width = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Width"); + waterMarkTemplate.Height = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Height"); + waterMarkTemplate.Name = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Name"); + waterMarkTemplate.Dy = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Dy"); + waterMarkTemplate.Id = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Id"); + + SearchWaterMarkTemplateResponse.SearchWaterMarkTemplate_WaterMarkTemplate.SearchWaterMarkTemplate_RatioRefer ratioRefer = new SearchWaterMarkTemplateResponse.SearchWaterMarkTemplate_WaterMarkTemplate.SearchWaterMarkTemplate_RatioRefer(); + ratioRefer.Dx = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].RatioRefer.Dx"); + ratioRefer.Width = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].RatioRefer.Width"); + ratioRefer.Height = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].RatioRefer.Height"); + ratioRefer.Dy = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].RatioRefer.Dy"); + waterMarkTemplate.RatioRefer = ratioRefer; + + SearchWaterMarkTemplateResponse.SearchWaterMarkTemplate_WaterMarkTemplate.SearchWaterMarkTemplate_Timeline timeline = new SearchWaterMarkTemplateResponse.SearchWaterMarkTemplate_WaterMarkTemplate.SearchWaterMarkTemplate_Timeline(); + timeline.Start = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Timeline.Start"); + timeline.Duration = _ctx.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Timeline.Duration"); + waterMarkTemplate.Timeline = timeline; + + searchWaterMarkTemplateResponse_waterMarkTemplateList.Add(waterMarkTemplate); + } + searchWaterMarkTemplateResponse.WaterMarkTemplateList = searchWaterMarkTemplateResponse_waterMarkTemplateList; + + return searchWaterMarkTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitAnalysisJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitAnalysisJobResponseUnmarshaller.cs new file mode 100644 index 000000000..3b7136412 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitAnalysisJobResponseUnmarshaller.cs @@ -0,0 +1,146 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitAnalysisJobResponseUnmarshaller + { + public static SubmitAnalysisJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitAnalysisJobResponse submitAnalysisJobResponse = new SubmitAnalysisJobResponse(); + + submitAnalysisJobResponse.HttpResponse = _ctx.HttpResponse; + submitAnalysisJobResponse.RequestId = _ctx.StringValue("SubmitAnalysisJob.RequestId"); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob analysisJob = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob(); + analysisJob.CreationTime = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.CreationTime"); + analysisJob.Percent = _ctx.LongValue("SubmitAnalysisJob.AnalysisJob.Percent"); + analysisJob.State = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.State"); + analysisJob.Message = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.Message"); + analysisJob.Priority = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.Priority"); + analysisJob.UserData = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.UserData"); + analysisJob.Code = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.Code"); + analysisJob.PipelineId = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.PipelineId"); + analysisJob.Id = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.Id"); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig analysisConfig = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig(); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig.SubmitAnalysisJob_QualityControl qualityControl = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig.SubmitAnalysisJob_QualityControl(); + qualityControl.MethodStreaming = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.QualityControl.MethodStreaming"); + qualityControl.RateQuality = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.QualityControl.RateQuality"); + analysisConfig.QualityControl = qualityControl; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig.SubmitAnalysisJob_PropertiesControl propertiesControl = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig.SubmitAnalysisJob_PropertiesControl(); + propertiesControl.Deinterlace = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.PropertiesControl.Deinterlace"); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig.SubmitAnalysisJob_PropertiesControl.SubmitAnalysisJob_Crop crop = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_AnalysisConfig.SubmitAnalysisJob_PropertiesControl.SubmitAnalysisJob_Crop(); + crop.Top = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.PropertiesControl.Crop.Top"); + crop.Width = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.PropertiesControl.Crop.Width"); + crop.Height = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.PropertiesControl.Crop.Height"); + crop.Left = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.PropertiesControl.Crop.Left"); + crop.Mode = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.AnalysisConfig.PropertiesControl.Crop.Mode"); + propertiesControl.Crop = crop; + analysisConfig.PropertiesControl = propertiesControl; + analysisJob.AnalysisConfig = analysisConfig; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_MNSMessageResult mNSMessageResult = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.MNSMessageResult.ErrorCode"); + analysisJob.MNSMessageResult = mNSMessageResult; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_InputFile inputFile = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_InputFile(); + inputFile._Object = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.InputFile.Object"); + inputFile.Location = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.InputFile.Bucket"); + analysisJob.InputFile = inputFile; + + List analysisJob_templateList = new List(); + for (int i = 0; i < _ctx.Length("SubmitAnalysisJob.AnalysisJob.TemplateList.Length"); i++) { + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template template = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template(); + template.State = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].State"); + template.Name = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Name"); + template.Id = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Id"); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Video video = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Video(); + video.Bufsize = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Bufsize"); + video.Degrain = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Degrain"); + video.PixFmt = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.PixFmt"); + video.Codec = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Codec"); + video.Height = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Height"); + video.Qscale = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Qscale"); + video.Bitrate = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Bitrate"); + video.Maxrate = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Maxrate"); + video.Profile = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Profile"); + video.Crf = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Crf"); + video.Gop = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Gop"); + video.Width = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Width"); + video.Fps = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Fps"); + video.Preset = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.Preset"); + video.ScanMode = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.ScanMode"); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Video.SubmitAnalysisJob_BitrateBnd bitrateBnd = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Video.SubmitAnalysisJob_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + template.Video = video; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_TransConfig transConfig = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_TransConfig(); + transConfig.TransMode = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].TransConfig.TransMode"); + template.TransConfig = transConfig; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_MuxConfig muxConfig = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_MuxConfig(); + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_MuxConfig.SubmitAnalysisJob_Gif gif = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_MuxConfig.SubmitAnalysisJob_Gif(); + gif.FinalDelay = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].MuxConfig.Gif.FinalDelay"); + gif.Loop = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].MuxConfig.Gif.Loop"); + muxConfig.Gif = gif; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_MuxConfig.SubmitAnalysisJob_Segment segment = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_MuxConfig.SubmitAnalysisJob_Segment(); + segment.Duration = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + template.MuxConfig = muxConfig; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Audio audio = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Audio(); + audio.Profile = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Audio.Profile"); + audio.Codec = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Audio.Codec"); + audio.Samplerate = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Audio.Qscale"); + audio.Channels = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Audio.Channels"); + audio.Bitrate = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Audio.Bitrate"); + template.Audio = audio; + + SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Container container = new SubmitAnalysisJobResponse.SubmitAnalysisJob_AnalysisJob.SubmitAnalysisJob_Template.SubmitAnalysisJob_Container(); + container.Format = _ctx.StringValue("SubmitAnalysisJob.AnalysisJob.TemplateList["+ i +"].Container.Format"); + template.Container = container; + + analysisJob_templateList.Add(template); + } + analysisJob.TemplateList = analysisJob_templateList; + submitAnalysisJobResponse.AnalysisJob = analysisJob; + + return submitAnalysisJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightExtractJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightExtractJobResponseUnmarshaller.cs new file mode 100644 index 000000000..bd97b50f0 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightExtractJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitCopyrightExtractJobResponseUnmarshaller + { + public static SubmitCopyrightExtractJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitCopyrightExtractJobResponse submitCopyrightExtractJobResponse = new SubmitCopyrightExtractJobResponse(); + + submitCopyrightExtractJobResponse.HttpResponse = _ctx.HttpResponse; + submitCopyrightExtractJobResponse.RequestId = _ctx.StringValue("SubmitCopyrightExtractJob.RequestId"); + submitCopyrightExtractJobResponse.Message = _ctx.StringValue("SubmitCopyrightExtractJob.Message"); + submitCopyrightExtractJobResponse.StatusCode = _ctx.LongValue("SubmitCopyrightExtractJob.StatusCode"); + + SubmitCopyrightExtractJobResponse.SubmitCopyrightExtractJob_Data data = new SubmitCopyrightExtractJobResponse.SubmitCopyrightExtractJob_Data(); + data.JobId = _ctx.StringValue("SubmitCopyrightExtractJob.Data.JobId"); + submitCopyrightExtractJobResponse.Data = data; + + return submitCopyrightExtractJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightJobResponseUnmarshaller.cs new file mode 100644 index 000000000..609fe45d0 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitCopyrightJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitCopyrightJobResponseUnmarshaller + { + public static SubmitCopyrightJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitCopyrightJobResponse submitCopyrightJobResponse = new SubmitCopyrightJobResponse(); + + submitCopyrightJobResponse.HttpResponse = _ctx.HttpResponse; + submitCopyrightJobResponse.RequestId = _ctx.StringValue("SubmitCopyrightJob.RequestId"); + submitCopyrightJobResponse.Message = _ctx.StringValue("SubmitCopyrightJob.Message"); + submitCopyrightJobResponse.StatusCode = _ctx.LongValue("SubmitCopyrightJob.StatusCode"); + + SubmitCopyrightJobResponse.SubmitCopyrightJob_Data data = new SubmitCopyrightJobResponse.SubmitCopyrightJob_Data(); + data.JobId = _ctx.StringValue("SubmitCopyrightJob.Data.JobId"); + submitCopyrightJobResponse.Data = data; + + return submitCopyrightJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpDBDeleteJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpDBDeleteJobResponseUnmarshaller.cs new file mode 100644 index 000000000..af9490e06 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpDBDeleteJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitFpDBDeleteJobResponseUnmarshaller + { + public static SubmitFpDBDeleteJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitFpDBDeleteJobResponse submitFpDBDeleteJobResponse = new SubmitFpDBDeleteJobResponse(); + + submitFpDBDeleteJobResponse.HttpResponse = _ctx.HttpResponse; + submitFpDBDeleteJobResponse.RequestId = _ctx.StringValue("SubmitFpDBDeleteJob.RequestId"); + submitFpDBDeleteJobResponse.JobId = _ctx.StringValue("SubmitFpDBDeleteJob.JobId"); + + return submitFpDBDeleteJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpFileDeleteJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpFileDeleteJobResponseUnmarshaller.cs new file mode 100644 index 000000000..269e67360 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpFileDeleteJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitFpFileDeleteJobResponseUnmarshaller + { + public static SubmitFpFileDeleteJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitFpFileDeleteJobResponse submitFpFileDeleteJobResponse = new SubmitFpFileDeleteJobResponse(); + + submitFpFileDeleteJobResponse.HttpResponse = _ctx.HttpResponse; + submitFpFileDeleteJobResponse.RequestId = _ctx.StringValue("SubmitFpFileDeleteJob.RequestId"); + submitFpFileDeleteJobResponse.JobId = _ctx.StringValue("SubmitFpFileDeleteJob.JobId"); + + return submitFpFileDeleteJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpShotJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpShotJobResponseUnmarshaller.cs new file mode 100644 index 000000000..ec4424d81 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitFpShotJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitFpShotJobResponseUnmarshaller + { + public static SubmitFpShotJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitFpShotJobResponse submitFpShotJobResponse = new SubmitFpShotJobResponse(); + + submitFpShotJobResponse.HttpResponse = _ctx.HttpResponse; + submitFpShotJobResponse.RequestId = _ctx.StringValue("SubmitFpShotJob.RequestId"); + submitFpShotJobResponse.JobId = _ctx.StringValue("SubmitFpShotJob.JobId"); + + return submitFpShotJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitIProductionJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitIProductionJobResponseUnmarshaller.cs new file mode 100644 index 000000000..673c95128 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitIProductionJobResponseUnmarshaller.cs @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitIProductionJobResponseUnmarshaller + { + public static SubmitIProductionJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitIProductionJobResponse submitIProductionJobResponse = new SubmitIProductionJobResponse(); + + submitIProductionJobResponse.HttpResponse = _ctx.HttpResponse; + submitIProductionJobResponse.RequestId = _ctx.StringValue("SubmitIProductionJob.RequestId"); + submitIProductionJobResponse.JobId = _ctx.StringValue("SubmitIProductionJob.JobId"); + submitIProductionJobResponse.Result = _ctx.StringValue("SubmitIProductionJob.Result"); + + return submitIProductionJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitImageCopyrightResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitImageCopyrightResponseUnmarshaller.cs new file mode 100644 index 000000000..ebc3a452f --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitImageCopyrightResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitImageCopyrightResponseUnmarshaller + { + public static SubmitImageCopyrightResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitImageCopyrightResponse submitImageCopyrightResponse = new SubmitImageCopyrightResponse(); + + submitImageCopyrightResponse.HttpResponse = _ctx.HttpResponse; + submitImageCopyrightResponse.RequestId = _ctx.StringValue("SubmitImageCopyright.RequestId"); + submitImageCopyrightResponse.Message = _ctx.StringValue("SubmitImageCopyright.Message"); + submitImageCopyrightResponse.StatusCode = _ctx.LongValue("SubmitImageCopyright.StatusCode"); + + SubmitImageCopyrightResponse.SubmitImageCopyright_Data data = new SubmitImageCopyrightResponse.SubmitImageCopyright_Data(); + data.JobId = _ctx.StringValue("SubmitImageCopyright.Data.JobId"); + submitImageCopyrightResponse.Data = data; + + return submitImageCopyrightResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitJobsResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitJobsResponseUnmarshaller.cs new file mode 100644 index 000000000..14d6a5fd4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitJobsResponseUnmarshaller.cs @@ -0,0 +1,419 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitJobsResponseUnmarshaller + { + public static SubmitJobsResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitJobsResponse submitJobsResponse = new SubmitJobsResponse(); + + submitJobsResponse.HttpResponse = _ctx.HttpResponse; + submitJobsResponse.RequestId = _ctx.StringValue("SubmitJobs.RequestId"); + + List submitJobsResponse_jobResultList = new List(); + for (int i = 0; i < _ctx.Length("SubmitJobs.JobResultList.Length"); i++) { + SubmitJobsResponse.SubmitJobs_JobResult jobResult = new SubmitJobsResponse.SubmitJobs_JobResult(); + jobResult.Success = _ctx.BooleanValue("SubmitJobs.JobResultList["+ i +"].Success"); + jobResult.Code = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Code"); + jobResult.Message = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Message"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job job = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job(); + job.CreationTime = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.CreationTime"); + job.Percent = _ctx.LongValue("SubmitJobs.JobResultList["+ i +"].Job.Percent"); + job.FinishTime = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.FinishTime"); + job.State = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.State"); + job.JobId = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.JobId"); + job.Code = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Code"); + job.Message = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Message"); + job.PipelineId = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.PipelineId"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output output = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output(); + output.WaterMarkConfigUrl = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkConfigUrl"); + output.DeWatermark = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.DeWatermark"); + output.Priority = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Priority"); + output.AudioStreamMap = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.AudioStreamMap"); + output.UserData = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.UserData"); + output.VideoStreamMap = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.VideoStreamMap"); + output.Rotate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Rotate"); + output.MergeConfigUrl = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MergeConfigUrl"); + output.TemplateId = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TemplateId"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Video video = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Video(); + video.Bufsize = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Bufsize"); + video.Degrain = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Degrain"); + video.PixFmt = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.PixFmt"); + video.Pad = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Pad"); + video.Codec = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Codec"); + video.Height = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Height"); + video.Qscale = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Qscale"); + video.Crop = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Crop"); + video.Bitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Bitrate"); + video.Maxrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Maxrate"); + video.MaxFps = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.MaxFps"); + video.Profile = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Profile"); + video.Crf = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Crf"); + video.Gop = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Gop"); + video.Width = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Width"); + video.Fps = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Fps"); + video.Preset = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.Preset"); + video.ScanMode = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.ResoPriority"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Video.SubmitJobs_BitrateBnd bitrateBnd = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Video.SubmitJobs_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + output.Video = video; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_TransConfig transConfig = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TransConfig.IsCheckAudioBitrateFail"); + output.TransConfig = transConfig; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Encryption encryption = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Encryption(); + encryption.Type = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Encryption.Type"); + encryption.Key = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Encryption.Key"); + encryption.KeyType = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Encryption.KeyType"); + encryption.Id = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Encryption.Id"); + encryption.KeyUri = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Encryption.KeyUri"); + encryption.SkipCnt = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Encryption.SkipCnt"); + output.Encryption = encryption; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_M3U8NonStandardSupport m3U8NonStandardSupport = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_M3U8NonStandardSupport(); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_M3U8NonStandardSupport.SubmitJobs_TS tS = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_M3U8NonStandardSupport.SubmitJobs_TS(); + tS.SizeSupport = _ctx.BooleanValue("SubmitJobs.JobResultList["+ i +"].Job.Output.M3U8NonStandardSupport.TS.SizeSupport"); + tS.Md5Support = _ctx.BooleanValue("SubmitJobs.JobResultList["+ i +"].Job.Output.M3U8NonStandardSupport.TS.Md5Support"); + m3U8NonStandardSupport.TS = tS; + output.M3U8NonStandardSupport = m3U8NonStandardSupport; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Audio audio = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Audio(); + audio.Profile = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Profile"); + audio.Codec = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Codec"); + audio.Samplerate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Qscale"); + audio.Channels = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Channels"); + audio.Bitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Bitrate"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Audio.SubmitJobs_Volume volume = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Audio.SubmitJobs_Volume(); + volume.Method = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Volume.Method"); + volume.Level = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Audio.Volume.Level"); + audio.Volume = volume; + output.Audio = audio; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SuperReso superReso = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SuperReso(); + superReso.IsHalfSample = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SuperReso.IsHalfSample"); + output.SuperReso = superReso; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_DigiWaterMark digiWaterMark = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_DigiWaterMark(); + digiWaterMark.Type = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.DigiWaterMark.Type"); + digiWaterMark.Alpha = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.DigiWaterMark.Alpha"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_DigiWaterMark.SubmitJobs_InputFile1 inputFile1 = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_DigiWaterMark.SubmitJobs_InputFile1(); + inputFile1._Object = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.DigiWaterMark.InputFile.Object"); + inputFile1.Location = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.DigiWaterMark.InputFile.Location"); + inputFile1.Bucket = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.DigiWaterMark.InputFile.Bucket"); + digiWaterMark.InputFile1 = inputFile1; + output.DigiWaterMark = digiWaterMark; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_OutputFile outputFile = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_OutputFile(); + outputFile.RoleArn = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutputFile.RoleArn"); + outputFile._Object = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutputFile.Bucket"); + output.OutputFile = outputFile; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Container container = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Container(); + container.Format = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Container.Format"); + output.Container = container; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Clip clip = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Clip(); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Clip.SubmitJobs_TimeSpan timeSpan = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Clip.SubmitJobs_TimeSpan(); + timeSpan.Seek = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Clip.TimeSpan.Seek"); + timeSpan.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Clip.TimeSpan.Duration"); + clip.TimeSpan = timeSpan; + output.Clip = clip; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig muxConfig = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig(); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig.SubmitJobs_Webp webp = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig.SubmitJobs_Webp(); + webp.Loop = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MuxConfig.Webp.Loop"); + muxConfig.Webp = webp; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig.SubmitJobs_Gif gif = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig.SubmitJobs_Gif(); + gif.FinalDelay = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig.SubmitJobs_Segment segment = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_MuxConfig.SubmitJobs_Segment(); + segment.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + output.MuxConfig = muxConfig; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig subtitleConfig = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig(); + + List subtitleConfig_extSubtitleList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.ExtSubtitleList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig.SubmitJobs_ExtSubtitle extSubtitle = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig.SubmitJobs_ExtSubtitle(); + extSubtitle.CharEnc = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.ExtSubtitleList["+ j +"].CharEnc"); + extSubtitle.FontName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.ExtSubtitleList["+ j +"].FontName"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig.SubmitJobs_ExtSubtitle.SubmitJobs_Input2 input2 = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig.SubmitJobs_ExtSubtitle.SubmitJobs_Input2(); + input2._Object = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Object"); + input2.Location = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Location"); + input2.Bucket = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Bucket"); + extSubtitle.Input2 = input2; + + subtitleConfig_extSubtitleList.Add(extSubtitle); + } + subtitleConfig.ExtSubtitleList = subtitleConfig_extSubtitleList; + + List subtitleConfig_subtitleList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.SubtitleList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig.SubmitJobs_Subtitle subtitle = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_SubtitleConfig.SubmitJobs_Subtitle(); + subtitle.Map = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.SubtitleConfig.SubtitleList["+ j +"].Map"); + + subtitleConfig_subtitleList.Add(subtitle); + } + subtitleConfig.SubtitleList = subtitleConfig_subtitleList; + output.SubtitleConfig = subtitleConfig; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties properties = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties(); + properties.Width = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Width"); + properties.Height = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Height"); + properties.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Duration"); + properties.Fps = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Fps"); + properties.Bitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Bitrate"); + properties.FileFormat = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.FileFormat"); + properties.FileSize = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.FileSize"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams streams = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams(); + + List streams_videoStreamList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_VideoStream videoStream = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_VideoStream(); + videoStream.Index = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Index"); + videoStream.Timebase = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].PixFmt"); + videoStream.Sar = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Sar"); + videoStream.Lang = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].CodecLongName"); + videoStream.Height = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Height"); + videoStream.NumFrames = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].NumFrames"); + videoStream.Bitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Bitrate"); + videoStream.CodecTagString = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].CodecTagString"); + videoStream.HasBFrames = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Profile"); + videoStream.StartTime = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].StartTime"); + videoStream.Dar = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Dar"); + videoStream.CodecName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].CodecName"); + videoStream.Width = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Width"); + videoStream.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Duration"); + videoStream.Fps = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].Level"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_VideoStream.SubmitJobs_NetworkCost networkCost = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_VideoStream.SubmitJobs_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_AudioStream audioStream = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_AudioStream(); + audioStream.Timebase = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Timebase"); + audioStream.Index = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].CodecName"); + audioStream.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.AudioStreamList["+ j +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.SubtitleStreamList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_SubtitleStream subtitleStream = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Streams.SubmitJobs_SubtitleStream(); + subtitleStream.Index = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.SubtitleStreamList["+ j +"].Index"); + subtitleStream.Lang = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Streams.SubtitleStreamList["+ j +"].Lang"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + properties.Streams = streams; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Format format = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Properties.SubmitJobs_Format(); + format.StartTime = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.NumPrograms"); + format.Size = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.Size"); + format.NumStreams = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.FormatLongName"); + format.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.Duration"); + format.Bitrate = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.Bitrate"); + format.FormatName = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.Properties.Format.FormatName"); + properties.Format = format; + output.Properties = properties; + + List output_waterMarkList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_WaterMark waterMark = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_WaterMark(); + waterMark.Type = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].Type"); + waterMark.ReferPos = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].ReferPos"); + waterMark.Dx = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].Dx"); + waterMark.Width = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].Width"); + waterMark.Height = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].Height"); + waterMark.WaterMarkTemplateId = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].WaterMarkTemplateId"); + waterMark.Dy = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].Dy"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_WaterMark.SubmitJobs_InputFile inputFile = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_WaterMark.SubmitJobs_InputFile(); + inputFile._Object = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].InputFile.Object"); + inputFile.Location = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].InputFile.Location"); + inputFile.Bucket = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.WaterMarkList["+ j +"].InputFile.Bucket"); + waterMark.InputFile = inputFile; + + output_waterMarkList.Add(waterMark); + } + output.WaterMarkList = output_waterMarkList; + + List output_mergeList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.MergeList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Merge merge = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Merge(); + merge.Start = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MergeList["+ j +"].Start"); + merge.RoleArn = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MergeList["+ j +"].RoleArn"); + merge.MergeURL = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MergeList["+ j +"].MergeURL"); + merge.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.MergeList["+ j +"].Duration"); + + output_mergeList.Add(merge); + } + output.MergeList = output_mergeList; + + List output_outSubtitleList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_OutSubtitle outSubtitle = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_OutSubtitle(); + outSubtitle.Map = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].Map"); + outSubtitle.Success = _ctx.BooleanValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].Success"); + outSubtitle.Message = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].Message"); + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_OutSubtitle.SubmitJobs_OutSubtitleFile outSubtitleFile = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_OutSubtitle.SubmitJobs_OutSubtitleFile(); + outSubtitleFile.RoleArn = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].OutSubtitleFile.RoleArn"); + outSubtitleFile._Object = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].OutSubtitleFile.Object"); + outSubtitleFile.Location = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].OutSubtitleFile.Location"); + outSubtitleFile.Bucket = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OutSubtitleList["+ j +"].OutSubtitleFile.Bucket"); + outSubtitle.OutSubtitleFile = outSubtitleFile; + + output_outSubtitleList.Add(outSubtitle); + } + output.OutSubtitleList = output_outSubtitleList; + + List output_amixList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.AmixList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Amix amix = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Amix(); + amix.Map = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.AmixList["+ j +"].Map"); + amix.Start = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.AmixList["+ j +"].Start"); + amix.AmixURL = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.AmixList["+ j +"].AmixURL"); + amix.Duration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.AmixList["+ j +"].Duration"); + amix.MixDurMode = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.AmixList["+ j +"].MixDurMode"); + + output_amixList.Add(amix); + } + output.AmixList = output_amixList; + + List output_openingList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.OpeningList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Opening opening = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_Opening(); + opening.OpenUrl = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OpeningList["+ j +"].openUrl"); + opening.Start = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OpeningList["+ j +"].Start"); + opening.Width = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OpeningList["+ j +"].Width"); + opening.Height = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.OpeningList["+ j +"].Height"); + + output_openingList.Add(opening); + } + output.OpeningList = output_openingList; + + List output_tailSlateList = new List(); + for (int j = 0; j < _ctx.Length("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList.Length"); j++) { + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_TailSlate tailSlate = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Output.SubmitJobs_TailSlate(); + tailSlate.Start = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].Start"); + tailSlate.BgColor = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].BgColor"); + tailSlate.IsMergeAudio = _ctx.BooleanValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].IsMergeAudio"); + tailSlate.Width = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].Width"); + tailSlate.Height = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].Height"); + tailSlate.BlendDuration = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].BlendDuration"); + tailSlate.TailUrl = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Output.TailSlateList["+ j +"].TailUrl"); + + output_tailSlateList.Add(tailSlate); + } + output.TailSlateList = output_tailSlateList; + job.Output = output; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Input input = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_Input(); + input._Object = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Input.Object"); + input.Location = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Input.Location"); + input.Bucket = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.Input.Bucket"); + job.Input = input; + + SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_MNSMessageResult mNSMessageResult = new SubmitJobsResponse.SubmitJobs_JobResult.SubmitJobs_Job.SubmitJobs_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("SubmitJobs.JobResultList["+ i +"].Job.MNSMessageResult.ErrorCode"); + job.MNSMessageResult = mNSMessageResult; + jobResult.Job = job; + + submitJobsResponse_jobResultList.Add(jobResult); + } + submitJobsResponse.JobResultList = submitJobsResponse_jobResultList; + + return submitJobsResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaCensorJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaCensorJobResponseUnmarshaller.cs new file mode 100644 index 000000000..146e5fff6 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaCensorJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitMediaCensorJobResponseUnmarshaller + { + public static SubmitMediaCensorJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitMediaCensorJobResponse submitMediaCensorJobResponse = new SubmitMediaCensorJobResponse(); + + submitMediaCensorJobResponse.HttpResponse = _ctx.HttpResponse; + submitMediaCensorJobResponse.RequestId = _ctx.StringValue("SubmitMediaCensorJob.RequestId"); + submitMediaCensorJobResponse.JobId = _ctx.StringValue("SubmitMediaCensorJob.JobId"); + + return submitMediaCensorJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaInfoJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaInfoJobResponseUnmarshaller.cs new file mode 100644 index 000000000..31326bc2d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitMediaInfoJobResponseUnmarshaller.cs @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitMediaInfoJobResponseUnmarshaller + { + public static SubmitMediaInfoJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitMediaInfoJobResponse submitMediaInfoJobResponse = new SubmitMediaInfoJobResponse(); + + submitMediaInfoJobResponse.HttpResponse = _ctx.HttpResponse; + submitMediaInfoJobResponse.RequestId = _ctx.StringValue("SubmitMediaInfoJob.RequestId"); + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob mediaInfoJob = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob(); + mediaInfoJob.CreationTime = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.CreationTime"); + mediaInfoJob.State = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.State"); + mediaInfoJob.JobId = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.JobId"); + mediaInfoJob.UserData = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.UserData"); + mediaInfoJob.Code = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Code"); + mediaInfoJob.Message = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Message"); + mediaInfoJob.PipelineId = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.PipelineId"); + mediaInfoJob.Async = _ctx.BooleanValue("SubmitMediaInfoJob.MediaInfoJob.Async"); + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Input input = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Input(); + input._Object = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Input.Object"); + input.Location = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Input.Location"); + input.Bucket = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Input.Bucket"); + mediaInfoJob.Input = input; + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_MNSMessageResult mNSMessageResult = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.MNSMessageResult.ErrorCode"); + mediaInfoJob.MNSMessageResult = mNSMessageResult; + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties properties = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties(); + properties.Width = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Width"); + properties.Height = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Height"); + properties.Duration = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Duration"); + properties.Fps = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Fps"); + properties.Bitrate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Bitrate"); + properties.FileFormat = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.FileFormat"); + properties.FileSize = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.FileSize"); + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams streams = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams(); + + List streams_videoStreamList = new List(); + for (int i = 0; i < _ctx.Length("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList.Length"); i++) { + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_VideoStream videoStream = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_VideoStream(); + videoStream.Sar = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Sar"); + videoStream.Height = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Height"); + videoStream.CodecTagString = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].CodecTagString"); + videoStream.Width = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Width"); + videoStream.Index = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Index"); + videoStream.Timebase = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Timebase"); + videoStream.AvgFPS = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].AvgFPS"); + videoStream.PixFmt = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].PixFmt"); + videoStream.Lang = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Lang"); + videoStream.CodecLongName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].CodecLongName"); + videoStream.NumFrames = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].NumFrames"); + videoStream.Rotate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Rotate"); + videoStream.Bitrate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Bitrate"); + videoStream.HasBFrames = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].HasBFrames"); + videoStream.Profile = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Profile"); + videoStream.StartTime = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].StartTime"); + videoStream.Dar = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Dar"); + videoStream.CodecName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].CodecName"); + videoStream.Duration = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Duration"); + videoStream.Fps = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Fps"); + videoStream.CodecTag = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].CodecTag"); + videoStream.CodecTimeBase = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].CodecTimeBase"); + videoStream.Level = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].Level"); + videoStream.ColorRange = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].ColorRange"); + videoStream.ColorTransfer = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].ColorTransfer"); + videoStream.ColorPrimaries = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].ColorPrimaries"); + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_VideoStream.SubmitMediaInfoJob_NetworkCost networkCost = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_VideoStream.SubmitMediaInfoJob_NetworkCost(); + networkCost.PreloadTime = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].NetworkCost.PreloadTime"); + networkCost.AvgBitrate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].NetworkCost.AvgBitrate"); + networkCost.CostBandwidth = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.VideoStreamList["+ i +"].NetworkCost.CostBandwidth"); + videoStream.NetworkCost = networkCost; + + streams_videoStreamList.Add(videoStream); + } + streams.VideoStreamList = streams_videoStreamList; + + List streams_audioStreamList = new List(); + for (int i = 0; i < _ctx.Length("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList.Length"); i++) { + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_AudioStream audioStream = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_AudioStream(); + audioStream.Timebase = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Timebase"); + audioStream.Index = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Index"); + audioStream.SampleFmt = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].SampleFmt"); + audioStream.ChannelLayout = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].ChannelLayout"); + audioStream.Lang = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Lang"); + audioStream.Samplerate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Samplerate"); + audioStream.CodecLongName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].CodecLongName"); + audioStream.Channels = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Channels"); + audioStream.NumFrames = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].NumFrames"); + audioStream.Bitrate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Bitrate"); + audioStream.CodecTagString = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].CodecTagString"); + audioStream.StartTime = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].StartTime"); + audioStream.CodecName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].CodecName"); + audioStream.Duration = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].Duration"); + audioStream.CodecTag = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].CodecTag"); + audioStream.CodecTimeBase = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.AudioStreamList["+ i +"].CodecTimeBase"); + + streams_audioStreamList.Add(audioStream); + } + streams.AudioStreamList = streams_audioStreamList; + + List streams_subtitleStreamList = new List(); + for (int i = 0; i < _ctx.Length("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList.Length"); i++) { + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_SubtitleStream subtitleStream = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Streams.SubmitMediaInfoJob_SubtitleStream(); + subtitleStream.Timebase = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].Timebase"); + subtitleStream.Index = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].Index"); + subtitleStream.StartTime = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].StartTime"); + subtitleStream.CodecName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].CodecName"); + subtitleStream.Lang = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].Lang"); + subtitleStream.CodecLongName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].CodecLongName"); + subtitleStream.Duration = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].Duration"); + subtitleStream.CodecTag = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].CodecTag"); + subtitleStream.CodecTimeBase = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].CodecTimeBase"); + subtitleStream.CodecTagString = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Streams.SubtitleStreamList["+ i +"].CodecTagString"); + + streams_subtitleStreamList.Add(subtitleStream); + } + streams.SubtitleStreamList = streams_subtitleStreamList; + properties.Streams = streams; + + SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Format format = new SubmitMediaInfoJobResponse.SubmitMediaInfoJob_MediaInfoJob.SubmitMediaInfoJob_Properties.SubmitMediaInfoJob_Format(); + format.StartTime = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.StartTime"); + format.NumPrograms = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.NumPrograms"); + format.Size = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.Size"); + format.NumStreams = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.NumStreams"); + format.FormatLongName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.FormatLongName"); + format.Duration = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.Duration"); + format.Bitrate = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.Bitrate"); + format.FormatName = _ctx.StringValue("SubmitMediaInfoJob.MediaInfoJob.Properties.Format.FormatName"); + properties.Format = format; + mediaInfoJob.Properties = properties; + submitMediaInfoJobResponse.MediaInfoJob = mediaInfoJob; + + return submitMediaInfoJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSmarttagJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSmarttagJobResponseUnmarshaller.cs new file mode 100644 index 000000000..2adb60dfb --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSmarttagJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitSmarttagJobResponseUnmarshaller + { + public static SubmitSmarttagJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitSmarttagJobResponse submitSmarttagJobResponse = new SubmitSmarttagJobResponse(); + + submitSmarttagJobResponse.HttpResponse = _ctx.HttpResponse; + submitSmarttagJobResponse.RequestId = _ctx.StringValue("SubmitSmarttagJob.RequestId"); + submitSmarttagJobResponse.JobId = _ctx.StringValue("SubmitSmarttagJob.JobId"); + + return submitSmarttagJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSnapshotJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSnapshotJobResponseUnmarshaller.cs new file mode 100644 index 000000000..6e8d47b5d --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitSnapshotJobResponseUnmarshaller.cs @@ -0,0 +1,105 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitSnapshotJobResponseUnmarshaller + { + public static SubmitSnapshotJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitSnapshotJobResponse submitSnapshotJobResponse = new SubmitSnapshotJobResponse(); + + submitSnapshotJobResponse.HttpResponse = _ctx.HttpResponse; + submitSnapshotJobResponse.RequestId = _ctx.StringValue("SubmitSnapshotJob.RequestId"); + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob snapshotJob = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob(); + snapshotJob.CreationTime = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.CreationTime"); + snapshotJob.State = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.State"); + snapshotJob.Message = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Message"); + snapshotJob.Count = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Count"); + snapshotJob.TileCount = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.TileCount"); + snapshotJob.UserData = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.UserData"); + snapshotJob.Code = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Code"); + snapshotJob.PipelineId = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.PipelineId"); + snapshotJob.Id = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Id"); + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig snapshotConfig = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig(); + snapshotConfig.Time = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.Time"); + snapshotConfig.Interval = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.Interval"); + snapshotConfig.FrameType = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.FrameType"); + snapshotConfig.Width = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.Width"); + snapshotConfig.Height = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.Height"); + snapshotConfig.Num = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.Num"); + + List snapshotConfig_timeArray = new List(); + for (int i = 0; i < _ctx.Length("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TimeArray.Length"); i++) { + snapshotConfig_timeArray.Add(_ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TimeArray["+ i +"]")); + } + snapshotConfig.TimeArray = snapshotConfig_timeArray; + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig.SubmitSnapshotJob_TileOut tileOut = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig.SubmitSnapshotJob_TileOut(); + tileOut.Padding = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.Padding"); + tileOut.Color = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.Color"); + tileOut.CellSelStep = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.CellSelStep"); + tileOut.CellHeight = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.CellHeight"); + tileOut.CellWidth = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.CellWidth"); + tileOut.Margin = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.Margin"); + tileOut.Columns = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.Columns"); + tileOut.IsKeepCellPic = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.IsKeepCellPic"); + tileOut.Lines = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOut.Lines"); + snapshotConfig.TileOut = tileOut; + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig.SubmitSnapshotJob_OutputFile outputFile = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig.SubmitSnapshotJob_OutputFile(); + outputFile.RoleArn = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.OutputFile.RoleArn"); + outputFile._Object = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.OutputFile.Object"); + outputFile.Location = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.OutputFile.Location"); + outputFile.Bucket = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.OutputFile.Bucket"); + snapshotConfig.OutputFile = outputFile; + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig.SubmitSnapshotJob_TileOutputFile tileOutputFile = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_SnapshotConfig.SubmitSnapshotJob_TileOutputFile(); + tileOutputFile.RoleArn = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOutputFile.RoleArn"); + tileOutputFile._Object = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOutputFile.Object"); + tileOutputFile.Location = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOutputFile.Location"); + tileOutputFile.Bucket = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.SnapshotConfig.TileOutputFile.Bucket"); + snapshotConfig.TileOutputFile = tileOutputFile; + snapshotJob.SnapshotConfig = snapshotConfig; + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_MNSMessageResult mNSMessageResult = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_MNSMessageResult(); + mNSMessageResult.MessageId = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.MNSMessageResult.MessageId"); + mNSMessageResult.ErrorMessage = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.MNSMessageResult.ErrorMessage"); + mNSMessageResult.ErrorCode = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.MNSMessageResult.ErrorCode"); + snapshotJob.MNSMessageResult = mNSMessageResult; + + SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_Input input = new SubmitSnapshotJobResponse.SubmitSnapshotJob_SnapshotJob.SubmitSnapshotJob_Input(); + input.RoleArn = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Input.RoleArn"); + input._Object = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Input.Object"); + input.Location = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Input.Location"); + input.Bucket = _ctx.StringValue("SubmitSnapshotJob.SnapshotJob.Input.Bucket"); + snapshotJob.Input = input; + submitSnapshotJobResponse.SnapshotJob = snapshotJob; + + return submitSnapshotJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceAbJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceAbJobResponseUnmarshaller.cs new file mode 100644 index 000000000..3b876fb56 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceAbJobResponseUnmarshaller.cs @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitTraceAbJobResponseUnmarshaller + { + public static SubmitTraceAbJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitTraceAbJobResponse submitTraceAbJobResponse = new SubmitTraceAbJobResponse(); + + submitTraceAbJobResponse.HttpResponse = _ctx.HttpResponse; + submitTraceAbJobResponse.RequestId = _ctx.StringValue("SubmitTraceAbJob.RequestId"); + submitTraceAbJobResponse.Message = _ctx.StringValue("SubmitTraceAbJob.Message"); + submitTraceAbJobResponse.StatusCode = _ctx.LongValue("SubmitTraceAbJob.StatusCode"); + + SubmitTraceAbJobResponse.SubmitTraceAbJob_Data data = new SubmitTraceAbJobResponse.SubmitTraceAbJob_Data(); + data.JobId = _ctx.StringValue("SubmitTraceAbJob.Data.JobId"); + data.MediaId = _ctx.StringValue("SubmitTraceAbJob.Data.MediaId"); + submitTraceAbJobResponse.Data = data; + + return submitTraceAbJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceExtractJobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceExtractJobResponseUnmarshaller.cs new file mode 100644 index 000000000..fe00ada7b --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceExtractJobResponseUnmarshaller.cs @@ -0,0 +1,45 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitTraceExtractJobResponseUnmarshaller + { + public static SubmitTraceExtractJobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitTraceExtractJobResponse submitTraceExtractJobResponse = new SubmitTraceExtractJobResponse(); + + submitTraceExtractJobResponse.HttpResponse = _ctx.HttpResponse; + submitTraceExtractJobResponse.RequestId = _ctx.StringValue("SubmitTraceExtractJob.RequestId"); + submitTraceExtractJobResponse.Message = _ctx.StringValue("SubmitTraceExtractJob.Message"); + submitTraceExtractJobResponse.StatusCode = _ctx.LongValue("SubmitTraceExtractJob.StatusCode"); + + SubmitTraceExtractJobResponse.SubmitTraceExtractJob_Data data = new SubmitTraceExtractJobResponse.SubmitTraceExtractJob_Data(); + data.JobId = _ctx.StringValue("SubmitTraceExtractJob.Data.JobId"); + submitTraceExtractJobResponse.Data = data; + + return submitTraceExtractJobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceM3u8JobResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceM3u8JobResponseUnmarshaller.cs new file mode 100644 index 000000000..3a6c97a92 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/SubmitTraceM3u8JobResponseUnmarshaller.cs @@ -0,0 +1,44 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class SubmitTraceM3u8JobResponseUnmarshaller + { + public static SubmitTraceM3u8JobResponse Unmarshall(UnmarshallerContext _ctx) + { + SubmitTraceM3u8JobResponse submitTraceM3u8JobResponse = new SubmitTraceM3u8JobResponse(); + + submitTraceM3u8JobResponse.HttpResponse = _ctx.HttpResponse; + submitTraceM3u8JobResponse.RequestId = _ctx.StringValue("SubmitTraceM3u8Job.RequestId"); + submitTraceM3u8JobResponse.Message = _ctx.StringValue("SubmitTraceM3u8Job.Message"); + + SubmitTraceM3u8JobResponse.SubmitTraceM3u8Job_Data data = new SubmitTraceM3u8JobResponse.SubmitTraceM3u8Job_Data(); + data.JobId = _ctx.StringValue("SubmitTraceM3u8Job.Data.JobId"); + submitTraceM3u8JobResponse.Data = data; + + return submitTraceM3u8JobResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/TagCustomPersonResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/TagCustomPersonResponseUnmarshaller.cs new file mode 100644 index 000000000..59d13d5c1 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/TagCustomPersonResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class TagCustomPersonResponseUnmarshaller + { + public static TagCustomPersonResponse Unmarshall(UnmarshallerContext _ctx) + { + TagCustomPersonResponse tagCustomPersonResponse = new TagCustomPersonResponse(); + + tagCustomPersonResponse.HttpResponse = _ctx.HttpResponse; + tagCustomPersonResponse.RequestId = _ctx.StringValue("TagCustomPerson.RequestId"); + + return tagCustomPersonResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindInputBucketResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindInputBucketResponseUnmarshaller.cs new file mode 100644 index 000000000..9a6572a4e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindInputBucketResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UnbindInputBucketResponseUnmarshaller + { + public static UnbindInputBucketResponse Unmarshall(UnmarshallerContext _ctx) + { + UnbindInputBucketResponse unbindInputBucketResponse = new UnbindInputBucketResponse(); + + unbindInputBucketResponse.HttpResponse = _ctx.HttpResponse; + unbindInputBucketResponse.RequestId = _ctx.StringValue("UnbindInputBucket.RequestId"); + + return unbindInputBucketResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindOutputBucketResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindOutputBucketResponseUnmarshaller.cs new file mode 100644 index 000000000..3e64452a8 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnbindOutputBucketResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UnbindOutputBucketResponseUnmarshaller + { + public static UnbindOutputBucketResponse Unmarshall(UnmarshallerContext _ctx) + { + UnbindOutputBucketResponse unbindOutputBucketResponse = new UnbindOutputBucketResponse(); + + unbindOutputBucketResponse.HttpResponse = _ctx.HttpResponse; + unbindOutputBucketResponse.RequestId = _ctx.StringValue("UnbindOutputBucket.RequestId"); + + return unbindOutputBucketResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnregisterCustomFaceResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnregisterCustomFaceResponseUnmarshaller.cs new file mode 100644 index 000000000..e710eae3e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UnregisterCustomFaceResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UnregisterCustomFaceResponseUnmarshaller + { + public static UnregisterCustomFaceResponse Unmarshall(UnmarshallerContext _ctx) + { + UnregisterCustomFaceResponse unregisterCustomFaceResponse = new UnregisterCustomFaceResponse(); + + unregisterCustomFaceResponse.HttpResponse = _ctx.HttpResponse; + unregisterCustomFaceResponse.RequestId = _ctx.StringValue("UnregisterCustomFace.RequestId"); + + return unregisterCustomFaceResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCategoryResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCategoryResponseUnmarshaller.cs new file mode 100644 index 000000000..6be2c405a --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCategoryResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateMediaCategoryResponseUnmarshaller + { + public static UpdateMediaCategoryResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateMediaCategoryResponse updateMediaCategoryResponse = new UpdateMediaCategoryResponse(); + + updateMediaCategoryResponse.HttpResponse = _ctx.HttpResponse; + updateMediaCategoryResponse.RequestId = _ctx.StringValue("UpdateMediaCategory.RequestId"); + + return updateMediaCategoryResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCoverResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCoverResponseUnmarshaller.cs new file mode 100644 index 000000000..d4ed3ace4 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaCoverResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateMediaCoverResponseUnmarshaller + { + public static UpdateMediaCoverResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateMediaCoverResponse updateMediaCoverResponse = new UpdateMediaCoverResponse(); + + updateMediaCoverResponse.HttpResponse = _ctx.HttpResponse; + updateMediaCoverResponse.RequestId = _ctx.StringValue("UpdateMediaCover.RequestId"); + + return updateMediaCoverResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaPublishStateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaPublishStateResponseUnmarshaller.cs new file mode 100644 index 000000000..5a05435fa --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaPublishStateResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateMediaPublishStateResponseUnmarshaller + { + public static UpdateMediaPublishStateResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateMediaPublishStateResponse updateMediaPublishStateResponse = new UpdateMediaPublishStateResponse(); + + updateMediaPublishStateResponse.HttpResponse = _ctx.HttpResponse; + updateMediaPublishStateResponse.RequestId = _ctx.StringValue("UpdateMediaPublishState.RequestId"); + + return updateMediaPublishStateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaResponseUnmarshaller.cs new file mode 100644 index 000000000..2828019a5 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaResponseUnmarshaller.cs @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateMediaResponseUnmarshaller + { + public static UpdateMediaResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateMediaResponse updateMediaResponse = new UpdateMediaResponse(); + + updateMediaResponse.HttpResponse = _ctx.HttpResponse; + updateMediaResponse.RequestId = _ctx.StringValue("UpdateMedia.RequestId"); + + UpdateMediaResponse.UpdateMedia_Media media = new UpdateMediaResponse.UpdateMedia_Media(); + media.CreationTime = _ctx.StringValue("UpdateMedia.Media.CreationTime"); + media.CateId = _ctx.LongValue("UpdateMedia.Media.CateId"); + media.Height = _ctx.StringValue("UpdateMedia.Media.Height"); + media.CensorState = _ctx.StringValue("UpdateMedia.Media.CensorState"); + media.Bitrate = _ctx.StringValue("UpdateMedia.Media.Bitrate"); + media.MediaId = _ctx.StringValue("UpdateMedia.Media.MediaId"); + media.PublishState = _ctx.StringValue("UpdateMedia.Media.PublishState"); + media.Description = _ctx.StringValue("UpdateMedia.Media.Description"); + media.Width = _ctx.StringValue("UpdateMedia.Media.Width"); + media.Size = _ctx.StringValue("UpdateMedia.Media.Size"); + media.CoverURL = _ctx.StringValue("UpdateMedia.Media.CoverURL"); + media.Duration = _ctx.StringValue("UpdateMedia.Media.Duration"); + media.Fps = _ctx.StringValue("UpdateMedia.Media.Fps"); + media.Title = _ctx.StringValue("UpdateMedia.Media.Title"); + media.Format = _ctx.StringValue("UpdateMedia.Media.Format"); + + List media_tags = new List(); + for (int i = 0; i < _ctx.Length("UpdateMedia.Media.Tags.Length"); i++) { + media_tags.Add(_ctx.StringValue("UpdateMedia.Media.Tags["+ i +"]")); + } + media.Tags = media_tags; + + List media_runIdList = new List(); + for (int i = 0; i < _ctx.Length("UpdateMedia.Media.RunIdList.Length"); i++) { + media_runIdList.Add(_ctx.StringValue("UpdateMedia.Media.RunIdList["+ i +"]")); + } + media.RunIdList = media_runIdList; + + UpdateMediaResponse.UpdateMedia_Media.UpdateMedia_File file = new UpdateMediaResponse.UpdateMedia_Media.UpdateMedia_File(); + file.State = _ctx.StringValue("UpdateMedia.Media.File.State"); + file.URL = _ctx.StringValue("UpdateMedia.Media.File.URL"); + media.File = file; + updateMediaResponse.Media = media; + + return updateMediaResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowResponseUnmarshaller.cs new file mode 100644 index 000000000..315b3eb88 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowResponseUnmarshaller.cs @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateMediaWorkflowResponseUnmarshaller + { + public static UpdateMediaWorkflowResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateMediaWorkflowResponse updateMediaWorkflowResponse = new UpdateMediaWorkflowResponse(); + + updateMediaWorkflowResponse.HttpResponse = _ctx.HttpResponse; + updateMediaWorkflowResponse.RequestId = _ctx.StringValue("UpdateMediaWorkflow.RequestId"); + + UpdateMediaWorkflowResponse.UpdateMediaWorkflow_MediaWorkflow mediaWorkflow = new UpdateMediaWorkflowResponse.UpdateMediaWorkflow_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("UpdateMediaWorkflow.MediaWorkflow.CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("UpdateMediaWorkflow.MediaWorkflow.MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("UpdateMediaWorkflow.MediaWorkflow.State"); + mediaWorkflow.TriggerMode = _ctx.StringValue("UpdateMediaWorkflow.MediaWorkflow.TriggerMode"); + mediaWorkflow.Name = _ctx.StringValue("UpdateMediaWorkflow.MediaWorkflow.Name"); + mediaWorkflow.Topology = _ctx.StringValue("UpdateMediaWorkflow.MediaWorkflow.Topology"); + updateMediaWorkflowResponse.MediaWorkflow = mediaWorkflow; + + return updateMediaWorkflowResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowTriggerModeResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowTriggerModeResponseUnmarshaller.cs new file mode 100644 index 000000000..127af7983 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateMediaWorkflowTriggerModeResponseUnmarshaller.cs @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateMediaWorkflowTriggerModeResponseUnmarshaller + { + public static UpdateMediaWorkflowTriggerModeResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateMediaWorkflowTriggerModeResponse updateMediaWorkflowTriggerModeResponse = new UpdateMediaWorkflowTriggerModeResponse(); + + updateMediaWorkflowTriggerModeResponse.HttpResponse = _ctx.HttpResponse; + updateMediaWorkflowTriggerModeResponse.RequestId = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.RequestId"); + + UpdateMediaWorkflowTriggerModeResponse.UpdateMediaWorkflowTriggerMode_MediaWorkflow mediaWorkflow = new UpdateMediaWorkflowTriggerModeResponse.UpdateMediaWorkflowTriggerMode_MediaWorkflow(); + mediaWorkflow.CreationTime = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.MediaWorkflow.CreationTime"); + mediaWorkflow.MediaWorkflowId = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.MediaWorkflow.MediaWorkflowId"); + mediaWorkflow.State = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.MediaWorkflow.State"); + mediaWorkflow.TriggerMode = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.MediaWorkflow.TriggerMode"); + mediaWorkflow.Name = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.MediaWorkflow.Name"); + mediaWorkflow.Topology = _ctx.StringValue("UpdateMediaWorkflowTriggerMode.MediaWorkflow.Topology"); + updateMediaWorkflowTriggerModeResponse.MediaWorkflow = mediaWorkflow; + + return updateMediaWorkflowTriggerModeResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdatePipelineResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdatePipelineResponseUnmarshaller.cs new file mode 100644 index 000000000..adf7390f3 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdatePipelineResponseUnmarshaller.cs @@ -0,0 +1,61 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdatePipelineResponseUnmarshaller + { + public static UpdatePipelineResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdatePipelineResponse updatePipelineResponse = new UpdatePipelineResponse(); + + updatePipelineResponse.HttpResponse = _ctx.HttpResponse; + updatePipelineResponse.RequestId = _ctx.StringValue("UpdatePipeline.RequestId"); + + UpdatePipelineResponse.UpdatePipeline_Pipeline pipeline = new UpdatePipelineResponse.UpdatePipeline_Pipeline(); + pipeline.Speed = _ctx.StringValue("UpdatePipeline.Pipeline.Speed"); + pipeline.State = _ctx.StringValue("UpdatePipeline.Pipeline.State"); + pipeline.Name = _ctx.StringValue("UpdatePipeline.Pipeline.Name"); + pipeline.Role = _ctx.StringValue("UpdatePipeline.Pipeline.Role"); + pipeline.Id = _ctx.StringValue("UpdatePipeline.Pipeline.Id"); + pipeline.QuotaAllocate = _ctx.LongValue("UpdatePipeline.Pipeline.QuotaAllocate"); + + UpdatePipelineResponse.UpdatePipeline_Pipeline.UpdatePipeline_NotifyConfig notifyConfig = new UpdatePipelineResponse.UpdatePipeline_Pipeline.UpdatePipeline_NotifyConfig(); + notifyConfig.MqTopic = _ctx.StringValue("UpdatePipeline.Pipeline.NotifyConfig.MqTopic"); + notifyConfig.QueueName = _ctx.StringValue("UpdatePipeline.Pipeline.NotifyConfig.QueueName"); + notifyConfig.MqTag = _ctx.StringValue("UpdatePipeline.Pipeline.NotifyConfig.MqTag"); + notifyConfig.Topic = _ctx.StringValue("UpdatePipeline.Pipeline.NotifyConfig.Topic"); + pipeline.NotifyConfig = notifyConfig; + + UpdatePipelineResponse.UpdatePipeline_Pipeline.UpdatePipeline_ExtendConfig extendConfig = new UpdatePipelineResponse.UpdatePipeline_Pipeline.UpdatePipeline_ExtendConfig(); + extendConfig.IsBoostNew = _ctx.BooleanValue("UpdatePipeline.Pipeline.ExtendConfig.IsBoostNew"); + extendConfig.MaxMultiSpeed = _ctx.IntegerValue("UpdatePipeline.Pipeline.ExtendConfig.MaxMultiSpeed"); + extendConfig.MultiSpeedDowngradePolicy = _ctx.StringValue("UpdatePipeline.Pipeline.ExtendConfig.MultiSpeedDowngradePolicy"); + pipeline.ExtendConfig = extendConfig; + updatePipelineResponse.Pipeline = pipeline; + + return updatePipelineResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateSmarttagTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateSmarttagTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..431c8ac3e --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateSmarttagTemplateResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateSmarttagTemplateResponseUnmarshaller + { + public static UpdateSmarttagTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateSmarttagTemplateResponse updateSmarttagTemplateResponse = new UpdateSmarttagTemplateResponse(); + + updateSmarttagTemplateResponse.HttpResponse = _ctx.HttpResponse; + updateSmarttagTemplateResponse.RequestId = _ctx.StringValue("UpdateSmarttagTemplate.RequestId"); + + return updateSmarttagTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..222ef5b72 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateTemplateResponseUnmarshaller.cs @@ -0,0 +1,133 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateTemplateResponseUnmarshaller + { + public static UpdateTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateTemplateResponse updateTemplateResponse = new UpdateTemplateResponse(); + + updateTemplateResponse.HttpResponse = _ctx.HttpResponse; + updateTemplateResponse.RequestId = _ctx.StringValue("UpdateTemplate.RequestId"); + + UpdateTemplateResponse.UpdateTemplate_Template template = new UpdateTemplateResponse.UpdateTemplate_Template(); + template.State = _ctx.StringValue("UpdateTemplate.Template.State"); + template.Name = _ctx.StringValue("UpdateTemplate.Template.Name"); + template.Id = _ctx.StringValue("UpdateTemplate.Template.Id"); + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Video video = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Video(); + video.LongShortMode = _ctx.StringValue("UpdateTemplate.Template.Video.LongShortMode"); + video.Bufsize = _ctx.StringValue("UpdateTemplate.Template.Video.Bufsize"); + video.Degrain = _ctx.StringValue("UpdateTemplate.Template.Video.Degrain"); + video.PixFmt = _ctx.StringValue("UpdateTemplate.Template.Video.PixFmt"); + video.Pad = _ctx.StringValue("UpdateTemplate.Template.Video.Pad"); + video.Codec = _ctx.StringValue("UpdateTemplate.Template.Video.Codec"); + video.Height = _ctx.StringValue("UpdateTemplate.Template.Video.Height"); + video.Qscale = _ctx.StringValue("UpdateTemplate.Template.Video.Qscale"); + video.Crop = _ctx.StringValue("UpdateTemplate.Template.Video.Crop"); + video.Bitrate = _ctx.StringValue("UpdateTemplate.Template.Video.Bitrate"); + video.Maxrate = _ctx.StringValue("UpdateTemplate.Template.Video.Maxrate"); + video.MaxFps = _ctx.StringValue("UpdateTemplate.Template.Video.MaxFps"); + video.Profile = _ctx.StringValue("UpdateTemplate.Template.Video.Profile"); + video.Crf = _ctx.StringValue("UpdateTemplate.Template.Video.Crf"); + video._Remove = _ctx.StringValue("UpdateTemplate.Template.Video.Remove"); + video.Gop = _ctx.StringValue("UpdateTemplate.Template.Video.Gop"); + video.Width = _ctx.StringValue("UpdateTemplate.Template.Video.Width"); + video.Fps = _ctx.StringValue("UpdateTemplate.Template.Video.Fps"); + video.Preset = _ctx.StringValue("UpdateTemplate.Template.Video.Preset"); + video.ScanMode = _ctx.StringValue("UpdateTemplate.Template.Video.ScanMode"); + video.ResoPriority = _ctx.StringValue("UpdateTemplate.Template.Video.ResoPriority"); + video.Hdr2sdr = _ctx.StringValue("UpdateTemplate.Template.Video.Hdr2sdr"); + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Video.UpdateTemplate_BitrateBnd bitrateBnd = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Video.UpdateTemplate_BitrateBnd(); + bitrateBnd.Max = _ctx.StringValue("UpdateTemplate.Template.Video.BitrateBnd.Max"); + bitrateBnd.Min = _ctx.StringValue("UpdateTemplate.Template.Video.BitrateBnd.Min"); + video.BitrateBnd = bitrateBnd; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Video.UpdateTemplate_NarrowBand narrowBand = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Video.UpdateTemplate_NarrowBand(); + narrowBand.Version = _ctx.StringValue("UpdateTemplate.Template.Video.NarrowBand.Version"); + narrowBand.Abrmax = _ctx.FloatValue("UpdateTemplate.Template.Video.NarrowBand.Abrmax"); + narrowBand.MaxAbrRatio = _ctx.FloatValue("UpdateTemplate.Template.Video.NarrowBand.MaxAbrRatio"); + video.NarrowBand = narrowBand; + template.Video = video; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_TransConfig transConfig = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_TransConfig(); + transConfig.IsCheckAudioBitrate = _ctx.StringValue("UpdateTemplate.Template.TransConfig.IsCheckAudioBitrate"); + transConfig.TransMode = _ctx.StringValue("UpdateTemplate.Template.TransConfig.TransMode"); + transConfig.IsCheckReso = _ctx.StringValue("UpdateTemplate.Template.TransConfig.IsCheckReso"); + transConfig.IsCheckVideoBitrateFail = _ctx.StringValue("UpdateTemplate.Template.TransConfig.IsCheckVideoBitrateFail"); + transConfig.AdjDarMethod = _ctx.StringValue("UpdateTemplate.Template.TransConfig.AdjDarMethod"); + transConfig.IsCheckVideoBitrate = _ctx.StringValue("UpdateTemplate.Template.TransConfig.IsCheckVideoBitrate"); + transConfig.IsCheckResoFail = _ctx.StringValue("UpdateTemplate.Template.TransConfig.IsCheckResoFail"); + transConfig.IsCheckAudioBitrateFail = _ctx.StringValue("UpdateTemplate.Template.TransConfig.IsCheckAudioBitrateFail"); + template.TransConfig = transConfig; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig muxConfig = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig(); + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig.UpdateTemplate_Webp webp = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig.UpdateTemplate_Webp(); + webp.Loop = _ctx.StringValue("UpdateTemplate.Template.MuxConfig.Webp.Loop"); + muxConfig.Webp = webp; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig.UpdateTemplate_Gif gif = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig.UpdateTemplate_Gif(); + gif.FinalDelay = _ctx.StringValue("UpdateTemplate.Template.MuxConfig.Gif.FinalDelay"); + gif.DitherMode = _ctx.StringValue("UpdateTemplate.Template.MuxConfig.Gif.DitherMode"); + gif.Loop = _ctx.StringValue("UpdateTemplate.Template.MuxConfig.Gif.Loop"); + gif.IsCustomPalette = _ctx.StringValue("UpdateTemplate.Template.MuxConfig.Gif.IsCustomPalette"); + muxConfig.Gif = gif; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig.UpdateTemplate_Segment segment = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_MuxConfig.UpdateTemplate_Segment(); + segment.Duration = _ctx.StringValue("UpdateTemplate.Template.MuxConfig.Segment.Duration"); + muxConfig.Segment = segment; + template.MuxConfig = muxConfig; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Audio audio = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Audio(); + audio.Profile = _ctx.StringValue("UpdateTemplate.Template.Audio.Profile"); + audio._Remove = _ctx.StringValue("UpdateTemplate.Template.Audio.Remove"); + audio.Codec = _ctx.StringValue("UpdateTemplate.Template.Audio.Codec"); + audio.Samplerate = _ctx.StringValue("UpdateTemplate.Template.Audio.Samplerate"); + audio.Qscale = _ctx.StringValue("UpdateTemplate.Template.Audio.Qscale"); + audio.Channels = _ctx.StringValue("UpdateTemplate.Template.Audio.Channels"); + audio.Bitrate = _ctx.StringValue("UpdateTemplate.Template.Audio.Bitrate"); + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Audio.UpdateTemplate_Volume volume = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Audio.UpdateTemplate_Volume(); + volume.Method = _ctx.StringValue("UpdateTemplate.Template.Audio.Volume.Method"); + volume.TruePeak = _ctx.StringValue("UpdateTemplate.Template.Audio.Volume.TruePeak"); + volume.IntegratedLoudnessTarget = _ctx.StringValue("UpdateTemplate.Template.Audio.Volume.IntegratedLoudnessTarget"); + volume.Level = _ctx.StringValue("UpdateTemplate.Template.Audio.Volume.Level"); + volume.LoudnessRangeTarget = _ctx.StringValue("UpdateTemplate.Template.Audio.Volume.LoudnessRangeTarget"); + volume.PeakLevel = _ctx.StringValue("UpdateTemplate.Template.Audio.Volume.PeakLevel"); + audio.Volume = volume; + template.Audio = audio; + + UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Container container = new UpdateTemplateResponse.UpdateTemplate_Template.UpdateTemplate_Container(); + container.Format = _ctx.StringValue("UpdateTemplate.Template.Container.Format"); + template.Container = container; + updateTemplateResponse.Template = template; + + return updateTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateWaterMarkTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateWaterMarkTemplateResponseUnmarshaller.cs new file mode 100644 index 000000000..d25b25759 --- /dev/null +++ b/aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateWaterMarkTemplateResponseUnmarshaller.cs @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Mts.Model.V20140618; + +namespace Aliyun.Acs.Mts.Transform.V20140618 +{ + public class UpdateWaterMarkTemplateResponseUnmarshaller + { + public static UpdateWaterMarkTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateWaterMarkTemplateResponse updateWaterMarkTemplateResponse = new UpdateWaterMarkTemplateResponse(); + + updateWaterMarkTemplateResponse.HttpResponse = _ctx.HttpResponse; + updateWaterMarkTemplateResponse.RequestId = _ctx.StringValue("UpdateWaterMarkTemplate.RequestId"); + + UpdateWaterMarkTemplateResponse.UpdateWaterMarkTemplate_WaterMarkTemplate waterMarkTemplate = new UpdateWaterMarkTemplateResponse.UpdateWaterMarkTemplate_WaterMarkTemplate(); + waterMarkTemplate.Type = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Type"); + waterMarkTemplate.ReferPos = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.ReferPos"); + waterMarkTemplate.State = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.State"); + waterMarkTemplate.Dx = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Dx"); + waterMarkTemplate.Width = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Width"); + waterMarkTemplate.Height = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Height"); + waterMarkTemplate.Name = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Name"); + waterMarkTemplate.Dy = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Dy"); + waterMarkTemplate.Id = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Id"); + + UpdateWaterMarkTemplateResponse.UpdateWaterMarkTemplate_WaterMarkTemplate.UpdateWaterMarkTemplate_RatioRefer ratioRefer = new UpdateWaterMarkTemplateResponse.UpdateWaterMarkTemplate_WaterMarkTemplate.UpdateWaterMarkTemplate_RatioRefer(); + ratioRefer.Dx = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Dx"); + ratioRefer.Width = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Width"); + ratioRefer.Height = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Height"); + ratioRefer.Dy = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.RatioRefer.Dy"); + waterMarkTemplate.RatioRefer = ratioRefer; + + UpdateWaterMarkTemplateResponse.UpdateWaterMarkTemplate_WaterMarkTemplate.UpdateWaterMarkTemplate_Timeline timeline = new UpdateWaterMarkTemplateResponse.UpdateWaterMarkTemplate_WaterMarkTemplate.UpdateWaterMarkTemplate_Timeline(); + timeline.Start = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Timeline.Start"); + timeline.Duration = _ctx.StringValue("UpdateWaterMarkTemplate.WaterMarkTemplate.Timeline.Duration"); + waterMarkTemplate.Timeline = timeline; + updateWaterMarkTemplateResponse.WaterMarkTemplate = waterMarkTemplate; + + return updateWaterMarkTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-mts/aliyun-net-sdk-mts.vs2017.csproj b/aliyun-net-sdk-mts/aliyun-net-sdk-mts.vs2017.csproj new file mode 100644 index 000000000..827f4512b --- /dev/null +++ b/aliyun-net-sdk-mts/aliyun-net-sdk-mts.vs2017.csproj @@ -0,0 +1,43 @@ + + + + netstandard2.0;net45 + Aliyun.Acs.Mts + 2.6.4 + Alibaba Cloud + ©2009-2019 Alibaba Cloud + false + https://raw.githubusercontent.com/aliyun/aliyun-openapi-net-sdk/master/LICENSE + https://github.com/aliyun/aliyun-openapi-net-sdk + https://www.alibabacloud.com/favicon.ico + Alibaba Cloud SDK for .NET + + alibaba aliyun SDK Mts + aliyun-net-sdk-mts + + + + + + + all + runtime; build; native; contentfiles; analyzers + + + + + + + + + + + + + + + + + + + \ No newline at end of file