Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5eeea32

Browse files
committed
update mts sdk
1 parent 832a36b commit 5eeea32

File tree

61 files changed

+8814
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+8814
-9
lines changed

aliyun-java-sdk-mts/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-mts</artifactId>
55
<packaging>jar</packaging>
6-
<version>2.0.5</version>
6+
<version>2.0.6</version>
77
<name>aliyun-java-sdk-mts</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -78,4 +78,4 @@ http://www.aliyun.com</description>
7878
</plugin>
7979
</plugins>
8080
</build>
81-
</project>
81+
</project>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.mts.model.v20140618;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class ActivateMediaWorkflowRequest extends RpcAcsRequest<ActivateMediaWorkflowResponse> {
28+
29+
public ActivateMediaWorkflowRequest() {
30+
super("Mts", "2014-06-18", "ActivateMediaWorkflow");
31+
}
32+
33+
private Long ownerId;
34+
35+
private String resourceOwnerAccount;
36+
37+
private Long resourceOwnerId;
38+
39+
private String mediaWorkflowId;
40+
41+
private String ownerAccount;
42+
43+
public Long getOwnerId() {
44+
return this.ownerId;
45+
}
46+
47+
public void setOwnerId(Long ownerId) {
48+
this.ownerId = ownerId;
49+
putQueryParameter("OwnerId", ownerId);
50+
}
51+
52+
public String getResourceOwnerAccount() {
53+
return this.resourceOwnerAccount;
54+
}
55+
56+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
57+
this.resourceOwnerAccount = resourceOwnerAccount;
58+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
59+
}
60+
61+
public Long getResourceOwnerId() {
62+
return this.resourceOwnerId;
63+
}
64+
65+
public void setResourceOwnerId(Long resourceOwnerId) {
66+
this.resourceOwnerId = resourceOwnerId;
67+
putQueryParameter("ResourceOwnerId", resourceOwnerId);
68+
}
69+
70+
public String getMediaWorkflowId() {
71+
return this.mediaWorkflowId;
72+
}
73+
74+
public void setMediaWorkflowId(String mediaWorkflowId) {
75+
this.mediaWorkflowId = mediaWorkflowId;
76+
putQueryParameter("MediaWorkflowId", mediaWorkflowId);
77+
}
78+
79+
public String getOwnerAccount() {
80+
return this.ownerAccount;
81+
}
82+
83+
public void setOwnerAccount(String ownerAccount) {
84+
this.ownerAccount = ownerAccount;
85+
putQueryParameter("OwnerAccount", ownerAccount);
86+
}
87+
88+
@Override
89+
public Class<ActivateMediaWorkflowResponse> getResponseClass() {
90+
return ActivateMediaWorkflowResponse.class;
91+
}
92+
93+
}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.mts.model.v20140618;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.mts.transform.v20140618.ActivateMediaWorkflowResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class ActivateMediaWorkflowResponse extends AcsResponse {
30+
31+
private String requestId;
32+
33+
private MediaWorkflow mediaWorkflow;
34+
35+
public String getRequestId() {
36+
return this.requestId;
37+
}
38+
39+
public void setRequestId(String requestId) {
40+
this.requestId = requestId;
41+
}
42+
43+
public MediaWorkflow getMediaWorkflow() {
44+
return this.mediaWorkflow;
45+
}
46+
47+
public void setMediaWorkflow(MediaWorkflow mediaWorkflow) {
48+
this.mediaWorkflow = mediaWorkflow;
49+
}
50+
51+
public static class MediaWorkflow {
52+
53+
private String mediaWorkflowId;
54+
55+
private String name;
56+
57+
private String topology;
58+
59+
private String state;
60+
61+
private String creationTime;
62+
63+
public String getMediaWorkflowId() {
64+
return this.mediaWorkflowId;
65+
}
66+
67+
public void setMediaWorkflowId(String mediaWorkflowId) {
68+
this.mediaWorkflowId = mediaWorkflowId;
69+
}
70+
71+
public String getName() {
72+
return this.name;
73+
}
74+
75+
public void setName(String name) {
76+
this.name = name;
77+
}
78+
79+
public String getTopology() {
80+
return this.topology;
81+
}
82+
83+
public void setTopology(String topology) {
84+
this.topology = topology;
85+
}
86+
87+
public String getState() {
88+
return this.state;
89+
}
90+
91+
public void setState(String state) {
92+
this.state = state;
93+
}
94+
95+
public String getCreationTime() {
96+
return this.creationTime;
97+
}
98+
99+
public void setCreationTime(String creationTime) {
100+
this.creationTime = creationTime;
101+
}
102+
}
103+
104+
@Override
105+
public ActivateMediaWorkflowResponse getInstance(UnmarshallerContext context) {
106+
return ActivateMediaWorkflowResponseUnmarshaller.unmarshall(this, context);
107+
}
108+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.mts.model.v20140618;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class AddMediaWorkflowRequest extends RpcAcsRequest<AddMediaWorkflowResponse> {
28+
29+
public AddMediaWorkflowRequest() {
30+
super("Mts", "2014-06-18", "AddMediaWorkflow");
31+
}
32+
33+
private Long ownerId;
34+
35+
private String resourceOwnerAccount;
36+
37+
private Long resourceOwnerId;
38+
39+
private String name;
40+
41+
private String topology;
42+
43+
private String ownerAccount;
44+
45+
public Long getOwnerId() {
46+
return this.ownerId;
47+
}
48+
49+
public void setOwnerId(Long ownerId) {
50+
this.ownerId = ownerId;
51+
putQueryParameter("OwnerId", ownerId);
52+
}
53+
54+
public String getResourceOwnerAccount() {
55+
return this.resourceOwnerAccount;
56+
}
57+
58+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
59+
this.resourceOwnerAccount = resourceOwnerAccount;
60+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
61+
}
62+
63+
public Long getResourceOwnerId() {
64+
return this.resourceOwnerId;
65+
}
66+
67+
public void setResourceOwnerId(Long resourceOwnerId) {
68+
this.resourceOwnerId = resourceOwnerId;
69+
putQueryParameter("ResourceOwnerId", resourceOwnerId);
70+
}
71+
72+
public String getName() {
73+
return this.name;
74+
}
75+
76+
public void setName(String name) {
77+
this.name = name;
78+
putQueryParameter("Name", name);
79+
}
80+
81+
public String getTopology() {
82+
return this.topology;
83+
}
84+
85+
public void setTopology(String topology) {
86+
this.topology = topology;
87+
putQueryParameter("Topology", topology);
88+
}
89+
90+
public String getOwnerAccount() {
91+
return this.ownerAccount;
92+
}
93+
94+
public void setOwnerAccount(String ownerAccount) {
95+
this.ownerAccount = ownerAccount;
96+
putQueryParameter("OwnerAccount", ownerAccount);
97+
}
98+
99+
@Override
100+
public Class<AddMediaWorkflowResponse> getResponseClass() {
101+
return AddMediaWorkflowResponse.class;
102+
}
103+
104+
}

0 commit comments

Comments
 (0)