index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/model
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/model/v20180224/TaobaoFilmLockSeatResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.model.v20180224; import com.aliyuncs.AcsResponse; import com.aliyuncs.appmallsservice.transform.v20180224.TaobaoFilmLockSeatResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TaobaoFilmLockSeatResponse extends AcsResponse { private String errorCode; private String msg; private String subCode; private String subMsg; private String logsId; private String requestId; private SeatLocked seatLocked; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public String getSubCode() { return this.subCode; } public void setSubCode(String subCode) { this.subCode = subCode; } public String getSubMsg() { return this.subMsg; } public void setSubMsg(String subMsg) { this.subMsg = subMsg; } public String getLogsId() { return this.logsId; } public void setLogsId(String logsId) { this.logsId = logsId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public SeatLocked getSeatLocked() { return this.seatLocked; } public void setSeatLocked(SeatLocked seatLocked) { this.seatLocked = seatLocked; } public static class SeatLocked { private String applyKey; private Long defaultLockSecond; private Long lockTime; private String status; public String getApplyKey() { return this.applyKey; } public void setApplyKey(String applyKey) { this.applyKey = applyKey; } public Long getDefaultLockSecond() { return this.defaultLockSecond; } public void setDefaultLockSecond(Long defaultLockSecond) { this.defaultLockSecond = defaultLockSecond; } public Long getLockTime() { return this.lockTime; } public void setLockTime(Long lockTime) { this.lockTime = lockTime; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } } @Override public TaobaoFilmLockSeatResponse getInstance(UnmarshallerContext context) { return TaobaoFilmLockSeatResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/model
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/model/v20180224/TaobaoFilmUnLockSeatRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.model.v20180224; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.appmallsservice.Endpoint; /** * @author auto create * @version */ public class TaobaoFilmUnLockSeatRequest extends RpcAcsRequest<TaobaoFilmUnLockSeatResponse> { public TaobaoFilmUnLockSeatRequest() { super("AppMallsService", "2018-02-24", "TaobaoFilmUnLockSeat"); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } private String lockSeatApplyKey; private String extUserId; private String paramsJson; public String getLockSeatApplyKey() { return this.lockSeatApplyKey; } public void setLockSeatApplyKey(String lockSeatApplyKey) { this.lockSeatApplyKey = lockSeatApplyKey; if(lockSeatApplyKey != null){ putQueryParameter("LockSeatApplyKey", lockSeatApplyKey); } } public String getExtUserId() { return this.extUserId; } public void setExtUserId(String extUserId) { this.extUserId = extUserId; if(extUserId != null){ putQueryParameter("ExtUserId", extUserId); } } public String getParamsJson() { return this.paramsJson; } public void setParamsJson(String paramsJson) { this.paramsJson = paramsJson; if(paramsJson != null){ putQueryParameter("ParamsJson", paramsJson); } } @Override public Class<TaobaoFilmUnLockSeatResponse> getResponseClass() { return TaobaoFilmUnLockSeatResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/model
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/model/v20180224/TaobaoFilmUnLockSeatResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.model.v20180224; import com.aliyuncs.AcsResponse; import com.aliyuncs.appmallsservice.transform.v20180224.TaobaoFilmUnLockSeatResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TaobaoFilmUnLockSeatResponse extends AcsResponse { private String errorCode; private String msg; private String subCode; private String subMsg; private String returnCode; private String returnMessage; private Boolean returnValue; private String logsId; private String requestId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public String getSubCode() { return this.subCode; } public void setSubCode(String subCode) { this.subCode = subCode; } public String getSubMsg() { return this.subMsg; } public void setSubMsg(String subMsg) { this.subMsg = subMsg; } public String getReturnCode() { return this.returnCode; } public void setReturnCode(String returnCode) { this.returnCode = returnCode; } public String getReturnMessage() { return this.returnMessage; } public void setReturnMessage(String returnMessage) { this.returnMessage = returnMessage; } public Boolean getReturnValue() { return this.returnValue; } public void setReturnValue(Boolean returnValue) { this.returnValue = returnValue; } public String getLogsId() { return this.logsId; } public void setLogsId(String logsId) { this.logsId = logsId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public TaobaoFilmUnLockSeatResponse getInstance(UnmarshallerContext context) { return TaobaoFilmUnLockSeatResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/GetMessagesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.GetMessagesResponse; import com.aliyuncs.appmallsservice.model.v20180224.GetMessagesResponse.BizMessagesItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetMessagesResponseUnmarshaller { public static GetMessagesResponse unmarshall(GetMessagesResponse getMessagesResponse, UnmarshallerContext _ctx) { getMessagesResponse.setRequestId(_ctx.stringValue("GetMessagesResponse.RequestId")); getMessagesResponse.setErrorCode(_ctx.stringValue("GetMessagesResponse.ErrorCode")); getMessagesResponse.setMsg(_ctx.stringValue("GetMessagesResponse.Msg")); getMessagesResponse.setSubCode(_ctx.stringValue("GetMessagesResponse.SubCode")); getMessagesResponse.setSubMsg(_ctx.stringValue("GetMessagesResponse.SubMsg")); getMessagesResponse.setLogsId(_ctx.stringValue("GetMessagesResponse.LogsId")); List<BizMessagesItem> bizMessages = new ArrayList<BizMessagesItem>(); for (int i = 0; i < _ctx.lengthValue("GetMessagesResponse.BizMessages.Length"); i++) { BizMessagesItem bizMessagesItem = new BizMessagesItem(); bizMessagesItem.setPubTime(_ctx.stringValue("GetMessagesResponse.BizMessages["+ i +"].PubTime")); bizMessagesItem.setTopic(_ctx.stringValue("GetMessagesResponse.BizMessages["+ i +"].Topic")); bizMessagesItem.setDataId(_ctx.longValue("GetMessagesResponse.BizMessages["+ i +"].DataId")); bizMessagesItem.setContentMapJson(_ctx.stringValue("GetMessagesResponse.BizMessages["+ i +"].ContentMapJson")); bizMessages.add(bizMessagesItem); } getMessagesResponse.setBizMessages(bizMessages); return getMessagesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/RemoveMessagesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import com.aliyuncs.appmallsservice.model.v20180224.RemoveMessagesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RemoveMessagesResponseUnmarshaller { public static RemoveMessagesResponse unmarshall(RemoveMessagesResponse removeMessagesResponse, UnmarshallerContext _ctx) { removeMessagesResponse.setRequestId(_ctx.stringValue("RemoveMessagesResponse.RequestId")); removeMessagesResponse.setErrorCode(_ctx.stringValue("RemoveMessagesResponse.ErrorCode")); removeMessagesResponse.setMsg(_ctx.stringValue("RemoveMessagesResponse.Msg")); removeMessagesResponse.setSubCode(_ctx.stringValue("RemoveMessagesResponse.SubCode")); removeMessagesResponse.setSubMsg(_ctx.stringValue("RemoveMessagesResponse.SubMsg")); removeMessagesResponse.setLogsId(_ctx.stringValue("RemoveMessagesResponse.LogsId")); removeMessagesResponse.setReturnCode(_ctx.stringValue("RemoveMessagesResponse.ReturnCode")); removeMessagesResponse.setReturnMessage(_ctx.stringValue("RemoveMessagesResponse.ReturnMessage")); removeMessagesResponse.setReturnValue(_ctx.stringValue("RemoveMessagesResponse.ReturnValue")); return removeMessagesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetCinemasResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetCinemasResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetCinemasResponse.CinemasItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetCinemasResponseUnmarshaller { public static TaobaoFilmGetCinemasResponse unmarshall(TaobaoFilmGetCinemasResponse taobaoFilmGetCinemasResponse, UnmarshallerContext _ctx) { taobaoFilmGetCinemasResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetCinemasResponse.RequestId")); taobaoFilmGetCinemasResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetCinemasResponse.ErrorCode")); taobaoFilmGetCinemasResponse.setMsg(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Msg")); taobaoFilmGetCinemasResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetCinemasResponse.SubCode")); taobaoFilmGetCinemasResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetCinemasResponse.SubMsg")); taobaoFilmGetCinemasResponse.setTotalCount(_ctx.longValue("TaobaoFilmGetCinemasResponse.TotalCount")); taobaoFilmGetCinemasResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetCinemasResponse.LogsId")); List<CinemasItem> cinemas = new ArrayList<CinemasItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetCinemasResponse.Cinemas.Length"); i++) { CinemasItem cinemasItem = new CinemasItem(); cinemasItem.setAddress(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].Address")); cinemasItem.setCinemaName(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].CinemaName")); cinemasItem.setCityId(_ctx.longValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].CityId")); cinemasItem.setId(_ctx.longValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].Id")); cinemasItem.setLatitude(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].Latitude")); cinemasItem.setLongitude(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].Longitude")); cinemasItem.setPhone(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].Phone")); cinemasItem.setRegionName(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].RegionName")); cinemasItem.setScheduleCloseTime(_ctx.longValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].ScheduleCloseTime")); cinemasItem.setStandardId(_ctx.stringValue("TaobaoFilmGetCinemasResponse.Cinemas["+ i +"].StandardId")); cinemas.add(cinemasItem); } taobaoFilmGetCinemasResponse.setCinemas(cinemas); return taobaoFilmGetCinemasResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetHotShowsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetHotShowsResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetHotShowsResponse.ShowsItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetHotShowsResponseUnmarshaller { public static TaobaoFilmGetHotShowsResponse unmarshall(TaobaoFilmGetHotShowsResponse taobaoFilmGetHotShowsResponse, UnmarshallerContext _ctx) { taobaoFilmGetHotShowsResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.RequestId")); taobaoFilmGetHotShowsResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.ErrorCode")); taobaoFilmGetHotShowsResponse.setMsg(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Msg")); taobaoFilmGetHotShowsResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.SubCode")); taobaoFilmGetHotShowsResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.SubMsg")); taobaoFilmGetHotShowsResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.LogsId")); List<ShowsItem> shows = new ArrayList<ShowsItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetHotShowsResponse.Shows.Length"); i++) { ShowsItem showsItem = new ShowsItem(); showsItem.setBackgroundPicture(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].BackgroundPicture")); showsItem.setCountry(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Country")); showsItem.setDescription(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Description")); showsItem.setDirector(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Director")); showsItem.setDuration(_ctx.longValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Duration")); showsItem.setHighlight(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Highlight")); showsItem.setId(_ctx.longValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Id")); showsItem.setLanguage(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Language")); showsItem.setLeadingRole(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].LeadingRole")); showsItem.setOpenDay(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].OpenDay")); showsItem.setOpenTime(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].OpenTime")); showsItem.setPoster(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Poster")); showsItem.setRemark(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Remark")); showsItem.setShowMark(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].ShowMark")); showsItem.setShowName(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].ShowName")); showsItem.setShowNameEn(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].ShowNameEn")); showsItem.setType(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].Type")); List<String> showVersionList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].ShowVersionList.Length"); j++) { showVersionList.add(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].ShowVersionList["+ j +"]")); } showsItem.setShowVersionList(showVersionList); List<String> trailerList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].TrailerList.Length"); j++) { trailerList.add(_ctx.stringValue("TaobaoFilmGetHotShowsResponse.Shows["+ i +"].TrailerList["+ j +"]")); } showsItem.setTrailerList(trailerList); shows.add(showsItem); } taobaoFilmGetHotShowsResponse.setShows(shows); return taobaoFilmGetHotShowsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetRegionListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetRegionListResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetRegionListResponse.RegionsItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetRegionListResponseUnmarshaller { public static TaobaoFilmGetRegionListResponse unmarshall(TaobaoFilmGetRegionListResponse taobaoFilmGetRegionListResponse, UnmarshallerContext _ctx) { taobaoFilmGetRegionListResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetRegionListResponse.RequestId")); taobaoFilmGetRegionListResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetRegionListResponse.ErrorCode")); taobaoFilmGetRegionListResponse.setMsg(_ctx.stringValue("TaobaoFilmGetRegionListResponse.Msg")); taobaoFilmGetRegionListResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetRegionListResponse.SubCode")); taobaoFilmGetRegionListResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetRegionListResponse.SubMsg")); taobaoFilmGetRegionListResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetRegionListResponse.LogsId")); List<RegionsItem> regions = new ArrayList<RegionsItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetRegionListResponse.Regions.Length"); i++) { RegionsItem regionsItem = new RegionsItem(); regionsItem.setCityCode(_ctx.longValue("TaobaoFilmGetRegionListResponse.Regions["+ i +"].CityCode")); regionsItem.setId(_ctx.longValue("TaobaoFilmGetRegionListResponse.Regions["+ i +"].Id")); regionsItem.setParentId(_ctx.longValue("TaobaoFilmGetRegionListResponse.Regions["+ i +"].ParentId")); regionsItem.setPinYin(_ctx.stringValue("TaobaoFilmGetRegionListResponse.Regions["+ i +"].PinYin")); regionsItem.setRegionName(_ctx.stringValue("TaobaoFilmGetRegionListResponse.Regions["+ i +"].RegionName")); regions.add(regionsItem); } taobaoFilmGetRegionListResponse.setRegions(regions); return taobaoFilmGetRegionListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetSchedulesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSchedulesResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSchedulesResponse.SchedulesItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetSchedulesResponseUnmarshaller { public static TaobaoFilmGetSchedulesResponse unmarshall(TaobaoFilmGetSchedulesResponse taobaoFilmGetSchedulesResponse, UnmarshallerContext _ctx) { taobaoFilmGetSchedulesResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.RequestId")); taobaoFilmGetSchedulesResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.ErrorCode")); taobaoFilmGetSchedulesResponse.setMsg(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Msg")); taobaoFilmGetSchedulesResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.SubCode")); taobaoFilmGetSchedulesResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.SubMsg")); taobaoFilmGetSchedulesResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.LogsId")); List<SchedulesItem> schedules = new ArrayList<SchedulesItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetSchedulesResponse.Schedules.Length"); i++) { SchedulesItem schedulesItem = new SchedulesItem(); schedulesItem.setCinemaId(_ctx.longValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].CinemaId")); schedulesItem.setCloseTime(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].CloseTime")); schedulesItem.setHallName(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].HallName")); schedulesItem.setId(_ctx.longValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].Id")); schedulesItem.setIsExpired(_ctx.booleanValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].IsExpired")); schedulesItem.setMaxCanBuy(_ctx.longValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].MaxCanBuy")); schedulesItem.setPrice(_ctx.longValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].Price")); schedulesItem.setScheduleArea(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].ScheduleArea")); schedulesItem.setSectionId(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].SectionId")); schedulesItem.setServiceFee(_ctx.longValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].ServiceFee")); schedulesItem.setShowDate(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].ShowDate")); schedulesItem.setShowId(_ctx.longValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].ShowId")); schedulesItem.setShowTime(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].ShowTime")); schedulesItem.setShowVersion(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].ShowVersion")); schedulesItem.setHallId(_ctx.stringValue("TaobaoFilmGetSchedulesResponse.Schedules["+ i +"].HallId")); schedules.add(schedulesItem); } taobaoFilmGetSchedulesResponse.setSchedules(schedules); return taobaoFilmGetSchedulesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetSeatsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSeatsResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSeatsResponse.SeatMap; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSeatsResponse.SeatMap.SeatsItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetSeatsResponseUnmarshaller { public static TaobaoFilmGetSeatsResponse unmarshall(TaobaoFilmGetSeatsResponse taobaoFilmGetSeatsResponse, UnmarshallerContext _ctx) { taobaoFilmGetSeatsResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetSeatsResponse.RequestId")); taobaoFilmGetSeatsResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetSeatsResponse.ErrorCode")); taobaoFilmGetSeatsResponse.setMsg(_ctx.stringValue("TaobaoFilmGetSeatsResponse.Msg")); taobaoFilmGetSeatsResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SubCode")); taobaoFilmGetSeatsResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SubMsg")); taobaoFilmGetSeatsResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetSeatsResponse.LogsId")); SeatMap seatMap = new SeatMap(); seatMap.setMaxCanBuy(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MaxCanBuy")); seatMap.setMaxColumn(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MaxColumn")); seatMap.setMaxLeftPx(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MaxLeftPx")); seatMap.setMaxRow(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MaxRow")); seatMap.setMaxTopPx(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MaxTopPx")); seatMap.setMinColumn(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MinColumn")); seatMap.setMinLeftPx(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MinLeftPx")); seatMap.setMinRow(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MinRow")); seatMap.setMinTopPx(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.MinTopPx")); seatMap.setNotice(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SeatMap.Notice")); seatMap.setRegular(_ctx.booleanValue("TaobaoFilmGetSeatsResponse.SeatMap.Regular")); seatMap.setSeatCount(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.SeatCount")); seatMap.setSoldCount(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.SoldCount")); seatMap.setTipMessage(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SeatMap.TipMessage")); List<SeatsItem> seats = new ArrayList<SeatsItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats.Length"); i++) { SeatsItem seatsItem = new SeatsItem(); seatsItem.setArea(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].Area")); seatsItem.setColumn(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].Column")); seatsItem.setExtId(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].ExtId")); seatsItem.setFlag(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].Flag")); seatsItem.setLeftPx(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].LeftPx")); seatsItem.setName(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].Name")); seatsItem.setRow(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].Row")); seatsItem.setRowName(_ctx.stringValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].RowName")); seatsItem.setStatus(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].Status")); seatsItem.setTopPx(_ctx.longValue("TaobaoFilmGetSeatsResponse.SeatMap.Seats["+ i +"].TopPx")); seats.add(seatsItem); } seatMap.setSeats(seats); taobaoFilmGetSeatsResponse.setSeatMap(seatMap); return taobaoFilmGetSeatsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetShowCommentsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetShowCommentsResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetShowCommentsResponse.CommentListItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetShowCommentsResponseUnmarshaller { public static TaobaoFilmGetShowCommentsResponse unmarshall(TaobaoFilmGetShowCommentsResponse taobaoFilmGetShowCommentsResponse, UnmarshallerContext _ctx) { taobaoFilmGetShowCommentsResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.RequestId")); taobaoFilmGetShowCommentsResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.ErrorCode")); taobaoFilmGetShowCommentsResponse.setMsg(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.Msg")); taobaoFilmGetShowCommentsResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.SubCode")); taobaoFilmGetShowCommentsResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.SubMsg")); taobaoFilmGetShowCommentsResponse.setCount(_ctx.longValue("TaobaoFilmGetShowCommentsResponse.Count")); taobaoFilmGetShowCommentsResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.LogsId")); List<CommentListItem> commentList = new ArrayList<CommentListItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetShowCommentsResponse.CommentList.Length"); i++) { CommentListItem commentListItem = new CommentListItem(); commentListItem.setCommentTime(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].CommentTime")); commentListItem.setContent(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].Content")); commentListItem.setFavorCount(_ctx.longValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].FavorCount")); commentListItem.setId(_ctx.longValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].Id")); commentListItem.setNickName(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].NickName")); commentListItem.setRemark(_ctx.longValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].Remark")); commentListItem.setShowId(_ctx.longValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].ShowId")); commentListItem.setSubject(_ctx.stringValue("TaobaoFilmGetShowCommentsResponse.CommentList["+ i +"].Subject")); commentList.add(commentListItem); } taobaoFilmGetShowCommentsResponse.setCommentList(commentList); return taobaoFilmGetShowCommentsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmGetSoonShowsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSoonShowsResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmGetSoonShowsResponse.ShowsItem; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmGetSoonShowsResponseUnmarshaller { public static TaobaoFilmGetSoonShowsResponse unmarshall(TaobaoFilmGetSoonShowsResponse taobaoFilmGetSoonShowsResponse, UnmarshallerContext _ctx) { taobaoFilmGetSoonShowsResponse.setRequestId(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.RequestId")); taobaoFilmGetSoonShowsResponse.setErrorCode(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.ErrorCode")); taobaoFilmGetSoonShowsResponse.setMsg(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Msg")); taobaoFilmGetSoonShowsResponse.setSubCode(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.SubCode")); taobaoFilmGetSoonShowsResponse.setSubMsg(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.SubMsg")); taobaoFilmGetSoonShowsResponse.setLogsId(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.LogsId")); List<ShowsItem> shows = new ArrayList<ShowsItem>(); for (int i = 0; i < _ctx.lengthValue("TaobaoFilmGetSoonShowsResponse.Shows.Length"); i++) { ShowsItem showsItem = new ShowsItem(); showsItem.setBackgroundPicture(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].BackgroundPicture")); showsItem.setCountry(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Country")); showsItem.setDescription(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Description")); showsItem.setDirector(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Director")); showsItem.setDuration(_ctx.longValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Duration")); showsItem.setHighlight(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Highlight")); showsItem.setId(_ctx.longValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Id")); showsItem.setLanguage(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Language")); showsItem.setLeadingRole(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].LeadingRole")); showsItem.setOpenDay(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].OpenDay")); showsItem.setOpenTime(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].OpenTime")); showsItem.setPoster(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Poster")); showsItem.setRemark(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Remark")); showsItem.setShowMark(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].ShowMark")); showsItem.setShowName(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].ShowName")); showsItem.setShowNameEn(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].ShowNameEn")); showsItem.setType(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].Type")); List<String> showVersionList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].ShowVersionList.Length"); j++) { showVersionList.add(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].ShowVersionList["+ j +"]")); } showsItem.setShowVersionList(showVersionList); List<String> trailerList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].TrailerList.Length"); j++) { trailerList.add(_ctx.stringValue("TaobaoFilmGetSoonShowsResponse.Shows["+ i +"].TrailerList["+ j +"]")); } showsItem.setTrailerList(trailerList); shows.add(showsItem); } taobaoFilmGetSoonShowsResponse.setShows(shows); return taobaoFilmGetSoonShowsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmIssueOrderResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmIssueOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmIssueOrderResponseUnmarshaller { public static TaobaoFilmIssueOrderResponse unmarshall(TaobaoFilmIssueOrderResponse taobaoFilmIssueOrderResponse, UnmarshallerContext _ctx) { taobaoFilmIssueOrderResponse.setRequestId(_ctx.stringValue("TaobaoFilmIssueOrderResponse.RequestId")); taobaoFilmIssueOrderResponse.setErrorCode(_ctx.stringValue("TaobaoFilmIssueOrderResponse.ErrorCode")); taobaoFilmIssueOrderResponse.setMsg(_ctx.stringValue("TaobaoFilmIssueOrderResponse.Msg")); taobaoFilmIssueOrderResponse.setSubCode(_ctx.stringValue("TaobaoFilmIssueOrderResponse.SubCode")); taobaoFilmIssueOrderResponse.setSubMsg(_ctx.stringValue("TaobaoFilmIssueOrderResponse.SubMsg")); taobaoFilmIssueOrderResponse.setMessage(_ctx.stringValue("TaobaoFilmIssueOrderResponse.Message")); taobaoFilmIssueOrderResponse.setStatus(_ctx.stringValue("TaobaoFilmIssueOrderResponse.Status")); taobaoFilmIssueOrderResponse.setTbOrderId(_ctx.stringValue("TaobaoFilmIssueOrderResponse.TbOrderId")); taobaoFilmIssueOrderResponse.setTicketContents(_ctx.stringValue("TaobaoFilmIssueOrderResponse.TicketContents")); taobaoFilmIssueOrderResponse.setLogsId(_ctx.stringValue("TaobaoFilmIssueOrderResponse.LogsId")); return taobaoFilmIssueOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmLockSeatResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmLockSeatResponse; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmLockSeatResponse.SeatLocked; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmLockSeatResponseUnmarshaller { public static TaobaoFilmLockSeatResponse unmarshall(TaobaoFilmLockSeatResponse taobaoFilmLockSeatResponse, UnmarshallerContext _ctx) { taobaoFilmLockSeatResponse.setRequestId(_ctx.stringValue("TaobaoFilmLockSeatResponse.RequestId")); taobaoFilmLockSeatResponse.setErrorCode(_ctx.stringValue("TaobaoFilmLockSeatResponse.ErrorCode")); taobaoFilmLockSeatResponse.setMsg(_ctx.stringValue("TaobaoFilmLockSeatResponse.Msg")); taobaoFilmLockSeatResponse.setSubCode(_ctx.stringValue("TaobaoFilmLockSeatResponse.SubCode")); taobaoFilmLockSeatResponse.setSubMsg(_ctx.stringValue("TaobaoFilmLockSeatResponse.SubMsg")); taobaoFilmLockSeatResponse.setLogsId(_ctx.stringValue("TaobaoFilmLockSeatResponse.LogsId")); SeatLocked seatLocked = new SeatLocked(); seatLocked.setApplyKey(_ctx.stringValue("TaobaoFilmLockSeatResponse.SeatLocked.ApplyKey")); seatLocked.setDefaultLockSecond(_ctx.longValue("TaobaoFilmLockSeatResponse.SeatLocked.DefaultLockSecond")); seatLocked.setLockTime(_ctx.longValue("TaobaoFilmLockSeatResponse.SeatLocked.LockTime")); seatLocked.setStatus(_ctx.stringValue("TaobaoFilmLockSeatResponse.SeatLocked.Status")); taobaoFilmLockSeatResponse.setSeatLocked(seatLocked); return taobaoFilmLockSeatResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform
java-sources/com/aliyun/aliyun-java-sdk-appmallsservice/1.1.2/com/aliyuncs/appmallsservice/transform/v20180224/TaobaoFilmUnLockSeatResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appmallsservice.transform.v20180224; import com.aliyuncs.appmallsservice.model.v20180224.TaobaoFilmUnLockSeatResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TaobaoFilmUnLockSeatResponseUnmarshaller { public static TaobaoFilmUnLockSeatResponse unmarshall(TaobaoFilmUnLockSeatResponse taobaoFilmUnLockSeatResponse, UnmarshallerContext _ctx) { taobaoFilmUnLockSeatResponse.setRequestId(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.RequestId")); taobaoFilmUnLockSeatResponse.setErrorCode(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.ErrorCode")); taobaoFilmUnLockSeatResponse.setMsg(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.Msg")); taobaoFilmUnLockSeatResponse.setSubCode(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.SubCode")); taobaoFilmUnLockSeatResponse.setSubMsg(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.SubMsg")); taobaoFilmUnLockSeatResponse.setReturnCode(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.ReturnCode")); taobaoFilmUnLockSeatResponse.setReturnMessage(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.ReturnMessage")); taobaoFilmUnLockSeatResponse.setReturnValue(_ctx.booleanValue("TaobaoFilmUnLockSeatResponse.ReturnValue")); taobaoFilmUnLockSeatResponse.setLogsId(_ctx.stringValue("TaobaoFilmUnLockSeatResponse.LogsId")); return taobaoFilmUnLockSeatResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ApproveOtaTaskRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ApproveOtaTaskRequest extends RpcAcsRequest<ApproveOtaTaskResponse> { private String bizRegionId; private String otaType; private String startTime; private String appInstanceGroupId; private String taskId; public ApproveOtaTaskRequest() { super("appstream-center", "2021-09-01", "ApproveOtaTask"); setMethod(MethodType.POST); } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putBodyParameter("BizRegionId", bizRegionId); } } public String getOtaType() { return this.otaType; } public void setOtaType(String otaType) { this.otaType = otaType; if(otaType != null){ putBodyParameter("OtaType", otaType); } } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; if(startTime != null){ putBodyParameter("StartTime", startTime); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putBodyParameter("TaskId", taskId); } } @Override public Class<ApproveOtaTaskResponse> getResponseClass() { return ApproveOtaTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ApproveOtaTaskResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ApproveOtaTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ApproveOtaTaskResponse extends AcsResponse { private String requestId; private String code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public ApproveOtaTaskResponse getInstance(UnmarshallerContext context) { return ApproveOtaTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/AuthorizeInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class AuthorizeInstanceGroupRequest extends RpcAcsRequest<AuthorizeInstanceGroupResponse> { private List<String> unAuthorizeUserIdss; private String productType; private String appInstanceGroupId; private List<String> authorizeUserIdss; public AuthorizeInstanceGroupRequest() { super("appstream-center", "2021-09-01", "AuthorizeInstanceGroup"); setMethod(MethodType.POST); } public List<String> getUnAuthorizeUserIdss() { return this.unAuthorizeUserIdss; } public void setUnAuthorizeUserIdss(List<String> unAuthorizeUserIdss) { this.unAuthorizeUserIdss = unAuthorizeUserIdss; if (unAuthorizeUserIdss != null) { for (int i = 0; i < unAuthorizeUserIdss.size(); i++) { putBodyParameter("UnAuthorizeUserIds." + (i + 1) , unAuthorizeUserIdss.get(i)); } } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } public List<String> getAuthorizeUserIdss() { return this.authorizeUserIdss; } public void setAuthorizeUserIdss(List<String> authorizeUserIdss) { this.authorizeUserIdss = authorizeUserIdss; if (authorizeUserIdss != null) { for (int i = 0; i < authorizeUserIdss.size(); i++) { putBodyParameter("AuthorizeUserIds." + (i + 1) , authorizeUserIdss.get(i)); } } } @Override public Class<AuthorizeInstanceGroupResponse> getResponseClass() { return AuthorizeInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/AuthorizeInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.AuthorizeInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AuthorizeInstanceGroupResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public AuthorizeInstanceGroupResponse getInstance(UnmarshallerContext context) { return AuthorizeInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/CancelOtaTaskRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CancelOtaTaskRequest extends RpcAcsRequest<CancelOtaTaskResponse> { private String appInstanceGroupId; private String taskId; public CancelOtaTaskRequest() { super("appstream-center", "2021-09-01", "CancelOtaTask"); setMethod(MethodType.POST); } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putBodyParameter("TaskId", taskId); } } @Override public Class<CancelOtaTaskResponse> getResponseClass() { return CancelOtaTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/CancelOtaTaskResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.CancelOtaTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CancelOtaTaskResponse extends AcsResponse { private String requestId; private String code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public CancelOtaTaskResponse getInstance(UnmarshallerContext context) { return CancelOtaTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/CreateAppInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateAppInstanceGroupRequest extends RpcAcsRequest<CreateAppInstanceGroupResponse> { @SerializedName("runtimePolicy") private RuntimePolicy runtimePolicy; private String bizRegionId; private String productType; @SerializedName("network") private Network network; private Integer sessionTimeout; private String chargeResourceMode; private String appCenterImageId; @SerializedName("userInfo") private UserInfo userInfo; private String preOpenAppId; private Integer period; private Boolean autoPay; @SerializedName("nodePool") private NodePool nodePool; private String promotionId; private List<String> userss; private String appInstanceGroupName; private String periodUnit; private Boolean autoRenew; private String chargeType; public CreateAppInstanceGroupRequest() { super("appstream-center", "2021-09-01", "CreateAppInstanceGroup"); setMethod(MethodType.POST); } public RuntimePolicy getRuntimePolicy() { return this.runtimePolicy; } public void setRuntimePolicy(RuntimePolicy runtimePolicy) { this.runtimePolicy = runtimePolicy; if (runtimePolicy != null) { putBodyParameter("RuntimePolicy" , new Gson().toJson(runtimePolicy)); } } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putBodyParameter("BizRegionId", bizRegionId); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public Network getNetwork() { return this.network; } public void setNetwork(Network network) { this.network = network; if (network != null) { putBodyParameter("Network" , new Gson().toJson(network)); } } public Integer getSessionTimeout() { return this.sessionTimeout; } public void setSessionTimeout(Integer sessionTimeout) { this.sessionTimeout = sessionTimeout; if(sessionTimeout != null){ putBodyParameter("SessionTimeout", sessionTimeout.toString()); } } public String getChargeResourceMode() { return this.chargeResourceMode; } public void setChargeResourceMode(String chargeResourceMode) { this.chargeResourceMode = chargeResourceMode; if(chargeResourceMode != null){ putBodyParameter("ChargeResourceMode", chargeResourceMode); } } public String getAppCenterImageId() { return this.appCenterImageId; } public void setAppCenterImageId(String appCenterImageId) { this.appCenterImageId = appCenterImageId; if(appCenterImageId != null){ putBodyParameter("AppCenterImageId", appCenterImageId); } } public UserInfo getUserInfo() { return this.userInfo; } public void setUserInfo(UserInfo userInfo) { this.userInfo = userInfo; if (userInfo != null) { putBodyParameter("UserInfo" , new Gson().toJson(userInfo)); } } public String getPreOpenAppId() { return this.preOpenAppId; } public void setPreOpenAppId(String preOpenAppId) { this.preOpenAppId = preOpenAppId; if(preOpenAppId != null){ putBodyParameter("PreOpenAppId", preOpenAppId); } } public Integer getPeriod() { return this.period; } public void setPeriod(Integer period) { this.period = period; if(period != null){ putBodyParameter("Period", period.toString()); } } public Boolean getAutoPay() { return this.autoPay; } public void setAutoPay(Boolean autoPay) { this.autoPay = autoPay; if(autoPay != null){ putBodyParameter("AutoPay", autoPay.toString()); } } public NodePool getNodePool() { return this.nodePool; } public void setNodePool(NodePool nodePool) { this.nodePool = nodePool; if (nodePool != null) { putBodyParameter("NodePool" , new Gson().toJson(nodePool)); } } public String getPromotionId() { return this.promotionId; } public void setPromotionId(String promotionId) { this.promotionId = promotionId; if(promotionId != null){ putBodyParameter("PromotionId", promotionId); } } public List<String> getUserss() { return this.userss; } public void setUserss(List<String> userss) { this.userss = userss; if (userss != null) { for (int i = 0; i < userss.size(); i++) { putBodyParameter("Users." + (i + 1) , userss.get(i)); } } } public String getAppInstanceGroupName() { return this.appInstanceGroupName; } public void setAppInstanceGroupName(String appInstanceGroupName) { this.appInstanceGroupName = appInstanceGroupName; if(appInstanceGroupName != null){ putBodyParameter("AppInstanceGroupName", appInstanceGroupName); } } public String getPeriodUnit() { return this.periodUnit; } public void setPeriodUnit(String periodUnit) { this.periodUnit = periodUnit; if(periodUnit != null){ putBodyParameter("PeriodUnit", periodUnit); } } public Boolean getAutoRenew() { return this.autoRenew; } public void setAutoRenew(Boolean autoRenew) { this.autoRenew = autoRenew; if(autoRenew != null){ putBodyParameter("AutoRenew", autoRenew.toString()); } } public String getChargeType() { return this.chargeType; } public void setChargeType(String chargeType) { this.chargeType = chargeType; if(chargeType != null){ putBodyParameter("ChargeType", chargeType); } } public static class RuntimePolicy { @SerializedName("SessionType") private String sessionType; @SerializedName("DebugMode") private String debugMode; public String getSessionType() { return this.sessionType; } public void setSessionType(String sessionType) { this.sessionType = sessionType; } public String getDebugMode() { return this.debugMode; } public void setDebugMode(String debugMode) { this.debugMode = debugMode; } } public static class Network { @SerializedName("Routes") private List<RoutesItem> routes; @SerializedName("StrategyType") private String strategyType; public List<RoutesItem> getRoutes() { return this.routes; } public void setRoutes(List<RoutesItem> routes) { this.routes = routes; } public String getStrategyType() { return this.strategyType; } public void setStrategyType(String strategyType) { this.strategyType = strategyType; } public static class RoutesItem { @SerializedName("Mode") private String mode; @SerializedName("Destination") private String destination; public String getMode() { return this.mode; } public void setMode(String mode) { this.mode = mode; } public String getDestination() { return this.destination; } public void setDestination(String destination) { this.destination = destination; } } } public static class UserInfo { @SerializedName("Type") private String type; public String getType() { return this.type; } public void setType(String type) { this.type = type; } } public static class NodePool { @SerializedName("RecurrenceSchedules") private List<RecurrenceSchedulesItem> recurrenceSchedules; @SerializedName("NodeAmount") private Integer nodeAmount; @SerializedName("ScalingStep") private Integer scalingStep; @SerializedName("StrategyDisableDate") private String strategyDisableDate; @SerializedName("NodeInstanceType") private String nodeInstanceType; @SerializedName("ScalingDownAfterIdleMinutes") private Integer scalingDownAfterIdleMinutes; @SerializedName("StrategyType") private String strategyType; @SerializedName("MaxScalingAmount") private Integer maxScalingAmount; @SerializedName("WarmUp") private Boolean warmUp; @SerializedName("ScalingUsageThreshold") private String scalingUsageThreshold; @SerializedName("NodeCapacity") private Integer nodeCapacity; @SerializedName("StrategyEnableDate") private String strategyEnableDate; public List<RecurrenceSchedulesItem> getRecurrenceSchedules() { return this.recurrenceSchedules; } public void setRecurrenceSchedules(List<RecurrenceSchedulesItem> recurrenceSchedules) { this.recurrenceSchedules = recurrenceSchedules; } public Integer getNodeAmount() { return this.nodeAmount; } public void setNodeAmount(Integer nodeAmount) { this.nodeAmount = nodeAmount; } public Integer getScalingStep() { return this.scalingStep; } public void setScalingStep(Integer scalingStep) { this.scalingStep = scalingStep; } public String getStrategyDisableDate() { return this.strategyDisableDate; } public void setStrategyDisableDate(String strategyDisableDate) { this.strategyDisableDate = strategyDisableDate; } public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; } public Integer getScalingDownAfterIdleMinutes() { return this.scalingDownAfterIdleMinutes; } public void setScalingDownAfterIdleMinutes(Integer scalingDownAfterIdleMinutes) { this.scalingDownAfterIdleMinutes = scalingDownAfterIdleMinutes; } public String getStrategyType() { return this.strategyType; } public void setStrategyType(String strategyType) { this.strategyType = strategyType; } public Integer getMaxScalingAmount() { return this.maxScalingAmount; } public void setMaxScalingAmount(Integer maxScalingAmount) { this.maxScalingAmount = maxScalingAmount; } public Boolean getWarmUp() { return this.warmUp; } public void setWarmUp(Boolean warmUp) { this.warmUp = warmUp; } public String getScalingUsageThreshold() { return this.scalingUsageThreshold; } public void setScalingUsageThreshold(String scalingUsageThreshold) { this.scalingUsageThreshold = scalingUsageThreshold; } public Integer getNodeCapacity() { return this.nodeCapacity; } public void setNodeCapacity(Integer nodeCapacity) { this.nodeCapacity = nodeCapacity; } public String getStrategyEnableDate() { return this.strategyEnableDate; } public void setStrategyEnableDate(String strategyEnableDate) { this.strategyEnableDate = strategyEnableDate; } public static class RecurrenceSchedulesItem { @SerializedName("RecurrenceValues") private List<Integer> recurrenceValues; @SerializedName("RecurrenceType") private String recurrenceType; @SerializedName("TimerPeriods") private List<TimerPeriodsItem> timerPeriods; public List<Integer> getRecurrenceValues() { return this.recurrenceValues; } public void setRecurrenceValues(List<Integer> recurrenceValues) { this.recurrenceValues = recurrenceValues; } public String getRecurrenceType() { return this.recurrenceType; } public void setRecurrenceType(String recurrenceType) { this.recurrenceType = recurrenceType; } public List<TimerPeriodsItem> getTimerPeriods() { return this.timerPeriods; } public void setTimerPeriods(List<TimerPeriodsItem> timerPeriods) { this.timerPeriods = timerPeriods; } public static class TimerPeriodsItem { @SerializedName("Amount") private Integer amount; @SerializedName("EndTime") private String endTime; @SerializedName("StartTime") private String startTime; public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } } } } @Override public Class<CreateAppInstanceGroupResponse> getResponseClass() { return CreateAppInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/CreateAppInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.CreateAppInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAppInstanceGroupResponse extends AcsResponse { private String requestId; private AppInstanceGroupModel appInstanceGroupModel; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public AppInstanceGroupModel getAppInstanceGroupModel() { return this.appInstanceGroupModel; } public void setAppInstanceGroupModel(AppInstanceGroupModel appInstanceGroupModel) { this.appInstanceGroupModel = appInstanceGroupModel; } public static class AppInstanceGroupModel { private String appInstanceGroupId; private String orderId; private String specId; private String nodePoolId; public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; } public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getSpecId() { return this.specId; } public void setSpecId(String specId) { this.specId = specId; } public String getNodePoolId() { return this.nodePoolId; } public void setNodePoolId(String nodePoolId) { this.nodePoolId = nodePoolId; } } @Override public CreateAppInstanceGroupResponse getInstance(UnmarshallerContext context) { return CreateAppInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/DeleteAppInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteAppInstanceGroupRequest extends RpcAcsRequest<DeleteAppInstanceGroupResponse> { private String productType; private String appInstanceGroupId; public DeleteAppInstanceGroupRequest() { super("appstream-center", "2021-09-01", "DeleteAppInstanceGroup"); setMethod(MethodType.POST); } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } @Override public Class<DeleteAppInstanceGroupResponse> getResponseClass() { return DeleteAppInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/DeleteAppInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.DeleteAppInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteAppInstanceGroupResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public DeleteAppInstanceGroupResponse getInstance(UnmarshallerContext context) { return DeleteAppInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/DeleteAppInstancesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteAppInstancesRequest extends RpcAcsRequest<DeleteAppInstancesResponse> { private List<String> appInstanceIdss; private String productType; private String appInstanceGroupId; public DeleteAppInstancesRequest() { super("appstream-center", "2021-09-01", "DeleteAppInstances"); setMethod(MethodType.POST); } public List<String> getAppInstanceIdss() { return this.appInstanceIdss; } public void setAppInstanceIdss(List<String> appInstanceIdss) { this.appInstanceIdss = appInstanceIdss; if (appInstanceIdss != null) { for (int i = 0; i < appInstanceIdss.size(); i++) { putBodyParameter("AppInstanceIds." + (i + 1) , appInstanceIdss.get(i)); } } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } @Override public Class<DeleteAppInstancesResponse> getResponseClass() { return DeleteAppInstancesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/DeleteAppInstancesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.DeleteAppInstancesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteAppInstancesResponse extends AcsResponse { private String requestId; private List<Data> deleteAppInstanceModels; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Data> getDeleteAppInstanceModels() { return this.deleteAppInstanceModels; } public void setDeleteAppInstanceModels(List<Data> deleteAppInstanceModels) { this.deleteAppInstanceModels = deleteAppInstanceModels; } public static class Data { private String appInstanceId; private Boolean success; private String code; private String message; public String getAppInstanceId() { return this.appInstanceId; } public void setAppInstanceId(String appInstanceId) { this.appInstanceId = appInstanceId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } } @Override public DeleteAppInstancesResponse getInstance(UnmarshallerContext context) { return DeleteAppInstancesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetAppInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetAppInstanceGroupRequest extends RpcAcsRequest<GetAppInstanceGroupResponse> { private String productType; private String appInstanceGroupId; public GetAppInstanceGroupRequest() { super("appstream-center", "2021-09-01", "GetAppInstanceGroup"); setMethod(MethodType.POST); } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } @Override public Class<GetAppInstanceGroupResponse> getResponseClass() { return GetAppInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetAppInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.GetAppInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetAppInstanceGroupResponse extends AcsResponse { private String requestId; private Integer totalCount; private Integer pageSize; private Integer pageNumber; private AppInstanceGroupModels appInstanceGroupModels; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } public AppInstanceGroupModels getAppInstanceGroupModels() { return this.appInstanceGroupModels; } public void setAppInstanceGroupModels(AppInstanceGroupModels appInstanceGroupModels) { this.appInstanceGroupModels = appInstanceGroupModels; } public static class AppInstanceGroupModels { private String appCenterImageId; private String aliyunImageId; private String regionId; private String productType; private String appInstanceType; private String appInstanceGroupId; private String cpu; private String gpu; private Long memory; private Integer amount; private Integer minAmount; private Integer maxAmount; private String chargeType; private String gmtCreate; private String status; private String specId; private String sessionTimeout; private String appInstanceGroupName; private String expiredTime; private String osType; private String appCenterImageName; private String resourceStatus; private String appPolicyId; private List<AppsItem> apps; private List<Node> nodePool; private OtaInfo otaInfo; public String getAppCenterImageId() { return this.appCenterImageId; } public void setAppCenterImageId(String appCenterImageId) { this.appCenterImageId = appCenterImageId; } public String getAliyunImageId() { return this.aliyunImageId; } public void setAliyunImageId(String aliyunImageId) { this.aliyunImageId = aliyunImageId; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; } public String getAppInstanceType() { return this.appInstanceType; } public void setAppInstanceType(String appInstanceType) { this.appInstanceType = appInstanceType; } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; } public String getCpu() { return this.cpu; } public void setCpu(String cpu) { this.cpu = cpu; } public String getGpu() { return this.gpu; } public void setGpu(String gpu) { this.gpu = gpu; } public Long getMemory() { return this.memory; } public void setMemory(Long memory) { this.memory = memory; } public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public Integer getMinAmount() { return this.minAmount; } public void setMinAmount(Integer minAmount) { this.minAmount = minAmount; } public Integer getMaxAmount() { return this.maxAmount; } public void setMaxAmount(Integer maxAmount) { this.maxAmount = maxAmount; } public String getChargeType() { return this.chargeType; } public void setChargeType(String chargeType) { this.chargeType = chargeType; } public String getGmtCreate() { return this.gmtCreate; } public void setGmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getSpecId() { return this.specId; } public void setSpecId(String specId) { this.specId = specId; } public String getSessionTimeout() { return this.sessionTimeout; } public void setSessionTimeout(String sessionTimeout) { this.sessionTimeout = sessionTimeout; } public String getAppInstanceGroupName() { return this.appInstanceGroupName; } public void setAppInstanceGroupName(String appInstanceGroupName) { this.appInstanceGroupName = appInstanceGroupName; } public String getExpiredTime() { return this.expiredTime; } public void setExpiredTime(String expiredTime) { this.expiredTime = expiredTime; } public String getOsType() { return this.osType; } public void setOsType(String osType) { this.osType = osType; } public String getAppCenterImageName() { return this.appCenterImageName; } public void setAppCenterImageName(String appCenterImageName) { this.appCenterImageName = appCenterImageName; } public String getResourceStatus() { return this.resourceStatus; } public void setResourceStatus(String resourceStatus) { this.resourceStatus = resourceStatus; } public String getAppPolicyId() { return this.appPolicyId; } public void setAppPolicyId(String appPolicyId) { this.appPolicyId = appPolicyId; } public List<AppsItem> getApps() { return this.apps; } public void setApps(List<AppsItem> apps) { this.apps = apps; } public List<Node> getNodePool() { return this.nodePool; } public void setNodePool(List<Node> nodePool) { this.nodePool = nodePool; } public OtaInfo getOtaInfo() { return this.otaInfo; } public void setOtaInfo(OtaInfo otaInfo) { this.otaInfo = otaInfo; } public static class AppsItem { private String appId; private String appName; public String getAppId() { return this.appId; } public void setAppId(String appId) { this.appId = appId; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } } public static class Node { private String nodePoolId; private String nodeInstanceType; private Integer nodeAmount; private Integer nodeUsed; private Integer nodeCapacity; private Integer scalingNodeAmount; private Integer scalingNodeUsed; private String strategyType; private Integer amount; private Integer maxScalingAmount; private Integer scalingStep; private String scalingUsageThreshold; private Integer scalingDownAfterIdleMinutes; private String strategyDisableDate; private String strategyEnableDate; private Boolean warmUp; private String nodeTypeName; private List<RecurrenceSchedule> recurrenceSchedules; public String getNodePoolId() { return this.nodePoolId; } public void setNodePoolId(String nodePoolId) { this.nodePoolId = nodePoolId; } public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; } public Integer getNodeAmount() { return this.nodeAmount; } public void setNodeAmount(Integer nodeAmount) { this.nodeAmount = nodeAmount; } public Integer getNodeUsed() { return this.nodeUsed; } public void setNodeUsed(Integer nodeUsed) { this.nodeUsed = nodeUsed; } public Integer getNodeCapacity() { return this.nodeCapacity; } public void setNodeCapacity(Integer nodeCapacity) { this.nodeCapacity = nodeCapacity; } public Integer getScalingNodeAmount() { return this.scalingNodeAmount; } public void setScalingNodeAmount(Integer scalingNodeAmount) { this.scalingNodeAmount = scalingNodeAmount; } public Integer getScalingNodeUsed() { return this.scalingNodeUsed; } public void setScalingNodeUsed(Integer scalingNodeUsed) { this.scalingNodeUsed = scalingNodeUsed; } public String getStrategyType() { return this.strategyType; } public void setStrategyType(String strategyType) { this.strategyType = strategyType; } public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public Integer getMaxScalingAmount() { return this.maxScalingAmount; } public void setMaxScalingAmount(Integer maxScalingAmount) { this.maxScalingAmount = maxScalingAmount; } public Integer getScalingStep() { return this.scalingStep; } public void setScalingStep(Integer scalingStep) { this.scalingStep = scalingStep; } public String getScalingUsageThreshold() { return this.scalingUsageThreshold; } public void setScalingUsageThreshold(String scalingUsageThreshold) { this.scalingUsageThreshold = scalingUsageThreshold; } public Integer getScalingDownAfterIdleMinutes() { return this.scalingDownAfterIdleMinutes; } public void setScalingDownAfterIdleMinutes(Integer scalingDownAfterIdleMinutes) { this.scalingDownAfterIdleMinutes = scalingDownAfterIdleMinutes; } public String getStrategyDisableDate() { return this.strategyDisableDate; } public void setStrategyDisableDate(String strategyDisableDate) { this.strategyDisableDate = strategyDisableDate; } public String getStrategyEnableDate() { return this.strategyEnableDate; } public void setStrategyEnableDate(String strategyEnableDate) { this.strategyEnableDate = strategyEnableDate; } public Boolean getWarmUp() { return this.warmUp; } public void setWarmUp(Boolean warmUp) { this.warmUp = warmUp; } public String getNodeTypeName() { return this.nodeTypeName; } public void setNodeTypeName(String nodeTypeName) { this.nodeTypeName = nodeTypeName; } public List<RecurrenceSchedule> getRecurrenceSchedules() { return this.recurrenceSchedules; } public void setRecurrenceSchedules(List<RecurrenceSchedule> recurrenceSchedules) { this.recurrenceSchedules = recurrenceSchedules; } public static class RecurrenceSchedule { private String recurrenceType; private List<TimerPeriod> timerPeriods; private List<Integer> recurrenceValues; public String getRecurrenceType() { return this.recurrenceType; } public void setRecurrenceType(String recurrenceType) { this.recurrenceType = recurrenceType; } public List<TimerPeriod> getTimerPeriods() { return this.timerPeriods; } public void setTimerPeriods(List<TimerPeriod> timerPeriods) { this.timerPeriods = timerPeriods; } public List<Integer> getRecurrenceValues() { return this.recurrenceValues; } public void setRecurrenceValues(List<Integer> recurrenceValues) { this.recurrenceValues = recurrenceValues; } public static class TimerPeriod { private Integer amount; private String endTime; private String startTime; public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } } } } public static class OtaInfo { private String otaVersion; private String newOtaVersion; private String taskId; public String getOtaVersion() { return this.otaVersion; } public void setOtaVersion(String otaVersion) { this.otaVersion = otaVersion; } public String getNewOtaVersion() { return this.newOtaVersion; } public void setNewOtaVersion(String newOtaVersion) { this.newOtaVersion = newOtaVersion; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } } } @Override public GetAppInstanceGroupResponse getInstance(UnmarshallerContext context) { return GetAppInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetConnectionTicketRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetConnectionTicketRequest extends RpcAcsRequest<GetConnectionTicketResponse> { private String bizRegionId; private String appStartParam; private String productType; private String endUserId; private String taskId; private String appVersion; private List<String> appInstanceGroupIdLists; private String appId; private String appInstanceId; public GetConnectionTicketRequest() { super("appstream-center", "2021-09-01", "GetConnectionTicket"); setMethod(MethodType.POST); } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putBodyParameter("BizRegionId", bizRegionId); } } public String getAppStartParam() { return this.appStartParam; } public void setAppStartParam(String appStartParam) { this.appStartParam = appStartParam; if(appStartParam != null){ putBodyParameter("AppStartParam", appStartParam); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getEndUserId() { return this.endUserId; } public void setEndUserId(String endUserId) { this.endUserId = endUserId; if(endUserId != null){ putBodyParameter("EndUserId", endUserId); } } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putBodyParameter("TaskId", taskId); } } public String getAppVersion() { return this.appVersion; } public void setAppVersion(String appVersion) { this.appVersion = appVersion; if(appVersion != null){ putBodyParameter("AppVersion", appVersion); } } public List<String> getAppInstanceGroupIdLists() { return this.appInstanceGroupIdLists; } public void setAppInstanceGroupIdLists(List<String> appInstanceGroupIdLists) { this.appInstanceGroupIdLists = appInstanceGroupIdLists; if (appInstanceGroupIdLists != null) { for (int i = 0; i < appInstanceGroupIdLists.size(); i++) { putBodyParameter("AppInstanceGroupIdList." + (i + 1) , appInstanceGroupIdLists.get(i)); } } } public String getAppId() { return this.appId; } public void setAppId(String appId) { this.appId = appId; if(appId != null){ putBodyParameter("AppId", appId); } } public String getAppInstanceId() { return this.appInstanceId; } public void setAppInstanceId(String appInstanceId) { this.appInstanceId = appInstanceId; if(appInstanceId != null){ putBodyParameter("AppInstanceId", appInstanceId); } } @Override public Class<GetConnectionTicketResponse> getResponseClass() { return GetConnectionTicketResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetConnectionTicketResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.GetConnectionTicketResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetConnectionTicketResponse extends AcsResponse { private String requestId; private String taskStatus; private String taskId; private String bizRegionId; private String ticket; private String appInstanceGroupId; private String appInstanceId; private String osType; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getTaskStatus() { return this.taskStatus; } public void setTaskStatus(String taskStatus) { this.taskStatus = taskStatus; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; } public String getTicket() { return this.ticket; } public void setTicket(String ticket) { this.ticket = ticket; } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; } public String getAppInstanceId() { return this.appInstanceId; } public void setAppInstanceId(String appInstanceId) { this.appInstanceId = appInstanceId; } public String getOsType() { return this.osType; } public void setOsType(String osType) { this.osType = osType; } @Override public GetConnectionTicketResponse getInstance(UnmarshallerContext context) { return GetConnectionTicketResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetOtaTaskByTaskIdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetOtaTaskByTaskIdRequest extends RpcAcsRequest<GetOtaTaskByTaskIdResponse> { private String taskId; public GetOtaTaskByTaskIdRequest() { super("appstream-center", "2021-09-01", "GetOtaTaskByTaskId"); setMethod(MethodType.POST); } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putBodyParameter("TaskId", taskId); } } @Override public Class<GetOtaTaskByTaskIdResponse> getResponseClass() { return GetOtaTaskByTaskIdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetOtaTaskByTaskIdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.GetOtaTaskByTaskIdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetOtaTaskByTaskIdResponse extends AcsResponse { private String requestId; private String code; private String message; private String releaseNote; private String otaVersion; private String taskStartTime; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getReleaseNote() { return this.releaseNote; } public void setReleaseNote(String releaseNote) { this.releaseNote = releaseNote; } public String getOtaVersion() { return this.otaVersion; } public void setOtaVersion(String otaVersion) { this.otaVersion = otaVersion; } public String getTaskStartTime() { return this.taskStartTime; } public void setTaskStartTime(String taskStartTime) { this.taskStartTime = taskStartTime; } @Override public GetOtaTaskByTaskIdResponse getInstance(UnmarshallerContext context) { return GetOtaTaskByTaskIdResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetResourcePriceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetResourcePriceRequest extends RpcAcsRequest<GetResourcePriceResponse> { private String bizRegionId; private Long period; private Long amount; private String nodeInstanceType; private String productType; private String periodUnit; private String chargeType; public GetResourcePriceRequest() { super("appstream-center", "2021-09-01", "GetResourcePrice"); setMethod(MethodType.POST); } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putQueryParameter("BizRegionId", bizRegionId); } } public Long getPeriod() { return this.period; } public void setPeriod(Long period) { this.period = period; if(period != null){ putQueryParameter("Period", period.toString()); } } public Long getAmount() { return this.amount; } public void setAmount(Long amount) { this.amount = amount; if(amount != null){ putQueryParameter("Amount", amount.toString()); } } public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; if(nodeInstanceType != null){ putQueryParameter("NodeInstanceType", nodeInstanceType); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getPeriodUnit() { return this.periodUnit; } public void setPeriodUnit(String periodUnit) { this.periodUnit = periodUnit; if(periodUnit != null){ putQueryParameter("PeriodUnit", periodUnit); } } public String getChargeType() { return this.chargeType; } public void setChargeType(String chargeType) { this.chargeType = chargeType; if(chargeType != null){ putQueryParameter("ChargeType", chargeType); } } @Override public Class<GetResourcePriceResponse> getResponseClass() { return GetResourcePriceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetResourcePriceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.GetResourcePriceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetResourcePriceResponse extends AcsResponse { private String requestId; private String code; private String message; private PriceModel priceModel; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public PriceModel getPriceModel() { return this.priceModel; } public void setPriceModel(PriceModel priceModel) { this.priceModel = priceModel; } public static class PriceModel { private List<Rule> rules; private Price price; public List<Rule> getRules() { return this.rules; } public void setRules(List<Rule> rules) { this.rules = rules; } public Price getPrice() { return this.price; } public void setPrice(Price price) { this.price = price; } public static class Rule { private Long ruleId; private String description; public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } } public static class Price { private String originalPrice; private String discountPrice; private String tradePrice; private String currency; private List<Promotion> promotions; public String getOriginalPrice() { return this.originalPrice; } public void setOriginalPrice(String originalPrice) { this.originalPrice = originalPrice; } public String getDiscountPrice() { return this.discountPrice; } public void setDiscountPrice(String discountPrice) { this.discountPrice = discountPrice; } public String getTradePrice() { return this.tradePrice; } public void setTradePrice(String tradePrice) { this.tradePrice = tradePrice; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public List<Promotion> getPromotions() { return this.promotions; } public void setPromotions(List<Promotion> promotions) { this.promotions = promotions; } public static class Promotion { private String optionCode; private String promotionId; private String promotionName; private String promotionDesc; private Boolean selected; public String getOptionCode() { return this.optionCode; } public void setOptionCode(String optionCode) { this.optionCode = optionCode; } public String getPromotionId() { return this.promotionId; } public void setPromotionId(String promotionId) { this.promotionId = promotionId; } public String getPromotionName() { return this.promotionName; } public void setPromotionName(String promotionName) { this.promotionName = promotionName; } public String getPromotionDesc() { return this.promotionDesc; } public void setPromotionDesc(String promotionDesc) { this.promotionDesc = promotionDesc; } public Boolean getSelected() { return this.selected; } public void setSelected(Boolean selected) { this.selected = selected; } } } } @Override public GetResourcePriceResponse getInstance(UnmarshallerContext context) { return GetResourcePriceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetResourceRenewPriceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class GetResourceRenewPriceRequest extends RpcAcsRequest<GetResourceRenewPriceResponse> { private Long period; private String productType; private String periodUnit; private String appInstanceGroupId; public GetResourceRenewPriceRequest() { super("appstream-center", "2021-09-01", "GetResourceRenewPrice"); setMethod(MethodType.POST); } public Long getPeriod() { return this.period; } public void setPeriod(Long period) { this.period = period; if(period != null){ putQueryParameter("Period", period.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getPeriodUnit() { return this.periodUnit; } public void setPeriodUnit(String periodUnit) { this.periodUnit = periodUnit; if(periodUnit != null){ putQueryParameter("PeriodUnit", periodUnit); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } @Override public Class<GetResourceRenewPriceResponse> getResponseClass() { return GetResourceRenewPriceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/GetResourceRenewPriceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.GetResourceRenewPriceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetResourceRenewPriceResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private List<Rule> rules; private Price price; public List<Rule> getRules() { return this.rules; } public void setRules(List<Rule> rules) { this.rules = rules; } public Price getPrice() { return this.price; } public void setPrice(Price price) { this.price = price; } public static class Rule { private Long ruleId; private String description; public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } } public static class Price { private String originalPrice; private String discountPrice; private String tradePrice; private String currency; private List<Promotion> promotions; public String getOriginalPrice() { return this.originalPrice; } public void setOriginalPrice(String originalPrice) { this.originalPrice = originalPrice; } public String getDiscountPrice() { return this.discountPrice; } public void setDiscountPrice(String discountPrice) { this.discountPrice = discountPrice; } public String getTradePrice() { return this.tradePrice; } public void setTradePrice(String tradePrice) { this.tradePrice = tradePrice; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public List<Promotion> getPromotions() { return this.promotions; } public void setPromotions(List<Promotion> promotions) { this.promotions = promotions; } public static class Promotion { private String optionCode; private String promotionId; private String promotionName; private String promotionDesc; private Boolean selected; public String getOptionCode() { return this.optionCode; } public void setOptionCode(String optionCode) { this.optionCode = optionCode; } public String getPromotionId() { return this.promotionId; } public void setPromotionId(String promotionId) { this.promotionId = promotionId; } public String getPromotionName() { return this.promotionName; } public void setPromotionName(String promotionName) { this.promotionName = promotionName; } public String getPromotionDesc() { return this.promotionDesc; } public void setPromotionDesc(String promotionDesc) { this.promotionDesc = promotionDesc; } public Boolean getSelected() { return this.selected; } public void setSelected(Boolean selected) { this.selected = selected; } } } } @Override public GetResourceRenewPriceResponse getInstance(UnmarshallerContext context) { return GetResourceRenewPriceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListAppInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListAppInstanceGroupRequest extends RpcAcsRequest<ListAppInstanceGroupResponse> { private Integer pageNumber; private String productType; private String appCenterImageId; private Integer pageSize; private String nodeInstanceType; private String appInstanceGroupName; private String appInstanceGroupId; private List<String> statuss; public ListAppInstanceGroupRequest() { super("appstream-center", "2021-09-01", "ListAppInstanceGroup"); setMethod(MethodType.POST); } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putQueryParameter("PageNumber", pageNumber.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getAppCenterImageId() { return this.appCenterImageId; } public void setAppCenterImageId(String appCenterImageId) { this.appCenterImageId = appCenterImageId; if(appCenterImageId != null){ putQueryParameter("AppCenterImageId", appCenterImageId); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; if(nodeInstanceType != null){ putQueryParameter("NodeInstanceType", nodeInstanceType); } } public String getAppInstanceGroupName() { return this.appInstanceGroupName; } public void setAppInstanceGroupName(String appInstanceGroupName) { this.appInstanceGroupName = appInstanceGroupName; if(appInstanceGroupName != null){ putQueryParameter("AppInstanceGroupName", appInstanceGroupName); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } public List<String> getStatuss() { return this.statuss; } public void setStatuss(List<String> statuss) { this.statuss = statuss; if (statuss != null) { for (int i = 0; i < statuss.size(); i++) { putBodyParameter("Status." + (i + 1) , statuss.get(i)); } } } @Override public Class<ListAppInstanceGroupResponse> getResponseClass() { return ListAppInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListAppInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ListAppInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListAppInstanceGroupResponse extends AcsResponse { private String requestId; private Integer totalCount; private Integer pageSize; private Integer pageNumber; private List<Data> appInstanceGroupModels; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } public List<Data> getAppInstanceGroupModels() { return this.appInstanceGroupModels; } public void setAppInstanceGroupModels(List<Data> appInstanceGroupModels) { this.appInstanceGroupModels = appInstanceGroupModels; } public static class Data { private String appCenterImageId; private String aliyunImageId; private String regionId; private String productType; private String appInstanceType; private String appInstanceGroupId; private String cpu; private String gpu; private Long memory; private Integer amount; private Integer minAmount; private Integer maxAmount; private String chargeType; private String gmtCreate; private String status; private String specId; private String sessionTimeout; private String appInstanceGroupName; private String expiredTime; private String osType; private String resourceStatus; private String appPolicyId; private String chargeResourceMode; private List<AppsItem> apps; private List<Node> nodePool; private OtaInfo otaInfo; public String getAppCenterImageId() { return this.appCenterImageId; } public void setAppCenterImageId(String appCenterImageId) { this.appCenterImageId = appCenterImageId; } public String getAliyunImageId() { return this.aliyunImageId; } public void setAliyunImageId(String aliyunImageId) { this.aliyunImageId = aliyunImageId; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; } public String getAppInstanceType() { return this.appInstanceType; } public void setAppInstanceType(String appInstanceType) { this.appInstanceType = appInstanceType; } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; } public String getCpu() { return this.cpu; } public void setCpu(String cpu) { this.cpu = cpu; } public String getGpu() { return this.gpu; } public void setGpu(String gpu) { this.gpu = gpu; } public Long getMemory() { return this.memory; } public void setMemory(Long memory) { this.memory = memory; } public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public Integer getMinAmount() { return this.minAmount; } public void setMinAmount(Integer minAmount) { this.minAmount = minAmount; } public Integer getMaxAmount() { return this.maxAmount; } public void setMaxAmount(Integer maxAmount) { this.maxAmount = maxAmount; } public String getChargeType() { return this.chargeType; } public void setChargeType(String chargeType) { this.chargeType = chargeType; } public String getGmtCreate() { return this.gmtCreate; } public void setGmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getSpecId() { return this.specId; } public void setSpecId(String specId) { this.specId = specId; } public String getSessionTimeout() { return this.sessionTimeout; } public void setSessionTimeout(String sessionTimeout) { this.sessionTimeout = sessionTimeout; } public String getAppInstanceGroupName() { return this.appInstanceGroupName; } public void setAppInstanceGroupName(String appInstanceGroupName) { this.appInstanceGroupName = appInstanceGroupName; } public String getExpiredTime() { return this.expiredTime; } public void setExpiredTime(String expiredTime) { this.expiredTime = expiredTime; } public String getOsType() { return this.osType; } public void setOsType(String osType) { this.osType = osType; } public String getResourceStatus() { return this.resourceStatus; } public void setResourceStatus(String resourceStatus) { this.resourceStatus = resourceStatus; } public String getAppPolicyId() { return this.appPolicyId; } public void setAppPolicyId(String appPolicyId) { this.appPolicyId = appPolicyId; } public String getChargeResourceMode() { return this.chargeResourceMode; } public void setChargeResourceMode(String chargeResourceMode) { this.chargeResourceMode = chargeResourceMode; } public List<AppsItem> getApps() { return this.apps; } public void setApps(List<AppsItem> apps) { this.apps = apps; } public List<Node> getNodePool() { return this.nodePool; } public void setNodePool(List<Node> nodePool) { this.nodePool = nodePool; } public OtaInfo getOtaInfo() { return this.otaInfo; } public void setOtaInfo(OtaInfo otaInfo) { this.otaInfo = otaInfo; } public static class AppsItem { private String appId; private String appName; private String appVersion; private String appVersionName; private String appIcon; public String getAppId() { return this.appId; } public void setAppId(String appId) { this.appId = appId; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public String getAppVersion() { return this.appVersion; } public void setAppVersion(String appVersion) { this.appVersion = appVersion; } public String getAppVersionName() { return this.appVersionName; } public void setAppVersionName(String appVersionName) { this.appVersionName = appVersionName; } public String getAppIcon() { return this.appIcon; } public void setAppIcon(String appIcon) { this.appIcon = appIcon; } } public static class Node { private String nodePoolId; private String nodeInstanceType; private Integer nodeAmount; private Integer nodeUsed; private Integer nodeCapacity; private Integer scalingNodeAmount; private Integer scalingNodeUsed; private String strategyType; private Integer amount; private Integer maxScalingAmount; private Integer scalingStep; private String scalingUsageThreshold; private Integer scalingDownAfterIdleMinutes; private String strategyDisableDate; private String strategyEnableDate; private Boolean warmUp; private String nodeTypeName; private List<RecurrenceSchedule> recurrenceSchedules; public String getNodePoolId() { return this.nodePoolId; } public void setNodePoolId(String nodePoolId) { this.nodePoolId = nodePoolId; } public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; } public Integer getNodeAmount() { return this.nodeAmount; } public void setNodeAmount(Integer nodeAmount) { this.nodeAmount = nodeAmount; } public Integer getNodeUsed() { return this.nodeUsed; } public void setNodeUsed(Integer nodeUsed) { this.nodeUsed = nodeUsed; } public Integer getNodeCapacity() { return this.nodeCapacity; } public void setNodeCapacity(Integer nodeCapacity) { this.nodeCapacity = nodeCapacity; } public Integer getScalingNodeAmount() { return this.scalingNodeAmount; } public void setScalingNodeAmount(Integer scalingNodeAmount) { this.scalingNodeAmount = scalingNodeAmount; } public Integer getScalingNodeUsed() { return this.scalingNodeUsed; } public void setScalingNodeUsed(Integer scalingNodeUsed) { this.scalingNodeUsed = scalingNodeUsed; } public String getStrategyType() { return this.strategyType; } public void setStrategyType(String strategyType) { this.strategyType = strategyType; } public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public Integer getMaxScalingAmount() { return this.maxScalingAmount; } public void setMaxScalingAmount(Integer maxScalingAmount) { this.maxScalingAmount = maxScalingAmount; } public Integer getScalingStep() { return this.scalingStep; } public void setScalingStep(Integer scalingStep) { this.scalingStep = scalingStep; } public String getScalingUsageThreshold() { return this.scalingUsageThreshold; } public void setScalingUsageThreshold(String scalingUsageThreshold) { this.scalingUsageThreshold = scalingUsageThreshold; } public Integer getScalingDownAfterIdleMinutes() { return this.scalingDownAfterIdleMinutes; } public void setScalingDownAfterIdleMinutes(Integer scalingDownAfterIdleMinutes) { this.scalingDownAfterIdleMinutes = scalingDownAfterIdleMinutes; } public String getStrategyDisableDate() { return this.strategyDisableDate; } public void setStrategyDisableDate(String strategyDisableDate) { this.strategyDisableDate = strategyDisableDate; } public String getStrategyEnableDate() { return this.strategyEnableDate; } public void setStrategyEnableDate(String strategyEnableDate) { this.strategyEnableDate = strategyEnableDate; } public Boolean getWarmUp() { return this.warmUp; } public void setWarmUp(Boolean warmUp) { this.warmUp = warmUp; } public String getNodeTypeName() { return this.nodeTypeName; } public void setNodeTypeName(String nodeTypeName) { this.nodeTypeName = nodeTypeName; } public List<RecurrenceSchedule> getRecurrenceSchedules() { return this.recurrenceSchedules; } public void setRecurrenceSchedules(List<RecurrenceSchedule> recurrenceSchedules) { this.recurrenceSchedules = recurrenceSchedules; } public static class RecurrenceSchedule { private String recurrenceType; private List<TimerPeriod> timerPeriods; private List<Integer> recurrenceValues; public String getRecurrenceType() { return this.recurrenceType; } public void setRecurrenceType(String recurrenceType) { this.recurrenceType = recurrenceType; } public List<TimerPeriod> getTimerPeriods() { return this.timerPeriods; } public void setTimerPeriods(List<TimerPeriod> timerPeriods) { this.timerPeriods = timerPeriods; } public List<Integer> getRecurrenceValues() { return this.recurrenceValues; } public void setRecurrenceValues(List<Integer> recurrenceValues) { this.recurrenceValues = recurrenceValues; } public static class TimerPeriod { private Integer amount; private String endTime; private String startTime; public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } } } } public static class OtaInfo { private String otaVersion; private String newOtaVersion; private String taskId; public String getOtaVersion() { return this.otaVersion; } public void setOtaVersion(String otaVersion) { this.otaVersion = otaVersion; } public String getNewOtaVersion() { return this.newOtaVersion; } public void setNewOtaVersion(String newOtaVersion) { this.newOtaVersion = newOtaVersion; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } } } @Override public ListAppInstanceGroupResponse getInstance(UnmarshallerContext context) { return ListAppInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListAppInstancesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListAppInstancesRequest extends RpcAcsRequest<ListAppInstancesResponse> { private Integer pageNumber; private String appInstanceGroupId; private Integer pageSize; private String appInstanceId; private List<String> statuss; public ListAppInstancesRequest() { super("appstream-center", "2021-09-01", "ListAppInstances"); setMethod(MethodType.POST); } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putQueryParameter("PageNumber", pageNumber.toString()); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getAppInstanceId() { return this.appInstanceId; } public void setAppInstanceId(String appInstanceId) { this.appInstanceId = appInstanceId; if(appInstanceId != null){ putQueryParameter("AppInstanceId", appInstanceId); } } public List<String> getStatuss() { return this.statuss; } public void setStatuss(List<String> statuss) { this.statuss = statuss; if (statuss != null) { for (int i = 0; i < statuss.size(); i++) { putBodyParameter("Status." + (i + 1) , statuss.get(i)); } } } @Override public Class<ListAppInstancesResponse> getResponseClass() { return ListAppInstancesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListAppInstancesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ListAppInstancesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListAppInstancesResponse extends AcsResponse { private String requestId; private Integer totalCount; private Integer pageSize; private Integer pageNumber; private List<Data> appInstanceModels; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } public List<Data> getAppInstanceModels() { return this.appInstanceModels; } public void setAppInstanceModels(List<Data> appInstanceModels) { this.appInstanceModels = appInstanceModels; } public static class Data { private String appInstanceId; private String appInstanceGroupId; private String status; private String mainEthPublicIp; private String gmtCreate; private String gmtModified; private String sessionStatus; public String getAppInstanceId() { return this.appInstanceId; } public void setAppInstanceId(String appInstanceId) { this.appInstanceId = appInstanceId; } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getMainEthPublicIp() { return this.mainEthPublicIp; } public void setMainEthPublicIp(String mainEthPublicIp) { this.mainEthPublicIp = mainEthPublicIp; } public String getGmtCreate() { return this.gmtCreate; } public void setGmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; } public String getGmtModified() { return this.gmtModified; } public void setGmtModified(String gmtModified) { this.gmtModified = gmtModified; } public String getSessionStatus() { return this.sessionStatus; } public void setSessionStatus(String sessionStatus) { this.sessionStatus = sessionStatus; } } @Override public ListAppInstancesResponse getInstance(UnmarshallerContext context) { return ListAppInstancesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListNodeInstanceTypeRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListNodeInstanceTypeRequest extends RpcAcsRequest<ListNodeInstanceTypeResponse> { private String bizRegionId; private String language; private String nodeInstanceType; private String osType; private Integer pageNumber; private String productType; private Integer pageSize; public ListNodeInstanceTypeRequest() { super("appstream-center", "2021-09-01", "ListNodeInstanceType"); setMethod(MethodType.POST); } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putQueryParameter("BizRegionId", bizRegionId); } } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putQueryParameter("Language", language); } } public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; if(nodeInstanceType != null){ putQueryParameter("NodeInstanceType", nodeInstanceType); } } public String getOsType() { return this.osType; } public void setOsType(String osType) { this.osType = osType; if(osType != null){ putQueryParameter("OsType", osType); } } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putQueryParameter("PageNumber", pageNumber.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } @Override public Class<ListNodeInstanceTypeResponse> getResponseClass() { return ListNodeInstanceTypeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListNodeInstanceTypeResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ListNodeInstanceTypeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListNodeInstanceTypeResponse extends AcsResponse { private String requestId; private Integer totalCount; private Integer pageSize; private Integer pageNumber; private List<Node> nodeInstanceTypeModels; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } public List<Node> getNodeInstanceTypeModels() { return this.nodeInstanceTypeModels; } public void setNodeInstanceTypeModels(List<Node> nodeInstanceTypeModels) { this.nodeInstanceTypeModels = nodeInstanceTypeModels; } public static class Node { private String nodeInstanceType; private String nodeInstanceTypeFamily; private String cpu; private String gpu; private Long memory; private Long systemDiskSize; private Long dataDiskSize; private Long gpuMemory; private Integer maxCapacity; private String nodeTypeName; public String getNodeInstanceType() { return this.nodeInstanceType; } public void setNodeInstanceType(String nodeInstanceType) { this.nodeInstanceType = nodeInstanceType; } public String getNodeInstanceTypeFamily() { return this.nodeInstanceTypeFamily; } public void setNodeInstanceTypeFamily(String nodeInstanceTypeFamily) { this.nodeInstanceTypeFamily = nodeInstanceTypeFamily; } public String getCpu() { return this.cpu; } public void setCpu(String cpu) { this.cpu = cpu; } public String getGpu() { return this.gpu; } public void setGpu(String gpu) { this.gpu = gpu; } public Long getMemory() { return this.memory; } public void setMemory(Long memory) { this.memory = memory; } public Long getSystemDiskSize() { return this.systemDiskSize; } public void setSystemDiskSize(Long systemDiskSize) { this.systemDiskSize = systemDiskSize; } public Long getDataDiskSize() { return this.dataDiskSize; } public void setDataDiskSize(Long dataDiskSize) { this.dataDiskSize = dataDiskSize; } public Long getGpuMemory() { return this.gpuMemory; } public void setGpuMemory(Long gpuMemory) { this.gpuMemory = gpuMemory; } public Integer getMaxCapacity() { return this.maxCapacity; } public void setMaxCapacity(Integer maxCapacity) { this.maxCapacity = maxCapacity; } public String getNodeTypeName() { return this.nodeTypeName; } public void setNodeTypeName(String nodeTypeName) { this.nodeTypeName = nodeTypeName; } } @Override public ListNodeInstanceTypeResponse getInstance(UnmarshallerContext context) { return ListNodeInstanceTypeResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListOtaTaskRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListOtaTaskRequest extends RpcAcsRequest<ListOtaTaskResponse> { private String otaType; private Integer pageNumber; private String appInstanceGroupId; private Integer pageSize; public ListOtaTaskRequest() { super("appstream-center", "2021-09-01", "ListOtaTask"); setMethod(MethodType.POST); } public String getOtaType() { return this.otaType; } public void setOtaType(String otaType) { this.otaType = otaType; if(otaType != null){ putBodyParameter("OtaType", otaType); } } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putBodyParameter("PageNumber", pageNumber.toString()); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putBodyParameter("PageSize", pageSize.toString()); } } @Override public Class<ListOtaTaskResponse> getResponseClass() { return ListOtaTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListOtaTaskResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ListOtaTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListOtaTaskResponse extends AcsResponse { private String requestId; private Integer totalCount; private Integer pageSize; private Integer pageNumber; private List<Data> taskList; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; } public List<Data> getTaskList() { return this.taskList; } public void setTaskList(List<Data> taskList) { this.taskList = taskList; } public static class Data { private String otaVersion; private String taskDisplayStatus; private String taskStartTime; private String taskId; public String getOtaVersion() { return this.otaVersion; } public void setOtaVersion(String otaVersion) { this.otaVersion = otaVersion; } public String getTaskDisplayStatus() { return this.taskDisplayStatus; } public void setTaskDisplayStatus(String taskDisplayStatus) { this.taskDisplayStatus = taskDisplayStatus; } public String getTaskStartTime() { return this.taskStartTime; } public void setTaskStartTime(String taskStartTime) { this.taskStartTime = taskStartTime; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } } @Override public ListOtaTaskResponse getInstance(UnmarshallerContext context) { return ListOtaTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListRegionsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListRegionsRequest extends RpcAcsRequest<ListRegionsResponse> { public ListRegionsRequest() { super("appstream-center", "2021-09-01", "ListRegions"); setMethod(MethodType.POST); } @Override public Class<ListRegionsResponse> getResponseClass() { return ListRegionsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListRegionsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ListRegionsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListRegionsResponse extends AcsResponse { private String requestId; private List<RegionModelsItem> regionModels; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<RegionModelsItem> getRegionModels() { return this.regionModels; } public void setRegionModels(List<RegionModelsItem> regionModels) { this.regionModels = regionModels; } public static class RegionModelsItem { private String regionId; public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } } @Override public ListRegionsResponse getInstance(UnmarshallerContext context) { return ListRegionsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListTenantConfigRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ListTenantConfigRequest extends RpcAcsRequest<ListTenantConfigResponse> { public ListTenantConfigRequest() { super("appstream-center", "2021-09-01", "ListTenantConfig"); setMethod(MethodType.POST); } @Override public Class<ListTenantConfigResponse> getResponseClass() { return ListTenantConfigResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ListTenantConfigResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ListTenantConfigResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListTenantConfigResponse extends AcsResponse { private String requestId; private TenantConfigModel tenantConfigModel; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public TenantConfigModel getTenantConfigModel() { return this.tenantConfigModel; } public void setTenantConfigModel(TenantConfigModel tenantConfigModel) { this.tenantConfigModel = tenantConfigModel; } public static class TenantConfigModel { private Boolean appInstanceGroupExpireRemind; public Boolean getAppInstanceGroupExpireRemind() { return this.appInstanceGroupExpireRemind; } public void setAppInstanceGroupExpireRemind(Boolean appInstanceGroupExpireRemind) { this.appInstanceGroupExpireRemind = appInstanceGroupExpireRemind; } } @Override public ListTenantConfigResponse getInstance(UnmarshallerContext context) { return ListTenantConfigResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/LogOffAllSessionsInAppInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class LogOffAllSessionsInAppInstanceGroupRequest extends RpcAcsRequest<LogOffAllSessionsInAppInstanceGroupResponse> { private String productType; private String appInstanceGroupId; public LogOffAllSessionsInAppInstanceGroupRequest() { super("appstream-center", "2021-09-01", "LogOffAllSessionsInAppInstanceGroup"); setMethod(MethodType.POST); } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } @Override public Class<LogOffAllSessionsInAppInstanceGroupResponse> getResponseClass() { return LogOffAllSessionsInAppInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/LogOffAllSessionsInAppInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.LogOffAllSessionsInAppInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class LogOffAllSessionsInAppInstanceGroupResponse extends AcsResponse { private String code; private String message; private String requestId; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public LogOffAllSessionsInAppInstanceGroupResponse getInstance(UnmarshallerContext context) { return LogOffAllSessionsInAppInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ModifyAppInstanceGroupAttributeRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ModifyAppInstanceGroupAttributeRequest extends RpcAcsRequest<ModifyAppInstanceGroupAttributeResponse> { private String productType; private Integer sessionTimeout; @SerializedName("nodePool") private NodePool nodePool; private String appInstanceGroupName; private String appInstanceGroupId; public ModifyAppInstanceGroupAttributeRequest() { super("appstream-center", "2021-09-01", "ModifyAppInstanceGroupAttribute"); setMethod(MethodType.POST); } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public Integer getSessionTimeout() { return this.sessionTimeout; } public void setSessionTimeout(Integer sessionTimeout) { this.sessionTimeout = sessionTimeout; if(sessionTimeout != null){ putQueryParameter("SessionTimeout", sessionTimeout.toString()); } } public NodePool getNodePool() { return this.nodePool; } public void setNodePool(NodePool nodePool) { this.nodePool = nodePool; if (nodePool != null) { putQueryParameter("NodePool" , new Gson().toJson(nodePool)); } } public String getAppInstanceGroupName() { return this.appInstanceGroupName; } public void setAppInstanceGroupName(String appInstanceGroupName) { this.appInstanceGroupName = appInstanceGroupName; if(appInstanceGroupName != null){ putQueryParameter("AppInstanceGroupName", appInstanceGroupName); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } public static class NodePool { @SerializedName("NodePoolId") private String nodePoolId; @SerializedName("NodeCapacity") private Integer nodeCapacity; public String getNodePoolId() { return this.nodePoolId; } public void setNodePoolId(String nodePoolId) { this.nodePoolId = nodePoolId; } public Integer getNodeCapacity() { return this.nodeCapacity; } public void setNodeCapacity(Integer nodeCapacity) { this.nodeCapacity = nodeCapacity; } } @Override public Class<ModifyAppInstanceGroupAttributeResponse> getResponseClass() { return ModifyAppInstanceGroupAttributeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ModifyAppInstanceGroupAttributeResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ModifyAppInstanceGroupAttributeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyAppInstanceGroupAttributeResponse extends AcsResponse { private String requestId; private String code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public ModifyAppInstanceGroupAttributeResponse getInstance(UnmarshallerContext context) { return ModifyAppInstanceGroupAttributeResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ModifyNodePoolAttributeRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ModifyNodePoolAttributeRequest extends RpcAcsRequest<ModifyNodePoolAttributeResponse> { private String bizRegionId; private String productType; private String poolId; @SerializedName("nodePoolStrategy") private NodePoolStrategy nodePoolStrategy; private Integer nodeCapacity; public ModifyNodePoolAttributeRequest() { super("appstream-center", "2021-09-01", "ModifyNodePoolAttribute"); setMethod(MethodType.POST); } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putBodyParameter("BizRegionId", bizRegionId); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getPoolId() { return this.poolId; } public void setPoolId(String poolId) { this.poolId = poolId; if(poolId != null){ putBodyParameter("PoolId", poolId); } } public NodePoolStrategy getNodePoolStrategy() { return this.nodePoolStrategy; } public void setNodePoolStrategy(NodePoolStrategy nodePoolStrategy) { this.nodePoolStrategy = nodePoolStrategy; if (nodePoolStrategy != null) { putBodyParameter("NodePoolStrategy" , new Gson().toJson(nodePoolStrategy)); } } public Integer getNodeCapacity() { return this.nodeCapacity; } public void setNodeCapacity(Integer nodeCapacity) { this.nodeCapacity = nodeCapacity; if(nodeCapacity != null){ putBodyParameter("NodeCapacity", nodeCapacity.toString()); } } public static class NodePoolStrategy { @SerializedName("RecurrenceSchedules") private List<RecurrenceSchedulesItem> recurrenceSchedules; @SerializedName("NodeAmount") private Integer nodeAmount; @SerializedName("ScalingStep") private Integer scalingStep; @SerializedName("StrategyDisableDate") private String strategyDisableDate; @SerializedName("ScalingDownAfterIdleMinutes") private Integer scalingDownAfterIdleMinutes; @SerializedName("StrategyType") private String strategyType; @SerializedName("MaxScalingAmount") private Integer maxScalingAmount; @SerializedName("WarmUp") private Boolean warmUp; @SerializedName("ScalingUsageThreshold") private String scalingUsageThreshold; @SerializedName("StrategyEnableDate") private String strategyEnableDate; public List<RecurrenceSchedulesItem> getRecurrenceSchedules() { return this.recurrenceSchedules; } public void setRecurrenceSchedules(List<RecurrenceSchedulesItem> recurrenceSchedules) { this.recurrenceSchedules = recurrenceSchedules; } public Integer getNodeAmount() { return this.nodeAmount; } public void setNodeAmount(Integer nodeAmount) { this.nodeAmount = nodeAmount; } public Integer getScalingStep() { return this.scalingStep; } public void setScalingStep(Integer scalingStep) { this.scalingStep = scalingStep; } public String getStrategyDisableDate() { return this.strategyDisableDate; } public void setStrategyDisableDate(String strategyDisableDate) { this.strategyDisableDate = strategyDisableDate; } public Integer getScalingDownAfterIdleMinutes() { return this.scalingDownAfterIdleMinutes; } public void setScalingDownAfterIdleMinutes(Integer scalingDownAfterIdleMinutes) { this.scalingDownAfterIdleMinutes = scalingDownAfterIdleMinutes; } public String getStrategyType() { return this.strategyType; } public void setStrategyType(String strategyType) { this.strategyType = strategyType; } public Integer getMaxScalingAmount() { return this.maxScalingAmount; } public void setMaxScalingAmount(Integer maxScalingAmount) { this.maxScalingAmount = maxScalingAmount; } public Boolean getWarmUp() { return this.warmUp; } public void setWarmUp(Boolean warmUp) { this.warmUp = warmUp; } public String getScalingUsageThreshold() { return this.scalingUsageThreshold; } public void setScalingUsageThreshold(String scalingUsageThreshold) { this.scalingUsageThreshold = scalingUsageThreshold; } public String getStrategyEnableDate() { return this.strategyEnableDate; } public void setStrategyEnableDate(String strategyEnableDate) { this.strategyEnableDate = strategyEnableDate; } public static class RecurrenceSchedulesItem { @SerializedName("RecurrenceValues") private List<Integer> recurrenceValues; @SerializedName("RecurrenceType") private String recurrenceType; @SerializedName("TimerPeriods") private List<TimerPeriodsItem> timerPeriods; public List<Integer> getRecurrenceValues() { return this.recurrenceValues; } public void setRecurrenceValues(List<Integer> recurrenceValues) { this.recurrenceValues = recurrenceValues; } public String getRecurrenceType() { return this.recurrenceType; } public void setRecurrenceType(String recurrenceType) { this.recurrenceType = recurrenceType; } public List<TimerPeriodsItem> getTimerPeriods() { return this.timerPeriods; } public void setTimerPeriods(List<TimerPeriodsItem> timerPeriods) { this.timerPeriods = timerPeriods; } public static class TimerPeriodsItem { @SerializedName("Amount") private Integer amount; @SerializedName("EndTime") private String endTime; @SerializedName("StartTime") private String startTime; public Integer getAmount() { return this.amount; } public void setAmount(Integer amount) { this.amount = amount; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } } } } @Override public Class<ModifyNodePoolAttributeResponse> getResponseClass() { return ModifyNodePoolAttributeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ModifyNodePoolAttributeResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ModifyNodePoolAttributeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyNodePoolAttributeResponse extends AcsResponse { private String requestId; private String code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public ModifyNodePoolAttributeResponse getInstance(UnmarshallerContext context) { return ModifyNodePoolAttributeResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ModifyTenantConfigRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ModifyTenantConfigRequest extends RpcAcsRequest<ModifyTenantConfigResponse> { private Boolean appInstanceGroupExpireRemind; public ModifyTenantConfigRequest() { super("appstream-center", "2021-09-01", "ModifyTenantConfig"); setMethod(MethodType.POST); } public Boolean getAppInstanceGroupExpireRemind() { return this.appInstanceGroupExpireRemind; } public void setAppInstanceGroupExpireRemind(Boolean appInstanceGroupExpireRemind) { this.appInstanceGroupExpireRemind = appInstanceGroupExpireRemind; if(appInstanceGroupExpireRemind != null){ putBodyParameter("AppInstanceGroupExpireRemind", appInstanceGroupExpireRemind.toString()); } } @Override public Class<ModifyTenantConfigResponse> getResponseClass() { return ModifyTenantConfigResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/ModifyTenantConfigResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.ModifyTenantConfigResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyTenantConfigResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ModifyTenantConfigResponse getInstance(UnmarshallerContext context) { return ModifyTenantConfigResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/PageListAppInstanceGroupUserRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PageListAppInstanceGroupUserRequest extends RpcAcsRequest<PageListAppInstanceGroupUserResponse> { private Integer pageNumber; private String productType; private String appInstanceGroupId; private Integer pageSize; public PageListAppInstanceGroupUserRequest() { super("appstream-center", "2021-09-01", "PageListAppInstanceGroupUser"); setMethod(MethodType.POST); } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putBodyParameter("PageNumber", pageNumber.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putBodyParameter("PageSize", pageSize.toString()); } } @Override public Class<PageListAppInstanceGroupUserResponse> getResponseClass() { return PageListAppInstanceGroupUserResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/PageListAppInstanceGroupUserResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.PageListAppInstanceGroupUserResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PageListAppInstanceGroupUserResponse extends AcsResponse { private String requestId; private List<String> users; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<String> getUsers() { return this.users; } public void setUsers(List<String> users) { this.users = users; } @Override public PageListAppInstanceGroupUserResponse getInstance(UnmarshallerContext context) { return PageListAppInstanceGroupUserResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/RenewAppInstanceGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class RenewAppInstanceGroupRequest extends RpcAcsRequest<RenewAppInstanceGroupResponse> { private Integer period; private Boolean autoPay; private String promotionId; private String productType; private String periodUnit; private String appInstanceGroupId; public RenewAppInstanceGroupRequest() { super("appstream-center", "2021-09-01", "RenewAppInstanceGroup"); setMethod(MethodType.POST); } public Integer getPeriod() { return this.period; } public void setPeriod(Integer period) { this.period = period; if(period != null){ putQueryParameter("Period", period.toString()); } } public Boolean getAutoPay() { return this.autoPay; } public void setAutoPay(Boolean autoPay) { this.autoPay = autoPay; if(autoPay != null){ putQueryParameter("AutoPay", autoPay.toString()); } } public String getPromotionId() { return this.promotionId; } public void setPromotionId(String promotionId) { this.promotionId = promotionId; if(promotionId != null){ putQueryParameter("PromotionId", promotionId); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getPeriodUnit() { return this.periodUnit; } public void setPeriodUnit(String periodUnit) { this.periodUnit = periodUnit; if(periodUnit != null){ putQueryParameter("PeriodUnit", periodUnit); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } @Override public Class<RenewAppInstanceGroupResponse> getResponseClass() { return RenewAppInstanceGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/RenewAppInstanceGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.RenewAppInstanceGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RenewAppInstanceGroupResponse extends AcsResponse { private String requestId; private String code; private String orderId; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public RenewAppInstanceGroupResponse getInstance(UnmarshallerContext context) { return RenewAppInstanceGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/UnbindRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class UnbindRequest extends RpcAcsRequest<UnbindResponse> { private String productType; private String appInstanceGroupId; private String endUserId; private String appInstanceId; public UnbindRequest() { super("appstream-center", "2021-09-01", "Unbind"); setMethod(MethodType.POST); } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putBodyParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putBodyParameter("AppInstanceGroupId", appInstanceGroupId); } } public String getEndUserId() { return this.endUserId; } public void setEndUserId(String endUserId) { this.endUserId = endUserId; if(endUserId != null){ putBodyParameter("EndUserId", endUserId); } } public String getAppInstanceId() { return this.appInstanceId; } public void setAppInstanceId(String appInstanceId) { this.appInstanceId = appInstanceId; if(appInstanceId != null){ putBodyParameter("AppInstanceId", appInstanceId); } } @Override public Class<UnbindResponse> getResponseClass() { return UnbindResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/UnbindResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.UnbindResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UnbindResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UnbindResponse getInstance(UnmarshallerContext context) { return UnbindResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/UpdateAppInstanceGroupImageRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class UpdateAppInstanceGroupImageRequest extends RpcAcsRequest<UpdateAppInstanceGroupImageResponse> { private String bizRegionId; private String productType; private String appInstanceGroupId; private String appCenterImageId; public UpdateAppInstanceGroupImageRequest() { super("appstream-center", "2021-09-01", "UpdateAppInstanceGroupImage"); setMethod(MethodType.POST); } public String getBizRegionId() { return this.bizRegionId; } public void setBizRegionId(String bizRegionId) { this.bizRegionId = bizRegionId; if(bizRegionId != null){ putQueryParameter("BizRegionId", bizRegionId); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getAppInstanceGroupId() { return this.appInstanceGroupId; } public void setAppInstanceGroupId(String appInstanceGroupId) { this.appInstanceGroupId = appInstanceGroupId; if(appInstanceGroupId != null){ putQueryParameter("AppInstanceGroupId", appInstanceGroupId); } } public String getAppCenterImageId() { return this.appCenterImageId; } public void setAppCenterImageId(String appCenterImageId) { this.appCenterImageId = appCenterImageId; if(appCenterImageId != null){ putQueryParameter("AppCenterImageId", appCenterImageId); } } @Override public Class<UpdateAppInstanceGroupImageResponse> getResponseClass() { return UpdateAppInstanceGroupImageResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/model/v20210901/UpdateAppInstanceGroupImageResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.model.v20210901; import com.aliyuncs.AcsResponse; import com.aliyuncs.appstream_center.transform.v20210901.UpdateAppInstanceGroupImageResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateAppInstanceGroupImageResponse extends AcsResponse { private String requestId; private String code; private String message; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public UpdateAppInstanceGroupImageResponse getInstance(UnmarshallerContext context) { return UpdateAppInstanceGroupImageResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ApproveOtaTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.ApproveOtaTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ApproveOtaTaskResponseUnmarshaller { public static ApproveOtaTaskResponse unmarshall(ApproveOtaTaskResponse approveOtaTaskResponse, UnmarshallerContext _ctx) { approveOtaTaskResponse.setRequestId(_ctx.stringValue("ApproveOtaTaskResponse.RequestId")); approveOtaTaskResponse.setCode(_ctx.stringValue("ApproveOtaTaskResponse.Code")); approveOtaTaskResponse.setMessage(_ctx.stringValue("ApproveOtaTaskResponse.Message")); return approveOtaTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/AuthorizeInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.AuthorizeInstanceGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class AuthorizeInstanceGroupResponseUnmarshaller { public static AuthorizeInstanceGroupResponse unmarshall(AuthorizeInstanceGroupResponse authorizeInstanceGroupResponse, UnmarshallerContext _ctx) { authorizeInstanceGroupResponse.setRequestId(_ctx.stringValue("AuthorizeInstanceGroupResponse.RequestId")); return authorizeInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/CancelOtaTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.CancelOtaTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CancelOtaTaskResponseUnmarshaller { public static CancelOtaTaskResponse unmarshall(CancelOtaTaskResponse cancelOtaTaskResponse, UnmarshallerContext _ctx) { cancelOtaTaskResponse.setRequestId(_ctx.stringValue("CancelOtaTaskResponse.RequestId")); cancelOtaTaskResponse.setCode(_ctx.stringValue("CancelOtaTaskResponse.Code")); cancelOtaTaskResponse.setMessage(_ctx.stringValue("CancelOtaTaskResponse.Message")); return cancelOtaTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/CreateAppInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.CreateAppInstanceGroupResponse; import com.aliyuncs.appstream_center.model.v20210901.CreateAppInstanceGroupResponse.AppInstanceGroupModel; import com.aliyuncs.transform.UnmarshallerContext; public class CreateAppInstanceGroupResponseUnmarshaller { public static CreateAppInstanceGroupResponse unmarshall(CreateAppInstanceGroupResponse createAppInstanceGroupResponse, UnmarshallerContext _ctx) { createAppInstanceGroupResponse.setRequestId(_ctx.stringValue("CreateAppInstanceGroupResponse.RequestId")); AppInstanceGroupModel appInstanceGroupModel = new AppInstanceGroupModel(); appInstanceGroupModel.setAppInstanceGroupId(_ctx.stringValue("CreateAppInstanceGroupResponse.AppInstanceGroupModel.AppInstanceGroupId")); appInstanceGroupModel.setOrderId(_ctx.stringValue("CreateAppInstanceGroupResponse.AppInstanceGroupModel.OrderId")); appInstanceGroupModel.setSpecId(_ctx.stringValue("CreateAppInstanceGroupResponse.AppInstanceGroupModel.SpecId")); appInstanceGroupModel.setNodePoolId(_ctx.stringValue("CreateAppInstanceGroupResponse.AppInstanceGroupModel.NodePoolId")); createAppInstanceGroupResponse.setAppInstanceGroupModel(appInstanceGroupModel); return createAppInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/DeleteAppInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.DeleteAppInstanceGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAppInstanceGroupResponseUnmarshaller { public static DeleteAppInstanceGroupResponse unmarshall(DeleteAppInstanceGroupResponse deleteAppInstanceGroupResponse, UnmarshallerContext _ctx) { deleteAppInstanceGroupResponse.setRequestId(_ctx.stringValue("DeleteAppInstanceGroupResponse.RequestId")); return deleteAppInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/DeleteAppInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.DeleteAppInstancesResponse; import com.aliyuncs.appstream_center.model.v20210901.DeleteAppInstancesResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAppInstancesResponseUnmarshaller { public static DeleteAppInstancesResponse unmarshall(DeleteAppInstancesResponse deleteAppInstancesResponse, UnmarshallerContext _ctx) { deleteAppInstancesResponse.setRequestId(_ctx.stringValue("DeleteAppInstancesResponse.RequestId")); List<Data> deleteAppInstanceModels = new ArrayList<Data>(); for (int i = 0; i < _ctx.lengthValue("DeleteAppInstancesResponse.DeleteAppInstanceModels.Length"); i++) { Data data = new Data(); data.setAppInstanceId(_ctx.stringValue("DeleteAppInstancesResponse.DeleteAppInstanceModels["+ i +"].AppInstanceId")); data.setSuccess(_ctx.booleanValue("DeleteAppInstancesResponse.DeleteAppInstanceModels["+ i +"].Success")); data.setCode(_ctx.stringValue("DeleteAppInstancesResponse.DeleteAppInstanceModels["+ i +"].Code")); data.setMessage(_ctx.stringValue("DeleteAppInstancesResponse.DeleteAppInstanceModels["+ i +"].Message")); deleteAppInstanceModels.add(data); } deleteAppInstancesResponse.setDeleteAppInstanceModels(deleteAppInstanceModels); return deleteAppInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/GetAppInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse.AppInstanceGroupModels; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse.AppInstanceGroupModels.AppsItem; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse.AppInstanceGroupModels.Node; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse.AppInstanceGroupModels.Node.RecurrenceSchedule; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse.AppInstanceGroupModels.Node.RecurrenceSchedule.TimerPeriod; import com.aliyuncs.appstream_center.model.v20210901.GetAppInstanceGroupResponse.AppInstanceGroupModels.OtaInfo; import com.aliyuncs.transform.UnmarshallerContext; public class GetAppInstanceGroupResponseUnmarshaller { public static GetAppInstanceGroupResponse unmarshall(GetAppInstanceGroupResponse getAppInstanceGroupResponse, UnmarshallerContext _ctx) { getAppInstanceGroupResponse.setRequestId(_ctx.stringValue("GetAppInstanceGroupResponse.RequestId")); getAppInstanceGroupResponse.setTotalCount(_ctx.integerValue("GetAppInstanceGroupResponse.TotalCount")); getAppInstanceGroupResponse.setPageSize(_ctx.integerValue("GetAppInstanceGroupResponse.PageSize")); getAppInstanceGroupResponse.setPageNumber(_ctx.integerValue("GetAppInstanceGroupResponse.PageNumber")); AppInstanceGroupModels appInstanceGroupModels = new AppInstanceGroupModels(); appInstanceGroupModels.setAppCenterImageId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AppCenterImageId")); appInstanceGroupModels.setAliyunImageId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AliyunImageId")); appInstanceGroupModels.setRegionId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.RegionId")); appInstanceGroupModels.setProductType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.ProductType")); appInstanceGroupModels.setAppInstanceType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AppInstanceType")); appInstanceGroupModels.setAppInstanceGroupId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AppInstanceGroupId")); appInstanceGroupModels.setCpu(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Cpu")); appInstanceGroupModels.setGpu(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Gpu")); appInstanceGroupModels.setMemory(_ctx.longValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Memory")); appInstanceGroupModels.setAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Amount")); appInstanceGroupModels.setMinAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.MinAmount")); appInstanceGroupModels.setMaxAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.MaxAmount")); appInstanceGroupModels.setChargeType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.ChargeType")); appInstanceGroupModels.setGmtCreate(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.GmtCreate")); appInstanceGroupModels.setStatus(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Status")); appInstanceGroupModels.setSpecId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.SpecId")); appInstanceGroupModels.setSessionTimeout(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.SessionTimeout")); appInstanceGroupModels.setAppInstanceGroupName(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AppInstanceGroupName")); appInstanceGroupModels.setExpiredTime(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.ExpiredTime")); appInstanceGroupModels.setOsType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.OsType")); appInstanceGroupModels.setAppCenterImageName(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AppCenterImageName")); appInstanceGroupModels.setResourceStatus(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.ResourceStatus")); appInstanceGroupModels.setAppPolicyId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.AppPolicyId")); OtaInfo otaInfo = new OtaInfo(); otaInfo.setOtaVersion(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.OtaInfo.OtaVersion")); otaInfo.setNewOtaVersion(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.OtaInfo.NewOtaVersion")); otaInfo.setTaskId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.OtaInfo.TaskId")); appInstanceGroupModels.setOtaInfo(otaInfo); List<AppsItem> apps = new ArrayList<AppsItem>(); for (int i = 0; i < _ctx.lengthValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Apps.Length"); i++) { AppsItem appsItem = new AppsItem(); appsItem.setAppId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Apps["+ i +"].AppId")); appsItem.setAppName(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.Apps["+ i +"].AppName")); apps.add(appsItem); } appInstanceGroupModels.setApps(apps); List<Node> nodePool = new ArrayList<Node>(); for (int i = 0; i < _ctx.lengthValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool.Length"); i++) { Node node = new Node(); node.setNodePoolId(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].NodePoolId")); node.setNodeInstanceType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].NodeInstanceType")); node.setNodeAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].NodeAmount")); node.setNodeUsed(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].NodeUsed")); node.setNodeCapacity(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].NodeCapacity")); node.setScalingNodeAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].ScalingNodeAmount")); node.setScalingNodeUsed(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].ScalingNodeUsed")); node.setStrategyType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].StrategyType")); node.setAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].Amount")); node.setMaxScalingAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].MaxScalingAmount")); node.setScalingStep(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].ScalingStep")); node.setScalingUsageThreshold(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].ScalingUsageThreshold")); node.setScalingDownAfterIdleMinutes(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].ScalingDownAfterIdleMinutes")); node.setStrategyDisableDate(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].StrategyDisableDate")); node.setStrategyEnableDate(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].StrategyEnableDate")); node.setWarmUp(_ctx.booleanValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].WarmUp")); node.setNodeTypeName(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].NodeTypeName")); List<RecurrenceSchedule> recurrenceSchedules = new ArrayList<RecurrenceSchedule>(); for (int j = 0; j < _ctx.lengthValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules.Length"); j++) { RecurrenceSchedule recurrenceSchedule = new RecurrenceSchedule(); recurrenceSchedule.setRecurrenceType(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].RecurrenceType")); List<Integer> recurrenceValues = new ArrayList<Integer>(); for (int k = 0; k < _ctx.lengthValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].RecurrenceValues.Length"); k++) { recurrenceValues.add(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].RecurrenceValues["+ k +"]")); } recurrenceSchedule.setRecurrenceValues(recurrenceValues); List<TimerPeriod> timerPeriods = new ArrayList<TimerPeriod>(); for (int k = 0; k < _ctx.lengthValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].TimerPeriods.Length"); k++) { TimerPeriod timerPeriod = new TimerPeriod(); timerPeriod.setAmount(_ctx.integerValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].TimerPeriods["+ k +"].Amount")); timerPeriod.setEndTime(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].TimerPeriods["+ k +"].EndTime")); timerPeriod.setStartTime(_ctx.stringValue("GetAppInstanceGroupResponse.AppInstanceGroupModels.NodePool["+ i +"].RecurrenceSchedules["+ j +"].TimerPeriods["+ k +"].StartTime")); timerPeriods.add(timerPeriod); } recurrenceSchedule.setTimerPeriods(timerPeriods); recurrenceSchedules.add(recurrenceSchedule); } node.setRecurrenceSchedules(recurrenceSchedules); nodePool.add(node); } appInstanceGroupModels.setNodePool(nodePool); getAppInstanceGroupResponse.setAppInstanceGroupModels(appInstanceGroupModels); return getAppInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/GetConnectionTicketResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.GetConnectionTicketResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetConnectionTicketResponseUnmarshaller { public static GetConnectionTicketResponse unmarshall(GetConnectionTicketResponse getConnectionTicketResponse, UnmarshallerContext _ctx) { getConnectionTicketResponse.setRequestId(_ctx.stringValue("GetConnectionTicketResponse.RequestId")); getConnectionTicketResponse.setTaskStatus(_ctx.stringValue("GetConnectionTicketResponse.TaskStatus")); getConnectionTicketResponse.setTaskId(_ctx.stringValue("GetConnectionTicketResponse.TaskId")); getConnectionTicketResponse.setBizRegionId(_ctx.stringValue("GetConnectionTicketResponse.BizRegionId")); getConnectionTicketResponse.setTicket(_ctx.stringValue("GetConnectionTicketResponse.Ticket")); getConnectionTicketResponse.setAppInstanceGroupId(_ctx.stringValue("GetConnectionTicketResponse.AppInstanceGroupId")); getConnectionTicketResponse.setAppInstanceId(_ctx.stringValue("GetConnectionTicketResponse.AppInstanceId")); getConnectionTicketResponse.setOsType(_ctx.stringValue("GetConnectionTicketResponse.OsType")); return getConnectionTicketResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/GetOtaTaskByTaskIdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.GetOtaTaskByTaskIdResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetOtaTaskByTaskIdResponseUnmarshaller { public static GetOtaTaskByTaskIdResponse unmarshall(GetOtaTaskByTaskIdResponse getOtaTaskByTaskIdResponse, UnmarshallerContext _ctx) { getOtaTaskByTaskIdResponse.setRequestId(_ctx.stringValue("GetOtaTaskByTaskIdResponse.RequestId")); getOtaTaskByTaskIdResponse.setCode(_ctx.stringValue("GetOtaTaskByTaskIdResponse.Code")); getOtaTaskByTaskIdResponse.setMessage(_ctx.stringValue("GetOtaTaskByTaskIdResponse.Message")); getOtaTaskByTaskIdResponse.setReleaseNote(_ctx.stringValue("GetOtaTaskByTaskIdResponse.ReleaseNote")); getOtaTaskByTaskIdResponse.setOtaVersion(_ctx.stringValue("GetOtaTaskByTaskIdResponse.OtaVersion")); getOtaTaskByTaskIdResponse.setTaskStartTime(_ctx.stringValue("GetOtaTaskByTaskIdResponse.TaskStartTime")); return getOtaTaskByTaskIdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/GetResourcePriceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.GetResourcePriceResponse; import com.aliyuncs.appstream_center.model.v20210901.GetResourcePriceResponse.PriceModel; import com.aliyuncs.appstream_center.model.v20210901.GetResourcePriceResponse.PriceModel.Price; import com.aliyuncs.appstream_center.model.v20210901.GetResourcePriceResponse.PriceModel.Price.Promotion; import com.aliyuncs.appstream_center.model.v20210901.GetResourcePriceResponse.PriceModel.Rule; import com.aliyuncs.transform.UnmarshallerContext; public class GetResourcePriceResponseUnmarshaller { public static GetResourcePriceResponse unmarshall(GetResourcePriceResponse getResourcePriceResponse, UnmarshallerContext _ctx) { getResourcePriceResponse.setRequestId(_ctx.stringValue("GetResourcePriceResponse.RequestId")); getResourcePriceResponse.setCode(_ctx.stringValue("GetResourcePriceResponse.Code")); getResourcePriceResponse.setMessage(_ctx.stringValue("GetResourcePriceResponse.Message")); PriceModel priceModel = new PriceModel(); Price price = new Price(); price.setOriginalPrice(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.OriginalPrice")); price.setDiscountPrice(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.DiscountPrice")); price.setTradePrice(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.TradePrice")); price.setCurrency(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.Currency")); List<Promotion> promotions = new ArrayList<Promotion>(); for (int i = 0; i < _ctx.lengthValue("GetResourcePriceResponse.PriceModel.Price.Promotions.Length"); i++) { Promotion promotion = new Promotion(); promotion.setOptionCode(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.Promotions["+ i +"].OptionCode")); promotion.setPromotionId(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.Promotions["+ i +"].PromotionId")); promotion.setPromotionName(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.Promotions["+ i +"].PromotionName")); promotion.setPromotionDesc(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Price.Promotions["+ i +"].PromotionDesc")); promotion.setSelected(_ctx.booleanValue("GetResourcePriceResponse.PriceModel.Price.Promotions["+ i +"].Selected")); promotions.add(promotion); } price.setPromotions(promotions); priceModel.setPrice(price); List<Rule> rules = new ArrayList<Rule>(); for (int i = 0; i < _ctx.lengthValue("GetResourcePriceResponse.PriceModel.Rules.Length"); i++) { Rule rule = new Rule(); rule.setRuleId(_ctx.longValue("GetResourcePriceResponse.PriceModel.Rules["+ i +"].RuleId")); rule.setDescription(_ctx.stringValue("GetResourcePriceResponse.PriceModel.Rules["+ i +"].Description")); rules.add(rule); } priceModel.setRules(rules); getResourcePriceResponse.setPriceModel(priceModel); return getResourcePriceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/GetResourceRenewPriceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.GetResourceRenewPriceResponse; import com.aliyuncs.appstream_center.model.v20210901.GetResourceRenewPriceResponse.Data; import com.aliyuncs.appstream_center.model.v20210901.GetResourceRenewPriceResponse.Data.Price; import com.aliyuncs.appstream_center.model.v20210901.GetResourceRenewPriceResponse.Data.Price.Promotion; import com.aliyuncs.appstream_center.model.v20210901.GetResourceRenewPriceResponse.Data.Rule; import com.aliyuncs.transform.UnmarshallerContext; public class GetResourceRenewPriceResponseUnmarshaller { public static GetResourceRenewPriceResponse unmarshall(GetResourceRenewPriceResponse getResourceRenewPriceResponse, UnmarshallerContext _ctx) { getResourceRenewPriceResponse.setRequestId(_ctx.stringValue("GetResourceRenewPriceResponse.RequestId")); Data data = new Data(); Price price = new Price(); price.setOriginalPrice(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.OriginalPrice")); price.setDiscountPrice(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.DiscountPrice")); price.setTradePrice(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.TradePrice")); price.setCurrency(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.Currency")); List<Promotion> promotions = new ArrayList<Promotion>(); for (int i = 0; i < _ctx.lengthValue("GetResourceRenewPriceResponse.Data.Price.Promotions.Length"); i++) { Promotion promotion = new Promotion(); promotion.setOptionCode(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.Promotions["+ i +"].OptionCode")); promotion.setPromotionId(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.Promotions["+ i +"].PromotionId")); promotion.setPromotionName(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.Promotions["+ i +"].PromotionName")); promotion.setPromotionDesc(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Price.Promotions["+ i +"].PromotionDesc")); promotion.setSelected(_ctx.booleanValue("GetResourceRenewPriceResponse.Data.Price.Promotions["+ i +"].Selected")); promotions.add(promotion); } price.setPromotions(promotions); data.setPrice(price); List<Rule> rules = new ArrayList<Rule>(); for (int i = 0; i < _ctx.lengthValue("GetResourceRenewPriceResponse.Data.Rules.Length"); i++) { Rule rule = new Rule(); rule.setRuleId(_ctx.longValue("GetResourceRenewPriceResponse.Data.Rules["+ i +"].RuleId")); rule.setDescription(_ctx.stringValue("GetResourceRenewPriceResponse.Data.Rules["+ i +"].Description")); rules.add(rule); } data.setRules(rules); getResourceRenewPriceResponse.setData(data); return getResourceRenewPriceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ListAppInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse.Data; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse.Data.AppsItem; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse.Data.Node; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse.Data.Node.RecurrenceSchedule; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse.Data.Node.RecurrenceSchedule.TimerPeriod; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstanceGroupResponse.Data.OtaInfo; import com.aliyuncs.transform.UnmarshallerContext; public class ListAppInstanceGroupResponseUnmarshaller { public static ListAppInstanceGroupResponse unmarshall(ListAppInstanceGroupResponse listAppInstanceGroupResponse, UnmarshallerContext _ctx) { listAppInstanceGroupResponse.setRequestId(_ctx.stringValue("ListAppInstanceGroupResponse.RequestId")); listAppInstanceGroupResponse.setTotalCount(_ctx.integerValue("ListAppInstanceGroupResponse.TotalCount")); listAppInstanceGroupResponse.setPageSize(_ctx.integerValue("ListAppInstanceGroupResponse.PageSize")); listAppInstanceGroupResponse.setPageNumber(_ctx.integerValue("ListAppInstanceGroupResponse.PageNumber")); List<Data> appInstanceGroupModels = new ArrayList<Data>(); for (int i = 0; i < _ctx.lengthValue("ListAppInstanceGroupResponse.AppInstanceGroupModels.Length"); i++) { Data data = new Data(); data.setAppCenterImageId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].AppCenterImageId")); data.setAliyunImageId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].AliyunImageId")); data.setRegionId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].RegionId")); data.setProductType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].ProductType")); data.setAppInstanceType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].AppInstanceType")); data.setAppInstanceGroupId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].AppInstanceGroupId")); data.setCpu(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Cpu")); data.setGpu(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Gpu")); data.setMemory(_ctx.longValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Memory")); data.setAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Amount")); data.setMinAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].MinAmount")); data.setMaxAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].MaxAmount")); data.setChargeType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].ChargeType")); data.setGmtCreate(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].GmtCreate")); data.setStatus(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Status")); data.setSpecId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].SpecId")); data.setSessionTimeout(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].SessionTimeout")); data.setAppInstanceGroupName(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].AppInstanceGroupName")); data.setExpiredTime(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].ExpiredTime")); data.setOsType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].OsType")); data.setResourceStatus(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].ResourceStatus")); data.setAppPolicyId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].AppPolicyId")); data.setChargeResourceMode(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].ChargeResourceMode")); OtaInfo otaInfo = new OtaInfo(); otaInfo.setOtaVersion(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].OtaInfo.OtaVersion")); otaInfo.setNewOtaVersion(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].OtaInfo.NewOtaVersion")); otaInfo.setTaskId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].OtaInfo.TaskId")); data.setOtaInfo(otaInfo); List<AppsItem> apps = new ArrayList<AppsItem>(); for (int j = 0; j < _ctx.lengthValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Apps.Length"); j++) { AppsItem appsItem = new AppsItem(); appsItem.setAppId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Apps["+ j +"].AppId")); appsItem.setAppName(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Apps["+ j +"].AppName")); appsItem.setAppVersion(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Apps["+ j +"].AppVersion")); appsItem.setAppVersionName(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Apps["+ j +"].AppVersionName")); appsItem.setAppIcon(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].Apps["+ j +"].AppIcon")); apps.add(appsItem); } data.setApps(apps); List<Node> nodePool = new ArrayList<Node>(); for (int j = 0; j < _ctx.lengthValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool.Length"); j++) { Node node = new Node(); node.setNodePoolId(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].NodePoolId")); node.setNodeInstanceType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].NodeInstanceType")); node.setNodeAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].NodeAmount")); node.setNodeUsed(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].NodeUsed")); node.setNodeCapacity(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].NodeCapacity")); node.setScalingNodeAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].ScalingNodeAmount")); node.setScalingNodeUsed(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].ScalingNodeUsed")); node.setStrategyType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].StrategyType")); node.setAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].Amount")); node.setMaxScalingAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].MaxScalingAmount")); node.setScalingStep(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].ScalingStep")); node.setScalingUsageThreshold(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].ScalingUsageThreshold")); node.setScalingDownAfterIdleMinutes(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].ScalingDownAfterIdleMinutes")); node.setStrategyDisableDate(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].StrategyDisableDate")); node.setStrategyEnableDate(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].StrategyEnableDate")); node.setWarmUp(_ctx.booleanValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].WarmUp")); node.setNodeTypeName(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].NodeTypeName")); List<RecurrenceSchedule> recurrenceSchedules = new ArrayList<RecurrenceSchedule>(); for (int k = 0; k < _ctx.lengthValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules.Length"); k++) { RecurrenceSchedule recurrenceSchedule = new RecurrenceSchedule(); recurrenceSchedule.setRecurrenceType(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].RecurrenceType")); List<Integer> recurrenceValues = new ArrayList<Integer>(); for (int l = 0; l < _ctx.lengthValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].RecurrenceValues.Length"); l++) { recurrenceValues.add(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].RecurrenceValues["+ l +"]")); } recurrenceSchedule.setRecurrenceValues(recurrenceValues); List<TimerPeriod> timerPeriods = new ArrayList<TimerPeriod>(); for (int l = 0; l < _ctx.lengthValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].TimerPeriods.Length"); l++) { TimerPeriod timerPeriod = new TimerPeriod(); timerPeriod.setAmount(_ctx.integerValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].TimerPeriods["+ l +"].Amount")); timerPeriod.setEndTime(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].TimerPeriods["+ l +"].EndTime")); timerPeriod.setStartTime(_ctx.stringValue("ListAppInstanceGroupResponse.AppInstanceGroupModels["+ i +"].NodePool["+ j +"].RecurrenceSchedules["+ k +"].TimerPeriods["+ l +"].StartTime")); timerPeriods.add(timerPeriod); } recurrenceSchedule.setTimerPeriods(timerPeriods); recurrenceSchedules.add(recurrenceSchedule); } node.setRecurrenceSchedules(recurrenceSchedules); nodePool.add(node); } data.setNodePool(nodePool); appInstanceGroupModels.add(data); } listAppInstanceGroupResponse.setAppInstanceGroupModels(appInstanceGroupModels); return listAppInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ListAppInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstancesResponse; import com.aliyuncs.appstream_center.model.v20210901.ListAppInstancesResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ListAppInstancesResponseUnmarshaller { public static ListAppInstancesResponse unmarshall(ListAppInstancesResponse listAppInstancesResponse, UnmarshallerContext _ctx) { listAppInstancesResponse.setRequestId(_ctx.stringValue("ListAppInstancesResponse.RequestId")); listAppInstancesResponse.setTotalCount(_ctx.integerValue("ListAppInstancesResponse.TotalCount")); listAppInstancesResponse.setPageSize(_ctx.integerValue("ListAppInstancesResponse.PageSize")); listAppInstancesResponse.setPageNumber(_ctx.integerValue("ListAppInstancesResponse.PageNumber")); List<Data> appInstanceModels = new ArrayList<Data>(); for (int i = 0; i < _ctx.lengthValue("ListAppInstancesResponse.AppInstanceModels.Length"); i++) { Data data = new Data(); data.setAppInstanceId(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].AppInstanceId")); data.setAppInstanceGroupId(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].AppInstanceGroupId")); data.setStatus(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].Status")); data.setMainEthPublicIp(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].MainEthPublicIp")); data.setGmtCreate(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].GmtCreate")); data.setGmtModified(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].GmtModified")); data.setSessionStatus(_ctx.stringValue("ListAppInstancesResponse.AppInstanceModels["+ i +"].SessionStatus")); appInstanceModels.add(data); } listAppInstancesResponse.setAppInstanceModels(appInstanceModels); return listAppInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ListNodeInstanceTypeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.ListNodeInstanceTypeResponse; import com.aliyuncs.appstream_center.model.v20210901.ListNodeInstanceTypeResponse.Node; import com.aliyuncs.transform.UnmarshallerContext; public class ListNodeInstanceTypeResponseUnmarshaller { public static ListNodeInstanceTypeResponse unmarshall(ListNodeInstanceTypeResponse listNodeInstanceTypeResponse, UnmarshallerContext _ctx) { listNodeInstanceTypeResponse.setRequestId(_ctx.stringValue("ListNodeInstanceTypeResponse.RequestId")); listNodeInstanceTypeResponse.setTotalCount(_ctx.integerValue("ListNodeInstanceTypeResponse.TotalCount")); listNodeInstanceTypeResponse.setPageSize(_ctx.integerValue("ListNodeInstanceTypeResponse.PageSize")); listNodeInstanceTypeResponse.setPageNumber(_ctx.integerValue("ListNodeInstanceTypeResponse.PageNumber")); List<Node> nodeInstanceTypeModels = new ArrayList<Node>(); for (int i = 0; i < _ctx.lengthValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels.Length"); i++) { Node node = new Node(); node.setNodeInstanceType(_ctx.stringValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].NodeInstanceType")); node.setNodeInstanceTypeFamily(_ctx.stringValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].NodeInstanceTypeFamily")); node.setCpu(_ctx.stringValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].Cpu")); node.setGpu(_ctx.stringValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].Gpu")); node.setMemory(_ctx.longValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].Memory")); node.setSystemDiskSize(_ctx.longValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].SystemDiskSize")); node.setDataDiskSize(_ctx.longValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].DataDiskSize")); node.setGpuMemory(_ctx.longValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].GpuMemory")); node.setMaxCapacity(_ctx.integerValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].MaxCapacity")); node.setNodeTypeName(_ctx.stringValue("ListNodeInstanceTypeResponse.NodeInstanceTypeModels["+ i +"].NodeTypeName")); nodeInstanceTypeModels.add(node); } listNodeInstanceTypeResponse.setNodeInstanceTypeModels(nodeInstanceTypeModels); return listNodeInstanceTypeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ListOtaTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.ListOtaTaskResponse; import com.aliyuncs.appstream_center.model.v20210901.ListOtaTaskResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ListOtaTaskResponseUnmarshaller { public static ListOtaTaskResponse unmarshall(ListOtaTaskResponse listOtaTaskResponse, UnmarshallerContext _ctx) { listOtaTaskResponse.setRequestId(_ctx.stringValue("ListOtaTaskResponse.RequestId")); listOtaTaskResponse.setTotalCount(_ctx.integerValue("ListOtaTaskResponse.TotalCount")); listOtaTaskResponse.setPageSize(_ctx.integerValue("ListOtaTaskResponse.PageSize")); listOtaTaskResponse.setPageNumber(_ctx.integerValue("ListOtaTaskResponse.PageNumber")); List<Data> taskList = new ArrayList<Data>(); for (int i = 0; i < _ctx.lengthValue("ListOtaTaskResponse.TaskList.Length"); i++) { Data data = new Data(); data.setOtaVersion(_ctx.stringValue("ListOtaTaskResponse.TaskList["+ i +"].OtaVersion")); data.setTaskDisplayStatus(_ctx.stringValue("ListOtaTaskResponse.TaskList["+ i +"].TaskDisplayStatus")); data.setTaskStartTime(_ctx.stringValue("ListOtaTaskResponse.TaskList["+ i +"].TaskStartTime")); data.setTaskId(_ctx.stringValue("ListOtaTaskResponse.TaskList["+ i +"].TaskId")); taskList.add(data); } listOtaTaskResponse.setTaskList(taskList); return listOtaTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ListRegionsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.ListRegionsResponse; import com.aliyuncs.appstream_center.model.v20210901.ListRegionsResponse.RegionModelsItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListRegionsResponseUnmarshaller { public static ListRegionsResponse unmarshall(ListRegionsResponse listRegionsResponse, UnmarshallerContext _ctx) { listRegionsResponse.setRequestId(_ctx.stringValue("ListRegionsResponse.RequestId")); List<RegionModelsItem> regionModels = new ArrayList<RegionModelsItem>(); for (int i = 0; i < _ctx.lengthValue("ListRegionsResponse.RegionModels.Length"); i++) { RegionModelsItem regionModelsItem = new RegionModelsItem(); regionModelsItem.setRegionId(_ctx.stringValue("ListRegionsResponse.RegionModels["+ i +"].regionId")); regionModels.add(regionModelsItem); } listRegionsResponse.setRegionModels(regionModels); return listRegionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ListTenantConfigResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.ListTenantConfigResponse; import com.aliyuncs.appstream_center.model.v20210901.ListTenantConfigResponse.TenantConfigModel; import com.aliyuncs.transform.UnmarshallerContext; public class ListTenantConfigResponseUnmarshaller { public static ListTenantConfigResponse unmarshall(ListTenantConfigResponse listTenantConfigResponse, UnmarshallerContext _ctx) { listTenantConfigResponse.setRequestId(_ctx.stringValue("ListTenantConfigResponse.RequestId")); TenantConfigModel tenantConfigModel = new TenantConfigModel(); tenantConfigModel.setAppInstanceGroupExpireRemind(_ctx.booleanValue("ListTenantConfigResponse.TenantConfigModel.AppInstanceGroupExpireRemind")); listTenantConfigResponse.setTenantConfigModel(tenantConfigModel); return listTenantConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/LogOffAllSessionsInAppInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.LogOffAllSessionsInAppInstanceGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class LogOffAllSessionsInAppInstanceGroupResponseUnmarshaller { public static LogOffAllSessionsInAppInstanceGroupResponse unmarshall(LogOffAllSessionsInAppInstanceGroupResponse logOffAllSessionsInAppInstanceGroupResponse, UnmarshallerContext _ctx) { logOffAllSessionsInAppInstanceGroupResponse.setRequestId(_ctx.stringValue("LogOffAllSessionsInAppInstanceGroupResponse.RequestId")); logOffAllSessionsInAppInstanceGroupResponse.setCode(_ctx.stringValue("LogOffAllSessionsInAppInstanceGroupResponse.Code")); logOffAllSessionsInAppInstanceGroupResponse.setMessage(_ctx.stringValue("LogOffAllSessionsInAppInstanceGroupResponse.Message")); return logOffAllSessionsInAppInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ModifyAppInstanceGroupAttributeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.ModifyAppInstanceGroupAttributeResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyAppInstanceGroupAttributeResponseUnmarshaller { public static ModifyAppInstanceGroupAttributeResponse unmarshall(ModifyAppInstanceGroupAttributeResponse modifyAppInstanceGroupAttributeResponse, UnmarshallerContext _ctx) { modifyAppInstanceGroupAttributeResponse.setRequestId(_ctx.stringValue("ModifyAppInstanceGroupAttributeResponse.RequestId")); modifyAppInstanceGroupAttributeResponse.setCode(_ctx.stringValue("ModifyAppInstanceGroupAttributeResponse.Code")); modifyAppInstanceGroupAttributeResponse.setMessage(_ctx.stringValue("ModifyAppInstanceGroupAttributeResponse.Message")); return modifyAppInstanceGroupAttributeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ModifyNodePoolAttributeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.ModifyNodePoolAttributeResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyNodePoolAttributeResponseUnmarshaller { public static ModifyNodePoolAttributeResponse unmarshall(ModifyNodePoolAttributeResponse modifyNodePoolAttributeResponse, UnmarshallerContext _ctx) { modifyNodePoolAttributeResponse.setRequestId(_ctx.stringValue("ModifyNodePoolAttributeResponse.RequestId")); modifyNodePoolAttributeResponse.setCode(_ctx.stringValue("ModifyNodePoolAttributeResponse.Code")); modifyNodePoolAttributeResponse.setMessage(_ctx.stringValue("ModifyNodePoolAttributeResponse.Message")); return modifyNodePoolAttributeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/ModifyTenantConfigResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.ModifyTenantConfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyTenantConfigResponseUnmarshaller { public static ModifyTenantConfigResponse unmarshall(ModifyTenantConfigResponse modifyTenantConfigResponse, UnmarshallerContext _ctx) { modifyTenantConfigResponse.setRequestId(_ctx.stringValue("ModifyTenantConfigResponse.RequestId")); return modifyTenantConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/PageListAppInstanceGroupUserResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.appstream_center.model.v20210901.PageListAppInstanceGroupUserResponse; import com.aliyuncs.transform.UnmarshallerContext; public class PageListAppInstanceGroupUserResponseUnmarshaller { public static PageListAppInstanceGroupUserResponse unmarshall(PageListAppInstanceGroupUserResponse pageListAppInstanceGroupUserResponse, UnmarshallerContext _ctx) { pageListAppInstanceGroupUserResponse.setRequestId(_ctx.stringValue("PageListAppInstanceGroupUserResponse.RequestId")); List<String> users = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("PageListAppInstanceGroupUserResponse.Users.Length"); i++) { users.add(_ctx.stringValue("PageListAppInstanceGroupUserResponse.Users["+ i +"]")); } pageListAppInstanceGroupUserResponse.setUsers(users); return pageListAppInstanceGroupUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/RenewAppInstanceGroupResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.RenewAppInstanceGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RenewAppInstanceGroupResponseUnmarshaller { public static RenewAppInstanceGroupResponse unmarshall(RenewAppInstanceGroupResponse renewAppInstanceGroupResponse, UnmarshallerContext _ctx) { renewAppInstanceGroupResponse.setRequestId(_ctx.stringValue("RenewAppInstanceGroupResponse.RequestId")); renewAppInstanceGroupResponse.setCode(_ctx.stringValue("RenewAppInstanceGroupResponse.Code")); renewAppInstanceGroupResponse.setOrderId(_ctx.stringValue("RenewAppInstanceGroupResponse.OrderId")); renewAppInstanceGroupResponse.setMessage(_ctx.stringValue("RenewAppInstanceGroupResponse.Message")); return renewAppInstanceGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/UnbindResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.UnbindResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UnbindResponseUnmarshaller { public static UnbindResponse unmarshall(UnbindResponse unbindResponse, UnmarshallerContext _ctx) { unbindResponse.setRequestId(_ctx.stringValue("UnbindResponse.RequestId")); return unbindResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform
java-sources/com/aliyun/aliyun-java-sdk-appstream-center/1.0.6/com/aliyuncs/appstream_center/transform/v20210901/UpdateAppInstanceGroupImageResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.appstream_center.transform.v20210901; import com.aliyuncs.appstream_center.model.v20210901.UpdateAppInstanceGroupImageResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateAppInstanceGroupImageResponseUnmarshaller { public static UpdateAppInstanceGroupImageResponse unmarshall(UpdateAppInstanceGroupImageResponse updateAppInstanceGroupImageResponse, UnmarshallerContext _ctx) { updateAppInstanceGroupImageResponse.setRequestId(_ctx.stringValue("UpdateAppInstanceGroupImageResponse.RequestId")); updateAppInstanceGroupImageResponse.setCode(_ctx.stringValue("UpdateAppInstanceGroupImageResponse.Code")); updateAppInstanceGroupImageResponse.setMessage(_ctx.stringValue("UpdateAppInstanceGroupImageResponse.Message")); return updateAppInstanceGroupImageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aps/1.0.0/com/aliyuncs/aps/model
java-sources/com/aliyun/aliyun-java-sdk-aps/1.0.0/com/aliyuncs/aps/model/v20181128/GetPartnerInfoWithProgramRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aps.model.v20181128; import com.aliyuncs.RpcAcsRequest; /** * @author auto create * @version */ public class GetPartnerInfoWithProgramRequest extends RpcAcsRequest<GetPartnerInfoWithProgramResponse> { public GetPartnerInfoWithProgramRequest() { super("aps", "2018-11-28", "GetPartnerInfoWithProgram"); } private String aliyunPk; private String requestId; public String getAliyunPk() { return this.aliyunPk; } public void setAliyunPk(String aliyunPk) { this.aliyunPk = aliyunPk; if(aliyunPk != null){ putQueryParameter("AliyunPk", aliyunPk); } } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; if(requestId != null){ putQueryParameter("RequestId", requestId); } } @Override public Class<GetPartnerInfoWithProgramResponse> getResponseClass() { return GetPartnerInfoWithProgramResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aps/1.0.0/com/aliyuncs/aps/model
java-sources/com/aliyun/aliyun-java-sdk-aps/1.0.0/com/aliyuncs/aps/model/v20181128/GetPartnerInfoWithProgramResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aps.model.v20181128; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.aps.transform.v20181128.GetPartnerInfoWithProgramResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetPartnerInfoWithProgramResponse extends AcsResponse { private String code; private String requestId; private Boolean success; private String version; private String message; private Result result; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } 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 getVersion() { return this.version; } public void setVersion(String version) { this.version = version; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Result getResult() { return this.result; } public void setResult(Result result) { this.result = result; } public static class Result { private Boolean isPartner; private String partnerName; private String companyName; private List<ProgramLevelDTO> programLevelDTOList; public Boolean getIsPartner() { return this.isPartner; } public void setIsPartner(Boolean isPartner) { this.isPartner = isPartner; } public String getPartnerName() { return this.partnerName; } public void setPartnerName(String partnerName) { this.partnerName = partnerName; } public String getCompanyName() { return this.companyName; } public void setCompanyName(String companyName) { this.companyName = companyName; } public List<ProgramLevelDTO> getProgramLevelDTOList() { return this.programLevelDTOList; } public void setProgramLevelDTOList(List<ProgramLevelDTO> programLevelDTOList) { this.programLevelDTOList = programLevelDTOList; } public static class ProgramLevelDTO { private Program program; private Level level; public Program getProgram() { return this.program; } public void setProgram(Program program) { this.program = program; } public Level getLevel() { return this.level; } public void setLevel(Level level) { this.level = level; } public static class Program { private String code; private String name; private String parentCode; private String description; private String status; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getParentCode() { return this.parentCode; } public void setParentCode(String parentCode) { this.parentCode = parentCode; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } } public static class Level { private String name; private String code; private String description; private Integer sorting; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public Integer getSorting() { return this.sorting; } public void setSorting(Integer sorting) { this.sorting = sorting; } } } } @Override public GetPartnerInfoWithProgramResponse getInstance(UnmarshallerContext context) { return GetPartnerInfoWithProgramResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-aps/1.0.0/com/aliyuncs/aps/transform
java-sources/com/aliyun/aliyun-java-sdk-aps/1.0.0/com/aliyuncs/aps/transform/v20181128/GetPartnerInfoWithProgramResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aps.transform.v20181128; import java.util.ArrayList; import java.util.List; import com.aliyuncs.aps.model.v20181128.GetPartnerInfoWithProgramResponse; import com.aliyuncs.aps.model.v20181128.GetPartnerInfoWithProgramResponse.Result; import com.aliyuncs.aps.model.v20181128.GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTO; import com.aliyuncs.aps.model.v20181128.GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTO.Level; import com.aliyuncs.aps.model.v20181128.GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTO.Program; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetPartnerInfoWithProgramResponseUnmarshaller { public static GetPartnerInfoWithProgramResponse unmarshall(GetPartnerInfoWithProgramResponse getPartnerInfoWithProgramResponse, UnmarshallerContext context) { getPartnerInfoWithProgramResponse.setRequestId(context.stringValue("GetPartnerInfoWithProgramResponse.RequestId")); getPartnerInfoWithProgramResponse.setCode(context.stringValue("GetPartnerInfoWithProgramResponse.Code")); getPartnerInfoWithProgramResponse.setSuccess(context.booleanValue("GetPartnerInfoWithProgramResponse.Success")); getPartnerInfoWithProgramResponse.setVersion(context.stringValue("GetPartnerInfoWithProgramResponse.Version")); getPartnerInfoWithProgramResponse.setMessage(context.stringValue("GetPartnerInfoWithProgramResponse.Message")); Result result = new Result(); result.setIsPartner(context.booleanValue("GetPartnerInfoWithProgramResponse.Result.IsPartner")); result.setPartnerName(context.stringValue("GetPartnerInfoWithProgramResponse.Result.PartnerName")); result.setCompanyName(context.stringValue("GetPartnerInfoWithProgramResponse.Result.CompanyName")); List<ProgramLevelDTO> programLevelDTOList = new ArrayList<ProgramLevelDTO>(); for (int i = 0; i < context.lengthValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList.Length"); i++) { ProgramLevelDTO programLevelDTO = new ProgramLevelDTO(); Program program = new Program(); program.setCode(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Program.Code")); program.setName(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Program.Name")); program.setParentCode(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Program.ParentCode")); program.setDescription(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Program.Description")); program.setStatus(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Program.Status")); programLevelDTO.setProgram(program); Level level = new Level(); level.setName(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Level.Name")); level.setCode(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Level.Code")); level.setDescription(context.stringValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Level.Description")); level.setSorting(context.integerValue("GetPartnerInfoWithProgramResponse.Result.ProgramLevelDTOList["+ i +"].Level.Sorting")); programLevelDTO.setLevel(level); programLevelDTOList.add(programLevelDTO); } result.setProgramLevelDTOList(programLevelDTOList); getPartnerInfoWithProgramResponse.setResult(result); return getPartnerInfoWithProgramResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/Endpoint.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() { { put("cn-shanghai-internal-test-1", "arms.aliyuncs.com"); put("cn-beijing-gov-1", "arms.aliyuncs.com"); put("cn-shenzhen-su18-b01", "arms.aliyuncs.com"); put("cn-shanghai-inner", "arms.aliyuncs.com"); put("cn-shenzhen-st4-d01", "arms.aliyuncs.com"); put("cn-haidian-cm12-c01", "arms.aliyuncs.com"); put("cn-hangzhou-internal-prod-1", "arms.aliyuncs.com"); put("cn-yushanfang", "arms.aliyuncs.com"); put("cn-hongkong-finance-pop", "arms.aliyuncs.com"); put("cn-qingdao-nebula", "arms.aliyuncs.com"); put("cn-beijing-finance-pop", "arms.aliyuncs.com"); put("cn-wuhan", "arms.aliyuncs.com"); put("cn-zhangbei", "arms.aliyuncs.com"); put("cn-zhengzhou-nebula-1", "arms.aliyuncs.com"); put("rus-west-1-pop", "arms.aliyuncs.com"); put("cn-shanghai-et15-b01", "arms.aliyuncs.com"); put("cn-hangzhou-bj-b01", "arms.aliyuncs.com"); put("cn-hangzhou-internal-test-1", "arms.aliyuncs.com"); put("eu-west-1-oxs", "arms.aliyuncs.com"); put("cn-zhangbei-na61-b01", "arms.aliyuncs.com"); put("cn-beijing-finance-1", "arms.aliyuncs.com"); put("cn-hangzhou-internal-test-3", "arms.aliyuncs.com"); put("cn-hangzhou-internal-test-2", "arms.aliyuncs.com"); put("me-east-1", "arms.aliyuncs.com"); put("cn-hangzhou-test-306", "arms.aliyuncs.com"); put("cn-huhehaote-nebula-1", "arms.aliyuncs.com"); put("cn-shanghai-et2-b01", "arms.aliyuncs.com"); put("cn-beijing-nu16-b01", "arms.aliyuncs.com"); put("cn-edge-1", "arms.aliyuncs.com"); put("cn-fujian", "arms.aliyuncs.com"); put("ap-northeast-2-pop", "arms.aliyuncs.com"); put("cn-shenzhen-inner", "arms.aliyuncs.com"); put("cn-zhangjiakou-na62-a01", "arms.aliyuncs.com"); } }; public static String endpointRegionalType = "regional"; }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model/v20190808/AddAliClusterIdsToPrometheusGlobalViewRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.arms.Endpoint; /** * @author auto create * @version */ public class AddAliClusterIdsToPrometheusGlobalViewRequest extends RpcAcsRequest<AddAliClusterIdsToPrometheusGlobalViewResponse> { private String globalViewClusterId; private String clusterIds; private String groupName; public AddAliClusterIdsToPrometheusGlobalViewRequest() { super("ARMS", "2019-08-08", "AddAliClusterIdsToPrometheusGlobalView", "arms"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getGlobalViewClusterId() { return this.globalViewClusterId; } public void setGlobalViewClusterId(String globalViewClusterId) { this.globalViewClusterId = globalViewClusterId; if(globalViewClusterId != null){ putQueryParameter("GlobalViewClusterId", globalViewClusterId); } } public String getClusterIds() { return this.clusterIds; } public void setClusterIds(String clusterIds) { this.clusterIds = clusterIds; if(clusterIds != null){ putQueryParameter("ClusterIds", clusterIds); } } public String getGroupName() { return this.groupName; } public void setGroupName(String groupName) { this.groupName = groupName; if(groupName != null){ putQueryParameter("GroupName", groupName); } } @Override public Class<AddAliClusterIdsToPrometheusGlobalViewResponse> getResponseClass() { return AddAliClusterIdsToPrometheusGlobalViewResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model/v20190808/AddAliClusterIdsToPrometheusGlobalViewResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; import com.aliyuncs.arms.transform.v20190808.AddAliClusterIdsToPrometheusGlobalViewResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddAliClusterIdsToPrometheusGlobalViewResponse extends AcsResponse { private String requestId; private Integer code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Boolean success; private String msg; private String info; public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public String getInfo() { return this.info; } public void setInfo(String info) { this.info = info; } } @Override public AddAliClusterIdsToPrometheusGlobalViewResponse getInstance(UnmarshallerContext context) { return AddAliClusterIdsToPrometheusGlobalViewResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model/v20190808/AddGrafanaRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.arms.Endpoint; /** * @author auto create * @version */ public class AddGrafanaRequest extends RpcAcsRequest<AddGrafanaResponse> { private String integration; private String clusterId; public AddGrafanaRequest() { super("ARMS", "2019-08-08", "AddGrafana", "arms"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getIntegration() { return this.integration; } public void setIntegration(String integration) { this.integration = integration; if(integration != null){ putQueryParameter("Integration", integration); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<AddGrafanaResponse> getResponseClass() { return AddGrafanaResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model/v20190808/AddGrafanaResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; import com.aliyuncs.arms.transform.v20190808.AddGrafanaResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddGrafanaResponse extends AcsResponse { private String data; private String requestId; public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public AddGrafanaResponse getInstance(UnmarshallerContext context) { return AddGrafanaResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model/v20190808/AddIntegrationRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.arms.Endpoint; /** * @author auto create * @version */ public class AddIntegrationRequest extends RpcAcsRequest<AddIntegrationResponse> { private String integration; private String clusterId; public AddIntegrationRequest() { super("ARMS", "2019-08-08", "AddIntegration", "arms"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getIntegration() { return this.integration; } public void setIntegration(String integration) { this.integration = integration; if(integration != null){ putQueryParameter("Integration", integration); } } public String getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } @Override public Class<AddIntegrationResponse> getResponseClass() { return AddIntegrationResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/model/v20190808/AddIntegrationResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.arms.model.v20190808; import com.aliyuncs.AcsResponse; import com.aliyuncs.arms.transform.v20190808.AddIntegrationResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddIntegrationResponse extends AcsResponse { private String data; private String requestId; private Integer code; private String message; public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public AddIntegrationResponse getInstance(UnmarshallerContext context) { return AddIntegrationResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }