index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UninstallApplicationRequest.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UninstallApplicationRequest extends RpcAcsRequest<UninstallApplicationResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private String packageName;
private Long ownerId;
private List<String> instanceIds;
public UninstallApplicationRequest() {
super("cloudphone", "2020-12-30", "UninstallApplication");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
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 getPackageName() {
return this.packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
if(packageName != null){
putQueryParameter("PackageName", packageName);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<UninstallApplicationResponse> getResponseClass() {
return UninstallApplicationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UninstallApplicationResponse.java
|
/*
* 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.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.UninstallApplicationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UninstallApplicationResponse extends AcsResponse {
private String requestId;
private List<String> taskId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getTaskId() {
return this.taskId;
}
public void setTaskId(List<String> taskId) {
this.taskId = taskId;
}
@Override
public UninstallApplicationResponse getInstance(UnmarshallerContext context) {
return UninstallApplicationResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UntagResourcesRequest.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UntagResourcesRequest extends RpcAcsRequest<UntagResourcesResponse> {
private Boolean all;
private List<String> resourceIds;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String resourceType;
private List<String> tagKeys;
public UntagResourcesRequest() {
super("cloudphone", "2020-12-30", "UntagResources");
setMethod(MethodType.POST);
}
public Boolean getAll() {
return this.all;
}
public void setAll(Boolean all) {
this.all = all;
if(all != null){
putQueryParameter("All", all.toString());
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
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 Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public List<String> getTagKeys() {
return this.tagKeys;
}
public void setTagKeys(List<String> tagKeys) {
this.tagKeys = tagKeys;
if (tagKeys != null) {
for (int i = 0; i < tagKeys.size(); i++) {
putQueryParameter("TagKey." + (i + 1) , tagKeys.get(i));
}
}
}
@Override
public Class<UntagResourcesResponse> getResponseClass() {
return UntagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UntagResourcesResponse.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.UntagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UntagResourcesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UntagResourcesResponse getInstance(UnmarshallerContext context) {
return UntagResourcesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UpdateImageAttributeRequest.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateImageAttributeRequest extends RpcAcsRequest<UpdateImageAttributeResponse> {
private Long resourceOwnerId;
private String imageId;
private String description;
private String imageName;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> addAccounts;
private List<String> removeAccounts;
public UpdateImageAttributeRequest() {
super("cloudphone", "2020-12-30", "UpdateImageAttribute");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
if(imageName != null){
putQueryParameter("ImageName", imageName);
}
}
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 Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getAddAccounts() {
return this.addAccounts;
}
public void setAddAccounts(List<String> addAccounts) {
this.addAccounts = addAccounts;
if (addAccounts != null) {
for (int i = 0; i < addAccounts.size(); i++) {
putQueryParameter("AddAccount." + (i + 1) , addAccounts.get(i));
}
}
}
public List<String> getRemoveAccounts() {
return this.removeAccounts;
}
public void setRemoveAccounts(List<String> removeAccounts) {
this.removeAccounts = removeAccounts;
if (removeAccounts != null) {
for (int i = 0; i < removeAccounts.size(); i++) {
putQueryParameter("RemoveAccount." + (i + 1) , removeAccounts.get(i));
}
}
}
@Override
public Class<UpdateImageAttributeResponse> getResponseClass() {
return UpdateImageAttributeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UpdateImageAttributeResponse.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.UpdateImageAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateImageAttributeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateImageAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateImageAttributeResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UpdateInstanceAttributeRequest.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateInstanceAttributeRequest extends RpcAcsRequest<UpdateInstanceAttributeResponse> {
private String description;
private String keyPairName;
private String resolution;
private List<Tag> tags;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String instanceId;
private String instanceName;
private String vncPassword;
public UpdateInstanceAttributeRequest() {
super("cloudphone", "2020-12-30", "UpdateInstanceAttribute");
setMethod(MethodType.POST);
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
if(keyPairName != null){
putQueryParameter("KeyPairName", keyPairName);
}
}
public String getResolution() {
return this.resolution;
}
public void setResolution(String resolution) {
this.resolution = resolution;
if(resolution != null){
putQueryParameter("Resolution", resolution);
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
}
}
}
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 Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
if(instanceName != null){
putQueryParameter("InstanceName", instanceName);
}
}
public String getVncPassword() {
return this.vncPassword;
}
public void setVncPassword(String vncPassword) {
this.vncPassword = vncPassword;
if(vncPassword != null){
putQueryParameter("VncPassword", vncPassword);
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class<UpdateInstanceAttributeResponse> getResponseClass() {
return UpdateInstanceAttributeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/UpdateInstanceAttributeResponse.java
|
/*
* 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.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.UpdateInstanceAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateInstanceAttributeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateInstanceAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateInstanceAttributeResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/CancelTaskResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.CancelTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CancelTaskResponseUnmarshaller {
public static CancelTaskResponse unmarshall(CancelTaskResponse cancelTaskResponse, UnmarshallerContext _ctx) {
cancelTaskResponse.setRequestId(_ctx.stringValue("CancelTaskResponse.RequestId"));
return cancelTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/CopyImageResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.CopyImageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CopyImageResponseUnmarshaller {
public static CopyImageResponse unmarshall(CopyImageResponse copyImageResponse, UnmarshallerContext _ctx) {
copyImageResponse.setRequestId(_ctx.stringValue("CopyImageResponse.RequestId"));
copyImageResponse.setImageId(_ctx.stringValue("CopyImageResponse.ImageId"));
return copyImageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/CreateImageResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.CreateImageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateImageResponseUnmarshaller {
public static CreateImageResponse unmarshall(CreateImageResponse createImageResponse, UnmarshallerContext _ctx) {
createImageResponse.setRequestId(_ctx.stringValue("CreateImageResponse.RequestId"));
createImageResponse.setImageId(_ctx.stringValue("CreateImageResponse.ImageId"));
return createImageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/DeleteImagesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.DeleteImagesResponse;
import com.aliyuncs.cloudphone.model.v20201230.DeleteImagesResponse.ImageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteImagesResponseUnmarshaller {
public static DeleteImagesResponse unmarshall(DeleteImagesResponse deleteImagesResponse, UnmarshallerContext _ctx) {
deleteImagesResponse.setRequestId(_ctx.stringValue("DeleteImagesResponse.RequestId"));
List<ImageResponse> imageResponses = new ArrayList<ImageResponse>();
for (int i = 0; i < _ctx.lengthValue("DeleteImagesResponse.ImageResponses.Length"); i++) {
ImageResponse imageResponse = new ImageResponse();
imageResponse.setCode(_ctx.stringValue("DeleteImagesResponse.ImageResponses["+ i +"].Code"));
imageResponse.setMessage(_ctx.stringValue("DeleteImagesResponse.ImageResponses["+ i +"].Message"));
imageResponse.setImageId(_ctx.stringValue("DeleteImagesResponse.ImageResponses["+ i +"].ImageId"));
imageResponses.add(imageResponse);
}
deleteImagesResponse.setImageResponses(imageResponses);
return deleteImagesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/DeleteInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.DeleteInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteInstancesResponseUnmarshaller {
public static DeleteInstancesResponse unmarshall(DeleteInstancesResponse deleteInstancesResponse, UnmarshallerContext _ctx) {
deleteInstancesResponse.setRequestId(_ctx.stringValue("DeleteInstancesResponse.RequestId"));
return deleteInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/DeleteKeyPairsResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.DeleteKeyPairsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteKeyPairsResponseUnmarshaller {
public static DeleteKeyPairsResponse unmarshall(DeleteKeyPairsResponse deleteKeyPairsResponse, UnmarshallerContext _ctx) {
deleteKeyPairsResponse.setRequestId(_ctx.stringValue("DeleteKeyPairsResponse.RequestId"));
return deleteKeyPairsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/FetchFileResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.FetchFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class FetchFileResponseUnmarshaller {
public static FetchFileResponse unmarshall(FetchFileResponse fetchFileResponse, UnmarshallerContext _ctx) {
fetchFileResponse.setRequestId(_ctx.stringValue("FetchFileResponse.RequestId"));
fetchFileResponse.setTaskId(_ctx.stringValue("FetchFileResponse.TaskId"));
return fetchFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ImportImageResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.ImportImageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ImportImageResponseUnmarshaller {
public static ImportImageResponse unmarshall(ImportImageResponse importImageResponse, UnmarshallerContext _ctx) {
importImageResponse.setRequestId(_ctx.stringValue("ImportImageResponse.RequestId"));
importImageResponse.setImageId(_ctx.stringValue("ImportImageResponse.ImageId"));
return importImageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ImportKeyPairResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.ImportKeyPairResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ImportKeyPairResponseUnmarshaller {
public static ImportKeyPairResponse unmarshall(ImportKeyPairResponse importKeyPairResponse, UnmarshallerContext _ctx) {
importKeyPairResponse.setRequestId(_ctx.stringValue("ImportKeyPairResponse.RequestId"));
importKeyPairResponse.setKeyPairName(_ctx.stringValue("ImportKeyPairResponse.KeyPairName"));
importKeyPairResponse.setKeyPairFingerPrint(_ctx.stringValue("ImportKeyPairResponse.KeyPairFingerPrint"));
return importKeyPairResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/InstallApplicationResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.InstallApplicationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class InstallApplicationResponseUnmarshaller {
public static InstallApplicationResponse unmarshall(InstallApplicationResponse installApplicationResponse, UnmarshallerContext _ctx) {
installApplicationResponse.setRequestId(_ctx.stringValue("InstallApplicationResponse.RequestId"));
List<String> taskId = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("InstallApplicationResponse.TaskId.Length"); i++) {
taskId.add(_ctx.stringValue("InstallApplicationResponse.TaskId["+ i +"]"));
}
installApplicationResponse.setTaskId(taskId);
return installApplicationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListImageSharePermissionResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListImageSharePermissionResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListImageSharePermissionResponse.Account;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListImageSharePermissionResponseUnmarshaller {
public static ListImageSharePermissionResponse unmarshall(ListImageSharePermissionResponse listImageSharePermissionResponse, UnmarshallerContext _ctx) {
listImageSharePermissionResponse.setRequestId(_ctx.stringValue("ListImageSharePermissionResponse.RequestId"));
List<Account> accounts = new ArrayList<Account>();
for (int i = 0; i < _ctx.lengthValue("ListImageSharePermissionResponse.Accounts.Length"); i++) {
Account account = new Account();
account.setAliyunId(_ctx.stringValue("ListImageSharePermissionResponse.Accounts["+ i +"].AliyunId"));
accounts.add(account);
}
listImageSharePermissionResponse.setAccounts(accounts);
return listImageSharePermissionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListImagesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListImagesResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListImagesResponse.Image;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListImagesResponseUnmarshaller {
public static ListImagesResponse unmarshall(ListImagesResponse listImagesResponse, UnmarshallerContext _ctx) {
listImagesResponse.setRequestId(_ctx.stringValue("ListImagesResponse.RequestId"));
listImagesResponse.setNextToken(_ctx.stringValue("ListImagesResponse.NextToken"));
listImagesResponse.setTotalCount(_ctx.integerValue("ListImagesResponse.TotalCount"));
listImagesResponse.setMaxResults(_ctx.integerValue("ListImagesResponse.MaxResults"));
listImagesResponse.setRegionId(_ctx.stringValue("ListImagesResponse.RegionId"));
List<Image> images = new ArrayList<Image>();
for (int i = 0; i < _ctx.lengthValue("ListImagesResponse.Images.Length"); i++) {
Image image = new Image();
image.setStatus(_ctx.stringValue("ListImagesResponse.Images["+ i +"].Status"));
image.setCreationTime(_ctx.stringValue("ListImagesResponse.Images["+ i +"].CreationTime"));
image.setProgress(_ctx.stringValue("ListImagesResponse.Images["+ i +"].Progress"));
image.setUsage(_ctx.stringValue("ListImagesResponse.Images["+ i +"].Usage"));
image.setIsSelfShared(_ctx.booleanValue("ListImagesResponse.Images["+ i +"].IsSelfShared"));
image.setDescription(_ctx.stringValue("ListImagesResponse.Images["+ i +"].Description"));
image.setImageName(_ctx.stringValue("ListImagesResponse.Images["+ i +"].ImageName"));
image.setOSNameEn(_ctx.stringValue("ListImagesResponse.Images["+ i +"].OSNameEn"));
image.setPlatform(_ctx.stringValue("ListImagesResponse.Images["+ i +"].Platform"));
image.setImageCategory(_ctx.stringValue("ListImagesResponse.Images["+ i +"].ImageCategory"));
image.setOSName(_ctx.stringValue("ListImagesResponse.Images["+ i +"].OSName"));
image.setImageId(_ctx.stringValue("ListImagesResponse.Images["+ i +"].ImageId"));
image.setOSType(_ctx.stringValue("ListImagesResponse.Images["+ i +"].OSType"));
images.add(image);
}
listImagesResponse.setImages(images);
return listImagesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListInstanceTypesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListInstanceTypesResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListInstanceTypesResponse.InstanceType;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListInstanceTypesResponseUnmarshaller {
public static ListInstanceTypesResponse unmarshall(ListInstanceTypesResponse listInstanceTypesResponse, UnmarshallerContext _ctx) {
listInstanceTypesResponse.setRequestId(_ctx.stringValue("ListInstanceTypesResponse.RequestId"));
List<InstanceType> instanceTypes = new ArrayList<InstanceType>();
for (int i = 0; i < _ctx.lengthValue("ListInstanceTypesResponse.InstanceTypes.Length"); i++) {
InstanceType instanceType = new InstanceType();
instanceType.setNameEn(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].NameEn"));
instanceType.setDefaultResolution(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].DefaultResolution"));
instanceType.setInstanceType(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].InstanceType"));
instanceType.setName(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].Name"));
instanceType.setInstanceTypeFamily(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].InstanceTypeFamily"));
instanceType.setCpuCoreCount(_ctx.integerValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].CpuCoreCount"));
instanceType.setMemorySize(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].MemorySize"));
List<String> resolutions = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].Resolutions.Length"); j++) {
resolutions.add(_ctx.stringValue("ListInstanceTypesResponse.InstanceTypes["+ i +"].Resolutions["+ j +"]"));
}
instanceType.setResolutions(resolutions);
instanceTypes.add(instanceType);
}
listInstanceTypesResponse.setInstanceTypes(instanceTypes);
return listInstanceTypesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListInstanceVncUrlResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.ListInstanceVncUrlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListInstanceVncUrlResponseUnmarshaller {
public static ListInstanceVncUrlResponse unmarshall(ListInstanceVncUrlResponse listInstanceVncUrlResponse, UnmarshallerContext _ctx) {
listInstanceVncUrlResponse.setRequestId(_ctx.stringValue("ListInstanceVncUrlResponse.RequestId"));
listInstanceVncUrlResponse.setVncUrl(_ctx.stringValue("ListInstanceVncUrlResponse.VncUrl"));
listInstanceVncUrlResponse.setWebRtcToken(_ctx.stringValue("ListInstanceVncUrlResponse.WebRtcToken"));
return listInstanceVncUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListInstancesResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListInstancesResponse.Instance;
import com.aliyuncs.cloudphone.model.v20201230.ListInstancesResponse.Instance.EipAddress;
import com.aliyuncs.cloudphone.model.v20201230.ListInstancesResponse.Instance.Tag;
import com.aliyuncs.cloudphone.model.v20201230.ListInstancesResponse.Instance.VpcAttributes;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListInstancesResponseUnmarshaller {
public static ListInstancesResponse unmarshall(ListInstancesResponse listInstancesResponse, UnmarshallerContext _ctx) {
listInstancesResponse.setRequestId(_ctx.stringValue("ListInstancesResponse.RequestId"));
listInstancesResponse.setNextToken(_ctx.stringValue("ListInstancesResponse.NextToken"));
listInstancesResponse.setTotalCount(_ctx.integerValue("ListInstancesResponse.TotalCount"));
listInstancesResponse.setMaxResults(_ctx.integerValue("ListInstancesResponse.MaxResults"));
List<Instance> instances = new ArrayList<Instance>();
for (int i = 0; i < _ctx.lengthValue("ListInstancesResponse.Instances.Length"); i++) {
Instance instance = new Instance();
instance.setStatus(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].Status"));
instance.setCreationTime(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].CreationTime"));
instance.setKeyPairName(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].KeyPairName"));
instance.setSecurityGroupId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].SecurityGroupId"));
instance.setAutoRenew(_ctx.booleanValue("ListInstancesResponse.Instances["+ i +"].AutoRenew"));
instance.setChargeType(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].ChargeType"));
instance.setOsName(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].OsName"));
instance.setInstanceId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].InstanceId"));
instance.setInstanceType(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].InstanceType"));
instance.setRegionId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].RegionId"));
instance.setDescription(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].Description"));
instance.setExpiredTime(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].ExpiredTime"));
instance.setInstanceName(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].InstanceName"));
instance.setZoneId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].ZoneId"));
instance.setResolution(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].Resolution"));
instance.setImageId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].ImageId"));
instance.setOsNameEn(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].OsNameEn"));
instance.setWebRtcToken(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].WebRtcToken"));
VpcAttributes vpcAttributes = new VpcAttributes();
vpcAttributes.setPrivateIpAddress(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].VpcAttributes.PrivateIpAddress"));
vpcAttributes.setVSwitchId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].VpcAttributes.VSwitchId"));
instance.setVpcAttributes(vpcAttributes);
EipAddress eipAddress = new EipAddress();
eipAddress.setInternetChargeType(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].EipAddress.InternetChargeType"));
eipAddress.setIpAddress(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].EipAddress.IpAddress"));
eipAddress.setBandwidth(_ctx.integerValue("ListInstancesResponse.Instances["+ i +"].EipAddress.Bandwidth"));
eipAddress.setAllocationId(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].EipAddress.AllocationId"));
instance.setEipAddress(eipAddress);
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.Instances["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("ListInstancesResponse.Instances["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
instance.setTags(tags);
instances.add(instance);
}
listInstancesResponse.setInstances(instances);
return listInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListKeyPairsResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListKeyPairsResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListKeyPairsResponse.KeyPair;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListKeyPairsResponseUnmarshaller {
public static ListKeyPairsResponse unmarshall(ListKeyPairsResponse listKeyPairsResponse, UnmarshallerContext _ctx) {
listKeyPairsResponse.setRequestId(_ctx.stringValue("ListKeyPairsResponse.RequestId"));
listKeyPairsResponse.setNextToken(_ctx.stringValue("ListKeyPairsResponse.NextToken"));
listKeyPairsResponse.setTotalCount(_ctx.integerValue("ListKeyPairsResponse.TotalCount"));
listKeyPairsResponse.setMaxResults(_ctx.integerValue("ListKeyPairsResponse.MaxResults"));
List<KeyPair> keyPairs = new ArrayList<KeyPair>();
for (int i = 0; i < _ctx.lengthValue("ListKeyPairsResponse.KeyPairs.Length"); i++) {
KeyPair keyPair = new KeyPair();
keyPair.setCreationTime(_ctx.stringValue("ListKeyPairsResponse.KeyPairs["+ i +"].CreationTime"));
keyPair.setKeyPairName(_ctx.stringValue("ListKeyPairsResponse.KeyPairs["+ i +"].KeyPairName"));
keyPair.setKeyPairFingerPrint(_ctx.stringValue("ListKeyPairsResponse.KeyPairs["+ i +"].KeyPairFingerPrint"));
keyPairs.add(keyPair);
}
listKeyPairsResponse.setKeyPairs(keyPairs);
return listKeyPairsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListRegionsResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListRegionsResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListRegionsResponse.Region;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRegionsResponseUnmarshaller {
public static ListRegionsResponse unmarshall(ListRegionsResponse listRegionsResponse, UnmarshallerContext _ctx) {
listRegionsResponse.setRequestId(_ctx.stringValue("ListRegionsResponse.RequestId"));
List<Region> regions = new ArrayList<Region>();
for (int i = 0; i < _ctx.lengthValue("ListRegionsResponse.Regions.Length"); i++) {
Region region = new Region();
region.setRegionEndpoint(_ctx.stringValue("ListRegionsResponse.Regions["+ i +"].RegionEndpoint"));
region.setRegionId(_ctx.stringValue("ListRegionsResponse.Regions["+ i +"].RegionId"));
regions.add(region);
}
listRegionsResponse.setRegions(regions);
return listRegionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListTagKeysResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListTagKeysResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagKeysResponseUnmarshaller {
public static ListTagKeysResponse unmarshall(ListTagKeysResponse listTagKeysResponse, UnmarshallerContext _ctx) {
listTagKeysResponse.setRequestId(_ctx.stringValue("ListTagKeysResponse.RequestId"));
listTagKeysResponse.setNextToken(_ctx.stringValue("ListTagKeysResponse.NextToken"));
listTagKeysResponse.setMaxResults(_ctx.integerValue("ListTagKeysResponse.MaxResults"));
List<String> keys = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ListTagKeysResponse.Keys.Length"); i++) {
keys.add(_ctx.stringValue("ListTagKeysResponse.Keys["+ i +"]"));
}
listTagKeysResponse.setKeys(keys);
return listTagKeysResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListTagResourcesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListTagResourcesResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListTagResourcesResponse.TagResource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagResourcesResponseUnmarshaller {
public static ListTagResourcesResponse unmarshall(ListTagResourcesResponse listTagResourcesResponse, UnmarshallerContext _ctx) {
listTagResourcesResponse.setRequestId(_ctx.stringValue("ListTagResourcesResponse.RequestId"));
listTagResourcesResponse.setNextToken(_ctx.stringValue("ListTagResourcesResponse.NextToken"));
List<TagResource> tagResources = new ArrayList<TagResource>();
for (int i = 0; i < _ctx.lengthValue("ListTagResourcesResponse.TagResources.Length"); i++) {
TagResource tagResource = new TagResource();
tagResource.setResourceType(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceType"));
tagResource.setTagValue(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagValue"));
tagResource.setResourceId(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceId"));
tagResource.setTagKey(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagKey"));
tagResources.add(tagResource);
}
listTagResourcesResponse.setTagResources(tagResources);
return listTagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListTagValuesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListTagValuesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagValuesResponseUnmarshaller {
public static ListTagValuesResponse unmarshall(ListTagValuesResponse listTagValuesResponse, UnmarshallerContext _ctx) {
listTagValuesResponse.setRequestId(_ctx.stringValue("ListTagValuesResponse.RequestId"));
listTagValuesResponse.setNextToken(_ctx.stringValue("ListTagValuesResponse.NextToken"));
listTagValuesResponse.setMaxResults(_ctx.integerValue("ListTagValuesResponse.MaxResults"));
List<String> values = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ListTagValuesResponse.Values.Length"); i++) {
values.add(_ctx.stringValue("ListTagValuesResponse.Values["+ i +"]"));
}
listTagValuesResponse.setValues(values);
return listTagValuesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListTasksResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListTasksResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListTasksResponse.Task;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTasksResponseUnmarshaller {
public static ListTasksResponse unmarshall(ListTasksResponse listTasksResponse, UnmarshallerContext _ctx) {
listTasksResponse.setRequestId(_ctx.stringValue("ListTasksResponse.RequestId"));
listTasksResponse.setNextToken(_ctx.stringValue("ListTasksResponse.NextToken"));
listTasksResponse.setTotalCount(_ctx.integerValue("ListTasksResponse.TotalCount"));
listTasksResponse.setMaxResults(_ctx.integerValue("ListTasksResponse.MaxResults"));
listTasksResponse.setRegionId(_ctx.stringValue("ListTasksResponse.RegionId"));
List<Task> tasks = new ArrayList<Task>();
for (int i = 0; i < _ctx.lengthValue("ListTasksResponse.Tasks.Length"); i++) {
Task task = new Task();
task.setTaskType(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].TaskType"));
task.setProgress(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].Progress"));
task.setTaskStatus(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].TaskStatus"));
task.setExecuteMsg(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].ExecuteMsg"));
task.setCreateTime(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].CreateTime"));
task.setFinishedTime(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].FinishedTime"));
task.setInstanceId(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].InstanceId"));
task.setTaskId(_ctx.stringValue("ListTasksResponse.Tasks["+ i +"].TaskId"));
tasks.add(task);
}
listTasksResponse.setTasks(tasks);
return listTasksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ListZonesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.ListZonesResponse;
import com.aliyuncs.cloudphone.model.v20201230.ListZonesResponse.Zone;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListZonesResponseUnmarshaller {
public static ListZonesResponse unmarshall(ListZonesResponse listZonesResponse, UnmarshallerContext _ctx) {
listZonesResponse.setRequestId(_ctx.stringValue("ListZonesResponse.RequestId"));
List<Zone> zones = new ArrayList<Zone>();
for (int i = 0; i < _ctx.lengthValue("ListZonesResponse.Zones.Length"); i++) {
Zone zone = new Zone();
zone.setZoneId(_ctx.stringValue("ListZonesResponse.Zones["+ i +"].ZoneId"));
zones.add(zone);
}
listZonesResponse.setZones(zones);
return listZonesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/RebootInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.RebootInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RebootInstancesResponseUnmarshaller {
public static RebootInstancesResponse unmarshall(RebootInstancesResponse rebootInstancesResponse, UnmarshallerContext _ctx) {
rebootInstancesResponse.setRequestId(_ctx.stringValue("RebootInstancesResponse.RequestId"));
return rebootInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/RenewInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.RenewInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RenewInstancesResponseUnmarshaller {
public static RenewInstancesResponse unmarshall(RenewInstancesResponse renewInstancesResponse, UnmarshallerContext _ctx) {
renewInstancesResponse.setRequestId(_ctx.stringValue("RenewInstancesResponse.RequestId"));
renewInstancesResponse.setOrderId(_ctx.stringValue("RenewInstancesResponse.OrderId"));
List<String> instanceIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("RenewInstancesResponse.InstanceIds.Length"); i++) {
instanceIds.add(_ctx.stringValue("RenewInstancesResponse.InstanceIds["+ i +"]"));
}
renewInstancesResponse.setInstanceIds(instanceIds);
return renewInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/ResetInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.ResetInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ResetInstancesResponseUnmarshaller {
public static ResetInstancesResponse unmarshall(ResetInstancesResponse resetInstancesResponse, UnmarshallerContext _ctx) {
resetInstancesResponse.setRequestId(_ctx.stringValue("ResetInstancesResponse.RequestId"));
return resetInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/RunCommandResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.RunCommandResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RunCommandResponseUnmarshaller {
public static RunCommandResponse unmarshall(RunCommandResponse runCommandResponse, UnmarshallerContext _ctx) {
runCommandResponse.setRequestId(_ctx.stringValue("RunCommandResponse.RequestId"));
List<String> taskId = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("RunCommandResponse.TaskId.Length"); i++) {
taskId.add(_ctx.stringValue("RunCommandResponse.TaskId["+ i +"]"));
}
runCommandResponse.setTaskId(taskId);
return runCommandResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/RunInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.RunInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RunInstancesResponseUnmarshaller {
public static RunInstancesResponse unmarshall(RunInstancesResponse runInstancesResponse, UnmarshallerContext _ctx) {
runInstancesResponse.setRequestId(_ctx.stringValue("RunInstancesResponse.RequestId"));
runInstancesResponse.setOrderId(_ctx.stringValue("RunInstancesResponse.OrderId"));
runInstancesResponse.setTradePrice(_ctx.floatValue("RunInstancesResponse.TradePrice"));
List<String> instanceIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("RunInstancesResponse.InstanceIds.Length"); i++) {
instanceIds.add(_ctx.stringValue("RunInstancesResponse.InstanceIds["+ i +"]"));
}
runInstancesResponse.setInstanceIds(instanceIds);
return runInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/SendFileResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.SendFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SendFileResponseUnmarshaller {
public static SendFileResponse unmarshall(SendFileResponse sendFileResponse, UnmarshallerContext _ctx) {
sendFileResponse.setRequestId(_ctx.stringValue("SendFileResponse.RequestId"));
List<String> taskId = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("SendFileResponse.TaskId.Length"); i++) {
taskId.add(_ctx.stringValue("SendFileResponse.TaskId["+ i +"]"));
}
sendFileResponse.setTaskId(taskId);
return sendFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/StartInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.StartInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class StartInstancesResponseUnmarshaller {
public static StartInstancesResponse unmarshall(StartInstancesResponse startInstancesResponse, UnmarshallerContext _ctx) {
startInstancesResponse.setRequestId(_ctx.stringValue("StartInstancesResponse.RequestId"));
return startInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/StopInstancesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.StopInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class StopInstancesResponseUnmarshaller {
public static StopInstancesResponse unmarshall(StopInstancesResponse stopInstancesResponse, UnmarshallerContext _ctx) {
stopInstancesResponse.setRequestId(_ctx.stringValue("StopInstancesResponse.RequestId"));
return stopInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/TagResourcesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.TagResourcesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TagResourcesResponseUnmarshaller {
public static TagResourcesResponse unmarshall(TagResourcesResponse tagResourcesResponse, UnmarshallerContext _ctx) {
tagResourcesResponse.setRequestId(_ctx.stringValue("TagResourcesResponse.RequestId"));
return tagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/UninstallApplicationResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudphone.model.v20201230.UninstallApplicationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UninstallApplicationResponseUnmarshaller {
public static UninstallApplicationResponse unmarshall(UninstallApplicationResponse uninstallApplicationResponse, UnmarshallerContext _ctx) {
uninstallApplicationResponse.setRequestId(_ctx.stringValue("UninstallApplicationResponse.RequestId"));
List<String> taskId = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("UninstallApplicationResponse.TaskId.Length"); i++) {
taskId.add(_ctx.stringValue("UninstallApplicationResponse.TaskId["+ i +"]"));
}
uninstallApplicationResponse.setTaskId(taskId);
return uninstallApplicationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/UntagResourcesResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.UntagResourcesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UntagResourcesResponseUnmarshaller {
public static UntagResourcesResponse unmarshall(UntagResourcesResponse untagResourcesResponse, UnmarshallerContext _ctx) {
untagResourcesResponse.setRequestId(_ctx.stringValue("UntagResourcesResponse.RequestId"));
return untagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/UpdateImageAttributeResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.UpdateImageAttributeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateImageAttributeResponseUnmarshaller {
public static UpdateImageAttributeResponse unmarshall(UpdateImageAttributeResponse updateImageAttributeResponse, UnmarshallerContext _ctx) {
updateImageAttributeResponse.setRequestId(_ctx.stringValue("UpdateImageAttributeResponse.RequestId"));
return updateImageAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/transform/v20201230/UpdateInstanceAttributeResponseUnmarshaller.java
|
/*
* 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.cloudphone.transform.v20201230;
import com.aliyuncs.cloudphone.model.v20201230.UpdateInstanceAttributeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateInstanceAttributeResponseUnmarshaller {
public static UpdateInstanceAttributeResponse unmarshall(UpdateInstanceAttributeResponse updateInstanceAttributeResponse, UnmarshallerContext _ctx) {
updateInstanceAttributeResponse.setRequestId(_ctx.stringValue("UpdateInstanceAttributeResponse.RequestId"));
return updateInstanceAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/ActivatePhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class ActivatePhotosRequest extends RpcAcsRequest<ActivatePhotosResponse> {
public ActivatePhotosRequest() {
super("CloudPhoto", "2017-07-11", "ActivatePhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private List<Long> photoIds;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<ActivatePhotosResponse> getResponseClass() {
return ActivatePhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/ActivatePhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.ActivatePhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ActivatePhotosResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long id;
private String idStr;
private String code;
private String message;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public ActivatePhotosResponse getInstance(UnmarshallerContext context) {
return ActivatePhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/AddAlbumPhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class AddAlbumPhotosRequest extends RpcAcsRequest<AddAlbumPhotosResponse> {
public AddAlbumPhotosRequest() {
super("CloudPhoto", "2017-07-11", "AddAlbumPhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private Long albumId;
private List<Long> photoIds;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public Long getAlbumId() {
return this.albumId;
}
public void setAlbumId(Long albumId) {
this.albumId = albumId;
if(albumId != null){
putQueryParameter("AlbumId", albumId.toString());
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<AddAlbumPhotosResponse> getResponseClass() {
return AddAlbumPhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/AddAlbumPhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.AddAlbumPhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddAlbumPhotosResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long id;
private String idStr;
private String code;
private String message;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public AddAlbumPhotosResponse getInstance(UnmarshallerContext context) {
return AddAlbumPhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreateAlbumRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class CreateAlbumRequest extends RpcAcsRequest<CreateAlbumResponse> {
public CreateAlbumRequest() {
super("CloudPhoto", "2017-07-11", "CreateAlbum", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String albumName;
private String libraryId;
private String storeName;
private String remark;
public String getAlbumName() {
return this.albumName;
}
public void setAlbumName(String albumName) {
this.albumName = albumName;
if(albumName != null){
putQueryParameter("AlbumName", albumName);
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
@Override
public Class<CreateAlbumResponse> getResponseClass() {
return CreateAlbumResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreateAlbumResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.CreateAlbumResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateAlbumResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Album album;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Album getAlbum() {
return this.album;
}
public void setAlbum(Album album) {
this.album = album;
}
public static class Album {
private Long id;
private String idStr;
private String name;
private String state;
private String remark;
private Long photosCount;
private Long ctime;
private Long mtime;
private Cover cover;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getPhotosCount() {
return this.photosCount;
}
public void setPhotosCount(Long photosCount) {
this.photosCount = photosCount;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Cover getCover() {
return this.cover;
}
public void setCover(Cover cover) {
this.cover = cover;
}
public static class Cover {
private Long id;
private String idStr;
private String title;
private String fileId;
private String state;
private String md5;
private Boolean isVideo;
private Long width;
private Long height;
private Long ctime;
private Long mtime;
private String remark;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
}
@Override
public CreateAlbumResponse getInstance(UnmarshallerContext context) {
return CreateAlbumResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreateEventRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class CreateEventRequest extends RpcAcsRequest<CreateEventResponse> {
public CreateEventRequest() {
super("CloudPhoto", "2017-07-11", "CreateEvent", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String bannerPhotoId;
private String watermarkPhotoId;
private String identity;
private String splashPhotoId;
private String libraryId;
private String weixinTitle;
private String storeName;
private String remark;
private String title;
private Long endAt;
private Long startAt;
public String getBannerPhotoId() {
return this.bannerPhotoId;
}
public void setBannerPhotoId(String bannerPhotoId) {
this.bannerPhotoId = bannerPhotoId;
if(bannerPhotoId != null){
putQueryParameter("BannerPhotoId", bannerPhotoId);
}
}
public String getWatermarkPhotoId() {
return this.watermarkPhotoId;
}
public void setWatermarkPhotoId(String watermarkPhotoId) {
this.watermarkPhotoId = watermarkPhotoId;
if(watermarkPhotoId != null){
putQueryParameter("WatermarkPhotoId", watermarkPhotoId);
}
}
public String getIdentity() {
return this.identity;
}
public void setIdentity(String identity) {
this.identity = identity;
if(identity != null){
putQueryParameter("Identity", identity);
}
}
public String getSplashPhotoId() {
return this.splashPhotoId;
}
public void setSplashPhotoId(String splashPhotoId) {
this.splashPhotoId = splashPhotoId;
if(splashPhotoId != null){
putQueryParameter("SplashPhotoId", splashPhotoId);
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getWeixinTitle() {
return this.weixinTitle;
}
public void setWeixinTitle(String weixinTitle) {
this.weixinTitle = weixinTitle;
if(weixinTitle != null){
putQueryParameter("WeixinTitle", weixinTitle);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public Long getEndAt() {
return this.endAt;
}
public void setEndAt(Long endAt) {
this.endAt = endAt;
if(endAt != null){
putQueryParameter("EndAt", endAt.toString());
}
}
public Long getStartAt() {
return this.startAt;
}
public void setStartAt(Long startAt) {
this.startAt = startAt;
if(startAt != null){
putQueryParameter("StartAt", startAt.toString());
}
}
@Override
public Class<CreateEventResponse> getResponseClass() {
return CreateEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreateEventResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.CreateEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateEventResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Event event;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Event getEvent() {
return this.event;
}
public void setEvent(Event event) {
this.event = event;
}
public static class Event {
private Long id;
private String idStr;
private String title;
private String bannerPhotoId;
private String identity;
private String splashPhotoId;
private String state;
private String weixinTitle;
private String watermarkPhotoId;
private Long startAt;
private Long endAt;
private Long ctime;
private Long mtime;
private Long viewsCount;
private String libraryId;
private String idStr1;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBannerPhotoId() {
return this.bannerPhotoId;
}
public void setBannerPhotoId(String bannerPhotoId) {
this.bannerPhotoId = bannerPhotoId;
}
public String getIdentity() {
return this.identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
public String getSplashPhotoId() {
return this.splashPhotoId;
}
public void setSplashPhotoId(String splashPhotoId) {
this.splashPhotoId = splashPhotoId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getWeixinTitle() {
return this.weixinTitle;
}
public void setWeixinTitle(String weixinTitle) {
this.weixinTitle = weixinTitle;
}
public String getWatermarkPhotoId() {
return this.watermarkPhotoId;
}
public void setWatermarkPhotoId(String watermarkPhotoId) {
this.watermarkPhotoId = watermarkPhotoId;
}
public Long getStartAt() {
return this.startAt;
}
public void setStartAt(Long startAt) {
this.startAt = startAt;
}
public Long getEndAt() {
return this.endAt;
}
public void setEndAt(Long endAt) {
this.endAt = endAt;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getViewsCount() {
return this.viewsCount;
}
public void setViewsCount(Long viewsCount) {
this.viewsCount = viewsCount;
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
}
public String getIdStr1() {
return this.idStr1;
}
public void setIdStr1(String idStr1) {
this.idStr1 = idStr1;
}
}
@Override
public CreateEventResponse getInstance(UnmarshallerContext context) {
return CreateEventResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreatePhotoRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class CreatePhotoRequest extends RpcAcsRequest<CreatePhotoResponse> {
public CreatePhotoRequest() {
super("CloudPhoto", "2017-07-11", "CreatePhoto", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Long takenAt;
private String photoTitle;
private String libraryId;
private Long shareExpireTime;
private String storeName;
private String uploadType;
private String remark;
private String sessionId;
private String staging;
private String fileId;
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
if(takenAt != null){
putQueryParameter("TakenAt", takenAt.toString());
}
}
public String getPhotoTitle() {
return this.photoTitle;
}
public void setPhotoTitle(String photoTitle) {
this.photoTitle = photoTitle;
if(photoTitle != null){
putQueryParameter("PhotoTitle", photoTitle);
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
if(shareExpireTime != null){
putQueryParameter("ShareExpireTime", shareExpireTime.toString());
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getUploadType() {
return this.uploadType;
}
public void setUploadType(String uploadType) {
this.uploadType = uploadType;
if(uploadType != null){
putQueryParameter("UploadType", uploadType);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public String getStaging() {
return this.staging;
}
public void setStaging(String staging) {
this.staging = staging;
if(staging != null){
putQueryParameter("Staging", staging);
}
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
if(fileId != null){
putQueryParameter("FileId", fileId);
}
}
@Override
public Class<CreatePhotoResponse> getResponseClass() {
return CreatePhotoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreatePhotoResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.CreatePhotoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreatePhotoResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Photo photo;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Photo getPhoto() {
return this.photo;
}
public void setPhoto(Photo photo) {
this.photo = photo;
}
public static class Photo {
private Long id;
private String idStr;
private String title;
private String fileId;
private String location;
private String state;
private String md5;
private Boolean isVideo;
private Long size;
private String remark;
private Long width;
private Long height;
private Long ctime;
private Long mtime;
private Long takenAt;
private Long shareExpireTime;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getLocation() {
return this.location;
}
public void setLocation(String location) {
this.location = location;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
}
}
@Override
public CreatePhotoResponse getInstance(UnmarshallerContext context) {
return CreatePhotoResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreatePhotoStoreRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class CreatePhotoStoreRequest extends RpcAcsRequest<CreatePhotoStoreResponse> {
public CreatePhotoStoreRequest() {
super("CloudPhoto", "2017-07-11", "CreatePhotoStore", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String bucketName;
private String storeName;
private String remark;
private Long defaultQuota;
public String getBucketName() {
return this.bucketName;
}
public void setBucketName(String bucketName) {
this.bucketName = bucketName;
if(bucketName != null){
putQueryParameter("BucketName", bucketName);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public Long getDefaultQuota() {
return this.defaultQuota;
}
public void setDefaultQuota(Long defaultQuota) {
this.defaultQuota = defaultQuota;
if(defaultQuota != null){
putQueryParameter("DefaultQuota", defaultQuota.toString());
}
}
@Override
public Class<CreatePhotoStoreResponse> getResponseClass() {
return CreatePhotoStoreResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreatePhotoStoreResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.CreatePhotoStoreResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreatePhotoStoreResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
@Override
public CreatePhotoStoreResponse getInstance(UnmarshallerContext context) {
return CreatePhotoStoreResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreateTransactionRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class CreateTransactionRequest extends RpcAcsRequest<CreateTransactionResponse> {
public CreateTransactionRequest() {
super("CloudPhoto", "2017-07-11", "CreateTransaction", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String ext;
private Long size;
private String libraryId;
private String storeName;
private String force;
private String md5;
public String getExt() {
return this.ext;
}
public void setExt(String ext) {
this.ext = ext;
if(ext != null){
putQueryParameter("Ext", ext);
}
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
if(size != null){
putQueryParameter("Size", size.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getForce() {
return this.force;
}
public void setForce(String force) {
this.force = force;
if(force != null){
putQueryParameter("Force", force);
}
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
if(md5 != null){
putQueryParameter("Md5", md5);
}
}
@Override
public Class<CreateTransactionResponse> getResponseClass() {
return CreateTransactionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/CreateTransactionResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.CreateTransactionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateTransactionResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Transaction transaction;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Transaction getTransaction() {
return this.transaction;
}
public void setTransaction(Transaction transaction) {
this.transaction = transaction;
}
public static class Transaction {
private Upload upload;
public Upload getUpload() {
return this.upload;
}
public void setUpload(Upload upload) {
this.upload = upload;
}
public static class Upload {
private String bucket;
private String fileId;
private String ossEndpoint;
private String objectKey;
private String sessionId;
private String accessKeyId;
private String accessKeySecret;
private String stsToken;
public String getBucket() {
return this.bucket;
}
public void setBucket(String bucket) {
this.bucket = bucket;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getOssEndpoint() {
return this.ossEndpoint;
}
public void setOssEndpoint(String ossEndpoint) {
this.ossEndpoint = ossEndpoint;
}
public String getObjectKey() {
return this.objectKey;
}
public void setObjectKey(String objectKey) {
this.objectKey = objectKey;
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public void setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
}
public String getAccessKeySecret() {
return this.accessKeySecret;
}
public void setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
}
public String getStsToken() {
return this.stsToken;
}
public void setStsToken(String stsToken) {
this.stsToken = stsToken;
}
}
}
@Override
public CreateTransactionResponse getInstance(UnmarshallerContext context) {
return CreateTransactionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeleteAlbumsRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class DeleteAlbumsRequest extends RpcAcsRequest<DeleteAlbumsResponse> {
public DeleteAlbumsRequest() {
super("CloudPhoto", "2017-07-11", "DeleteAlbums", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private List<Long> albumIds;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<Long> getAlbumIds() {
return this.albumIds;
}
public void setAlbumIds(List<Long> albumIds) {
this.albumIds = albumIds;
if (albumIds != null) {
for (int i = 0; i < albumIds.size(); i++) {
putQueryParameter("AlbumId." + (i + 1) , albumIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<DeleteAlbumsResponse> getResponseClass() {
return DeleteAlbumsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeleteAlbumsResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.DeleteAlbumsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteAlbumsResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long id;
private String idStr;
private String code;
private String message;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public DeleteAlbumsResponse getInstance(UnmarshallerContext context) {
return DeleteAlbumsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeleteEventRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class DeleteEventRequest extends RpcAcsRequest<DeleteEventResponse> {
public DeleteEventRequest() {
super("CloudPhoto", "2017-07-11", "DeleteEvent", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Long eventId;
private String libraryId;
private String storeName;
public Long getEventId() {
return this.eventId;
}
public void setEventId(Long eventId) {
this.eventId = eventId;
if(eventId != null){
putQueryParameter("EventId", eventId.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<DeleteEventResponse> getResponseClass() {
return DeleteEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeleteEventResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.DeleteEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteEventResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
@Override
public DeleteEventResponse getInstance(UnmarshallerContext context) {
return DeleteEventResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeleteFacesRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class DeleteFacesRequest extends RpcAcsRequest<DeleteFacesResponse> {
public DeleteFacesRequest() {
super("CloudPhoto", "2017-07-11", "DeleteFaces", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private String storeName;
private List<Long> faceIds;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public List<Long> getFaceIds() {
return this.faceIds;
}
public void setFaceIds(List<Long> faceIds) {
this.faceIds = faceIds;
if (faceIds != null) {
for (int i = 0; i < faceIds.size(); i++) {
putQueryParameter("FaceId." + (i + 1) , faceIds.get(i));
}
}
}
@Override
public Class<DeleteFacesResponse> getResponseClass() {
return DeleteFacesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeleteFacesResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.DeleteFacesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteFacesResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long id;
private String idStr;
private String code;
private String message;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public DeleteFacesResponse getInstance(UnmarshallerContext context) {
return DeleteFacesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeletePhotoStoreRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class DeletePhotoStoreRequest extends RpcAcsRequest<DeletePhotoStoreResponse> {
public DeletePhotoStoreRequest() {
super("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String storeName;
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<DeletePhotoStoreResponse> getResponseClass() {
return DeletePhotoStoreResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeletePhotoStoreResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.DeletePhotoStoreResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeletePhotoStoreResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
@Override
public DeletePhotoStoreResponse getInstance(UnmarshallerContext context) {
return DeletePhotoStoreResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeletePhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class DeletePhotosRequest extends RpcAcsRequest<DeletePhotosResponse> {
public DeletePhotosRequest() {
super("CloudPhoto", "2017-07-11", "DeletePhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private String storeName;
private List<Long> photoIds;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
@Override
public Class<DeletePhotosResponse> getResponseClass() {
return DeletePhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/DeletePhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.DeletePhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeletePhotosResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long id;
private String idStr;
private String code;
private String message;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public DeletePhotosResponse getInstance(UnmarshallerContext context) {
return DeletePhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/EditEventRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class EditEventRequest extends RpcAcsRequest<EditEventResponse> {
public EditEventRequest() {
super("CloudPhoto", "2017-07-11", "EditEvent", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String eventId;
private String bannerPhotoId;
private String watermarkPhotoId;
private String identity;
private String splashPhotoId;
private String libraryId;
private String weixinTitle;
private String storeName;
private String remark;
private String title;
private Long endAt;
private Long startAt;
public String getEventId() {
return this.eventId;
}
public void setEventId(String eventId) {
this.eventId = eventId;
if(eventId != null){
putQueryParameter("EventId", eventId);
}
}
public String getBannerPhotoId() {
return this.bannerPhotoId;
}
public void setBannerPhotoId(String bannerPhotoId) {
this.bannerPhotoId = bannerPhotoId;
if(bannerPhotoId != null){
putQueryParameter("BannerPhotoId", bannerPhotoId);
}
}
public String getWatermarkPhotoId() {
return this.watermarkPhotoId;
}
public void setWatermarkPhotoId(String watermarkPhotoId) {
this.watermarkPhotoId = watermarkPhotoId;
if(watermarkPhotoId != null){
putQueryParameter("WatermarkPhotoId", watermarkPhotoId);
}
}
public String getIdentity() {
return this.identity;
}
public void setIdentity(String identity) {
this.identity = identity;
if(identity != null){
putQueryParameter("Identity", identity);
}
}
public String getSplashPhotoId() {
return this.splashPhotoId;
}
public void setSplashPhotoId(String splashPhotoId) {
this.splashPhotoId = splashPhotoId;
if(splashPhotoId != null){
putQueryParameter("SplashPhotoId", splashPhotoId);
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getWeixinTitle() {
return this.weixinTitle;
}
public void setWeixinTitle(String weixinTitle) {
this.weixinTitle = weixinTitle;
if(weixinTitle != null){
putQueryParameter("WeixinTitle", weixinTitle);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public Long getEndAt() {
return this.endAt;
}
public void setEndAt(Long endAt) {
this.endAt = endAt;
if(endAt != null){
putQueryParameter("EndAt", endAt.toString());
}
}
public Long getStartAt() {
return this.startAt;
}
public void setStartAt(Long startAt) {
this.startAt = startAt;
if(startAt != null){
putQueryParameter("StartAt", startAt.toString());
}
}
@Override
public Class<EditEventResponse> getResponseClass() {
return EditEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/EditEventResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.EditEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EditEventResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Event event;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Event getEvent() {
return this.event;
}
public void setEvent(Event event) {
this.event = event;
}
public static class Event {
private Long id;
private String idStr;
private String title;
private String bannerPhotoId;
private String identity;
private String splashPhotoId;
private String state;
private String weixinTitle;
private String watermarkPhotoId;
private Long startAt;
private Long endAt;
private Long ctime;
private Long mtime;
private Long viewsCount;
private String libraryId;
private String idStr1;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBannerPhotoId() {
return this.bannerPhotoId;
}
public void setBannerPhotoId(String bannerPhotoId) {
this.bannerPhotoId = bannerPhotoId;
}
public String getIdentity() {
return this.identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
public String getSplashPhotoId() {
return this.splashPhotoId;
}
public void setSplashPhotoId(String splashPhotoId) {
this.splashPhotoId = splashPhotoId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getWeixinTitle() {
return this.weixinTitle;
}
public void setWeixinTitle(String weixinTitle) {
this.weixinTitle = weixinTitle;
}
public String getWatermarkPhotoId() {
return this.watermarkPhotoId;
}
public void setWatermarkPhotoId(String watermarkPhotoId) {
this.watermarkPhotoId = watermarkPhotoId;
}
public Long getStartAt() {
return this.startAt;
}
public void setStartAt(Long startAt) {
this.startAt = startAt;
}
public Long getEndAt() {
return this.endAt;
}
public void setEndAt(Long endAt) {
this.endAt = endAt;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getViewsCount() {
return this.viewsCount;
}
public void setViewsCount(Long viewsCount) {
this.viewsCount = viewsCount;
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
}
public String getIdStr1() {
return this.idStr1;
}
public void setIdStr1(String idStr1) {
this.idStr1 = idStr1;
}
}
@Override
public EditEventResponse getInstance(UnmarshallerContext context) {
return EditEventResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/EditPhotoStoreRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class EditPhotoStoreRequest extends RpcAcsRequest<EditPhotoStoreResponse> {
public EditPhotoStoreRequest() {
super("CloudPhoto", "2017-07-11", "EditPhotoStore", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String autoCleanEnabled;
private Long defaultTrashQuota;
private String storeName;
private String remark;
private Long defaultQuota;
private Integer autoCleanDays;
public String getAutoCleanEnabled() {
return this.autoCleanEnabled;
}
public void setAutoCleanEnabled(String autoCleanEnabled) {
this.autoCleanEnabled = autoCleanEnabled;
if(autoCleanEnabled != null){
putQueryParameter("AutoCleanEnabled", autoCleanEnabled);
}
}
public Long getDefaultTrashQuota() {
return this.defaultTrashQuota;
}
public void setDefaultTrashQuota(Long defaultTrashQuota) {
this.defaultTrashQuota = defaultTrashQuota;
if(defaultTrashQuota != null){
putQueryParameter("DefaultTrashQuota", defaultTrashQuota.toString());
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public Long getDefaultQuota() {
return this.defaultQuota;
}
public void setDefaultQuota(Long defaultQuota) {
this.defaultQuota = defaultQuota;
if(defaultQuota != null){
putQueryParameter("DefaultQuota", defaultQuota.toString());
}
}
public Integer getAutoCleanDays() {
return this.autoCleanDays;
}
public void setAutoCleanDays(Integer autoCleanDays) {
this.autoCleanDays = autoCleanDays;
if(autoCleanDays != null){
putQueryParameter("AutoCleanDays", autoCleanDays.toString());
}
}
@Override
public Class<EditPhotoStoreResponse> getResponseClass() {
return EditPhotoStoreResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/EditPhotoStoreResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.EditPhotoStoreResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EditPhotoStoreResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
@Override
public EditPhotoStoreResponse getInstance(UnmarshallerContext context) {
return EditPhotoStoreResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/EditPhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class EditPhotosRequest extends RpcAcsRequest<EditPhotosResponse> {
public EditPhotosRequest() {
super("CloudPhoto", "2017-07-11", "EditPhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Long takenAt;
private String libraryId;
private Long shareExpireTime;
private List<Long> photoIds;
private String storeName;
private String remark;
private String title;
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
if(takenAt != null){
putQueryParameter("TakenAt", takenAt.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
if(shareExpireTime != null){
putQueryParameter("ShareExpireTime", shareExpireTime.toString());
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
@Override
public Class<EditPhotosResponse> getResponseClass() {
return EditPhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/EditPhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.EditPhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EditPhotosResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long id;
private String idStr;
private String code;
private String message;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
}
@Override
public EditPhotosResponse getInstance(UnmarshallerContext context) {
return EditPhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchAlbumTagPhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class FetchAlbumTagPhotosRequest extends RpcAcsRequest<FetchAlbumTagPhotosResponse> {
public FetchAlbumTagPhotosRequest() {
super("CloudPhoto", "2017-07-11", "FetchAlbumTagPhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Integer size;
private Long tagId;
private String libraryId;
private Long albumId;
private String storeName;
private Integer page;
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
if(size != null){
putQueryParameter("Size", size.toString());
}
}
public Long getTagId() {
return this.tagId;
}
public void setTagId(Long tagId) {
this.tagId = tagId;
if(tagId != null){
putQueryParameter("TagId", tagId.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public Long getAlbumId() {
return this.albumId;
}
public void setAlbumId(Long albumId) {
this.albumId = albumId;
if(albumId != null){
putQueryParameter("AlbumId", albumId.toString());
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
@Override
public Class<FetchAlbumTagPhotosResponse> getResponseClass() {
return FetchAlbumTagPhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchAlbumTagPhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.FetchAlbumTagPhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FetchAlbumTagPhotosResponse extends AcsResponse {
private String code;
private String message;
private Integer totalCount;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private Long photoId;
private String photoIdStr;
private Long mtime;
private String state;
public Long getPhotoId() {
return this.photoId;
}
public void setPhotoId(Long photoId) {
this.photoId = photoId;
}
public String getPhotoIdStr() {
return this.photoIdStr;
}
public void setPhotoIdStr(String photoIdStr) {
this.photoIdStr = photoIdStr;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
}
@Override
public FetchAlbumTagPhotosResponse getInstance(UnmarshallerContext context) {
return FetchAlbumTagPhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchLibrariesRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class FetchLibrariesRequest extends RpcAcsRequest<FetchLibrariesResponse> {
public FetchLibrariesRequest() {
super("CloudPhoto", "2017-07-11", "FetchLibraries", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Integer size;
private String storeName;
private Integer page;
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
if(size != null){
putQueryParameter("Size", size.toString());
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
@Override
public Class<FetchLibrariesResponse> getResponseClass() {
return FetchLibrariesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchLibrariesResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.FetchLibrariesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FetchLibrariesResponse extends AcsResponse {
private String code;
private String message;
private Integer totalCount;
private String requestId;
private String action;
private List<Library> libraries;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Library> getLibraries() {
return this.libraries;
}
public void setLibraries(List<Library> libraries) {
this.libraries = libraries;
}
public static class Library {
private String libraryId;
private Long ctime;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
}
@Override
public FetchLibrariesResponse getInstance(UnmarshallerContext context) {
return FetchLibrariesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchMomentPhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class FetchMomentPhotosRequest extends RpcAcsRequest<FetchMomentPhotosResponse> {
public FetchMomentPhotosRequest() {
super("CloudPhoto", "2017-07-11", "FetchMomentPhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Integer size;
private String libraryId;
private String orderBy;
private String storeName;
private Integer page;
private Long momentId;
private String order;
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
if(size != null){
putQueryParameter("Size", size.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getOrderBy() {
return this.orderBy;
}
public void setOrderBy(String orderBy) {
this.orderBy = orderBy;
if(orderBy != null){
putQueryParameter("OrderBy", orderBy);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
public Long getMomentId() {
return this.momentId;
}
public void setMomentId(Long momentId) {
this.momentId = momentId;
if(momentId != null){
putQueryParameter("MomentId", momentId.toString());
}
}
public String getOrder() {
return this.order;
}
public void setOrder(String order) {
this.order = order;
if(order != null){
putQueryParameter("Order", order);
}
}
@Override
public Class<FetchMomentPhotosResponse> getResponseClass() {
return FetchMomentPhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchMomentPhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.FetchMomentPhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FetchMomentPhotosResponse extends AcsResponse {
private String code;
private String message;
private Integer totalCount;
private String requestId;
private String action;
private List<Photo> photos;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Photo> getPhotos() {
return this.photos;
}
public void setPhotos(List<Photo> photos) {
this.photos = photos;
}
public static class Photo {
private Long id;
private String idStr;
private String title;
private String fileId;
private String location;
private String state;
private String md5;
private Boolean isVideo;
private String remark;
private Long size;
private Long width;
private Long height;
private Long ctime;
private Long mtime;
private Long takenAt;
private Long inactiveTime;
private Long shareExpireTime;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getLocation() {
return this.location;
}
public void setLocation(String location) {
this.location = location;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
}
public Long getInactiveTime() {
return this.inactiveTime;
}
public void setInactiveTime(Long inactiveTime) {
this.inactiveTime = inactiveTime;
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
}
}
@Override
public FetchMomentPhotosResponse getInstance(UnmarshallerContext context) {
return FetchMomentPhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchPhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class FetchPhotosRequest extends RpcAcsRequest<FetchPhotosResponse> {
public FetchPhotosRequest() {
super("CloudPhoto", "2017-07-11", "FetchPhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Integer size;
private String libraryId;
private String orderBy;
private String storeName;
private String state;
private Integer page;
private String order;
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
if(size != null){
putQueryParameter("Size", size.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getOrderBy() {
return this.orderBy;
}
public void setOrderBy(String orderBy) {
this.orderBy = orderBy;
if(orderBy != null){
putQueryParameter("OrderBy", orderBy);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
if(state != null){
putQueryParameter("State", state);
}
}
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
public String getOrder() {
return this.order;
}
public void setOrder(String order) {
this.order = order;
if(order != null){
putQueryParameter("Order", order);
}
}
@Override
public Class<FetchPhotosResponse> getResponseClass() {
return FetchPhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/FetchPhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.FetchPhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FetchPhotosResponse extends AcsResponse {
private String code;
private String message;
private Integer totalCount;
private String requestId;
private String action;
private List<Photo> photos;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Photo> getPhotos() {
return this.photos;
}
public void setPhotos(List<Photo> photos) {
this.photos = photos;
}
public static class Photo {
private Long id;
private String idStr;
private String title;
private String fileId;
private String location;
private String state;
private String md5;
private Boolean isVideo;
private String remark;
private Long size;
private Long width;
private Long height;
private Long ctime;
private Long mtime;
private Long takenAt;
private Long inactiveTime;
private Long shareExpireTime;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getLocation() {
return this.location;
}
public void setLocation(String location) {
this.location = location;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
}
public Long getInactiveTime() {
return this.inactiveTime;
}
public void setInactiveTime(Long inactiveTime) {
this.inactiveTime = inactiveTime;
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
}
}
@Override
public FetchPhotosResponse getInstance(UnmarshallerContext context) {
return FetchPhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetAlbumsByNamesRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetAlbumsByNamesRequest extends RpcAcsRequest<GetAlbumsByNamesResponse> {
public GetAlbumsByNamesRequest() {
super("CloudPhoto", "2017-07-11", "GetAlbumsByNames", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private List<String> names;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<String> getNames() {
return this.names;
}
public void setNames(List<String> names) {
this.names = names;
if (names != null) {
for (int i = 0; i < names.size(); i++) {
putQueryParameter("Name." + (i + 1) , names.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetAlbumsByNamesResponse> getResponseClass() {
return GetAlbumsByNamesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetAlbumsByNamesResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetAlbumsByNamesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetAlbumsByNamesResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Album> albums;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Album> getAlbums() {
return this.albums;
}
public void setAlbums(List<Album> albums) {
this.albums = albums;
}
public static class Album {
private Long id;
private String idStr;
private String name;
private String state;
private Long photosCount;
private Long ctime;
private Long mtime;
private Cover cover;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public Long getPhotosCount() {
return this.photosCount;
}
public void setPhotosCount(Long photosCount) {
this.photosCount = photosCount;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Cover getCover() {
return this.cover;
}
public void setCover(Cover cover) {
this.cover = cover;
}
public static class Cover {
private Long id;
private String idStr;
private String title;
private String fileId;
private String state;
private String md5;
private Boolean isVideo;
private String remark;
private Long width;
private Long height;
private Long ctime;
private Long mtime;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
}
}
@Override
public GetAlbumsByNamesResponse getInstance(UnmarshallerContext context) {
return GetAlbumsByNamesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetDownloadUrlRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetDownloadUrlRequest extends RpcAcsRequest<GetDownloadUrlResponse> {
public GetDownloadUrlRequest() {
super("CloudPhoto", "2017-07-11", "GetDownloadUrl", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private Long photoId;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public Long getPhotoId() {
return this.photoId;
}
public void setPhotoId(Long photoId) {
this.photoId = photoId;
if(photoId != null){
putQueryParameter("PhotoId", photoId.toString());
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetDownloadUrlResponse> getResponseClass() {
return GetDownloadUrlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetDownloadUrlResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetDownloadUrlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetDownloadUrlResponse extends AcsResponse {
private String code;
private String message;
private String downloadUrl;
private String requestId;
private String action;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getDownloadUrl() {
return this.downloadUrl;
}
public void setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
@Override
public GetDownloadUrlResponse getInstance(UnmarshallerContext context) {
return GetDownloadUrlResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetDownloadUrlsRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetDownloadUrlsRequest extends RpcAcsRequest<GetDownloadUrlsResponse> {
public GetDownloadUrlsRequest() {
super("CloudPhoto", "2017-07-11", "GetDownloadUrls", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private List<Long> photoIds;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetDownloadUrlsResponse> getResponseClass() {
return GetDownloadUrlsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetDownloadUrlsResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetDownloadUrlsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetDownloadUrlsResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private String code;
private String message;
private Long photoId;
private String photoIdStr;
private String downloadUrl;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Long getPhotoId() {
return this.photoId;
}
public void setPhotoId(Long photoId) {
this.photoId = photoId;
}
public String getPhotoIdStr() {
return this.photoIdStr;
}
public void setPhotoIdStr(String photoIdStr) {
this.photoIdStr = photoIdStr;
}
public String getDownloadUrl() {
return this.downloadUrl;
}
public void setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
}
}
@Override
public GetDownloadUrlsResponse getInstance(UnmarshallerContext context) {
return GetDownloadUrlsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetEventRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetEventRequest extends RpcAcsRequest<GetEventResponse> {
public GetEventRequest() {
super("CloudPhoto", "2017-07-11", "GetEvent", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private Long eventId;
private String libraryId;
private String storeName;
public Long getEventId() {
return this.eventId;
}
public void setEventId(Long eventId) {
this.eventId = eventId;
if(eventId != null){
putQueryParameter("EventId", eventId.toString());
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetEventResponse> getResponseClass() {
return GetEventResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetEventResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetEventResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Event event;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Event getEvent() {
return this.event;
}
public void setEvent(Event event) {
this.event = event;
}
public static class Event {
private Long id;
private String idStr;
private String title;
private String bannerPhotoId;
private String identity;
private String splashPhotoId;
private String state;
private String weixinTitle;
private String watermarkPhotoId;
private Long startAt;
private Long endAt;
private Long ctime;
private Long mtime;
private Long viewsCount;
private String libraryId;
private String idStr1;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBannerPhotoId() {
return this.bannerPhotoId;
}
public void setBannerPhotoId(String bannerPhotoId) {
this.bannerPhotoId = bannerPhotoId;
}
public String getIdentity() {
return this.identity;
}
public void setIdentity(String identity) {
this.identity = identity;
}
public String getSplashPhotoId() {
return this.splashPhotoId;
}
public void setSplashPhotoId(String splashPhotoId) {
this.splashPhotoId = splashPhotoId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getWeixinTitle() {
return this.weixinTitle;
}
public void setWeixinTitle(String weixinTitle) {
this.weixinTitle = weixinTitle;
}
public String getWatermarkPhotoId() {
return this.watermarkPhotoId;
}
public void setWatermarkPhotoId(String watermarkPhotoId) {
this.watermarkPhotoId = watermarkPhotoId;
}
public Long getStartAt() {
return this.startAt;
}
public void setStartAt(Long startAt) {
this.startAt = startAt;
}
public Long getEndAt() {
return this.endAt;
}
public void setEndAt(Long endAt) {
this.endAt = endAt;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getViewsCount() {
return this.viewsCount;
}
public void setViewsCount(Long viewsCount) {
this.viewsCount = viewsCount;
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
}
public String getIdStr1() {
return this.idStr1;
}
public void setIdStr1(String idStr1) {
this.idStr1 = idStr1;
}
}
@Override
public GetEventResponse getInstance(UnmarshallerContext context) {
return GetEventResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetFramedPhotoUrlsRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetFramedPhotoUrlsRequest extends RpcAcsRequest<GetFramedPhotoUrlsResponse> {
public GetFramedPhotoUrlsRequest() {
super("CloudPhoto", "2017-07-11", "GetFramedPhotoUrls", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String frameId;
private String libraryId;
private List<Long> photoIds;
private String storeName;
public String getFrameId() {
return this.frameId;
}
public void setFrameId(String frameId) {
this.frameId = frameId;
if(frameId != null){
putQueryParameter("FrameId", frameId);
}
}
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetFramedPhotoUrlsResponse> getResponseClass() {
return GetFramedPhotoUrlsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetFramedPhotoUrlsResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetFramedPhotoUrlsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetFramedPhotoUrlsResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Result> results;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Result> getResults() {
return this.results;
}
public void setResults(List<Result> results) {
this.results = results;
}
public static class Result {
private String code;
private String message;
private Long photoId;
private String photoIdStr;
private String framedPhotoUrl;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Long getPhotoId() {
return this.photoId;
}
public void setPhotoId(Long photoId) {
this.photoId = photoId;
}
public String getPhotoIdStr() {
return this.photoIdStr;
}
public void setPhotoIdStr(String photoIdStr) {
this.photoIdStr = photoIdStr;
}
public String getFramedPhotoUrl() {
return this.framedPhotoUrl;
}
public void setFramedPhotoUrl(String framedPhotoUrl) {
this.framedPhotoUrl = framedPhotoUrl;
}
}
@Override
public GetFramedPhotoUrlsResponse getInstance(UnmarshallerContext context) {
return GetFramedPhotoUrlsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetLibraryRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetLibraryRequest extends RpcAcsRequest<GetLibraryResponse> {
public GetLibraryRequest() {
super("CloudPhoto", "2017-07-11", "GetLibrary", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetLibraryResponse> getResponseClass() {
return GetLibraryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetLibraryResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetLibraryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetLibraryResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private Library library;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public Library getLibrary() {
return this.library;
}
public void setLibrary(Library library) {
this.library = library;
}
public static class Library {
private Long ctime;
private Quota quota;
private AutoCleanConfig autoCleanConfig;
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Quota getQuota() {
return this.quota;
}
public void setQuota(Quota quota) {
this.quota = quota;
}
public AutoCleanConfig getAutoCleanConfig() {
return this.autoCleanConfig;
}
public void setAutoCleanConfig(AutoCleanConfig autoCleanConfig) {
this.autoCleanConfig = autoCleanConfig;
}
public static class Quota {
private Long totalQuota;
private Long totalTrashQuota;
private Integer facesCount;
private Integer photosCount;
private Long usedQuota;
private Integer videosCount;
private Long activeSize;
private Long inactiveSize;
public Long getTotalQuota() {
return this.totalQuota;
}
public void setTotalQuota(Long totalQuota) {
this.totalQuota = totalQuota;
}
public Long getTotalTrashQuota() {
return this.totalTrashQuota;
}
public void setTotalTrashQuota(Long totalTrashQuota) {
this.totalTrashQuota = totalTrashQuota;
}
public Integer getFacesCount() {
return this.facesCount;
}
public void setFacesCount(Integer facesCount) {
this.facesCount = facesCount;
}
public Integer getPhotosCount() {
return this.photosCount;
}
public void setPhotosCount(Integer photosCount) {
this.photosCount = photosCount;
}
public Long getUsedQuota() {
return this.usedQuota;
}
public void setUsedQuota(Long usedQuota) {
this.usedQuota = usedQuota;
}
public Integer getVideosCount() {
return this.videosCount;
}
public void setVideosCount(Integer videosCount) {
this.videosCount = videosCount;
}
public Long getActiveSize() {
return this.activeSize;
}
public void setActiveSize(Long activeSize) {
this.activeSize = activeSize;
}
public Long getInactiveSize() {
return this.inactiveSize;
}
public void setInactiveSize(Long inactiveSize) {
this.inactiveSize = inactiveSize;
}
}
public static class AutoCleanConfig {
private Boolean autoCleanEnabled;
private Integer autoCleanDays;
public Boolean getAutoCleanEnabled() {
return this.autoCleanEnabled;
}
public void setAutoCleanEnabled(Boolean autoCleanEnabled) {
this.autoCleanEnabled = autoCleanEnabled;
}
public Integer getAutoCleanDays() {
return this.autoCleanDays;
}
public void setAutoCleanDays(Integer autoCleanDays) {
this.autoCleanDays = autoCleanDays;
}
}
}
@Override
public GetLibraryResponse getInstance(UnmarshallerContext context) {
return GetLibraryResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPhotoStoreRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetPhotoStoreRequest extends RpcAcsRequest<GetPhotoStoreResponse> {
public GetPhotoStoreRequest() {
super("CloudPhoto", "2017-07-11", "GetPhotoStore", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String storeName;
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetPhotoStoreResponse> getResponseClass() {
return GetPhotoStoreResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPhotoStoreResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetPhotoStoreResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPhotoStoreResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private PhotoStore photoStore;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public PhotoStore getPhotoStore() {
return this.photoStore;
}
public void setPhotoStore(PhotoStore photoStore) {
this.photoStore = photoStore;
}
public static class PhotoStore {
private Long id;
private String idStr;
private String name;
private String remark;
private Boolean autoCleanEnabled;
private Integer autoCleanDays;
private Long defaultQuota;
private Long defaultTrashQuota;
private Long ctime;
private Long mtime;
private List<Bucket> buckets;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Boolean getAutoCleanEnabled() {
return this.autoCleanEnabled;
}
public void setAutoCleanEnabled(Boolean autoCleanEnabled) {
this.autoCleanEnabled = autoCleanEnabled;
}
public Integer getAutoCleanDays() {
return this.autoCleanDays;
}
public void setAutoCleanDays(Integer autoCleanDays) {
this.autoCleanDays = autoCleanDays;
}
public Long getDefaultQuota() {
return this.defaultQuota;
}
public void setDefaultQuota(Long defaultQuota) {
this.defaultQuota = defaultQuota;
}
public Long getDefaultTrashQuota() {
return this.defaultTrashQuota;
}
public void setDefaultTrashQuota(Long defaultTrashQuota) {
this.defaultTrashQuota = defaultTrashQuota;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public List<Bucket> getBuckets() {
return this.buckets;
}
public void setBuckets(List<Bucket> buckets) {
this.buckets = buckets;
}
public static class Bucket {
private String name;
private String region;
private String state;
private String acl;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getAcl() {
return this.acl;
}
public void setAcl(String acl) {
this.acl = acl;
}
}
}
@Override
public GetPhotoStoreResponse getInstance(UnmarshallerContext context) {
return GetPhotoStoreResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPhotosByMd5sRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetPhotosByMd5sRequest extends RpcAcsRequest<GetPhotosByMd5sResponse> {
public GetPhotosByMd5sRequest() {
super("CloudPhoto", "2017-07-11", "GetPhotosByMd5s", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private String storeName;
private String state;
private List<String> md5s;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
if(state != null){
putQueryParameter("State", state);
}
}
public List<String> getMd5s() {
return this.md5s;
}
public void setMd5s(List<String> md5s) {
this.md5s = md5s;
if (md5s != null) {
for (int i = 0; i < md5s.size(); i++) {
putQueryParameter("Md5." + (i + 1) , md5s.get(i));
}
}
}
@Override
public Class<GetPhotosByMd5sResponse> getResponseClass() {
return GetPhotosByMd5sResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPhotosByMd5sResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetPhotosByMd5sResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPhotosByMd5sResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Photo> photos;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Photo> getPhotos() {
return this.photos;
}
public void setPhotos(List<Photo> photos) {
this.photos = photos;
}
public static class Photo {
private Long id;
private String idStr;
private String title;
private String fileId;
private String location;
private String state;
private String md5;
private Boolean isVideo;
private String remark;
private Long size;
private Long width;
private Long height;
private Long ctime;
private Long mtime;
private Long takenAt;
private Long shareExpireTime;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getLocation() {
return this.location;
}
public void setLocation(String location) {
this.location = location;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
}
}
@Override
public GetPhotosByMd5sResponse getInstance(UnmarshallerContext context) {
return GetPhotosByMd5sResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPhotosRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetPhotosRequest extends RpcAcsRequest<GetPhotosResponse> {
public GetPhotosRequest() {
super("CloudPhoto", "2017-07-11", "GetPhotos", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private List<Long> photoIds;
private String storeName;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
@Override
public Class<GetPhotosResponse> getResponseClass() {
return GetPhotosResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPhotosResponse.java
|
/*
* 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.cloudphoto.model.v20170711;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphoto.transform.v20170711.GetPhotosResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetPhotosResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String action;
private List<Photo> photos;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getBizAction() {
return this.action;
}
public void setBizAction(String action) {
this.action = action;
}
/**
* @deprecated use getBizAction instead of this.
*/
@Deprecated
public String getAction() {
return this.action;
}
/**
* @deprecated use setBizAction instead of this.
*/
@Deprecated
public void setAction(String action) {
this.action = action;
}
public List<Photo> getPhotos() {
return this.photos;
}
public void setPhotos(List<Photo> photos) {
this.photos = photos;
}
public static class Photo {
private Long id;
private String idStr;
private String title;
private String fileId;
private String location;
private String state;
private String md5;
private Boolean isVideo;
private String remark;
private Long width;
private Long height;
private Long size;
private Long ctime;
private Long mtime;
private Long takenAt;
private Long inactiveTime;
private Long shareExpireTime;
private Long like;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getIdStr() {
return this.idStr;
}
public void setIdStr(String idStr) {
this.idStr = idStr;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getLocation() {
return this.location;
}
public void setLocation(String location) {
this.location = location;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public Boolean getIsVideo() {
return this.isVideo;
}
public void setIsVideo(Boolean isVideo) {
this.isVideo = isVideo;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Long getWidth() {
return this.width;
}
public void setWidth(Long width) {
this.width = width;
}
public Long getHeight() {
return this.height;
}
public void setHeight(Long height) {
this.height = height;
}
public Long getSize() {
return this.size;
}
public void setSize(Long size) {
this.size = size;
}
public Long getCtime() {
return this.ctime;
}
public void setCtime(Long ctime) {
this.ctime = ctime;
}
public Long getMtime() {
return this.mtime;
}
public void setMtime(Long mtime) {
this.mtime = mtime;
}
public Long getTakenAt() {
return this.takenAt;
}
public void setTakenAt(Long takenAt) {
this.takenAt = takenAt;
}
public Long getInactiveTime() {
return this.inactiveTime;
}
public void setInactiveTime(Long inactiveTime) {
this.inactiveTime = inactiveTime;
}
public Long getShareExpireTime() {
return this.shareExpireTime;
}
public void setShareExpireTime(Long shareExpireTime) {
this.shareExpireTime = shareExpireTime;
}
public Long getLike() {
return this.like;
}
public void setLike(Long like) {
this.like = like;
}
}
@Override
public GetPhotosResponse getInstance(UnmarshallerContext context) {
return GetPhotosResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/model/v20170711/GetPrivateAccessUrlsRequest.java
|
/*
* 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.cloudphoto.model.v20170711;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.ProtocolType;
/**
* @author auto create
* @version
*/
public class GetPrivateAccessUrlsRequest extends RpcAcsRequest<GetPrivateAccessUrlsResponse> {
public GetPrivateAccessUrlsRequest() {
super("CloudPhoto", "2017-07-11", "GetPrivateAccessUrls", "cloudphoto");
setProtocol(ProtocolType.HTTPS);
}
private String libraryId;
private List<Long> photoIds;
private String storeName;
private String zoomType;
public String getLibraryId() {
return this.libraryId;
}
public void setLibraryId(String libraryId) {
this.libraryId = libraryId;
if(libraryId != null){
putQueryParameter("LibraryId", libraryId);
}
}
public List<Long> getPhotoIds() {
return this.photoIds;
}
public void setPhotoIds(List<Long> photoIds) {
this.photoIds = photoIds;
if (photoIds != null) {
for (int i = 0; i < photoIds.size(); i++) {
putQueryParameter("PhotoId." + (i + 1) , photoIds.get(i));
}
}
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
if(storeName != null){
putQueryParameter("StoreName", storeName);
}
}
public String getZoomType() {
return this.zoomType;
}
public void setZoomType(String zoomType) {
this.zoomType = zoomType;
if(zoomType != null){
putQueryParameter("ZoomType", zoomType);
}
}
@Override
public Class<GetPrivateAccessUrlsResponse> getResponseClass() {
return GetPrivateAccessUrlsResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.