-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
21 changed files
with
1,241 additions
and
1 deletion.
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
132 changes: 132 additions & 0 deletions
132
...vod/src/main/java/com/aliyuncs/vod/model/v20170321/AddEditingProjectMaterialsRequest.java
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,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; | ||
} | ||
|
||
} |
230 changes: 230 additions & 0 deletions
230
...od/src/main/java/com/aliyuncs/vod/model/v20170321/AddEditingProjectMaterialsResponse.java
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,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; | ||
} | ||
} |
Oops, something went wrong.