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/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphoto/1.1.19/com/aliyuncs/cloudphoto/transform/v20170711/FetchMomentPhotosResponseUnmarshaller.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.FetchMomentPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.FetchMomentPhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class FetchMomentPhotosResponseUnmarshaller {
public static FetchMomentPhotosResponse unmarshall(FetchMomentPhotosResponse fetchMomentPhotosResponse, UnmarshallerContext context) {
fetchMomentPhotosResponse.setRequestId(context.stringValue("FetchMomentPhotosResponse.RequestId"));
fetchMomentPhotosResponse.setCode(context.stringValue("FetchMomentPhotosResponse.Code"));
fetchMomentPhotosResponse.setMessage(context.stringValue("FetchMomentPhotosResponse.Message"));
fetchMomentPhotosResponse.setTotalCount(context.integerValue("FetchMomentPhotosResponse.TotalCount"));
fetchMomentPhotosResponse.setAction(context.stringValue("FetchMomentPhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("FetchMomentPhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("FetchMomentPhotosResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("FetchMomentPhotosResponse.Photos["+ i +"].Remark"));
photo.setSize(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].TakenAt"));
photo.setInactiveTime(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].InactiveTime"));
photo.setShareExpireTime(context.longValue("FetchMomentPhotosResponse.Photos["+ i +"].ShareExpireTime"));
photos.add(photo);
}
fetchMomentPhotosResponse.setPhotos(photos);
return fetchMomentPhotosResponse;
}
}
|
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/FetchPhotosResponseUnmarshaller.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.FetchPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.FetchPhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class FetchPhotosResponseUnmarshaller {
public static FetchPhotosResponse unmarshall(FetchPhotosResponse fetchPhotosResponse, UnmarshallerContext context) {
fetchPhotosResponse.setRequestId(context.stringValue("FetchPhotosResponse.RequestId"));
fetchPhotosResponse.setCode(context.stringValue("FetchPhotosResponse.Code"));
fetchPhotosResponse.setMessage(context.stringValue("FetchPhotosResponse.Message"));
fetchPhotosResponse.setTotalCount(context.integerValue("FetchPhotosResponse.TotalCount"));
fetchPhotosResponse.setAction(context.stringValue("FetchPhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("FetchPhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("FetchPhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("FetchPhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("FetchPhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("FetchPhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("FetchPhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("FetchPhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("FetchPhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("FetchPhotosResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("FetchPhotosResponse.Photos["+ i +"].Remark"));
photo.setSize(context.longValue("FetchPhotosResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("FetchPhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("FetchPhotosResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("FetchPhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("FetchPhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("FetchPhotosResponse.Photos["+ i +"].TakenAt"));
photo.setInactiveTime(context.longValue("FetchPhotosResponse.Photos["+ i +"].InactiveTime"));
photo.setShareExpireTime(context.longValue("FetchPhotosResponse.Photos["+ i +"].ShareExpireTime"));
photos.add(photo);
}
fetchPhotosResponse.setPhotos(photos);
return fetchPhotosResponse;
}
}
|
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/GetAlbumsByNamesResponseUnmarshaller.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.GetAlbumsByNamesResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetAlbumsByNamesResponse.Album;
import com.aliyuncs.cloudphoto.model.v20170711.GetAlbumsByNamesResponse.Album.Cover;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAlbumsByNamesResponseUnmarshaller {
public static GetAlbumsByNamesResponse unmarshall(GetAlbumsByNamesResponse getAlbumsByNamesResponse, UnmarshallerContext context) {
getAlbumsByNamesResponse.setRequestId(context.stringValue("GetAlbumsByNamesResponse.RequestId"));
getAlbumsByNamesResponse.setCode(context.stringValue("GetAlbumsByNamesResponse.Code"));
getAlbumsByNamesResponse.setMessage(context.stringValue("GetAlbumsByNamesResponse.Message"));
getAlbumsByNamesResponse.setAction(context.stringValue("GetAlbumsByNamesResponse.Action"));
List<Album> albums = new ArrayList<Album>();
for (int i = 0; i < context.lengthValue("GetAlbumsByNamesResponse.Albums.Length"); i++) {
Album album = new Album();
album.setId(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Id"));
album.setIdStr(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].IdStr"));
album.setName(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Name"));
album.setState(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].State"));
album.setPhotosCount(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].PhotosCount"));
album.setCtime(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Ctime"));
album.setMtime(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Mtime"));
Cover cover = new Cover();
cover.setId(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Id"));
cover.setIdStr(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.IdStr"));
cover.setTitle(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Title"));
cover.setFileId(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.FileId"));
cover.setState(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.State"));
cover.setMd5(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Md5"));
cover.setIsVideo(context.booleanValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.IsVideo"));
cover.setRemark(context.stringValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Remark"));
cover.setWidth(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Width"));
cover.setHeight(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Height"));
cover.setCtime(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Ctime"));
cover.setMtime(context.longValue("GetAlbumsByNamesResponse.Albums["+ i +"].Cover.Mtime"));
album.setCover(cover);
albums.add(album);
}
getAlbumsByNamesResponse.setAlbums(albums);
return getAlbumsByNamesResponse;
}
}
|
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/GetDownloadUrlResponseUnmarshaller.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.GetDownloadUrlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetDownloadUrlResponseUnmarshaller {
public static GetDownloadUrlResponse unmarshall(GetDownloadUrlResponse getDownloadUrlResponse, UnmarshallerContext context) {
getDownloadUrlResponse.setRequestId(context.stringValue("GetDownloadUrlResponse.RequestId"));
getDownloadUrlResponse.setCode(context.stringValue("GetDownloadUrlResponse.Code"));
getDownloadUrlResponse.setMessage(context.stringValue("GetDownloadUrlResponse.Message"));
getDownloadUrlResponse.setDownloadUrl(context.stringValue("GetDownloadUrlResponse.DownloadUrl"));
getDownloadUrlResponse.setAction(context.stringValue("GetDownloadUrlResponse.Action"));
return getDownloadUrlResponse;
}
}
|
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/GetDownloadUrlsResponseUnmarshaller.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.GetDownloadUrlsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetDownloadUrlsResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetDownloadUrlsResponseUnmarshaller {
public static GetDownloadUrlsResponse unmarshall(GetDownloadUrlsResponse getDownloadUrlsResponse, UnmarshallerContext context) {
getDownloadUrlsResponse.setRequestId(context.stringValue("GetDownloadUrlsResponse.RequestId"));
getDownloadUrlsResponse.setCode(context.stringValue("GetDownloadUrlsResponse.Code"));
getDownloadUrlsResponse.setMessage(context.stringValue("GetDownloadUrlsResponse.Message"));
getDownloadUrlsResponse.setAction(context.stringValue("GetDownloadUrlsResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("GetDownloadUrlsResponse.Results.Length"); i++) {
Result result = new Result();
result.setCode(context.stringValue("GetDownloadUrlsResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("GetDownloadUrlsResponse.Results["+ i +"].Message"));
result.setPhotoId(context.longValue("GetDownloadUrlsResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("GetDownloadUrlsResponse.Results["+ i +"].PhotoIdStr"));
result.setDownloadUrl(context.stringValue("GetDownloadUrlsResponse.Results["+ i +"].DownloadUrl"));
results.add(result);
}
getDownloadUrlsResponse.setResults(results);
return getDownloadUrlsResponse;
}
}
|
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/GetEventResponseUnmarshaller.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.GetEventResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetEventResponse.Event;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetEventResponseUnmarshaller {
public static GetEventResponse unmarshall(GetEventResponse getEventResponse, UnmarshallerContext context) {
getEventResponse.setRequestId(context.stringValue("GetEventResponse.RequestId"));
getEventResponse.setCode(context.stringValue("GetEventResponse.Code"));
getEventResponse.setMessage(context.stringValue("GetEventResponse.Message"));
getEventResponse.setAction(context.stringValue("GetEventResponse.Action"));
Event event = new Event();
event.setId(context.longValue("GetEventResponse.Event.Id"));
event.setIdStr(context.stringValue("GetEventResponse.Event.IdStr"));
event.setTitle(context.stringValue("GetEventResponse.Event.Title"));
event.setBannerPhotoId(context.stringValue("GetEventResponse.Event.BannerPhotoId"));
event.setIdentity(context.stringValue("GetEventResponse.Event.Identity"));
event.setSplashPhotoId(context.stringValue("GetEventResponse.Event.SplashPhotoId"));
event.setState(context.stringValue("GetEventResponse.Event.State"));
event.setWeixinTitle(context.stringValue("GetEventResponse.Event.WeixinTitle"));
event.setWatermarkPhotoId(context.stringValue("GetEventResponse.Event.WatermarkPhotoId"));
event.setStartAt(context.longValue("GetEventResponse.Event.StartAt"));
event.setEndAt(context.longValue("GetEventResponse.Event.EndAt"));
event.setCtime(context.longValue("GetEventResponse.Event.Ctime"));
event.setMtime(context.longValue("GetEventResponse.Event.Mtime"));
event.setViewsCount(context.longValue("GetEventResponse.Event.ViewsCount"));
event.setLibraryId(context.stringValue("GetEventResponse.Event.LibraryId"));
event.setIdStr1(context.stringValue("GetEventResponse.Event.IdStr"));
getEventResponse.setEvent(event);
return getEventResponse;
}
}
|
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/GetFramedPhotoUrlsResponseUnmarshaller.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.GetFramedPhotoUrlsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetFramedPhotoUrlsResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetFramedPhotoUrlsResponseUnmarshaller {
public static GetFramedPhotoUrlsResponse unmarshall(GetFramedPhotoUrlsResponse getFramedPhotoUrlsResponse, UnmarshallerContext context) {
getFramedPhotoUrlsResponse.setRequestId(context.stringValue("GetFramedPhotoUrlsResponse.RequestId"));
getFramedPhotoUrlsResponse.setCode(context.stringValue("GetFramedPhotoUrlsResponse.Code"));
getFramedPhotoUrlsResponse.setMessage(context.stringValue("GetFramedPhotoUrlsResponse.Message"));
getFramedPhotoUrlsResponse.setAction(context.stringValue("GetFramedPhotoUrlsResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("GetFramedPhotoUrlsResponse.Results.Length"); i++) {
Result result = new Result();
result.setCode(context.stringValue("GetFramedPhotoUrlsResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("GetFramedPhotoUrlsResponse.Results["+ i +"].Message"));
result.setPhotoId(context.longValue("GetFramedPhotoUrlsResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("GetFramedPhotoUrlsResponse.Results["+ i +"].PhotoIdStr"));
result.setFramedPhotoUrl(context.stringValue("GetFramedPhotoUrlsResponse.Results["+ i +"].FramedPhotoUrl"));
results.add(result);
}
getFramedPhotoUrlsResponse.setResults(results);
return getFramedPhotoUrlsResponse;
}
}
|
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/GetLibraryResponseUnmarshaller.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.GetLibraryResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetLibraryResponse.Library;
import com.aliyuncs.cloudphoto.model.v20170711.GetLibraryResponse.Library.AutoCleanConfig;
import com.aliyuncs.cloudphoto.model.v20170711.GetLibraryResponse.Library.Quota;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetLibraryResponseUnmarshaller {
public static GetLibraryResponse unmarshall(GetLibraryResponse getLibraryResponse, UnmarshallerContext context) {
getLibraryResponse.setRequestId(context.stringValue("GetLibraryResponse.RequestId"));
getLibraryResponse.setCode(context.stringValue("GetLibraryResponse.Code"));
getLibraryResponse.setMessage(context.stringValue("GetLibraryResponse.Message"));
getLibraryResponse.setAction(context.stringValue("GetLibraryResponse.Action"));
Library library = new Library();
library.setCtime(context.longValue("GetLibraryResponse.Library.Ctime"));
Quota quota = new Quota();
quota.setTotalQuota(context.longValue("GetLibraryResponse.Library.Quota.TotalQuota"));
quota.setTotalTrashQuota(context.longValue("GetLibraryResponse.Library.Quota.TotalTrashQuota"));
quota.setFacesCount(context.integerValue("GetLibraryResponse.Library.Quota.FacesCount"));
quota.setPhotosCount(context.integerValue("GetLibraryResponse.Library.Quota.PhotosCount"));
quota.setUsedQuota(context.longValue("GetLibraryResponse.Library.Quota.UsedQuota"));
quota.setVideosCount(context.integerValue("GetLibraryResponse.Library.Quota.VideosCount"));
quota.setActiveSize(context.longValue("GetLibraryResponse.Library.Quota.ActiveSize"));
quota.setInactiveSize(context.longValue("GetLibraryResponse.Library.Quota.InactiveSize"));
library.setQuota(quota);
AutoCleanConfig autoCleanConfig = new AutoCleanConfig();
autoCleanConfig.setAutoCleanEnabled(context.booleanValue("GetLibraryResponse.Library.AutoCleanConfig.AutoCleanEnabled"));
autoCleanConfig.setAutoCleanDays(context.integerValue("GetLibraryResponse.Library.AutoCleanConfig.AutoCleanDays"));
library.setAutoCleanConfig(autoCleanConfig);
getLibraryResponse.setLibrary(library);
return getLibraryResponse;
}
}
|
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/GetPhotoStoreResponseUnmarshaller.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.GetPhotoStoreResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetPhotoStoreResponse.PhotoStore;
import com.aliyuncs.cloudphoto.model.v20170711.GetPhotoStoreResponse.PhotoStore.Bucket;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetPhotoStoreResponseUnmarshaller {
public static GetPhotoStoreResponse unmarshall(GetPhotoStoreResponse getPhotoStoreResponse, UnmarshallerContext context) {
getPhotoStoreResponse.setRequestId(context.stringValue("GetPhotoStoreResponse.RequestId"));
getPhotoStoreResponse.setCode(context.stringValue("GetPhotoStoreResponse.Code"));
getPhotoStoreResponse.setMessage(context.stringValue("GetPhotoStoreResponse.Message"));
getPhotoStoreResponse.setAction(context.stringValue("GetPhotoStoreResponse.Action"));
PhotoStore photoStore = new PhotoStore();
photoStore.setId(context.longValue("GetPhotoStoreResponse.PhotoStore.Id"));
photoStore.setIdStr(context.stringValue("GetPhotoStoreResponse.PhotoStore.IdStr"));
photoStore.setName(context.stringValue("GetPhotoStoreResponse.PhotoStore.Name"));
photoStore.setRemark(context.stringValue("GetPhotoStoreResponse.PhotoStore.Remark"));
photoStore.setAutoCleanEnabled(context.booleanValue("GetPhotoStoreResponse.PhotoStore.AutoCleanEnabled"));
photoStore.setAutoCleanDays(context.integerValue("GetPhotoStoreResponse.PhotoStore.AutoCleanDays"));
photoStore.setDefaultQuota(context.longValue("GetPhotoStoreResponse.PhotoStore.DefaultQuota"));
photoStore.setDefaultTrashQuota(context.longValue("GetPhotoStoreResponse.PhotoStore.DefaultTrashQuota"));
photoStore.setCtime(context.longValue("GetPhotoStoreResponse.PhotoStore.Ctime"));
photoStore.setMtime(context.longValue("GetPhotoStoreResponse.PhotoStore.Mtime"));
List<Bucket> buckets = new ArrayList<Bucket>();
for (int i = 0; i < context.lengthValue("GetPhotoStoreResponse.PhotoStore.Buckets.Length"); i++) {
Bucket bucket = new Bucket();
bucket.setName(context.stringValue("GetPhotoStoreResponse.PhotoStore.Buckets["+ i +"].Name"));
bucket.setRegion(context.stringValue("GetPhotoStoreResponse.PhotoStore.Buckets["+ i +"].Region"));
bucket.setState(context.stringValue("GetPhotoStoreResponse.PhotoStore.Buckets["+ i +"].State"));
bucket.setAcl(context.stringValue("GetPhotoStoreResponse.PhotoStore.Buckets["+ i +"].Acl"));
buckets.add(bucket);
}
photoStore.setBuckets(buckets);
getPhotoStoreResponse.setPhotoStore(photoStore);
return getPhotoStoreResponse;
}
}
|
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/GetPhotosByMd5sResponseUnmarshaller.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.GetPhotosByMd5sResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetPhotosByMd5sResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetPhotosByMd5sResponseUnmarshaller {
public static GetPhotosByMd5sResponse unmarshall(GetPhotosByMd5sResponse getPhotosByMd5sResponse, UnmarshallerContext context) {
getPhotosByMd5sResponse.setRequestId(context.stringValue("GetPhotosByMd5sResponse.RequestId"));
getPhotosByMd5sResponse.setCode(context.stringValue("GetPhotosByMd5sResponse.Code"));
getPhotosByMd5sResponse.setMessage(context.stringValue("GetPhotosByMd5sResponse.Message"));
getPhotosByMd5sResponse.setAction(context.stringValue("GetPhotosByMd5sResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("GetPhotosByMd5sResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("GetPhotosByMd5sResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("GetPhotosByMd5sResponse.Photos["+ i +"].Remark"));
photo.setSize(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].TakenAt"));
photo.setShareExpireTime(context.longValue("GetPhotosByMd5sResponse.Photos["+ i +"].ShareExpireTime"));
photos.add(photo);
}
getPhotosByMd5sResponse.setPhotos(photos);
return getPhotosByMd5sResponse;
}
}
|
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/GetPhotosResponseUnmarshaller.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.GetPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetPhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetPhotosResponseUnmarshaller {
public static GetPhotosResponse unmarshall(GetPhotosResponse getPhotosResponse, UnmarshallerContext context) {
getPhotosResponse.setRequestId(context.stringValue("GetPhotosResponse.RequestId"));
getPhotosResponse.setCode(context.stringValue("GetPhotosResponse.Code"));
getPhotosResponse.setMessage(context.stringValue("GetPhotosResponse.Message"));
getPhotosResponse.setAction(context.stringValue("GetPhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("GetPhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("GetPhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("GetPhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("GetPhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("GetPhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("GetPhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("GetPhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("GetPhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("GetPhotosResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("GetPhotosResponse.Photos["+ i +"].Remark"));
photo.setWidth(context.longValue("GetPhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("GetPhotosResponse.Photos["+ i +"].Height"));
photo.setSize(context.longValue("GetPhotosResponse.Photos["+ i +"].Size"));
photo.setCtime(context.longValue("GetPhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("GetPhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("GetPhotosResponse.Photos["+ i +"].TakenAt"));
photo.setInactiveTime(context.longValue("GetPhotosResponse.Photos["+ i +"].InactiveTime"));
photo.setShareExpireTime(context.longValue("GetPhotosResponse.Photos["+ i +"].ShareExpireTime"));
photo.setLike(context.longValue("GetPhotosResponse.Photos["+ i +"].Like"));
photos.add(photo);
}
getPhotosResponse.setPhotos(photos);
return getPhotosResponse;
}
}
|
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/GetPrivateAccessUrlsResponseUnmarshaller.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.GetPrivateAccessUrlsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetPrivateAccessUrlsResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetPrivateAccessUrlsResponseUnmarshaller {
public static GetPrivateAccessUrlsResponse unmarshall(GetPrivateAccessUrlsResponse getPrivateAccessUrlsResponse, UnmarshallerContext context) {
getPrivateAccessUrlsResponse.setRequestId(context.stringValue("GetPrivateAccessUrlsResponse.RequestId"));
getPrivateAccessUrlsResponse.setCode(context.stringValue("GetPrivateAccessUrlsResponse.Code"));
getPrivateAccessUrlsResponse.setMessage(context.stringValue("GetPrivateAccessUrlsResponse.Message"));
getPrivateAccessUrlsResponse.setAction(context.stringValue("GetPrivateAccessUrlsResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("GetPrivateAccessUrlsResponse.Results.Length"); i++) {
Result result = new Result();
result.setCode(context.stringValue("GetPrivateAccessUrlsResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("GetPrivateAccessUrlsResponse.Results["+ i +"].Message"));
result.setPhotoId(context.longValue("GetPrivateAccessUrlsResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("GetPrivateAccessUrlsResponse.Results["+ i +"].PhotoIdStr"));
result.setAccessUrl(context.stringValue("GetPrivateAccessUrlsResponse.Results["+ i +"].AccessUrl"));
results.add(result);
}
getPrivateAccessUrlsResponse.setResults(results);
return getPrivateAccessUrlsResponse;
}
}
|
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/GetPublicAccessUrlsResponseUnmarshaller.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.GetPublicAccessUrlsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetPublicAccessUrlsResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetPublicAccessUrlsResponseUnmarshaller {
public static GetPublicAccessUrlsResponse unmarshall(GetPublicAccessUrlsResponse getPublicAccessUrlsResponse, UnmarshallerContext context) {
getPublicAccessUrlsResponse.setRequestId(context.stringValue("GetPublicAccessUrlsResponse.RequestId"));
getPublicAccessUrlsResponse.setCode(context.stringValue("GetPublicAccessUrlsResponse.Code"));
getPublicAccessUrlsResponse.setMessage(context.stringValue("GetPublicAccessUrlsResponse.Message"));
getPublicAccessUrlsResponse.setAction(context.stringValue("GetPublicAccessUrlsResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("GetPublicAccessUrlsResponse.Results.Length"); i++) {
Result result = new Result();
result.setCode(context.stringValue("GetPublicAccessUrlsResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("GetPublicAccessUrlsResponse.Results["+ i +"].Message"));
result.setPhotoId(context.longValue("GetPublicAccessUrlsResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("GetPublicAccessUrlsResponse.Results["+ i +"].PhotoIdStr"));
result.setAccessUrl(context.stringValue("GetPublicAccessUrlsResponse.Results["+ i +"].AccessUrl"));
results.add(result);
}
getPublicAccessUrlsResponse.setResults(results);
return getPublicAccessUrlsResponse;
}
}
|
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/GetQuotaResponseUnmarshaller.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.GetQuotaResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetQuotaResponse.Quota;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetQuotaResponseUnmarshaller {
public static GetQuotaResponse unmarshall(GetQuotaResponse getQuotaResponse, UnmarshallerContext context) {
getQuotaResponse.setRequestId(context.stringValue("GetQuotaResponse.RequestId"));
getQuotaResponse.setCode(context.stringValue("GetQuotaResponse.Code"));
getQuotaResponse.setMessage(context.stringValue("GetQuotaResponse.Message"));
getQuotaResponse.setAction(context.stringValue("GetQuotaResponse.Action"));
Quota quota = new Quota();
quota.setTotalQuota(context.longValue("GetQuotaResponse.Quota.TotalQuota"));
quota.setFacesCount(context.integerValue("GetQuotaResponse.Quota.FacesCount"));
quota.setPhotosCount(context.integerValue("GetQuotaResponse.Quota.PhotosCount"));
quota.setUsedQuota(context.longValue("GetQuotaResponse.Quota.UsedQuota"));
quota.setVideosCount(context.integerValue("GetQuotaResponse.Quota.VideosCount"));
getQuotaResponse.setQuota(quota);
return getQuotaResponse;
}
}
|
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/GetSimilarPhotosResponseUnmarshaller.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.GetSimilarPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetSimilarPhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetSimilarPhotosResponseUnmarshaller {
public static GetSimilarPhotosResponse unmarshall(GetSimilarPhotosResponse getSimilarPhotosResponse, UnmarshallerContext context) {
getSimilarPhotosResponse.setRequestId(context.stringValue("GetSimilarPhotosResponse.RequestId"));
getSimilarPhotosResponse.setCode(context.stringValue("GetSimilarPhotosResponse.Code"));
getSimilarPhotosResponse.setMessage(context.stringValue("GetSimilarPhotosResponse.Message"));
getSimilarPhotosResponse.setAction(context.stringValue("GetSimilarPhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("GetSimilarPhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("GetSimilarPhotosResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("GetSimilarPhotosResponse.Photos["+ i +"].Remark"));
photo.setSize(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].TakenAt"));
photo.setInactiveTime(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].InactiveTime"));
photo.setShareExpireTime(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].ShareExpireTime"));
photo.setLike(context.longValue("GetSimilarPhotosResponse.Photos["+ i +"].Like"));
photos.add(photo);
}
getSimilarPhotosResponse.setPhotos(photos);
return getSimilarPhotosResponse;
}
}
|
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/GetThumbnailResponseUnmarshaller.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.GetThumbnailResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetThumbnailResponseUnmarshaller {
public static GetThumbnailResponse unmarshall(GetThumbnailResponse getThumbnailResponse, UnmarshallerContext context) {
getThumbnailResponse.setRequestId(context.stringValue("GetThumbnailResponse.RequestId"));
getThumbnailResponse.setCode(context.stringValue("GetThumbnailResponse.Code"));
getThumbnailResponse.setMessage(context.stringValue("GetThumbnailResponse.Message"));
getThumbnailResponse.setThumbnailUrl(context.stringValue("GetThumbnailResponse.ThumbnailUrl"));
getThumbnailResponse.setAction(context.stringValue("GetThumbnailResponse.Action"));
return getThumbnailResponse;
}
}
|
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/GetThumbnailsResponseUnmarshaller.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.GetThumbnailsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.GetThumbnailsResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetThumbnailsResponseUnmarshaller {
public static GetThumbnailsResponse unmarshall(GetThumbnailsResponse getThumbnailsResponse, UnmarshallerContext context) {
getThumbnailsResponse.setRequestId(context.stringValue("GetThumbnailsResponse.RequestId"));
getThumbnailsResponse.setCode(context.stringValue("GetThumbnailsResponse.Code"));
getThumbnailsResponse.setMessage(context.stringValue("GetThumbnailsResponse.Message"));
getThumbnailsResponse.setAction(context.stringValue("GetThumbnailsResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("GetThumbnailsResponse.Results.Length"); i++) {
Result result = new Result();
result.setCode(context.stringValue("GetThumbnailsResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("GetThumbnailsResponse.Results["+ i +"].Message"));
result.setPhotoId(context.longValue("GetThumbnailsResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("GetThumbnailsResponse.Results["+ i +"].PhotoIdStr"));
result.setThumbnailUrl(context.stringValue("GetThumbnailsResponse.Results["+ i +"].ThumbnailUrl"));
results.add(result);
}
getThumbnailsResponse.setResults(results);
return getThumbnailsResponse;
}
}
|
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/GetVideoCoverResponseUnmarshaller.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.GetVideoCoverResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetVideoCoverResponseUnmarshaller {
public static GetVideoCoverResponse unmarshall(GetVideoCoverResponse getVideoCoverResponse, UnmarshallerContext context) {
getVideoCoverResponse.setRequestId(context.stringValue("GetVideoCoverResponse.RequestId"));
getVideoCoverResponse.setCode(context.stringValue("GetVideoCoverResponse.Code"));
getVideoCoverResponse.setMessage(context.stringValue("GetVideoCoverResponse.Message"));
getVideoCoverResponse.setVideoCoverUrl(context.stringValue("GetVideoCoverResponse.VideoCoverUrl"));
getVideoCoverResponse.setAction(context.stringValue("GetVideoCoverResponse.Action"));
return getVideoCoverResponse;
}
}
|
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/InactivatePhotosResponseUnmarshaller.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.InactivatePhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.InactivatePhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class InactivatePhotosResponseUnmarshaller {
public static InactivatePhotosResponse unmarshall(InactivatePhotosResponse inactivatePhotosResponse, UnmarshallerContext context) {
inactivatePhotosResponse.setRequestId(context.stringValue("InactivatePhotosResponse.RequestId"));
inactivatePhotosResponse.setCode(context.stringValue("InactivatePhotosResponse.Code"));
inactivatePhotosResponse.setMessage(context.stringValue("InactivatePhotosResponse.Message"));
inactivatePhotosResponse.setAction(context.stringValue("InactivatePhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("InactivatePhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("InactivatePhotosResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("InactivatePhotosResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("InactivatePhotosResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("InactivatePhotosResponse.Results["+ i +"].Message"));
results.add(result);
}
inactivatePhotosResponse.setResults(results);
return inactivatePhotosResponse;
}
}
|
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/LikePhotoResponseUnmarshaller.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.LikePhotoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class LikePhotoResponseUnmarshaller {
public static LikePhotoResponse unmarshall(LikePhotoResponse likePhotoResponse, UnmarshallerContext context) {
likePhotoResponse.setRequestId(context.stringValue("LikePhotoResponse.RequestId"));
likePhotoResponse.setCode(context.stringValue("LikePhotoResponse.Code"));
likePhotoResponse.setMessage(context.stringValue("LikePhotoResponse.Message"));
likePhotoResponse.setAction(context.stringValue("LikePhotoResponse.Action"));
return likePhotoResponse;
}
}
|
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/ListAlbumPhotosResponseUnmarshaller.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.ListAlbumPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListAlbumPhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAlbumPhotosResponseUnmarshaller {
public static ListAlbumPhotosResponse unmarshall(ListAlbumPhotosResponse listAlbumPhotosResponse, UnmarshallerContext context) {
listAlbumPhotosResponse.setRequestId(context.stringValue("ListAlbumPhotosResponse.RequestId"));
listAlbumPhotosResponse.setCode(context.stringValue("ListAlbumPhotosResponse.Code"));
listAlbumPhotosResponse.setMessage(context.stringValue("ListAlbumPhotosResponse.Message"));
listAlbumPhotosResponse.setNextCursor(context.stringValue("ListAlbumPhotosResponse.NextCursor"));
listAlbumPhotosResponse.setTotalCount(context.integerValue("ListAlbumPhotosResponse.TotalCount"));
listAlbumPhotosResponse.setAction(context.stringValue("ListAlbumPhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("ListAlbumPhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setPhotoId(context.longValue("ListAlbumPhotosResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("ListAlbumPhotosResponse.Results["+ i +"].PhotoIdStr"));
result.setMtime(context.longValue("ListAlbumPhotosResponse.Results["+ i +"].Mtime"));
result.setState(context.stringValue("ListAlbumPhotosResponse.Results["+ i +"].State"));
results.add(result);
}
listAlbumPhotosResponse.setResults(results);
return listAlbumPhotosResponse;
}
}
|
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/ListAlbumsResponseUnmarshaller.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.ListAlbumsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListAlbumsResponse.Album;
import com.aliyuncs.cloudphoto.model.v20170711.ListAlbumsResponse.Album.Cover;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAlbumsResponseUnmarshaller {
public static ListAlbumsResponse unmarshall(ListAlbumsResponse listAlbumsResponse, UnmarshallerContext context) {
listAlbumsResponse.setRequestId(context.stringValue("ListAlbumsResponse.RequestId"));
listAlbumsResponse.setCode(context.stringValue("ListAlbumsResponse.Code"));
listAlbumsResponse.setMessage(context.stringValue("ListAlbumsResponse.Message"));
listAlbumsResponse.setNextCursor(context.stringValue("ListAlbumsResponse.NextCursor"));
listAlbumsResponse.setTotalCount(context.integerValue("ListAlbumsResponse.TotalCount"));
listAlbumsResponse.setAction(context.stringValue("ListAlbumsResponse.Action"));
List<Album> albums = new ArrayList<Album>();
for (int i = 0; i < context.lengthValue("ListAlbumsResponse.Albums.Length"); i++) {
Album album = new Album();
album.setId(context.longValue("ListAlbumsResponse.Albums["+ i +"].Id"));
album.setIdStr(context.stringValue("ListAlbumsResponse.Albums["+ i +"].IdStr"));
album.setName(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Name"));
album.setState(context.stringValue("ListAlbumsResponse.Albums["+ i +"].State"));
album.setRemark(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Remark"));
album.setPhotosCount(context.longValue("ListAlbumsResponse.Albums["+ i +"].PhotosCount"));
album.setCtime(context.longValue("ListAlbumsResponse.Albums["+ i +"].Ctime"));
album.setMtime(context.longValue("ListAlbumsResponse.Albums["+ i +"].Mtime"));
Cover cover = new Cover();
cover.setId(context.longValue("ListAlbumsResponse.Albums["+ i +"].Cover.Id"));
cover.setIdStr(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Cover.IdStr"));
cover.setTitle(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Cover.Title"));
cover.setFileId(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Cover.FileId"));
cover.setState(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Cover.State"));
cover.setMd5(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Cover.Md5"));
cover.setIsVideo(context.booleanValue("ListAlbumsResponse.Albums["+ i +"].Cover.IsVideo"));
cover.setRemark(context.stringValue("ListAlbumsResponse.Albums["+ i +"].Cover.Remark"));
cover.setWidth(context.longValue("ListAlbumsResponse.Albums["+ i +"].Cover.Width"));
cover.setHeight(context.longValue("ListAlbumsResponse.Albums["+ i +"].Cover.Height"));
cover.setCtime(context.longValue("ListAlbumsResponse.Albums["+ i +"].Cover.Ctime"));
cover.setMtime(context.longValue("ListAlbumsResponse.Albums["+ i +"].Cover.Mtime"));
album.setCover(cover);
albums.add(album);
}
listAlbumsResponse.setAlbums(albums);
return listAlbumsResponse;
}
}
|
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/ListEventsResponseUnmarshaller.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.ListEventsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListEventsResponse.Event;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListEventsResponseUnmarshaller {
public static ListEventsResponse unmarshall(ListEventsResponse listEventsResponse, UnmarshallerContext context) {
listEventsResponse.setRequestId(context.stringValue("ListEventsResponse.RequestId"));
listEventsResponse.setCode(context.stringValue("ListEventsResponse.Code"));
listEventsResponse.setMessage(context.stringValue("ListEventsResponse.Message"));
listEventsResponse.setNextCursor(context.stringValue("ListEventsResponse.NextCursor"));
listEventsResponse.setTotalCount(context.integerValue("ListEventsResponse.TotalCount"));
listEventsResponse.setAction(context.stringValue("ListEventsResponse.Action"));
List<Event> events = new ArrayList<Event>();
for (int i = 0; i < context.lengthValue("ListEventsResponse.Events.Length"); i++) {
Event event = new Event();
event.setId(context.longValue("ListEventsResponse.Events["+ i +"].Id"));
event.setIdStr(context.stringValue("ListEventsResponse.Events["+ i +"].IdStr"));
event.setTitle(context.stringValue("ListEventsResponse.Events["+ i +"].Title"));
event.setBannerPhotoId(context.stringValue("ListEventsResponse.Events["+ i +"].BannerPhotoId"));
event.setIdentity(context.stringValue("ListEventsResponse.Events["+ i +"].Identity"));
event.setSplashPhotoId(context.stringValue("ListEventsResponse.Events["+ i +"].SplashPhotoId"));
event.setState(context.stringValue("ListEventsResponse.Events["+ i +"].State"));
event.setWeixinTitle(context.stringValue("ListEventsResponse.Events["+ i +"].WeixinTitle"));
event.setWatermarkPhotoId(context.stringValue("ListEventsResponse.Events["+ i +"].WatermarkPhotoId"));
event.setStartAt(context.longValue("ListEventsResponse.Events["+ i +"].StartAt"));
event.setEndAt(context.longValue("ListEventsResponse.Events["+ i +"].EndAt"));
event.setCtime(context.longValue("ListEventsResponse.Events["+ i +"].Ctime"));
event.setMtime(context.longValue("ListEventsResponse.Events["+ i +"].Mtime"));
event.setViewsCount(context.longValue("ListEventsResponse.Events["+ i +"].ViewsCount"));
event.setLibraryId(context.stringValue("ListEventsResponse.Events["+ i +"].LibraryId"));
event.setIdStr1(context.stringValue("ListEventsResponse.Events["+ i +"].IdStr"));
events.add(event);
}
listEventsResponse.setEvents(events);
return listEventsResponse;
}
}
|
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/ListFacePhotosResponseUnmarshaller.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.ListFacePhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListFacePhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFacePhotosResponseUnmarshaller {
public static ListFacePhotosResponse unmarshall(ListFacePhotosResponse listFacePhotosResponse, UnmarshallerContext context) {
listFacePhotosResponse.setRequestId(context.stringValue("ListFacePhotosResponse.RequestId"));
listFacePhotosResponse.setCode(context.stringValue("ListFacePhotosResponse.Code"));
listFacePhotosResponse.setMessage(context.stringValue("ListFacePhotosResponse.Message"));
listFacePhotosResponse.setNextCursor(context.stringValue("ListFacePhotosResponse.NextCursor"));
listFacePhotosResponse.setTotalCount(context.integerValue("ListFacePhotosResponse.TotalCount"));
listFacePhotosResponse.setAction(context.stringValue("ListFacePhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("ListFacePhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setPhotoId(context.longValue("ListFacePhotosResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("ListFacePhotosResponse.Results["+ i +"].PhotoIdStr"));
result.setMtime(context.longValue("ListFacePhotosResponse.Results["+ i +"].Mtime"));
result.setState(context.stringValue("ListFacePhotosResponse.Results["+ i +"].State"));
results.add(result);
}
listFacePhotosResponse.setResults(results);
return listFacePhotosResponse;
}
}
|
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/ListFacesResponseUnmarshaller.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.ListFacesResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListFacesResponse.Face;
import com.aliyuncs.cloudphoto.model.v20170711.ListFacesResponse.Face.Cover;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFacesResponseUnmarshaller {
public static ListFacesResponse unmarshall(ListFacesResponse listFacesResponse, UnmarshallerContext context) {
listFacesResponse.setRequestId(context.stringValue("ListFacesResponse.RequestId"));
listFacesResponse.setCode(context.stringValue("ListFacesResponse.Code"));
listFacesResponse.setMessage(context.stringValue("ListFacesResponse.Message"));
listFacesResponse.setNextCursor(context.stringValue("ListFacesResponse.NextCursor"));
listFacesResponse.setTotalCount(context.integerValue("ListFacesResponse.TotalCount"));
listFacesResponse.setAction(context.stringValue("ListFacesResponse.Action"));
List<Face> faces = new ArrayList<Face>();
for (int i = 0; i < context.lengthValue("ListFacesResponse.Faces.Length"); i++) {
Face face = new Face();
face.setId(context.longValue("ListFacesResponse.Faces["+ i +"].Id"));
face.setIdStr(context.stringValue("ListFacesResponse.Faces["+ i +"].IdStr"));
face.setName(context.stringValue("ListFacesResponse.Faces["+ i +"].Name"));
face.setPhotosCount(context.integerValue("ListFacesResponse.Faces["+ i +"].PhotosCount"));
face.setState(context.stringValue("ListFacesResponse.Faces["+ i +"].State"));
face.setIsMe(context.booleanValue("ListFacesResponse.Faces["+ i +"].IsMe"));
face.setCtime(context.longValue("ListFacesResponse.Faces["+ i +"].Ctime"));
face.setMtime(context.longValue("ListFacesResponse.Faces["+ i +"].Mtime"));
List<String> axis = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("ListFacesResponse.Faces["+ i +"].Axis.Length"); j++) {
axis.add(context.stringValue("ListFacesResponse.Faces["+ i +"].Axis["+ j +"]"));
}
face.setAxis(axis);
Cover cover = new Cover();
cover.setId(context.longValue("ListFacesResponse.Faces["+ i +"].Cover.Id"));
cover.setIdStr(context.stringValue("ListFacesResponse.Faces["+ i +"].Cover.IdStr"));
cover.setTitle(context.stringValue("ListFacesResponse.Faces["+ i +"].Cover.Title"));
cover.setFileId(context.stringValue("ListFacesResponse.Faces["+ i +"].Cover.FileId"));
cover.setState(context.stringValue("ListFacesResponse.Faces["+ i +"].Cover.State"));
cover.setMd5(context.stringValue("ListFacesResponse.Faces["+ i +"].Cover.Md5"));
cover.setIsVideo(context.booleanValue("ListFacesResponse.Faces["+ i +"].Cover.IsVideo"));
cover.setWidth(context.longValue("ListFacesResponse.Faces["+ i +"].Cover.Width"));
cover.setHeight(context.longValue("ListFacesResponse.Faces["+ i +"].Cover.Height"));
cover.setCtime(context.longValue("ListFacesResponse.Faces["+ i +"].Cover.Ctime"));
cover.setMtime(context.longValue("ListFacesResponse.Faces["+ i +"].Cover.Mtime"));
cover.setRemark(context.stringValue("ListFacesResponse.Faces["+ i +"].Cover.Remark"));
face.setCover(cover);
faces.add(face);
}
listFacesResponse.setFaces(faces);
return listFacesResponse;
}
}
|
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/ListMomentPhotosResponseUnmarshaller.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.ListMomentPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListMomentPhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListMomentPhotosResponseUnmarshaller {
public static ListMomentPhotosResponse unmarshall(ListMomentPhotosResponse listMomentPhotosResponse, UnmarshallerContext context) {
listMomentPhotosResponse.setRequestId(context.stringValue("ListMomentPhotosResponse.RequestId"));
listMomentPhotosResponse.setCode(context.stringValue("ListMomentPhotosResponse.Code"));
listMomentPhotosResponse.setMessage(context.stringValue("ListMomentPhotosResponse.Message"));
listMomentPhotosResponse.setNextCursor(context.stringValue("ListMomentPhotosResponse.NextCursor"));
listMomentPhotosResponse.setTotalCount(context.integerValue("ListMomentPhotosResponse.TotalCount"));
listMomentPhotosResponse.setAction(context.stringValue("ListMomentPhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("ListMomentPhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setPhotoId(context.longValue("ListMomentPhotosResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("ListMomentPhotosResponse.Results["+ i +"].PhotoIdStr"));
result.setState(context.stringValue("ListMomentPhotosResponse.Results["+ i +"].State"));
results.add(result);
}
listMomentPhotosResponse.setResults(results);
return listMomentPhotosResponse;
}
}
|
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/ListMomentsResponseUnmarshaller.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.ListMomentsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListMomentsResponse.Moment;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListMomentsResponseUnmarshaller {
public static ListMomentsResponse unmarshall(ListMomentsResponse listMomentsResponse, UnmarshallerContext context) {
listMomentsResponse.setRequestId(context.stringValue("ListMomentsResponse.RequestId"));
listMomentsResponse.setCode(context.stringValue("ListMomentsResponse.Code"));
listMomentsResponse.setMessage(context.stringValue("ListMomentsResponse.Message"));
listMomentsResponse.setNextCursor(context.stringValue("ListMomentsResponse.NextCursor"));
listMomentsResponse.setTotalCount(context.integerValue("ListMomentsResponse.TotalCount"));
listMomentsResponse.setAction(context.stringValue("ListMomentsResponse.Action"));
List<Moment> moments = new ArrayList<Moment>();
for (int i = 0; i < context.lengthValue("ListMomentsResponse.Moments.Length"); i++) {
Moment moment = new Moment();
moment.setId(context.longValue("ListMomentsResponse.Moments["+ i +"].Id"));
moment.setIdStr(context.stringValue("ListMomentsResponse.Moments["+ i +"].IdStr"));
moment.setLocationName(context.stringValue("ListMomentsResponse.Moments["+ i +"].LocationName"));
moment.setPhotosCount(context.integerValue("ListMomentsResponse.Moments["+ i +"].PhotosCount"));
moment.setState(context.stringValue("ListMomentsResponse.Moments["+ i +"].State"));
moment.setTakenAt(context.longValue("ListMomentsResponse.Moments["+ i +"].TakenAt"));
moment.setCtime(context.longValue("ListMomentsResponse.Moments["+ i +"].Ctime"));
moment.setMtime(context.longValue("ListMomentsResponse.Moments["+ i +"].Mtime"));
moments.add(moment);
}
listMomentsResponse.setMoments(moments);
return listMomentsResponse;
}
}
|
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/ListPhotoFacesResponseUnmarshaller.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.ListPhotoFacesResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListPhotoFacesResponse.Face;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListPhotoFacesResponseUnmarshaller {
public static ListPhotoFacesResponse unmarshall(ListPhotoFacesResponse listPhotoFacesResponse, UnmarshallerContext context) {
listPhotoFacesResponse.setRequestId(context.stringValue("ListPhotoFacesResponse.RequestId"));
listPhotoFacesResponse.setCode(context.stringValue("ListPhotoFacesResponse.Code"));
listPhotoFacesResponse.setMessage(context.stringValue("ListPhotoFacesResponse.Message"));
listPhotoFacesResponse.setAction(context.stringValue("ListPhotoFacesResponse.Action"));
List<Face> faces = new ArrayList<Face>();
for (int i = 0; i < context.lengthValue("ListPhotoFacesResponse.Faces.Length"); i++) {
Face face = new Face();
face.setFaceId(context.longValue("ListPhotoFacesResponse.Faces["+ i +"].FaceId"));
face.setFaceIdStr(context.stringValue("ListPhotoFacesResponse.Faces["+ i +"].FaceIdStr"));
face.setFaceName(context.stringValue("ListPhotoFacesResponse.Faces["+ i +"].FaceName"));
List<String> axis = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("ListPhotoFacesResponse.Faces["+ i +"].Axis.Length"); j++) {
axis.add(context.stringValue("ListPhotoFacesResponse.Faces["+ i +"].Axis["+ j +"]"));
}
face.setAxis(axis);
faces.add(face);
}
listPhotoFacesResponse.setFaces(faces);
return listPhotoFacesResponse;
}
}
|
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/ListPhotoStoresResponseUnmarshaller.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.ListPhotoStoresResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListPhotoStoresResponse.PhotoStore;
import com.aliyuncs.cloudphoto.model.v20170711.ListPhotoStoresResponse.PhotoStore.Bucket;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListPhotoStoresResponseUnmarshaller {
public static ListPhotoStoresResponse unmarshall(ListPhotoStoresResponse listPhotoStoresResponse, UnmarshallerContext context) {
listPhotoStoresResponse.setRequestId(context.stringValue("ListPhotoStoresResponse.RequestId"));
listPhotoStoresResponse.setCode(context.stringValue("ListPhotoStoresResponse.Code"));
listPhotoStoresResponse.setMessage(context.stringValue("ListPhotoStoresResponse.Message"));
listPhotoStoresResponse.setAction(context.stringValue("ListPhotoStoresResponse.Action"));
List<PhotoStore> photoStores = new ArrayList<PhotoStore>();
for (int i = 0; i < context.lengthValue("ListPhotoStoresResponse.PhotoStores.Length"); i++) {
PhotoStore photoStore = new PhotoStore();
photoStore.setId(context.longValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Id"));
photoStore.setIdStr(context.stringValue("ListPhotoStoresResponse.PhotoStores["+ i +"].IdStr"));
photoStore.setName(context.stringValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Name"));
photoStore.setRemark(context.stringValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Remark"));
photoStore.setAutoCleanEnabled(context.booleanValue("ListPhotoStoresResponse.PhotoStores["+ i +"].AutoCleanEnabled"));
photoStore.setAutoCleanDays(context.integerValue("ListPhotoStoresResponse.PhotoStores["+ i +"].AutoCleanDays"));
photoStore.setDefaultQuota(context.longValue("ListPhotoStoresResponse.PhotoStores["+ i +"].DefaultQuota"));
photoStore.setCtime(context.longValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Ctime"));
photoStore.setMtime(context.longValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Mtime"));
List<Bucket> buckets = new ArrayList<Bucket>();
for (int j = 0; j < context.lengthValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Buckets.Length"); j++) {
Bucket bucket = new Bucket();
bucket.setName(context.stringValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Buckets["+ j +"].Name"));
bucket.setRegion(context.stringValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Buckets["+ j +"].Region"));
bucket.setState(context.stringValue("ListPhotoStoresResponse.PhotoStores["+ i +"].Buckets["+ j +"].State"));
buckets.add(bucket);
}
photoStore.setBuckets(buckets);
photoStores.add(photoStore);
}
listPhotoStoresResponse.setPhotoStores(photoStores);
return listPhotoStoresResponse;
}
}
|
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/ListPhotoTagsResponseUnmarshaller.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.ListPhotoTagsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListPhotoTagsResponse.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListPhotoTagsResponseUnmarshaller {
public static ListPhotoTagsResponse unmarshall(ListPhotoTagsResponse listPhotoTagsResponse, UnmarshallerContext context) {
listPhotoTagsResponse.setRequestId(context.stringValue("ListPhotoTagsResponse.RequestId"));
listPhotoTagsResponse.setCode(context.stringValue("ListPhotoTagsResponse.Code"));
listPhotoTagsResponse.setMessage(context.stringValue("ListPhotoTagsResponse.Message"));
listPhotoTagsResponse.setAction(context.stringValue("ListPhotoTagsResponse.Action"));
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < context.lengthValue("ListPhotoTagsResponse.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setId(context.longValue("ListPhotoTagsResponse.Tags["+ i +"].Id"));
tag.setIdStr(context.stringValue("ListPhotoTagsResponse.Tags["+ i +"].IdStr"));
tag.setIsSubTag(context.booleanValue("ListPhotoTagsResponse.Tags["+ i +"].IsSubTag"));
tag.setName(context.stringValue("ListPhotoTagsResponse.Tags["+ i +"].Name"));
tag.setParentTag(context.stringValue("ListPhotoTagsResponse.Tags["+ i +"].ParentTag"));
tags.add(tag);
}
listPhotoTagsResponse.setTags(tags);
return listPhotoTagsResponse;
}
}
|
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/ListPhotosResponseUnmarshaller.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.ListPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListPhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListPhotosResponseUnmarshaller {
public static ListPhotosResponse unmarshall(ListPhotosResponse listPhotosResponse, UnmarshallerContext context) {
listPhotosResponse.setRequestId(context.stringValue("ListPhotosResponse.RequestId"));
listPhotosResponse.setCode(context.stringValue("ListPhotosResponse.Code"));
listPhotosResponse.setMessage(context.stringValue("ListPhotosResponse.Message"));
listPhotosResponse.setNextCursor(context.stringValue("ListPhotosResponse.NextCursor"));
listPhotosResponse.setTotalCount(context.integerValue("ListPhotosResponse.TotalCount"));
listPhotosResponse.setAction(context.stringValue("ListPhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("ListPhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("ListPhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("ListPhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("ListPhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("ListPhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("ListPhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("ListPhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("ListPhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("ListPhotosResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("ListPhotosResponse.Photos["+ i +"].Remark"));
photo.setSize(context.longValue("ListPhotosResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("ListPhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("ListPhotosResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("ListPhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("ListPhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("ListPhotosResponse.Photos["+ i +"].TakenAt"));
photo.setInactiveTime(context.longValue("ListPhotosResponse.Photos["+ i +"].InactiveTime"));
photo.setShareExpireTime(context.longValue("ListPhotosResponse.Photos["+ i +"].ShareExpireTime"));
photos.add(photo);
}
listPhotosResponse.setPhotos(photos);
return listPhotosResponse;
}
}
|
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/ListRegisteredTagsResponseUnmarshaller.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.ListRegisteredTagsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListRegisteredTagsResponse.RegisteredTag;
import com.aliyuncs.cloudphoto.model.v20170711.ListRegisteredTagsResponse.RegisteredTag.TagValue;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRegisteredTagsResponseUnmarshaller {
public static ListRegisteredTagsResponse unmarshall(ListRegisteredTagsResponse listRegisteredTagsResponse, UnmarshallerContext context) {
listRegisteredTagsResponse.setRequestId(context.stringValue("ListRegisteredTagsResponse.RequestId"));
listRegisteredTagsResponse.setCode(context.stringValue("ListRegisteredTagsResponse.Code"));
listRegisteredTagsResponse.setMessage(context.stringValue("ListRegisteredTagsResponse.Message"));
listRegisteredTagsResponse.setAction(context.stringValue("ListRegisteredTagsResponse.Action"));
List<RegisteredTag> registeredTags = new ArrayList<RegisteredTag>();
for (int i = 0; i < context.lengthValue("ListRegisteredTagsResponse.RegisteredTags.Length"); i++) {
RegisteredTag registeredTag = new RegisteredTag();
registeredTag.setTagKey(context.stringValue("ListRegisteredTagsResponse.RegisteredTags["+ i +"].TagKey"));
List<TagValue> tagValues = new ArrayList<TagValue>();
for (int j = 0; j < context.lengthValue("ListRegisteredTagsResponse.RegisteredTags["+ i +"].TagValues.Length"); j++) {
TagValue tagValue = new TagValue();
tagValue.setLang(context.stringValue("ListRegisteredTagsResponse.RegisteredTags["+ i +"].TagValues["+ j +"].Lang"));
tagValue.setText(context.stringValue("ListRegisteredTagsResponse.RegisteredTags["+ i +"].TagValues["+ j +"].Text"));
tagValues.add(tagValue);
}
registeredTag.setTagValues(tagValues);
registeredTags.add(registeredTag);
}
listRegisteredTagsResponse.setRegisteredTags(registeredTags);
return listRegisteredTagsResponse;
}
}
|
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/ListTagPhotosResponseUnmarshaller.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.ListTagPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListTagPhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagPhotosResponseUnmarshaller {
public static ListTagPhotosResponse unmarshall(ListTagPhotosResponse listTagPhotosResponse, UnmarshallerContext context) {
listTagPhotosResponse.setRequestId(context.stringValue("ListTagPhotosResponse.RequestId"));
listTagPhotosResponse.setCode(context.stringValue("ListTagPhotosResponse.Code"));
listTagPhotosResponse.setMessage(context.stringValue("ListTagPhotosResponse.Message"));
listTagPhotosResponse.setNextCursor(context.stringValue("ListTagPhotosResponse.NextCursor"));
listTagPhotosResponse.setTotalCount(context.integerValue("ListTagPhotosResponse.TotalCount"));
listTagPhotosResponse.setAction(context.stringValue("ListTagPhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("ListTagPhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setPhotoId(context.longValue("ListTagPhotosResponse.Results["+ i +"].PhotoId"));
result.setPhotoIdStr(context.stringValue("ListTagPhotosResponse.Results["+ i +"].PhotoIdStr"));
result.setState(context.stringValue("ListTagPhotosResponse.Results["+ i +"].State"));
results.add(result);
}
listTagPhotosResponse.setResults(results);
return listTagPhotosResponse;
}
}
|
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/ListTagsResponseUnmarshaller.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.ListTagsResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListTagsResponse.Tag;
import com.aliyuncs.cloudphoto.model.v20170711.ListTagsResponse.Tag.Cover;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagsResponseUnmarshaller {
public static ListTagsResponse unmarshall(ListTagsResponse listTagsResponse, UnmarshallerContext context) {
listTagsResponse.setRequestId(context.stringValue("ListTagsResponse.RequestId"));
listTagsResponse.setCode(context.stringValue("ListTagsResponse.Code"));
listTagsResponse.setMessage(context.stringValue("ListTagsResponse.Message"));
listTagsResponse.setAction(context.stringValue("ListTagsResponse.Action"));
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < context.lengthValue("ListTagsResponse.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setId(context.longValue("ListTagsResponse.Tags["+ i +"].Id"));
tag.setIdStr(context.stringValue("ListTagsResponse.Tags["+ i +"].IdStr"));
tag.setName(context.stringValue("ListTagsResponse.Tags["+ i +"].Name"));
tag.setIsSubTag(context.booleanValue("ListTagsResponse.Tags["+ i +"].IsSubTag"));
tag.setParentTag(context.stringValue("ListTagsResponse.Tags["+ i +"].ParentTag"));
Cover cover = new Cover();
cover.setId(context.longValue("ListTagsResponse.Tags["+ i +"].Cover.Id"));
cover.setIdStr(context.stringValue("ListTagsResponse.Tags["+ i +"].Cover.IdStr"));
cover.setTitle(context.stringValue("ListTagsResponse.Tags["+ i +"].Cover.Title"));
cover.setFileId(context.stringValue("ListTagsResponse.Tags["+ i +"].Cover.FileId"));
cover.setState(context.stringValue("ListTagsResponse.Tags["+ i +"].Cover.State"));
cover.setMd5(context.stringValue("ListTagsResponse.Tags["+ i +"].Cover.Md5"));
cover.setIsVideo(context.booleanValue("ListTagsResponse.Tags["+ i +"].Cover.IsVideo"));
cover.setRemark(context.stringValue("ListTagsResponse.Tags["+ i +"].Cover.Remark"));
cover.setWidth(context.longValue("ListTagsResponse.Tags["+ i +"].Cover.Width"));
cover.setHeight(context.longValue("ListTagsResponse.Tags["+ i +"].Cover.Height"));
cover.setCtime(context.longValue("ListTagsResponse.Tags["+ i +"].Cover.Ctime"));
cover.setMtime(context.longValue("ListTagsResponse.Tags["+ i +"].Cover.Mtime"));
tag.setCover(cover);
tags.add(tag);
}
listTagsResponse.setTags(tags);
return listTagsResponse;
}
}
|
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/ListTimeLinePhotosResponseUnmarshaller.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.ListTimeLinePhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListTimeLinePhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTimeLinePhotosResponseUnmarshaller {
public static ListTimeLinePhotosResponse unmarshall(ListTimeLinePhotosResponse listTimeLinePhotosResponse, UnmarshallerContext context) {
listTimeLinePhotosResponse.setRequestId(context.stringValue("ListTimeLinePhotosResponse.RequestId"));
listTimeLinePhotosResponse.setCode(context.stringValue("ListTimeLinePhotosResponse.Code"));
listTimeLinePhotosResponse.setMessage(context.stringValue("ListTimeLinePhotosResponse.Message"));
listTimeLinePhotosResponse.setTotalCount(context.integerValue("ListTimeLinePhotosResponse.TotalCount"));
listTimeLinePhotosResponse.setAction(context.stringValue("ListTimeLinePhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("ListTimeLinePhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("ListTimeLinePhotosResponse.Photos["+ i +"].IsVideo"));
photo.setRemark(context.stringValue("ListTimeLinePhotosResponse.Photos["+ i +"].Remark"));
photo.setSize(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].TakenAt"));
photo.setShareExpireTime(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].ShareExpireTime"));
photo.setLike(context.longValue("ListTimeLinePhotosResponse.Photos["+ i +"].Like"));
photos.add(photo);
}
listTimeLinePhotosResponse.setPhotos(photos);
return listTimeLinePhotosResponse;
}
}
|
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/ListTimeLinesResponseUnmarshaller.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.ListTimeLinesResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ListTimeLinesResponse.TimeLine;
import com.aliyuncs.cloudphoto.model.v20170711.ListTimeLinesResponse.TimeLine.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTimeLinesResponseUnmarshaller {
public static ListTimeLinesResponse unmarshall(ListTimeLinesResponse listTimeLinesResponse, UnmarshallerContext context) {
listTimeLinesResponse.setRequestId(context.stringValue("ListTimeLinesResponse.RequestId"));
listTimeLinesResponse.setCode(context.stringValue("ListTimeLinesResponse.Code"));
listTimeLinesResponse.setMessage(context.stringValue("ListTimeLinesResponse.Message"));
listTimeLinesResponse.setNextCursor(context.integerValue("ListTimeLinesResponse.NextCursor"));
listTimeLinesResponse.setAction(context.stringValue("ListTimeLinesResponse.Action"));
List<TimeLine> timeLines = new ArrayList<TimeLine>();
for (int i = 0; i < context.lengthValue("ListTimeLinesResponse.TimeLines.Length"); i++) {
TimeLine timeLine = new TimeLine();
timeLine.setStartTime(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].StartTime"));
timeLine.setEndTime(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].EndTime"));
timeLine.setTotalCount(context.integerValue("ListTimeLinesResponse.TimeLines["+ i +"].TotalCount"));
timeLine.setPhotosCount(context.integerValue("ListTimeLinesResponse.TimeLines["+ i +"].PhotosCount"));
List<Photo> photos = new ArrayList<Photo>();
for (int j = 0; j < context.lengthValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos.Length"); j++) {
Photo photo = new Photo();
photo.setId(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Id"));
photo.setIdStr(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].IdStr"));
photo.setTitle(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Title"));
photo.setLocation(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Location"));
photo.setFileId(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].FileId"));
photo.setState(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].State"));
photo.setMd5(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Md5"));
photo.setIsVideo(context.booleanValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].IsVideo"));
photo.setRemark(context.stringValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Remark"));
photo.setSize(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Size"));
photo.setWidth(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Width"));
photo.setHeight(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Height"));
photo.setCtime(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Ctime"));
photo.setMtime(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Mtime"));
photo.setTakenAt(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].TakenAt"));
photo.setShareExpireTime(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].ShareExpireTime"));
photo.setLike(context.longValue("ListTimeLinesResponse.TimeLines["+ i +"].Photos["+ j +"].Like"));
photos.add(photo);
}
timeLine.setPhotos(photos);
timeLines.add(timeLine);
}
listTimeLinesResponse.setTimeLines(timeLines);
return listTimeLinesResponse;
}
}
|
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/MergeFacesResponseUnmarshaller.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.MergeFacesResponse;
import com.aliyuncs.cloudphoto.model.v20170711.MergeFacesResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class MergeFacesResponseUnmarshaller {
public static MergeFacesResponse unmarshall(MergeFacesResponse mergeFacesResponse, UnmarshallerContext context) {
mergeFacesResponse.setRequestId(context.stringValue("MergeFacesResponse.RequestId"));
mergeFacesResponse.setCode(context.stringValue("MergeFacesResponse.Code"));
mergeFacesResponse.setMessage(context.stringValue("MergeFacesResponse.Message"));
mergeFacesResponse.setAction(context.stringValue("MergeFacesResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("MergeFacesResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("MergeFacesResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("MergeFacesResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("MergeFacesResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("MergeFacesResponse.Results["+ i +"].Message"));
results.add(result);
}
mergeFacesResponse.setResults(results);
return mergeFacesResponse;
}
}
|
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/MoveAlbumPhotosResponseUnmarshaller.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.MoveAlbumPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.MoveAlbumPhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class MoveAlbumPhotosResponseUnmarshaller {
public static MoveAlbumPhotosResponse unmarshall(MoveAlbumPhotosResponse moveAlbumPhotosResponse, UnmarshallerContext context) {
moveAlbumPhotosResponse.setRequestId(context.stringValue("MoveAlbumPhotosResponse.RequestId"));
moveAlbumPhotosResponse.setCode(context.stringValue("MoveAlbumPhotosResponse.Code"));
moveAlbumPhotosResponse.setMessage(context.stringValue("MoveAlbumPhotosResponse.Message"));
moveAlbumPhotosResponse.setAction(context.stringValue("MoveAlbumPhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("MoveAlbumPhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("MoveAlbumPhotosResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("MoveAlbumPhotosResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("MoveAlbumPhotosResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("MoveAlbumPhotosResponse.Results["+ i +"].Message"));
results.add(result);
}
moveAlbumPhotosResponse.setResults(results);
return moveAlbumPhotosResponse;
}
}
|
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/MoveFacePhotosResponseUnmarshaller.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.MoveFacePhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.MoveFacePhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class MoveFacePhotosResponseUnmarshaller {
public static MoveFacePhotosResponse unmarshall(MoveFacePhotosResponse moveFacePhotosResponse, UnmarshallerContext context) {
moveFacePhotosResponse.setRequestId(context.stringValue("MoveFacePhotosResponse.RequestId"));
moveFacePhotosResponse.setCode(context.stringValue("MoveFacePhotosResponse.Code"));
moveFacePhotosResponse.setMessage(context.stringValue("MoveFacePhotosResponse.Message"));
moveFacePhotosResponse.setAction(context.stringValue("MoveFacePhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("MoveFacePhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("MoveFacePhotosResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("MoveFacePhotosResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("MoveFacePhotosResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("MoveFacePhotosResponse.Results["+ i +"].Message"));
results.add(result);
}
moveFacePhotosResponse.setResults(results);
return moveFacePhotosResponse;
}
}
|
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/ReactivatePhotosResponseUnmarshaller.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.ReactivatePhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.ReactivatePhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ReactivatePhotosResponseUnmarshaller {
public static ReactivatePhotosResponse unmarshall(ReactivatePhotosResponse reactivatePhotosResponse, UnmarshallerContext context) {
reactivatePhotosResponse.setRequestId(context.stringValue("ReactivatePhotosResponse.RequestId"));
reactivatePhotosResponse.setCode(context.stringValue("ReactivatePhotosResponse.Code"));
reactivatePhotosResponse.setMessage(context.stringValue("ReactivatePhotosResponse.Message"));
reactivatePhotosResponse.setAction(context.stringValue("ReactivatePhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("ReactivatePhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("ReactivatePhotosResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("ReactivatePhotosResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("ReactivatePhotosResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("ReactivatePhotosResponse.Results["+ i +"].Message"));
results.add(result);
}
reactivatePhotosResponse.setResults(results);
return reactivatePhotosResponse;
}
}
|
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/RegisterPhotoResponseUnmarshaller.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.RegisterPhotoResponse;
import com.aliyuncs.cloudphoto.model.v20170711.RegisterPhotoResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class RegisterPhotoResponseUnmarshaller {
public static RegisterPhotoResponse unmarshall(RegisterPhotoResponse registerPhotoResponse, UnmarshallerContext context) {
registerPhotoResponse.setRequestId(context.stringValue("RegisterPhotoResponse.RequestId"));
registerPhotoResponse.setCode(context.stringValue("RegisterPhotoResponse.Code"));
registerPhotoResponse.setMessage(context.stringValue("RegisterPhotoResponse.Message"));
registerPhotoResponse.setAction(context.stringValue("RegisterPhotoResponse.Action"));
Photo photo = new Photo();
photo.setId(context.longValue("RegisterPhotoResponse.Photo.Id"));
photo.setIdStr(context.stringValue("RegisterPhotoResponse.Photo.IdStr"));
photo.setTitle(context.stringValue("RegisterPhotoResponse.Photo.Title"));
photo.setLocation(context.stringValue("RegisterPhotoResponse.Photo.Location"));
photo.setFileId(context.stringValue("RegisterPhotoResponse.Photo.FileId"));
photo.setState(context.stringValue("RegisterPhotoResponse.Photo.State"));
photo.setMd5(context.stringValue("RegisterPhotoResponse.Photo.Md5"));
photo.setIsVideo(context.booleanValue("RegisterPhotoResponse.Photo.IsVideo"));
photo.setSize(context.longValue("RegisterPhotoResponse.Photo.Size"));
photo.setRemark(context.stringValue("RegisterPhotoResponse.Photo.Remark"));
photo.setWidth(context.longValue("RegisterPhotoResponse.Photo.Width"));
photo.setHeight(context.longValue("RegisterPhotoResponse.Photo.Height"));
photo.setCtime(context.longValue("RegisterPhotoResponse.Photo.Ctime"));
photo.setMtime(context.longValue("RegisterPhotoResponse.Photo.Mtime"));
photo.setTakenAt(context.longValue("RegisterPhotoResponse.Photo.TakenAt"));
photo.setShareExpireTime(context.longValue("RegisterPhotoResponse.Photo.ShareExpireTime"));
registerPhotoResponse.setPhoto(photo);
return registerPhotoResponse;
}
}
|
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/RegisterTagResponseUnmarshaller.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.RegisterTagResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RegisterTagResponseUnmarshaller {
public static RegisterTagResponse unmarshall(RegisterTagResponse registerTagResponse, UnmarshallerContext context) {
registerTagResponse.setRequestId(context.stringValue("RegisterTagResponse.RequestId"));
registerTagResponse.setCode(context.stringValue("RegisterTagResponse.Code"));
registerTagResponse.setMessage(context.stringValue("RegisterTagResponse.Message"));
registerTagResponse.setAction(context.stringValue("RegisterTagResponse.Action"));
return registerTagResponse;
}
}
|
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/RemoveAlbumPhotosResponseUnmarshaller.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.RemoveAlbumPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.RemoveAlbumPhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveAlbumPhotosResponseUnmarshaller {
public static RemoveAlbumPhotosResponse unmarshall(RemoveAlbumPhotosResponse removeAlbumPhotosResponse, UnmarshallerContext context) {
removeAlbumPhotosResponse.setRequestId(context.stringValue("RemoveAlbumPhotosResponse.RequestId"));
removeAlbumPhotosResponse.setCode(context.stringValue("RemoveAlbumPhotosResponse.Code"));
removeAlbumPhotosResponse.setMessage(context.stringValue("RemoveAlbumPhotosResponse.Message"));
removeAlbumPhotosResponse.setAction(context.stringValue("RemoveAlbumPhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("RemoveAlbumPhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("RemoveAlbumPhotosResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("RemoveAlbumPhotosResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("RemoveAlbumPhotosResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("RemoveAlbumPhotosResponse.Results["+ i +"].Message"));
results.add(result);
}
removeAlbumPhotosResponse.setResults(results);
return removeAlbumPhotosResponse;
}
}
|
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/RemoveFacePhotosResponseUnmarshaller.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.RemoveFacePhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.RemoveFacePhotosResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveFacePhotosResponseUnmarshaller {
public static RemoveFacePhotosResponse unmarshall(RemoveFacePhotosResponse removeFacePhotosResponse, UnmarshallerContext context) {
removeFacePhotosResponse.setRequestId(context.stringValue("RemoveFacePhotosResponse.RequestId"));
removeFacePhotosResponse.setCode(context.stringValue("RemoveFacePhotosResponse.Code"));
removeFacePhotosResponse.setMessage(context.stringValue("RemoveFacePhotosResponse.Message"));
removeFacePhotosResponse.setAction(context.stringValue("RemoveFacePhotosResponse.Action"));
List<Result> results = new ArrayList<Result>();
for (int i = 0; i < context.lengthValue("RemoveFacePhotosResponse.Results.Length"); i++) {
Result result = new Result();
result.setId(context.longValue("RemoveFacePhotosResponse.Results["+ i +"].Id"));
result.setIdStr(context.stringValue("RemoveFacePhotosResponse.Results["+ i +"].IdStr"));
result.setCode(context.stringValue("RemoveFacePhotosResponse.Results["+ i +"].Code"));
result.setMessage(context.stringValue("RemoveFacePhotosResponse.Results["+ i +"].Message"));
results.add(result);
}
removeFacePhotosResponse.setResults(results);
return removeFacePhotosResponse;
}
}
|
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/RenameAlbumResponseUnmarshaller.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.RenameAlbumResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RenameAlbumResponseUnmarshaller {
public static RenameAlbumResponse unmarshall(RenameAlbumResponse renameAlbumResponse, UnmarshallerContext context) {
renameAlbumResponse.setRequestId(context.stringValue("RenameAlbumResponse.RequestId"));
renameAlbumResponse.setCode(context.stringValue("RenameAlbumResponse.Code"));
renameAlbumResponse.setMessage(context.stringValue("RenameAlbumResponse.Message"));
renameAlbumResponse.setAction(context.stringValue("RenameAlbumResponse.Action"));
return renameAlbumResponse;
}
}
|
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/RenameFaceResponseUnmarshaller.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.RenameFaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RenameFaceResponseUnmarshaller {
public static RenameFaceResponse unmarshall(RenameFaceResponse renameFaceResponse, UnmarshallerContext context) {
renameFaceResponse.setRequestId(context.stringValue("RenameFaceResponse.RequestId"));
renameFaceResponse.setCode(context.stringValue("RenameFaceResponse.Code"));
renameFaceResponse.setMessage(context.stringValue("RenameFaceResponse.Message"));
renameFaceResponse.setAction(context.stringValue("RenameFaceResponse.Action"));
return renameFaceResponse;
}
}
|
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/SearchPhotosResponseUnmarshaller.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.SearchPhotosResponse;
import com.aliyuncs.cloudphoto.model.v20170711.SearchPhotosResponse.Photo;
import com.aliyuncs.transform.UnmarshallerContext;
public class SearchPhotosResponseUnmarshaller {
public static SearchPhotosResponse unmarshall(SearchPhotosResponse searchPhotosResponse, UnmarshallerContext context) {
searchPhotosResponse.setRequestId(context.stringValue("SearchPhotosResponse.RequestId"));
searchPhotosResponse.setCode(context.stringValue("SearchPhotosResponse.Code"));
searchPhotosResponse.setMessage(context.stringValue("SearchPhotosResponse.Message"));
searchPhotosResponse.setTotalCount(context.integerValue("SearchPhotosResponse.TotalCount"));
searchPhotosResponse.setAction(context.stringValue("SearchPhotosResponse.Action"));
List<Photo> photos = new ArrayList<Photo>();
for (int i = 0; i < context.lengthValue("SearchPhotosResponse.Photos.Length"); i++) {
Photo photo = new Photo();
photo.setId(context.longValue("SearchPhotosResponse.Photos["+ i +"].Id"));
photo.setIdStr(context.stringValue("SearchPhotosResponse.Photos["+ i +"].IdStr"));
photo.setTitle(context.stringValue("SearchPhotosResponse.Photos["+ i +"].Title"));
photo.setFileId(context.stringValue("SearchPhotosResponse.Photos["+ i +"].FileId"));
photo.setLocation(context.stringValue("SearchPhotosResponse.Photos["+ i +"].Location"));
photo.setState(context.stringValue("SearchPhotosResponse.Photos["+ i +"].State"));
photo.setMd5(context.stringValue("SearchPhotosResponse.Photos["+ i +"].Md5"));
photo.setIsVideo(context.booleanValue("SearchPhotosResponse.Photos["+ i +"].IsVideo"));
photo.setSize(context.longValue("SearchPhotosResponse.Photos["+ i +"].Size"));
photo.setWidth(context.longValue("SearchPhotosResponse.Photos["+ i +"].Width"));
photo.setHeight(context.longValue("SearchPhotosResponse.Photos["+ i +"].Height"));
photo.setCtime(context.longValue("SearchPhotosResponse.Photos["+ i +"].Ctime"));
photo.setMtime(context.longValue("SearchPhotosResponse.Photos["+ i +"].Mtime"));
photo.setTakenAt(context.longValue("SearchPhotosResponse.Photos["+ i +"].TakenAt"));
photo.setShareExpireTime(context.longValue("SearchPhotosResponse.Photos["+ i +"].ShareExpireTime"));
photos.add(photo);
}
searchPhotosResponse.setPhotos(photos);
return searchPhotosResponse;
}
}
|
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/SetAlbumCoverResponseUnmarshaller.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.SetAlbumCoverResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetAlbumCoverResponseUnmarshaller {
public static SetAlbumCoverResponse unmarshall(SetAlbumCoverResponse setAlbumCoverResponse, UnmarshallerContext context) {
setAlbumCoverResponse.setRequestId(context.stringValue("SetAlbumCoverResponse.RequestId"));
setAlbumCoverResponse.setCode(context.stringValue("SetAlbumCoverResponse.Code"));
setAlbumCoverResponse.setMessage(context.stringValue("SetAlbumCoverResponse.Message"));
setAlbumCoverResponse.setAction(context.stringValue("SetAlbumCoverResponse.Action"));
return setAlbumCoverResponse;
}
}
|
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/SetFaceCoverResponseUnmarshaller.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.SetFaceCoverResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetFaceCoverResponseUnmarshaller {
public static SetFaceCoverResponse unmarshall(SetFaceCoverResponse setFaceCoverResponse, UnmarshallerContext context) {
setFaceCoverResponse.setRequestId(context.stringValue("SetFaceCoverResponse.RequestId"));
setFaceCoverResponse.setCode(context.stringValue("SetFaceCoverResponse.Code"));
setFaceCoverResponse.setMessage(context.stringValue("SetFaceCoverResponse.Message"));
setFaceCoverResponse.setAction(context.stringValue("SetFaceCoverResponse.Action"));
return setFaceCoverResponse;
}
}
|
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/SetMeResponseUnmarshaller.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.SetMeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetMeResponseUnmarshaller {
public static SetMeResponse unmarshall(SetMeResponse setMeResponse, UnmarshallerContext context) {
setMeResponse.setRequestId(context.stringValue("SetMeResponse.RequestId"));
setMeResponse.setCode(context.stringValue("SetMeResponse.Code"));
setMeResponse.setMessage(context.stringValue("SetMeResponse.Message"));
setMeResponse.setAction(context.stringValue("SetMeResponse.Action"));
return setMeResponse;
}
}
|
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/SetQuotaResponseUnmarshaller.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.SetQuotaResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetQuotaResponseUnmarshaller {
public static SetQuotaResponse unmarshall(SetQuotaResponse setQuotaResponse, UnmarshallerContext context) {
setQuotaResponse.setRequestId(context.stringValue("SetQuotaResponse.RequestId"));
setQuotaResponse.setCode(context.stringValue("SetQuotaResponse.Code"));
setQuotaResponse.setMessage(context.stringValue("SetQuotaResponse.Message"));
setQuotaResponse.setAction(context.stringValue("SetQuotaResponse.Action"));
return setQuotaResponse;
}
}
|
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/TagPhotoResponseUnmarshaller.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.TagPhotoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TagPhotoResponseUnmarshaller {
public static TagPhotoResponse unmarshall(TagPhotoResponse tagPhotoResponse, UnmarshallerContext context) {
tagPhotoResponse.setRequestId(context.stringValue("TagPhotoResponse.RequestId"));
tagPhotoResponse.setCode(context.stringValue("TagPhotoResponse.Code"));
tagPhotoResponse.setMessage(context.stringValue("TagPhotoResponse.Message"));
tagPhotoResponse.setAction(context.stringValue("TagPhotoResponse.Action"));
return tagPhotoResponse;
}
}
|
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/ToggleFeaturesResponseUnmarshaller.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.ToggleFeaturesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ToggleFeaturesResponseUnmarshaller {
public static ToggleFeaturesResponse unmarshall(ToggleFeaturesResponse toggleFeaturesResponse, UnmarshallerContext context) {
toggleFeaturesResponse.setRequestId(context.stringValue("ToggleFeaturesResponse.RequestId"));
toggleFeaturesResponse.setCode(context.stringValue("ToggleFeaturesResponse.Code"));
toggleFeaturesResponse.setMessage(context.stringValue("ToggleFeaturesResponse.Message"));
toggleFeaturesResponse.setAction(context.stringValue("ToggleFeaturesResponse.Action"));
return toggleFeaturesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AddApgroupConfigRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AddApgroupConfigRequest extends RpcAcsRequest<AddApgroupConfigResponse> {
public AddApgroupConfigRequest() {
super("cloudwf", "2017-03-28", "AddApgroupConfig", "cloudwf");
}
private Long parentApgroupId;
private String name;
private String description;
public Long getParentApgroupId() {
return this.parentApgroupId;
}
public void setParentApgroupId(Long parentApgroupId) {
this.parentApgroupId = parentApgroupId;
if(parentApgroupId != null){
putQueryParameter("ParentApgroupId", parentApgroupId.toString());
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
@Override
public Class<AddApgroupConfigResponse> getResponseClass() {
return AddApgroupConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AddApgroupConfigResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AddApgroupConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddApgroupConfigResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AddApgroupConfigResponse getInstance(UnmarshallerContext context) {
return AddApgroupConfigResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AliyunRegisterApAssetRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AliyunRegisterApAssetRequest extends RpcAcsRequest<AliyunRegisterApAssetResponse> {
public AliyunRegisterApAssetRequest() {
super("cloudwf", "2017-03-28", "AliyunRegisterApAsset", "cloudwf");
}
private Long apgroupId;
private String mac;
private String serialNo;
public Long getApgroupId() {
return this.apgroupId;
}
public void setApgroupId(Long apgroupId) {
this.apgroupId = apgroupId;
if(apgroupId != null){
putQueryParameter("ApgroupId", apgroupId.toString());
}
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
if(mac != null){
putQueryParameter("Mac", mac);
}
}
public String getSerialNo() {
return this.serialNo;
}
public void setSerialNo(String serialNo) {
this.serialNo = serialNo;
if(serialNo != null){
putQueryParameter("SerialNo", serialNo);
}
}
@Override
public Class<AliyunRegisterApAssetResponse> getResponseClass() {
return AliyunRegisterApAssetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AliyunRegisterApAssetResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AliyunRegisterApAssetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AliyunRegisterApAssetResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AliyunRegisterApAssetResponse getInstance(UnmarshallerContext context) {
return AliyunRegisterApAssetResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/ApgroupBatchAddApRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class ApgroupBatchAddApRequest extends RpcAcsRequest<ApgroupBatchAddApResponse> {
public ApgroupBatchAddApRequest() {
super("cloudwf", "2017-03-28", "ApgroupBatchAddAp", "cloudwf");
}
private String apAssetIds;
private Long apgroupId;
public String getApAssetIds() {
return this.apAssetIds;
}
public void setApAssetIds(String apAssetIds) {
this.apAssetIds = apAssetIds;
if(apAssetIds != null){
putQueryParameter("ApAssetIds", apAssetIds);
}
}
public Long getApgroupId() {
return this.apgroupId;
}
public void setApgroupId(Long apgroupId) {
this.apgroupId = apgroupId;
if(apgroupId != null){
putQueryParameter("ApgroupId", apgroupId.toString());
}
}
@Override
public Class<ApgroupBatchAddApResponse> getResponseClass() {
return ApgroupBatchAddApResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/ApgroupBatchAddApResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.ApgroupBatchAddApResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ApgroupBatchAddApResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public ApgroupBatchAddApResponse getInstance(UnmarshallerContext context) {
return ApgroupBatchAddApResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/ApgroupBatchDeleteApRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class ApgroupBatchDeleteApRequest extends RpcAcsRequest<ApgroupBatchDeleteApResponse> {
public ApgroupBatchDeleteApRequest() {
super("cloudwf", "2017-03-28", "ApgroupBatchDeleteAp", "cloudwf");
}
private String apAssetIds;
public String getApAssetIds() {
return this.apAssetIds;
}
public void setApAssetIds(String apAssetIds) {
this.apAssetIds = apAssetIds;
if(apAssetIds != null){
putQueryParameter("ApAssetIds", apAssetIds);
}
}
@Override
public Class<ApgroupBatchDeleteApResponse> getResponseClass() {
return ApgroupBatchDeleteApResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/ApgroupBatchDeleteApResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.ApgroupBatchDeleteApResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ApgroupBatchDeleteApResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public ApgroupBatchDeleteApResponse getInstance(UnmarshallerContext context) {
return ApgroupBatchDeleteApResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaCreateRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AreaCreateRequest extends RpcAcsRequest<AreaCreateResponse> {
public AreaCreateRequest() {
super("cloudwf", "2017-03-28", "AreaCreate", "cloudwf");
}
private String name;
private String dids;
private Long sid;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getDids() {
return this.dids;
}
public void setDids(String dids) {
this.dids = dids;
if(dids != null){
putQueryParameter("Dids", dids);
}
}
public Long getSid() {
return this.sid;
}
public void setSid(Long sid) {
this.sid = sid;
if(sid != null){
putQueryParameter("Sid", sid.toString());
}
}
@Override
public Class<AreaCreateResponse> getResponseClass() {
return AreaCreateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaCreateResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AreaCreateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AreaCreateResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AreaCreateResponse getInstance(UnmarshallerContext context) {
return AreaCreateResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaDeleteRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AreaDeleteRequest extends RpcAcsRequest<AreaDeleteResponse> {
public AreaDeleteRequest() {
super("cloudwf", "2017-03-28", "AreaDelete", "cloudwf");
}
private Long aid;
private Long sid;
public Long getAid() {
return this.aid;
}
public void setAid(Long aid) {
this.aid = aid;
if(aid != null){
putQueryParameter("Aid", aid.toString());
}
}
public Long getSid() {
return this.sid;
}
public void setSid(Long sid) {
this.sid = sid;
if(sid != null){
putQueryParameter("Sid", sid.toString());
}
}
@Override
public Class<AreaDeleteResponse> getResponseClass() {
return AreaDeleteResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaDeleteResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AreaDeleteResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AreaDeleteResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AreaDeleteResponse getInstance(UnmarshallerContext context) {
return AreaDeleteResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaInfoRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AreaInfoRequest extends RpcAcsRequest<AreaInfoResponse> {
public AreaInfoRequest() {
super("cloudwf", "2017-03-28", "AreaInfo", "cloudwf");
}
private Long aid;
private Long sid;
public Long getAid() {
return this.aid;
}
public void setAid(Long aid) {
this.aid = aid;
if(aid != null){
putQueryParameter("Aid", aid.toString());
}
}
public Long getSid() {
return this.sid;
}
public void setSid(Long sid) {
this.sid = sid;
if(sid != null){
putQueryParameter("Sid", sid.toString());
}
}
@Override
public Class<AreaInfoResponse> getResponseClass() {
return AreaInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaInfoResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AreaInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AreaInfoResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AreaInfoResponse getInstance(UnmarshallerContext context) {
return AreaInfoResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaShowListRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AreaShowListRequest extends RpcAcsRequest<AreaShowListResponse> {
public AreaShowListRequest() {
super("cloudwf", "2017-03-28", "AreaShowList", "cloudwf");
}
private Integer page;
private Integer per;
private Long sid;
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
public Integer getPer() {
return this.per;
}
public void setPer(Integer per) {
this.per = per;
if(per != null){
putQueryParameter("Per", per.toString());
}
}
public Long getSid() {
return this.sid;
}
public void setSid(Long sid) {
this.sid = sid;
if(sid != null){
putQueryParameter("Sid", sid.toString());
}
}
@Override
public Class<AreaShowListResponse> getResponseClass() {
return AreaShowListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaShowListResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AreaShowListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AreaShowListResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AreaShowListResponse getInstance(UnmarshallerContext context) {
return AreaShowListResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaUpdateRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AreaUpdateRequest extends RpcAcsRequest<AreaUpdateResponse> {
public AreaUpdateRequest() {
super("cloudwf", "2017-03-28", "AreaUpdate", "cloudwf");
}
private String name;
private String dids;
private Long aid;
private Long sid;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getDids() {
return this.dids;
}
public void setDids(String dids) {
this.dids = dids;
if(dids != null){
putQueryParameter("Dids", dids);
}
}
public Long getAid() {
return this.aid;
}
public void setAid(Long aid) {
this.aid = aid;
if(aid != null){
putQueryParameter("Aid", aid.toString());
}
}
public Long getSid() {
return this.sid;
}
public void setSid(Long sid) {
this.sid = sid;
if(sid != null){
putQueryParameter("Sid", sid.toString());
}
}
@Override
public Class<AreaUpdateResponse> getResponseClass() {
return AreaUpdateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/AreaUpdateResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.AreaUpdateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AreaUpdateResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public AreaUpdateResponse getInstance(UnmarshallerContext context) {
return AreaUpdateResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BatchChangeGroupApNameRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BatchChangeGroupApNameRequest extends RpcAcsRequest<BatchChangeGroupApNameResponse> {
public BatchChangeGroupApNameRequest() {
super("cloudwf", "2017-03-28", "BatchChangeGroupApName", "cloudwf");
}
private String jsonData;
public String getJsonData() {
return this.jsonData;
}
public void setJsonData(String jsonData) {
this.jsonData = jsonData;
if(jsonData != null){
putQueryParameter("JsonData", jsonData);
}
}
@Override
public Class<BatchChangeGroupApNameResponse> getResponseClass() {
return BatchChangeGroupApNameResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BatchChangeGroupApNameResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BatchChangeGroupApNameResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchChangeGroupApNameResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BatchChangeGroupApNameResponse getInstance(UnmarshallerContext context) {
return BatchChangeGroupApNameResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BatchRegisterApAssetRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BatchRegisterApAssetRequest extends RpcAcsRequest<BatchRegisterApAssetResponse> {
public BatchRegisterApAssetRequest() {
super("cloudwf", "2017-03-28", "BatchRegisterApAsset", "cloudwf");
}
private String jsonData;
public String getJsonData() {
return this.jsonData;
}
public void setJsonData(String jsonData) {
this.jsonData = jsonData;
if(jsonData != null){
putQueryParameter("JsonData", jsonData);
}
}
@Override
public Class<BatchRegisterApAssetResponse> getResponseClass() {
return BatchRegisterApAssetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BatchRegisterApAssetResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BatchRegisterApAssetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchRegisterApAssetResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BatchRegisterApAssetResponse getInstance(UnmarshallerContext context) {
return BatchRegisterApAssetResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BatchSaveApPositionRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BatchSaveApPositionRequest extends RpcAcsRequest<BatchSaveApPositionResponse> {
public BatchSaveApPositionRequest() {
super("cloudwf", "2017-03-28", "BatchSaveApPosition", "cloudwf");
}
private String jsonData;
public String getJsonData() {
return this.jsonData;
}
public void setJsonData(String jsonData) {
this.jsonData = jsonData;
if(jsonData != null){
putQueryParameter("JsonData", jsonData);
}
}
@Override
public Class<BatchSaveApPositionResponse> getResponseClass() {
return BatchSaveApPositionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BatchSaveApPositionResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BatchSaveApPositionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchSaveApPositionResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BatchSaveApPositionResponse getInstance(UnmarshallerContext context) {
return BatchSaveApPositionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessCreateRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BusinessCreateRequest extends RpcAcsRequest<BusinessCreateResponse> {
public BusinessCreateRequest() {
super("cloudwf", "2017-03-28", "BusinessCreate", "cloudwf");
}
private String businessCity;
private String combo;
private String warnEmail;
private String businessManager;
private Integer businessType;
private Integer warn;
private String businessName;
private Integer businessTopType;
private String businessAddress;
private String businessTel;
private String businessProvince;
private Integer businessSubtype;
public String getBusinessCity() {
return this.businessCity;
}
public void setBusinessCity(String businessCity) {
this.businessCity = businessCity;
if(businessCity != null){
putQueryParameter("BusinessCity", businessCity);
}
}
public String getCombo() {
return this.combo;
}
public void setCombo(String combo) {
this.combo = combo;
if(combo != null){
putQueryParameter("Combo", combo);
}
}
public String getWarnEmail() {
return this.warnEmail;
}
public void setWarnEmail(String warnEmail) {
this.warnEmail = warnEmail;
if(warnEmail != null){
putQueryParameter("WarnEmail", warnEmail);
}
}
public String getBusinessManager() {
return this.businessManager;
}
public void setBusinessManager(String businessManager) {
this.businessManager = businessManager;
if(businessManager != null){
putQueryParameter("BusinessManager", businessManager);
}
}
public Integer getBusinessType() {
return this.businessType;
}
public void setBusinessType(Integer businessType) {
this.businessType = businessType;
if(businessType != null){
putQueryParameter("BusinessType", businessType.toString());
}
}
public Integer getWarn() {
return this.warn;
}
public void setWarn(Integer warn) {
this.warn = warn;
if(warn != null){
putQueryParameter("Warn", warn.toString());
}
}
public String getBusinessName() {
return this.businessName;
}
public void setBusinessName(String businessName) {
this.businessName = businessName;
if(businessName != null){
putQueryParameter("BusinessName", businessName);
}
}
public Integer getBusinessTopType() {
return this.businessTopType;
}
public void setBusinessTopType(Integer businessTopType) {
this.businessTopType = businessTopType;
if(businessTopType != null){
putQueryParameter("BusinessTopType", businessTopType.toString());
}
}
public String getBusinessAddress() {
return this.businessAddress;
}
public void setBusinessAddress(String businessAddress) {
this.businessAddress = businessAddress;
if(businessAddress != null){
putQueryParameter("BusinessAddress", businessAddress);
}
}
public String getBusinessTel() {
return this.businessTel;
}
public void setBusinessTel(String businessTel) {
this.businessTel = businessTel;
if(businessTel != null){
putQueryParameter("BusinessTel", businessTel);
}
}
public String getBusinessProvince() {
return this.businessProvince;
}
public void setBusinessProvince(String businessProvince) {
this.businessProvince = businessProvince;
if(businessProvince != null){
putQueryParameter("BusinessProvince", businessProvince);
}
}
public Integer getBusinessSubtype() {
return this.businessSubtype;
}
public void setBusinessSubtype(Integer businessSubtype) {
this.businessSubtype = businessSubtype;
if(businessSubtype != null){
putQueryParameter("BusinessSubtype", businessSubtype.toString());
}
}
@Override
public Class<BusinessCreateResponse> getResponseClass() {
return BusinessCreateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessCreateResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BusinessCreateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BusinessCreateResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BusinessCreateResponse getInstance(UnmarshallerContext context) {
return BusinessCreateResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessInfoRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BusinessInfoRequest extends RpcAcsRequest<BusinessInfoResponse> {
public BusinessInfoRequest() {
super("cloudwf", "2017-03-28", "BusinessInfo", "cloudwf");
}
private Long bid;
public Long getBid() {
return this.bid;
}
public void setBid(Long bid) {
this.bid = bid;
if(bid != null){
putQueryParameter("Bid", bid.toString());
}
}
@Override
public Class<BusinessInfoResponse> getResponseClass() {
return BusinessInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessInfoResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BusinessInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BusinessInfoResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BusinessInfoResponse getInstance(UnmarshallerContext context) {
return BusinessInfoResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessShowListRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BusinessShowListRequest extends RpcAcsRequest<BusinessShowListResponse> {
public BusinessShowListRequest() {
super("cloudwf", "2017-03-28", "BusinessShowList", "cloudwf");
}
private Integer page;
private Integer per;
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
public Integer getPer() {
return this.per;
}
public void setPer(Integer per) {
this.per = per;
if(per != null){
putQueryParameter("Per", per.toString());
}
}
@Override
public Class<BusinessShowListResponse> getResponseClass() {
return BusinessShowListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessShowListResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BusinessShowListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BusinessShowListResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BusinessShowListResponse getInstance(UnmarshallerContext context) {
return BusinessShowListResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessUpdateRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BusinessUpdateRequest extends RpcAcsRequest<BusinessUpdateResponse> {
public BusinessUpdateRequest() {
super("cloudwf", "2017-03-28", "BusinessUpdate", "cloudwf");
}
private Integer warn;
private String businessCity;
private String warnEmail;
private String businessAddress;
private Long bid;
private String businessManager;
private String businessProvince;
public Integer getWarn() {
return this.warn;
}
public void setWarn(Integer warn) {
this.warn = warn;
if(warn != null){
putQueryParameter("Warn", warn.toString());
}
}
public String getBusinessCity() {
return this.businessCity;
}
public void setBusinessCity(String businessCity) {
this.businessCity = businessCity;
if(businessCity != null){
putQueryParameter("BusinessCity", businessCity);
}
}
public String getWarnEmail() {
return this.warnEmail;
}
public void setWarnEmail(String warnEmail) {
this.warnEmail = warnEmail;
if(warnEmail != null){
putQueryParameter("WarnEmail", warnEmail);
}
}
public String getBusinessAddress() {
return this.businessAddress;
}
public void setBusinessAddress(String businessAddress) {
this.businessAddress = businessAddress;
if(businessAddress != null){
putQueryParameter("BusinessAddress", businessAddress);
}
}
public Long getBid() {
return this.bid;
}
public void setBid(Long bid) {
this.bid = bid;
if(bid != null){
putQueryParameter("Bid", bid.toString());
}
}
public String getBusinessManager() {
return this.businessManager;
}
public void setBusinessManager(String businessManager) {
this.businessManager = businessManager;
if(businessManager != null){
putQueryParameter("BusinessManager", businessManager);
}
}
public String getBusinessProvince() {
return this.businessProvince;
}
public void setBusinessProvince(String businessProvince) {
this.businessProvince = businessProvince;
if(businessProvince != null){
putQueryParameter("BusinessProvince", businessProvince);
}
}
@Override
public Class<BusinessUpdateResponse> getResponseClass() {
return BusinessUpdateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/BusinessUpdateResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.BusinessUpdateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BusinessUpdateResponse extends AcsResponse {
private Boolean success;
private String data;
private Integer errorCode;
private String errorMsg;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public BusinessUpdateResponse getInstance(UnmarshallerContext context) {
return BusinessUpdateResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CeaseInstanceRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CeaseInstanceRequest extends RpcAcsRequest<CeaseInstanceResponse> {
public CeaseInstanceRequest() {
super("cloudwf", "2017-03-28", "CeaseInstance", "cloudwf");
}
private String traceId;
private String spMsg;
public String getTraceId() {
return this.traceId;
}
public void setTraceId(String traceId) {
this.traceId = traceId;
if(traceId != null){
putQueryParameter("TraceId", traceId);
}
}
public String getSpMsg() {
return this.spMsg;
}
public void setSpMsg(String spMsg) {
this.spMsg = spMsg;
if(spMsg != null){
putQueryParameter("SpMsg", spMsg);
}
}
@Override
public Class<CeaseInstanceResponse> getResponseClass() {
return CeaseInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CeaseInstanceResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.CeaseInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CeaseInstanceResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getResult() {
return this.result;
}
public void setResult(String result) {
this.result = result;
}
@Override
public CeaseInstanceResponse getInstance(UnmarshallerContext context) {
return CeaseInstanceResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CheckRootPermissionRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CheckRootPermissionRequest extends RpcAcsRequest<CheckRootPermissionResponse> {
public CheckRootPermissionRequest() {
super("cloudwf", "2017-03-28", "CheckRootPermission", "cloudwf");
}
@Override
public Class<CheckRootPermissionResponse> getResponseClass() {
return CheckRootPermissionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CheckRootPermissionResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.CheckRootPermissionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckRootPermissionResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public CheckRootPermissionResponse getInstance(UnmarshallerContext context) {
return CheckRootPermissionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CheckUmengDataAnalysisPermissionRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CheckUmengDataAnalysisPermissionRequest extends RpcAcsRequest<CheckUmengDataAnalysisPermissionResponse> {
public CheckUmengDataAnalysisPermissionRequest() {
super("cloudwf", "2017-03-28", "CheckUmengDataAnalysisPermission", "cloudwf");
}
@Override
public Class<CheckUmengDataAnalysisPermissionResponse> getResponseClass() {
return CheckUmengDataAnalysisPermissionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CheckUmengDataAnalysisPermissionResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.CheckUmengDataAnalysisPermissionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckUmengDataAnalysisPermissionResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public CheckUmengDataAnalysisPermissionResponse getInstance(UnmarshallerContext context) {
return CheckUmengDataAnalysisPermissionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/ConfigAutoRenewRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class ConfigAutoRenewRequest extends RpcAcsRequest<ConfigAutoRenewResponse> {
public ConfigAutoRenewRequest() {
super("cloudwf", "2017-03-28", "ConfigAutoRenew", "cloudwf");
}
private Integer offsetDays;
private Integer months;
private Boolean autoRenew;
private List<String> apLists;
public Integer getOffsetDays() {
return this.offsetDays;
}
public void setOffsetDays(Integer offsetDays) {
this.offsetDays = offsetDays;
if(offsetDays != null){
putQueryParameter("OffsetDays", offsetDays.toString());
}
}
public Integer getMonths() {
return this.months;
}
public void setMonths(Integer months) {
this.months = months;
if(months != null){
putQueryParameter("Months", months.toString());
}
}
public Boolean getAutoRenew() {
return this.autoRenew;
}
public void setAutoRenew(Boolean autoRenew) {
this.autoRenew = autoRenew;
if(autoRenew != null){
putQueryParameter("AutoRenew", autoRenew.toString());
}
}
public List<String> getApLists() {
return this.apLists;
}
public void setApLists(List<String> apLists) {
this.apLists = apLists;
if (apLists != null) {
for (int i = 0; i < apLists.size(); i++) {
putQueryParameter("ApList." + (i + 1) , apLists.get(i));
}
}
}
@Override
public Class<ConfigAutoRenewResponse> getResponseClass() {
return ConfigAutoRenewResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/ConfigAutoRenewResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.ConfigAutoRenewResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ConfigAutoRenewResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String code;
private String data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public ConfigAutoRenewResponse getInstance(UnmarshallerContext context) {
return ConfigAutoRenewResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CreateRenewOrderRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class CreateRenewOrderRequest extends RpcAcsRequest<CreateRenewOrderResponse> {
public CreateRenewOrderRequest() {
super("cloudwf", "2017-03-28", "CreateRenewOrder", "cloudwf");
}
private Integer timeCycleNum;
private List<String> apLists;
public Integer getTimeCycleNum() {
return this.timeCycleNum;
}
public void setTimeCycleNum(Integer timeCycleNum) {
this.timeCycleNum = timeCycleNum;
if(timeCycleNum != null){
putQueryParameter("TimeCycleNum", timeCycleNum.toString());
}
}
public List<String> getApLists() {
return this.apLists;
}
public void setApLists(List<String> apLists) {
this.apLists = apLists;
if (apLists != null) {
for (int i = 0; i < apLists.size(); i++) {
putQueryParameter("ApList." + (i + 1) , apLists.get(i));
}
}
}
@Override
public Class<CreateRenewOrderResponse> getResponseClass() {
return CreateRenewOrderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CreateRenewOrderResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.CreateRenewOrderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateRenewOrderResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String code;
private String data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public CreateRenewOrderResponse getInstance(UnmarshallerContext context) {
return CreateRenewOrderResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CreateSubAccountPermissionRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class CreateSubAccountPermissionRequest extends RpcAcsRequest<CreateSubAccountPermissionResponse> {
public CreateSubAccountPermissionRequest() {
super("cloudwf", "2017-03-28", "CreateSubAccountPermission", "cloudwf");
}
private Long uid;
private List<Long> shopGroupIdss;
private List<Long> shopIdss;
private String pagePermission;
private Integer permissionType;
private List<Long> businessIdss;
public Long getUid() {
return this.uid;
}
public void setUid(Long uid) {
this.uid = uid;
if(uid != null){
putQueryParameter("Uid", uid.toString());
}
}
public List<Long> getShopGroupIdss() {
return this.shopGroupIdss;
}
public void setShopGroupIdss(List<Long> shopGroupIdss) {
this.shopGroupIdss = shopGroupIdss;
if (shopGroupIdss != null) {
for (int i = 0; i < shopGroupIdss.size(); i++) {
putQueryParameter("ShopGroupIds." + (i + 1) , shopGroupIdss.get(i));
}
}
}
public List<Long> getShopIdss() {
return this.shopIdss;
}
public void setShopIdss(List<Long> shopIdss) {
this.shopIdss = shopIdss;
if (shopIdss != null) {
for (int i = 0; i < shopIdss.size(); i++) {
putQueryParameter("ShopIds." + (i + 1) , shopIdss.get(i));
}
}
}
public String getPagePermission() {
return this.pagePermission;
}
public void setPagePermission(String pagePermission) {
this.pagePermission = pagePermission;
if(pagePermission != null){
putQueryParameter("PagePermission", pagePermission);
}
}
public Integer getPermissionType() {
return this.permissionType;
}
public void setPermissionType(Integer permissionType) {
this.permissionType = permissionType;
if(permissionType != null){
putQueryParameter("PermissionType", permissionType.toString());
}
}
public List<Long> getBusinessIdss() {
return this.businessIdss;
}
public void setBusinessIdss(List<Long> businessIdss) {
this.businessIdss = businessIdss;
if (businessIdss != null) {
for (int i = 0; i < businessIdss.size(); i++) {
putQueryParameter("BusinessIds." + (i + 1) , businessIdss.get(i));
}
}
}
@Override
public Class<CreateSubAccountPermissionResponse> getResponseClass() {
return CreateSubAccountPermissionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/CreateSubAccountPermissionResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.CreateSubAccountPermissionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateSubAccountPermissionResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public CreateSubAccountPermissionResponse getInstance(UnmarshallerContext context) {
return CreateSubAccountPermissionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/DelApPositionRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DelApPositionRequest extends RpcAcsRequest<DelApPositionResponse> {
public DelApPositionRequest() {
super("cloudwf", "2017-03-28", "DelApPosition", "cloudwf");
}
private Long apAssetId;
private Long mapId;
public Long getApAssetId() {
return this.apAssetId;
}
public void setApAssetId(Long apAssetId) {
this.apAssetId = apAssetId;
if(apAssetId != null){
putQueryParameter("ApAssetId", apAssetId.toString());
}
}
public Long getMapId() {
return this.mapId;
}
public void setMapId(Long mapId) {
this.mapId = mapId;
if(mapId != null){
putQueryParameter("MapId", mapId.toString());
}
}
@Override
public Class<DelApPositionResponse> getResponseClass() {
return DelApPositionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/DelApPositionResponse.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.cloudwf.model.v20170328;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudwf.transform.v20170328.DelApPositionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DelApPositionResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String data;
private Integer errorCode;
private String errorMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Integer getErrorCode() {
return this.errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public String getErrorMsg() {
return this.errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
@Override
public DelApPositionResponse getInstance(UnmarshallerContext context) {
return DelApPositionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudwf/1.0.3/com/aliyuncs/cloudwf/model/v20170328/DelPageConfigTemplateRequest.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.cloudwf.model.v20170328;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class DelPageConfigTemplateRequest extends RpcAcsRequest<DelPageConfigTemplateResponse> {
public DelPageConfigTemplateRequest() {
super("cloudwf", "2017-03-28", "DelPageConfigTemplate", "cloudwf");
}
private Long id;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id.toString());
}
}
@Override
public Class<DelPageConfigTemplateResponse> getResponseClass() {
return DelPageConfigTemplateResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.