index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryOutAccountBindStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryOutAccountBindStatusRequest extends RpcAcsRequest<QueryOutAccountBindStatusResponse> {
private String gameId;
private String accountDomain;
private String accountId;
public QueryOutAccountBindStatusRequest() {
super("CloudGameAPI", "2020-07-28", "QueryOutAccountBindStatus");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putQueryParameter("GameId", gameId);
}
}
public String getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putQueryParameter("AccountId", accountId);
}
}
@Override
public Class<QueryOutAccountBindStatusResponse> getResponseClass() {
return QueryOutAccountBindStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryOutAccountBindStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.QueryOutAccountBindStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryOutAccountBindStatusResponse 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 Integer bindStatus;
public Integer getBindStatus() {
return this.bindStatus;
}
public void setBindStatus(Integer bindStatus) {
this.bindStatus = bindStatus;
}
}
@Override
public QueryOutAccountBindStatusResponse getInstance(UnmarshallerContext context) {
return QueryOutAccountBindStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryProjectRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryProjectRequest extends RpcAcsRequest<QueryProjectResponse> {
private Integer pageNo;
private Integer pageSize;
private Long tenantId;
private Long projectId;
public QueryProjectRequest() {
super("CloudGameAPI", "2020-07-28", "QueryProject");
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 Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putQueryParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<QueryProjectResponse> getResponseClass() {
return QueryProjectResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryProjectResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.QueryProjectResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryProjectResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<Items> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Items> getData() {
return this.data;
}
public void setData(List<Items> data) {
this.data = data;
}
public static class Items {
private Long tenantId;
private String name;
private Long id;
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
}
@Override
public QueryProjectResponse getInstance(UnmarshallerContext context) {
return QueryProjectResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryTenantRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryTenantRequest extends RpcAcsRequest<QueryTenantResponse> {
private String param;
private Integer pageNo;
private Integer pageSize;
public QueryTenantRequest() {
super("CloudGameAPI", "2020-07-28", "QueryTenant");
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 getParam() {
return this.param;
}
public void setParam(String param) {
this.param = param;
if(param != null){
putQueryParameter("Param", param);
}
}
public Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<QueryTenantResponse> getResponseClass() {
return QueryTenantResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryTenantResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.QueryTenantResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryTenantResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<Items> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Items> getData() {
return this.data;
}
public void setData(List<Items> data) {
this.data = data;
}
public static class Items {
private Long tenantId;
private String name;
private String gmtCreate;
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
}
@Override
public QueryTenantResponse getInstance(UnmarshallerContext context) {
return QueryTenantResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/SkipTrialPolicyRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class SkipTrialPolicyRequest extends RpcAcsRequest<SkipTrialPolicyResponse> {
private String gameSessionId;
public SkipTrialPolicyRequest() {
super("CloudGameAPI", "2020-07-28", "SkipTrialPolicy");
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 getGameSessionId() {
return this.gameSessionId;
}
public void setGameSessionId(String gameSessionId) {
this.gameSessionId = gameSessionId;
if(gameSessionId != null){
putQueryParameter("GameSessionId", gameSessionId);
}
}
@Override
public Class<SkipTrialPolicyResponse> getResponseClass() {
return SkipTrialPolicyResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/SkipTrialPolicyResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.SkipTrialPolicyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SkipTrialPolicyResponse 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 Integer skipResult;
public Integer getSkipResult() {
return this.skipResult;
}
public void setSkipResult(Integer skipResult) {
this.skipResult = skipResult;
}
}
@Override
public SkipTrialPolicyResponse getInstance(UnmarshallerContext context) {
return SkipTrialPolicyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/StopGameSessionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class StopGameSessionRequest extends RpcAcsRequest<StopGameSessionResponse> {
private String gameId;
private String reason;
private String gameSession;
private String userId;
private String accessKey;
private String bizParam;
public StopGameSessionRequest() {
super("CloudGameAPI", "2020-07-28", "StopGameSession");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putBodyParameter("GameId", gameId);
}
}
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
if(reason != null){
putBodyParameter("Reason", reason);
}
}
public String getGameSession() {
return this.gameSession;
}
public void setGameSession(String gameSession) {
this.gameSession = gameSession;
if(gameSession != null){
putBodyParameter("GameSession", gameSession);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putBodyParameter("UserId", userId);
}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putBodyParameter("AccessKey", accessKey);
}
}
public String getBizParam() {
return this.bizParam;
}
public void setBizParam(String bizParam) {
this.bizParam = bizParam;
if(bizParam != null){
putBodyParameter("BizParam", bizParam);
}
}
@Override
public Class<StopGameSessionResponse> getResponseClass() {
return StopGameSessionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/StopGameSessionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.StopGameSessionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopGameSessionResponse extends AcsResponse {
private String requestId;
private String gameId;
private String gameSession;
private Integer queueState;
private Integer queueCode;
private String message;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getGameSession() {
return this.gameSession;
}
public void setGameSession(String gameSession) {
this.gameSession = gameSession;
}
public Integer getQueueState() {
return this.queueState;
}
public void setQueueState(Integer queueState) {
this.queueState = queueState;
}
public Integer getQueueCode() {
return this.queueCode;
}
public void setQueueCode(Integer queueCode) {
this.queueCode = queueCode;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public StopGameSessionResponse getInstance(UnmarshallerContext context) {
return StopGameSessionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/BatchDispatchGameSlotResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.BatchDispatchGameSlotResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.BatchDispatchGameSlotResponse.DataList;
import com.aliyuncs.transform.UnmarshallerContext;
public class BatchDispatchGameSlotResponseUnmarshaller {
public static BatchDispatchGameSlotResponse unmarshall(BatchDispatchGameSlotResponse batchDispatchGameSlotResponse, UnmarshallerContext _ctx) {
batchDispatchGameSlotResponse.setRequestId(_ctx.stringValue("BatchDispatchGameSlotResponse.RequestId"));
List<DataList> queueResultList = new ArrayList<DataList>();
for (int i = 0; i < _ctx.lengthValue("BatchDispatchGameSlotResponse.QueueResultList.Length"); i++) {
DataList dataList = new DataList();
dataList.setGameId(_ctx.stringValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].GameId"));
dataList.setGameSession(_ctx.stringValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].GameSession"));
dataList.setMessage(_ctx.stringValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].Message"));
dataList.setQueueCode(_ctx.integerValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].QueueCode"));
dataList.setQueueState(_ctx.integerValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].QueueState"));
dataList.setRegionName(_ctx.stringValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].RegionName"));
dataList.setUserId(_ctx.stringValue("BatchDispatchGameSlotResponse.QueueResultList["+ i +"].UserId"));
queueResultList.add(dataList);
}
batchDispatchGameSlotResponse.setQueueResultList(queueResultList);
return batchDispatchGameSlotResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/BatchStopGameSessionsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.BatchStopGameSessionsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class BatchStopGameSessionsResponseUnmarshaller {
public static BatchStopGameSessionsResponse unmarshall(BatchStopGameSessionsResponse batchStopGameSessionsResponse, UnmarshallerContext _ctx) {
batchStopGameSessionsResponse.setRequestId(_ctx.stringValue("BatchStopGameSessionsResponse.RequestId"));
batchStopGameSessionsResponse.setSuccess(_ctx.booleanValue("BatchStopGameSessionsResponse.Success"));
batchStopGameSessionsResponse.setQueueState(_ctx.integerValue("BatchStopGameSessionsResponse.QueueState"));
batchStopGameSessionsResponse.setMessage(_ctx.stringValue("BatchStopGameSessionsResponse.Message"));
batchStopGameSessionsResponse.setGameId(_ctx.stringValue("BatchStopGameSessionsResponse.GameId"));
batchStopGameSessionsResponse.setProjectId(_ctx.stringValue("BatchStopGameSessionsResponse.ProjectId"));
batchStopGameSessionsResponse.setTrackInfo(_ctx.stringValue("BatchStopGameSessionsResponse.TrackInfo"));
return batchStopGameSessionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/CloseOrderResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.CloseOrderResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CloseOrderResponseUnmarshaller {
public static CloseOrderResponse unmarshall(CloseOrderResponse closeOrderResponse, UnmarshallerContext _ctx) {
closeOrderResponse.setRequestId(_ctx.stringValue("CloseOrderResponse.RequestId"));
closeOrderResponse.setData(_ctx.booleanValue("CloseOrderResponse.Data"));
return closeOrderResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/CreateOrderResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.CreateOrderResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.CreateOrderResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrderResponseUnmarshaller {
public static CreateOrderResponse unmarshall(CreateOrderResponse createOrderResponse, UnmarshallerContext _ctx) {
createOrderResponse.setRequestId(_ctx.stringValue("CreateOrderResponse.RequestId"));
Data data = new Data();
data.setOrderId(_ctx.stringValue("CreateOrderResponse.Data.OrderId"));
data.setItemId(_ctx.stringValue("CreateOrderResponse.Data.ItemId"));
data.setSkuId(_ctx.stringValue("CreateOrderResponse.Data.SkuId"));
data.setCreateTime(_ctx.longValue("CreateOrderResponse.Data.CreateTime"));
data.setApplyDeliveryTime(_ctx.longValue("CreateOrderResponse.Data.ApplyDeliveryTime"));
data.setFinishTime(_ctx.longValue("CreateOrderResponse.Data.FinishTime"));
data.setOriginPrice(_ctx.longValue("CreateOrderResponse.Data.OriginPrice"));
data.setSettlementPrice(_ctx.longValue("CreateOrderResponse.Data.SettlementPrice"));
data.setAmount(_ctx.longValue("CreateOrderResponse.Data.Amount"));
data.setStatus(_ctx.stringValue("CreateOrderResponse.Data.Status"));
data.setBuyerAccountId(_ctx.stringValue("CreateOrderResponse.Data.BuyerAccountId"));
data.setAutoUnlockTime(_ctx.longValue("CreateOrderResponse.Data.AutoUnlockTime"));
data.setAccountDomain(_ctx.stringValue("CreateOrderResponse.Data.AccountDomain"));
createOrderResponse.setData(data);
return createOrderResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/CreateTokenResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.CreateTokenResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.CreateTokenResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTokenResponseUnmarshaller {
public static CreateTokenResponse unmarshall(CreateTokenResponse createTokenResponse, UnmarshallerContext _ctx) {
createTokenResponse.setRequestId(_ctx.stringValue("CreateTokenResponse.RequestId"));
Data data = new Data();
data.setToken(_ctx.stringValue("CreateTokenResponse.Data.Token"));
createTokenResponse.setData(data);
return createTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/DeliveryOrderResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.DeliveryOrderResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.DeliveryOrderResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeliveryOrderResponseUnmarshaller {
public static DeliveryOrderResponse unmarshall(DeliveryOrderResponse deliveryOrderResponse, UnmarshallerContext _ctx) {
deliveryOrderResponse.setRequestId(_ctx.stringValue("DeliveryOrderResponse.RequestId"));
Data data = new Data();
data.setDeliveryStatus(_ctx.stringValue("DeliveryOrderResponse.Data.DeliveryStatus"));
deliveryOrderResponse.setData(data);
return deliveryOrderResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/DispatchGameSlotResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.DispatchGameSlotResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DispatchGameSlotResponseUnmarshaller {
public static DispatchGameSlotResponse unmarshall(DispatchGameSlotResponse dispatchGameSlotResponse, UnmarshallerContext _ctx) {
dispatchGameSlotResponse.setRequestId(_ctx.stringValue("DispatchGameSlotResponse.RequestId"));
dispatchGameSlotResponse.setGameId(_ctx.stringValue("DispatchGameSlotResponse.GameId"));
dispatchGameSlotResponse.setGameSession(_ctx.stringValue("DispatchGameSlotResponse.GameSession"));
dispatchGameSlotResponse.setQueueState(_ctx.integerValue("DispatchGameSlotResponse.QueueState"));
dispatchGameSlotResponse.setQueueCode(_ctx.integerValue("DispatchGameSlotResponse.QueueCode"));
dispatchGameSlotResponse.setMessage(_ctx.stringValue("DispatchGameSlotResponse.Message"));
dispatchGameSlotResponse.setRegionName(_ctx.stringValue("DispatchGameSlotResponse.RegionName"));
dispatchGameSlotResponse.setUserId(_ctx.stringValue("DispatchGameSlotResponse.UserId"));
return dispatchGameSlotResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/GetGameCcuResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.GetGameCcuResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.GetGameCcuResponse.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetGameCcuResponseUnmarshaller {
public static GetGameCcuResponse unmarshall(GetGameCcuResponse getGameCcuResponse, UnmarshallerContext _ctx) {
getGameCcuResponse.setRequestId(_ctx.stringValue("GetGameCcuResponse.RequestId"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("GetGameCcuResponse.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setCcu(_ctx.longValue("GetGameCcuResponse.DataList["+ i +"].Ccu"));
dataListItem.setGameId(_ctx.stringValue("GetGameCcuResponse.DataList["+ i +"].GameId"));
dataListItem.setRegionId(_ctx.stringValue("GetGameCcuResponse.DataList["+ i +"].RegionId"));
dataList.add(dataListItem);
}
getGameCcuResponse.setDataList(dataList);
return getGameCcuResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/GetGameStockResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.GetGameStockResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.GetGameStockResponse.DataList;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetGameStockResponseUnmarshaller {
public static GetGameStockResponse unmarshall(GetGameStockResponse getGameStockResponse, UnmarshallerContext _ctx) {
getGameStockResponse.setRequestId(_ctx.stringValue("GetGameStockResponse.RequestId"));
getGameStockResponse.setGameId(_ctx.stringValue("GetGameStockResponse.GameId"));
getGameStockResponse.setMessage(_ctx.stringValue("GetGameStockResponse.Message"));
List<DataList> instanceStockList = new ArrayList<DataList>();
for (int i = 0; i < _ctx.lengthValue("GetGameStockResponse.InstanceStockList.Length"); i++) {
DataList dataList = new DataList();
dataList.setInstanceId(_ctx.stringValue("GetGameStockResponse.InstanceStockList["+ i +"].InstanceId"));
dataList.setReginName(_ctx.stringValue("GetGameStockResponse.InstanceStockList["+ i +"].ReginName"));
dataList.setUserLevel(_ctx.longValue("GetGameStockResponse.InstanceStockList["+ i +"].UserLevel"));
dataList.setInstanceSpec(_ctx.stringValue("GetGameStockResponse.InstanceStockList["+ i +"].InstanceSpec"));
dataList.setAvailableSlots(_ctx.longValue("GetGameStockResponse.InstanceStockList["+ i +"].AvailableSlots"));
instanceStockList.add(dataList);
}
getGameStockResponse.setInstanceStockList(instanceStockList);
return getGameStockResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/GetItemResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.GetItemResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.GetItemResponse.Data;
import com.aliyuncs.cloudgameapi.model.v20200728.GetItemResponse.Data.GamesItem;
import com.aliyuncs.cloudgameapi.model.v20200728.GetItemResponse.Data.Units;
import com.aliyuncs.cloudgameapi.model.v20200728.GetItemResponse.Data.Units.SalePropsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetItemResponseUnmarshaller {
public static GetItemResponse unmarshall(GetItemResponse getItemResponse, UnmarshallerContext _ctx) {
getItemResponse.setRequestId(_ctx.stringValue("GetItemResponse.RequestId"));
Data data = new Data();
data.setItemId(_ctx.stringValue("GetItemResponse.Data.ItemId"));
data.setCreateTime(_ctx.longValue("GetItemResponse.Data.CreateTime"));
data.setModifyTime(_ctx.longValue("GetItemResponse.Data.ModifyTime"));
data.setSellerId(_ctx.stringValue("GetItemResponse.Data.SellerId"));
data.setCategoryId(_ctx.longValue("GetItemResponse.Data.CategoryId"));
data.setTitle(_ctx.stringValue("GetItemResponse.Data.Title"));
data.setOriginPrice(_ctx.longValue("GetItemResponse.Data.OriginPrice"));
data.setSalePrice(_ctx.longValue("GetItemResponse.Data.SalePrice"));
data.setStatus(_ctx.integerValue("GetItemResponse.Data.Status"));
data.setDescription(_ctx.stringValue("GetItemResponse.Data.Description"));
data.setSupplier(_ctx.stringValue("GetItemResponse.Data.Supplier"));
List<GamesItem> games = new ArrayList<GamesItem>();
for (int i = 0; i < _ctx.lengthValue("GetItemResponse.Data.Games.Length"); i++) {
GamesItem gamesItem = new GamesItem();
gamesItem.setGameId(_ctx.stringValue("GetItemResponse.Data.Games["+ i +"].GameId"));
gamesItem.setName(_ctx.stringValue("GetItemResponse.Data.Games["+ i +"].Name"));
games.add(gamesItem);
}
data.setGames(games);
List<Units> skus = new ArrayList<Units>();
for (int i = 0; i < _ctx.lengthValue("GetItemResponse.Data.Skus.Length"); i++) {
Units units = new Units();
units.setSkuId(_ctx.stringValue("GetItemResponse.Data.Skus["+ i +"].SkuId"));
units.setCreateTime(_ctx.longValue("GetItemResponse.Data.Skus["+ i +"].CreateTime"));
units.setModifyTime(_ctx.longValue("GetItemResponse.Data.Skus["+ i +"].ModifyTime"));
units.setItemId(_ctx.stringValue("GetItemResponse.Data.Skus["+ i +"].ItemId"));
units.setOriginPrice(_ctx.longValue("GetItemResponse.Data.Skus["+ i +"].OriginPrice"));
units.setSalePrice(_ctx.longValue("GetItemResponse.Data.Skus["+ i +"].SalePrice"));
units.setStatus(_ctx.integerValue("GetItemResponse.Data.Skus["+ i +"].Status"));
List<SalePropsItem> saleProps = new ArrayList<SalePropsItem>();
for (int j = 0; j < _ctx.lengthValue("GetItemResponse.Data.Skus["+ i +"].SaleProps.Length"); j++) {
SalePropsItem salePropsItem = new SalePropsItem();
salePropsItem.setPropertyId(_ctx.longValue("GetItemResponse.Data.Skus["+ i +"].SaleProps["+ j +"].PropertyId"));
salePropsItem.setPropertyName(_ctx.stringValue("GetItemResponse.Data.Skus["+ i +"].SaleProps["+ j +"].PropertyName"));
salePropsItem.setValueId(_ctx.longValue("GetItemResponse.Data.Skus["+ i +"].SaleProps["+ j +"].ValueId"));
salePropsItem.setValue(_ctx.stringValue("GetItemResponse.Data.Skus["+ i +"].SaleProps["+ j +"].Value"));
saleProps.add(salePropsItem);
}
units.setSaleProps(saleProps);
skus.add(units);
}
data.setSkus(skus);
getItemResponse.setData(data);
return getItemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/GetOutAccountBindDetailResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.GetOutAccountBindDetailResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.GetOutAccountBindDetailResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetOutAccountBindDetailResponseUnmarshaller {
public static GetOutAccountBindDetailResponse unmarshall(GetOutAccountBindDetailResponse getOutAccountBindDetailResponse, UnmarshallerContext _ctx) {
getOutAccountBindDetailResponse.setRequestId(_ctx.stringValue("GetOutAccountBindDetailResponse.RequestId"));
Data data = new Data();
data.setBindStatus(_ctx.integerValue("GetOutAccountBindDetailResponse.Data.BindStatus"));
data.setOutAccountType(_ctx.stringValue("GetOutAccountBindDetailResponse.Data.OutAccountType"));
data.setOutAccountId(_ctx.stringValue("GetOutAccountBindDetailResponse.Data.OutAccountId"));
data.setToken(_ctx.stringValue("GetOutAccountBindDetailResponse.Data.Token"));
data.setTokenExpireTime(_ctx.longValue("GetOutAccountBindDetailResponse.Data.TokenExpireTime"));
getOutAccountBindDetailResponse.setData(data);
return getOutAccountBindDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/GetSessionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.GetSessionResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.GetSessionResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetSessionResponseUnmarshaller {
public static GetSessionResponse unmarshall(GetSessionResponse getSessionResponse, UnmarshallerContext _ctx) {
getSessionResponse.setRequestId(_ctx.stringValue("GetSessionResponse.RequestId"));
Data data = new Data();
data.setSession(_ctx.stringValue("GetSessionResponse.Data.Session"));
getSessionResponse.setData(data);
return getSessionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/GetStopGameTokenResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.GetStopGameTokenResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetStopGameTokenResponseUnmarshaller {
public static GetStopGameTokenResponse unmarshall(GetStopGameTokenResponse getStopGameTokenResponse, UnmarshallerContext _ctx) {
getStopGameTokenResponse.setRequestId(_ctx.stringValue("GetStopGameTokenResponse.RequestId"));
getStopGameTokenResponse.setToken(_ctx.stringValue("GetStopGameTokenResponse.Token"));
getStopGameTokenResponse.setExpireTime(_ctx.longValue("GetStopGameTokenResponse.ExpireTime"));
return getStopGameTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/ListBoughtGamesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.ListBoughtGamesResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.ListBoughtGamesResponse.ItemsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListBoughtGamesResponseUnmarshaller {
public static ListBoughtGamesResponse unmarshall(ListBoughtGamesResponse listBoughtGamesResponse, UnmarshallerContext _ctx) {
listBoughtGamesResponse.setRequestId(_ctx.stringValue("ListBoughtGamesResponse.RequestId"));
listBoughtGamesResponse.setPageNumber(_ctx.integerValue("ListBoughtGamesResponse.PageNumber"));
listBoughtGamesResponse.setPageSize(_ctx.integerValue("ListBoughtGamesResponse.PageSize"));
listBoughtGamesResponse.setTotalCount(_ctx.integerValue("ListBoughtGamesResponse.TotalCount"));
List<ItemsItem> items = new ArrayList<ItemsItem>();
for (int i = 0; i < _ctx.lengthValue("ListBoughtGamesResponse.Items.Length"); i++) {
ItemsItem itemsItem = new ItemsItem();
itemsItem.setGameId(_ctx.stringValue("ListBoughtGamesResponse.Items["+ i +"].GameId"));
itemsItem.setGameName(_ctx.stringValue("ListBoughtGamesResponse.Items["+ i +"].GameName"));
itemsItem.setStartTime(_ctx.longValue("ListBoughtGamesResponse.Items["+ i +"].StartTime"));
itemsItem.setEndTime(_ctx.longValue("ListBoughtGamesResponse.Items["+ i +"].EndTime"));
items.add(itemsItem);
}
listBoughtGamesResponse.setItems(items);
return listBoughtGamesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/QueryGameResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryGameResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryGameResponse.Items;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryGameResponseUnmarshaller {
public static QueryGameResponse unmarshall(QueryGameResponse queryGameResponse, UnmarshallerContext _ctx) {
queryGameResponse.setRequestId(_ctx.stringValue("QueryGameResponse.RequestId"));
queryGameResponse.setPageNumber(_ctx.integerValue("QueryGameResponse.PageNumber"));
queryGameResponse.setPageSize(_ctx.integerValue("QueryGameResponse.PageSize"));
queryGameResponse.setTotalCount(_ctx.integerValue("QueryGameResponse.TotalCount"));
List<Items> data = new ArrayList<Items>();
for (int i = 0; i < _ctx.lengthValue("QueryGameResponse.Data.Length"); i++) {
Items items = new Items();
items.setTenantId(_ctx.longValue("QueryGameResponse.Data["+ i +"].TenantId"));
items.setName(_ctx.stringValue("QueryGameResponse.Data["+ i +"].Name"));
items.setGmtCreate(_ctx.stringValue("QueryGameResponse.Data["+ i +"].GmtCreate"));
items.setProjectId(_ctx.longValue("QueryGameResponse.Data["+ i +"].ProjectId"));
items.setGameId(_ctx.longValue("QueryGameResponse.Data["+ i +"].GameId"));
items.setVersion(_ctx.stringValue("QueryGameResponse.Data["+ i +"].Version"));
data.add(items);
}
queryGameResponse.setData(data);
return queryGameResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/QueryItemsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryItemsResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryItemsResponse.Data;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryItemsResponse.Data.ItemsItem;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryItemsResponse.Data.ItemsItem.GamesItem;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryItemsResponse.Data.ItemsItem.Units;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryItemsResponse.Data.ItemsItem.Units.SalePropsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryItemsResponseUnmarshaller {
public static QueryItemsResponse unmarshall(QueryItemsResponse queryItemsResponse, UnmarshallerContext _ctx) {
queryItemsResponse.setRequestId(_ctx.stringValue("QueryItemsResponse.RequestId"));
queryItemsResponse.setSuccess(_ctx.booleanValue("QueryItemsResponse.Success"));
queryItemsResponse.setHttpStatusCode(_ctx.longValue("QueryItemsResponse.HttpStatusCode"));
Data data = new Data();
data.setPageNumber(_ctx.integerValue("QueryItemsResponse.Data.PageNumber"));
data.setPageSize(_ctx.integerValue("QueryItemsResponse.Data.PageSize"));
data.setTotalCount(_ctx.longValue("QueryItemsResponse.Data.TotalCount"));
List<ItemsItem> items = new ArrayList<ItemsItem>();
for (int i = 0; i < _ctx.lengthValue("QueryItemsResponse.Data.Items.Length"); i++) {
ItemsItem itemsItem = new ItemsItem();
itemsItem.setModifyTime(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].ModifyTime"));
itemsItem.setSalePrice(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].SalePrice"));
itemsItem.setDescription(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Description"));
itemsItem.setOriginPrice(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].OriginPrice"));
itemsItem.setCreateTime(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].CreateTime"));
itemsItem.setTitle(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Title"));
itemsItem.setItemId(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].ItemId"));
itemsItem.setSellerId(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].SellerId"));
itemsItem.setSupplier(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Supplier"));
itemsItem.setCategoryId(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].CategoryId"));
itemsItem.setStatus(_ctx.integerValue("QueryItemsResponse.Data.Items["+ i +"].Status"));
List<Units> skus = new ArrayList<Units>();
for (int j = 0; j < _ctx.lengthValue("QueryItemsResponse.Data.Items["+ i +"].Skus.Length"); j++) {
Units units = new Units();
units.setItemId(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].ItemId"));
units.setModifyTime(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].ModifyTime"));
units.setSalePrice(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SalePrice"));
units.setOriginPrice(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].OriginPrice"));
units.setCreateTime(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].CreateTime"));
units.setSkuId(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SkuId"));
units.setStatus(_ctx.integerValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].Status"));
List<SalePropsItem> saleProps = new ArrayList<SalePropsItem>();
for (int k = 0; k < _ctx.lengthValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SaleProps.Length"); k++) {
SalePropsItem salePropsItem = new SalePropsItem();
salePropsItem.setValueId(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SaleProps["+ k +"].ValueId"));
salePropsItem.setPropertyName(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SaleProps["+ k +"].PropertyName"));
salePropsItem.setPropertyId(_ctx.longValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SaleProps["+ k +"].PropertyId"));
salePropsItem.setValue(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Skus["+ j +"].SaleProps["+ k +"].Value"));
saleProps.add(salePropsItem);
}
units.setSaleProps(saleProps);
skus.add(units);
}
itemsItem.setSkus(skus);
List<GamesItem> games = new ArrayList<GamesItem>();
for (int j = 0; j < _ctx.lengthValue("QueryItemsResponse.Data.Items["+ i +"].Games.Length"); j++) {
GamesItem gamesItem = new GamesItem();
gamesItem.setGameId(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Games["+ j +"].GameId"));
gamesItem.setName(_ctx.stringValue("QueryItemsResponse.Data.Items["+ i +"].Games["+ j +"].Name"));
games.add(gamesItem);
}
itemsItem.setGames(games);
items.add(itemsItem);
}
data.setItems(items);
queryItemsResponse.setData(data);
return queryItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/QueryOrderResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryOrderResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryOrderResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryOrderResponseUnmarshaller {
public static QueryOrderResponse unmarshall(QueryOrderResponse queryOrderResponse, UnmarshallerContext _ctx) {
queryOrderResponse.setRequestId(_ctx.stringValue("QueryOrderResponse.RequestId"));
queryOrderResponse.setDeliveryStatus(_ctx.stringValue("QueryOrderResponse.DeliveryStatus"));
queryOrderResponse.setRefundStatus(_ctx.stringValue("QueryOrderResponse.RefundStatus"));
Data data = new Data();
data.setOrderId(_ctx.stringValue("QueryOrderResponse.Data.OrderId"));
data.setItemId(_ctx.stringValue("QueryOrderResponse.Data.ItemId"));
data.setSkuId(_ctx.stringValue("QueryOrderResponse.Data.SkuId"));
data.setCreateTime(_ctx.longValue("QueryOrderResponse.Data.CreateTime"));
data.setApplyDeliveryTime(_ctx.longValue("QueryOrderResponse.Data.ApplyDeliveryTime"));
data.setFinishTime(_ctx.longValue("QueryOrderResponse.Data.FinishTime"));
data.setOriginPrice(_ctx.longValue("QueryOrderResponse.Data.OriginPrice"));
data.setSettlementPrice(_ctx.longValue("QueryOrderResponse.Data.SettlementPrice"));
data.setAmount(_ctx.longValue("QueryOrderResponse.Data.Amount"));
data.setStatus(_ctx.stringValue("QueryOrderResponse.Data.Status"));
data.setBuyerAccountId(_ctx.stringValue("QueryOrderResponse.Data.BuyerAccountId"));
data.setAutoUnlockTime(_ctx.longValue("QueryOrderResponse.Data.AutoUnlockTime"));
data.setAccountDomain(_ctx.stringValue("QueryOrderResponse.Data.AccountDomain"));
queryOrderResponse.setData(data);
return queryOrderResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/QueryOutAccountBindStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryOutAccountBindStatusResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryOutAccountBindStatusResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryOutAccountBindStatusResponseUnmarshaller {
public static QueryOutAccountBindStatusResponse unmarshall(QueryOutAccountBindStatusResponse queryOutAccountBindStatusResponse, UnmarshallerContext _ctx) {
queryOutAccountBindStatusResponse.setRequestId(_ctx.stringValue("QueryOutAccountBindStatusResponse.RequestId"));
Data data = new Data();
data.setBindStatus(_ctx.integerValue("QueryOutAccountBindStatusResponse.Data.BindStatus"));
queryOutAccountBindStatusResponse.setData(data);
return queryOutAccountBindStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/QueryProjectResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryProjectResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryProjectResponse.Items;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryProjectResponseUnmarshaller {
public static QueryProjectResponse unmarshall(QueryProjectResponse queryProjectResponse, UnmarshallerContext _ctx) {
queryProjectResponse.setRequestId(_ctx.stringValue("QueryProjectResponse.RequestId"));
queryProjectResponse.setPageNumber(_ctx.integerValue("QueryProjectResponse.PageNumber"));
queryProjectResponse.setPageSize(_ctx.integerValue("QueryProjectResponse.PageSize"));
queryProjectResponse.setTotalCount(_ctx.integerValue("QueryProjectResponse.TotalCount"));
List<Items> data = new ArrayList<Items>();
for (int i = 0; i < _ctx.lengthValue("QueryProjectResponse.Data.Length"); i++) {
Items items = new Items();
items.setTenantId(_ctx.longValue("QueryProjectResponse.Data["+ i +"].TenantId"));
items.setName(_ctx.stringValue("QueryProjectResponse.Data["+ i +"].Name"));
items.setId(_ctx.longValue("QueryProjectResponse.Data["+ i +"].Id"));
data.add(items);
}
queryProjectResponse.setData(data);
return queryProjectResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/QueryTenantResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryTenantResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.QueryTenantResponse.Items;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryTenantResponseUnmarshaller {
public static QueryTenantResponse unmarshall(QueryTenantResponse queryTenantResponse, UnmarshallerContext _ctx) {
queryTenantResponse.setRequestId(_ctx.stringValue("QueryTenantResponse.RequestId"));
queryTenantResponse.setPageNumber(_ctx.integerValue("QueryTenantResponse.PageNumber"));
queryTenantResponse.setPageSize(_ctx.integerValue("QueryTenantResponse.PageSize"));
queryTenantResponse.setTotalCount(_ctx.integerValue("QueryTenantResponse.TotalCount"));
List<Items> data = new ArrayList<Items>();
for (int i = 0; i < _ctx.lengthValue("QueryTenantResponse.Data.Length"); i++) {
Items items = new Items();
items.setTenantId(_ctx.longValue("QueryTenantResponse.Data["+ i +"].TenantId"));
items.setName(_ctx.stringValue("QueryTenantResponse.Data["+ i +"].Name"));
items.setGmtCreate(_ctx.stringValue("QueryTenantResponse.Data["+ i +"].GmtCreate"));
data.add(items);
}
queryTenantResponse.setData(data);
return queryTenantResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/SkipTrialPolicyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.SkipTrialPolicyResponse;
import com.aliyuncs.cloudgameapi.model.v20200728.SkipTrialPolicyResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class SkipTrialPolicyResponseUnmarshaller {
public static SkipTrialPolicyResponse unmarshall(SkipTrialPolicyResponse skipTrialPolicyResponse, UnmarshallerContext _ctx) {
skipTrialPolicyResponse.setRequestId(_ctx.stringValue("SkipTrialPolicyResponse.RequestId"));
Data data = new Data();
data.setSkipResult(_ctx.integerValue("SkipTrialPolicyResponse.Data.SkipResult"));
skipTrialPolicyResponse.setData(data);
return skipTrialPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/transform/v20200728/StopGameSessionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.transform.v20200728;
import com.aliyuncs.cloudgameapi.model.v20200728.StopGameSessionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class StopGameSessionResponseUnmarshaller {
public static StopGameSessionResponse unmarshall(StopGameSessionResponse stopGameSessionResponse, UnmarshallerContext _ctx) {
stopGameSessionResponse.setRequestId(_ctx.stringValue("StopGameSessionResponse.RequestId"));
stopGameSessionResponse.setGameId(_ctx.stringValue("StopGameSessionResponse.GameId"));
stopGameSessionResponse.setGameSession(_ctx.stringValue("StopGameSessionResponse.GameSession"));
stopGameSessionResponse.setQueueState(_ctx.integerValue("StopGameSessionResponse.QueueState"));
stopGameSessionResponse.setQueueCode(_ctx.integerValue("StopGameSessionResponse.QueueCode"));
stopGameSessionResponse.setMessage(_ctx.stringValue("StopGameSessionResponse.Message"));
stopGameSessionResponse.setSuccess(_ctx.booleanValue("StopGameSessionResponse.Success"));
return stopGameSessionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model/v20180910/ProcessAfterUploadFileRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudmarketing.model.v20180910;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class ProcessAfterUploadFileRequest extends RpcAcsRequest<ProcessAfterUploadFileResponse> {
public ProcessAfterUploadFileRequest() {
super("cloudmarketing", "2018-09-10", "ProcessAfterUploadFile");
}
private String srcFileName;
private String ossPath;
public String getSrcFileName() {
return this.srcFileName;
}
public void setSrcFileName(String srcFileName) {
this.srcFileName = srcFileName;
if(srcFileName != null){
putQueryParameter("SrcFileName", srcFileName);
}
}
public String getOssPath() {
return this.ossPath;
}
public void setOssPath(String ossPath) {
this.ossPath = ossPath;
if(ossPath != null){
putQueryParameter("OssPath", ossPath);
}
}
@Override
public Class<ProcessAfterUploadFileResponse> getResponseClass() {
return ProcessAfterUploadFileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model/v20180910/ProcessAfterUploadFileResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudmarketing.model.v20180910;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudmarketing.transform.v20180910.ProcessAfterUploadFileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ProcessAfterUploadFileResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String errorCode;
private Long fileId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Long getFileId() {
return this.fileId;
}
public void setFileId(Long fileId) {
this.fileId = fileId;
}
@Override
public ProcessAfterUploadFileResponse getInstance(UnmarshallerContext context) {
return ProcessAfterUploadFileResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model/v20180910/RequestUploadFileRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudmarketing.model.v20180910;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class RequestUploadFileRequest extends RpcAcsRequest<RequestUploadFileResponse> {
public RequestUploadFileRequest() {
super("cloudmarketing", "2018-09-10", "RequestUploadFile");
}
@Override
public Class<RequestUploadFileResponse> getResponseClass() {
return RequestUploadFileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/model/v20180910/RequestUploadFileResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudmarketing.model.v20180910;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudmarketing.transform.v20180910.RequestUploadFileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RequestUploadFileResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String message;
private String errorCode;
private String accessId;
private String policy;
private String signature;
private String dir;
private String host;
private String expire;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getAccessId() {
return this.accessId;
}
public void setAccessId(String accessId) {
this.accessId = accessId;
}
public String getPolicy() {
return this.policy;
}
public void setPolicy(String policy) {
this.policy = policy;
}
public String getSignature() {
return this.signature;
}
public void setSignature(String signature) {
this.signature = signature;
}
public String getDir() {
return this.dir;
}
public void setDir(String dir) {
this.dir = dir;
}
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
public String getExpire() {
return this.expire;
}
public void setExpire(String expire) {
this.expire = expire;
}
@Override
public RequestUploadFileResponse getInstance(UnmarshallerContext context) {
return RequestUploadFileResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/transform/v20180910/ProcessAfterUploadFileResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudmarketing.transform.v20180910;
import com.aliyuncs.cloudmarketing.model.v20180910.ProcessAfterUploadFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ProcessAfterUploadFileResponseUnmarshaller {
public static ProcessAfterUploadFileResponse unmarshall(ProcessAfterUploadFileResponse processAfterUploadFileResponse, UnmarshallerContext context) {
processAfterUploadFileResponse.setRequestId(context.stringValue("ProcessAfterUploadFileResponse.RequestId"));
processAfterUploadFileResponse.setSuccess(context.booleanValue("ProcessAfterUploadFileResponse.Success"));
processAfterUploadFileResponse.setMessage(context.stringValue("ProcessAfterUploadFileResponse.Message"));
processAfterUploadFileResponse.setErrorCode(context.stringValue("ProcessAfterUploadFileResponse.ErrorCode"));
processAfterUploadFileResponse.setFileId(context.longValue("ProcessAfterUploadFileResponse.FileId"));
return processAfterUploadFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudmarketing/1.8.0/com/aliyuncs/cloudmarketing/transform/v20180910/RequestUploadFileResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudmarketing.transform.v20180910;
import com.aliyuncs.cloudmarketing.model.v20180910.RequestUploadFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RequestUploadFileResponseUnmarshaller {
public static RequestUploadFileResponse unmarshall(RequestUploadFileResponse requestUploadFileResponse, UnmarshallerContext context) {
requestUploadFileResponse.setRequestId(context.stringValue("RequestUploadFileResponse.RequestId"));
requestUploadFileResponse.setSuccess(context.booleanValue("RequestUploadFileResponse.Success"));
requestUploadFileResponse.setMessage(context.stringValue("RequestUploadFileResponse.Message"));
requestUploadFileResponse.setErrorCode(context.stringValue("RequestUploadFileResponse.ErrorCode"));
requestUploadFileResponse.setAccessId(context.stringValue("RequestUploadFileResponse.AccessId"));
requestUploadFileResponse.setPolicy(context.stringValue("RequestUploadFileResponse.Policy"));
requestUploadFileResponse.setSignature(context.stringValue("RequestUploadFileResponse.Signature"));
requestUploadFileResponse.setDir(context.stringValue("RequestUploadFileResponse.Dir"));
requestUploadFileResponse.setHost(context.stringValue("RequestUploadFileResponse.Host"));
requestUploadFileResponse.setExpire(context.stringValue("RequestUploadFileResponse.Expire"));
return requestUploadFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/CancelTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CancelTaskRequest extends RpcAcsRequest<CancelTaskResponse> {
private Long resourceOwnerId;
private String taskId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public CancelTaskRequest() {
super("cloudphone", "2020-12-30", "CancelTask");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CancelTaskResponse> getResponseClass() {
return CancelTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/CancelTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.CancelTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CancelTaskResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CancelTaskResponse getInstance(UnmarshallerContext context) {
return CancelTaskResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/CopyImageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CopyImageRequest extends RpcAcsRequest<CopyImageResponse> {
private Long resourceOwnerId;
private String imageId;
private String clientToken;
private String destinationRegionId;
private String description;
private String imageName;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public CopyImageRequest() {
super("cloudphone", "2020-12-30", "CopyImage");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getDestinationRegionId() {
return this.destinationRegionId;
}
public void setDestinationRegionId(String destinationRegionId) {
this.destinationRegionId = destinationRegionId;
if(destinationRegionId != null){
putQueryParameter("DestinationRegionId", destinationRegionId);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
if(imageName != null){
putQueryParameter("ImageName", imageName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<CopyImageResponse> getResponseClass() {
return CopyImageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/CopyImageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.CopyImageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CopyImageResponse extends AcsResponse {
private String imageId;
private String requestId;
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CopyImageResponse getInstance(UnmarshallerContext context) {
return CopyImageResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/CreateImageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateImageRequest extends RpcAcsRequest<CreateImageResponse> {
private Long resourceOwnerId;
private String clientToken;
private String description;
private String imageName;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String instanceId;
public CreateImageRequest() {
super("cloudphone", "2020-12-30", "CreateImage");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
if(imageName != null){
putQueryParameter("ImageName", imageName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
@Override
public Class<CreateImageResponse> getResponseClass() {
return CreateImageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/CreateImageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.CreateImageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateImageResponse extends AcsResponse {
private String imageId;
private String requestId;
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateImageResponse getInstance(UnmarshallerContext context) {
return CreateImageResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/DeleteImagesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteImagesRequest extends RpcAcsRequest<DeleteImagesResponse> {
private Long resourceOwnerId;
private List<String> imageIds;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private Boolean force;
public DeleteImagesRequest() {
super("cloudphone", "2020-12-30", "DeleteImages");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public List<String> getImageIds() {
return this.imageIds;
}
public void setImageIds(List<String> imageIds) {
this.imageIds = imageIds;
if (imageIds != null) {
for (int i = 0; i < imageIds.size(); i++) {
putQueryParameter("ImageId." + (i + 1) , imageIds.get(i));
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Boolean getForce() {
return this.force;
}
public void setForce(Boolean force) {
this.force = force;
if(force != null){
putQueryParameter("Force", force.toString());
}
}
@Override
public Class<DeleteImagesResponse> getResponseClass() {
return DeleteImagesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/DeleteImagesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.DeleteImagesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteImagesResponse extends AcsResponse {
private String requestId;
private List<ImageResponse> imageResponses;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<ImageResponse> getImageResponses() {
return this.imageResponses;
}
public void setImageResponses(List<ImageResponse> imageResponses) {
this.imageResponses = imageResponses;
}
public static class ImageResponse {
private String code;
private String message;
private String imageId;
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 getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
}
@Override
public DeleteImagesResponse getInstance(UnmarshallerContext context) {
return DeleteImagesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/DeleteInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteInstancesRequest extends RpcAcsRequest<DeleteInstancesResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
private Boolean force;
public DeleteInstancesRequest() {
super("cloudphone", "2020-12-30", "DeleteInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
public Boolean getForce() {
return this.force;
}
public void setForce(Boolean force) {
this.force = force;
if(force != null){
putQueryParameter("Force", force.toString());
}
}
@Override
public Class<DeleteInstancesResponse> getResponseClass() {
return DeleteInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/DeleteInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.DeleteInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteInstancesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteInstancesResponse getInstance(UnmarshallerContext context) {
return DeleteInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/DeleteKeyPairsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteKeyPairsRequest extends RpcAcsRequest<DeleteKeyPairsResponse> {
private Long resourceOwnerId;
private List<String> keyPairNames;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public DeleteKeyPairsRequest() {
super("cloudphone", "2020-12-30", "DeleteKeyPairs");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public List<String> getKeyPairNames() {
return this.keyPairNames;
}
public void setKeyPairNames(List<String> keyPairNames) {
this.keyPairNames = keyPairNames;
if (keyPairNames != null) {
for (int i = 0; i < keyPairNames.size(); i++) {
putQueryParameter("KeyPairName." + (i + 1) , keyPairNames.get(i));
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<DeleteKeyPairsResponse> getResponseClass() {
return DeleteKeyPairsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/DeleteKeyPairsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.DeleteKeyPairsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteKeyPairsResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteKeyPairsResponse getInstance(UnmarshallerContext context) {
return DeleteKeyPairsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/FetchFileRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class FetchFileRequest extends RpcAcsRequest<FetchFileResponse> {
private Long resourceOwnerId;
private String ossObject;
private String path;
private String ossBucket;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String instanceId;
public FetchFileRequest() {
super("cloudphone", "2020-12-30", "FetchFile");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getOssObject() {
return this.ossObject;
}
public void setOssObject(String ossObject) {
this.ossObject = ossObject;
if(ossObject != null){
putQueryParameter("OssObject", ossObject);
}
}
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
if(path != null){
putQueryParameter("Path", path);
}
}
public String getOssBucket() {
return this.ossBucket;
}
public void setOssBucket(String ossBucket) {
this.ossBucket = ossBucket;
if(ossBucket != null){
putQueryParameter("OssBucket", ossBucket);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
@Override
public Class<FetchFileResponse> getResponseClass() {
return FetchFileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/FetchFileResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.FetchFileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class FetchFileResponse extends AcsResponse {
private String taskId;
private String requestId;
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public FetchFileResponse getInstance(UnmarshallerContext context) {
return FetchFileResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ImportImageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ImportImageRequest extends RpcAcsRequest<ImportImageResponse> {
private Long resourceOwnerId;
private String clientToken;
private String description;
private String ossObject;
private String platform;
private String imageName;
private String ossBucket;
private String resourceOwnerAccount;
private String ownerAccount;
private String format;
private Long ownerId;
public ImportImageRequest() {
super("cloudphone", "2020-12-30", "ImportImage");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getOssObject() {
return this.ossObject;
}
public void setOssObject(String ossObject) {
this.ossObject = ossObject;
if(ossObject != null){
putQueryParameter("OssObject", ossObject);
}
}
public String getPlatform() {
return this.platform;
}
public void setPlatform(String platform) {
this.platform = platform;
if(platform != null){
putQueryParameter("Platform", platform);
}
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
if(imageName != null){
putQueryParameter("ImageName", imageName);
}
}
public String getOssBucket() {
return this.ossBucket;
}
public void setOssBucket(String ossBucket) {
this.ossBucket = ossBucket;
if(ossBucket != null){
putQueryParameter("OssBucket", ossBucket);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getFormat() {
return this.format;
}
public void setFormat(String format) {
this.format = format;
if(format != null){
putQueryParameter("Format", format);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<ImportImageResponse> getResponseClass() {
return ImportImageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ImportImageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ImportImageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ImportImageResponse extends AcsResponse {
private String imageId;
private String requestId;
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ImportImageResponse getInstance(UnmarshallerContext context) {
return ImportImageResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ImportKeyPairRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ImportKeyPairRequest extends RpcAcsRequest<ImportKeyPairResponse> {
private Long resourceOwnerId;
private String keyPairName;
private String resourceOwnerAccount;
private String publicKeyBody;
private String ownerAccount;
private Long ownerId;
public ImportKeyPairRequest() {
super("cloudphone", "2020-12-30", "ImportKeyPair");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
if(keyPairName != null){
putQueryParameter("KeyPairName", keyPairName);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getPublicKeyBody() {
return this.publicKeyBody;
}
public void setPublicKeyBody(String publicKeyBody) {
this.publicKeyBody = publicKeyBody;
if(publicKeyBody != null){
putQueryParameter("PublicKeyBody", publicKeyBody);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<ImportKeyPairResponse> getResponseClass() {
return ImportKeyPairResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ImportKeyPairResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ImportKeyPairResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ImportKeyPairResponse extends AcsResponse {
private String requestId;
private String keyPairName;
private String keyPairFingerPrint;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
}
public String getKeyPairFingerPrint() {
return this.keyPairFingerPrint;
}
public void setKeyPairFingerPrint(String keyPairFingerPrint) {
this.keyPairFingerPrint = keyPairFingerPrint;
}
@Override
public ImportKeyPairResponse getInstance(UnmarshallerContext context) {
return ImportKeyPairResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/InstallApplicationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class InstallApplicationRequest extends RpcAcsRequest<InstallApplicationResponse> {
private Long resourceOwnerId;
private String ossObject;
private String ossBucket;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
public InstallApplicationRequest() {
super("cloudphone", "2020-12-30", "InstallApplication");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getOssObject() {
return this.ossObject;
}
public void setOssObject(String ossObject) {
this.ossObject = ossObject;
if(ossObject != null){
putQueryParameter("OssObject", ossObject);
}
}
public String getOssBucket() {
return this.ossBucket;
}
public void setOssBucket(String ossBucket) {
this.ossBucket = ossBucket;
if(ossBucket != null){
putQueryParameter("OssBucket", ossBucket);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<InstallApplicationResponse> getResponseClass() {
return InstallApplicationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/InstallApplicationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.InstallApplicationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class InstallApplicationResponse extends AcsResponse {
private String requestId;
private List<String> taskId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getTaskId() {
return this.taskId;
}
public void setTaskId(List<String> taskId) {
this.taskId = taskId;
}
@Override
public InstallApplicationResponse getInstance(UnmarshallerContext context) {
return InstallApplicationResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListImageSharePermissionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListImageSharePermissionRequest extends RpcAcsRequest<ListImageSharePermissionResponse> {
private Long resourceOwnerId;
private String imageId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public ListImageSharePermissionRequest() {
super("cloudphone", "2020-12-30", "ListImageSharePermission");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<ListImageSharePermissionResponse> getResponseClass() {
return ListImageSharePermissionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListImageSharePermissionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListImageSharePermissionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListImageSharePermissionResponse extends AcsResponse {
private String requestId;
private List<Account> accounts;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Account> getAccounts() {
return this.accounts;
}
public void setAccounts(List<Account> accounts) {
this.accounts = accounts;
}
public static class Account {
private String aliyunId;
public String getAliyunId() {
return this.aliyunId;
}
public void setAliyunId(String aliyunId) {
this.aliyunId = aliyunId;
}
}
@Override
public ListImageSharePermissionResponse getInstance(UnmarshallerContext context) {
return ListImageSharePermissionResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListImagesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListImagesRequest extends RpcAcsRequest<ListImagesResponse> {
private Long resourceOwnerId;
private List<String> imageIds;
private String imageCategory;
private String imageName;
private String nextToken;
private String instanceType;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private Integer maxResults;
private String status;
public ListImagesRequest() {
super("cloudphone", "2020-12-30", "ListImages");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public List<String> getImageIds() {
return this.imageIds;
}
public void setImageIds(List<String> imageIds) {
this.imageIds = imageIds;
if (imageIds != null) {
for (int i = 0; i < imageIds.size(); i++) {
putQueryParameter("ImageId." + (i + 1) , imageIds.get(i));
}
}
}
public String getImageCategory() {
return this.imageCategory;
}
public void setImageCategory(String imageCategory) {
this.imageCategory = imageCategory;
if(imageCategory != null){
putQueryParameter("ImageCategory", imageCategory);
}
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
if(imageName != null){
putQueryParameter("ImageName", imageName);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
@Override
public Class<ListImagesResponse> getResponseClass() {
return ListImagesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListImagesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListImagesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListImagesResponse extends AcsResponse {
private String nextToken;
private String requestId;
private Integer totalCount;
private Integer maxResults;
private String regionId;
private List<Image> images;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
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 getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public List<Image> getImages() {
return this.images;
}
public void setImages(List<Image> images) {
this.images = images;
}
public static class Image {
private String status;
private String creationTime;
private String progress;
private String usage;
private Boolean isSelfShared;
private String description;
private String imageName;
private String oSNameEn;
private String platform;
private String imageCategory;
private String oSName;
private String imageId;
private String oSType;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCreationTime() {
return this.creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public String getProgress() {
return this.progress;
}
public void setProgress(String progress) {
this.progress = progress;
}
public String getUsage() {
return this.usage;
}
public void setUsage(String usage) {
this.usage = usage;
}
public Boolean getIsSelfShared() {
return this.isSelfShared;
}
public void setIsSelfShared(Boolean isSelfShared) {
this.isSelfShared = isSelfShared;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getImageName() {
return this.imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
}
public String getOSNameEn() {
return this.oSNameEn;
}
public void setOSNameEn(String oSNameEn) {
this.oSNameEn = oSNameEn;
}
public String getPlatform() {
return this.platform;
}
public void setPlatform(String platform) {
this.platform = platform;
}
public String getImageCategory() {
return this.imageCategory;
}
public void setImageCategory(String imageCategory) {
this.imageCategory = imageCategory;
}
public String getOSName() {
return this.oSName;
}
public void setOSName(String oSName) {
this.oSName = oSName;
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public String getOSType() {
return this.oSType;
}
public void setOSType(String oSType) {
this.oSType = oSType;
}
}
@Override
public ListImagesResponse getInstance(UnmarshallerContext context) {
return ListImagesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListInstanceTypesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListInstanceTypesRequest extends RpcAcsRequest<ListInstanceTypesResponse> {
private Long resourceOwnerId;
private List<String> instanceTypes;
private String resourceOwnerAccount;
private String ownerAccount;
private String instanceTypeFamily;
private Long ownerId;
public ListInstanceTypesRequest() {
super("cloudphone", "2020-12-30", "ListInstanceTypes");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public List<String> getInstanceTypes() {
return this.instanceTypes;
}
public void setInstanceTypes(List<String> instanceTypes) {
this.instanceTypes = instanceTypes;
if (instanceTypes != null) {
for (int i = 0; i < instanceTypes.size(); i++) {
putQueryParameter("InstanceType." + (i + 1) , instanceTypes.get(i));
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getInstanceTypeFamily() {
return this.instanceTypeFamily;
}
public void setInstanceTypeFamily(String instanceTypeFamily) {
this.instanceTypeFamily = instanceTypeFamily;
if(instanceTypeFamily != null){
putQueryParameter("InstanceTypeFamily", instanceTypeFamily);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<ListInstanceTypesResponse> getResponseClass() {
return ListInstanceTypesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListInstanceTypesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListInstanceTypesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListInstanceTypesResponse extends AcsResponse {
private String requestId;
private List<InstanceType> instanceTypes;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<InstanceType> getInstanceTypes() {
return this.instanceTypes;
}
public void setInstanceTypes(List<InstanceType> instanceTypes) {
this.instanceTypes = instanceTypes;
}
public static class InstanceType {
private String nameEn;
private String defaultResolution;
private String instanceType;
private String name;
private String instanceTypeFamily;
private Integer cpuCoreCount;
private String memorySize;
private List<String> resolutions;
public String getNameEn() {
return this.nameEn;
}
public void setNameEn(String nameEn) {
this.nameEn = nameEn;
}
public String getDefaultResolution() {
return this.defaultResolution;
}
public void setDefaultResolution(String defaultResolution) {
this.defaultResolution = defaultResolution;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getInstanceTypeFamily() {
return this.instanceTypeFamily;
}
public void setInstanceTypeFamily(String instanceTypeFamily) {
this.instanceTypeFamily = instanceTypeFamily;
}
public Integer getCpuCoreCount() {
return this.cpuCoreCount;
}
public void setCpuCoreCount(Integer cpuCoreCount) {
this.cpuCoreCount = cpuCoreCount;
}
public String getMemorySize() {
return this.memorySize;
}
public void setMemorySize(String memorySize) {
this.memorySize = memorySize;
}
public List<String> getResolutions() {
return this.resolutions;
}
public void setResolutions(List<String> resolutions) {
this.resolutions = resolutions;
}
}
@Override
public ListInstanceTypesResponse getInstance(UnmarshallerContext context) {
return ListInstanceTypesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListInstanceVncUrlRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListInstanceVncUrlRequest extends RpcAcsRequest<ListInstanceVncUrlResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String instanceId;
public ListInstanceVncUrlRequest() {
super("cloudphone", "2020-12-30", "ListInstanceVncUrl");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
@Override
public Class<ListInstanceVncUrlResponse> getResponseClass() {
return ListInstanceVncUrlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListInstanceVncUrlResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListInstanceVncUrlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListInstanceVncUrlResponse extends AcsResponse {
private String vncUrl;
private String requestId;
private String webRtcToken;
public String getVncUrl() {
return this.vncUrl;
}
public void setVncUrl(String vncUrl) {
this.vncUrl = vncUrl;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getWebRtcToken() {
return this.webRtcToken;
}
public void setWebRtcToken(String webRtcToken) {
this.webRtcToken = webRtcToken;
}
@Override
public ListInstanceVncUrlResponse getInstance(UnmarshallerContext context) {
return ListInstanceVncUrlResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListInstancesRequest extends RpcAcsRequest<ListInstancesResponse> {
private Long resourceOwnerId;
private String imageId;
private Boolean showWebRtcToken;
private String keyPairName;
private String resolution;
private String nextToken;
private String instanceType;
private List<Tag> tags;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<Filter> filters;
private String instanceName;
private List<String> instanceIds;
private Integer maxResults;
private String zoneId;
private String chargeType;
private String status;
public ListInstancesRequest() {
super("cloudphone", "2020-12-30", "ListInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public Boolean getShowWebRtcToken() {
return this.showWebRtcToken;
}
public void setShowWebRtcToken(Boolean showWebRtcToken) {
this.showWebRtcToken = showWebRtcToken;
if(showWebRtcToken != null){
putQueryParameter("ShowWebRtcToken", showWebRtcToken.toString());
}
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
if(keyPairName != null){
putQueryParameter("KeyPairName", keyPairName);
}
}
public String getResolution() {
return this.resolution;
}
public void setResolution(String resolution) {
this.resolution = resolution;
if(resolution != null){
putQueryParameter("Resolution", resolution);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<Filter> getFilters() {
return this.filters;
}
public void setFilters(List<Filter> filters) {
this.filters = filters;
if (filters != null) {
for (int depth1 = 0; depth1 < filters.size(); depth1++) {
putQueryParameter("Filter." + (depth1 + 1) + ".Key" , filters.get(depth1).getKey());
putQueryParameter("Filter." + (depth1 + 1) + ".Value" , filters.get(depth1).getValue());
}
}
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
if(instanceName != null){
putQueryParameter("InstanceName", instanceName);
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
if(zoneId != null){
putQueryParameter("ZoneId", zoneId);
}
}
public String getChargeType() {
return this.chargeType;
}
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
if(chargeType != null){
putQueryParameter("ChargeType", chargeType);
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class Filter {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class<ListInstancesResponse> getResponseClass() {
return ListInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListInstancesResponse extends AcsResponse {
private String nextToken;
private String requestId;
private Integer totalCount;
private Integer maxResults;
private List<Instance> instances;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
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 getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public List<Instance> getInstances() {
return this.instances;
}
public void setInstances(List<Instance> instances) {
this.instances = instances;
}
public static class Instance {
private String status;
private String creationTime;
private String keyPairName;
private String securityGroupId;
private Boolean autoRenew;
private String chargeType;
private String osName;
private String instanceId;
private String instanceType;
private String regionId;
private String description;
private String expiredTime;
private String instanceName;
private String zoneId;
private String resolution;
private String imageId;
private String osNameEn;
private String webRtcToken;
private List<Tag> tags;
private VpcAttributes vpcAttributes;
private EipAddress eipAddress;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCreationTime() {
return this.creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public void setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
}
public Boolean getAutoRenew() {
return this.autoRenew;
}
public void setAutoRenew(Boolean autoRenew) {
this.autoRenew = autoRenew;
}
public String getChargeType() {
return this.chargeType;
}
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
}
public String getOsName() {
return this.osName;
}
public void setOsName(String osName) {
this.osName = osName;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getExpiredTime() {
return this.expiredTime;
}
public void setExpiredTime(String expiredTime) {
this.expiredTime = expiredTime;
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getResolution() {
return this.resolution;
}
public void setResolution(String resolution) {
this.resolution = resolution;
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public String getOsNameEn() {
return this.osNameEn;
}
public void setOsNameEn(String osNameEn) {
this.osNameEn = osNameEn;
}
public String getWebRtcToken() {
return this.webRtcToken;
}
public void setWebRtcToken(String webRtcToken) {
this.webRtcToken = webRtcToken;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public VpcAttributes getVpcAttributes() {
return this.vpcAttributes;
}
public void setVpcAttributes(VpcAttributes vpcAttributes) {
this.vpcAttributes = vpcAttributes;
}
public EipAddress getEipAddress() {
return this.eipAddress;
}
public void setEipAddress(EipAddress eipAddress) {
this.eipAddress = eipAddress;
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class VpcAttributes {
private String privateIpAddress;
private String vSwitchId;
public String getPrivateIpAddress() {
return this.privateIpAddress;
}
public void setPrivateIpAddress(String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
}
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
}
}
public static class EipAddress {
private String internetChargeType;
private String ipAddress;
private Integer bandwidth;
private String allocationId;
public String getInternetChargeType() {
return this.internetChargeType;
}
public void setInternetChargeType(String internetChargeType) {
this.internetChargeType = internetChargeType;
}
public String getIpAddress() {
return this.ipAddress;
}
public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
public Integer getBandwidth() {
return this.bandwidth;
}
public void setBandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
}
public String getAllocationId() {
return this.allocationId;
}
public void setAllocationId(String allocationId) {
this.allocationId = allocationId;
}
}
}
@Override
public ListInstancesResponse getInstance(UnmarshallerContext context) {
return ListInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListKeyPairsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListKeyPairsRequest extends RpcAcsRequest<ListKeyPairsResponse> {
private Long resourceOwnerId;
private String keyPairFingerPrint;
private String keyPairName;
private String nextToken;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private Integer maxResults;
public ListKeyPairsRequest() {
super("cloudphone", "2020-12-30", "ListKeyPairs");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getKeyPairFingerPrint() {
return this.keyPairFingerPrint;
}
public void setKeyPairFingerPrint(String keyPairFingerPrint) {
this.keyPairFingerPrint = keyPairFingerPrint;
if(keyPairFingerPrint != null){
putQueryParameter("KeyPairFingerPrint", keyPairFingerPrint);
}
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
if(keyPairName != null){
putQueryParameter("KeyPairName", keyPairName);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
@Override
public Class<ListKeyPairsResponse> getResponseClass() {
return ListKeyPairsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListKeyPairsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListKeyPairsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListKeyPairsResponse extends AcsResponse {
private String nextToken;
private String requestId;
private Integer totalCount;
private Integer maxResults;
private List<KeyPair> keyPairs;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
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 getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public List<KeyPair> getKeyPairs() {
return this.keyPairs;
}
public void setKeyPairs(List<KeyPair> keyPairs) {
this.keyPairs = keyPairs;
}
public static class KeyPair {
private String creationTime;
private String keyPairName;
private String keyPairFingerPrint;
public String getCreationTime() {
return this.creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
}
public String getKeyPairFingerPrint() {
return this.keyPairFingerPrint;
}
public void setKeyPairFingerPrint(String keyPairFingerPrint) {
this.keyPairFingerPrint = keyPairFingerPrint;
}
}
@Override
public ListKeyPairsResponse getInstance(UnmarshallerContext context) {
return ListKeyPairsResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/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.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListRegionsRequest extends RpcAcsRequest<ListRegionsResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public ListRegionsRequest() {
super("cloudphone", "2020-12-30", "ListRegions");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<ListRegionsResponse> getResponseClass() {
return ListRegionsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/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.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListRegionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListRegionsResponse extends AcsResponse {
private String requestId;
private List<Region> regions;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Region> getRegions() {
return this.regions;
}
public void setRegions(List<Region> regions) {
this.regions = regions;
}
public static class Region {
private String regionEndpoint;
private String regionId;
public String getRegionEndpoint() {
return this.regionEndpoint;
}
public void setRegionEndpoint(String regionEndpoint) {
this.regionEndpoint = regionEndpoint;
}
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);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTagKeysRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListTagKeysRequest extends RpcAcsRequest<ListTagKeysResponse> {
private String nextToken;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String resourceType;
public ListTagKeysRequest() {
super("cloudphone", "2020-12-30", "ListTagKeys");
setMethod(MethodType.POST);
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
@Override
public Class<ListTagKeysResponse> getResponseClass() {
return ListTagKeysResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTagKeysResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListTagKeysResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagKeysResponse extends AcsResponse {
private String nextToken;
private String requestId;
private Integer maxResults;
private List<String> keys;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public List<String> getKeys() {
return this.keys;
}
public void setKeys(List<String> keys) {
this.keys = keys;
}
@Override
public ListTagKeysResponse getInstance(UnmarshallerContext context) {
return ListTagKeysResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTagResourcesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListTagResourcesRequest extends RpcAcsRequest<ListTagResourcesResponse> {
private String nextToken;
private List<Tag> tags;
private List<String> resourceIds;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String resourceType;
public ListTagResourcesRequest() {
super("cloudphone", "2020-12-30", "ListTagResources");
setMethod(MethodType.POST);
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
}
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class<ListTagResourcesResponse> getResponseClass() {
return ListTagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTagResourcesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListTagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagResourcesResponse extends AcsResponse {
private String nextToken;
private String requestId;
private List<TagResource> tagResources;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<TagResource> getTagResources() {
return this.tagResources;
}
public void setTagResources(List<TagResource> tagResources) {
this.tagResources = tagResources;
}
public static class TagResource {
private String resourceType;
private String tagValue;
private String resourceId;
private String tagKey;
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
@Override
public ListTagResourcesResponse getInstance(UnmarshallerContext context) {
return ListTagResourcesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTagValuesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListTagValuesRequest extends RpcAcsRequest<ListTagValuesResponse> {
private String nextToken;
private String key;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String resourceType;
public ListTagValuesRequest() {
super("cloudphone", "2020-12-30", "ListTagValues");
setMethod(MethodType.POST);
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
if(key != null){
putQueryParameter("Key", key);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
@Override
public Class<ListTagValuesResponse> getResponseClass() {
return ListTagValuesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTagValuesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListTagValuesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagValuesResponse extends AcsResponse {
private String nextToken;
private String requestId;
private Integer maxResults;
private List<String> values;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
@Override
public ListTagValuesResponse getInstance(UnmarshallerContext context) {
return ListTagValuesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTasksRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListTasksRequest extends RpcAcsRequest<ListTasksResponse> {
private Long resourceOwnerId;
private String taskStatus;
private String nextToken;
private List<String> taskIds;
private String taskType;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String instanceId;
private Integer maxResults;
public ListTasksRequest() {
super("cloudphone", "2020-12-30", "ListTasks");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getTaskStatus() {
return this.taskStatus;
}
public void setTaskStatus(String taskStatus) {
this.taskStatus = taskStatus;
if(taskStatus != null){
putQueryParameter("TaskStatus", taskStatus);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<String> getTaskIds() {
return this.taskIds;
}
public void setTaskIds(List<String> taskIds) {
this.taskIds = taskIds;
if (taskIds != null) {
for (int i = 0; i < taskIds.size(); i++) {
putQueryParameter("TaskId." + (i + 1) , taskIds.get(i));
}
}
}
public String getTaskType() {
return this.taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
if(taskType != null){
putQueryParameter("TaskType", taskType);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
@Override
public Class<ListTasksResponse> getResponseClass() {
return ListTasksResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListTasksResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListTasksResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTasksResponse extends AcsResponse {
private String nextToken;
private String requestId;
private Integer totalCount;
private Integer maxResults;
private String regionId;
private List<Task> tasks;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
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 getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public List<Task> getTasks() {
return this.tasks;
}
public void setTasks(List<Task> tasks) {
this.tasks = tasks;
}
public static class Task {
private String taskType;
private String progress;
private String taskStatus;
private String executeMsg;
private String createTime;
private String finishedTime;
private String instanceId;
private String taskId;
public String getTaskType() {
return this.taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
}
public String getProgress() {
return this.progress;
}
public void setProgress(String progress) {
this.progress = progress;
}
public String getTaskStatus() {
return this.taskStatus;
}
public void setTaskStatus(String taskStatus) {
this.taskStatus = taskStatus;
}
public String getExecuteMsg() {
return this.executeMsg;
}
public void setExecuteMsg(String executeMsg) {
this.executeMsg = executeMsg;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getFinishedTime() {
return this.finishedTime;
}
public void setFinishedTime(String finishedTime) {
this.finishedTime = finishedTime;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
}
@Override
public ListTasksResponse getInstance(UnmarshallerContext context) {
return ListTasksResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListZonesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ListZonesRequest extends RpcAcsRequest<ListZonesResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
public ListZonesRequest() {
super("cloudphone", "2020-12-30", "ListZones");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
@Override
public Class<ListZonesResponse> getResponseClass() {
return ListZonesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ListZonesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ListZonesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListZonesResponse extends AcsResponse {
private String requestId;
private List<Zone> zones;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Zone> getZones() {
return this.zones;
}
public void setZones(List<Zone> zones) {
this.zones = zones;
}
public static class Zone {
private String zoneId;
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
}
@Override
public ListZonesResponse getInstance(UnmarshallerContext context) {
return ListZonesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RebootInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class RebootInstancesRequest extends RpcAcsRequest<RebootInstancesResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
private Boolean force;
public RebootInstancesRequest() {
super("cloudphone", "2020-12-30", "RebootInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
public Boolean getForce() {
return this.force;
}
public void setForce(Boolean force) {
this.force = force;
if(force != null){
putQueryParameter("Force", force.toString());
}
}
@Override
public Class<RebootInstancesResponse> getResponseClass() {
return RebootInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RebootInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.RebootInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RebootInstancesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public RebootInstancesResponse getInstance(UnmarshallerContext context) {
return RebootInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RenewInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class RenewInstancesRequest extends RpcAcsRequest<RenewInstancesResponse> {
private Long resourceOwnerId;
private String clientToken;
private Integer period;
private Boolean autoPay;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String periodUnit;
private List<String> instanceIds;
public RenewInstancesRequest() {
super("cloudphone", "2020-12-30", "RenewInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
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 getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getPeriodUnit() {
return this.periodUnit;
}
public void setPeriodUnit(String periodUnit) {
this.periodUnit = periodUnit;
if(periodUnit != null){
putQueryParameter("PeriodUnit", periodUnit);
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<RenewInstancesResponse> getResponseClass() {
return RenewInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RenewInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.RenewInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RenewInstancesResponse extends AcsResponse {
private String orderId;
private String requestId;
private List<String> instanceIds;
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
}
@Override
public RenewInstancesResponse getInstance(UnmarshallerContext context) {
return RenewInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ResetInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ResetInstancesRequest extends RpcAcsRequest<ResetInstancesResponse> {
private Long resourceOwnerId;
private String imageId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
public ResetInstancesRequest() {
super("cloudphone", "2020-12-30", "ResetInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<ResetInstancesResponse> getResponseClass() {
return ResetInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/ResetInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.ResetInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ResetInstancesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public ResetInstancesResponse getInstance(UnmarshallerContext context) {
return ResetInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RunCommandRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class RunCommandRequest extends RpcAcsRequest<RunCommandResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String command;
private List<String> instanceIds;
public RunCommandRequest() {
super("cloudphone", "2020-12-30", "RunCommand");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getCommand() {
return this.command;
}
public void setCommand(String command) {
this.command = command;
if(command != null){
putQueryParameter("Command", command);
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<RunCommandResponse> getResponseClass() {
return RunCommandResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RunCommandResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.RunCommandResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RunCommandResponse extends AcsResponse {
private String requestId;
private List<String> taskId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getTaskId() {
return this.taskId;
}
public void setTaskId(List<String> taskId) {
this.taskId = taskId;
}
@Override
public RunCommandResponse getInstance(UnmarshallerContext context) {
return RunCommandResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RunInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class RunInstancesRequest extends RpcAcsRequest<RunInstancesResponse> {
private String keyPairName;
private String resolution;
private List<Tag> tags;
private Long period;
private Long ownerId;
private String vSwitchId;
private String privateIpAddress;
private String periodUnit;
private String instanceName;
private Boolean autoRenew;
private Integer eipBandwidth;
private String imageId;
private String clientToken;
private String securityGroupId;
private String description;
private String instanceType;
private Integer amount;
private Boolean autoPay;
private String resourceOwnerAccount;
private String ownerAccount;
private String chargeType;
public RunInstancesRequest() {
super("cloudphone", "2020-12-30", "RunInstances");
setMethod(MethodType.POST);
}
public String getKeyPairName() {
return this.keyPairName;
}
public void setKeyPairName(String keyPairName) {
this.keyPairName = keyPairName;
if(keyPairName != null){
putQueryParameter("KeyPairName", keyPairName);
}
}
public String getResolution() {
return this.resolution;
}
public void setResolution(String resolution) {
this.resolution = resolution;
if(resolution != null){
putQueryParameter("Resolution", resolution);
}
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
}
}
}
public Long getPeriod() {
return this.period;
}
public void setPeriod(Long period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period.toString());
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
if(vSwitchId != null){
putQueryParameter("VSwitchId", vSwitchId);
}
}
public String getPrivateIpAddress() {
return this.privateIpAddress;
}
public void setPrivateIpAddress(String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
if(privateIpAddress != null){
putQueryParameter("PrivateIpAddress", privateIpAddress);
}
}
public String getPeriodUnit() {
return this.periodUnit;
}
public void setPeriodUnit(String periodUnit) {
this.periodUnit = periodUnit;
if(periodUnit != null){
putQueryParameter("PeriodUnit", periodUnit);
}
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
if(instanceName != null){
putQueryParameter("InstanceName", instanceName);
}
}
public Boolean getAutoRenew() {
return this.autoRenew;
}
public void setAutoRenew(Boolean autoRenew) {
this.autoRenew = autoRenew;
if(autoRenew != null){
putQueryParameter("AutoRenew", autoRenew.toString());
}
}
public Integer getEipBandwidth() {
return this.eipBandwidth;
}
public void setEipBandwidth(Integer eipBandwidth) {
this.eipBandwidth = eipBandwidth;
if(eipBandwidth != null){
putQueryParameter("EipBandwidth", eipBandwidth.toString());
}
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("ImageId", imageId);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public void setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
if(securityGroupId != null){
putQueryParameter("SecurityGroupId", securityGroupId);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}
public Integer getAmount() {
return this.amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
if(amount != null){
putQueryParameter("Amount", amount.toString());
}
}
public Boolean getAutoPay() {
return this.autoPay;
}
public void setAutoPay(Boolean autoPay) {
this.autoPay = autoPay;
if(autoPay != null){
putQueryParameter("AutoPay", autoPay.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public String getChargeType() {
return this.chargeType;
}
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
if(chargeType != null){
putQueryParameter("ChargeType", chargeType);
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class<RunInstancesResponse> getResponseClass() {
return RunInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/RunInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.RunInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RunInstancesResponse extends AcsResponse {
private String requestId;
private String orderId;
private Float tradePrice;
private List<String> instanceIds;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public Float getTradePrice() {
return this.tradePrice;
}
public void setTradePrice(Float tradePrice) {
this.tradePrice = tradePrice;
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
}
@Override
public RunInstancesResponse getInstance(UnmarshallerContext context) {
return RunInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/SendFileRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SendFileRequest extends RpcAcsRequest<SendFileResponse> {
private Long resourceOwnerId;
private String ossObject;
private String path;
private String ossBucket;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
public SendFileRequest() {
super("cloudphone", "2020-12-30", "SendFile");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getOssObject() {
return this.ossObject;
}
public void setOssObject(String ossObject) {
this.ossObject = ossObject;
if(ossObject != null){
putQueryParameter("OssObject", ossObject);
}
}
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
if(path != null){
putQueryParameter("Path", path);
}
}
public String getOssBucket() {
return this.ossBucket;
}
public void setOssBucket(String ossBucket) {
this.ossBucket = ossBucket;
if(ossBucket != null){
putQueryParameter("OssBucket", ossBucket);
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<SendFileResponse> getResponseClass() {
return SendFileResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/SendFileResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.SendFileResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendFileResponse extends AcsResponse {
private String requestId;
private List<String> taskId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<String> getTaskId() {
return this.taskId;
}
public void setTaskId(List<String> taskId) {
this.taskId = taskId;
}
@Override
public SendFileResponse getInstance(UnmarshallerContext context) {
return SendFileResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/StartInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class StartInstancesRequest extends RpcAcsRequest<StartInstancesResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
public StartInstancesRequest() {
super("cloudphone", "2020-12-30", "StartInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
@Override
public Class<StartInstancesResponse> getResponseClass() {
return StartInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/StartInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.StartInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartInstancesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public StartInstancesResponse getInstance(UnmarshallerContext context) {
return StartInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/StopInstancesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class StopInstancesRequest extends RpcAcsRequest<StopInstancesResponse> {
private Long resourceOwnerId;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private List<String> instanceIds;
private Boolean force;
public StopInstancesRequest() {
super("cloudphone", "2020-12-30", "StopInstances");
setMethod(MethodType.POST);
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List<String> getInstanceIds() {
return this.instanceIds;
}
public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
if (instanceIds != null) {
for (int i = 0; i < instanceIds.size(); i++) {
putQueryParameter("InstanceId." + (i + 1) , instanceIds.get(i));
}
}
}
public Boolean getForce() {
return this.force;
}
public void setForce(Boolean force) {
this.force = force;
if(force != null){
putQueryParameter("Force", force.toString());
}
}
@Override
public Class<StopInstancesResponse> getResponseClass() {
return StopInstancesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/StopInstancesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.StopInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopInstancesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public StopInstancesResponse getInstance(UnmarshallerContext context) {
return StopInstancesResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/TagResourcesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class TagResourcesRequest extends RpcAcsRequest<TagResourcesResponse> {
private List<Tag> tags;
private List<String> resourceIds;
private String resourceOwnerAccount;
private String ownerAccount;
private Long ownerId;
private String resourceType;
public TagResourcesRequest() {
super("cloudphone", "2020-12-30", "TagResources");
setMethod(MethodType.POST);
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
}
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class<TagResourcesResponse> getResponseClass() {
return TagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudphone/1.0.6/com/aliyuncs/cloudphone/model/v20201230/TagResourcesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudphone.model.v20201230;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudphone.transform.v20201230.TagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class TagResourcesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public TagResourcesResponse getInstance(UnmarshallerContext context) {
return TagResourcesResponseUnmarshaller.unmarshall(this, context);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.