Skip to content

Commit

Permalink
Support Digital Watermark.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 18, 2023
1 parent 4dd4c74 commit 8af07a4
Show file tree
Hide file tree
Showing 21 changed files with 1,241 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-vod/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-10-18 Version: 2.16.17
- Support Digital Watermark.

2023-04-26 Version: 2.16.16
- Api add media storage class.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-vod/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-vod</artifactId>
<packaging>jar</packaging>
<version>2.16.16</version>
<version>2.16.17</version>
<name>aliyun-java-sdk-vod</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.vod.model.v20170321;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.vod.Endpoint;

/**
* @author auto create
* @version
*/
public class AddEditingProjectMaterialsRequest extends RpcAcsRequest<AddEditingProjectMaterialsResponse> {


private String resourceOwnerId;

private String materialType;

private String projectId;

private String resourceOwnerAccount;

private String ownerAccount;

private String ownerId;

private String materialIds;
public AddEditingProjectMaterialsRequest() {
super("vod", "2017-03-21", "AddEditingProjectMaterials", "vod");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getResourceOwnerId() {
return this.resourceOwnerId;
}

public void setResourceOwnerId(String resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId);
}
}

public String getMaterialType() {
return this.materialType;
}

public void setMaterialType(String materialType) {
this.materialType = materialType;
if(materialType != null){
putQueryParameter("MaterialType", materialType);
}
}

public String getProjectId() {
return this.projectId;
}

public void setProjectId(String projectId) {
this.projectId = projectId;
if(projectId != null){
putQueryParameter("ProjectId", projectId);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}

public String getOwnerAccount() {
return this.ownerAccount;
}

public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}

public String getOwnerId() {
return this.ownerId;
}

public void setOwnerId(String ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId);
}
}

public String getMaterialIds() {
return this.materialIds;
}

public void setMaterialIds(String materialIds) {
this.materialIds = materialIds;
if(materialIds != null){
putQueryParameter("MaterialIds", materialIds);
}
}

@Override
public Class<AddEditingProjectMaterialsResponse> getResponseClass() {
return AddEditingProjectMaterialsResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.vod.model.v20170321;

import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.vod.transform.v20170321.AddEditingProjectMaterialsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class AddEditingProjectMaterialsResponse extends AcsResponse {

private String requestId;

private List<Material> materialList;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public List<Material> getMaterialList() {
return this.materialList;
}

public void setMaterialList(List<Material> materialList) {
this.materialList = materialList;
}

public static class Material {

private String status;

private Integer cateId;

private String createTime;

private String materialType;

private String tags;

private String spriteConfig;

private String cateName;

private String description;

private String materialId;

private Long size;

private String coverURL;

private Float duration;

private Long customerId;

private String title;

private String modifyTime;

private List<String> sprites;

private List<String> snapshots;

public String getStatus() {
return this.status;
}

public void setStatus(String status) {
this.status = status;
}

public Integer getCateId() {
return this.cateId;
}

public void setCateId(Integer cateId) {
this.cateId = cateId;
}

public String getCreateTime() {
return this.createTime;
}

public void setCreateTime(String createTime) {
this.createTime = createTime;
}

public String getMaterialType() {
return this.materialType;
}

public void setMaterialType(String materialType) {
this.materialType = materialType;
}

public String getTags() {
return this.tags;
}

public void setTags(String tags) {
this.tags = tags;
}

public String getSpriteConfig() {
return this.spriteConfig;
}

public void setSpriteConfig(String spriteConfig) {
this.spriteConfig = spriteConfig;
}

public String getCateName() {
return this.cateName;
}

public void setCateName(String cateName) {
this.cateName = cateName;
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
}

public String getMaterialId() {
return this.materialId;
}

public void setMaterialId(String materialId) {
this.materialId = materialId;
}

public Long getSize() {
return this.size;
}

public void setSize(Long size) {
this.size = size;
}

public String getCoverURL() {
return this.coverURL;
}

public void setCoverURL(String coverURL) {
this.coverURL = coverURL;
}

public Float getDuration() {
return this.duration;
}

public void setDuration(Float duration) {
this.duration = duration;
}

public Long getCustomerId() {
return this.customerId;
}

public void setCustomerId(Long customerId) {
this.customerId = customerId;
}

public String getTitle() {
return this.title;
}

public void setTitle(String title) {
this.title = title;
}

public String getModifyTime() {
return this.modifyTime;
}

public void setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
}

public List<String> getSprites() {
return this.sprites;
}

public void setSprites(List<String> sprites) {
this.sprites = sprites;
}

public List<String> getSnapshots() {
return this.snapshots;
}

public void setSnapshots(List<String> snapshots) {
this.snapshots = snapshots;
}
}

@Override
public AddEditingProjectMaterialsResponse getInstance(UnmarshallerContext context) {
return AddEditingProjectMaterialsResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Loading

0 comments on commit 8af07a4

Please sign in to comment.