index
int64
repo_id
string
file_path
string
content
string
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/GetPrivateAccessUrlsResponse.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.GetPrivateAccessUrlsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetPrivateAccessUrlsResponse 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 accessUrl; 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 getAccessUrl() { return this.accessUrl; } public void setAccessUrl(String accessUrl) { this.accessUrl = accessUrl; } } @Override public GetPrivateAccessUrlsResponse getInstance(UnmarshallerContext context) { return GetPrivateAccessUrlsResponseUnmarshaller.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/GetPublicAccessUrlsRequest.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 GetPublicAccessUrlsRequest extends RpcAcsRequest<GetPublicAccessUrlsResponse> { public GetPublicAccessUrlsRequest() { super("CloudPhoto", "2017-07-11", "GetPublicAccessUrls", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String domainType; private String libraryId; private List<Long> photoIds; private String storeName; private String zoomType; public String getDomainType() { return this.domainType; } public void setDomainType(String domainType) { this.domainType = domainType; if(domainType != null){ putQueryParameter("DomainType", domainType); } } 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<GetPublicAccessUrlsResponse> getResponseClass() { return GetPublicAccessUrlsResponse.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/GetPublicAccessUrlsResponse.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.GetPublicAccessUrlsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetPublicAccessUrlsResponse 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 accessUrl; 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 getAccessUrl() { return this.accessUrl; } public void setAccessUrl(String accessUrl) { this.accessUrl = accessUrl; } } @Override public GetPublicAccessUrlsResponse getInstance(UnmarshallerContext context) { return GetPublicAccessUrlsResponseUnmarshaller.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/GetQuotaRequest.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 GetQuotaRequest extends RpcAcsRequest<GetQuotaResponse> { public GetQuotaRequest() { super("CloudPhoto", "2017-07-11", "GetQuota", "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<GetQuotaResponse> getResponseClass() { return GetQuotaResponse.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/GetQuotaResponse.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.GetQuotaResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetQuotaResponse extends AcsResponse { private String code; private String message; private String requestId; private String action; private Quota quota; 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 Quota getQuota() { return this.quota; } public void setQuota(Quota quota) { this.quota = quota; } public static class Quota { private Long totalQuota; private Integer facesCount; private Integer photosCount; private Long usedQuota; private Integer videosCount; public Long getTotalQuota() { return this.totalQuota; } public void setTotalQuota(Long totalQuota) { this.totalQuota = totalQuota; } 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; } } @Override public GetQuotaResponse getInstance(UnmarshallerContext context) { return GetQuotaResponseUnmarshaller.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/GetSimilarPhotosRequest.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 GetSimilarPhotosRequest extends RpcAcsRequest<GetSimilarPhotosResponse> { public GetSimilarPhotosRequest() { super("CloudPhoto", "2017-07-11", "GetSimilarPhotos", "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<GetSimilarPhotosResponse> getResponseClass() { return GetSimilarPhotosResponse.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/GetSimilarPhotosResponse.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.GetSimilarPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetSimilarPhotosResponse 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 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 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; } public Long getLike() { return this.like; } public void setLike(Long like) { this.like = like; } } @Override public GetSimilarPhotosResponse getInstance(UnmarshallerContext context) { return GetSimilarPhotosResponseUnmarshaller.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/GetThumbnailRequest.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 GetThumbnailRequest extends RpcAcsRequest<GetThumbnailResponse> { public GetThumbnailRequest() { super("CloudPhoto", "2017-07-11", "GetThumbnail", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long photoId; 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 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); } } public String getZoomType() { return this.zoomType; } public void setZoomType(String zoomType) { this.zoomType = zoomType; if(zoomType != null){ putQueryParameter("ZoomType", zoomType); } } @Override public Class<GetThumbnailResponse> getResponseClass() { return GetThumbnailResponse.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/GetThumbnailResponse.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.GetThumbnailResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetThumbnailResponse extends AcsResponse { private String code; private String message; private String thumbnailUrl; 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 getThumbnailUrl() { return this.thumbnailUrl; } public void setThumbnailUrl(String thumbnailUrl) { this.thumbnailUrl = thumbnailUrl; } 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 GetThumbnailResponse getInstance(UnmarshallerContext context) { return GetThumbnailResponseUnmarshaller.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/GetThumbnailsRequest.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 GetThumbnailsRequest extends RpcAcsRequest<GetThumbnailsResponse> { public GetThumbnailsRequest() { super("CloudPhoto", "2017-07-11", "GetThumbnails", "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<GetThumbnailsResponse> getResponseClass() { return GetThumbnailsResponse.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/GetThumbnailsResponse.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.GetThumbnailsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetThumbnailsResponse 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 thumbnailUrl; 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 getThumbnailUrl() { return this.thumbnailUrl; } public void setThumbnailUrl(String thumbnailUrl) { this.thumbnailUrl = thumbnailUrl; } } @Override public GetThumbnailsResponse getInstance(UnmarshallerContext context) { return GetThumbnailsResponseUnmarshaller.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/GetVideoCoverRequest.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 GetVideoCoverRequest extends RpcAcsRequest<GetVideoCoverResponse> { public GetVideoCoverRequest() { super("CloudPhoto", "2017-07-11", "GetVideoCover", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long photoId; 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 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); } } public String getZoomType() { return this.zoomType; } public void setZoomType(String zoomType) { this.zoomType = zoomType; if(zoomType != null){ putQueryParameter("ZoomType", zoomType); } } @Override public Class<GetVideoCoverResponse> getResponseClass() { return GetVideoCoverResponse.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/GetVideoCoverResponse.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.GetVideoCoverResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetVideoCoverResponse extends AcsResponse { private String code; private String message; private String videoCoverUrl; 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 getVideoCoverUrl() { return this.videoCoverUrl; } public void setVideoCoverUrl(String videoCoverUrl) { this.videoCoverUrl = videoCoverUrl; } 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 GetVideoCoverResponse getInstance(UnmarshallerContext context) { return GetVideoCoverResponseUnmarshaller.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/InactivatePhotosRequest.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 InactivatePhotosRequest extends RpcAcsRequest<InactivatePhotosResponse> { public InactivatePhotosRequest() { super("CloudPhoto", "2017-07-11", "InactivatePhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private List<Long> photoIds; private String storeName; private Long inactiveTime; 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 Long getInactiveTime() { return this.inactiveTime; } public void setInactiveTime(Long inactiveTime) { this.inactiveTime = inactiveTime; if(inactiveTime != null){ putQueryParameter("InactiveTime", inactiveTime.toString()); } } @Override public Class<InactivatePhotosResponse> getResponseClass() { return InactivatePhotosResponse.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/InactivatePhotosResponse.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.InactivatePhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class InactivatePhotosResponse 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 InactivatePhotosResponse getInstance(UnmarshallerContext context) { return InactivatePhotosResponseUnmarshaller.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/LikePhotoRequest.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 LikePhotoRequest extends RpcAcsRequest<LikePhotoResponse> { public LikePhotoRequest() { super("CloudPhoto", "2017-07-11", "LikePhoto", "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<LikePhotoResponse> getResponseClass() { return LikePhotoResponse.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/LikePhotoResponse.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.LikePhotoResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class LikePhotoResponse 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 LikePhotoResponse getInstance(UnmarshallerContext context) { return LikePhotoResponseUnmarshaller.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/ListAlbumPhotosRequest.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 ListAlbumPhotosRequest extends RpcAcsRequest<ListAlbumPhotosResponse> { public ListAlbumPhotosRequest() { super("CloudPhoto", "2017-07-11", "ListAlbumPhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String libraryId; private Long albumId; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 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 String getState() { return this.state; } public void setState(String state) { this.state = state; if(state != null){ putQueryParameter("State", state); } } public String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListAlbumPhotosResponse> getResponseClass() { return ListAlbumPhotosResponse.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/ListAlbumPhotosResponse.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.ListAlbumPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListAlbumPhotosResponse extends AcsResponse { private String code; private String message; private String nextCursor; 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 String getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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 ListAlbumPhotosResponse getInstance(UnmarshallerContext context) { return ListAlbumPhotosResponseUnmarshaller.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/ListAlbumsRequest.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 ListAlbumsRequest extends RpcAcsRequest<ListAlbumsResponse> { public ListAlbumsRequest() { super("CloudPhoto", "2017-07-11", "ListAlbums", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String libraryId; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 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 String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListAlbumsResponse> getResponseClass() { return ListAlbumsResponse.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/ListAlbumsResponse.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.ListAlbumsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListAlbumsResponse extends AcsResponse { private String code; private String message; private String nextCursor; private Integer totalCount; 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 getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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<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 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 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 ListAlbumsResponse getInstance(UnmarshallerContext context) { return ListAlbumsResponseUnmarshaller.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/ListEventsRequest.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 ListEventsRequest extends RpcAcsRequest<ListEventsResponse> { public ListEventsRequest() { super("CloudPhoto", "2017-07-11", "ListEvents", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 String getState() { return this.state; } public void setState(String state) { this.state = state; if(state != null){ putQueryParameter("State", state); } } public String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListEventsResponse> getResponseClass() { return ListEventsResponse.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/ListEventsResponse.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.ListEventsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListEventsResponse extends AcsResponse { private String code; private String message; private String nextCursor; private Integer totalCount; private String requestId; private String action; private List<Event> events; 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 getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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<Event> getEvents() { return this.events; } public void setEvents(List<Event> events) { this.events = events; } 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 ListEventsResponse getInstance(UnmarshallerContext context) { return ListEventsResponseUnmarshaller.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/ListFacePhotosRequest.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 ListFacePhotosRequest extends RpcAcsRequest<ListFacePhotosResponse> { public ListFacePhotosRequest() { super("CloudPhoto", "2017-07-11", "ListFacePhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String libraryId; private String storeName; private Long faceId; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 getStoreName() { return this.storeName; } public void setStoreName(String storeName) { this.storeName = storeName; if(storeName != null){ putQueryParameter("StoreName", storeName); } } public Long getFaceId() { return this.faceId; } public void setFaceId(Long faceId) { this.faceId = faceId; if(faceId != null){ putQueryParameter("FaceId", faceId.toString()); } } public String getState() { return this.state; } public void setState(String state) { this.state = state; if(state != null){ putQueryParameter("State", state); } } public String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListFacePhotosResponse> getResponseClass() { return ListFacePhotosResponse.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/ListFacePhotosResponse.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.ListFacePhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListFacePhotosResponse extends AcsResponse { private String code; private String message; private String nextCursor; 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 String getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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 ListFacePhotosResponse getInstance(UnmarshallerContext context) { return ListFacePhotosResponseUnmarshaller.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/ListFacesRequest.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 ListFacesRequest extends RpcAcsRequest<ListFacesResponse> { public ListFacesRequest() { super("CloudPhoto", "2017-07-11", "ListFaces", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private String hasFaceName; private Integer size; private String libraryId; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } public String getHasFaceName() { return this.hasFaceName; } public void setHasFaceName(String hasFaceName) { this.hasFaceName = hasFaceName; if(hasFaceName != null){ putQueryParameter("HasFaceName", hasFaceName); } } 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 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 String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListFacesResponse> getResponseClass() { return ListFacesResponse.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/ListFacesResponse.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.ListFacesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListFacesResponse extends AcsResponse { private String code; private String message; private String nextCursor; private Integer totalCount; private String requestId; private String action; private List<Face> faces; 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 getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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<Face> getFaces() { return this.faces; } public void setFaces(List<Face> faces) { this.faces = faces; } public static class Face { private Long id; private String idStr; private String name; private Integer photosCount; private String state; private Boolean isMe; private Long ctime; private Long mtime; private List<String> axis; 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 Integer getPhotosCount() { return this.photosCount; } public void setPhotosCount(Integer photosCount) { this.photosCount = photosCount; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public Boolean getIsMe() { return this.isMe; } public void setIsMe(Boolean isMe) { this.isMe = isMe; } 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<String> getAxis() { return this.axis; } public void setAxis(List<String> axis) { this.axis = axis; } 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 ListFacesResponse getInstance(UnmarshallerContext context) { return ListFacesResponseUnmarshaller.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/ListMomentPhotosRequest.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 ListMomentPhotosRequest extends RpcAcsRequest<ListMomentPhotosResponse> { public ListMomentPhotosRequest() { super("CloudPhoto", "2017-07-11", "ListMomentPhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String libraryId; private String storeName; private String state; private Long momentId; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 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 Long getMomentId() { return this.momentId; } public void setMomentId(Long momentId) { this.momentId = momentId; if(momentId != null){ putQueryParameter("MomentId", momentId.toString()); } } public String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListMomentPhotosResponse> getResponseClass() { return ListMomentPhotosResponse.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/ListMomentPhotosResponse.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.ListMomentPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListMomentPhotosResponse extends AcsResponse { private String code; private String message; private String nextCursor; 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 String getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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 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 String getState() { return this.state; } public void setState(String state) { this.state = state; } } @Override public ListMomentPhotosResponse getInstance(UnmarshallerContext context) { return ListMomentPhotosResponseUnmarshaller.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/ListMomentsRequest.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 ListMomentsRequest extends RpcAcsRequest<ListMomentsResponse> { public ListMomentsRequest() { super("CloudPhoto", "2017-07-11", "ListMoments", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String libraryId; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 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 String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListMomentsResponse> getResponseClass() { return ListMomentsResponse.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/ListMomentsResponse.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.ListMomentsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListMomentsResponse extends AcsResponse { private String code; private String message; private String nextCursor; private Integer totalCount; private String requestId; private String action; private List<Moment> moments; 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 getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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<Moment> getMoments() { return this.moments; } public void setMoments(List<Moment> moments) { this.moments = moments; } public static class Moment { private Long id; private String idStr; private String locationName; private Integer photosCount; private String state; private Long takenAt; 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 getLocationName() { return this.locationName; } public void setLocationName(String locationName) { this.locationName = locationName; } public Integer getPhotosCount() { return this.photosCount; } public void setPhotosCount(Integer photosCount) { this.photosCount = photosCount; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public Long getTakenAt() { return this.takenAt; } public void setTakenAt(Long takenAt) { this.takenAt = takenAt; } 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 ListMomentsResponse getInstance(UnmarshallerContext context) { return ListMomentsResponseUnmarshaller.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/ListPhotoFacesRequest.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 ListPhotoFacesRequest extends RpcAcsRequest<ListPhotoFacesResponse> { public ListPhotoFacesRequest() { super("CloudPhoto", "2017-07-11", "ListPhotoFaces", "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<ListPhotoFacesResponse> getResponseClass() { return ListPhotoFacesResponse.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/ListPhotoFacesResponse.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.ListPhotoFacesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListPhotoFacesResponse extends AcsResponse { private String code; private String message; private String requestId; private String action; private List<Face> faces; 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<Face> getFaces() { return this.faces; } public void setFaces(List<Face> faces) { this.faces = faces; } public static class Face { private Long faceId; private String faceIdStr; private String faceName; private List<String> axis; public Long getFaceId() { return this.faceId; } public void setFaceId(Long faceId) { this.faceId = faceId; } public String getFaceIdStr() { return this.faceIdStr; } public void setFaceIdStr(String faceIdStr) { this.faceIdStr = faceIdStr; } public String getFaceName() { return this.faceName; } public void setFaceName(String faceName) { this.faceName = faceName; } public List<String> getAxis() { return this.axis; } public void setAxis(List<String> axis) { this.axis = axis; } } @Override public ListPhotoFacesResponse getInstance(UnmarshallerContext context) { return ListPhotoFacesResponseUnmarshaller.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/ListPhotoStoresRequest.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 ListPhotoStoresRequest extends RpcAcsRequest<ListPhotoStoresResponse> { public ListPhotoStoresRequest() { super("CloudPhoto", "2017-07-11", "ListPhotoStores", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } @Override public Class<ListPhotoStoresResponse> getResponseClass() { return ListPhotoStoresResponse.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/ListPhotoStoresResponse.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.ListPhotoStoresResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListPhotoStoresResponse extends AcsResponse { private String code; private String message; private String requestId; private String action; private List<PhotoStore> photoStores; 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<PhotoStore> getPhotoStores() { return this.photoStores; } public void setPhotoStores(List<PhotoStore> photoStores) { this.photoStores = photoStores; } 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 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 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; 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; } } } @Override public ListPhotoStoresResponse getInstance(UnmarshallerContext context) { return ListPhotoStoresResponseUnmarshaller.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/ListPhotoTagsRequest.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 ListPhotoTagsRequest extends RpcAcsRequest<ListPhotoTagsResponse> { public ListPhotoTagsRequest() { super("CloudPhoto", "2017-07-11", "ListPhotoTags", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long photoId; private String storeName; private String lang; 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); } } public String getLang() { return this.lang; } public void setLang(String lang) { this.lang = lang; if(lang != null){ putQueryParameter("Lang", lang); } } @Override public Class<ListPhotoTagsResponse> getResponseClass() { return ListPhotoTagsResponse.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/ListPhotoTagsResponse.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.ListPhotoTagsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListPhotoTagsResponse extends AcsResponse { private String code; private String message; private String requestId; private String action; private List<Tag> tags; 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<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; } public static class Tag { private Long id; private String idStr; private Boolean isSubTag; private String name; private String parentTag; 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 Boolean getIsSubTag() { return this.isSubTag; } public void setIsSubTag(Boolean isSubTag) { this.isSubTag = isSubTag; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getParentTag() { return this.parentTag; } public void setParentTag(String parentTag) { this.parentTag = parentTag; } } @Override public ListPhotoTagsResponse getInstance(UnmarshallerContext context) { return ListPhotoTagsResponseUnmarshaller.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/ListPhotosRequest.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 ListPhotosRequest extends RpcAcsRequest<ListPhotosResponse> { public ListPhotosRequest() { super("CloudPhoto", "2017-07-11", "ListPhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private String libraryId; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 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 String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListPhotosResponse> getResponseClass() { return ListPhotosResponse.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/ListPhotosResponse.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.ListPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListPhotosResponse extends AcsResponse { private String code; private String message; private String nextCursor; 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 String getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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 ListPhotosResponse getInstance(UnmarshallerContext context) { return ListPhotosResponseUnmarshaller.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/ListRegisteredTagsRequest.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 ListRegisteredTagsRequest extends RpcAcsRequest<ListRegisteredTagsResponse> { public ListRegisteredTagsRequest() { super("CloudPhoto", "2017-07-11", "ListRegisteredTags", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String storeName; private List<String> langs; public String getStoreName() { return this.storeName; } public void setStoreName(String storeName) { this.storeName = storeName; if(storeName != null){ putQueryParameter("StoreName", storeName); } } public List<String> getLangs() { return this.langs; } public void setLangs(List<String> langs) { this.langs = langs; if (langs != null) { for (int i = 0; i < langs.size(); i++) { putQueryParameter("Lang." + (i + 1) , langs.get(i)); } } } @Override public Class<ListRegisteredTagsResponse> getResponseClass() { return ListRegisteredTagsResponse.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/ListRegisteredTagsResponse.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.ListRegisteredTagsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListRegisteredTagsResponse extends AcsResponse { private String code; private String message; private String requestId; private String action; private List<RegisteredTag> registeredTags; 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<RegisteredTag> getRegisteredTags() { return this.registeredTags; } public void setRegisteredTags(List<RegisteredTag> registeredTags) { this.registeredTags = registeredTags; } public static class RegisteredTag { private String tagKey; private List<TagValue> tagValues; public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } public List<TagValue> getTagValues() { return this.tagValues; } public void setTagValues(List<TagValue> tagValues) { this.tagValues = tagValues; } public static class TagValue { private String lang; private String text; public String getLang() { return this.lang; } public void setLang(String lang) { this.lang = lang; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } } } @Override public ListRegisteredTagsResponse getInstance(UnmarshallerContext context) { return ListRegisteredTagsResponseUnmarshaller.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/ListTagPhotosRequest.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 ListTagPhotosRequest extends RpcAcsRequest<ListTagPhotosResponse> { public ListTagPhotosRequest() { super("CloudPhoto", "2017-07-11", "ListTagPhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String cursor; private Integer size; private Long tagId; private String libraryId; private String storeName; private String state; private String direction; public String getCursor() { return this.cursor; } public void setCursor(String cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor); } } 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 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 String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } @Override public Class<ListTagPhotosResponse> getResponseClass() { return ListTagPhotosResponse.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/ListTagPhotosResponse.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.ListTagPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListTagPhotosResponse extends AcsResponse { private String code; private String message; private String nextCursor; 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 String getNextCursor() { return this.nextCursor; } public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } 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 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 String getState() { return this.state; } public void setState(String state) { this.state = state; } } @Override public ListTagPhotosResponse getInstance(UnmarshallerContext context) { return ListTagPhotosResponseUnmarshaller.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/ListTagsRequest.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 ListTagsRequest extends RpcAcsRequest<ListTagsResponse> { public ListTagsRequest() { super("CloudPhoto", "2017-07-11", "ListTags", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private String storeName; private String lang; 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 getLang() { return this.lang; } public void setLang(String lang) { this.lang = lang; if(lang != null){ putQueryParameter("Lang", lang); } } @Override public Class<ListTagsResponse> getResponseClass() { return ListTagsResponse.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/ListTagsResponse.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.ListTagsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListTagsResponse extends AcsResponse { private String code; private String message; private String requestId; private String action; private List<Tag> tags; 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<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; } public static class Tag { private Long id; private String idStr; private String name; private Boolean isSubTag; private String parentTag; 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 Boolean getIsSubTag() { return this.isSubTag; } public void setIsSubTag(Boolean isSubTag) { this.isSubTag = isSubTag; } public String getParentTag() { return this.parentTag; } public void setParentTag(String parentTag) { this.parentTag = parentTag; } 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 ListTagsResponse getInstance(UnmarshallerContext context) { return ListTagsResponseUnmarshaller.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/ListTimeLinePhotosRequest.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 ListTimeLinePhotosRequest extends RpcAcsRequest<ListTimeLinePhotosResponse> { public ListTimeLinePhotosRequest() { super("CloudPhoto", "2017-07-11", "ListTimeLinePhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private Integer size; private String libraryId; private Long endTime; private String storeName; private Integer page; private Long startTime; private String filterBy; private String direction; 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 Long getEndTime() { return this.endTime; } public void setEndTime(Long endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime.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()); } } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; if(startTime != null){ putQueryParameter("StartTime", startTime.toString()); } } public String getFilterBy() { return this.filterBy; } public void setFilterBy(String filterBy) { this.filterBy = filterBy; if(filterBy != null){ putQueryParameter("FilterBy", filterBy); } } public String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } public String getOrder() { return this.order; } public void setOrder(String order) { this.order = order; if(order != null){ putQueryParameter("Order", order); } } @Override public Class<ListTimeLinePhotosResponse> getResponseClass() { return ListTimeLinePhotosResponse.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/ListTimeLinePhotosResponse.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.ListTimeLinePhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListTimeLinePhotosResponse 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 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 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; } public Long getLike() { return this.like; } public void setLike(Long like) { this.like = like; } } @Override public ListTimeLinePhotosResponse getInstance(UnmarshallerContext context) { return ListTimeLinePhotosResponseUnmarshaller.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/ListTimeLinesRequest.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 ListTimeLinesRequest extends RpcAcsRequest<ListTimeLinesResponse> { public ListTimeLinesRequest() { super("CloudPhoto", "2017-07-11", "ListTimeLines", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private Long cursor; private Integer photoSize; private Integer timeLineCount; private String libraryId; private String storeName; private String timeLineUnit; private String filterBy; private String direction; private String order; public Long getCursor() { return this.cursor; } public void setCursor(Long cursor) { this.cursor = cursor; if(cursor != null){ putQueryParameter("Cursor", cursor.toString()); } } public Integer getPhotoSize() { return this.photoSize; } public void setPhotoSize(Integer photoSize) { this.photoSize = photoSize; if(photoSize != null){ putQueryParameter("PhotoSize", photoSize.toString()); } } public Integer getTimeLineCount() { return this.timeLineCount; } public void setTimeLineCount(Integer timeLineCount) { this.timeLineCount = timeLineCount; if(timeLineCount != null){ putQueryParameter("TimeLineCount", timeLineCount.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 getTimeLineUnit() { return this.timeLineUnit; } public void setTimeLineUnit(String timeLineUnit) { this.timeLineUnit = timeLineUnit; if(timeLineUnit != null){ putQueryParameter("TimeLineUnit", timeLineUnit); } } public String getFilterBy() { return this.filterBy; } public void setFilterBy(String filterBy) { this.filterBy = filterBy; if(filterBy != null){ putQueryParameter("FilterBy", filterBy); } } public String getDirection() { return this.direction; } public void setDirection(String direction) { this.direction = direction; if(direction != null){ putQueryParameter("Direction", direction); } } public String getOrder() { return this.order; } public void setOrder(String order) { this.order = order; if(order != null){ putQueryParameter("Order", order); } } @Override public Class<ListTimeLinesResponse> getResponseClass() { return ListTimeLinesResponse.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/ListTimeLinesResponse.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.ListTimeLinesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListTimeLinesResponse extends AcsResponse { private String code; private String message; private Integer nextCursor; private String requestId; private String action; private List<TimeLine> timeLines; 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 getNextCursor() { return this.nextCursor; } public void setNextCursor(Integer nextCursor) { this.nextCursor = nextCursor; } 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<TimeLine> getTimeLines() { return this.timeLines; } public void setTimeLines(List<TimeLine> timeLines) { this.timeLines = timeLines; } public static class TimeLine { private Long startTime; private Long endTime; private Integer totalCount; private Integer photosCount; private List<Photo> photos; public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public Long getEndTime() { return this.endTime; } public void setEndTime(Long endTime) { this.endTime = endTime; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getPhotosCount() { return this.photosCount; } public void setPhotosCount(Integer photosCount) { this.photosCount = photosCount; } 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 location; private String fileId; 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; 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 getLocation() { return this.location; } public void setLocation(String location) { this.location = location; } 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 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; } public Long getLike() { return this.like; } public void setLike(Long like) { this.like = like; } } } @Override public ListTimeLinesResponse getInstance(UnmarshallerContext context) { return ListTimeLinesResponseUnmarshaller.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/MergeFacesRequest.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 MergeFacesRequest extends RpcAcsRequest<MergeFacesResponse> { public MergeFacesRequest() { super("CloudPhoto", "2017-07-11", "MergeFaces", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long targetFaceId; 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 Long getTargetFaceId() { return this.targetFaceId; } public void setTargetFaceId(Long targetFaceId) { this.targetFaceId = targetFaceId; if(targetFaceId != null){ putQueryParameter("TargetFaceId", targetFaceId.toString()); } } 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<MergeFacesResponse> getResponseClass() { return MergeFacesResponse.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/MergeFacesResponse.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.MergeFacesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class MergeFacesResponse 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 MergeFacesResponse getInstance(UnmarshallerContext context) { return MergeFacesResponseUnmarshaller.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/MoveAlbumPhotosRequest.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 MoveAlbumPhotosRequest extends RpcAcsRequest<MoveAlbumPhotosResponse> { public MoveAlbumPhotosRequest() { super("CloudPhoto", "2017-07-11", "MoveAlbumPhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private Long sourceAlbumId; private Long targetAlbumId; private String libraryId; private List<Long> photoIds; private String storeName; public Long getSourceAlbumId() { return this.sourceAlbumId; } public void setSourceAlbumId(Long sourceAlbumId) { this.sourceAlbumId = sourceAlbumId; if(sourceAlbumId != null){ putQueryParameter("SourceAlbumId", sourceAlbumId.toString()); } } public Long getTargetAlbumId() { return this.targetAlbumId; } public void setTargetAlbumId(Long targetAlbumId) { this.targetAlbumId = targetAlbumId; if(targetAlbumId != null){ putQueryParameter("TargetAlbumId", targetAlbumId.toString()); } } 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<MoveAlbumPhotosResponse> getResponseClass() { return MoveAlbumPhotosResponse.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/MoveAlbumPhotosResponse.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.MoveAlbumPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class MoveAlbumPhotosResponse 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 MoveAlbumPhotosResponse getInstance(UnmarshallerContext context) { return MoveAlbumPhotosResponseUnmarshaller.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/MoveFacePhotosRequest.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 MoveFacePhotosRequest extends RpcAcsRequest<MoveFacePhotosResponse> { public MoveFacePhotosRequest() { super("CloudPhoto", "2017-07-11", "MoveFacePhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long targetFaceId; private List<Long> photoIds; private String storeName; private Long sourceFaceId; public String getLibraryId() { return this.libraryId; } public void setLibraryId(String libraryId) { this.libraryId = libraryId; if(libraryId != null){ putQueryParameter("LibraryId", libraryId); } } public Long getTargetFaceId() { return this.targetFaceId; } public void setTargetFaceId(Long targetFaceId) { this.targetFaceId = targetFaceId; if(targetFaceId != null){ putQueryParameter("TargetFaceId", targetFaceId.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 Long getSourceFaceId() { return this.sourceFaceId; } public void setSourceFaceId(Long sourceFaceId) { this.sourceFaceId = sourceFaceId; if(sourceFaceId != null){ putQueryParameter("SourceFaceId", sourceFaceId.toString()); } } @Override public Class<MoveFacePhotosResponse> getResponseClass() { return MoveFacePhotosResponse.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/MoveFacePhotosResponse.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.MoveFacePhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class MoveFacePhotosResponse 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 MoveFacePhotosResponse getInstance(UnmarshallerContext context) { return MoveFacePhotosResponseUnmarshaller.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/ReactivatePhotosRequest.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 ReactivatePhotosRequest extends RpcAcsRequest<ReactivatePhotosResponse> { public ReactivatePhotosRequest() { super("CloudPhoto", "2017-07-11", "ReactivatePhotos", "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<ReactivatePhotosResponse> getResponseClass() { return ReactivatePhotosResponse.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/ReactivatePhotosResponse.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.ReactivatePhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ReactivatePhotosResponse 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 ReactivatePhotosResponse getInstance(UnmarshallerContext context) { return ReactivatePhotosResponseUnmarshaller.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/RegisterPhotoRequest.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 RegisterPhotoRequest extends RpcAcsRequest<RegisterPhotoResponse> { public RegisterPhotoRequest() { super("CloudPhoto", "2017-07-11", "RegisterPhoto", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Float latitude; private String photoTitle; private String storeName; private String isVideo; private String remark; private Long size; private Long takenAt; private Integer width; private String location; private Float longitude; private Integer height; private String md5; public String getLibraryId() { return this.libraryId; } public void setLibraryId(String libraryId) { this.libraryId = libraryId; if(libraryId != null){ putQueryParameter("LibraryId", libraryId); } } public Float getLatitude() { return this.latitude; } public void setLatitude(Float latitude) { this.latitude = latitude; if(latitude != null){ putQueryParameter("Latitude", latitude.toString()); } } public String getPhotoTitle() { return this.photoTitle; } public void setPhotoTitle(String photoTitle) { this.photoTitle = photoTitle; if(photoTitle != null){ putQueryParameter("PhotoTitle", photoTitle); } } public String getStoreName() { return this.storeName; } public void setStoreName(String storeName) { this.storeName = storeName; if(storeName != null){ putQueryParameter("StoreName", storeName); } } public String getIsVideo() { return this.isVideo; } public void setIsVideo(String isVideo) { this.isVideo = isVideo; if(isVideo != null){ putQueryParameter("IsVideo", isVideo); } } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; if(remark != null){ putQueryParameter("Remark", remark); } } public Long getSize() { return this.size; } public void setSize(Long size) { this.size = size; if(size != null){ putQueryParameter("Size", size.toString()); } } public Long getTakenAt() { return this.takenAt; } public void setTakenAt(Long takenAt) { this.takenAt = takenAt; if(takenAt != null){ putQueryParameter("TakenAt", takenAt.toString()); } } public Integer getWidth() { return this.width; } public void setWidth(Integer width) { this.width = width; if(width != null){ putQueryParameter("Width", width.toString()); } } public String getLocation() { return this.location; } public void setLocation(String location) { this.location = location; if(location != null){ putQueryParameter("Location", location); } } public Float getLongitude() { return this.longitude; } public void setLongitude(Float longitude) { this.longitude = longitude; if(longitude != null){ putQueryParameter("Longitude", longitude.toString()); } } public Integer getHeight() { return this.height; } public void setHeight(Integer height) { this.height = height; if(height != null){ putQueryParameter("Height", height.toString()); } } public String getMd5() { return this.md5; } public void setMd5(String md5) { this.md5 = md5; if(md5 != null){ putQueryParameter("Md5", md5); } } @Override public Class<RegisterPhotoResponse> getResponseClass() { return RegisterPhotoResponse.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/RegisterPhotoResponse.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.RegisterPhotoResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RegisterPhotoResponse 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 location; private String fileId; 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 getLocation() { return this.location; } public void setLocation(String location) { this.location = location; } 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 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 RegisterPhotoResponse getInstance(UnmarshallerContext context) { return RegisterPhotoResponseUnmarshaller.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/RegisterTagRequest.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 RegisterTagRequest extends RpcAcsRequest<RegisterTagResponse> { public RegisterTagRequest() { super("CloudPhoto", "2017-07-11", "RegisterTag", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String storeName; private String text; private String tagKey; private String lang; public String getStoreName() { return this.storeName; } public void setStoreName(String storeName) { this.storeName = storeName; if(storeName != null){ putQueryParameter("StoreName", storeName); } } public String getText() { return this.text; } public void setText(String text) { this.text = text; if(text != null){ putQueryParameter("Text", text); } } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; if(tagKey != null){ putQueryParameter("TagKey", tagKey); } } public String getLang() { return this.lang; } public void setLang(String lang) { this.lang = lang; if(lang != null){ putQueryParameter("Lang", lang); } } @Override public Class<RegisterTagResponse> getResponseClass() { return RegisterTagResponse.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/RegisterTagResponse.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.RegisterTagResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RegisterTagResponse 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 RegisterTagResponse getInstance(UnmarshallerContext context) { return RegisterTagResponseUnmarshaller.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/RemoveAlbumPhotosRequest.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 RemoveAlbumPhotosRequest extends RpcAcsRequest<RemoveAlbumPhotosResponse> { public RemoveAlbumPhotosRequest() { super("CloudPhoto", "2017-07-11", "RemoveAlbumPhotos", "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<RemoveAlbumPhotosResponse> getResponseClass() { return RemoveAlbumPhotosResponse.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/RemoveAlbumPhotosResponse.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.RemoveAlbumPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RemoveAlbumPhotosResponse 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 RemoveAlbumPhotosResponse getInstance(UnmarshallerContext context) { return RemoveAlbumPhotosResponseUnmarshaller.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/RemoveFacePhotosRequest.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 RemoveFacePhotosRequest extends RpcAcsRequest<RemoveFacePhotosResponse> { public RemoveFacePhotosRequest() { super("CloudPhoto", "2017-07-11", "RemoveFacePhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private List<Long> photoIds; private String storeName; private Long faceId; 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 Long getFaceId() { return this.faceId; } public void setFaceId(Long faceId) { this.faceId = faceId; if(faceId != null){ putQueryParameter("FaceId", faceId.toString()); } } @Override public Class<RemoveFacePhotosResponse> getResponseClass() { return RemoveFacePhotosResponse.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/RemoveFacePhotosResponse.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.RemoveFacePhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RemoveFacePhotosResponse 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 RemoveFacePhotosResponse getInstance(UnmarshallerContext context) { return RemoveFacePhotosResponseUnmarshaller.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/RenameAlbumRequest.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 RenameAlbumRequest extends RpcAcsRequest<RenameAlbumResponse> { public RenameAlbumRequest() { super("CloudPhoto", "2017-07-11", "RenameAlbum", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String albumName; private String libraryId; private Long albumId; private String storeName; 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 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); } } @Override public Class<RenameAlbumResponse> getResponseClass() { return RenameAlbumResponse.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/RenameAlbumResponse.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.RenameAlbumResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RenameAlbumResponse 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 RenameAlbumResponse getInstance(UnmarshallerContext context) { return RenameAlbumResponseUnmarshaller.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/RenameFaceRequest.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 RenameFaceRequest extends RpcAcsRequest<RenameFaceResponse> { public RenameFaceRequest() { super("CloudPhoto", "2017-07-11", "RenameFace", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private String storeName; private Long faceId; private String faceName; 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 Long getFaceId() { return this.faceId; } public void setFaceId(Long faceId) { this.faceId = faceId; if(faceId != null){ putQueryParameter("FaceId", faceId.toString()); } } public String getFaceName() { return this.faceName; } public void setFaceName(String faceName) { this.faceName = faceName; if(faceName != null){ putQueryParameter("FaceName", faceName); } } @Override public Class<RenameFaceResponse> getResponseClass() { return RenameFaceResponse.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/RenameFaceResponse.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.RenameFaceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RenameFaceResponse 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 RenameFaceResponse getInstance(UnmarshallerContext context) { return RenameFaceResponseUnmarshaller.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/SearchPhotosRequest.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 SearchPhotosRequest extends RpcAcsRequest<SearchPhotosResponse> { public SearchPhotosRequest() { super("CloudPhoto", "2017-07-11", "SearchPhotos", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private Integer size; private String libraryId; private String storeName; private Integer page; private String keyword; 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 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 String getKeyword() { return this.keyword; } public void setKeyword(String keyword) { this.keyword = keyword; if(keyword != null){ putQueryParameter("Keyword", keyword); } } @Override public Class<SearchPhotosResponse> getResponseClass() { return SearchPhotosResponse.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/SearchPhotosResponse.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.SearchPhotosResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SearchPhotosResponse 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 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 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 SearchPhotosResponse getInstance(UnmarshallerContext context) { return SearchPhotosResponseUnmarshaller.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/SetAlbumCoverRequest.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 SetAlbumCoverRequest extends RpcAcsRequest<SetAlbumCoverResponse> { public SetAlbumCoverRequest() { super("CloudPhoto", "2017-07-11", "SetAlbumCover", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long albumId; 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 getAlbumId() { return this.albumId; } public void setAlbumId(Long albumId) { this.albumId = albumId; if(albumId != null){ putQueryParameter("AlbumId", albumId.toString()); } } 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<SetAlbumCoverResponse> getResponseClass() { return SetAlbumCoverResponse.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/SetAlbumCoverResponse.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.SetAlbumCoverResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetAlbumCoverResponse 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 SetAlbumCoverResponse getInstance(UnmarshallerContext context) { return SetAlbumCoverResponseUnmarshaller.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/SetFaceCoverRequest.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 SetFaceCoverRequest extends RpcAcsRequest<SetFaceCoverResponse> { public SetFaceCoverRequest() { super("CloudPhoto", "2017-07-11", "SetFaceCover", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private Long photoId; private String storeName; private Long faceId; 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); } } public Long getFaceId() { return this.faceId; } public void setFaceId(Long faceId) { this.faceId = faceId; if(faceId != null){ putQueryParameter("FaceId", faceId.toString()); } } @Override public Class<SetFaceCoverResponse> getResponseClass() { return SetFaceCoverResponse.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/SetFaceCoverResponse.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.SetFaceCoverResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetFaceCoverResponse 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 SetFaceCoverResponse getInstance(UnmarshallerContext context) { return SetFaceCoverResponseUnmarshaller.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/SetMeRequest.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 SetMeRequest extends RpcAcsRequest<SetMeResponse> { public SetMeRequest() { super("CloudPhoto", "2017-07-11", "SetMe", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private String storeName; private Long faceId; 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 Long getFaceId() { return this.faceId; } public void setFaceId(Long faceId) { this.faceId = faceId; if(faceId != null){ putQueryParameter("FaceId", faceId.toString()); } } @Override public Class<SetMeResponse> getResponseClass() { return SetMeResponse.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/SetMeResponse.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.SetMeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetMeResponse 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 SetMeResponse getInstance(UnmarshallerContext context) { return SetMeResponseUnmarshaller.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/SetQuotaRequest.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 SetQuotaRequest extends RpcAcsRequest<SetQuotaResponse> { public SetQuotaRequest() { super("CloudPhoto", "2017-07-11", "SetQuota", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private Long totalQuota; private String libraryId; private String storeName; public Long getTotalQuota() { return this.totalQuota; } public void setTotalQuota(Long totalQuota) { this.totalQuota = totalQuota; if(totalQuota != null){ putQueryParameter("TotalQuota", totalQuota.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<SetQuotaResponse> getResponseClass() { return SetQuotaResponse.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/SetQuotaResponse.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.SetQuotaResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetQuotaResponse 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 SetQuotaResponse getInstance(UnmarshallerContext context) { return SetQuotaResponseUnmarshaller.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/TagPhotoRequest.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 TagPhotoRequest extends RpcAcsRequest<TagPhotoResponse> { public TagPhotoRequest() { super("CloudPhoto", "2017-07-11", "TagPhoto", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private String libraryId; private List<Float> confidences; private String storeName; private Long photoId; private List<String> tagKeys; public String getLibraryId() { return this.libraryId; } public void setLibraryId(String libraryId) { this.libraryId = libraryId; if(libraryId != null){ putQueryParameter("LibraryId", libraryId); } } public List<Float> getConfidences() { return this.confidences; } public void setConfidences(List<Float> confidences) { this.confidences = confidences; if (confidences != null) { for (int i = 0; i < confidences.size(); i++) { putQueryParameter("Confidence." + (i + 1) , confidences.get(i)); } } } public String getStoreName() { return this.storeName; } public void setStoreName(String storeName) { this.storeName = storeName; if(storeName != null){ putQueryParameter("StoreName", storeName); } } public Long getPhotoId() { return this.photoId; } public void setPhotoId(Long photoId) { this.photoId = photoId; if(photoId != null){ putQueryParameter("PhotoId", photoId.toString()); } } 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<TagPhotoResponse> getResponseClass() { return TagPhotoResponse.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/TagPhotoResponse.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.TagPhotoResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TagPhotoResponse 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 TagPhotoResponse getInstance(UnmarshallerContext context) { return TagPhotoResponseUnmarshaller.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/ToggleFeaturesRequest.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 ToggleFeaturesRequest extends RpcAcsRequest<ToggleFeaturesResponse> { public ToggleFeaturesRequest() { super("CloudPhoto", "2017-07-11", "ToggleFeatures", "cloudphoto"); setProtocol(ProtocolType.HTTPS); } private List<String> disabledFeaturess; private String storeName; private List<String> enabledFeaturess; public List<String> getDisabledFeaturess() { return this.disabledFeaturess; } public void setDisabledFeaturess(List<String> disabledFeaturess) { this.disabledFeaturess = disabledFeaturess; if (disabledFeaturess != null) { for (int i = 0; i < disabledFeaturess.size(); i++) { putQueryParameter("DisabledFeatures." + (i + 1) , disabledFeaturess.get(i)); } } } public String getStoreName() { return this.storeName; } public void setStoreName(String storeName) { this.storeName = storeName; if(storeName != null){ putQueryParameter("StoreName", storeName); } } public List<String> getEnabledFeaturess() { return this.enabledFeaturess; } public void setEnabledFeaturess(List<String> enabledFeaturess) { this.enabledFeaturess = enabledFeaturess; if (enabledFeaturess != null) { for (int i = 0; i < enabledFeaturess.size(); i++) { putQueryParameter("EnabledFeatures." + (i + 1) , enabledFeaturess.get(i)); } } } @Override public Class<ToggleFeaturesResponse> getResponseClass() { return ToggleFeaturesResponse.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/ToggleFeaturesResponse.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.ToggleFeaturesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ToggleFeaturesResponse 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 ToggleFeaturesResponse getInstance(UnmarshallerContext context) { return ToggleFeaturesResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/ActivatePhotosResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.ActivatePhotosResponse; import com.aliyuncs.cloudphoto.model.v20170711.ActivatePhotosResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class ActivatePhotosResponseUnmarshaller { public static ActivatePhotosResponse unmarshall(ActivatePhotosResponse activatePhotosResponse, UnmarshallerContext context) { activatePhotosResponse.setRequestId(context.stringValue("ActivatePhotosResponse.RequestId")); activatePhotosResponse.setCode(context.stringValue("ActivatePhotosResponse.Code")); activatePhotosResponse.setMessage(context.stringValue("ActivatePhotosResponse.Message")); activatePhotosResponse.setAction(context.stringValue("ActivatePhotosResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("ActivatePhotosResponse.Results.Length"); i++) { Result result = new Result(); result.setId(context.longValue("ActivatePhotosResponse.Results["+ i +"].Id")); result.setIdStr(context.stringValue("ActivatePhotosResponse.Results["+ i +"].IdStr")); result.setCode(context.stringValue("ActivatePhotosResponse.Results["+ i +"].Code")); result.setMessage(context.stringValue("ActivatePhotosResponse.Results["+ i +"].Message")); results.add(result); } activatePhotosResponse.setResults(results); return activatePhotosResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/AddAlbumPhotosResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.AddAlbumPhotosResponse; import com.aliyuncs.cloudphoto.model.v20170711.AddAlbumPhotosResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class AddAlbumPhotosResponseUnmarshaller { public static AddAlbumPhotosResponse unmarshall(AddAlbumPhotosResponse addAlbumPhotosResponse, UnmarshallerContext context) { addAlbumPhotosResponse.setRequestId(context.stringValue("AddAlbumPhotosResponse.RequestId")); addAlbumPhotosResponse.setCode(context.stringValue("AddAlbumPhotosResponse.Code")); addAlbumPhotosResponse.setMessage(context.stringValue("AddAlbumPhotosResponse.Message")); addAlbumPhotosResponse.setAction(context.stringValue("AddAlbumPhotosResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("AddAlbumPhotosResponse.Results.Length"); i++) { Result result = new Result(); result.setId(context.longValue("AddAlbumPhotosResponse.Results["+ i +"].Id")); result.setIdStr(context.stringValue("AddAlbumPhotosResponse.Results["+ i +"].IdStr")); result.setCode(context.stringValue("AddAlbumPhotosResponse.Results["+ i +"].Code")); result.setMessage(context.stringValue("AddAlbumPhotosResponse.Results["+ i +"].Message")); results.add(result); } addAlbumPhotosResponse.setResults(results); return addAlbumPhotosResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/CreateAlbumResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.CreateAlbumResponse; import com.aliyuncs.cloudphoto.model.v20170711.CreateAlbumResponse.Album; import com.aliyuncs.cloudphoto.model.v20170711.CreateAlbumResponse.Album.Cover; import com.aliyuncs.transform.UnmarshallerContext; public class CreateAlbumResponseUnmarshaller { public static CreateAlbumResponse unmarshall(CreateAlbumResponse createAlbumResponse, UnmarshallerContext context) { createAlbumResponse.setRequestId(context.stringValue("CreateAlbumResponse.RequestId")); createAlbumResponse.setCode(context.stringValue("CreateAlbumResponse.Code")); createAlbumResponse.setMessage(context.stringValue("CreateAlbumResponse.Message")); createAlbumResponse.setAction(context.stringValue("CreateAlbumResponse.Action")); Album album = new Album(); album.setId(context.longValue("CreateAlbumResponse.Album.Id")); album.setIdStr(context.stringValue("CreateAlbumResponse.Album.IdStr")); album.setName(context.stringValue("CreateAlbumResponse.Album.Name")); album.setState(context.stringValue("CreateAlbumResponse.Album.State")); album.setRemark(context.stringValue("CreateAlbumResponse.Album.Remark")); album.setPhotosCount(context.longValue("CreateAlbumResponse.Album.PhotosCount")); album.setCtime(context.longValue("CreateAlbumResponse.Album.Ctime")); album.setMtime(context.longValue("CreateAlbumResponse.Album.Mtime")); Cover cover = new Cover(); cover.setId(context.longValue("CreateAlbumResponse.Album.Cover.Id")); cover.setIdStr(context.stringValue("CreateAlbumResponse.Album.Cover.IdStr")); cover.setTitle(context.stringValue("CreateAlbumResponse.Album.Cover.Title")); cover.setFileId(context.stringValue("CreateAlbumResponse.Album.Cover.FileId")); cover.setState(context.stringValue("CreateAlbumResponse.Album.Cover.State")); cover.setMd5(context.stringValue("CreateAlbumResponse.Album.Cover.Md5")); cover.setIsVideo(context.booleanValue("CreateAlbumResponse.Album.Cover.IsVideo")); cover.setWidth(context.longValue("CreateAlbumResponse.Album.Cover.Width")); cover.setHeight(context.longValue("CreateAlbumResponse.Album.Cover.Height")); cover.setCtime(context.longValue("CreateAlbumResponse.Album.Cover.Ctime")); cover.setMtime(context.longValue("CreateAlbumResponse.Album.Cover.Mtime")); cover.setRemark(context.stringValue("CreateAlbumResponse.Album.Cover.Remark")); album.setCover(cover); createAlbumResponse.setAlbum(album); return createAlbumResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/CreateEventResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.CreateEventResponse; import com.aliyuncs.cloudphoto.model.v20170711.CreateEventResponse.Event; import com.aliyuncs.transform.UnmarshallerContext; public class CreateEventResponseUnmarshaller { public static CreateEventResponse unmarshall(CreateEventResponse createEventResponse, UnmarshallerContext context) { createEventResponse.setRequestId(context.stringValue("CreateEventResponse.RequestId")); createEventResponse.setCode(context.stringValue("CreateEventResponse.Code")); createEventResponse.setMessage(context.stringValue("CreateEventResponse.Message")); createEventResponse.setAction(context.stringValue("CreateEventResponse.Action")); Event event = new Event(); event.setId(context.longValue("CreateEventResponse.Event.Id")); event.setIdStr(context.stringValue("CreateEventResponse.Event.IdStr")); event.setTitle(context.stringValue("CreateEventResponse.Event.Title")); event.setBannerPhotoId(context.stringValue("CreateEventResponse.Event.BannerPhotoId")); event.setIdentity(context.stringValue("CreateEventResponse.Event.Identity")); event.setSplashPhotoId(context.stringValue("CreateEventResponse.Event.SplashPhotoId")); event.setState(context.stringValue("CreateEventResponse.Event.State")); event.setWeixinTitle(context.stringValue("CreateEventResponse.Event.WeixinTitle")); event.setWatermarkPhotoId(context.stringValue("CreateEventResponse.Event.WatermarkPhotoId")); event.setStartAt(context.longValue("CreateEventResponse.Event.StartAt")); event.setEndAt(context.longValue("CreateEventResponse.Event.EndAt")); event.setCtime(context.longValue("CreateEventResponse.Event.Ctime")); event.setMtime(context.longValue("CreateEventResponse.Event.Mtime")); event.setViewsCount(context.longValue("CreateEventResponse.Event.ViewsCount")); event.setLibraryId(context.stringValue("CreateEventResponse.Event.LibraryId")); event.setIdStr1(context.stringValue("CreateEventResponse.Event.IdStr")); createEventResponse.setEvent(event); return createEventResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/CreatePhotoResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.CreatePhotoResponse; import com.aliyuncs.cloudphoto.model.v20170711.CreatePhotoResponse.Photo; import com.aliyuncs.transform.UnmarshallerContext; public class CreatePhotoResponseUnmarshaller { public static CreatePhotoResponse unmarshall(CreatePhotoResponse createPhotoResponse, UnmarshallerContext context) { createPhotoResponse.setRequestId(context.stringValue("CreatePhotoResponse.RequestId")); createPhotoResponse.setCode(context.stringValue("CreatePhotoResponse.Code")); createPhotoResponse.setMessage(context.stringValue("CreatePhotoResponse.Message")); createPhotoResponse.setAction(context.stringValue("CreatePhotoResponse.Action")); Photo photo = new Photo(); photo.setId(context.longValue("CreatePhotoResponse.Photo.Id")); photo.setIdStr(context.stringValue("CreatePhotoResponse.Photo.IdStr")); photo.setTitle(context.stringValue("CreatePhotoResponse.Photo.Title")); photo.setFileId(context.stringValue("CreatePhotoResponse.Photo.FileId")); photo.setLocation(context.stringValue("CreatePhotoResponse.Photo.Location")); photo.setState(context.stringValue("CreatePhotoResponse.Photo.State")); photo.setMd5(context.stringValue("CreatePhotoResponse.Photo.Md5")); photo.setIsVideo(context.booleanValue("CreatePhotoResponse.Photo.IsVideo")); photo.setSize(context.longValue("CreatePhotoResponse.Photo.Size")); photo.setRemark(context.stringValue("CreatePhotoResponse.Photo.Remark")); photo.setWidth(context.longValue("CreatePhotoResponse.Photo.Width")); photo.setHeight(context.longValue("CreatePhotoResponse.Photo.Height")); photo.setCtime(context.longValue("CreatePhotoResponse.Photo.Ctime")); photo.setMtime(context.longValue("CreatePhotoResponse.Photo.Mtime")); photo.setTakenAt(context.longValue("CreatePhotoResponse.Photo.TakenAt")); photo.setShareExpireTime(context.longValue("CreatePhotoResponse.Photo.ShareExpireTime")); createPhotoResponse.setPhoto(photo); return createPhotoResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/CreatePhotoStoreResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.CreatePhotoStoreResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreatePhotoStoreResponseUnmarshaller { public static CreatePhotoStoreResponse unmarshall(CreatePhotoStoreResponse createPhotoStoreResponse, UnmarshallerContext context) { createPhotoStoreResponse.setRequestId(context.stringValue("CreatePhotoStoreResponse.RequestId")); createPhotoStoreResponse.setCode(context.stringValue("CreatePhotoStoreResponse.Code")); createPhotoStoreResponse.setMessage(context.stringValue("CreatePhotoStoreResponse.Message")); createPhotoStoreResponse.setAction(context.stringValue("CreatePhotoStoreResponse.Action")); return createPhotoStoreResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/CreateTransactionResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.CreateTransactionResponse; import com.aliyuncs.cloudphoto.model.v20170711.CreateTransactionResponse.Transaction; import com.aliyuncs.cloudphoto.model.v20170711.CreateTransactionResponse.Transaction.Upload; import com.aliyuncs.transform.UnmarshallerContext; public class CreateTransactionResponseUnmarshaller { public static CreateTransactionResponse unmarshall(CreateTransactionResponse createTransactionResponse, UnmarshallerContext context) { createTransactionResponse.setRequestId(context.stringValue("CreateTransactionResponse.RequestId")); createTransactionResponse.setCode(context.stringValue("CreateTransactionResponse.Code")); createTransactionResponse.setMessage(context.stringValue("CreateTransactionResponse.Message")); createTransactionResponse.setAction(context.stringValue("CreateTransactionResponse.Action")); Transaction transaction = new Transaction(); Upload upload = new Upload(); upload.setBucket(context.stringValue("CreateTransactionResponse.Transaction.Upload.Bucket")); upload.setFileId(context.stringValue("CreateTransactionResponse.Transaction.Upload.FileId")); upload.setOssEndpoint(context.stringValue("CreateTransactionResponse.Transaction.Upload.OssEndpoint")); upload.setObjectKey(context.stringValue("CreateTransactionResponse.Transaction.Upload.ObjectKey")); upload.setSessionId(context.stringValue("CreateTransactionResponse.Transaction.Upload.SessionId")); upload.setAccessKeyId(context.stringValue("CreateTransactionResponse.Transaction.Upload.AccessKeyId")); upload.setAccessKeySecret(context.stringValue("CreateTransactionResponse.Transaction.Upload.AccessKeySecret")); upload.setStsToken(context.stringValue("CreateTransactionResponse.Transaction.Upload.StsToken")); transaction.setUpload(upload); createTransactionResponse.setTransaction(transaction); return createTransactionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/DeleteAlbumsResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.DeleteAlbumsResponse; import com.aliyuncs.cloudphoto.model.v20170711.DeleteAlbumsResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAlbumsResponseUnmarshaller { public static DeleteAlbumsResponse unmarshall(DeleteAlbumsResponse deleteAlbumsResponse, UnmarshallerContext context) { deleteAlbumsResponse.setRequestId(context.stringValue("DeleteAlbumsResponse.RequestId")); deleteAlbumsResponse.setCode(context.stringValue("DeleteAlbumsResponse.Code")); deleteAlbumsResponse.setMessage(context.stringValue("DeleteAlbumsResponse.Message")); deleteAlbumsResponse.setAction(context.stringValue("DeleteAlbumsResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("DeleteAlbumsResponse.Results.Length"); i++) { Result result = new Result(); result.setId(context.longValue("DeleteAlbumsResponse.Results["+ i +"].Id")); result.setIdStr(context.stringValue("DeleteAlbumsResponse.Results["+ i +"].IdStr")); result.setCode(context.stringValue("DeleteAlbumsResponse.Results["+ i +"].Code")); result.setMessage(context.stringValue("DeleteAlbumsResponse.Results["+ i +"].Message")); results.add(result); } deleteAlbumsResponse.setResults(results); return deleteAlbumsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/DeleteEventResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.DeleteEventResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteEventResponseUnmarshaller { public static DeleteEventResponse unmarshall(DeleteEventResponse deleteEventResponse, UnmarshallerContext context) { deleteEventResponse.setRequestId(context.stringValue("DeleteEventResponse.RequestId")); deleteEventResponse.setCode(context.stringValue("DeleteEventResponse.Code")); deleteEventResponse.setMessage(context.stringValue("DeleteEventResponse.Message")); deleteEventResponse.setAction(context.stringValue("DeleteEventResponse.Action")); return deleteEventResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/DeleteFacesResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.DeleteFacesResponse; import com.aliyuncs.cloudphoto.model.v20170711.DeleteFacesResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteFacesResponseUnmarshaller { public static DeleteFacesResponse unmarshall(DeleteFacesResponse deleteFacesResponse, UnmarshallerContext context) { deleteFacesResponse.setRequestId(context.stringValue("DeleteFacesResponse.RequestId")); deleteFacesResponse.setCode(context.stringValue("DeleteFacesResponse.Code")); deleteFacesResponse.setMessage(context.stringValue("DeleteFacesResponse.Message")); deleteFacesResponse.setAction(context.stringValue("DeleteFacesResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("DeleteFacesResponse.Results.Length"); i++) { Result result = new Result(); result.setId(context.longValue("DeleteFacesResponse.Results["+ i +"].Id")); result.setIdStr(context.stringValue("DeleteFacesResponse.Results["+ i +"].IdStr")); result.setCode(context.stringValue("DeleteFacesResponse.Results["+ i +"].Code")); result.setMessage(context.stringValue("DeleteFacesResponse.Results["+ i +"].Message")); results.add(result); } deleteFacesResponse.setResults(results); return deleteFacesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/DeletePhotoStoreResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.DeletePhotoStoreResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeletePhotoStoreResponseUnmarshaller { public static DeletePhotoStoreResponse unmarshall(DeletePhotoStoreResponse deletePhotoStoreResponse, UnmarshallerContext context) { deletePhotoStoreResponse.setRequestId(context.stringValue("DeletePhotoStoreResponse.RequestId")); deletePhotoStoreResponse.setCode(context.stringValue("DeletePhotoStoreResponse.Code")); deletePhotoStoreResponse.setMessage(context.stringValue("DeletePhotoStoreResponse.Message")); deletePhotoStoreResponse.setAction(context.stringValue("DeletePhotoStoreResponse.Action")); return deletePhotoStoreResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/DeletePhotosResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.DeletePhotosResponse; import com.aliyuncs.cloudphoto.model.v20170711.DeletePhotosResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DeletePhotosResponseUnmarshaller { public static DeletePhotosResponse unmarshall(DeletePhotosResponse deletePhotosResponse, UnmarshallerContext context) { deletePhotosResponse.setRequestId(context.stringValue("DeletePhotosResponse.RequestId")); deletePhotosResponse.setCode(context.stringValue("DeletePhotosResponse.Code")); deletePhotosResponse.setMessage(context.stringValue("DeletePhotosResponse.Message")); deletePhotosResponse.setAction(context.stringValue("DeletePhotosResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("DeletePhotosResponse.Results.Length"); i++) { Result result = new Result(); result.setId(context.longValue("DeletePhotosResponse.Results["+ i +"].Id")); result.setIdStr(context.stringValue("DeletePhotosResponse.Results["+ i +"].IdStr")); result.setCode(context.stringValue("DeletePhotosResponse.Results["+ i +"].Code")); result.setMessage(context.stringValue("DeletePhotosResponse.Results["+ i +"].Message")); results.add(result); } deletePhotosResponse.setResults(results); return deletePhotosResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/EditEventResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.EditEventResponse; import com.aliyuncs.cloudphoto.model.v20170711.EditEventResponse.Event; import com.aliyuncs.transform.UnmarshallerContext; public class EditEventResponseUnmarshaller { public static EditEventResponse unmarshall(EditEventResponse editEventResponse, UnmarshallerContext context) { editEventResponse.setRequestId(context.stringValue("EditEventResponse.RequestId")); editEventResponse.setCode(context.stringValue("EditEventResponse.Code")); editEventResponse.setMessage(context.stringValue("EditEventResponse.Message")); editEventResponse.setAction(context.stringValue("EditEventResponse.Action")); Event event = new Event(); event.setId(context.longValue("EditEventResponse.Event.Id")); event.setIdStr(context.stringValue("EditEventResponse.Event.IdStr")); event.setTitle(context.stringValue("EditEventResponse.Event.Title")); event.setBannerPhotoId(context.stringValue("EditEventResponse.Event.BannerPhotoId")); event.setIdentity(context.stringValue("EditEventResponse.Event.Identity")); event.setSplashPhotoId(context.stringValue("EditEventResponse.Event.SplashPhotoId")); event.setState(context.stringValue("EditEventResponse.Event.State")); event.setWeixinTitle(context.stringValue("EditEventResponse.Event.WeixinTitle")); event.setWatermarkPhotoId(context.stringValue("EditEventResponse.Event.WatermarkPhotoId")); event.setStartAt(context.longValue("EditEventResponse.Event.StartAt")); event.setEndAt(context.longValue("EditEventResponse.Event.EndAt")); event.setCtime(context.longValue("EditEventResponse.Event.Ctime")); event.setMtime(context.longValue("EditEventResponse.Event.Mtime")); event.setViewsCount(context.longValue("EditEventResponse.Event.ViewsCount")); event.setLibraryId(context.stringValue("EditEventResponse.Event.LibraryId")); event.setIdStr1(context.stringValue("EditEventResponse.Event.IdStr")); editEventResponse.setEvent(event); return editEventResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/EditPhotoStoreResponseUnmarshaller.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.transform.v20170711; import com.aliyuncs.cloudphoto.model.v20170711.EditPhotoStoreResponse; import com.aliyuncs.transform.UnmarshallerContext; public class EditPhotoStoreResponseUnmarshaller { public static EditPhotoStoreResponse unmarshall(EditPhotoStoreResponse editPhotoStoreResponse, UnmarshallerContext context) { editPhotoStoreResponse.setRequestId(context.stringValue("EditPhotoStoreResponse.RequestId")); editPhotoStoreResponse.setCode(context.stringValue("EditPhotoStoreResponse.Code")); editPhotoStoreResponse.setMessage(context.stringValue("EditPhotoStoreResponse.Message")); editPhotoStoreResponse.setAction(context.stringValue("EditPhotoStoreResponse.Action")); return editPhotoStoreResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/EditPhotosResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.EditPhotosResponse; import com.aliyuncs.cloudphoto.model.v20170711.EditPhotosResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class EditPhotosResponseUnmarshaller { public static EditPhotosResponse unmarshall(EditPhotosResponse editPhotosResponse, UnmarshallerContext context) { editPhotosResponse.setRequestId(context.stringValue("EditPhotosResponse.RequestId")); editPhotosResponse.setCode(context.stringValue("EditPhotosResponse.Code")); editPhotosResponse.setMessage(context.stringValue("EditPhotosResponse.Message")); editPhotosResponse.setAction(context.stringValue("EditPhotosResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("EditPhotosResponse.Results.Length"); i++) { Result result = new Result(); result.setId(context.longValue("EditPhotosResponse.Results["+ i +"].Id")); result.setIdStr(context.stringValue("EditPhotosResponse.Results["+ i +"].IdStr")); result.setCode(context.stringValue("EditPhotosResponse.Results["+ i +"].Code")); result.setMessage(context.stringValue("EditPhotosResponse.Results["+ i +"].Message")); results.add(result); } editPhotosResponse.setResults(results); return editPhotosResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/FetchAlbumTagPhotosResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.FetchAlbumTagPhotosResponse; import com.aliyuncs.cloudphoto.model.v20170711.FetchAlbumTagPhotosResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class FetchAlbumTagPhotosResponseUnmarshaller { public static FetchAlbumTagPhotosResponse unmarshall(FetchAlbumTagPhotosResponse fetchAlbumTagPhotosResponse, UnmarshallerContext context) { fetchAlbumTagPhotosResponse.setRequestId(context.stringValue("FetchAlbumTagPhotosResponse.RequestId")); fetchAlbumTagPhotosResponse.setCode(context.stringValue("FetchAlbumTagPhotosResponse.Code")); fetchAlbumTagPhotosResponse.setMessage(context.stringValue("FetchAlbumTagPhotosResponse.Message")); fetchAlbumTagPhotosResponse.setTotalCount(context.integerValue("FetchAlbumTagPhotosResponse.TotalCount")); fetchAlbumTagPhotosResponse.setAction(context.stringValue("FetchAlbumTagPhotosResponse.Action")); List<Result> results = new ArrayList<Result>(); for (int i = 0; i < context.lengthValue("FetchAlbumTagPhotosResponse.Results.Length"); i++) { Result result = new Result(); result.setPhotoId(context.longValue("FetchAlbumTagPhotosResponse.Results["+ i +"].PhotoId")); result.setPhotoIdStr(context.stringValue("FetchAlbumTagPhotosResponse.Results["+ i +"].PhotoIdStr")); result.setMtime(context.longValue("FetchAlbumTagPhotosResponse.Results["+ i +"].Mtime")); result.setState(context.stringValue("FetchAlbumTagPhotosResponse.Results["+ i +"].State")); results.add(result); } fetchAlbumTagPhotosResponse.setResults(results); return fetchAlbumTagPhotosResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/FetchLibrariesResponseUnmarshaller.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.transform.v20170711; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cloudphoto.model.v20170711.FetchLibrariesResponse; import com.aliyuncs.cloudphoto.model.v20170711.FetchLibrariesResponse.Library; import com.aliyuncs.transform.UnmarshallerContext; public class FetchLibrariesResponseUnmarshaller { public static FetchLibrariesResponse unmarshall(FetchLibrariesResponse fetchLibrariesResponse, UnmarshallerContext context) { fetchLibrariesResponse.setRequestId(context.stringValue("FetchLibrariesResponse.RequestId")); fetchLibrariesResponse.setCode(context.stringValue("FetchLibrariesResponse.Code")); fetchLibrariesResponse.setMessage(context.stringValue("FetchLibrariesResponse.Message")); fetchLibrariesResponse.setTotalCount(context.integerValue("FetchLibrariesResponse.TotalCount")); fetchLibrariesResponse.setAction(context.stringValue("FetchLibrariesResponse.Action")); List<Library> libraries = new ArrayList<Library>(); for (int i = 0; i < context.lengthValue("FetchLibrariesResponse.Libraries.Length"); i++) { Library library = new Library(); library.setLibraryId(context.stringValue("FetchLibrariesResponse.Libraries["+ i +"].LibraryId")); library.setCtime(context.longValue("FetchLibrariesResponse.Libraries["+ i +"].Ctime")); libraries.add(library); } fetchLibrariesResponse.setLibraries(libraries); return fetchLibrariesResponse; } }