index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListHotParamRulesOfResourceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ListHotParamRulesOfResourceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListHotParamRulesOfResourceResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageIndex; private Integer totalPage; private Integer pageSize; private Integer totalCount; private List<DatasItem> datas; public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; } public Integer getTotalPage() { return this.totalPage; } public void setTotalPage(Integer totalPage) { this.totalPage = totalPage; } 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<DatasItem> getDatas() { return this.datas; } public void setDatas(List<DatasItem> datas) { this.datas = datas; } public static class DatasItem { private Integer paramIdx; private String namespace; private Long statDurationSec; private Integer burstCount; private Long ruleId; private String resource; private String appName; private Integer maxQueueingTimeMs; private Integer controlBehavior; private Integer metricType; private Float threshold; private Boolean enable; private List<ParamFlowItemListItem> paramFlowItemList; public Integer getParamIdx() { return this.paramIdx; } public void setParamIdx(Integer paramIdx) { this.paramIdx = paramIdx; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public Long getStatDurationSec() { return this.statDurationSec; } public void setStatDurationSec(Long statDurationSec) { this.statDurationSec = statDurationSec; } public Integer getBurstCount() { return this.burstCount; } public void setBurstCount(Integer burstCount) { this.burstCount = burstCount; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public Integer getMaxQueueingTimeMs() { return this.maxQueueingTimeMs; } public void setMaxQueueingTimeMs(Integer maxQueueingTimeMs) { this.maxQueueingTimeMs = maxQueueingTimeMs; } public Integer getControlBehavior() { return this.controlBehavior; } public void setControlBehavior(Integer controlBehavior) { this.controlBehavior = controlBehavior; } public Integer getMetricType() { return this.metricType; } public void setMetricType(Integer metricType) { this.metricType = metricType; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } public List<ParamFlowItemListItem> getParamFlowItemList() { return this.paramFlowItemList; } public void setParamFlowItemList(List<ParamFlowItemListItem> paramFlowItemList) { this.paramFlowItemList = paramFlowItemList; } public static class ParamFlowItemListItem { private String itemValue; private String itemType; private Float threshold; public String getItemValue() { return this.itemValue; } public void setItemValue(String itemValue) { this.itemValue = itemValue; } public String getItemType() { return this.itemType; } public void setItemType(String itemType) { this.itemType = itemType; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } } } } @Override public ListHotParamRulesOfResourceResponse getInstance(UnmarshallerContext context) { return ListHotParamRulesOfResourceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListIsolationRulesOfAppRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ListIsolationRulesOfAppRequest extends RpcAcsRequest<ListIsolationRulesOfAppResponse> { private String ahasRegionId; private String appName; private String namespace; private Integer pageSize; private Integer pageIndex; public ListIsolationRulesOfAppRequest() { super("ahas-openapi", "2019-09-01", "ListIsolationRulesOfApp", "ahas"); 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 getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; if(appName != null){ putQueryParameter("AppName", appName); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; if(pageIndex != null){ putQueryParameter("PageIndex", pageIndex.toString()); } } @Override public Class<ListIsolationRulesOfAppResponse> getResponseClass() { return ListIsolationRulesOfAppResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListIsolationRulesOfAppResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ListIsolationRulesOfAppResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListIsolationRulesOfAppResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageIndex; private Integer totalPage; private Integer pageSize; private Integer totalCount; private List<DatasItem> datas; public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; } public Integer getTotalPage() { return this.totalPage; } public void setTotalPage(Integer totalPage) { this.totalPage = totalPage; } 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<DatasItem> getDatas() { return this.datas; } public void setDatas(List<DatasItem> datas) { this.datas = datas; } public static class DatasItem { private Integer relationStrategy; private String resource; private String appName; private String refResource; private String namespace; private String limitOrigin; private Float threshold; private Long ruleId; private Boolean enable; public Integer getRelationStrategy() { return this.relationStrategy; } public void setRelationStrategy(Integer relationStrategy) { this.relationStrategy = relationStrategy; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public String getRefResource() { return this.refResource; } public void setRefResource(String refResource) { this.refResource = refResource; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getLimitOrigin() { return this.limitOrigin; } public void setLimitOrigin(String limitOrigin) { this.limitOrigin = limitOrigin; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } } } @Override public ListIsolationRulesOfAppResponse getInstance(UnmarshallerContext context) { return ListIsolationRulesOfAppResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListIsolationRulesOfResourceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ListIsolationRulesOfResourceRequest extends RpcAcsRequest<ListIsolationRulesOfResourceResponse> { private String resource; private String ahasRegionId; private String appName; private String namespace; private Integer pageSize; private Integer pageIndex; public ListIsolationRulesOfResourceRequest() { super("ahas-openapi", "2019-09-01", "ListIsolationRulesOfResource", "ahas"); 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 getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; if(resource != null){ putQueryParameter("Resource", resource); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; if(appName != null){ putQueryParameter("AppName", appName); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; if(pageIndex != null){ putQueryParameter("PageIndex", pageIndex.toString()); } } @Override public Class<ListIsolationRulesOfResourceResponse> getResponseClass() { return ListIsolationRulesOfResourceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListIsolationRulesOfResourceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ListIsolationRulesOfResourceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListIsolationRulesOfResourceResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageIndex; private Integer totalPage; private Integer pageSize; private Integer totalCount; private List<DatasItem> datas; public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; } public Integer getTotalPage() { return this.totalPage; } public void setTotalPage(Integer totalPage) { this.totalPage = totalPage; } 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<DatasItem> getDatas() { return this.datas; } public void setDatas(List<DatasItem> datas) { this.datas = datas; } public static class DatasItem { private Integer relationStrategy; private String resource; private String appName; private String refResource; private String namespace; private String limitOrigin; private Float threshold; private Long ruleId; private Boolean enable; public Integer getRelationStrategy() { return this.relationStrategy; } public void setRelationStrategy(Integer relationStrategy) { this.relationStrategy = relationStrategy; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public String getRefResource() { return this.refResource; } public void setRefResource(String refResource) { this.refResource = refResource; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getLimitOrigin() { return this.limitOrigin; } public void setLimitOrigin(String limitOrigin) { this.limitOrigin = limitOrigin; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } } } @Override public ListIsolationRulesOfResourceResponse getInstance(UnmarshallerContext context) { return ListIsolationRulesOfResourceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListSystemRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ListSystemRulesRequest extends RpcAcsRequest<ListSystemRulesResponse> { private String ahasRegionId; private String appName; private String namespace; private Integer pageSize; private Integer pageIndex; public ListSystemRulesRequest() { super("ahas-openapi", "2019-09-01", "ListSystemRules", "ahas"); 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 getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; if(appName != null){ putQueryParameter("AppName", appName); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; if(pageIndex != null){ putQueryParameter("PageIndex", pageIndex.toString()); } } @Override public Class<ListSystemRulesResponse> getResponseClass() { return ListSystemRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ListSystemRulesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ListSystemRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListSystemRulesResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageIndex; private Integer totalPage; private Integer pageSize; private Integer totalCount; private List<DatasItem> datas; public Integer getPageIndex() { return this.pageIndex; } public void setPageIndex(Integer pageIndex) { this.pageIndex = pageIndex; } public Integer getTotalPage() { return this.totalPage; } public void setTotalPage(Integer totalPage) { this.totalPage = totalPage; } 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<DatasItem> getDatas() { return this.datas; } public void setDatas(List<DatasItem> datas) { this.datas = datas; } public static class DatasItem { private String appName; private String namespace; private Integer metricType; private Float threshold; private Boolean enable; private Long ruleId; public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public Integer getMetricType() { return this.metricType; } public void setMetricType(Integer metricType) { this.metricType = metricType; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } } } @Override public ListSystemRulesResponse getInstance(UnmarshallerContext context) { return ListSystemRulesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyDegradeRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ModifyDegradeRuleRequest extends RpcAcsRequest<ModifyDegradeRuleResponse> { private Integer recoveryTimeoutMs; private Float threshold; private String ahasRegionId; private Integer halfOpenBaseAmountPerStep; private Integer statDurationMs; private Integer minRequestAmount; private Integer halfOpenRecoveryStepNum; private Integer strategy; private Long ruleId; private Integer slowRtMs; public ModifyDegradeRuleRequest() { super("ahas-openapi", "2019-09-01", "ModifyDegradeRule", "ahas"); 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 getRecoveryTimeoutMs() { return this.recoveryTimeoutMs; } public void setRecoveryTimeoutMs(Integer recoveryTimeoutMs) { this.recoveryTimeoutMs = recoveryTimeoutMs; if(recoveryTimeoutMs != null){ putQueryParameter("RecoveryTimeoutMs", recoveryTimeoutMs.toString()); } } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; if(threshold != null){ putQueryParameter("Threshold", threshold.toString()); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public Integer getHalfOpenBaseAmountPerStep() { return this.halfOpenBaseAmountPerStep; } public void setHalfOpenBaseAmountPerStep(Integer halfOpenBaseAmountPerStep) { this.halfOpenBaseAmountPerStep = halfOpenBaseAmountPerStep; if(halfOpenBaseAmountPerStep != null){ putQueryParameter("HalfOpenBaseAmountPerStep", halfOpenBaseAmountPerStep.toString()); } } public Integer getStatDurationMs() { return this.statDurationMs; } public void setStatDurationMs(Integer statDurationMs) { this.statDurationMs = statDurationMs; if(statDurationMs != null){ putQueryParameter("StatDurationMs", statDurationMs.toString()); } } public Integer getMinRequestAmount() { return this.minRequestAmount; } public void setMinRequestAmount(Integer minRequestAmount) { this.minRequestAmount = minRequestAmount; if(minRequestAmount != null){ putQueryParameter("MinRequestAmount", minRequestAmount.toString()); } } public Integer getHalfOpenRecoveryStepNum() { return this.halfOpenRecoveryStepNum; } public void setHalfOpenRecoveryStepNum(Integer halfOpenRecoveryStepNum) { this.halfOpenRecoveryStepNum = halfOpenRecoveryStepNum; if(halfOpenRecoveryStepNum != null){ putQueryParameter("HalfOpenRecoveryStepNum", halfOpenRecoveryStepNum.toString()); } } public Integer getStrategy() { return this.strategy; } public void setStrategy(Integer strategy) { this.strategy = strategy; if(strategy != null){ putQueryParameter("Strategy", strategy.toString()); } } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId.toString()); } } public Integer getSlowRtMs() { return this.slowRtMs; } public void setSlowRtMs(Integer slowRtMs) { this.slowRtMs = slowRtMs; if(slowRtMs != null){ putQueryParameter("SlowRtMs", slowRtMs.toString()); } } @Override public Class<ModifyDegradeRuleResponse> getResponseClass() { return ModifyDegradeRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyDegradeRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ModifyDegradeRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyDegradeRuleResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer slowRtMs; private Integer halfOpenRecoveryStepNum; private String namespace; private Integer statDurationMs; private Long ruleId; private Integer strategy; private String resource; private String appName; private Integer halfOpenBaseAmountPerStep; private Integer recoveryTimeoutMs; private Integer minRequestAmount; private Float threshold; private Boolean enable; public Integer getSlowRtMs() { return this.slowRtMs; } public void setSlowRtMs(Integer slowRtMs) { this.slowRtMs = slowRtMs; } public Integer getHalfOpenRecoveryStepNum() { return this.halfOpenRecoveryStepNum; } public void setHalfOpenRecoveryStepNum(Integer halfOpenRecoveryStepNum) { this.halfOpenRecoveryStepNum = halfOpenRecoveryStepNum; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public Integer getStatDurationMs() { return this.statDurationMs; } public void setStatDurationMs(Integer statDurationMs) { this.statDurationMs = statDurationMs; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public Integer getStrategy() { return this.strategy; } public void setStrategy(Integer strategy) { this.strategy = strategy; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public Integer getHalfOpenBaseAmountPerStep() { return this.halfOpenBaseAmountPerStep; } public void setHalfOpenBaseAmountPerStep(Integer halfOpenBaseAmountPerStep) { this.halfOpenBaseAmountPerStep = halfOpenBaseAmountPerStep; } public Integer getRecoveryTimeoutMs() { return this.recoveryTimeoutMs; } public void setRecoveryTimeoutMs(Integer recoveryTimeoutMs) { this.recoveryTimeoutMs = recoveryTimeoutMs; } public Integer getMinRequestAmount() { return this.minRequestAmount; } public void setMinRequestAmount(Integer minRequestAmount) { this.minRequestAmount = minRequestAmount; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } } @Override public ModifyDegradeRuleResponse getInstance(UnmarshallerContext context) { return ModifyDegradeRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyFlowRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ModifyFlowRuleRequest extends RpcAcsRequest<ModifyFlowRuleResponse> { private String refResource; private Integer warmUpPeriodSec; private String controlBehavior; private Integer thresholdMode; private Float threshold; private String ahasRegionId; private String limitOrigin; private String namespace; private Integer relationStrategy; private Integer maxQueueingTimeMs; private Long ruleId; public ModifyFlowRuleRequest() { super("ahas-openapi", "2019-09-01", "ModifyFlowRule", "ahas"); 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 getRefResource() { return this.refResource; } public void setRefResource(String refResource) { this.refResource = refResource; if(refResource != null){ putQueryParameter("RefResource", refResource); } } public Integer getWarmUpPeriodSec() { return this.warmUpPeriodSec; } public void setWarmUpPeriodSec(Integer warmUpPeriodSec) { this.warmUpPeriodSec = warmUpPeriodSec; if(warmUpPeriodSec != null){ putQueryParameter("WarmUpPeriodSec", warmUpPeriodSec.toString()); } } public String getControlBehavior() { return this.controlBehavior; } public void setControlBehavior(String controlBehavior) { this.controlBehavior = controlBehavior; if(controlBehavior != null){ putQueryParameter("ControlBehavior", controlBehavior); } } public Integer getThresholdMode() { return this.thresholdMode; } public void setThresholdMode(Integer thresholdMode) { this.thresholdMode = thresholdMode; if(thresholdMode != null){ putQueryParameter("ThresholdMode", thresholdMode.toString()); } } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; if(threshold != null){ putQueryParameter("Threshold", threshold.toString()); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public String getLimitOrigin() { return this.limitOrigin; } public void setLimitOrigin(String limitOrigin) { this.limitOrigin = limitOrigin; if(limitOrigin != null){ putQueryParameter("LimitOrigin", limitOrigin); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public Integer getRelationStrategy() { return this.relationStrategy; } public void setRelationStrategy(Integer relationStrategy) { this.relationStrategy = relationStrategy; if(relationStrategy != null){ putQueryParameter("RelationStrategy", relationStrategy.toString()); } } public Integer getMaxQueueingTimeMs() { return this.maxQueueingTimeMs; } public void setMaxQueueingTimeMs(Integer maxQueueingTimeMs) { this.maxQueueingTimeMs = maxQueueingTimeMs; if(maxQueueingTimeMs != null){ putQueryParameter("MaxQueueingTimeMs", maxQueueingTimeMs.toString()); } } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId.toString()); } } @Override public Class<ModifyFlowRuleResponse> getResponseClass() { return ModifyFlowRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyFlowRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ModifyFlowRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyFlowRuleResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String refResource; private Integer clusterFallbackThreshold; private String namespace; private String limitOrigin; private Integer statDurationMs; private Integer clusterThresholdType; private Long ruleId; private Integer relationStrategy; private String appName; private String resource; private Integer maxQueueingTimeMs; private Float clusterEstimatedMaxQps; private Integer controlBehavior; private Integer warmUpPeriodSec; private Integer clusterFallbackStrategy; private Float threshold; private Integer thresholdMode; private Boolean clusterMode; private Boolean enable; public String getRefResource() { return this.refResource; } public void setRefResource(String refResource) { this.refResource = refResource; } public Integer getClusterFallbackThreshold() { return this.clusterFallbackThreshold; } public void setClusterFallbackThreshold(Integer clusterFallbackThreshold) { this.clusterFallbackThreshold = clusterFallbackThreshold; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getLimitOrigin() { return this.limitOrigin; } public void setLimitOrigin(String limitOrigin) { this.limitOrigin = limitOrigin; } public Integer getStatDurationMs() { return this.statDurationMs; } public void setStatDurationMs(Integer statDurationMs) { this.statDurationMs = statDurationMs; } public Integer getClusterThresholdType() { return this.clusterThresholdType; } public void setClusterThresholdType(Integer clusterThresholdType) { this.clusterThresholdType = clusterThresholdType; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public Integer getRelationStrategy() { return this.relationStrategy; } public void setRelationStrategy(Integer relationStrategy) { this.relationStrategy = relationStrategy; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public Integer getMaxQueueingTimeMs() { return this.maxQueueingTimeMs; } public void setMaxQueueingTimeMs(Integer maxQueueingTimeMs) { this.maxQueueingTimeMs = maxQueueingTimeMs; } public Float getClusterEstimatedMaxQps() { return this.clusterEstimatedMaxQps; } public void setClusterEstimatedMaxQps(Float clusterEstimatedMaxQps) { this.clusterEstimatedMaxQps = clusterEstimatedMaxQps; } public Integer getControlBehavior() { return this.controlBehavior; } public void setControlBehavior(Integer controlBehavior) { this.controlBehavior = controlBehavior; } public Integer getWarmUpPeriodSec() { return this.warmUpPeriodSec; } public void setWarmUpPeriodSec(Integer warmUpPeriodSec) { this.warmUpPeriodSec = warmUpPeriodSec; } public Integer getClusterFallbackStrategy() { return this.clusterFallbackStrategy; } public void setClusterFallbackStrategy(Integer clusterFallbackStrategy) { this.clusterFallbackStrategy = clusterFallbackStrategy; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Integer getThresholdMode() { return this.thresholdMode; } public void setThresholdMode(Integer thresholdMode) { this.thresholdMode = thresholdMode; } public Boolean getClusterMode() { return this.clusterMode; } public void setClusterMode(Boolean clusterMode) { this.clusterMode = clusterMode; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } } @Override public ModifyFlowRuleResponse getInstance(UnmarshallerContext context) { return ModifyFlowRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyHotParamRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ModifyHotParamRuleRequest extends RpcAcsRequest<ModifyHotParamRuleResponse> { private Integer metricType; private Integer paramIdx; private Integer controlBehavior; private Float threshold; private String ahasRegionId; private Boolean enable; private Integer maxQueueingTimeMs; private Long ruleId; private Long statDurationSec; private Integer burstCount; public ModifyHotParamRuleRequest() { super("ahas-openapi", "2019-09-01", "ModifyHotParamRule", "ahas"); 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 getMetricType() { return this.metricType; } public void setMetricType(Integer metricType) { this.metricType = metricType; if(metricType != null){ putQueryParameter("MetricType", metricType.toString()); } } public Integer getParamIdx() { return this.paramIdx; } public void setParamIdx(Integer paramIdx) { this.paramIdx = paramIdx; if(paramIdx != null){ putQueryParameter("ParamIdx", paramIdx.toString()); } } public Integer getControlBehavior() { return this.controlBehavior; } public void setControlBehavior(Integer controlBehavior) { this.controlBehavior = controlBehavior; if(controlBehavior != null){ putQueryParameter("ControlBehavior", controlBehavior.toString()); } } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; if(threshold != null){ putQueryParameter("Threshold", threshold.toString()); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; if(enable != null){ putQueryParameter("Enable", enable.toString()); } } public Integer getMaxQueueingTimeMs() { return this.maxQueueingTimeMs; } public void setMaxQueueingTimeMs(Integer maxQueueingTimeMs) { this.maxQueueingTimeMs = maxQueueingTimeMs; if(maxQueueingTimeMs != null){ putQueryParameter("MaxQueueingTimeMs", maxQueueingTimeMs.toString()); } } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId.toString()); } } public Long getStatDurationSec() { return this.statDurationSec; } public void setStatDurationSec(Long statDurationSec) { this.statDurationSec = statDurationSec; if(statDurationSec != null){ putQueryParameter("StatDurationSec", statDurationSec.toString()); } } public Integer getBurstCount() { return this.burstCount; } public void setBurstCount(Integer burstCount) { this.burstCount = burstCount; if(burstCount != null){ putQueryParameter("BurstCount", burstCount.toString()); } } @Override public Class<ModifyHotParamRuleResponse> getResponseClass() { return ModifyHotParamRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyHotParamRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ModifyHotParamRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyHotParamRuleResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer paramIdx; private String namespace; private Long statDurationSec; private Integer burstCount; private Long ruleId; private String resource; private String appName; private Integer maxQueueingTimeMs; private Integer controlBehavior; private Integer metricType; private Float threshold; private Boolean enable; private List<ParamFlowItemListItem> paramFlowItemList; public Integer getParamIdx() { return this.paramIdx; } public void setParamIdx(Integer paramIdx) { this.paramIdx = paramIdx; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public Long getStatDurationSec() { return this.statDurationSec; } public void setStatDurationSec(Long statDurationSec) { this.statDurationSec = statDurationSec; } public Integer getBurstCount() { return this.burstCount; } public void setBurstCount(Integer burstCount) { this.burstCount = burstCount; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public Integer getMaxQueueingTimeMs() { return this.maxQueueingTimeMs; } public void setMaxQueueingTimeMs(Integer maxQueueingTimeMs) { this.maxQueueingTimeMs = maxQueueingTimeMs; } public Integer getControlBehavior() { return this.controlBehavior; } public void setControlBehavior(Integer controlBehavior) { this.controlBehavior = controlBehavior; } public Integer getMetricType() { return this.metricType; } public void setMetricType(Integer metricType) { this.metricType = metricType; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } public List<ParamFlowItemListItem> getParamFlowItemList() { return this.paramFlowItemList; } public void setParamFlowItemList(List<ParamFlowItemListItem> paramFlowItemList) { this.paramFlowItemList = paramFlowItemList; } public static class ParamFlowItemListItem { private String itemValue; private String itemType; private Float threshold; public String getItemValue() { return this.itemValue; } public void setItemValue(String itemValue) { this.itemValue = itemValue; } public String getItemType() { return this.itemType; } public void setItemType(String itemType) { this.itemType = itemType; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } } } @Override public ModifyHotParamRuleResponse getInstance(UnmarshallerContext context) { return ModifyHotParamRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyIsolationRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ModifyIsolationRuleRequest extends RpcAcsRequest<ModifyIsolationRuleResponse> { private String refResource; private Float threshold; private String ahasRegionId; private String limitOrigin; private Integer relationStrategy; private Long ruleId; public ModifyIsolationRuleRequest() { super("ahas-openapi", "2019-09-01", "ModifyIsolationRule", "ahas"); 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 getRefResource() { return this.refResource; } public void setRefResource(String refResource) { this.refResource = refResource; if(refResource != null){ putQueryParameter("RefResource", refResource); } } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; if(threshold != null){ putQueryParameter("Threshold", threshold.toString()); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public String getLimitOrigin() { return this.limitOrigin; } public void setLimitOrigin(String limitOrigin) { this.limitOrigin = limitOrigin; if(limitOrigin != null){ putQueryParameter("LimitOrigin", limitOrigin); } } public Integer getRelationStrategy() { return this.relationStrategy; } public void setRelationStrategy(Integer relationStrategy) { this.relationStrategy = relationStrategy; if(relationStrategy != null){ putQueryParameter("RelationStrategy", relationStrategy.toString()); } } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId.toString()); } } @Override public Class<ModifyIsolationRuleResponse> getResponseClass() { return ModifyIsolationRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifyIsolationRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ModifyIsolationRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyIsolationRuleResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer relationStrategy; private String resource; private String appName; private String refResource; private String namespace; private String limitOrigin; private Float threshold; private Long ruleId; private Boolean enable; public Integer getRelationStrategy() { return this.relationStrategy; } public void setRelationStrategy(Integer relationStrategy) { this.relationStrategy = relationStrategy; } public String getResource() { return this.resource; } public void setResource(String resource) { this.resource = resource; } public String getAppName() { return this.appName; } public void setAppName(String appName) { this.appName = appName; } public String getRefResource() { return this.refResource; } public void setRefResource(String refResource) { this.refResource = refResource; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getLimitOrigin() { return this.limitOrigin; } public void setLimitOrigin(String limitOrigin) { this.limitOrigin = limitOrigin; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } } @Override public ModifyIsolationRuleResponse getInstance(UnmarshallerContext context) { return ModifyIsolationRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifySystemRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class ModifySystemRuleRequest extends RpcAcsRequest<ModifySystemRuleResponse> { private Float threshold; private String ahasRegionId; private Long ruleId; public ModifySystemRuleRequest() { super("ahas-openapi", "2019-09-01", "ModifySystemRule", "ahas"); 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 Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; if(threshold != null){ putQueryParameter("Threshold", threshold.toString()); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId.toString()); } } @Override public Class<ModifySystemRuleResponse> getResponseClass() { return ModifySystemRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/ModifySystemRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.ModifySystemRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifySystemRuleResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer metricType; private Float threshold; private Long ruleId; private Boolean enable; public Integer getMetricType() { return this.metricType; } public void setMetricType(Integer metricType) { this.metricType = metricType; } public Float getThreshold() { return this.threshold; } public void setThreshold(Float threshold) { this.threshold = threshold; } public Long getRuleId() { return this.ruleId; } public void setRuleId(Long ruleId) { this.ruleId = ruleId; } public Boolean getEnable() { return this.enable; } public void setEnable(Boolean enable) { this.enable = enable; } } @Override public ModifySystemRuleResponse getInstance(UnmarshallerContext context) { return ModifySystemRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/OpenAhasServiceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class OpenAhasServiceRequest extends RpcAcsRequest<OpenAhasServiceResponse> { private Long ownerId; public OpenAhasServiceRequest() { super("ahas-openapi", "2019-09-01", "OpenAhasService", "ahas"); 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 Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<OpenAhasServiceResponse> getResponseClass() { return OpenAhasServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/OpenAhasServiceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.OpenAhasServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OpenAhasServiceResponse extends AcsResponse { private String requestId; private String orderId; 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; } @Override public OpenAhasServiceResponse getInstance(UnmarshallerContext context) { return OpenAhasServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PageableQueryExperimentTaskByClusterIdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class PageableQueryExperimentTaskByClusterIdRequest extends RpcAcsRequest<PageableQueryExperimentTaskByClusterIdResponse> { private String clusterId; private String ahasRegionId; private Boolean includeInvalidHost; private Integer size; private String namespace; private Integer page; public PageableQueryExperimentTaskByClusterIdRequest() { super("ahas-openapi", "2019-09-01", "PageableQueryExperimentTaskByClusterId", "ahas"); 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 getClusterId() { return this.clusterId; } public void setClusterId(String clusterId) { this.clusterId = clusterId; if(clusterId != null){ putQueryParameter("ClusterId", clusterId); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public Boolean getIncludeInvalidHost() { return this.includeInvalidHost; } public void setIncludeInvalidHost(Boolean includeInvalidHost) { this.includeInvalidHost = includeInvalidHost; if(includeInvalidHost != null){ putQueryParameter("IncludeInvalidHost", includeInvalidHost.toString()); } } public Integer getSize() { return this.size; } public void setSize(Integer size) { this.size = size; if(size != null){ putQueryParameter("Size", size.toString()); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public Integer getPage() { return this.page; } public void setPage(Integer page) { this.page = page; if(page != null){ putQueryParameter("Page", page.toString()); } } @Override public Class<PageableQueryExperimentTaskByClusterIdResponse> getResponseClass() { return PageableQueryExperimentTaskByClusterIdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PageableQueryExperimentTaskByClusterIdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.PageableQueryExperimentTaskByClusterIdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PageableQueryExperimentTaskByClusterIdResponse extends AcsResponse { private Integer pages; private String requestId; private String message; private Integer pageSize; private Integer currentPage; private Integer total; private Integer httpStatusCode; private String code; private Boolean success; private List<ExperimentTaskInfo> experimentTasks; public Integer getPages() { return this.pages; } public void setPages(Integer pages) { this.pages = pages; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getCurrentPage() { return this.currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; } public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public List<ExperimentTaskInfo> getExperimentTasks() { return this.experimentTasks; } public void setExperimentTasks(List<ExperimentTaskInfo> experimentTasks) { this.experimentTasks = experimentTasks; } public static class ExperimentTaskInfo { private Long endTime; private Long startTime; private String result; private String state; private String currentPhase; private String experimentId; private String message; private String taskId; private String experimentName; private String namespace; private ExtInfo extInfo; private Creator creator; public Long getEndTime() { return this.endTime; } public void setEndTime(Long endTime) { this.endTime = endTime; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public String getResult() { return this.result; } public void setResult(String result) { this.result = result; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getCurrentPhase() { return this.currentPhase; } public void setCurrentPhase(String currentPhase) { this.currentPhase = currentPhase; } public String getExperimentId() { return this.experimentId; } public void setExperimentId(String experimentId) { this.experimentId = experimentId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } public String getExperimentName() { return this.experimentName; } public void setExperimentName(String experimentName) { this.experimentName = experimentName; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public ExtInfo getExtInfo() { return this.extInfo; } public void setExtInfo(ExtInfo extInfo) { this.extInfo = extInfo; } public Creator getCreator() { return this.creator; } public void setCreator(Creator creator) { this.creator = creator; } public static class ExtInfo { private SchedulerConfig schedulerConfig; public SchedulerConfig getSchedulerConfig() { return this.schedulerConfig; } public void setSchedulerConfig(SchedulerConfig schedulerConfig) { this.schedulerConfig = schedulerConfig; } public static class SchedulerConfig { private String fixedTime; private String cronExpression; public String getFixedTime() { return this.fixedTime; } public void setFixedTime(String fixedTime) { this.fixedTime = fixedTime; } public String getCronExpression() { return this.cronExpression; } public void setCronExpression(String cronExpression) { this.cronExpression = cronExpression; } } } public static class Creator { private String subUserId; private String userId; public String getSubUserId() { return this.subUserId; } public void setSubUserId(String subUserId) { this.subUserId = subUserId; } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; } } } @Override public PageableQueryExperimentTaskByClusterIdResponse getInstance(UnmarshallerContext context) { return PageableQueryExperimentTaskByClusterIdResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PageableQueryExperimentTaskByExperimentIdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class PageableQueryExperimentTaskByExperimentIdRequest extends RpcAcsRequest<PageableQueryExperimentTaskByExperimentIdResponse> { private String ahasRegionId; private Integer size; private String namespace; private String experimentId; private Integer page; public PageableQueryExperimentTaskByExperimentIdRequest() { super("ahas-openapi", "2019-09-01", "PageableQueryExperimentTaskByExperimentId", "ahas"); 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 getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public Integer getSize() { return this.size; } public void setSize(Integer size) { this.size = size; if(size != null){ putQueryParameter("Size", size.toString()); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public String getExperimentId() { return this.experimentId; } public void setExperimentId(String experimentId) { this.experimentId = experimentId; if(experimentId != null){ putQueryParameter("ExperimentId", experimentId); } } public Integer getPage() { return this.page; } public void setPage(Integer page) { this.page = page; if(page != null){ putQueryParameter("Page", page.toString()); } } @Override public Class<PageableQueryExperimentTaskByExperimentIdResponse> getResponseClass() { return PageableQueryExperimentTaskByExperimentIdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PageableQueryExperimentTaskByExperimentIdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.PageableQueryExperimentTaskByExperimentIdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PageableQueryExperimentTaskByExperimentIdResponse extends AcsResponse { private Integer pages; private String requestId; private String message; private Integer pageSize; private Integer currentPage; private Integer total; private Integer httpStatusCode; private String code; private Boolean success; private List<ExperimentTaskInfo> experimentTasks; public Integer getPages() { return this.pages; } public void setPages(Integer pages) { this.pages = pages; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getCurrentPage() { return this.currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; } public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public List<ExperimentTaskInfo> getExperimentTasks() { return this.experimentTasks; } public void setExperimentTasks(List<ExperimentTaskInfo> experimentTasks) { this.experimentTasks = experimentTasks; } public static class ExperimentTaskInfo { private Long endTime; private Long startTime; private String result; private String state; private String currentPhase; private String experimentId; private String message; private String taskId; private String experimentName; private String namespace; private ExtInfo extInfo; private Creator creator; public Long getEndTime() { return this.endTime; } public void setEndTime(Long endTime) { this.endTime = endTime; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public String getResult() { return this.result; } public void setResult(String result) { this.result = result; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public String getCurrentPhase() { return this.currentPhase; } public void setCurrentPhase(String currentPhase) { this.currentPhase = currentPhase; } public String getExperimentId() { return this.experimentId; } public void setExperimentId(String experimentId) { this.experimentId = experimentId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } public String getExperimentName() { return this.experimentName; } public void setExperimentName(String experimentName) { this.experimentName = experimentName; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public ExtInfo getExtInfo() { return this.extInfo; } public void setExtInfo(ExtInfo extInfo) { this.extInfo = extInfo; } public Creator getCreator() { return this.creator; } public void setCreator(Creator creator) { this.creator = creator; } public static class ExtInfo { private SchedulerConfig schedulerConfig; public SchedulerConfig getSchedulerConfig() { return this.schedulerConfig; } public void setSchedulerConfig(SchedulerConfig schedulerConfig) { this.schedulerConfig = schedulerConfig; } public static class SchedulerConfig { private String fixedTime; private String cronExpression; public String getFixedTime() { return this.fixedTime; } public void setFixedTime(String fixedTime) { this.fixedTime = fixedTime; } public String getCronExpression() { return this.cronExpression; } public void setCronExpression(String cronExpression) { this.cronExpression = cronExpression; } } } public static class Creator { private String subUserId; private String userId; public String getSubUserId() { return this.subUserId; } public void setSubUserId(String subUserId) { this.subUserId = subUserId; } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; } } } @Override public PageableQueryExperimentTaskByExperimentIdResponse getInstance(UnmarshallerContext context) { return PageableQueryExperimentTaskByExperimentIdResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PageableQueryUserExperimentRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class PageableQueryUserExperimentRequest extends RpcAcsRequest<PageableQueryUserExperimentResponse> { private String searchKey; private String ahasRegionId; private List<String> tagss; private Integer size; private String namespace; private String state; private Integer page; private List<String> resultss; private String workspaceId; public PageableQueryUserExperimentRequest() { super("ahas-openapi", "2019-09-01", "PageableQueryUserExperiment", "ahas"); 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 getSearchKey() { return this.searchKey; } public void setSearchKey(String searchKey) { this.searchKey = searchKey; if(searchKey != null){ putQueryParameter("SearchKey", searchKey); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public List<String> getTagss() { return this.tagss; } public void setTagss(List<String> tagss) { this.tagss = tagss; if (tagss != null) { for (int i = 0; i < tagss.size(); i++) { putQueryParameter("Tags." + (i + 1) , tagss.get(i)); } } } public Integer getSize() { return this.size; } public void setSize(Integer size) { this.size = size; if(size != null){ putQueryParameter("Size", size.toString()); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public String getState() { return this.state; } public void setState(String state) { this.state = state; if(state != null){ putQueryParameter("State", state); } } public Integer getPage() { return this.page; } public void setPage(Integer page) { this.page = page; if(page != null){ putQueryParameter("Page", page.toString()); } } public List<String> getResultss() { return this.resultss; } public void setResultss(List<String> resultss) { this.resultss = resultss; if (resultss != null) { for (int i = 0; i < resultss.size(); i++) { putQueryParameter("Results." + (i + 1) , resultss.get(i)); } } } public String getWorkspaceId() { return this.workspaceId; } public void setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; if(workspaceId != null){ putQueryParameter("WorkspaceId", workspaceId); } } @Override public Class<PageableQueryUserExperimentResponse> getResponseClass() { return PageableQueryUserExperimentResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PageableQueryUserExperimentResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.PageableQueryUserExperimentResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PageableQueryUserExperimentResponse extends AcsResponse { private Integer pages; private String requestId; private String message; private Integer pageSize; private Integer currentPage; private Integer total; private Integer httpStatusCode; private String code; private Boolean success; private List<ExperimentInfo> experimentList; public Integer getPages() { return this.pages; } public void setPages(Integer pages) { this.pages = pages; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getCurrentPage() { return this.currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; } public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public List<ExperimentInfo> getExperimentList() { return this.experimentList; } public void setExperimentList(List<ExperimentInfo> experimentList) { this.experimentList = experimentList; } public static class ExperimentInfo { private Integer permission; private String result; private String state; private Long createTime; private String experimentId; private String name; private String creator; private List<String> tags; private List<String> miniApps; public Integer getPermission() { return this.permission; } public void setPermission(Integer permission) { this.permission = permission; } public String getResult() { return this.result; } public void setResult(String result) { this.result = result; } public String getState() { return this.state; } public void setState(String state) { this.state = state; } public Long getCreateTime() { return this.createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; } public String getExperimentId() { return this.experimentId; } public void setExperimentId(String experimentId) { this.experimentId = experimentId; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public List<String> getTags() { return this.tags; } public void setTags(List<String> tags) { this.tags = tags; } public List<String> getMiniApps() { return this.miniApps; } public void setMiniApps(List<String> miniApps) { this.miniApps = miniApps; } } @Override public PageableQueryUserExperimentResponse getInstance(UnmarshallerContext context) { return PageableQueryUserExperimentResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PushExperimentTaskRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class PushExperimentTaskRequest extends RpcAcsRequest<PushExperimentTaskResponse> { private String ahasRegionId; private String nameSpace; private String experimentTaskId; public PushExperimentTaskRequest() { super("ahas-openapi", "2019-09-01", "PushExperimentTask", "ahas"); 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 getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public String getNameSpace() { return this.nameSpace; } public void setNameSpace(String nameSpace) { this.nameSpace = nameSpace; if(nameSpace != null){ putQueryParameter("NameSpace", nameSpace); } } public String getExperimentTaskId() { return this.experimentTaskId; } public void setExperimentTaskId(String experimentTaskId) { this.experimentTaskId = experimentTaskId; if(experimentTaskId != null){ putQueryParameter("ExperimentTaskId", experimentTaskId); } } @Override public Class<PushExperimentTaskResponse> getResponseClass() { return PushExperimentTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/PushExperimentTaskResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.PushExperimentTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PushExperimentTaskResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public PushExperimentTaskResponse getInstance(UnmarshallerContext context) { return PushExperimentTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/UpdateExperimentBasicInfoRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class UpdateExperimentBasicInfoRequest extends RpcAcsRequest<UpdateExperimentBasicInfoResponse> { private String description; private String ahasRegionId; private List<String> tagss; private String nameSpace; private String name; private String experimentId; private List<String> workspacess; public UpdateExperimentBasicInfoRequest() { super("ahas-openapi", "2019-09-01", "UpdateExperimentBasicInfo", "ahas"); 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 getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putQueryParameter("Description", description); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public List<String> getTagss() { return this.tagss; } public void setTagss(List<String> tagss) { this.tagss = tagss; if (tagss != null) { for (int i = 0; i < tagss.size(); i++) { putQueryParameter("Tags." + (i + 1) , tagss.get(i)); } } } public String getNameSpace() { return this.nameSpace; } public void setNameSpace(String nameSpace) { this.nameSpace = nameSpace; if(nameSpace != null){ putQueryParameter("NameSpace", nameSpace); } } public String getName() { return this.name; } public void setName(String name) { this.name = name; if(name != null){ putQueryParameter("Name", name); } } public String getExperimentId() { return this.experimentId; } public void setExperimentId(String experimentId) { this.experimentId = experimentId; if(experimentId != null){ putQueryParameter("ExperimentId", experimentId); } } public List<String> getWorkspacess() { return this.workspacess; } public void setWorkspacess(List<String> workspacess) { this.workspacess = workspacess; if (workspacess != null) { for (int i = 0; i < workspacess.size(); i++) { putQueryParameter("Workspaces." + (i + 1) , workspacess.get(i)); } } } @Override public Class<UpdateExperimentBasicInfoResponse> getResponseClass() { return UpdateExperimentBasicInfoResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/UpdateExperimentBasicInfoResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.UpdateExperimentBasicInfoResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateExperimentBasicInfoResponse extends AcsResponse { private String message; private String requestId; private Integer httpStatusCode; private String code; private Boolean success; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public UpdateExperimentBasicInfoResponse getInstance(UnmarshallerContext context) { return UpdateExperimentBasicInfoResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/UpdateExperimentRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.ahas_openapi.Endpoint; /** * @author auto create * @version */ public class UpdateExperimentRequest extends RpcAcsRequest<UpdateExperimentResponse> { private String description; private String ahasRegionId; private List<String> tagss; private String name; private String nameSpace; private String definition; private String experimentId; public UpdateExperimentRequest() { super("ahas-openapi", "2019-09-01", "UpdateExperiment", "ahas"); 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 getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putQueryParameter("Description", description); } } public String getAhasRegionId() { return this.ahasRegionId; } public void setAhasRegionId(String ahasRegionId) { this.ahasRegionId = ahasRegionId; if(ahasRegionId != null){ putQueryParameter("AhasRegionId", ahasRegionId); } } public List<String> getTagss() { return this.tagss; } public void setTagss(List<String> tagss) { this.tagss = tagss; if (tagss != null) { for (int i = 0; i < tagss.size(); i++) { putQueryParameter("Tags." + (i + 1) , tagss.get(i)); } } } public String getName() { return this.name; } public void setName(String name) { this.name = name; if(name != null){ putQueryParameter("Name", name); } } public String getNameSpace() { return this.nameSpace; } public void setNameSpace(String nameSpace) { this.nameSpace = nameSpace; if(nameSpace != null){ putQueryParameter("NameSpace", nameSpace); } } public String getDefinition() { return this.definition; } public void setDefinition(String definition) { this.definition = definition; if(definition != null){ putQueryParameter("Definition", definition); } } public String getExperimentId() { return this.experimentId; } public void setExperimentId(String experimentId) { this.experimentId = experimentId; if(experimentId != null){ putQueryParameter("ExperimentId", experimentId); } } @Override public Class<UpdateExperimentResponse> getResponseClass() { return UpdateExperimentResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/model/v20190901/UpdateExperimentResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.model.v20190901; import com.aliyuncs.AcsResponse; import com.aliyuncs.ahas_openapi.transform.v20190901.UpdateExperimentResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateExperimentResponse extends AcsResponse { private String message; private String requestId; private Integer httpStatusCode; private String code; private Boolean success; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public void setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public UpdateExperimentResponse getInstance(UnmarshallerContext context) { return UpdateExperimentResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CheckExperimentRunnableResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.CheckExperimentRunnableResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CheckExperimentRunnableResponseUnmarshaller { public static CheckExperimentRunnableResponse unmarshall(CheckExperimentRunnableResponse checkExperimentRunnableResponse, UnmarshallerContext _ctx) { checkExperimentRunnableResponse.setRequestId(_ctx.stringValue("CheckExperimentRunnableResponse.RequestId")); checkExperimentRunnableResponse.setMessage(_ctx.stringValue("CheckExperimentRunnableResponse.Message")); checkExperimentRunnableResponse.setCode(_ctx.stringValue("CheckExperimentRunnableResponse.Code")); checkExperimentRunnableResponse.setSuccess(_ctx.booleanValue("CheckExperimentRunnableResponse.Success")); return checkExperimentRunnableResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateDegradeRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.CreateDegradeRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.CreateDegradeRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateDegradeRuleResponseUnmarshaller { public static CreateDegradeRuleResponse unmarshall(CreateDegradeRuleResponse createDegradeRuleResponse, UnmarshallerContext _ctx) { createDegradeRuleResponse.setRequestId(_ctx.stringValue("CreateDegradeRuleResponse.RequestId")); createDegradeRuleResponse.setMessage(_ctx.stringValue("CreateDegradeRuleResponse.Message")); createDegradeRuleResponse.setCode(_ctx.stringValue("CreateDegradeRuleResponse.Code")); createDegradeRuleResponse.setSuccess(_ctx.booleanValue("CreateDegradeRuleResponse.Success")); Data data = new Data(); data.setSlowRtMs(_ctx.integerValue("CreateDegradeRuleResponse.Data.SlowRtMs")); data.setHalfOpenRecoveryStepNum(_ctx.integerValue("CreateDegradeRuleResponse.Data.HalfOpenRecoveryStepNum")); data.setNamespace(_ctx.stringValue("CreateDegradeRuleResponse.Data.Namespace")); data.setStatDurationMs(_ctx.integerValue("CreateDegradeRuleResponse.Data.StatDurationMs")); data.setRuleId(_ctx.longValue("CreateDegradeRuleResponse.Data.RuleId")); data.setStrategy(_ctx.integerValue("CreateDegradeRuleResponse.Data.Strategy")); data.setResource(_ctx.stringValue("CreateDegradeRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("CreateDegradeRuleResponse.Data.AppName")); data.setHalfOpenBaseAmountPerStep(_ctx.integerValue("CreateDegradeRuleResponse.Data.HalfOpenBaseAmountPerStep")); data.setRecoveryTimeoutMs(_ctx.integerValue("CreateDegradeRuleResponse.Data.RecoveryTimeoutMs")); data.setMinRequestAmount(_ctx.integerValue("CreateDegradeRuleResponse.Data.MinRequestAmount")); data.setThreshold(_ctx.floatValue("CreateDegradeRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("CreateDegradeRuleResponse.Data.Enable")); createDegradeRuleResponse.setData(data); return createDegradeRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateExperimentResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.CreateExperimentResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateExperimentResponseUnmarshaller { public static CreateExperimentResponse unmarshall(CreateExperimentResponse createExperimentResponse, UnmarshallerContext _ctx) { createExperimentResponse.setRequestId(_ctx.stringValue("CreateExperimentResponse.RequestId")); createExperimentResponse.setMessage(_ctx.stringValue("CreateExperimentResponse.Message")); createExperimentResponse.setExperimentId(_ctx.stringValue("CreateExperimentResponse.ExperimentId")); createExperimentResponse.setHttpStatusCode(_ctx.integerValue("CreateExperimentResponse.HttpStatusCode")); createExperimentResponse.setCode(_ctx.stringValue("CreateExperimentResponse.Code")); createExperimentResponse.setSuccess(_ctx.booleanValue("CreateExperimentResponse.Success")); return createExperimentResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateFlowRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.CreateFlowRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.CreateFlowRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateFlowRuleResponseUnmarshaller { public static CreateFlowRuleResponse unmarshall(CreateFlowRuleResponse createFlowRuleResponse, UnmarshallerContext _ctx) { createFlowRuleResponse.setRequestId(_ctx.stringValue("CreateFlowRuleResponse.RequestId")); createFlowRuleResponse.setMessage(_ctx.stringValue("CreateFlowRuleResponse.Message")); createFlowRuleResponse.setCode(_ctx.stringValue("CreateFlowRuleResponse.Code")); createFlowRuleResponse.setSuccess(_ctx.booleanValue("CreateFlowRuleResponse.Success")); Data data = new Data(); data.setRefResource(_ctx.stringValue("CreateFlowRuleResponse.Data.RefResource")); data.setClusterFallbackThreshold(_ctx.integerValue("CreateFlowRuleResponse.Data.ClusterFallbackThreshold")); data.setNamespace(_ctx.stringValue("CreateFlowRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("CreateFlowRuleResponse.Data.LimitOrigin")); data.setStatDurationMs(_ctx.integerValue("CreateFlowRuleResponse.Data.StatDurationMs")); data.setClusterThresholdType(_ctx.integerValue("CreateFlowRuleResponse.Data.ClusterThresholdType")); data.setRuleId(_ctx.longValue("CreateFlowRuleResponse.Data.RuleId")); data.setRelationStrategy(_ctx.integerValue("CreateFlowRuleResponse.Data.RelationStrategy")); data.setAppName(_ctx.stringValue("CreateFlowRuleResponse.Data.AppName")); data.setResource(_ctx.stringValue("CreateFlowRuleResponse.Data.Resource")); data.setClusterEstimatedMaxQps(_ctx.floatValue("CreateFlowRuleResponse.Data.ClusterEstimatedMaxQps")); data.setControlBehavior(_ctx.integerValue("CreateFlowRuleResponse.Data.ControlBehavior")); data.setMaxQueueingTimeMs(_ctx.integerValue("CreateFlowRuleResponse.Data.MaxQueueingTimeMs")); data.setClusterFallbackStrategy(_ctx.integerValue("CreateFlowRuleResponse.Data.ClusterFallbackStrategy")); data.setWarmUpPeriodSec(_ctx.integerValue("CreateFlowRuleResponse.Data.WarmUpPeriodSec")); data.setClusterMode(_ctx.booleanValue("CreateFlowRuleResponse.Data.ClusterMode")); data.setThresholdMode(_ctx.integerValue("CreateFlowRuleResponse.Data.ThresholdMode")); data.setThreshold(_ctx.floatValue("CreateFlowRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("CreateFlowRuleResponse.Data.Enable")); createFlowRuleResponse.setData(data); return createFlowRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateHotParamItemsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.CreateHotParamItemsResponse; import com.aliyuncs.ahas_openapi.model.v20190901.CreateHotParamItemsResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.CreateHotParamItemsResponse.Data.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHotParamItemsResponseUnmarshaller { public static CreateHotParamItemsResponse unmarshall(CreateHotParamItemsResponse createHotParamItemsResponse, UnmarshallerContext _ctx) { createHotParamItemsResponse.setRequestId(_ctx.stringValue("CreateHotParamItemsResponse.RequestId")); createHotParamItemsResponse.setMessage(_ctx.stringValue("CreateHotParamItemsResponse.Message")); createHotParamItemsResponse.setCode(_ctx.stringValue("CreateHotParamItemsResponse.Code")); createHotParamItemsResponse.setSuccess(_ctx.booleanValue("CreateHotParamItemsResponse.Success")); Data data = new Data(); data.setParamIdx(_ctx.integerValue("CreateHotParamItemsResponse.Data.ParamIdx")); data.setNamespace(_ctx.stringValue("CreateHotParamItemsResponse.Data.Namespace")); data.setStatDurationSec(_ctx.longValue("CreateHotParamItemsResponse.Data.StatDurationSec")); data.setBurstCount(_ctx.integerValue("CreateHotParamItemsResponse.Data.BurstCount")); data.setRuleId(_ctx.longValue("CreateHotParamItemsResponse.Data.RuleId")); data.setResource(_ctx.stringValue("CreateHotParamItemsResponse.Data.Resource")); data.setAppName(_ctx.stringValue("CreateHotParamItemsResponse.Data.AppName")); data.setMaxQueueingTimeMs(_ctx.integerValue("CreateHotParamItemsResponse.Data.MaxQueueingTimeMs")); data.setControlBehavior(_ctx.integerValue("CreateHotParamItemsResponse.Data.ControlBehavior")); data.setMetricType(_ctx.integerValue("CreateHotParamItemsResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("CreateHotParamItemsResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("CreateHotParamItemsResponse.Data.Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int i = 0; i < _ctx.lengthValue("CreateHotParamItemsResponse.Data.ParamFlowItemList.Length"); i++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("CreateHotParamItemsResponse.Data.ParamFlowItemList["+ i +"].ItemValue")); paramFlowItemListItem.setItemType(_ctx.stringValue("CreateHotParamItemsResponse.Data.ParamFlowItemList["+ i +"].ItemType")); paramFlowItemListItem.setThreshold(_ctx.floatValue("CreateHotParamItemsResponse.Data.ParamFlowItemList["+ i +"].Threshold")); paramFlowItemList.add(paramFlowItemListItem); } data.setParamFlowItemList(paramFlowItemList); createHotParamItemsResponse.setData(data); return createHotParamItemsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateHotParamRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.CreateHotParamRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.CreateHotParamRuleResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.CreateHotParamRuleResponse.Data.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHotParamRuleResponseUnmarshaller { public static CreateHotParamRuleResponse unmarshall(CreateHotParamRuleResponse createHotParamRuleResponse, UnmarshallerContext _ctx) { createHotParamRuleResponse.setRequestId(_ctx.stringValue("CreateHotParamRuleResponse.RequestId")); createHotParamRuleResponse.setMessage(_ctx.stringValue("CreateHotParamRuleResponse.Message")); createHotParamRuleResponse.setCode(_ctx.stringValue("CreateHotParamRuleResponse.Code")); createHotParamRuleResponse.setSuccess(_ctx.booleanValue("CreateHotParamRuleResponse.Success")); Data data = new Data(); data.setParamIdx(_ctx.integerValue("CreateHotParamRuleResponse.Data.ParamIdx")); data.setNamespace(_ctx.stringValue("CreateHotParamRuleResponse.Data.Namespace")); data.setStatDurationSec(_ctx.longValue("CreateHotParamRuleResponse.Data.StatDurationSec")); data.setBurstCount(_ctx.integerValue("CreateHotParamRuleResponse.Data.BurstCount")); data.setRuleId(_ctx.longValue("CreateHotParamRuleResponse.Data.RuleId")); data.setResource(_ctx.stringValue("CreateHotParamRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("CreateHotParamRuleResponse.Data.AppName")); data.setMaxQueueingTimeMs(_ctx.integerValue("CreateHotParamRuleResponse.Data.MaxQueueingTimeMs")); data.setControlBehavior(_ctx.integerValue("CreateHotParamRuleResponse.Data.ControlBehavior")); data.setMetricType(_ctx.integerValue("CreateHotParamRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("CreateHotParamRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("CreateHotParamRuleResponse.Data.Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int i = 0; i < _ctx.lengthValue("CreateHotParamRuleResponse.Data.ParamFlowItemList.Length"); i++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("CreateHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemValue")); paramFlowItemListItem.setItemType(_ctx.stringValue("CreateHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemType")); paramFlowItemListItem.setThreshold(_ctx.floatValue("CreateHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].Threshold")); paramFlowItemList.add(paramFlowItemListItem); } data.setParamFlowItemList(paramFlowItemList); createHotParamRuleResponse.setData(data); return createHotParamRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateIsolationRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.CreateIsolationRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.CreateIsolationRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateIsolationRuleResponseUnmarshaller { public static CreateIsolationRuleResponse unmarshall(CreateIsolationRuleResponse createIsolationRuleResponse, UnmarshallerContext _ctx) { createIsolationRuleResponse.setRequestId(_ctx.stringValue("CreateIsolationRuleResponse.RequestId")); createIsolationRuleResponse.setMessage(_ctx.stringValue("CreateIsolationRuleResponse.Message")); createIsolationRuleResponse.setCode(_ctx.stringValue("CreateIsolationRuleResponse.Code")); createIsolationRuleResponse.setSuccess(_ctx.booleanValue("CreateIsolationRuleResponse.Success")); Data data = new Data(); data.setRelationStrategy(_ctx.integerValue("CreateIsolationRuleResponse.Data.RelationStrategy")); data.setResource(_ctx.stringValue("CreateIsolationRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("CreateIsolationRuleResponse.Data.AppName")); data.setRefResource(_ctx.stringValue("CreateIsolationRuleResponse.Data.RefResource")); data.setNamespace(_ctx.stringValue("CreateIsolationRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("CreateIsolationRuleResponse.Data.LimitOrigin")); data.setThreshold(_ctx.floatValue("CreateIsolationRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("CreateIsolationRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("CreateIsolationRuleResponse.Data.Enable")); createIsolationRuleResponse.setData(data); return createIsolationRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/CreateSystemRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.CreateSystemRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.CreateSystemRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateSystemRuleResponseUnmarshaller { public static CreateSystemRuleResponse unmarshall(CreateSystemRuleResponse createSystemRuleResponse, UnmarshallerContext _ctx) { createSystemRuleResponse.setRequestId(_ctx.stringValue("CreateSystemRuleResponse.RequestId")); createSystemRuleResponse.setMessage(_ctx.stringValue("CreateSystemRuleResponse.Message")); createSystemRuleResponse.setCode(_ctx.stringValue("CreateSystemRuleResponse.Code")); createSystemRuleResponse.setSuccess(_ctx.booleanValue("CreateSystemRuleResponse.Success")); Data data = new Data(); data.setMetricType(_ctx.integerValue("CreateSystemRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("CreateSystemRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("CreateSystemRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("CreateSystemRuleResponse.Data.Enable")); createSystemRuleResponse.setData(data); return createSystemRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DeleteDegradeRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteDegradeRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteDegradeRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteDegradeRuleResponseUnmarshaller { public static DeleteDegradeRuleResponse unmarshall(DeleteDegradeRuleResponse deleteDegradeRuleResponse, UnmarshallerContext _ctx) { deleteDegradeRuleResponse.setRequestId(_ctx.stringValue("DeleteDegradeRuleResponse.RequestId")); deleteDegradeRuleResponse.setMessage(_ctx.stringValue("DeleteDegradeRuleResponse.Message")); deleteDegradeRuleResponse.setCode(_ctx.stringValue("DeleteDegradeRuleResponse.Code")); deleteDegradeRuleResponse.setSuccess(_ctx.booleanValue("DeleteDegradeRuleResponse.Success")); Data data = new Data(); data.setRuleId(_ctx.longValue("DeleteDegradeRuleResponse.Data.RuleId")); deleteDegradeRuleResponse.setData(data); return deleteDegradeRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DeleteFlowRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteFlowRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteFlowRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteFlowRuleResponseUnmarshaller { public static DeleteFlowRuleResponse unmarshall(DeleteFlowRuleResponse deleteFlowRuleResponse, UnmarshallerContext _ctx) { deleteFlowRuleResponse.setRequestId(_ctx.stringValue("DeleteFlowRuleResponse.RequestId")); deleteFlowRuleResponse.setMessage(_ctx.stringValue("DeleteFlowRuleResponse.Message")); deleteFlowRuleResponse.setCode(_ctx.stringValue("DeleteFlowRuleResponse.Code")); deleteFlowRuleResponse.setSuccess(_ctx.booleanValue("DeleteFlowRuleResponse.Success")); Data data = new Data(); data.setRuleId(_ctx.longValue("DeleteFlowRuleResponse.Data.RuleId")); deleteFlowRuleResponse.setData(data); return deleteFlowRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DeleteHotParamRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteHotParamRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteHotParamRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteHotParamRuleResponseUnmarshaller { public static DeleteHotParamRuleResponse unmarshall(DeleteHotParamRuleResponse deleteHotParamRuleResponse, UnmarshallerContext _ctx) { deleteHotParamRuleResponse.setRequestId(_ctx.stringValue("DeleteHotParamRuleResponse.RequestId")); deleteHotParamRuleResponse.setMessage(_ctx.stringValue("DeleteHotParamRuleResponse.Message")); deleteHotParamRuleResponse.setCode(_ctx.stringValue("DeleteHotParamRuleResponse.Code")); deleteHotParamRuleResponse.setSuccess(_ctx.booleanValue("DeleteHotParamRuleResponse.Success")); Data data = new Data(); data.setRuleId(_ctx.longValue("DeleteHotParamRuleResponse.Data.RuleId")); deleteHotParamRuleResponse.setData(data); return deleteHotParamRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DeleteIsolationRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteIsolationRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteIsolationRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteIsolationRuleResponseUnmarshaller { public static DeleteIsolationRuleResponse unmarshall(DeleteIsolationRuleResponse deleteIsolationRuleResponse, UnmarshallerContext _ctx) { deleteIsolationRuleResponse.setRequestId(_ctx.stringValue("DeleteIsolationRuleResponse.RequestId")); deleteIsolationRuleResponse.setMessage(_ctx.stringValue("DeleteIsolationRuleResponse.Message")); deleteIsolationRuleResponse.setCode(_ctx.stringValue("DeleteIsolationRuleResponse.Code")); deleteIsolationRuleResponse.setSuccess(_ctx.booleanValue("DeleteIsolationRuleResponse.Success")); Data data = new Data(); data.setRuleId(_ctx.longValue("DeleteIsolationRuleResponse.Data.RuleId")); deleteIsolationRuleResponse.setData(data); return deleteIsolationRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DeleteSystemRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteSystemRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DeleteSystemRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteSystemRuleResponseUnmarshaller { public static DeleteSystemRuleResponse unmarshall(DeleteSystemRuleResponse deleteSystemRuleResponse, UnmarshallerContext _ctx) { deleteSystemRuleResponse.setRequestId(_ctx.stringValue("DeleteSystemRuleResponse.RequestId")); deleteSystemRuleResponse.setMessage(_ctx.stringValue("DeleteSystemRuleResponse.Message")); deleteSystemRuleResponse.setCode(_ctx.stringValue("DeleteSystemRuleResponse.Code")); deleteSystemRuleResponse.setSuccess(_ctx.booleanValue("DeleteSystemRuleResponse.Success")); Data data = new Data(); data.setRuleId(_ctx.longValue("DeleteSystemRuleResponse.Data.RuleId")); deleteSystemRuleResponse.setData(data); return deleteSystemRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DescribeRegionsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.DescribeRegionsResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DescribeRegionsResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeRegionsResponseUnmarshaller { public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) { describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId")); describeRegionsResponse.setMessage(_ctx.stringValue("DescribeRegionsResponse.Message")); describeRegionsResponse.setCode(_ctx.stringValue("DescribeRegionsResponse.Code")); describeRegionsResponse.setSuccess(_ctx.booleanValue("DescribeRegionsResponse.Success")); List<Data> regions = new ArrayList<Data>(); for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) { Data data = new Data(); data.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName")); data.setRegionEndpoint(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionEndpoint")); data.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId")); regions.add(data); } describeRegionsResponse.setRegions(regions); return describeRegionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DisableDegradeRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DisableDegradeRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DisableDegradeRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DisableDegradeRuleResponseUnmarshaller { public static DisableDegradeRuleResponse unmarshall(DisableDegradeRuleResponse disableDegradeRuleResponse, UnmarshallerContext _ctx) { disableDegradeRuleResponse.setRequestId(_ctx.stringValue("DisableDegradeRuleResponse.RequestId")); disableDegradeRuleResponse.setMessage(_ctx.stringValue("DisableDegradeRuleResponse.Message")); disableDegradeRuleResponse.setCode(_ctx.stringValue("DisableDegradeRuleResponse.Code")); disableDegradeRuleResponse.setSuccess(_ctx.booleanValue("DisableDegradeRuleResponse.Success")); Data data = new Data(); data.setSlowRtMs(_ctx.integerValue("DisableDegradeRuleResponse.Data.SlowRtMs")); data.setHalfOpenRecoveryStepNum(_ctx.integerValue("DisableDegradeRuleResponse.Data.HalfOpenRecoveryStepNum")); data.setNamespace(_ctx.stringValue("DisableDegradeRuleResponse.Data.Namespace")); data.setStatDurationMs(_ctx.integerValue("DisableDegradeRuleResponse.Data.StatDurationMs")); data.setRuleId(_ctx.longValue("DisableDegradeRuleResponse.Data.RuleId")); data.setStrategy(_ctx.integerValue("DisableDegradeRuleResponse.Data.Strategy")); data.setResource(_ctx.stringValue("DisableDegradeRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("DisableDegradeRuleResponse.Data.AppName")); data.setHalfOpenBaseAmountPerStep(_ctx.integerValue("DisableDegradeRuleResponse.Data.HalfOpenBaseAmountPerStep")); data.setRecoveryTimeoutMs(_ctx.integerValue("DisableDegradeRuleResponse.Data.RecoveryTimeoutMs")); data.setMinRequestAmount(_ctx.integerValue("DisableDegradeRuleResponse.Data.MinRequestAmount")); data.setThreshold(_ctx.floatValue("DisableDegradeRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("DisableDegradeRuleResponse.Data.Enable")); disableDegradeRuleResponse.setData(data); return disableDegradeRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DisableFlowRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DisableFlowRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DisableFlowRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DisableFlowRuleResponseUnmarshaller { public static DisableFlowRuleResponse unmarshall(DisableFlowRuleResponse disableFlowRuleResponse, UnmarshallerContext _ctx) { disableFlowRuleResponse.setRequestId(_ctx.stringValue("DisableFlowRuleResponse.RequestId")); disableFlowRuleResponse.setMessage(_ctx.stringValue("DisableFlowRuleResponse.Message")); disableFlowRuleResponse.setCode(_ctx.stringValue("DisableFlowRuleResponse.Code")); disableFlowRuleResponse.setSuccess(_ctx.booleanValue("DisableFlowRuleResponse.Success")); Data data = new Data(); data.setRefResource(_ctx.stringValue("DisableFlowRuleResponse.Data.RefResource")); data.setClusterFallbackThreshold(_ctx.integerValue("DisableFlowRuleResponse.Data.ClusterFallbackThreshold")); data.setNamespace(_ctx.stringValue("DisableFlowRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("DisableFlowRuleResponse.Data.LimitOrigin")); data.setStatDurationMs(_ctx.integerValue("DisableFlowRuleResponse.Data.StatDurationMs")); data.setClusterThresholdType(_ctx.integerValue("DisableFlowRuleResponse.Data.ClusterThresholdType")); data.setRuleId(_ctx.longValue("DisableFlowRuleResponse.Data.RuleId")); data.setRelationStrategy(_ctx.integerValue("DisableFlowRuleResponse.Data.RelationStrategy")); data.setAppName(_ctx.stringValue("DisableFlowRuleResponse.Data.AppName")); data.setResource(_ctx.stringValue("DisableFlowRuleResponse.Data.Resource")); data.setMaxQueueingTimeMs(_ctx.integerValue("DisableFlowRuleResponse.Data.MaxQueueingTimeMs")); data.setClusterEstimatedMaxQps(_ctx.floatValue("DisableFlowRuleResponse.Data.ClusterEstimatedMaxQps")); data.setControlBehavior(_ctx.integerValue("DisableFlowRuleResponse.Data.ControlBehavior")); data.setWarmUpPeriodSec(_ctx.integerValue("DisableFlowRuleResponse.Data.WarmUpPeriodSec")); data.setClusterFallbackStrategy(_ctx.integerValue("DisableFlowRuleResponse.Data.ClusterFallbackStrategy")); data.setThreshold(_ctx.floatValue("DisableFlowRuleResponse.Data.Threshold")); data.setClusterMode(_ctx.booleanValue("DisableFlowRuleResponse.Data.ClusterMode")); data.setEnable(_ctx.booleanValue("DisableFlowRuleResponse.Data.Enable")); disableFlowRuleResponse.setData(data); return disableFlowRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DisableHotParamRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.DisableHotParamRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DisableHotParamRuleResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.DisableHotParamRuleResponse.Data.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class DisableHotParamRuleResponseUnmarshaller { public static DisableHotParamRuleResponse unmarshall(DisableHotParamRuleResponse disableHotParamRuleResponse, UnmarshallerContext _ctx) { disableHotParamRuleResponse.setRequestId(_ctx.stringValue("DisableHotParamRuleResponse.RequestId")); disableHotParamRuleResponse.setCode(_ctx.stringValue("DisableHotParamRuleResponse.Code")); disableHotParamRuleResponse.setMessage(_ctx.stringValue("DisableHotParamRuleResponse.Message")); disableHotParamRuleResponse.setSuccess(_ctx.booleanValue("DisableHotParamRuleResponse.Success")); Data data = new Data(); data.setParamIdx(_ctx.integerValue("DisableHotParamRuleResponse.Data.ParamIdx")); data.setNamespace(_ctx.stringValue("DisableHotParamRuleResponse.Data.Namespace")); data.setStatDurationSec(_ctx.longValue("DisableHotParamRuleResponse.Data.StatDurationSec")); data.setBurstCount(_ctx.integerValue("DisableHotParamRuleResponse.Data.BurstCount")); data.setRuleId(_ctx.longValue("DisableHotParamRuleResponse.Data.RuleId")); data.setAppName(_ctx.stringValue("DisableHotParamRuleResponse.Data.AppName")); data.setResource(_ctx.stringValue("DisableHotParamRuleResponse.Data.Resource")); data.setControlBehavior(_ctx.integerValue("DisableHotParamRuleResponse.Data.ControlBehavior")); data.setMaxQueueingTimeMs(_ctx.integerValue("DisableHotParamRuleResponse.Data.MaxQueueingTimeMs")); data.setMetricType(_ctx.integerValue("DisableHotParamRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("DisableHotParamRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("DisableHotParamRuleResponse.Data.Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int i = 0; i < _ctx.lengthValue("DisableHotParamRuleResponse.Data.ParamFlowItemList.Length"); i++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("DisableHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemValue")); paramFlowItemListItem.setThreshold(_ctx.floatValue("DisableHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].Threshold")); paramFlowItemListItem.setItemType(_ctx.stringValue("DisableHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemType")); paramFlowItemList.add(paramFlowItemListItem); } data.setParamFlowItemList(paramFlowItemList); disableHotParamRuleResponse.setData(data); return disableHotParamRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DisableIsolationRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DisableIsolationRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DisableIsolationRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DisableIsolationRuleResponseUnmarshaller { public static DisableIsolationRuleResponse unmarshall(DisableIsolationRuleResponse disableIsolationRuleResponse, UnmarshallerContext _ctx) { disableIsolationRuleResponse.setRequestId(_ctx.stringValue("DisableIsolationRuleResponse.RequestId")); disableIsolationRuleResponse.setMessage(_ctx.stringValue("DisableIsolationRuleResponse.Message")); disableIsolationRuleResponse.setCode(_ctx.stringValue("DisableIsolationRuleResponse.Code")); disableIsolationRuleResponse.setSuccess(_ctx.booleanValue("DisableIsolationRuleResponse.Success")); Data data = new Data(); data.setRelationStrategy(_ctx.integerValue("DisableIsolationRuleResponse.Data.RelationStrategy")); data.setResource(_ctx.stringValue("DisableIsolationRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("DisableIsolationRuleResponse.Data.AppName")); data.setRefResource(_ctx.stringValue("DisableIsolationRuleResponse.Data.RefResource")); data.setNamespace(_ctx.stringValue("DisableIsolationRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("DisableIsolationRuleResponse.Data.LimitOrigin")); data.setThreshold(_ctx.floatValue("DisableIsolationRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("DisableIsolationRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("DisableIsolationRuleResponse.Data.Enable")); disableIsolationRuleResponse.setData(data); return disableIsolationRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/DisableSystemRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.DisableSystemRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.DisableSystemRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DisableSystemRuleResponseUnmarshaller { public static DisableSystemRuleResponse unmarshall(DisableSystemRuleResponse disableSystemRuleResponse, UnmarshallerContext _ctx) { disableSystemRuleResponse.setRequestId(_ctx.stringValue("DisableSystemRuleResponse.RequestId")); disableSystemRuleResponse.setMessage(_ctx.stringValue("DisableSystemRuleResponse.Message")); disableSystemRuleResponse.setCode(_ctx.stringValue("DisableSystemRuleResponse.Code")); disableSystemRuleResponse.setSuccess(_ctx.booleanValue("DisableSystemRuleResponse.Success")); Data data = new Data(); data.setMetricType(_ctx.integerValue("DisableSystemRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("DisableSystemRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("DisableSystemRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("DisableSystemRuleResponse.Data.Enable")); disableSystemRuleResponse.setData(data); return disableSystemRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/EnableDegradeRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.EnableDegradeRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.EnableDegradeRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class EnableDegradeRuleResponseUnmarshaller { public static EnableDegradeRuleResponse unmarshall(EnableDegradeRuleResponse enableDegradeRuleResponse, UnmarshallerContext _ctx) { enableDegradeRuleResponse.setRequestId(_ctx.stringValue("EnableDegradeRuleResponse.RequestId")); enableDegradeRuleResponse.setMessage(_ctx.stringValue("EnableDegradeRuleResponse.Message")); enableDegradeRuleResponse.setCode(_ctx.stringValue("EnableDegradeRuleResponse.Code")); enableDegradeRuleResponse.setSuccess(_ctx.booleanValue("EnableDegradeRuleResponse.Success")); Data data = new Data(); data.setSlowRtMs(_ctx.integerValue("EnableDegradeRuleResponse.Data.SlowRtMs")); data.setHalfOpenRecoveryStepNum(_ctx.integerValue("EnableDegradeRuleResponse.Data.HalfOpenRecoveryStepNum")); data.setNamespace(_ctx.stringValue("EnableDegradeRuleResponse.Data.Namespace")); data.setStatDurationMs(_ctx.integerValue("EnableDegradeRuleResponse.Data.StatDurationMs")); data.setRuleId(_ctx.longValue("EnableDegradeRuleResponse.Data.RuleId")); data.setStrategy(_ctx.integerValue("EnableDegradeRuleResponse.Data.Strategy")); data.setResource(_ctx.stringValue("EnableDegradeRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("EnableDegradeRuleResponse.Data.AppName")); data.setHalfOpenBaseAmountPerStep(_ctx.integerValue("EnableDegradeRuleResponse.Data.HalfOpenBaseAmountPerStep")); data.setRecoveryTimeoutMs(_ctx.integerValue("EnableDegradeRuleResponse.Data.RecoveryTimeoutMs")); data.setMinRequestAmount(_ctx.integerValue("EnableDegradeRuleResponse.Data.MinRequestAmount")); data.setThreshold(_ctx.floatValue("EnableDegradeRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("EnableDegradeRuleResponse.Data.Enable")); enableDegradeRuleResponse.setData(data); return enableDegradeRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/EnableFlowRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.EnableFlowRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.EnableFlowRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class EnableFlowRuleResponseUnmarshaller { public static EnableFlowRuleResponse unmarshall(EnableFlowRuleResponse enableFlowRuleResponse, UnmarshallerContext _ctx) { enableFlowRuleResponse.setRequestId(_ctx.stringValue("EnableFlowRuleResponse.RequestId")); enableFlowRuleResponse.setCode(_ctx.stringValue("EnableFlowRuleResponse.Code")); enableFlowRuleResponse.setMessage(_ctx.stringValue("EnableFlowRuleResponse.Message")); enableFlowRuleResponse.setSuccess(_ctx.booleanValue("EnableFlowRuleResponse.Success")); Data data = new Data(); data.setRefResource(_ctx.stringValue("EnableFlowRuleResponse.Data.RefResource")); data.setClusterFallbackThreshold(_ctx.integerValue("EnableFlowRuleResponse.Data.ClusterFallbackThreshold")); data.setNamespace(_ctx.stringValue("EnableFlowRuleResponse.Data.Namespace")); data.setStatDurationMs(_ctx.integerValue("EnableFlowRuleResponse.Data.StatDurationMs")); data.setLimitOrigin(_ctx.stringValue("EnableFlowRuleResponse.Data.LimitOrigin")); data.setClusterThresholdType(_ctx.integerValue("EnableFlowRuleResponse.Data.ClusterThresholdType")); data.setRuleId(_ctx.longValue("EnableFlowRuleResponse.Data.RuleId")); data.setRelationStrategy(_ctx.integerValue("EnableFlowRuleResponse.Data.RelationStrategy")); data.setResource(_ctx.stringValue("EnableFlowRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("EnableFlowRuleResponse.Data.AppName")); data.setMaxQueueingTimeMs(_ctx.integerValue("EnableFlowRuleResponse.Data.MaxQueueingTimeMs")); data.setControlBehavior(_ctx.integerValue("EnableFlowRuleResponse.Data.ControlBehavior")); data.setClusterEstimatedMaxQps(_ctx.floatValue("EnableFlowRuleResponse.Data.ClusterEstimatedMaxQps")); data.setWarmUpPeriodSec(_ctx.integerValue("EnableFlowRuleResponse.Data.WarmUpPeriodSec")); data.setClusterFallbackStrategy(_ctx.integerValue("EnableFlowRuleResponse.Data.ClusterFallbackStrategy")); data.setThreshold(_ctx.floatValue("EnableFlowRuleResponse.Data.Threshold")); data.setClusterMode(_ctx.booleanValue("EnableFlowRuleResponse.Data.ClusterMode")); data.setEnable(_ctx.booleanValue("EnableFlowRuleResponse.Data.Enable")); enableFlowRuleResponse.setData(data); return enableFlowRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/EnableHotParamRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.EnableHotParamRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.EnableHotParamRuleResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.EnableHotParamRuleResponse.Data.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class EnableHotParamRuleResponseUnmarshaller { public static EnableHotParamRuleResponse unmarshall(EnableHotParamRuleResponse enableHotParamRuleResponse, UnmarshallerContext _ctx) { enableHotParamRuleResponse.setRequestId(_ctx.stringValue("EnableHotParamRuleResponse.RequestId")); enableHotParamRuleResponse.setMessage(_ctx.stringValue("EnableHotParamRuleResponse.Message")); enableHotParamRuleResponse.setCode(_ctx.stringValue("EnableHotParamRuleResponse.Code")); enableHotParamRuleResponse.setSuccess(_ctx.booleanValue("EnableHotParamRuleResponse.Success")); Data data = new Data(); data.setParamIdx(_ctx.integerValue("EnableHotParamRuleResponse.Data.ParamIdx")); data.setNamespace(_ctx.stringValue("EnableHotParamRuleResponse.Data.Namespace")); data.setStatDurationSec(_ctx.longValue("EnableHotParamRuleResponse.Data.StatDurationSec")); data.setBurstCount(_ctx.integerValue("EnableHotParamRuleResponse.Data.BurstCount")); data.setRuleId(_ctx.longValue("EnableHotParamRuleResponse.Data.RuleId")); data.setResource(_ctx.stringValue("EnableHotParamRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("EnableHotParamRuleResponse.Data.AppName")); data.setMaxQueueingTimeMs(_ctx.integerValue("EnableHotParamRuleResponse.Data.MaxQueueingTimeMs")); data.setControlBehavior(_ctx.integerValue("EnableHotParamRuleResponse.Data.ControlBehavior")); data.setMetricType(_ctx.integerValue("EnableHotParamRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("EnableHotParamRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("EnableHotParamRuleResponse.Data.Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int i = 0; i < _ctx.lengthValue("EnableHotParamRuleResponse.Data.ParamFlowItemList.Length"); i++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("EnableHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemValue")); paramFlowItemListItem.setItemType(_ctx.stringValue("EnableHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemType")); paramFlowItemListItem.setThreshold(_ctx.floatValue("EnableHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].Threshold")); paramFlowItemList.add(paramFlowItemListItem); } data.setParamFlowItemList(paramFlowItemList); enableHotParamRuleResponse.setData(data); return enableHotParamRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/EnableIsolationRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.EnableIsolationRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.EnableIsolationRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class EnableIsolationRuleResponseUnmarshaller { public static EnableIsolationRuleResponse unmarshall(EnableIsolationRuleResponse enableIsolationRuleResponse, UnmarshallerContext _ctx) { enableIsolationRuleResponse.setRequestId(_ctx.stringValue("EnableIsolationRuleResponse.RequestId")); enableIsolationRuleResponse.setMessage(_ctx.stringValue("EnableIsolationRuleResponse.Message")); enableIsolationRuleResponse.setCode(_ctx.stringValue("EnableIsolationRuleResponse.Code")); enableIsolationRuleResponse.setSuccess(_ctx.booleanValue("EnableIsolationRuleResponse.Success")); Data data = new Data(); data.setRelationStrategy(_ctx.integerValue("EnableIsolationRuleResponse.Data.RelationStrategy")); data.setResource(_ctx.stringValue("EnableIsolationRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("EnableIsolationRuleResponse.Data.AppName")); data.setRefResource(_ctx.stringValue("EnableIsolationRuleResponse.Data.RefResource")); data.setNamespace(_ctx.stringValue("EnableIsolationRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("EnableIsolationRuleResponse.Data.LimitOrigin")); data.setThreshold(_ctx.floatValue("EnableIsolationRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("EnableIsolationRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("EnableIsolationRuleResponse.Data.Enable")); enableIsolationRuleResponse.setData(data); return enableIsolationRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/EnableSystemRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.EnableSystemRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.EnableSystemRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class EnableSystemRuleResponseUnmarshaller { public static EnableSystemRuleResponse unmarshall(EnableSystemRuleResponse enableSystemRuleResponse, UnmarshallerContext _ctx) { enableSystemRuleResponse.setRequestId(_ctx.stringValue("EnableSystemRuleResponse.RequestId")); enableSystemRuleResponse.setMessage(_ctx.stringValue("EnableSystemRuleResponse.Message")); enableSystemRuleResponse.setCode(_ctx.stringValue("EnableSystemRuleResponse.Code")); enableSystemRuleResponse.setSuccess(_ctx.booleanValue("EnableSystemRuleResponse.Success")); Data data = new Data(); data.setMetricType(_ctx.integerValue("EnableSystemRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("EnableSystemRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("EnableSystemRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("EnableSystemRuleResponse.Data.Enable")); enableSystemRuleResponse.setData(data); return enableSystemRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ExecuteExperimentResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.ExecuteExperimentResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ExecuteExperimentResponseUnmarshaller { public static ExecuteExperimentResponse unmarshall(ExecuteExperimentResponse executeExperimentResponse, UnmarshallerContext _ctx) { executeExperimentResponse.setRequestId(_ctx.stringValue("ExecuteExperimentResponse.RequestId")); executeExperimentResponse.setTaskId(_ctx.stringValue("ExecuteExperimentResponse.TaskId")); executeExperimentResponse.setMessage(_ctx.stringValue("ExecuteExperimentResponse.Message")); executeExperimentResponse.setCode(_ctx.stringValue("ExecuteExperimentResponse.Code")); executeExperimentResponse.setSuccess(_ctx.booleanValue("ExecuteExperimentResponse.Success")); return executeExperimentResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/FinishExperimentTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.FinishExperimentTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class FinishExperimentTaskResponseUnmarshaller { public static FinishExperimentTaskResponse unmarshall(FinishExperimentTaskResponse finishExperimentTaskResponse, UnmarshallerContext _ctx) { finishExperimentTaskResponse.setRequestId(_ctx.stringValue("FinishExperimentTaskResponse.RequestId")); finishExperimentTaskResponse.setMessage(_ctx.stringValue("FinishExperimentTaskResponse.Message")); finishExperimentTaskResponse.setCode(_ctx.stringValue("FinishExperimentTaskResponse.Code")); finishExperimentTaskResponse.setSuccess(_ctx.booleanValue("FinishExperimentTaskResponse.Success")); return finishExperimentTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetActivityTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetActivityTaskResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetActivityTaskResponse.HostsItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetActivityTaskResponseUnmarshaller { public static GetActivityTaskResponse unmarshall(GetActivityTaskResponse getActivityTaskResponse, UnmarshallerContext _ctx) { getActivityTaskResponse.setRequestId(_ctx.stringValue("GetActivityTaskResponse.RequestId")); getActivityTaskResponse.setPhase(_ctx.stringValue("GetActivityTaskResponse.Phase")); getActivityTaskResponse.setEndTime(_ctx.longValue("GetActivityTaskResponse.EndTime")); getActivityTaskResponse.setActivityName(_ctx.stringValue("GetActivityTaskResponse.ActivityName")); getActivityTaskResponse.setState(_ctx.stringValue("GetActivityTaskResponse.State")); getActivityTaskResponse.setActivityId(_ctx.stringValue("GetActivityTaskResponse.ActivityId")); getActivityTaskResponse.setExperimentTaskId(_ctx.stringValue("GetActivityTaskResponse.ExperimentTaskId")); getActivityTaskResponse.setHttpStatusCode(_ctx.integerValue("GetActivityTaskResponse.HttpStatusCode")); getActivityTaskResponse.setStartTime(_ctx.longValue("GetActivityTaskResponse.StartTime")); getActivityTaskResponse.setRunResult(_ctx.stringValue("GetActivityTaskResponse.RunResult")); getActivityTaskResponse.setSuccess(_ctx.booleanValue("GetActivityTaskResponse.Success")); List<HostsItem> hosts = new ArrayList<HostsItem>(); for (int i = 0; i < _ctx.lengthValue("GetActivityTaskResponse.Hosts.Length"); i++) { HostsItem hostsItem = new HostsItem(); hostsItem.setHostIp(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].HostIp")); hostsItem.setEndTime(_ctx.longValue("GetActivityTaskResponse.Hosts["+ i +"].EndTime")); hostsItem.setStartTime(_ctx.longValue("GetActivityTaskResponse.Hosts["+ i +"].StartTime")); hostsItem.setData(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].Data")); hostsItem.setErrorMessage(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].ErrorMessage")); hostsItem.setExpId(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].ExpId")); hostsItem.setResult(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].Result")); hostsItem.setState(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].State")); hostsItem.setTaskId(_ctx.stringValue("GetActivityTaskResponse.Hosts["+ i +"].TaskId")); hosts.add(hostsItem); } getActivityTaskResponse.setHosts(hosts); return getActivityTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetExperimentMetaResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetExperimentMetaResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetExperimentMetaResponseUnmarshaller { public static GetExperimentMetaResponse unmarshall(GetExperimentMetaResponse getExperimentMetaResponse, UnmarshallerContext _ctx) { getExperimentMetaResponse.setRequestId(_ctx.stringValue("GetExperimentMetaResponse.RequestId")); getExperimentMetaResponse.setMessage(_ctx.stringValue("GetExperimentMetaResponse.Message")); getExperimentMetaResponse.setState(_ctx.stringValue("GetExperimentMetaResponse.State")); getExperimentMetaResponse.setExperimentId(_ctx.stringValue("GetExperimentMetaResponse.ExperimentId")); getExperimentMetaResponse.setCreateTime(_ctx.stringValue("GetExperimentMetaResponse.CreateTime")); getExperimentMetaResponse.setCode(_ctx.stringValue("GetExperimentMetaResponse.Code")); getExperimentMetaResponse.setSuccess(_ctx.booleanValue("GetExperimentMetaResponse.Success")); getExperimentMetaResponse.setName(_ctx.stringValue("GetExperimentMetaResponse.Name")); List<String> tags = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetExperimentMetaResponse.Tags.Length"); i++) { tags.add(_ctx.stringValue("GetExperimentMetaResponse.Tags["+ i +"]")); } getExperimentMetaResponse.setTags(tags); return getExperimentMetaResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetExperimentTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetExperimentTaskResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetExperimentTaskResponse.ActivitiesItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetExperimentTaskResponseUnmarshaller { public static GetExperimentTaskResponse unmarshall(GetExperimentTaskResponse getExperimentTaskResponse, UnmarshallerContext _ctx) { getExperimentTaskResponse.setRequestId(_ctx.stringValue("GetExperimentTaskResponse.RequestId")); getExperimentTaskResponse.setTaskId(_ctx.stringValue("GetExperimentTaskResponse.TaskId")); getExperimentTaskResponse.setExperimentName(_ctx.stringValue("GetExperimentTaskResponse.ExperimentName")); getExperimentTaskResponse.setState(_ctx.stringValue("GetExperimentTaskResponse.State")); getExperimentTaskResponse.setExperimentId(_ctx.stringValue("GetExperimentTaskResponse.ExperimentId")); getExperimentTaskResponse.setHttpStatusCode(_ctx.integerValue("GetExperimentTaskResponse.HttpStatusCode")); getExperimentTaskResponse.setStartTime(_ctx.longValue("GetExperimentTaskResponse.StartTime")); getExperimentTaskResponse.setSuccess(_ctx.booleanValue("GetExperimentTaskResponse.Success")); getExperimentTaskResponse.setResult(_ctx.stringValue("GetExperimentTaskResponse.Result")); getExperimentTaskResponse.setNamespace(_ctx.stringValue("GetExperimentTaskResponse.Namespace")); List<ActivitiesItem> activities = new ArrayList<ActivitiesItem>(); for (int i = 0; i < _ctx.lengthValue("GetExperimentTaskResponse.Activities.Length"); i++) { ActivitiesItem activitiesItem = new ActivitiesItem(); activitiesItem.setEndTime(_ctx.longValue("GetExperimentTaskResponse.Activities["+ i +"].EndTime")); activitiesItem.setStartTime(_ctx.longValue("GetExperimentTaskResponse.Activities["+ i +"].StartTime")); activitiesItem.setCheckState(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].CheckState")); activitiesItem.setRunResult(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].RunResult")); activitiesItem.setState(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].State")); activitiesItem.setActivityId(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].ActivityId")); activitiesItem.setPhase(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].Phase")); activitiesItem.setActivityName(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].ActivityName")); activitiesItem.setExperimentTaskId(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].ExperimentTaskId")); activitiesItem.setTaskId(_ctx.stringValue("GetExperimentTaskResponse.Activities["+ i +"].TaskId")); activities.add(activitiesItem); } getExperimentTaskResponse.setActivities(activities); return getExperimentTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetLicenseKeyResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.GetLicenseKeyResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetLicenseKeyResponseUnmarshaller { public static GetLicenseKeyResponse unmarshall(GetLicenseKeyResponse getLicenseKeyResponse, UnmarshallerContext _ctx) { getLicenseKeyResponse.setRequestId(_ctx.stringValue("GetLicenseKeyResponse.RequestId")); getLicenseKeyResponse.setMessage(_ctx.stringValue("GetLicenseKeyResponse.Message")); getLicenseKeyResponse.setData(_ctx.stringValue("GetLicenseKeyResponse.Data")); getLicenseKeyResponse.setCode(_ctx.stringValue("GetLicenseKeyResponse.Code")); getLicenseKeyResponse.setSuccess(_ctx.booleanValue("GetLicenseKeyResponse.Success")); return getLicenseKeyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetMetricsOfAppResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetMetricsOfAppResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetMetricsOfAppResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.GetMetricsOfAppResponse.Data.InnerMetricsItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetMetricsOfAppResponseUnmarshaller { public static GetMetricsOfAppResponse unmarshall(GetMetricsOfAppResponse getMetricsOfAppResponse, UnmarshallerContext _ctx) { getMetricsOfAppResponse.setRequestId(_ctx.stringValue("GetMetricsOfAppResponse.RequestId")); getMetricsOfAppResponse.setMessage(_ctx.stringValue("GetMetricsOfAppResponse.Message")); getMetricsOfAppResponse.setCode(_ctx.stringValue("GetMetricsOfAppResponse.Code")); getMetricsOfAppResponse.setSuccess(_ctx.booleanValue("GetMetricsOfAppResponse.Success")); Data data = new Data(); data.setAppName(_ctx.stringValue("GetMetricsOfAppResponse.Data.AppName")); data.setNamespace(_ctx.stringValue("GetMetricsOfAppResponse.Data.Namespace")); List<InnerMetricsItem> innerMetrics = new ArrayList<InnerMetricsItem>(); for (int i = 0; i < _ctx.lengthValue("GetMetricsOfAppResponse.Data.InnerMetrics.Length"); i++) { InnerMetricsItem innerMetricsItem = new InnerMetricsItem(); innerMetricsItem.setRtP99(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtP99")); innerMetricsItem.setSuccessQpsAvg(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsAvg")); innerMetricsItem.setPassedQpsP99(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsP99")); innerMetricsItem.setRtAvg(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtAvg")); innerMetricsItem.setCount(_ctx.integerValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].Count")); innerMetricsItem.setThreadStd(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadStd")); innerMetricsItem.setPassedQpsAvg(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsAvg")); innerMetricsItem.setExceptionP95(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionP95")); innerMetricsItem.setSuccessQpsMax(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsMax")); innerMetricsItem.setRtP95(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtP95")); innerMetricsItem.setBlockedQpsMin(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsMin")); innerMetricsItem.setBlockedQps(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQps")); innerMetricsItem.setTimestamp(_ctx.longValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].Timestamp")); innerMetricsItem.setThreadP95(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadP95")); innerMetricsItem.setRtStd(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtStd")); innerMetricsItem.setPassedQpsMin(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsMin")); innerMetricsItem.setBlockedQpsP99(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsP99")); innerMetricsItem.setPassedQpsMax(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsMax")); innerMetricsItem.setExceptionMax(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionMax")); innerMetricsItem.setSuccessQps(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQps")); innerMetricsItem.setSuccessQpsP75(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsP75")); innerMetricsItem.setThreadP75(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadP75")); innerMetricsItem.setSuccessQpsStd(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsStd")); innerMetricsItem.setExceptionMin(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionMin")); innerMetricsItem.setPassedQpsP75(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsP75")); innerMetricsItem.setPassedQps(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQps")); innerMetricsItem.setThreadMax(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadMax")); innerMetricsItem.setSuccessQpsP99(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsP99")); innerMetricsItem.setSuccessQpsMin(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsMin")); innerMetricsItem.setThreadP99(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadP99")); innerMetricsItem.setExceptionStd(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionStd")); innerMetricsItem.setBlockedQpsP95(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsP95")); innerMetricsItem.setThread(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].Thread")); innerMetricsItem.setThreadMin(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadMin")); innerMetricsItem.setRtMin(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtMin")); innerMetricsItem.setBlockedQpsAvg(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsAvg")); innerMetricsItem.setThreadAvg(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ThreadAvg")); innerMetricsItem.setBlockedQpsP75(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsP75")); innerMetricsItem.setRtP75(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtP75")); innerMetricsItem.setExceptionP99(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionP99")); innerMetricsItem.setExceptionP75(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionP75")); innerMetricsItem.setSuccessQpsP95(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].SuccessQpsP95")); innerMetricsItem.setRt(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].Rt")); innerMetricsItem.setPassedQpsP95(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsP95")); innerMetricsItem.setRtMax(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].RtMax")); innerMetricsItem.setBlockedQpsStd(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsStd")); innerMetricsItem.setBlockedQpsMax(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].BlockedQpsMax")); innerMetricsItem.setException(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].Exception")); innerMetricsItem.setExceptionAvg(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].ExceptionAvg")); innerMetricsItem.setPassedQpsStd(_ctx.floatValue("GetMetricsOfAppResponse.Data.InnerMetrics["+ i +"].PassedQpsStd")); innerMetrics.add(innerMetricsItem); } data.setInnerMetrics(innerMetrics); getMetricsOfAppResponse.setData(data); return getMetricsOfAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetMetricsOfResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetMetricsOfResourceResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetMetricsOfResourceResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.GetMetricsOfResourceResponse.Data.InnerMetricsItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetMetricsOfResourceResponseUnmarshaller { public static GetMetricsOfResourceResponse unmarshall(GetMetricsOfResourceResponse getMetricsOfResourceResponse, UnmarshallerContext _ctx) { getMetricsOfResourceResponse.setRequestId(_ctx.stringValue("GetMetricsOfResourceResponse.RequestId")); getMetricsOfResourceResponse.setMessage(_ctx.stringValue("GetMetricsOfResourceResponse.Message")); getMetricsOfResourceResponse.setCode(_ctx.stringValue("GetMetricsOfResourceResponse.Code")); getMetricsOfResourceResponse.setSuccess(_ctx.booleanValue("GetMetricsOfResourceResponse.Success")); Data data = new Data(); data.setAppName(_ctx.stringValue("GetMetricsOfResourceResponse.Data.AppName")); data.setResource(_ctx.stringValue("GetMetricsOfResourceResponse.Data.Resource")); data.setNamespace(_ctx.stringValue("GetMetricsOfResourceResponse.Data.Namespace")); List<InnerMetricsItem> innerMetrics = new ArrayList<InnerMetricsItem>(); for (int i = 0; i < _ctx.lengthValue("GetMetricsOfResourceResponse.Data.InnerMetrics.Length"); i++) { InnerMetricsItem innerMetricsItem = new InnerMetricsItem(); innerMetricsItem.setRtP99(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtP99")); innerMetricsItem.setSuccessQpsAvg(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsAvg")); innerMetricsItem.setPassedQpsP99(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsP99")); innerMetricsItem.setRtAvg(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtAvg")); innerMetricsItem.setCount(_ctx.integerValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].Count")); innerMetricsItem.setThreadStd(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadStd")); innerMetricsItem.setPassedQpsAvg(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsAvg")); innerMetricsItem.setExceptionP95(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionP95")); innerMetricsItem.setSuccessQpsMax(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsMax")); innerMetricsItem.setRtP95(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtP95")); innerMetricsItem.setBlockedQpsMin(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsMin")); innerMetricsItem.setBlockedQps(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQps")); innerMetricsItem.setTimestamp(_ctx.longValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].Timestamp")); innerMetricsItem.setThreadP95(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadP95")); innerMetricsItem.setRtStd(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtStd")); innerMetricsItem.setPassedQpsMin(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsMin")); innerMetricsItem.setBlockedQpsP99(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsP99")); innerMetricsItem.setPassedQpsMax(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsMax")); innerMetricsItem.setExceptionMax(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionMax")); innerMetricsItem.setSuccessQps(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQps")); innerMetricsItem.setSuccessQpsP75(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsP75")); innerMetricsItem.setThreadP75(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadP75")); innerMetricsItem.setSuccessQpsStd(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsStd")); innerMetricsItem.setExceptionMin(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionMin")); innerMetricsItem.setPassedQpsP75(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsP75")); innerMetricsItem.setPassedQps(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQps")); innerMetricsItem.setThreadMax(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadMax")); innerMetricsItem.setSuccessQpsP99(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsP99")); innerMetricsItem.setSuccessQpsMin(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsMin")); innerMetricsItem.setThreadP99(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadP99")); innerMetricsItem.setExceptionStd(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionStd")); innerMetricsItem.setBlockedQpsP95(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsP95")); innerMetricsItem.setThread(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].Thread")); innerMetricsItem.setThreadMin(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadMin")); innerMetricsItem.setRtMin(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtMin")); innerMetricsItem.setBlockedQpsAvg(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsAvg")); innerMetricsItem.setThreadAvg(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ThreadAvg")); innerMetricsItem.setBlockedQpsP75(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsP75")); innerMetricsItem.setRtP75(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtP75")); innerMetricsItem.setExceptionP99(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionP99")); innerMetricsItem.setExceptionP75(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionP75")); innerMetricsItem.setSuccessQpsP95(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].SuccessQpsP95")); innerMetricsItem.setRt(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].Rt")); innerMetricsItem.setPassedQpsP95(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsP95")); innerMetricsItem.setRtMax(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].RtMax")); innerMetricsItem.setBlockedQpsStd(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsStd")); innerMetricsItem.setBlockedQpsMax(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].BlockedQpsMax")); innerMetricsItem.setException(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].Exception")); innerMetricsItem.setExceptionAvg(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].ExceptionAvg")); innerMetricsItem.setPassedQpsStd(_ctx.floatValue("GetMetricsOfResourceResponse.Data.InnerMetrics["+ i +"].PassedQpsStd")); innerMetrics.add(innerMetricsItem); } data.setInnerMetrics(innerMetrics); getMetricsOfResourceResponse.setData(data); return getMetricsOfResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetSentinelAppSumMetricResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.GetSentinelAppSumMetricResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetSentinelAppSumMetricResponse.MetricData; import com.aliyuncs.transform.UnmarshallerContext; public class GetSentinelAppSumMetricResponseUnmarshaller { public static GetSentinelAppSumMetricResponse unmarshall(GetSentinelAppSumMetricResponse getSentinelAppSumMetricResponse, UnmarshallerContext _ctx) { getSentinelAppSumMetricResponse.setRequestId(_ctx.stringValue("GetSentinelAppSumMetricResponse.RequestId")); getSentinelAppSumMetricResponse.setMessage(_ctx.stringValue("GetSentinelAppSumMetricResponse.Message")); getSentinelAppSumMetricResponse.setCode(_ctx.stringValue("GetSentinelAppSumMetricResponse.Code")); getSentinelAppSumMetricResponse.setSuccess(_ctx.booleanValue("GetSentinelAppSumMetricResponse.Success")); MetricData metricData = new MetricData(); metricData.setAppName(_ctx.stringValue("GetSentinelAppSumMetricResponse.MetricData.AppName")); metricData.setPassCount(_ctx.floatValue("GetSentinelAppSumMetricResponse.MetricData.PassCount")); metricData.setMachineCount(_ctx.longValue("GetSentinelAppSumMetricResponse.MetricData.MachineCount")); metricData.setAvgRt(_ctx.floatValue("GetSentinelAppSumMetricResponse.MetricData.AvgRt")); metricData.setUserId(_ctx.stringValue("GetSentinelAppSumMetricResponse.MetricData.UserId")); metricData.setNamespace(_ctx.stringValue("GetSentinelAppSumMetricResponse.MetricData.Namespace")); metricData.setTotalCount(_ctx.floatValue("GetSentinelAppSumMetricResponse.MetricData.TotalCount")); metricData.setBlockCount(_ctx.floatValue("GetSentinelAppSumMetricResponse.MetricData.BlockCount")); getSentinelAppSumMetricResponse.setMetricData(metricData); return getSentinelAppSumMetricResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetUserApplicationGroupsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetUserApplicationGroupsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetUserApplicationGroupsResponseUnmarshaller { public static GetUserApplicationGroupsResponse unmarshall(GetUserApplicationGroupsResponse getUserApplicationGroupsResponse, UnmarshallerContext _ctx) { getUserApplicationGroupsResponse.setRequestId(_ctx.stringValue("GetUserApplicationGroupsResponse.RequestId")); getUserApplicationGroupsResponse.setHttpStatusCode(_ctx.integerValue("GetUserApplicationGroupsResponse.HttpStatusCode")); getUserApplicationGroupsResponse.setSuccess(_ctx.booleanValue("GetUserApplicationGroupsResponse.Success")); getUserApplicationGroupsResponse.setMessage(_ctx.stringValue("GetUserApplicationGroupsResponse.Message")); getUserApplicationGroupsResponse.setCode(_ctx.stringValue("GetUserApplicationGroupsResponse.Code")); List<String> appGroups = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetUserApplicationGroupsResponse.AppGroups.Length"); i++) { appGroups.add(_ctx.stringValue("GetUserApplicationGroupsResponse.AppGroups["+ i +"]")); } getUserApplicationGroupsResponse.setAppGroups(appGroups); return getUserApplicationGroupsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetUserApplicationsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetUserApplicationsResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetUserApplicationsResponse.AppNameAndIdPairsItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetUserApplicationsResponseUnmarshaller { public static GetUserApplicationsResponse unmarshall(GetUserApplicationsResponse getUserApplicationsResponse, UnmarshallerContext _ctx) { getUserApplicationsResponse.setRequestId(_ctx.stringValue("GetUserApplicationsResponse.RequestId")); getUserApplicationsResponse.setMessage(_ctx.stringValue("GetUserApplicationsResponse.Message")); getUserApplicationsResponse.setHttpStatusCode(_ctx.integerValue("GetUserApplicationsResponse.HttpStatusCode")); getUserApplicationsResponse.setCode(_ctx.stringValue("GetUserApplicationsResponse.Code")); getUserApplicationsResponse.setSuccess(_ctx.booleanValue("GetUserApplicationsResponse.Success")); List<AppNameAndIdPairsItem> appNameAndIdPairs = new ArrayList<AppNameAndIdPairsItem>(); for (int i = 0; i < _ctx.lengthValue("GetUserApplicationsResponse.AppNameAndIdPairs.Length"); i++) { AppNameAndIdPairsItem appNameAndIdPairsItem = new AppNameAndIdPairsItem(); appNameAndIdPairsItem.setAppName(_ctx.stringValue("GetUserApplicationsResponse.AppNameAndIdPairs["+ i +"].AppName")); appNameAndIdPairsItem.setAppId(_ctx.stringValue("GetUserApplicationsResponse.AppNameAndIdPairs["+ i +"].AppId")); appNameAndIdPairsItem.setScopeType(_ctx.integerValue("GetUserApplicationsResponse.AppNameAndIdPairs["+ i +"].ScopeType")); appNameAndIdPairsItem.setAppType(_ctx.integerValue("GetUserApplicationsResponse.AppNameAndIdPairs["+ i +"].AppType")); appNameAndIdPairs.add(appNameAndIdPairsItem); } getUserApplicationsResponse.setAppNameAndIdPairs(appNameAndIdPairs); return getUserApplicationsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/GetUserWorkspaceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.GetUserWorkspaceResponse; import com.aliyuncs.ahas_openapi.model.v20190901.GetUserWorkspaceResponse.WorkspaceInfo; import com.aliyuncs.transform.UnmarshallerContext; public class GetUserWorkspaceResponseUnmarshaller { public static GetUserWorkspaceResponse unmarshall(GetUserWorkspaceResponse getUserWorkspaceResponse, UnmarshallerContext _ctx) { getUserWorkspaceResponse.setRequestId(_ctx.stringValue("GetUserWorkspaceResponse.RequestId")); getUserWorkspaceResponse.setMessage(_ctx.stringValue("GetUserWorkspaceResponse.Message")); getUserWorkspaceResponse.setHttpStatusCode(_ctx.integerValue("GetUserWorkspaceResponse.HttpStatusCode")); getUserWorkspaceResponse.setCode(_ctx.stringValue("GetUserWorkspaceResponse.Code")); getUserWorkspaceResponse.setSuccess(_ctx.booleanValue("GetUserWorkspaceResponse.Success")); List<WorkspaceInfo> workspaceList = new ArrayList<WorkspaceInfo>(); for (int i = 0; i < _ctx.lengthValue("GetUserWorkspaceResponse.WorkspaceList.Length"); i++) { WorkspaceInfo workspaceInfo = new WorkspaceInfo(); workspaceInfo.setType(_ctx.integerValue("GetUserWorkspaceResponse.WorkspaceList["+ i +"].Type")); workspaceInfo.setWorkspaceId(_ctx.stringValue("GetUserWorkspaceResponse.WorkspaceList["+ i +"].WorkspaceId")); workspaceInfo.setDescription(_ctx.stringValue("GetUserWorkspaceResponse.WorkspaceList["+ i +"].Description")); workspaceInfo.setName(_ctx.stringValue("GetUserWorkspaceResponse.WorkspaceList["+ i +"].Name")); workspaceList.add(workspaceInfo); } getUserWorkspaceResponse.setWorkspaceList(workspaceList); return getUserWorkspaceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListActiveAppsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListActiveAppsResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListActiveAppsResponse.DataItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListActiveAppsResponseUnmarshaller { public static ListActiveAppsResponse unmarshall(ListActiveAppsResponse listActiveAppsResponse, UnmarshallerContext _ctx) { listActiveAppsResponse.setRequestId(_ctx.stringValue("ListActiveAppsResponse.RequestId")); listActiveAppsResponse.setMessage(_ctx.stringValue("ListActiveAppsResponse.Message")); listActiveAppsResponse.setCode(_ctx.stringValue("ListActiveAppsResponse.Code")); listActiveAppsResponse.setSuccess(_ctx.booleanValue("ListActiveAppsResponse.Success")); List<DataItem> data = new ArrayList<DataItem>(); for (int i = 0; i < _ctx.lengthValue("ListActiveAppsResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); dataItem.setAppName(_ctx.stringValue("ListActiveAppsResponse.Data["+ i +"].AppName")); dataItem.setLastHealthPingTime(_ctx.longValue("ListActiveAppsResponse.Data["+ i +"].LastHealthPingTime")); dataItem.setCurrentLevel(_ctx.integerValue("ListActiveAppsResponse.Data["+ i +"].CurrentLevel")); dataItem.setNamespace(_ctx.stringValue("ListActiveAppsResponse.Data["+ i +"].Namespace")); dataItem.setAppType(_ctx.integerValue("ListActiveAppsResponse.Data["+ i +"].AppType")); dataItem.setDirtyLevel(_ctx.integerValue("ListActiveAppsResponse.Data["+ i +"].DirtyLevel")); dataItem.setAhasAppName(_ctx.stringValue("ListActiveAppsResponse.Data["+ i +"].AhasAppName")); data.add(dataItem); } listActiveAppsResponse.setData(data); return listActiveAppsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListDegradeRulesOfAppResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListDegradeRulesOfAppResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListDegradeRulesOfAppResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListDegradeRulesOfAppResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListDegradeRulesOfAppResponseUnmarshaller { public static ListDegradeRulesOfAppResponse unmarshall(ListDegradeRulesOfAppResponse listDegradeRulesOfAppResponse, UnmarshallerContext _ctx) { listDegradeRulesOfAppResponse.setRequestId(_ctx.stringValue("ListDegradeRulesOfAppResponse.RequestId")); listDegradeRulesOfAppResponse.setMessage(_ctx.stringValue("ListDegradeRulesOfAppResponse.Message")); listDegradeRulesOfAppResponse.setCode(_ctx.stringValue("ListDegradeRulesOfAppResponse.Code")); listDegradeRulesOfAppResponse.setSuccess(_ctx.booleanValue("ListDegradeRulesOfAppResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListDegradeRulesOfAppResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setSlowRtMs(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].SlowRtMs")); datasItem.setHalfOpenRecoveryStepNum(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].HalfOpenRecoveryStepNum")); datasItem.setNamespace(_ctx.stringValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].Namespace")); datasItem.setStatDurationMs(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].StatDurationMs")); datasItem.setRuleId(_ctx.longValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].RuleId")); datasItem.setStrategy(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].Strategy")); datasItem.setResource(_ctx.stringValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].Resource")); datasItem.setAppName(_ctx.stringValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].AppName")); datasItem.setHalfOpenBaseAmountPerStep(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].HalfOpenBaseAmountPerStep")); datasItem.setRecoveryTimeoutMs(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].RecoveryTimeoutMs")); datasItem.setMinRequestAmount(_ctx.integerValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].MinRequestAmount")); datasItem.setThreshold(_ctx.floatValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListDegradeRulesOfAppResponse.Data.Datas["+ i +"].Enable")); datas.add(datasItem); } data.setDatas(datas); listDegradeRulesOfAppResponse.setData(data); return listDegradeRulesOfAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListDegradeRulesOfResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListDegradeRulesOfResourceResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListDegradeRulesOfResourceResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListDegradeRulesOfResourceResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListDegradeRulesOfResourceResponseUnmarshaller { public static ListDegradeRulesOfResourceResponse unmarshall(ListDegradeRulesOfResourceResponse listDegradeRulesOfResourceResponse, UnmarshallerContext _ctx) { listDegradeRulesOfResourceResponse.setRequestId(_ctx.stringValue("ListDegradeRulesOfResourceResponse.RequestId")); listDegradeRulesOfResourceResponse.setMessage(_ctx.stringValue("ListDegradeRulesOfResourceResponse.Message")); listDegradeRulesOfResourceResponse.setCode(_ctx.stringValue("ListDegradeRulesOfResourceResponse.Code")); listDegradeRulesOfResourceResponse.setSuccess(_ctx.booleanValue("ListDegradeRulesOfResourceResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListDegradeRulesOfResourceResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setSlowRtMs(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].SlowRtMs")); datasItem.setHalfOpenRecoveryStepNum(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].HalfOpenRecoveryStepNum")); datasItem.setNamespace(_ctx.stringValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].Namespace")); datasItem.setStatDurationMs(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].StatDurationMs")); datasItem.setRuleId(_ctx.longValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].RuleId")); datasItem.setStrategy(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].Strategy")); datasItem.setResource(_ctx.stringValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].Resource")); datasItem.setAppName(_ctx.stringValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].AppName")); datasItem.setHalfOpenBaseAmountPerStep(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].HalfOpenBaseAmountPerStep")); datasItem.setRecoveryTimeoutMs(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].RecoveryTimeoutMs")); datasItem.setMinRequestAmount(_ctx.integerValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].MinRequestAmount")); datasItem.setThreshold(_ctx.floatValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListDegradeRulesOfResourceResponse.Data.Datas["+ i +"].Enable")); datas.add(datasItem); } data.setDatas(datas); listDegradeRulesOfResourceResponse.setData(data); return listDegradeRulesOfResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListExperimentMetasResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListExperimentMetasResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListExperimentMetasResponse.ContentItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListExperimentMetasResponseUnmarshaller { public static ListExperimentMetasResponse unmarshall(ListExperimentMetasResponse listExperimentMetasResponse, UnmarshallerContext _ctx) { listExperimentMetasResponse.setRequestId(_ctx.stringValue("ListExperimentMetasResponse.RequestId")); listExperimentMetasResponse.setPages(_ctx.integerValue("ListExperimentMetasResponse.Pages")); listExperimentMetasResponse.setMessage(_ctx.stringValue("ListExperimentMetasResponse.Message")); listExperimentMetasResponse.setPageSize(_ctx.integerValue("ListExperimentMetasResponse.PageSize")); listExperimentMetasResponse.setCurrentPage(_ctx.integerValue("ListExperimentMetasResponse.CurrentPage")); listExperimentMetasResponse.setTotal(_ctx.integerValue("ListExperimentMetasResponse.Total")); listExperimentMetasResponse.setCode(_ctx.stringValue("ListExperimentMetasResponse.Code")); listExperimentMetasResponse.setSuccess(_ctx.booleanValue("ListExperimentMetasResponse.Success")); List<ContentItem> content = new ArrayList<ContentItem>(); for (int i = 0; i < _ctx.lengthValue("ListExperimentMetasResponse.Content.Length"); i++) { ContentItem contentItem = new ContentItem(); contentItem.setState(_ctx.stringValue("ListExperimentMetasResponse.Content["+ i +"].State")); contentItem.setCreateTime(_ctx.longValue("ListExperimentMetasResponse.Content["+ i +"].CreateTime")); contentItem.setExperimentId(_ctx.stringValue("ListExperimentMetasResponse.Content["+ i +"].ExperimentId")); contentItem.setName(_ctx.stringValue("ListExperimentMetasResponse.Content["+ i +"].Name")); List<String> tags = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("ListExperimentMetasResponse.Content["+ i +"].Tags.Length"); j++) { tags.add(_ctx.stringValue("ListExperimentMetasResponse.Content["+ i +"].Tags["+ j +"]")); } contentItem.setTags(tags); content.add(contentItem); } listExperimentMetasResponse.setContent(content); return listExperimentMetasResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListFlowRulesOfAppResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListFlowRulesOfAppResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListFlowRulesOfAppResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListFlowRulesOfAppResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListFlowRulesOfAppResponseUnmarshaller { public static ListFlowRulesOfAppResponse unmarshall(ListFlowRulesOfAppResponse listFlowRulesOfAppResponse, UnmarshallerContext _ctx) { listFlowRulesOfAppResponse.setRequestId(_ctx.stringValue("ListFlowRulesOfAppResponse.RequestId")); listFlowRulesOfAppResponse.setMessage(_ctx.stringValue("ListFlowRulesOfAppResponse.Message")); listFlowRulesOfAppResponse.setCode(_ctx.stringValue("ListFlowRulesOfAppResponse.Code")); listFlowRulesOfAppResponse.setSuccess(_ctx.booleanValue("ListFlowRulesOfAppResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListFlowRulesOfAppResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setRefResource(_ctx.stringValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].RefResource")); datasItem.setClusterFallbackThreshold(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ClusterFallbackThreshold")); datasItem.setNamespace(_ctx.stringValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].Namespace")); datasItem.setLimitOrigin(_ctx.stringValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].LimitOrigin")); datasItem.setStatDurationMs(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].StatDurationMs")); datasItem.setClusterThresholdType(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ClusterThresholdType")); datasItem.setRuleId(_ctx.longValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].RuleId")); datasItem.setRelationStrategy(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].RelationStrategy")); datasItem.setAppName(_ctx.stringValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].AppName")); datasItem.setResource(_ctx.stringValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].Resource")); datasItem.setClusterEstimatedMaxQps(_ctx.floatValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ClusterEstimatedMaxQps")); datasItem.setControlBehavior(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ControlBehavior")); datasItem.setMaxQueueingTimeMs(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].MaxQueueingTimeMs")); datasItem.setClusterFallbackStrategy(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ClusterFallbackStrategy")); datasItem.setWarmUpPeriodSec(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].WarmUpPeriodSec")); datasItem.setClusterMode(_ctx.booleanValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ClusterMode")); datasItem.setThresholdMode(_ctx.integerValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].ThresholdMode")); datasItem.setThreshold(_ctx.floatValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListFlowRulesOfAppResponse.Data.Datas["+ i +"].Enable")); datas.add(datasItem); } data.setDatas(datas); listFlowRulesOfAppResponse.setData(data); return listFlowRulesOfAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListFlowRulesOfResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListFlowRulesOfResourceResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListFlowRulesOfResourceResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListFlowRulesOfResourceResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListFlowRulesOfResourceResponseUnmarshaller { public static ListFlowRulesOfResourceResponse unmarshall(ListFlowRulesOfResourceResponse listFlowRulesOfResourceResponse, UnmarshallerContext _ctx) { listFlowRulesOfResourceResponse.setRequestId(_ctx.stringValue("ListFlowRulesOfResourceResponse.RequestId")); listFlowRulesOfResourceResponse.setMessage(_ctx.stringValue("ListFlowRulesOfResourceResponse.Message")); listFlowRulesOfResourceResponse.setCode(_ctx.stringValue("ListFlowRulesOfResourceResponse.Code")); listFlowRulesOfResourceResponse.setSuccess(_ctx.booleanValue("ListFlowRulesOfResourceResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListFlowRulesOfResourceResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setRefResource(_ctx.stringValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].RefResource")); datasItem.setClusterFallbackThreshold(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ClusterFallbackThreshold")); datasItem.setNamespace(_ctx.stringValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].Namespace")); datasItem.setLimitOrigin(_ctx.stringValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].LimitOrigin")); datasItem.setStatDurationMs(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].StatDurationMs")); datasItem.setClusterThresholdType(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ClusterThresholdType")); datasItem.setRuleId(_ctx.longValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].RuleId")); datasItem.setRelationStrategy(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].RelationStrategy")); datasItem.setAppName(_ctx.stringValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].AppName")); datasItem.setResource(_ctx.stringValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].Resource")); datasItem.setClusterEstimatedMaxQps(_ctx.floatValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ClusterEstimatedMaxQps")); datasItem.setControlBehavior(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ControlBehavior")); datasItem.setMaxQueueingTimeMs(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].MaxQueueingTimeMs")); datasItem.setClusterFallbackStrategy(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ClusterFallbackStrategy")); datasItem.setWarmUpPeriodSec(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].WarmUpPeriodSec")); datasItem.setClusterMode(_ctx.booleanValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ClusterMode")); datasItem.setThresholdMode(_ctx.integerValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].ThresholdMode")); datasItem.setThreshold(_ctx.floatValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListFlowRulesOfResourceResponse.Data.Datas["+ i +"].Enable")); datas.add(datasItem); } data.setDatas(datas); listFlowRulesOfResourceResponse.setData(data); return listFlowRulesOfResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListHotParamRulesOfAppResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfAppResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfAppResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfAppResponse.Data.DatasItem; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfAppResponse.Data.DatasItem.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListHotParamRulesOfAppResponseUnmarshaller { public static ListHotParamRulesOfAppResponse unmarshall(ListHotParamRulesOfAppResponse listHotParamRulesOfAppResponse, UnmarshallerContext _ctx) { listHotParamRulesOfAppResponse.setRequestId(_ctx.stringValue("ListHotParamRulesOfAppResponse.RequestId")); listHotParamRulesOfAppResponse.setMessage(_ctx.stringValue("ListHotParamRulesOfAppResponse.Message")); listHotParamRulesOfAppResponse.setCode(_ctx.stringValue("ListHotParamRulesOfAppResponse.Code")); listHotParamRulesOfAppResponse.setSuccess(_ctx.booleanValue("ListHotParamRulesOfAppResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListHotParamRulesOfAppResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setParamIdx(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].ParamIdx")); datasItem.setNamespace(_ctx.stringValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].Namespace")); datasItem.setStatDurationSec(_ctx.longValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].StatDurationSec")); datasItem.setBurstCount(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].BurstCount")); datasItem.setRuleId(_ctx.longValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].RuleId")); datasItem.setResource(_ctx.stringValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].Resource")); datasItem.setAppName(_ctx.stringValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].AppName")); datasItem.setMaxQueueingTimeMs(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].MaxQueueingTimeMs")); datasItem.setControlBehavior(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].ControlBehavior")); datasItem.setMetricType(_ctx.integerValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].MetricType")); datasItem.setThreshold(_ctx.floatValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int j = 0; j < _ctx.lengthValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].ParamFlowItemList.Length"); j++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].ParamFlowItemList["+ j +"].ItemValue")); paramFlowItemListItem.setItemType(_ctx.stringValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].ParamFlowItemList["+ j +"].ItemType")); paramFlowItemListItem.setThreshold(_ctx.floatValue("ListHotParamRulesOfAppResponse.Data.Datas["+ i +"].ParamFlowItemList["+ j +"].Threshold")); paramFlowItemList.add(paramFlowItemListItem); } datasItem.setParamFlowItemList(paramFlowItemList); datas.add(datasItem); } data.setDatas(datas); listHotParamRulesOfAppResponse.setData(data); return listHotParamRulesOfAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListHotParamRulesOfResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfResourceResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfResourceResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfResourceResponse.Data.DatasItem; import com.aliyuncs.ahas_openapi.model.v20190901.ListHotParamRulesOfResourceResponse.Data.DatasItem.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListHotParamRulesOfResourceResponseUnmarshaller { public static ListHotParamRulesOfResourceResponse unmarshall(ListHotParamRulesOfResourceResponse listHotParamRulesOfResourceResponse, UnmarshallerContext _ctx) { listHotParamRulesOfResourceResponse.setRequestId(_ctx.stringValue("ListHotParamRulesOfResourceResponse.RequestId")); listHotParamRulesOfResourceResponse.setMessage(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Message")); listHotParamRulesOfResourceResponse.setCode(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Code")); listHotParamRulesOfResourceResponse.setSuccess(_ctx.booleanValue("ListHotParamRulesOfResourceResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListHotParamRulesOfResourceResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setParamIdx(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].ParamIdx")); datasItem.setNamespace(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].Namespace")); datasItem.setStatDurationSec(_ctx.longValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].StatDurationSec")); datasItem.setBurstCount(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].BurstCount")); datasItem.setRuleId(_ctx.longValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].RuleId")); datasItem.setResource(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].Resource")); datasItem.setAppName(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].AppName")); datasItem.setMaxQueueingTimeMs(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].MaxQueueingTimeMs")); datasItem.setControlBehavior(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].ControlBehavior")); datasItem.setMetricType(_ctx.integerValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].MetricType")); datasItem.setThreshold(_ctx.floatValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int j = 0; j < _ctx.lengthValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].ParamFlowItemList.Length"); j++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].ParamFlowItemList["+ j +"].ItemValue")); paramFlowItemListItem.setItemType(_ctx.stringValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].ParamFlowItemList["+ j +"].ItemType")); paramFlowItemListItem.setThreshold(_ctx.floatValue("ListHotParamRulesOfResourceResponse.Data.Datas["+ i +"].ParamFlowItemList["+ j +"].Threshold")); paramFlowItemList.add(paramFlowItemListItem); } datasItem.setParamFlowItemList(paramFlowItemList); datas.add(datasItem); } data.setDatas(datas); listHotParamRulesOfResourceResponse.setData(data); return listHotParamRulesOfResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListIsolationRulesOfAppResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListIsolationRulesOfAppResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListIsolationRulesOfAppResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListIsolationRulesOfAppResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListIsolationRulesOfAppResponseUnmarshaller { public static ListIsolationRulesOfAppResponse unmarshall(ListIsolationRulesOfAppResponse listIsolationRulesOfAppResponse, UnmarshallerContext _ctx) { listIsolationRulesOfAppResponse.setRequestId(_ctx.stringValue("ListIsolationRulesOfAppResponse.RequestId")); listIsolationRulesOfAppResponse.setMessage(_ctx.stringValue("ListIsolationRulesOfAppResponse.Message")); listIsolationRulesOfAppResponse.setCode(_ctx.stringValue("ListIsolationRulesOfAppResponse.Code")); listIsolationRulesOfAppResponse.setSuccess(_ctx.booleanValue("ListIsolationRulesOfAppResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListIsolationRulesOfAppResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListIsolationRulesOfAppResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListIsolationRulesOfAppResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListIsolationRulesOfAppResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListIsolationRulesOfAppResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setRelationStrategy(_ctx.integerValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].RelationStrategy")); datasItem.setResource(_ctx.stringValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].Resource")); datasItem.setAppName(_ctx.stringValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].AppName")); datasItem.setRefResource(_ctx.stringValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].RefResource")); datasItem.setNamespace(_ctx.stringValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].Namespace")); datasItem.setLimitOrigin(_ctx.stringValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].LimitOrigin")); datasItem.setThreshold(_ctx.floatValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].Threshold")); datasItem.setRuleId(_ctx.longValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].RuleId")); datasItem.setEnable(_ctx.booleanValue("ListIsolationRulesOfAppResponse.Data.Datas["+ i +"].Enable")); datas.add(datasItem); } data.setDatas(datas); listIsolationRulesOfAppResponse.setData(data); return listIsolationRulesOfAppResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListIsolationRulesOfResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListIsolationRulesOfResourceResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListIsolationRulesOfResourceResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListIsolationRulesOfResourceResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListIsolationRulesOfResourceResponseUnmarshaller { public static ListIsolationRulesOfResourceResponse unmarshall(ListIsolationRulesOfResourceResponse listIsolationRulesOfResourceResponse, UnmarshallerContext _ctx) { listIsolationRulesOfResourceResponse.setRequestId(_ctx.stringValue("ListIsolationRulesOfResourceResponse.RequestId")); listIsolationRulesOfResourceResponse.setMessage(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Message")); listIsolationRulesOfResourceResponse.setCode(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Code")); listIsolationRulesOfResourceResponse.setSuccess(_ctx.booleanValue("ListIsolationRulesOfResourceResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListIsolationRulesOfResourceResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListIsolationRulesOfResourceResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListIsolationRulesOfResourceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListIsolationRulesOfResourceResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListIsolationRulesOfResourceResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setRelationStrategy(_ctx.integerValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].RelationStrategy")); datasItem.setResource(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].Resource")); datasItem.setAppName(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].AppName")); datasItem.setRefResource(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].RefResource")); datasItem.setNamespace(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].Namespace")); datasItem.setLimitOrigin(_ctx.stringValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].LimitOrigin")); datasItem.setThreshold(_ctx.floatValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].Threshold")); datasItem.setRuleId(_ctx.longValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].RuleId")); datasItem.setEnable(_ctx.booleanValue("ListIsolationRulesOfResourceResponse.Data.Datas["+ i +"].Enable")); datas.add(datasItem); } data.setDatas(datas); listIsolationRulesOfResourceResponse.setData(data); return listIsolationRulesOfResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ListSystemRulesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ListSystemRulesResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ListSystemRulesResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ListSystemRulesResponse.Data.DatasItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListSystemRulesResponseUnmarshaller { public static ListSystemRulesResponse unmarshall(ListSystemRulesResponse listSystemRulesResponse, UnmarshallerContext _ctx) { listSystemRulesResponse.setRequestId(_ctx.stringValue("ListSystemRulesResponse.RequestId")); listSystemRulesResponse.setMessage(_ctx.stringValue("ListSystemRulesResponse.Message")); listSystemRulesResponse.setCode(_ctx.stringValue("ListSystemRulesResponse.Code")); listSystemRulesResponse.setSuccess(_ctx.booleanValue("ListSystemRulesResponse.Success")); Data data = new Data(); data.setPageIndex(_ctx.integerValue("ListSystemRulesResponse.Data.PageIndex")); data.setTotalPage(_ctx.integerValue("ListSystemRulesResponse.Data.TotalPage")); data.setPageSize(_ctx.integerValue("ListSystemRulesResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("ListSystemRulesResponse.Data.TotalCount")); List<DatasItem> datas = new ArrayList<DatasItem>(); for (int i = 0; i < _ctx.lengthValue("ListSystemRulesResponse.Data.Datas.Length"); i++) { DatasItem datasItem = new DatasItem(); datasItem.setAppName(_ctx.stringValue("ListSystemRulesResponse.Data.Datas["+ i +"].AppName")); datasItem.setNamespace(_ctx.stringValue("ListSystemRulesResponse.Data.Datas["+ i +"].Namespace")); datasItem.setMetricType(_ctx.integerValue("ListSystemRulesResponse.Data.Datas["+ i +"].MetricType")); datasItem.setThreshold(_ctx.floatValue("ListSystemRulesResponse.Data.Datas["+ i +"].Threshold")); datasItem.setEnable(_ctx.booleanValue("ListSystemRulesResponse.Data.Datas["+ i +"].Enable")); datasItem.setRuleId(_ctx.longValue("ListSystemRulesResponse.Data.Datas["+ i +"].RuleId")); datas.add(datasItem); } data.setDatas(datas); listSystemRulesResponse.setData(data); return listSystemRulesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ModifyDegradeRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyDegradeRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyDegradeRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDegradeRuleResponseUnmarshaller { public static ModifyDegradeRuleResponse unmarshall(ModifyDegradeRuleResponse modifyDegradeRuleResponse, UnmarshallerContext _ctx) { modifyDegradeRuleResponse.setRequestId(_ctx.stringValue("ModifyDegradeRuleResponse.RequestId")); modifyDegradeRuleResponse.setMessage(_ctx.stringValue("ModifyDegradeRuleResponse.Message")); modifyDegradeRuleResponse.setCode(_ctx.stringValue("ModifyDegradeRuleResponse.Code")); modifyDegradeRuleResponse.setSuccess(_ctx.booleanValue("ModifyDegradeRuleResponse.Success")); Data data = new Data(); data.setSlowRtMs(_ctx.integerValue("ModifyDegradeRuleResponse.Data.SlowRtMs")); data.setHalfOpenRecoveryStepNum(_ctx.integerValue("ModifyDegradeRuleResponse.Data.HalfOpenRecoveryStepNum")); data.setNamespace(_ctx.stringValue("ModifyDegradeRuleResponse.Data.Namespace")); data.setStatDurationMs(_ctx.integerValue("ModifyDegradeRuleResponse.Data.StatDurationMs")); data.setRuleId(_ctx.longValue("ModifyDegradeRuleResponse.Data.RuleId")); data.setStrategy(_ctx.integerValue("ModifyDegradeRuleResponse.Data.Strategy")); data.setResource(_ctx.stringValue("ModifyDegradeRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("ModifyDegradeRuleResponse.Data.AppName")); data.setHalfOpenBaseAmountPerStep(_ctx.integerValue("ModifyDegradeRuleResponse.Data.HalfOpenBaseAmountPerStep")); data.setRecoveryTimeoutMs(_ctx.integerValue("ModifyDegradeRuleResponse.Data.RecoveryTimeoutMs")); data.setMinRequestAmount(_ctx.integerValue("ModifyDegradeRuleResponse.Data.MinRequestAmount")); data.setThreshold(_ctx.floatValue("ModifyDegradeRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("ModifyDegradeRuleResponse.Data.Enable")); modifyDegradeRuleResponse.setData(data); return modifyDegradeRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ModifyFlowRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyFlowRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyFlowRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyFlowRuleResponseUnmarshaller { public static ModifyFlowRuleResponse unmarshall(ModifyFlowRuleResponse modifyFlowRuleResponse, UnmarshallerContext _ctx) { modifyFlowRuleResponse.setRequestId(_ctx.stringValue("ModifyFlowRuleResponse.RequestId")); modifyFlowRuleResponse.setMessage(_ctx.stringValue("ModifyFlowRuleResponse.Message")); modifyFlowRuleResponse.setCode(_ctx.stringValue("ModifyFlowRuleResponse.Code")); modifyFlowRuleResponse.setSuccess(_ctx.booleanValue("ModifyFlowRuleResponse.Success")); Data data = new Data(); data.setRefResource(_ctx.stringValue("ModifyFlowRuleResponse.Data.RefResource")); data.setClusterFallbackThreshold(_ctx.integerValue("ModifyFlowRuleResponse.Data.ClusterFallbackThreshold")); data.setNamespace(_ctx.stringValue("ModifyFlowRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("ModifyFlowRuleResponse.Data.LimitOrigin")); data.setStatDurationMs(_ctx.integerValue("ModifyFlowRuleResponse.Data.StatDurationMs")); data.setClusterThresholdType(_ctx.integerValue("ModifyFlowRuleResponse.Data.ClusterThresholdType")); data.setRuleId(_ctx.longValue("ModifyFlowRuleResponse.Data.RuleId")); data.setRelationStrategy(_ctx.integerValue("ModifyFlowRuleResponse.Data.RelationStrategy")); data.setAppName(_ctx.stringValue("ModifyFlowRuleResponse.Data.AppName")); data.setResource(_ctx.stringValue("ModifyFlowRuleResponse.Data.Resource")); data.setMaxQueueingTimeMs(_ctx.integerValue("ModifyFlowRuleResponse.Data.MaxQueueingTimeMs")); data.setClusterEstimatedMaxQps(_ctx.floatValue("ModifyFlowRuleResponse.Data.ClusterEstimatedMaxQps")); data.setControlBehavior(_ctx.integerValue("ModifyFlowRuleResponse.Data.ControlBehavior")); data.setWarmUpPeriodSec(_ctx.integerValue("ModifyFlowRuleResponse.Data.WarmUpPeriodSec")); data.setClusterFallbackStrategy(_ctx.integerValue("ModifyFlowRuleResponse.Data.ClusterFallbackStrategy")); data.setThreshold(_ctx.floatValue("ModifyFlowRuleResponse.Data.Threshold")); data.setThresholdMode(_ctx.integerValue("ModifyFlowRuleResponse.Data.ThresholdMode")); data.setClusterMode(_ctx.booleanValue("ModifyFlowRuleResponse.Data.ClusterMode")); data.setEnable(_ctx.booleanValue("ModifyFlowRuleResponse.Data.Enable")); modifyFlowRuleResponse.setData(data); return modifyFlowRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ModifyHotParamRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyHotParamRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyHotParamRuleResponse.Data; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyHotParamRuleResponse.Data.ParamFlowItemListItem; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyHotParamRuleResponseUnmarshaller { public static ModifyHotParamRuleResponse unmarshall(ModifyHotParamRuleResponse modifyHotParamRuleResponse, UnmarshallerContext _ctx) { modifyHotParamRuleResponse.setRequestId(_ctx.stringValue("ModifyHotParamRuleResponse.RequestId")); modifyHotParamRuleResponse.setMessage(_ctx.stringValue("ModifyHotParamRuleResponse.Message")); modifyHotParamRuleResponse.setCode(_ctx.stringValue("ModifyHotParamRuleResponse.Code")); modifyHotParamRuleResponse.setSuccess(_ctx.booleanValue("ModifyHotParamRuleResponse.Success")); Data data = new Data(); data.setParamIdx(_ctx.integerValue("ModifyHotParamRuleResponse.Data.ParamIdx")); data.setNamespace(_ctx.stringValue("ModifyHotParamRuleResponse.Data.Namespace")); data.setStatDurationSec(_ctx.longValue("ModifyHotParamRuleResponse.Data.StatDurationSec")); data.setBurstCount(_ctx.integerValue("ModifyHotParamRuleResponse.Data.BurstCount")); data.setRuleId(_ctx.longValue("ModifyHotParamRuleResponse.Data.RuleId")); data.setResource(_ctx.stringValue("ModifyHotParamRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("ModifyHotParamRuleResponse.Data.AppName")); data.setMaxQueueingTimeMs(_ctx.integerValue("ModifyHotParamRuleResponse.Data.MaxQueueingTimeMs")); data.setControlBehavior(_ctx.integerValue("ModifyHotParamRuleResponse.Data.ControlBehavior")); data.setMetricType(_ctx.integerValue("ModifyHotParamRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("ModifyHotParamRuleResponse.Data.Threshold")); data.setEnable(_ctx.booleanValue("ModifyHotParamRuleResponse.Data.Enable")); List<ParamFlowItemListItem> paramFlowItemList = new ArrayList<ParamFlowItemListItem>(); for (int i = 0; i < _ctx.lengthValue("ModifyHotParamRuleResponse.Data.ParamFlowItemList.Length"); i++) { ParamFlowItemListItem paramFlowItemListItem = new ParamFlowItemListItem(); paramFlowItemListItem.setItemValue(_ctx.stringValue("ModifyHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemValue")); paramFlowItemListItem.setItemType(_ctx.stringValue("ModifyHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].ItemType")); paramFlowItemListItem.setThreshold(_ctx.floatValue("ModifyHotParamRuleResponse.Data.ParamFlowItemList["+ i +"].Threshold")); paramFlowItemList.add(paramFlowItemListItem); } data.setParamFlowItemList(paramFlowItemList); modifyHotParamRuleResponse.setData(data); return modifyHotParamRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ModifyIsolationRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyIsolationRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ModifyIsolationRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyIsolationRuleResponseUnmarshaller { public static ModifyIsolationRuleResponse unmarshall(ModifyIsolationRuleResponse modifyIsolationRuleResponse, UnmarshallerContext _ctx) { modifyIsolationRuleResponse.setRequestId(_ctx.stringValue("ModifyIsolationRuleResponse.RequestId")); modifyIsolationRuleResponse.setMessage(_ctx.stringValue("ModifyIsolationRuleResponse.Message")); modifyIsolationRuleResponse.setCode(_ctx.stringValue("ModifyIsolationRuleResponse.Code")); modifyIsolationRuleResponse.setSuccess(_ctx.booleanValue("ModifyIsolationRuleResponse.Success")); Data data = new Data(); data.setRelationStrategy(_ctx.integerValue("ModifyIsolationRuleResponse.Data.RelationStrategy")); data.setResource(_ctx.stringValue("ModifyIsolationRuleResponse.Data.Resource")); data.setAppName(_ctx.stringValue("ModifyIsolationRuleResponse.Data.AppName")); data.setRefResource(_ctx.stringValue("ModifyIsolationRuleResponse.Data.RefResource")); data.setNamespace(_ctx.stringValue("ModifyIsolationRuleResponse.Data.Namespace")); data.setLimitOrigin(_ctx.stringValue("ModifyIsolationRuleResponse.Data.LimitOrigin")); data.setThreshold(_ctx.floatValue("ModifyIsolationRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("ModifyIsolationRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("ModifyIsolationRuleResponse.Data.Enable")); modifyIsolationRuleResponse.setData(data); return modifyIsolationRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/ModifySystemRuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.ModifySystemRuleResponse; import com.aliyuncs.ahas_openapi.model.v20190901.ModifySystemRuleResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ModifySystemRuleResponseUnmarshaller { public static ModifySystemRuleResponse unmarshall(ModifySystemRuleResponse modifySystemRuleResponse, UnmarshallerContext _ctx) { modifySystemRuleResponse.setRequestId(_ctx.stringValue("ModifySystemRuleResponse.RequestId")); modifySystemRuleResponse.setMessage(_ctx.stringValue("ModifySystemRuleResponse.Message")); modifySystemRuleResponse.setCode(_ctx.stringValue("ModifySystemRuleResponse.Code")); modifySystemRuleResponse.setSuccess(_ctx.booleanValue("ModifySystemRuleResponse.Success")); Data data = new Data(); data.setMetricType(_ctx.integerValue("ModifySystemRuleResponse.Data.MetricType")); data.setThreshold(_ctx.floatValue("ModifySystemRuleResponse.Data.Threshold")); data.setRuleId(_ctx.longValue("ModifySystemRuleResponse.Data.RuleId")); data.setEnable(_ctx.booleanValue("ModifySystemRuleResponse.Data.Enable")); modifySystemRuleResponse.setData(data); return modifySystemRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/OpenAhasServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.OpenAhasServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class OpenAhasServiceResponseUnmarshaller { public static OpenAhasServiceResponse unmarshall(OpenAhasServiceResponse openAhasServiceResponse, UnmarshallerContext _ctx) { openAhasServiceResponse.setRequestId(_ctx.stringValue("OpenAhasServiceResponse.RequestId")); openAhasServiceResponse.setOrderId(_ctx.stringValue("OpenAhasServiceResponse.OrderId")); return openAhasServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/PageableQueryExperimentTaskByClusterIdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByClusterIdResponse; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByClusterIdResponse.ExperimentTaskInfo; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByClusterIdResponse.ExperimentTaskInfo.Creator; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByClusterIdResponse.ExperimentTaskInfo.ExtInfo; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByClusterIdResponse.ExperimentTaskInfo.ExtInfo.SchedulerConfig; import com.aliyuncs.transform.UnmarshallerContext; public class PageableQueryExperimentTaskByClusterIdResponseUnmarshaller { public static PageableQueryExperimentTaskByClusterIdResponse unmarshall(PageableQueryExperimentTaskByClusterIdResponse pageableQueryExperimentTaskByClusterIdResponse, UnmarshallerContext _ctx) { pageableQueryExperimentTaskByClusterIdResponse.setRequestId(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.RequestId")); pageableQueryExperimentTaskByClusterIdResponse.setPages(_ctx.integerValue("PageableQueryExperimentTaskByClusterIdResponse.Pages")); pageableQueryExperimentTaskByClusterIdResponse.setMessage(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.Message")); pageableQueryExperimentTaskByClusterIdResponse.setPageSize(_ctx.integerValue("PageableQueryExperimentTaskByClusterIdResponse.PageSize")); pageableQueryExperimentTaskByClusterIdResponse.setCurrentPage(_ctx.integerValue("PageableQueryExperimentTaskByClusterIdResponse.CurrentPage")); pageableQueryExperimentTaskByClusterIdResponse.setTotal(_ctx.integerValue("PageableQueryExperimentTaskByClusterIdResponse.Total")); pageableQueryExperimentTaskByClusterIdResponse.setHttpStatusCode(_ctx.integerValue("PageableQueryExperimentTaskByClusterIdResponse.HttpStatusCode")); pageableQueryExperimentTaskByClusterIdResponse.setCode(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.Code")); pageableQueryExperimentTaskByClusterIdResponse.setSuccess(_ctx.booleanValue("PageableQueryExperimentTaskByClusterIdResponse.Success")); List<ExperimentTaskInfo> experimentTasks = new ArrayList<ExperimentTaskInfo>(); for (int i = 0; i < _ctx.lengthValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks.Length"); i++) { ExperimentTaskInfo experimentTaskInfo = new ExperimentTaskInfo(); experimentTaskInfo.setEndTime(_ctx.longValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].EndTime")); experimentTaskInfo.setStartTime(_ctx.longValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].StartTime")); experimentTaskInfo.setResult(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].Result")); experimentTaskInfo.setState(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].State")); experimentTaskInfo.setCurrentPhase(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].CurrentPhase")); experimentTaskInfo.setExperimentId(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].ExperimentId")); experimentTaskInfo.setMessage(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].Message")); experimentTaskInfo.setTaskId(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].TaskId")); experimentTaskInfo.setExperimentName(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].ExperimentName")); experimentTaskInfo.setNamespace(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].Namespace")); ExtInfo extInfo = new ExtInfo(); SchedulerConfig schedulerConfig = new SchedulerConfig(); schedulerConfig.setFixedTime(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].ExtInfo.SchedulerConfig.FixedTime")); schedulerConfig.setCronExpression(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].ExtInfo.SchedulerConfig.CronExpression")); extInfo.setSchedulerConfig(schedulerConfig); experimentTaskInfo.setExtInfo(extInfo); Creator creator = new Creator(); creator.setSubUserId(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].Creator.SubUserId")); creator.setUserId(_ctx.stringValue("PageableQueryExperimentTaskByClusterIdResponse.ExperimentTasks["+ i +"].Creator.UserId")); experimentTaskInfo.setCreator(creator); experimentTasks.add(experimentTaskInfo); } pageableQueryExperimentTaskByClusterIdResponse.setExperimentTasks(experimentTasks); return pageableQueryExperimentTaskByClusterIdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/PageableQueryExperimentTaskByExperimentIdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByExperimentIdResponse; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTaskInfo; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTaskInfo.Creator; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTaskInfo.ExtInfo; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTaskInfo.ExtInfo.SchedulerConfig; import com.aliyuncs.transform.UnmarshallerContext; public class PageableQueryExperimentTaskByExperimentIdResponseUnmarshaller { public static PageableQueryExperimentTaskByExperimentIdResponse unmarshall(PageableQueryExperimentTaskByExperimentIdResponse pageableQueryExperimentTaskByExperimentIdResponse, UnmarshallerContext _ctx) { pageableQueryExperimentTaskByExperimentIdResponse.setRequestId(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.RequestId")); pageableQueryExperimentTaskByExperimentIdResponse.setPages(_ctx.integerValue("PageableQueryExperimentTaskByExperimentIdResponse.Pages")); pageableQueryExperimentTaskByExperimentIdResponse.setMessage(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.Message")); pageableQueryExperimentTaskByExperimentIdResponse.setPageSize(_ctx.integerValue("PageableQueryExperimentTaskByExperimentIdResponse.PageSize")); pageableQueryExperimentTaskByExperimentIdResponse.setCurrentPage(_ctx.integerValue("PageableQueryExperimentTaskByExperimentIdResponse.CurrentPage")); pageableQueryExperimentTaskByExperimentIdResponse.setTotal(_ctx.integerValue("PageableQueryExperimentTaskByExperimentIdResponse.Total")); pageableQueryExperimentTaskByExperimentIdResponse.setHttpStatusCode(_ctx.integerValue("PageableQueryExperimentTaskByExperimentIdResponse.HttpStatusCode")); pageableQueryExperimentTaskByExperimentIdResponse.setCode(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.Code")); pageableQueryExperimentTaskByExperimentIdResponse.setSuccess(_ctx.booleanValue("PageableQueryExperimentTaskByExperimentIdResponse.Success")); List<ExperimentTaskInfo> experimentTasks = new ArrayList<ExperimentTaskInfo>(); for (int i = 0; i < _ctx.lengthValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks.Length"); i++) { ExperimentTaskInfo experimentTaskInfo = new ExperimentTaskInfo(); experimentTaskInfo.setEndTime(_ctx.longValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].EndTime")); experimentTaskInfo.setStartTime(_ctx.longValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].StartTime")); experimentTaskInfo.setResult(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].Result")); experimentTaskInfo.setState(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].State")); experimentTaskInfo.setCurrentPhase(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].CurrentPhase")); experimentTaskInfo.setExperimentId(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].ExperimentId")); experimentTaskInfo.setMessage(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].Message")); experimentTaskInfo.setTaskId(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].TaskId")); experimentTaskInfo.setExperimentName(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].ExperimentName")); experimentTaskInfo.setNamespace(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].Namespace")); ExtInfo extInfo = new ExtInfo(); SchedulerConfig schedulerConfig = new SchedulerConfig(); schedulerConfig.setFixedTime(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].ExtInfo.SchedulerConfig.FixedTime")); schedulerConfig.setCronExpression(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].ExtInfo.SchedulerConfig.CronExpression")); extInfo.setSchedulerConfig(schedulerConfig); experimentTaskInfo.setExtInfo(extInfo); Creator creator = new Creator(); creator.setSubUserId(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].Creator.SubUserId")); creator.setUserId(_ctx.stringValue("PageableQueryExperimentTaskByExperimentIdResponse.ExperimentTasks["+ i +"].Creator.UserId")); experimentTaskInfo.setCreator(creator); experimentTasks.add(experimentTaskInfo); } pageableQueryExperimentTaskByExperimentIdResponse.setExperimentTasks(experimentTasks); return pageableQueryExperimentTaskByExperimentIdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/PageableQueryUserExperimentResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import java.util.ArrayList; import java.util.List; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryUserExperimentResponse; import com.aliyuncs.ahas_openapi.model.v20190901.PageableQueryUserExperimentResponse.ExperimentInfo; import com.aliyuncs.transform.UnmarshallerContext; public class PageableQueryUserExperimentResponseUnmarshaller { public static PageableQueryUserExperimentResponse unmarshall(PageableQueryUserExperimentResponse pageableQueryUserExperimentResponse, UnmarshallerContext _ctx) { pageableQueryUserExperimentResponse.setRequestId(_ctx.stringValue("PageableQueryUserExperimentResponse.RequestId")); pageableQueryUserExperimentResponse.setPages(_ctx.integerValue("PageableQueryUserExperimentResponse.Pages")); pageableQueryUserExperimentResponse.setMessage(_ctx.stringValue("PageableQueryUserExperimentResponse.Message")); pageableQueryUserExperimentResponse.setPageSize(_ctx.integerValue("PageableQueryUserExperimentResponse.PageSize")); pageableQueryUserExperimentResponse.setCurrentPage(_ctx.integerValue("PageableQueryUserExperimentResponse.CurrentPage")); pageableQueryUserExperimentResponse.setTotal(_ctx.integerValue("PageableQueryUserExperimentResponse.Total")); pageableQueryUserExperimentResponse.setHttpStatusCode(_ctx.integerValue("PageableQueryUserExperimentResponse.HttpStatusCode")); pageableQueryUserExperimentResponse.setCode(_ctx.stringValue("PageableQueryUserExperimentResponse.Code")); pageableQueryUserExperimentResponse.setSuccess(_ctx.booleanValue("PageableQueryUserExperimentResponse.Success")); List<ExperimentInfo> experimentList = new ArrayList<ExperimentInfo>(); for (int i = 0; i < _ctx.lengthValue("PageableQueryUserExperimentResponse.ExperimentList.Length"); i++) { ExperimentInfo experimentInfo = new ExperimentInfo(); experimentInfo.setPermission(_ctx.integerValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].Permission")); experimentInfo.setResult(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].Result")); experimentInfo.setState(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].State")); experimentInfo.setCreateTime(_ctx.longValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].CreateTime")); experimentInfo.setExperimentId(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].ExperimentId")); experimentInfo.setName(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].Name")); experimentInfo.setCreator(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].Creator")); List<String> tags = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].Tags.Length"); j++) { tags.add(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].Tags["+ j +"]")); } experimentInfo.setTags(tags); List<String> miniApps = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].MiniApps.Length"); j++) { miniApps.add(_ctx.stringValue("PageableQueryUserExperimentResponse.ExperimentList["+ i +"].MiniApps["+ j +"]")); } experimentInfo.setMiniApps(miniApps); experimentList.add(experimentInfo); } pageableQueryUserExperimentResponse.setExperimentList(experimentList); return pageableQueryUserExperimentResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/PushExperimentTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.PushExperimentTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class PushExperimentTaskResponseUnmarshaller { public static PushExperimentTaskResponse unmarshall(PushExperimentTaskResponse pushExperimentTaskResponse, UnmarshallerContext _ctx) { pushExperimentTaskResponse.setRequestId(_ctx.stringValue("PushExperimentTaskResponse.RequestId")); pushExperimentTaskResponse.setMessage(_ctx.stringValue("PushExperimentTaskResponse.Message")); pushExperimentTaskResponse.setCode(_ctx.stringValue("PushExperimentTaskResponse.Code")); pushExperimentTaskResponse.setSuccess(_ctx.booleanValue("PushExperimentTaskResponse.Success")); return pushExperimentTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/UpdateExperimentBasicInfoResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.UpdateExperimentBasicInfoResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateExperimentBasicInfoResponseUnmarshaller { public static UpdateExperimentBasicInfoResponse unmarshall(UpdateExperimentBasicInfoResponse updateExperimentBasicInfoResponse, UnmarshallerContext _ctx) { updateExperimentBasicInfoResponse.setRequestId(_ctx.stringValue("UpdateExperimentBasicInfoResponse.RequestId")); updateExperimentBasicInfoResponse.setMessage(_ctx.stringValue("UpdateExperimentBasicInfoResponse.Message")); updateExperimentBasicInfoResponse.setHttpStatusCode(_ctx.integerValue("UpdateExperimentBasicInfoResponse.HttpStatusCode")); updateExperimentBasicInfoResponse.setCode(_ctx.stringValue("UpdateExperimentBasicInfoResponse.Code")); updateExperimentBasicInfoResponse.setSuccess(_ctx.booleanValue("UpdateExperimentBasicInfoResponse.Success")); return updateExperimentBasicInfoResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform
java-sources/com/aliyun/aliyun-java-sdk-ahas-openapi/1.0.6/com/aliyuncs/ahas_openapi/transform/v20190901/UpdateExperimentResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ahas_openapi.transform.v20190901; import com.aliyuncs.ahas_openapi.model.v20190901.UpdateExperimentResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateExperimentResponseUnmarshaller { public static UpdateExperimentResponse unmarshall(UpdateExperimentResponse updateExperimentResponse, UnmarshallerContext _ctx) { updateExperimentResponse.setRequestId(_ctx.stringValue("UpdateExperimentResponse.RequestId")); updateExperimentResponse.setMessage(_ctx.stringValue("UpdateExperimentResponse.Message")); updateExperimentResponse.setHttpStatusCode(_ctx.integerValue("UpdateExperimentResponse.HttpStatusCode")); updateExperimentResponse.setCode(_ctx.stringValue("UpdateExperimentResponse.Code")); updateExperimentResponse.setSuccess(_ctx.booleanValue("UpdateExperimentResponse.Success")); return updateExperimentResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/Endpoint.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() {}; public static String endpointRegionalType = "central"; }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/AddOuterAccountRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.aiccs.Endpoint; /** * @author auto create * @version */ public class AddOuterAccountRequest extends RpcAcsRequest<AddOuterAccountResponse> { private String ext; private String outerAccountName; private String outerDepartmentId; private String avatar; private String outerAccountType; private String realName; private String outerDepartmentType; private String outerGroupIds; private String outerGroupType; private String outerAccountId; public AddOuterAccountRequest() { super("aiccs", "2019-10-15", "AddOuterAccount"); setMethod(MethodType.GET); 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 getExt() { return this.ext; } public void setExt(String ext) { this.ext = ext; if(ext != null){ putQueryParameter("Ext", ext); } } public String getOuterAccountName() { return this.outerAccountName; } public void setOuterAccountName(String outerAccountName) { this.outerAccountName = outerAccountName; if(outerAccountName != null){ putQueryParameter("OuterAccountName", outerAccountName); } } public String getOuterDepartmentId() { return this.outerDepartmentId; } public void setOuterDepartmentId(String outerDepartmentId) { this.outerDepartmentId = outerDepartmentId; if(outerDepartmentId != null){ putQueryParameter("OuterDepartmentId", outerDepartmentId); } } public String getAvatar() { return this.avatar; } public void setAvatar(String avatar) { this.avatar = avatar; if(avatar != null){ putQueryParameter("Avatar", avatar); } } public String getOuterAccountType() { return this.outerAccountType; } public void setOuterAccountType(String outerAccountType) { this.outerAccountType = outerAccountType; if(outerAccountType != null){ putQueryParameter("OuterAccountType", outerAccountType); } } public String getRealName() { return this.realName; } public void setRealName(String realName) { this.realName = realName; if(realName != null){ putQueryParameter("RealName", realName); } } public String getOuterDepartmentType() { return this.outerDepartmentType; } public void setOuterDepartmentType(String outerDepartmentType) { this.outerDepartmentType = outerDepartmentType; if(outerDepartmentType != null){ putQueryParameter("OuterDepartmentType", outerDepartmentType); } } public String getOuterGroupIds() { return this.outerGroupIds; } public void setOuterGroupIds(String outerGroupIds) { this.outerGroupIds = outerGroupIds; if(outerGroupIds != null){ putQueryParameter("OuterGroupIds", outerGroupIds); } } public String getOuterGroupType() { return this.outerGroupType; } public void setOuterGroupType(String outerGroupType) { this.outerGroupType = outerGroupType; if(outerGroupType != null){ putQueryParameter("OuterGroupType", outerGroupType); } } public String getOuterAccountId() { return this.outerAccountId; } public void setOuterAccountId(String outerAccountId) { this.outerAccountId = outerAccountId; if(outerAccountId != null){ putQueryParameter("OuterAccountId", outerAccountId); } } @Override public Class<AddOuterAccountResponse> getResponseClass() { return AddOuterAccountResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/AddOuterAccountResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.AcsResponse; import com.aliyuncs.aiccs.transform.v20191015.AddOuterAccountResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddOuterAccountResponse extends AcsResponse { private String requestId; private String message; private String data; private String code; private Boolean success; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public AddOuterAccountResponse getInstance(UnmarshallerContext context) { return AddOuterAccountResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/AddSkillGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.aiccs.Endpoint; /** * @author auto create * @version */ public class AddSkillGroupRequest extends RpcAcsRequest<AddSkillGroupResponse> { private String outerDepartmentType; private String outerGroupId; private String outerGroupType; private String outerDepartmentId; private String outerGroupName; public AddSkillGroupRequest() { super("aiccs", "2019-10-15", "AddSkillGroup"); setMethod(MethodType.GET); 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 getOuterDepartmentType() { return this.outerDepartmentType; } public void setOuterDepartmentType(String outerDepartmentType) { this.outerDepartmentType = outerDepartmentType; if(outerDepartmentType != null){ putQueryParameter("OuterDepartmentType", outerDepartmentType); } } public String getOuterGroupId() { return this.outerGroupId; } public void setOuterGroupId(String outerGroupId) { this.outerGroupId = outerGroupId; if(outerGroupId != null){ putQueryParameter("OuterGroupId", outerGroupId); } } public String getOuterGroupType() { return this.outerGroupType; } public void setOuterGroupType(String outerGroupType) { this.outerGroupType = outerGroupType; if(outerGroupType != null){ putQueryParameter("OuterGroupType", outerGroupType); } } public String getOuterDepartmentId() { return this.outerDepartmentId; } public void setOuterDepartmentId(String outerDepartmentId) { this.outerDepartmentId = outerDepartmentId; if(outerDepartmentId != null){ putQueryParameter("OuterDepartmentId", outerDepartmentId); } } public String getOuterGroupName() { return this.outerGroupName; } public void setOuterGroupName(String outerGroupName) { this.outerGroupName = outerGroupName; if(outerGroupName != null){ putQueryParameter("OuterGroupName", outerGroupName); } } @Override public Class<AddSkillGroupResponse> getResponseClass() { return AddSkillGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/AddSkillGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.AcsResponse; import com.aliyuncs.aiccs.transform.v20191015.AddSkillGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddSkillGroupResponse extends AcsResponse { private String requestId; private String message; private String data; private String code; private Boolean success; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public AddSkillGroupResponse getInstance(UnmarshallerContext context) { return AddSkillGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/AnswerCallRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.aiccs.Endpoint; /** * @author auto create * @version */ public class AnswerCallRequest extends RpcAcsRequest<AnswerCallResponse> { private String clientToken; private String instanceId; private String accountName; private String callId; private String jobId; private String connectionId; public AnswerCallRequest() { super("aiccs", "2019-10-15", "AnswerCall"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putBodyParameter("InstanceId", instanceId); } } public String getAccountName() { return this.accountName; } public void setAccountName(String accountName) { this.accountName = accountName; if(accountName != null){ putBodyParameter("AccountName", accountName); } } public String getCallId() { return this.callId; } public void setCallId(String callId) { this.callId = callId; if(callId != null){ putBodyParameter("CallId", callId); } } public String getJobId() { return this.jobId; } public void setJobId(String jobId) { this.jobId = jobId; if(jobId != null){ putBodyParameter("JobId", jobId); } } public String getConnectionId() { return this.connectionId; } public void setConnectionId(String connectionId) { this.connectionId = connectionId; if(connectionId != null){ putBodyParameter("ConnectionId", connectionId); } } @Override public Class<AnswerCallResponse> getResponseClass() { return AnswerCallResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/AnswerCallResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.AcsResponse; import com.aliyuncs.aiccs.transform.v20191015.AnswerCallResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AnswerCallResponse extends AcsResponse { private String requestId; private String message; private String code; private Boolean success; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public AnswerCallResponse getInstance(UnmarshallerContext context) { return AnswerCallResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/BatchCreateQualityProjectsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.aiccs.Endpoint; /** * @author auto create * @version */ public class BatchCreateQualityProjectsRequest extends RpcAcsRequest<BatchCreateQualityProjectsResponse> { private List<String> instanceLists; private String projectName; private Integer checkFreqType; private String timeRangeStart; private String timeRangeEnd; private List<Long> analysisIdss; private List<Integer> channelTouchTypes; public BatchCreateQualityProjectsRequest() { super("aiccs", "2019-10-15", "BatchCreateQualityProjects"); 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 List<String> getInstanceLists() { return this.instanceLists; } public void setInstanceLists(List<String> instanceLists) { this.instanceLists = instanceLists; if (instanceLists != null) { for (int i = 0; i < instanceLists.size(); i++) { putQueryParameter("InstanceList." + (i + 1) , instanceLists.get(i)); } } } public String getProjectName() { return this.projectName; } public void setProjectName(String projectName) { this.projectName = projectName; if(projectName != null){ putQueryParameter("ProjectName", projectName); } } public Integer getCheckFreqType() { return this.checkFreqType; } public void setCheckFreqType(Integer checkFreqType) { this.checkFreqType = checkFreqType; if(checkFreqType != null){ putQueryParameter("CheckFreqType", checkFreqType.toString()); } } public String getTimeRangeStart() { return this.timeRangeStart; } public void setTimeRangeStart(String timeRangeStart) { this.timeRangeStart = timeRangeStart; if(timeRangeStart != null){ putQueryParameter("TimeRangeStart", timeRangeStart); } } public String getTimeRangeEnd() { return this.timeRangeEnd; } public void setTimeRangeEnd(String timeRangeEnd) { this.timeRangeEnd = timeRangeEnd; if(timeRangeEnd != null){ putQueryParameter("TimeRangeEnd", timeRangeEnd); } } public List<Long> getAnalysisIdss() { return this.analysisIdss; } public void setAnalysisIdss(List<Long> analysisIdss) { this.analysisIdss = analysisIdss; if (analysisIdss != null) { for (int i = 0; i < analysisIdss.size(); i++) { putQueryParameter("AnalysisIds." + (i + 1) , analysisIdss.get(i)); } } } public List<Integer> getChannelTouchTypes() { return this.channelTouchTypes; } public void setChannelTouchTypes(List<Integer> channelTouchTypes) { this.channelTouchTypes = channelTouchTypes; if (channelTouchTypes != null) { for (int i = 0; i < channelTouchTypes.size(); i++) { putQueryParameter("ChannelTouchType." + (i + 1) , channelTouchTypes.get(i)); } } } @Override public Class<BatchCreateQualityProjectsResponse> getResponseClass() { return BatchCreateQualityProjectsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/BatchCreateQualityProjectsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.aiccs.transform.v20191015.BatchCreateQualityProjectsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class BatchCreateQualityProjectsResponse extends AcsResponse { private String requestId; private String message; private String code; private Boolean success; private List<DataItem> data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public List<DataItem> getData() { return this.data; } public void setData(List<DataItem> data) { this.data = data; } public static class DataItem { private String instanceId; private Integer version; private Long projectId; public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public Integer getVersion() { return this.version; } public void setVersion(Integer version) { this.version = version; } public Long getProjectId() { return this.projectId; } public void setProjectId(Long projectId) { this.projectId = projectId; } } @Override public BatchCreateQualityProjectsResponse getInstance(UnmarshallerContext context) { return BatchCreateQualityProjectsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/model/v20191015/ChangeChatAgentStatusRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.aiccs.model.v20191015; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.aiccs.Endpoint; /** * @author auto create * @version */ public class ChangeChatAgentStatusRequest extends RpcAcsRequest<ChangeChatAgentStatusResponse> { private String clientToken; private String instanceId; private String accountName; private String method; public ChangeChatAgentStatusRequest() { super("aiccs", "2019-10-15", "ChangeChatAgentStatus"); 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 getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putBodyParameter("InstanceId", instanceId); } } public String getAccountName() { return this.accountName; } public void setAccountName(String accountName) { this.accountName = accountName; if(accountName != null){ putBodyParameter("AccountName", accountName); } } public String getBizMethod() { return this.method; } public void setBizMethod(String method) { this.method = method; if(method != null){ putBodyParameter("Method", method); } } @Override public Class<ChangeChatAgentStatusResponse> getResponseClass() { return ChangeChatAgentStatusResponse.class; } }