-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
294 changed files
with
62,600 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<string, string> endpointMap = new Dictionary<string, string>() | ||
{ | ||
{ "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"; | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<ActivateMediaWorkflowResponse> | ||
{ | ||
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); | ||
} | ||
} | ||
} |
130 changes: 130 additions & 0 deletions
130
aliyun-net-sdk-mts/Mts/Model/V20140618/ActivateMediaWorkflowResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.