index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ListServiceUsagesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class ListServiceUsagesRequest extends RpcAcsRequest<ListServiceUsagesResponse> { private String nextToken; private String supplierRole; private List<Filter> filters; private Integer maxResults; public ListServiceUsagesRequest() { super("ComputeNestSupplier", "2021-05-21", "ListServiceUsages"); 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 getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public String getSupplierRole() { return this.supplierRole; } public void setSupplierRole(String supplierRole) { this.supplierRole = supplierRole; if(supplierRole != null){ putQueryParameter("SupplierRole", supplierRole); } } public List<Filter> getFilters() { return this.filters; } public void setFilters(List<Filter> filters) { this.filters = filters; if (filters != null) { for (int depth1 = 0; depth1 < filters.size(); depth1++) { putQueryParameter("Filter." + (depth1 + 1) + ".Name" , filters.get(depth1).getName()); if (filters.get(depth1).getValues() != null) { for (int i = 0; i < filters.get(depth1).getValues().size(); i++) { putQueryParameter("Filter." + (depth1 + 1) + ".Value." + (i + 1) , filters.get(depth1).getValues().get(i)); } } } } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public static class Filter { private String name; private List<String> values; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public List<String> getValues() { return this.values; } public void setValues(List<String> values) { this.values = values; } } @Override public Class<ListServiceUsagesResponse> getResponseClass() { return ListServiceUsagesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ListServiceUsagesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.ListServiceUsagesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListServiceUsagesResponse extends AcsResponse { private String requestId; private String nextToken; private Integer maxResults; private Integer totalCount; private List<Policy> serviceUsages; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public List<Policy> getServiceUsages() { return this.serviceUsages; } public void setServiceUsages(List<Policy> serviceUsages) { this.serviceUsages = serviceUsages; } public static class Policy { private Long userAliUid; private String serviceId; private String serviceName; private String supplierName; private String status; private String comments; private String createTime; private String updateTime; private Map<Object,Object> userInformation; public Long getUserAliUid() { return this.userAliUid; } public void setUserAliUid(Long userAliUid) { this.userAliUid = userAliUid; } public String getServiceId() { return this.serviceId; } public void setServiceId(String serviceId) { this.serviceId = serviceId; } public String getServiceName() { return this.serviceName; } public void setServiceName(String serviceName) { this.serviceName = serviceName; } public String getSupplierName() { return this.supplierName; } public void setSupplierName(String supplierName) { this.supplierName = supplierName; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getComments() { return this.comments; } public void setComments(String comments) { this.comments = comments; } public String getCreateTime() { return this.createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getUpdateTime() { return this.updateTime; } public void setUpdateTime(String updateTime) { this.updateTime = updateTime; } public Map<Object,Object> getUserInformation() { return this.userInformation; } public void setUserInformation(Map<Object,Object> userInformation) { this.userInformation = userInformation; } } @Override public ListServiceUsagesResponse getInstance(UnmarshallerContext context) { return ListServiceUsagesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ListServicesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class ListServicesRequest extends RpcAcsRequest<ListServicesResponse> { private Boolean allVersions; private String resourceGroupId; private String nextToken; private List<Tag> tags; private List<Filter> filters; private Integer maxResults; public ListServicesRequest() { super("ComputeNestSupplier", "2021-05-21", "ListServices"); 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 Boolean getAllVersions() { return this.allVersions; } public void setAllVersions(Boolean allVersions) { this.allVersions = allVersions; if(allVersions != null){ putQueryParameter("AllVersions", allVersions.toString()); } } public String getResourceGroupId() { return this.resourceGroupId; } public void setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; if(resourceGroupId != null){ putQueryParameter("ResourceGroupId", resourceGroupId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public List<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; if (tags != null) { for (int depth1 = 0; depth1 < tags.size(); depth1++) { putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue()); putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey()); } } } public List<Filter> getFilters() { return this.filters; } public void setFilters(List<Filter> filters) { this.filters = filters; if (filters != null) { for (int depth1 = 0; depth1 < filters.size(); depth1++) { putQueryParameter("Filter." + (depth1 + 1) + ".Name" , filters.get(depth1).getName()); if (filters.get(depth1).getValues() != null) { for (int i = 0; i < filters.get(depth1).getValues().size(); i++) { putQueryParameter("Filter." + (depth1 + 1) + ".Value." + (i + 1) , filters.get(depth1).getValues().get(i)); } } } } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public static class Tag { private String value; private String key; public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } } public static class Filter { private String name; private List<String> values; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public List<String> getValues() { return this.values; } public void setValues(List<String> values) { this.values = values; } } @Override public Class<ListServicesResponse> getResponseClass() { return ListServicesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ListServicesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.ListServicesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListServicesResponse extends AcsResponse { private String nextToken; private String requestId; private Integer totalCount; private Integer maxResults; private List<Service> services; public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public List<Service> getServices() { return this.services; } public void setServices(List<Service> services) { this.services = services; } public static class Service { private String status; private Boolean defaultVersion; private String publishTime; private String version; private String deployType; private String serviceId; private String supplierUrl; private String serviceType; private String supplierName; private String commodityCode; private String createTime; private String updateTime; private String shareType; private String approvalType; private String versionName; private String artifactId; private String artifactVersion; private String sourceImage; private String relationType; private String trialType; private String tenantType; private String resourceGroupId; private String sourceServiceId; private String sourceServiceVersion; private String sourceSupplierName; private String resellServiceId; private String latestResellSourceServiceVersion; private String resellApplyStatus; private String virtualInternetService; private String categories; private String serviceDiscoverable; private Boolean hasDraft; private Boolean hasBeta; private String buildInfo; private List<ServiceInfo> serviceInfos; private List<Tag> tags; private Commodity commodity; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public Boolean getDefaultVersion() { return this.defaultVersion; } public void setDefaultVersion(Boolean defaultVersion) { this.defaultVersion = defaultVersion; } public String getPublishTime() { return this.publishTime; } public void setPublishTime(String publishTime) { this.publishTime = publishTime; } public String getVersion() { return this.version; } public void setVersion(String version) { this.version = version; } public String getDeployType() { return this.deployType; } public void setDeployType(String deployType) { this.deployType = deployType; } public String getServiceId() { return this.serviceId; } public void setServiceId(String serviceId) { this.serviceId = serviceId; } public String getSupplierUrl() { return this.supplierUrl; } public void setSupplierUrl(String supplierUrl) { this.supplierUrl = supplierUrl; } public String getServiceType() { return this.serviceType; } public void setServiceType(String serviceType) { this.serviceType = serviceType; } public String getSupplierName() { return this.supplierName; } public void setSupplierName(String supplierName) { this.supplierName = supplierName; } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; } public String getCreateTime() { return this.createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getUpdateTime() { return this.updateTime; } public void setUpdateTime(String updateTime) { this.updateTime = updateTime; } public String getShareType() { return this.shareType; } public void setShareType(String shareType) { this.shareType = shareType; } public String getApprovalType() { return this.approvalType; } public void setApprovalType(String approvalType) { this.approvalType = approvalType; } public String getVersionName() { return this.versionName; } public void setVersionName(String versionName) { this.versionName = versionName; } public String getArtifactId() { return this.artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; } public String getArtifactVersion() { return this.artifactVersion; } public void setArtifactVersion(String artifactVersion) { this.artifactVersion = artifactVersion; } public String getSourceImage() { return this.sourceImage; } public void setSourceImage(String sourceImage) { this.sourceImage = sourceImage; } public String getRelationType() { return this.relationType; } public void setRelationType(String relationType) { this.relationType = relationType; } public String getTrialType() { return this.trialType; } public void setTrialType(String trialType) { this.trialType = trialType; } public String getTenantType() { return this.tenantType; } public void setTenantType(String tenantType) { this.tenantType = tenantType; } public String getResourceGroupId() { return this.resourceGroupId; } public void setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; } public String getSourceServiceId() { return this.sourceServiceId; } public void setSourceServiceId(String sourceServiceId) { this.sourceServiceId = sourceServiceId; } public String getSourceServiceVersion() { return this.sourceServiceVersion; } public void setSourceServiceVersion(String sourceServiceVersion) { this.sourceServiceVersion = sourceServiceVersion; } public String getSourceSupplierName() { return this.sourceSupplierName; } public void setSourceSupplierName(String sourceSupplierName) { this.sourceSupplierName = sourceSupplierName; } public String getResellServiceId() { return this.resellServiceId; } public void setResellServiceId(String resellServiceId) { this.resellServiceId = resellServiceId; } public String getLatestResellSourceServiceVersion() { return this.latestResellSourceServiceVersion; } public void setLatestResellSourceServiceVersion(String latestResellSourceServiceVersion) { this.latestResellSourceServiceVersion = latestResellSourceServiceVersion; } public String getResellApplyStatus() { return this.resellApplyStatus; } public void setResellApplyStatus(String resellApplyStatus) { this.resellApplyStatus = resellApplyStatus; } public String getVirtualInternetService() { return this.virtualInternetService; } public void setVirtualInternetService(String virtualInternetService) { this.virtualInternetService = virtualInternetService; } public String getCategories() { return this.categories; } public void setCategories(String categories) { this.categories = categories; } public String getServiceDiscoverable() { return this.serviceDiscoverable; } public void setServiceDiscoverable(String serviceDiscoverable) { this.serviceDiscoverable = serviceDiscoverable; } public Boolean getHasDraft() { return this.hasDraft; } public void setHasDraft(Boolean hasDraft) { this.hasDraft = hasDraft; } public Boolean getHasBeta() { return this.hasBeta; } public void setHasBeta(Boolean hasBeta) { this.hasBeta = hasBeta; } public String getBuildInfo() { return this.buildInfo; } public void setBuildInfo(String buildInfo) { this.buildInfo = buildInfo; } public List<ServiceInfo> getServiceInfos() { return this.serviceInfos; } public void setServiceInfos(List<ServiceInfo> serviceInfos) { this.serviceInfos = serviceInfos; } public List<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; } public Commodity getCommodity() { return this.commodity; } public void setCommodity(Commodity commodity) { this.commodity = commodity; } public static class ServiceInfo { private String locale; private String image; private String name; private String shortDescription; public String getLocale() { return this.locale; } public void setLocale(String locale) { this.locale = locale; } public String getImage() { return this.image; } public void setImage(String image) { this.image = image; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getShortDescription() { return this.shortDescription; } public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; } } public static class Tag { private String key; private String value; public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } } public static class Commodity { private String commodityCode; private String type; private String saasBoostMetadata; public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; } public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getSaasBoostMetadata() { return this.saasBoostMetadata; } public void setSaasBoostMetadata(String saasBoostMetadata) { this.saasBoostMetadata = saasBoostMetadata; } } } @Override public ListServicesResponse getInstance(UnmarshallerContext context) { return ListServicesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ModifyServiceInstanceResourcesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class ModifyServiceInstanceResourcesRequest extends RpcAcsRequest<ModifyServiceInstanceResourcesResponse> { private String serviceInstanceResourcesAction; private String serviceInstanceId; private String resources; public ModifyServiceInstanceResourcesRequest() { super("ComputeNestSupplier", "2021-05-21", "ModifyServiceInstanceResources"); 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 getServiceInstanceResourcesAction() { return this.serviceInstanceResourcesAction; } public void setServiceInstanceResourcesAction(String serviceInstanceResourcesAction) { this.serviceInstanceResourcesAction = serviceInstanceResourcesAction; if(serviceInstanceResourcesAction != null){ putQueryParameter("ServiceInstanceResourcesAction", serviceInstanceResourcesAction); } } public String getServiceInstanceId() { return this.serviceInstanceId; } public void setServiceInstanceId(String serviceInstanceId) { this.serviceInstanceId = serviceInstanceId; if(serviceInstanceId != null){ putQueryParameter("ServiceInstanceId", serviceInstanceId); } } public String getResources() { return this.resources; } public void setResources(String resources) { this.resources = resources; if(resources != null){ putQueryParameter("Resources", resources); } } @Override public Class<ModifyServiceInstanceResourcesResponse> getResponseClass() { return ModifyServiceInstanceResourcesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ModifyServiceInstanceResourcesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.ModifyServiceInstanceResourcesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyServiceInstanceResourcesResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ModifyServiceInstanceResourcesResponse getInstance(UnmarshallerContext context) { return ModifyServiceInstanceResourcesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/PushMeteringDataRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class PushMeteringDataRequest extends RpcAcsRequest<PushMeteringDataResponse> { private String metering; private String serviceInstanceId; public PushMeteringDataRequest() { super("ComputeNestSupplier", "2021-05-21", "PushMeteringData"); 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 getMetering() { return this.metering; } public void setMetering(String metering) { this.metering = metering; if(metering != null){ putQueryParameter("Metering", metering); } } public String getServiceInstanceId() { return this.serviceInstanceId; } public void setServiceInstanceId(String serviceInstanceId) { this.serviceInstanceId = serviceInstanceId; if(serviceInstanceId != null){ putQueryParameter("ServiceInstanceId", serviceInstanceId); } } @Override public Class<PushMeteringDataResponse> getResponseClass() { return PushMeteringDataResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/PushMeteringDataResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.PushMeteringDataResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PushMeteringDataResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public PushMeteringDataResponse getInstance(UnmarshallerContext context) { return PushMeteringDataResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/RegisterServiceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class RegisterServiceRequest extends RpcAcsRequest<RegisterServiceResponse> { private String clientToken; private String serviceId; public RegisterServiceRequest() { super("ComputeNestSupplier", "2021-05-21", "RegisterService"); 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){ putQueryParameter("ClientToken", clientToken); } } public String getServiceId() { return this.serviceId; } public void setServiceId(String serviceId) { this.serviceId = serviceId; if(serviceId != null){ putQueryParameter("ServiceId", serviceId); } } @Override public Class<RegisterServiceResponse> getResponseClass() { return RegisterServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/RegisterServiceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.RegisterServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RegisterServiceResponse extends AcsResponse { private String registrationId; private String requestId; public String getRegistrationId() { return this.registrationId; } public void setRegistrationId(String registrationId) { this.registrationId = registrationId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public RegisterServiceResponse getInstance(UnmarshallerContext context) { return RegisterServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ReleaseArtifactRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class ReleaseArtifactRequest extends RpcAcsRequest<ReleaseArtifactResponse> { private String artifactId; public ReleaseArtifactRequest() { super("ComputeNestSupplier", "2021-05-21", "ReleaseArtifact"); 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 getArtifactId() { return this.artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; if(artifactId != null){ putQueryParameter("ArtifactId", artifactId); } } @Override public Class<ReleaseArtifactResponse> getResponseClass() { return ReleaseArtifactResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/ReleaseArtifactResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.ReleaseArtifactResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ReleaseArtifactResponse extends AcsResponse { private String requestId; private String artifactId; private String artifactType; private String versionName; private String artifactVersion; private String description; private String gmtModified; private String status; private String artifactProperty; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getArtifactId() { return this.artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; } public String getArtifactType() { return this.artifactType; } public void setArtifactType(String artifactType) { this.artifactType = artifactType; } public String getVersionName() { return this.versionName; } public void setVersionName(String versionName) { this.versionName = versionName; } public String getArtifactVersion() { return this.artifactVersion; } public void setArtifactVersion(String artifactVersion) { this.artifactVersion = artifactVersion; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getGmtModified() { return this.gmtModified; } public void setGmtModified(String gmtModified) { this.gmtModified = gmtModified; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getArtifactProperty() { return this.artifactProperty; } public void setArtifactProperty(String artifactProperty) { this.artifactProperty = artifactProperty; } @Override public ReleaseArtifactResponse getInstance(UnmarshallerContext context) { return ReleaseArtifactResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateArtifactRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class UpdateArtifactRequest extends RpcAcsRequest<UpdateArtifactResponse> { private String description; private List<String> supportRegionIdss; private String artifactId; private String artifactProperty; private String versionName; public UpdateArtifactRequest() { super("ComputeNestSupplier", "2021-05-21", "UpdateArtifact"); 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 List<String> getSupportRegionIdss() { return this.supportRegionIdss; } public void setSupportRegionIdss(List<String> supportRegionIdss) { this.supportRegionIdss = supportRegionIdss; if (supportRegionIdss != null) { for (int i = 0; i < supportRegionIdss.size(); i++) { putQueryParameter("SupportRegionIds." + (i + 1) , supportRegionIdss.get(i)); } } } public String getArtifactId() { return this.artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; if(artifactId != null){ putQueryParameter("ArtifactId", artifactId); } } public String getArtifactProperty() { return this.artifactProperty; } public void setArtifactProperty(String artifactProperty) { this.artifactProperty = artifactProperty; if(artifactProperty != null){ putQueryParameter("ArtifactProperty", artifactProperty); } } public String getVersionName() { return this.versionName; } public void setVersionName(String versionName) { this.versionName = versionName; if(versionName != null){ putQueryParameter("VersionName", versionName); } } @Override public Class<UpdateArtifactResponse> getResponseClass() { return UpdateArtifactResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateArtifactResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.UpdateArtifactResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateArtifactResponse extends AcsResponse { private String requestId; private String artifactId; private String artifactType; private String versionName; private String artifactVersion; private String description; private String gmtModified; private String status; private String artifactProperty; private String supportRegionIds; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getArtifactId() { return this.artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; } public String getArtifactType() { return this.artifactType; } public void setArtifactType(String artifactType) { this.artifactType = artifactType; } public String getVersionName() { return this.versionName; } public void setVersionName(String versionName) { this.versionName = versionName; } public String getArtifactVersion() { return this.artifactVersion; } public void setArtifactVersion(String artifactVersion) { this.artifactVersion = artifactVersion; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getGmtModified() { return this.gmtModified; } public void setGmtModified(String gmtModified) { this.gmtModified = gmtModified; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getArtifactProperty() { return this.artifactProperty; } public void setArtifactProperty(String artifactProperty) { this.artifactProperty = artifactProperty; } public String getSupportRegionIds() { return this.supportRegionIds; } public void setSupportRegionIds(String supportRegionIds) { this.supportRegionIds = supportRegionIds; } @Override public UpdateArtifactResponse getInstance(UnmarshallerContext context) { return UpdateArtifactResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateServiceInstanceAttributeRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class UpdateServiceInstanceAttributeRequest extends RpcAcsRequest<UpdateServiceInstanceAttributeResponse> { private String serviceInstanceId; private String endTime; public UpdateServiceInstanceAttributeRequest() { super("ComputeNestSupplier", "2021-05-21", "UpdateServiceInstanceAttribute"); 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 getServiceInstanceId() { return this.serviceInstanceId; } public void setServiceInstanceId(String serviceInstanceId) { this.serviceInstanceId = serviceInstanceId; if(serviceInstanceId != null){ putQueryParameter("ServiceInstanceId", serviceInstanceId); } } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime); } } @Override public Class<UpdateServiceInstanceAttributeResponse> getResponseClass() { return UpdateServiceInstanceAttributeResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateServiceInstanceAttributeResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.UpdateServiceInstanceAttributeResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateServiceInstanceAttributeResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UpdateServiceInstanceAttributeResponse getInstance(UnmarshallerContext context) { return UpdateServiceInstanceAttributeResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateServiceInstanceSpecRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class UpdateServiceInstanceSpecRequest extends RpcAcsRequest<UpdateServiceInstanceSpecResponse> { private String clientToken; private String predefinedParametersName; private String serviceInstanceId; private Boolean enableUserPrometheus; private String operationName; private String parameters; public UpdateServiceInstanceSpecRequest() { super("ComputeNestSupplier", "2021-05-21", "UpdateServiceInstanceSpec"); 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){ putQueryParameter("ClientToken", clientToken); } } public String getPredefinedParametersName() { return this.predefinedParametersName; } public void setPredefinedParametersName(String predefinedParametersName) { this.predefinedParametersName = predefinedParametersName; if(predefinedParametersName != null){ putQueryParameter("PredefinedParametersName", predefinedParametersName); } } public String getServiceInstanceId() { return this.serviceInstanceId; } public void setServiceInstanceId(String serviceInstanceId) { this.serviceInstanceId = serviceInstanceId; if(serviceInstanceId != null){ putQueryParameter("ServiceInstanceId", serviceInstanceId); } } public Boolean getEnableUserPrometheus() { return this.enableUserPrometheus; } public void setEnableUserPrometheus(Boolean enableUserPrometheus) { this.enableUserPrometheus = enableUserPrometheus; if(enableUserPrometheus != null){ putQueryParameter("EnableUserPrometheus", enableUserPrometheus.toString()); } } public String getOperationName() { return this.operationName; } public void setOperationName(String operationName) { this.operationName = operationName; if(operationName != null){ putQueryParameter("OperationName", operationName); } } public String getParameters() { return this.parameters; } public void setParameters(String parameters) { this.parameters = parameters; if(parameters != null){ putQueryParameter("Parameters", parameters); } } @Override public Class<UpdateServiceInstanceSpecResponse> getResponseClass() { return UpdateServiceInstanceSpecResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateServiceInstanceSpecResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.UpdateServiceInstanceSpecResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateServiceInstanceSpecResponse 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 UpdateServiceInstanceSpecResponse getInstance(UnmarshallerContext context) { return UpdateServiceInstanceSpecResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateServiceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class UpdateServiceRequest extends RpcAcsRequest<UpdateServiceResponse> { private String alarmMetadata; private Boolean resellable; private String clientToken; private String policyNames; private String licenseMetadata; private Long duration; private Integer trialDuration; private String upgradeMetadata; private String deployMetadata; private String serviceType; private Boolean isSupportOperated; private String tenantType; private String serviceVersion; private String logMetadata; private List<ServiceInfo> serviceInfos; @SerializedName("updateOption") private UpdateOption updateOption; private String serviceId; private String versionName; private String operationMetadata; private String deployType; public UpdateServiceRequest() { super("ComputeNestSupplier", "2021-05-21", "UpdateService"); 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 getAlarmMetadata() { return this.alarmMetadata; } public void setAlarmMetadata(String alarmMetadata) { this.alarmMetadata = alarmMetadata; if(alarmMetadata != null){ putQueryParameter("AlarmMetadata", alarmMetadata); } } public Boolean getResellable() { return this.resellable; } public void setResellable(Boolean resellable) { this.resellable = resellable; if(resellable != null){ putQueryParameter("Resellable", resellable.toString()); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public String getPolicyNames() { return this.policyNames; } public void setPolicyNames(String policyNames) { this.policyNames = policyNames; if(policyNames != null){ putQueryParameter("PolicyNames", policyNames); } } public String getLicenseMetadata() { return this.licenseMetadata; } public void setLicenseMetadata(String licenseMetadata) { this.licenseMetadata = licenseMetadata; if(licenseMetadata != null){ putQueryParameter("LicenseMetadata", licenseMetadata); } } public Long getDuration() { return this.duration; } public void setDuration(Long duration) { this.duration = duration; if(duration != null){ putQueryParameter("Duration", duration.toString()); } } public Integer getTrialDuration() { return this.trialDuration; } public void setTrialDuration(Integer trialDuration) { this.trialDuration = trialDuration; if(trialDuration != null){ putQueryParameter("TrialDuration", trialDuration.toString()); } } public String getUpgradeMetadata() { return this.upgradeMetadata; } public void setUpgradeMetadata(String upgradeMetadata) { this.upgradeMetadata = upgradeMetadata; if(upgradeMetadata != null){ putQueryParameter("UpgradeMetadata", upgradeMetadata); } } public String getDeployMetadata() { return this.deployMetadata; } public void setDeployMetadata(String deployMetadata) { this.deployMetadata = deployMetadata; if(deployMetadata != null){ putQueryParameter("DeployMetadata", deployMetadata); } } public String getServiceType() { return this.serviceType; } public void setServiceType(String serviceType) { this.serviceType = serviceType; if(serviceType != null){ putQueryParameter("ServiceType", serviceType); } } public Boolean getIsSupportOperated() { return this.isSupportOperated; } public void setIsSupportOperated(Boolean isSupportOperated) { this.isSupportOperated = isSupportOperated; if(isSupportOperated != null){ putQueryParameter("IsSupportOperated", isSupportOperated.toString()); } } public String getTenantType() { return this.tenantType; } public void setTenantType(String tenantType) { this.tenantType = tenantType; if(tenantType != null){ putQueryParameter("TenantType", tenantType); } } public String getServiceVersion() { return this.serviceVersion; } public void setServiceVersion(String serviceVersion) { this.serviceVersion = serviceVersion; if(serviceVersion != null){ putQueryParameter("ServiceVersion", serviceVersion); } } public String getLogMetadata() { return this.logMetadata; } public void setLogMetadata(String logMetadata) { this.logMetadata = logMetadata; if(logMetadata != null){ putQueryParameter("LogMetadata", logMetadata); } } public List<ServiceInfo> getServiceInfos() { return this.serviceInfos; } public void setServiceInfos(List<ServiceInfo> serviceInfos) { this.serviceInfos = serviceInfos; if (serviceInfos != null) { for (int depth1 = 0; depth1 < serviceInfos.size(); depth1++) { putQueryParameter("ServiceInfo." + (depth1 + 1) + ".ShortDescription" , serviceInfos.get(depth1).getShortDescription()); putQueryParameter("ServiceInfo." + (depth1 + 1) + ".Image" , serviceInfos.get(depth1).getImage()); putQueryParameter("ServiceInfo." + (depth1 + 1) + ".Name" , serviceInfos.get(depth1).getName()); if (serviceInfos.get(depth1).getAgreementss() != null) { for (int depth2 = 0; depth2 < serviceInfos.get(depth1).getAgreementss().size(); depth2++) { putQueryParameter("ServiceInfo." + (depth1 + 1) + ".Agreements." + (depth2 + 1) + ".Name" , serviceInfos.get(depth1).getAgreementss().get(depth2).getName()); putQueryParameter("ServiceInfo." + (depth1 + 1) + ".Agreements." + (depth2 + 1) + ".Url" , serviceInfos.get(depth1).getAgreementss().get(depth2).getUrl()); } } putQueryParameter("ServiceInfo." + (depth1 + 1) + ".Locale" , serviceInfos.get(depth1).getLocale()); putQueryParameter("ServiceInfo." + (depth1 + 1) + ".LongDescriptionUrl" , serviceInfos.get(depth1).getLongDescriptionUrl()); } } } public UpdateOption getUpdateOption() { return this.updateOption; } public void setUpdateOption(UpdateOption updateOption) { this.updateOption = updateOption; if (updateOption != null) { putQueryParameter("UpdateOption" , new Gson().toJson(updateOption)); } } public String getServiceId() { return this.serviceId; } public void setServiceId(String serviceId) { this.serviceId = serviceId; if(serviceId != null){ putQueryParameter("ServiceId", serviceId); } } public String getVersionName() { return this.versionName; } public void setVersionName(String versionName) { this.versionName = versionName; if(versionName != null){ putQueryParameter("VersionName", versionName); } } public String getOperationMetadata() { return this.operationMetadata; } public void setOperationMetadata(String operationMetadata) { this.operationMetadata = operationMetadata; if(operationMetadata != null){ putQueryParameter("OperationMetadata", operationMetadata); } } public String getDeployType() { return this.deployType; } public void setDeployType(String deployType) { this.deployType = deployType; if(deployType != null){ putQueryParameter("DeployType", deployType); } } public static class ServiceInfo { private String shortDescription; private String image; private String name; private List<Agreements> agreementss; private String locale; private String longDescriptionUrl; public String getShortDescription() { return this.shortDescription; } public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; } public String getImage() { return this.image; } public void setImage(String image) { this.image = image; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public List<Agreements> getAgreementss() { return this.agreementss; } public void setAgreementss(List<Agreements> agreementss) { this.agreementss = agreementss; } public String getLocale() { return this.locale; } public void setLocale(String locale) { this.locale = locale; } public String getLongDescriptionUrl() { return this.longDescriptionUrl; } public void setLongDescriptionUrl(String longDescriptionUrl) { this.longDescriptionUrl = longDescriptionUrl; } public static class Agreements { private String name; private String url; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } } } public static class UpdateOption { @SerializedName("UpdateFrom") private String updateFrom; public String getUpdateFrom() { return this.updateFrom; } public void setUpdateFrom(String updateFrom) { this.updateFrom = updateFrom; } } @Override public Class<UpdateServiceResponse> getResponseClass() { return UpdateServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpdateServiceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.UpdateServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateServiceResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public UpdateServiceResponse getInstance(UnmarshallerContext context) { return UpdateServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpgradeServiceInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.computenestsupplier.Endpoint; /** * @author auto create * @version */ public class UpgradeServiceInstanceRequest extends RpcAcsRequest<UpgradeServiceInstanceResponse> { private String clientToken; private String serviceInstanceId; private String dryRun; private String serviceVersion; private String parameters; public UpgradeServiceInstanceRequest() { super("ComputeNestSupplier", "2021-05-21", "UpgradeServiceInstance"); 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){ putQueryParameter("ClientToken", clientToken); } } public String getServiceInstanceId() { return this.serviceInstanceId; } public void setServiceInstanceId(String serviceInstanceId) { this.serviceInstanceId = serviceInstanceId; if(serviceInstanceId != null){ putQueryParameter("ServiceInstanceId", serviceInstanceId); } } public String getDryRun() { return this.dryRun; } public void setDryRun(String dryRun) { this.dryRun = dryRun; if(dryRun != null){ putQueryParameter("DryRun", dryRun); } } public String getServiceVersion() { return this.serviceVersion; } public void setServiceVersion(String serviceVersion) { this.serviceVersion = serviceVersion; if(serviceVersion != null){ putQueryParameter("ServiceVersion", serviceVersion); } } public String getParameters() { return this.parameters; } public void setParameters(String parameters) { this.parameters = parameters; if(parameters != null){ putQueryParameter("Parameters", parameters); } } @Override public Class<UpgradeServiceInstanceResponse> getResponseClass() { return UpgradeServiceInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/model/v20210521/UpgradeServiceInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.model.v20210521; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.computenestsupplier.transform.v20210521.UpgradeServiceInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpgradeServiceInstanceResponse extends AcsResponse { private String status; private String requestId; private String serviceInstanceId; private List<String> upgradeRequiredParameters; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getServiceInstanceId() { return this.serviceInstanceId; } public void setServiceInstanceId(String serviceInstanceId) { this.serviceInstanceId = serviceInstanceId; } public List<String> getUpgradeRequiredParameters() { return this.upgradeRequiredParameters; } public void setUpgradeRequiredParameters(List<String> upgradeRequiredParameters) { this.upgradeRequiredParameters = upgradeRequiredParameters; } @Override public UpgradeServiceInstanceResponse getInstance(UnmarshallerContext context) { return UpgradeServiceInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/AddServiceSharedAccountsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.AddServiceSharedAccountsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class AddServiceSharedAccountsResponseUnmarshaller { public static AddServiceSharedAccountsResponse unmarshall(AddServiceSharedAccountsResponse addServiceSharedAccountsResponse, UnmarshallerContext _ctx) { addServiceSharedAccountsResponse.setRequestId(_ctx.stringValue("AddServiceSharedAccountsResponse.RequestId")); return addServiceSharedAccountsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ContinueDeployServiceInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ContinueDeployServiceInstanceResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ContinueDeployServiceInstanceResponse.DryRunResult; import com.aliyuncs.transform.UnmarshallerContext; public class ContinueDeployServiceInstanceResponseUnmarshaller { public static ContinueDeployServiceInstanceResponse unmarshall(ContinueDeployServiceInstanceResponse continueDeployServiceInstanceResponse, UnmarshallerContext _ctx) { continueDeployServiceInstanceResponse.setRequestId(_ctx.stringValue("ContinueDeployServiceInstanceResponse.RequestId")); continueDeployServiceInstanceResponse.setServiceInstanceId(_ctx.stringValue("ContinueDeployServiceInstanceResponse.ServiceInstanceId")); DryRunResult dryRunResult = new DryRunResult(); List<String> parametersNotAllowedToBeModified = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("ContinueDeployServiceInstanceResponse.DryRunResult.ParametersNotAllowedToBeModified.Length"); i++) { parametersNotAllowedToBeModified.add(_ctx.stringValue("ContinueDeployServiceInstanceResponse.DryRunResult.ParametersNotAllowedToBeModified["+ i +"]")); } dryRunResult.setParametersNotAllowedToBeModified(parametersNotAllowedToBeModified); List<String> parametersConditionallyAllowedToBeModified = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("ContinueDeployServiceInstanceResponse.DryRunResult.ParametersConditionallyAllowedToBeModified.Length"); i++) { parametersConditionallyAllowedToBeModified.add(_ctx.stringValue("ContinueDeployServiceInstanceResponse.DryRunResult.ParametersConditionallyAllowedToBeModified["+ i +"]")); } dryRunResult.setParametersConditionallyAllowedToBeModified(parametersConditionallyAllowedToBeModified); List<String> parametersAllowedToBeModified = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("ContinueDeployServiceInstanceResponse.DryRunResult.ParametersAllowedToBeModified.Length"); i++) { parametersAllowedToBeModified.add(_ctx.stringValue("ContinueDeployServiceInstanceResponse.DryRunResult.ParametersAllowedToBeModified["+ i +"]")); } dryRunResult.setParametersAllowedToBeModified(parametersAllowedToBeModified); continueDeployServiceInstanceResponse.setDryRunResult(dryRunResult); return continueDeployServiceInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/CreateArtifactResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.CreateArtifactResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateArtifactResponseUnmarshaller { public static CreateArtifactResponse unmarshall(CreateArtifactResponse createArtifactResponse, UnmarshallerContext _ctx) { createArtifactResponse.setRequestId(_ctx.stringValue("CreateArtifactResponse.RequestId")); createArtifactResponse.setArtifactId(_ctx.stringValue("CreateArtifactResponse.ArtifactId")); createArtifactResponse.setArtifactType(_ctx.stringValue("CreateArtifactResponse.ArtifactType")); createArtifactResponse.setName(_ctx.stringValue("CreateArtifactResponse.Name")); createArtifactResponse.setVersionName(_ctx.stringValue("CreateArtifactResponse.VersionName")); createArtifactResponse.setArtifactVersion(_ctx.stringValue("CreateArtifactResponse.ArtifactVersion")); createArtifactResponse.setDescription(_ctx.stringValue("CreateArtifactResponse.Description")); createArtifactResponse.setGmtModified(_ctx.stringValue("CreateArtifactResponse.GmtModified")); createArtifactResponse.setStatus(_ctx.stringValue("CreateArtifactResponse.Status")); createArtifactResponse.setMaxVersion(_ctx.longValue("CreateArtifactResponse.MaxVersion")); createArtifactResponse.setArtifactProperty(_ctx.stringValue("CreateArtifactResponse.ArtifactProperty")); createArtifactResponse.setSupportRegionIds(_ctx.stringValue("CreateArtifactResponse.SupportRegionIds")); return createArtifactResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/CreateServiceInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.CreateServiceInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateServiceInstanceResponseUnmarshaller { public static CreateServiceInstanceResponse unmarshall(CreateServiceInstanceResponse createServiceInstanceResponse, UnmarshallerContext _ctx) { createServiceInstanceResponse.setRequestId(_ctx.stringValue("CreateServiceInstanceResponse.RequestId")); createServiceInstanceResponse.setStatus(_ctx.stringValue("CreateServiceInstanceResponse.Status")); createServiceInstanceResponse.setServiceInstanceId(_ctx.stringValue("CreateServiceInstanceResponse.ServiceInstanceId")); return createServiceInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/CreateServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.CreateServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateServiceResponseUnmarshaller { public static CreateServiceResponse unmarshall(CreateServiceResponse createServiceResponse, UnmarshallerContext _ctx) { createServiceResponse.setRequestId(_ctx.stringValue("CreateServiceResponse.RequestId")); createServiceResponse.setStatus(_ctx.stringValue("CreateServiceResponse.Status")); createServiceResponse.setVersion(_ctx.stringValue("CreateServiceResponse.Version")); createServiceResponse.setServiceId(_ctx.stringValue("CreateServiceResponse.ServiceId")); return createServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/DeleteArtifactResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.DeleteArtifactResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteArtifactResponseUnmarshaller { public static DeleteArtifactResponse unmarshall(DeleteArtifactResponse deleteArtifactResponse, UnmarshallerContext _ctx) { deleteArtifactResponse.setRequestId(_ctx.stringValue("DeleteArtifactResponse.RequestId")); return deleteArtifactResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/DeleteServiceInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.DeleteServiceInstancesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteServiceInstancesResponseUnmarshaller { public static DeleteServiceInstancesResponse unmarshall(DeleteServiceInstancesResponse deleteServiceInstancesResponse, UnmarshallerContext _ctx) { deleteServiceInstancesResponse.setRequestId(_ctx.stringValue("DeleteServiceInstancesResponse.RequestId")); return deleteServiceInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/DeleteServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.DeleteServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteServiceResponseUnmarshaller { public static DeleteServiceResponse unmarshall(DeleteServiceResponse deleteServiceResponse, UnmarshallerContext _ctx) { deleteServiceResponse.setRequestId(_ctx.stringValue("DeleteServiceResponse.RequestId")); return deleteServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/DeployServiceInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.DeployServiceInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeployServiceInstanceResponseUnmarshaller { public static DeployServiceInstanceResponse unmarshall(DeployServiceInstanceResponse deployServiceInstanceResponse, UnmarshallerContext _ctx) { deployServiceInstanceResponse.setRequestId(_ctx.stringValue("DeployServiceInstanceResponse.RequestId")); return deployServiceInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetArtifactRepositoryCredentialsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.GetArtifactRepositoryCredentialsResponse; import com.aliyuncs.computenestsupplier.model.v20210521.GetArtifactRepositoryCredentialsResponse.AvailableResourcesItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetArtifactRepositoryCredentialsResponse.Credentials; import com.aliyuncs.transform.UnmarshallerContext; public class GetArtifactRepositoryCredentialsResponseUnmarshaller { public static GetArtifactRepositoryCredentialsResponse unmarshall(GetArtifactRepositoryCredentialsResponse getArtifactRepositoryCredentialsResponse, UnmarshallerContext _ctx) { getArtifactRepositoryCredentialsResponse.setRequestId(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.RequestId")); getArtifactRepositoryCredentialsResponse.setExpireDate(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.ExpireDate")); Credentials credentials = new Credentials(); credentials.setUsername(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.Credentials.Username")); credentials.setPassword(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.Credentials.Password")); credentials.setAccessKeyId(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.Credentials.AccessKeyId")); credentials.setAccessKeySecret(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.Credentials.AccessKeySecret")); credentials.setSecurityToken(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.Credentials.SecurityToken")); getArtifactRepositoryCredentialsResponse.setCredentials(credentials); List<AvailableResourcesItem> availableResources = new ArrayList<AvailableResourcesItem>(); for (int i = 0; i < _ctx.lengthValue("GetArtifactRepositoryCredentialsResponse.AvailableResources.Length"); i++) { AvailableResourcesItem availableResourcesItem = new AvailableResourcesItem(); availableResourcesItem.setRegionId(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.AvailableResources["+ i +"].RegionId")); availableResourcesItem.setRepositoryName(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.AvailableResources["+ i +"].RepositoryName")); availableResourcesItem.setPath(_ctx.stringValue("GetArtifactRepositoryCredentialsResponse.AvailableResources["+ i +"].Path")); availableResources.add(availableResourcesItem); } getArtifactRepositoryCredentialsResponse.setAvailableResources(availableResources); return getArtifactRepositoryCredentialsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetArtifactResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.GetArtifactResponse; import com.aliyuncs.computenestsupplier.model.v20210521.GetArtifactResponse.Tag; import com.aliyuncs.transform.UnmarshallerContext; public class GetArtifactResponseUnmarshaller { public static GetArtifactResponse unmarshall(GetArtifactResponse getArtifactResponse, UnmarshallerContext _ctx) { getArtifactResponse.setRequestId(_ctx.stringValue("GetArtifactResponse.RequestId")); getArtifactResponse.setArtifactId(_ctx.stringValue("GetArtifactResponse.ArtifactId")); getArtifactResponse.setArtifactType(_ctx.stringValue("GetArtifactResponse.ArtifactType")); getArtifactResponse.setName(_ctx.stringValue("GetArtifactResponse.Name")); getArtifactResponse.setVersionName(_ctx.stringValue("GetArtifactResponse.VersionName")); getArtifactResponse.setArtifactVersion(_ctx.stringValue("GetArtifactResponse.ArtifactVersion")); getArtifactResponse.setDescription(_ctx.stringValue("GetArtifactResponse.Description")); getArtifactResponse.setGmtModified(_ctx.stringValue("GetArtifactResponse.GmtModified")); getArtifactResponse.setStatus(_ctx.stringValue("GetArtifactResponse.Status")); getArtifactResponse.setMaxVersion(_ctx.longValue("GetArtifactResponse.MaxVersion")); getArtifactResponse.setArtifactProperty(_ctx.stringValue("GetArtifactResponse.ArtifactProperty")); getArtifactResponse.setSupportRegionIds(_ctx.stringValue("GetArtifactResponse.SupportRegionIds")); getArtifactResponse.setProgress(_ctx.stringValue("GetArtifactResponse.Progress")); getArtifactResponse.setResourceGroupId(_ctx.stringValue("GetArtifactResponse.ResourceGroupId")); List<Tag> tags = new ArrayList<Tag>(); for (int i = 0; i < _ctx.lengthValue("GetArtifactResponse.Tags.Length"); i++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("GetArtifactResponse.Tags["+ i +"].Key")); tag.setValue(_ctx.stringValue("GetArtifactResponse.Tags["+ i +"].Value")); tags.add(tag); } getArtifactResponse.setTags(tags); return getArtifactResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetServiceEstimateCostResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceEstimateCostResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetServiceEstimateCostResponseUnmarshaller { public static GetServiceEstimateCostResponse unmarshall(GetServiceEstimateCostResponse getServiceEstimateCostResponse, UnmarshallerContext _ctx) { getServiceEstimateCostResponse.setRequestId(_ctx.stringValue("GetServiceEstimateCostResponse.RequestId")); getServiceEstimateCostResponse.setResources(_ctx.mapValue("GetServiceEstimateCostResponse.Resources")); getServiceEstimateCostResponse.setCommodity(_ctx.mapValue("GetServiceEstimateCostResponse.Commodity")); return getServiceEstimateCostResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetServiceInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.NetworkConfig; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnection; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnection.ConnectionConfig; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.NetworkConfig.ReversePrivateVpcConnection; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.Service; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.Service.ServiceInfo; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceInstanceResponse.Tag; import com.aliyuncs.transform.UnmarshallerContext; public class GetServiceInstanceResponseUnmarshaller { public static GetServiceInstanceResponse unmarshall(GetServiceInstanceResponse getServiceInstanceResponse, UnmarshallerContext _ctx) { getServiceInstanceResponse.setRequestId(_ctx.stringValue("GetServiceInstanceResponse.RequestId")); getServiceInstanceResponse.setStatus(_ctx.stringValue("GetServiceInstanceResponse.Status")); getServiceInstanceResponse.setTemplateName(_ctx.stringValue("GetServiceInstanceResponse.TemplateName")); getServiceInstanceResponse.setUpdateTime(_ctx.stringValue("GetServiceInstanceResponse.UpdateTime")); getServiceInstanceResponse.setServiceInstanceId(_ctx.stringValue("GetServiceInstanceResponse.ServiceInstanceId")); getServiceInstanceResponse.setCreateTime(_ctx.stringValue("GetServiceInstanceResponse.CreateTime")); getServiceInstanceResponse.setUserId(_ctx.longValue("GetServiceInstanceResponse.UserId")); getServiceInstanceResponse.setSupplierUid(_ctx.longValue("GetServiceInstanceResponse.SupplierUid")); getServiceInstanceResponse.setParameters(_ctx.stringValue("GetServiceInstanceResponse.Parameters")); getServiceInstanceResponse.setProgress(_ctx.longValue("GetServiceInstanceResponse.Progress")); getServiceInstanceResponse.setStatusDetail(_ctx.stringValue("GetServiceInstanceResponse.StatusDetail")); getServiceInstanceResponse.setOperationStartTime(_ctx.stringValue("GetServiceInstanceResponse.OperationStartTime")); getServiceInstanceResponse.setOperationEndTime(_ctx.stringValue("GetServiceInstanceResponse.OperationEndTime")); getServiceInstanceResponse.setOperatedServiceInstanceId(_ctx.stringValue("GetServiceInstanceResponse.OperatedServiceInstanceId")); getServiceInstanceResponse.setIsOperated(_ctx.booleanValue("GetServiceInstanceResponse.IsOperated")); getServiceInstanceResponse.setEnableInstanceOps(_ctx.booleanValue("GetServiceInstanceResponse.EnableInstanceOps")); getServiceInstanceResponse.setResources(_ctx.stringValue("GetServiceInstanceResponse.Resources")); getServiceInstanceResponse.setOutputs(_ctx.stringValue("GetServiceInstanceResponse.Outputs")); getServiceInstanceResponse.setEndTime(_ctx.stringValue("GetServiceInstanceResponse.EndTime")); getServiceInstanceResponse.setSource(_ctx.stringValue("GetServiceInstanceResponse.Source")); getServiceInstanceResponse.setServiceType(_ctx.stringValue("GetServiceInstanceResponse.ServiceType")); getServiceInstanceResponse.setPayType(_ctx.stringValue("GetServiceInstanceResponse.PayType")); getServiceInstanceResponse.setLicenseMetadata(_ctx.stringValue("GetServiceInstanceResponse.LicenseMetadata")); getServiceInstanceResponse.setName(_ctx.stringValue("GetServiceInstanceResponse.Name")); getServiceInstanceResponse.setEnableUserPrometheus(_ctx.booleanValue("GetServiceInstanceResponse.EnableUserPrometheus")); getServiceInstanceResponse.setRdAccountLoginUrl(_ctx.stringValue("GetServiceInstanceResponse.RdAccountLoginUrl")); getServiceInstanceResponse.setPredefinedParameterName(_ctx.stringValue("GetServiceInstanceResponse.PredefinedParameterName")); getServiceInstanceResponse.setResourceGroupId(_ctx.stringValue("GetServiceInstanceResponse.ResourceGroupId")); getServiceInstanceResponse.setBizStatus(_ctx.stringValue("GetServiceInstanceResponse.BizStatus")); getServiceInstanceResponse.setGrafanaDashBoardUrl(_ctx.stringValue("GetServiceInstanceResponse.GrafanaDashBoardUrl")); Service service = new Service(); service.setStatus(_ctx.stringValue("GetServiceInstanceResponse.Service.Status")); service.setPublishTime(_ctx.stringValue("GetServiceInstanceResponse.Service.PublishTime")); service.setVersion(_ctx.stringValue("GetServiceInstanceResponse.Service.Version")); service.setDeployMetadata(_ctx.stringValue("GetServiceInstanceResponse.Service.DeployMetadata")); service.setDeployType(_ctx.stringValue("GetServiceInstanceResponse.Service.DeployType")); service.setServiceId(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceId")); service.setSupplierUrl(_ctx.stringValue("GetServiceInstanceResponse.Service.SupplierUrl")); service.setServiceProductUrl(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceProductUrl")); service.setServiceDocUrl(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceDocUrl")); service.setServiceType(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceType")); service.setSupplierName(_ctx.stringValue("GetServiceInstanceResponse.Service.SupplierName")); service.setVersionName(_ctx.stringValue("GetServiceInstanceResponse.Service.VersionName")); List<String> upgradableServiceVersions = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetServiceInstanceResponse.Service.UpgradableServiceVersions.Length"); i++) { upgradableServiceVersions.add(_ctx.stringValue("GetServiceInstanceResponse.Service.UpgradableServiceVersions["+ i +"]")); } service.setUpgradableServiceVersions(upgradableServiceVersions); List<ServiceInfo> serviceInfos = new ArrayList<ServiceInfo>(); for (int i = 0; i < _ctx.lengthValue("GetServiceInstanceResponse.Service.ServiceInfos.Length"); i++) { ServiceInfo serviceInfo = new ServiceInfo(); serviceInfo.setLocale(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceInfos["+ i +"].Locale")); serviceInfo.setImage(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceInfos["+ i +"].Image")); serviceInfo.setName(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceInfos["+ i +"].Name")); serviceInfo.setShortDescription(_ctx.stringValue("GetServiceInstanceResponse.Service.ServiceInfos["+ i +"].ShortDescription")); serviceInfos.add(serviceInfo); } service.setServiceInfos(serviceInfos); getServiceInstanceResponse.setService(service); NetworkConfig networkConfig = new NetworkConfig(); networkConfig.setEndpointServiceId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.EndpointServiceId")); networkConfig.setEndpointId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.EndpointId")); List<PrivateVpcConnection> privateVpcConnections = new ArrayList<PrivateVpcConnection>(); for (int i = 0; i < _ctx.lengthValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections.Length"); i++) { PrivateVpcConnection privateVpcConnection = new PrivateVpcConnection(); privateVpcConnection.setEndpointId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].EndpointId")); privateVpcConnection.setEndpointServiceId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].EndpointServiceId")); privateVpcConnection.setPrivateZoneName(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].PrivateZoneName")); List<ConnectionConfig> connectionConfigs = new ArrayList<ConnectionConfig>(); for (int j = 0; j < _ctx.lengthValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs.Length"); j++) { ConnectionConfig connectionConfig = new ConnectionConfig(); connectionConfig.setVpcId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].VpcId")); connectionConfig.setIngressEndpointStatus(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].IngressEndpointStatus")); connectionConfig.setNetworkServiceStatus(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].NetworkServiceStatus")); connectionConfig.setDomainName(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].DomainName")); connectionConfig.setConnectBandwidth(_ctx.integerValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].ConnectBandwidth")); List<String> securityGroups = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].SecurityGroups.Length"); k++) { securityGroups.add(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].SecurityGroups["+ k +"]")); } connectionConfig.setSecurityGroups(securityGroups); List<String> vSwitches = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].VSwitches.Length"); k++) { vSwitches.add(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].VSwitches["+ k +"]")); } connectionConfig.setVSwitches(vSwitches); List<String> endpointIps = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].EndpointIps.Length"); k++) { endpointIps.add(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.PrivateVpcConnections["+ i +"].ConnectionConfigs["+ j +"].EndpointIps["+ k +"]")); } connectionConfig.setEndpointIps(endpointIps); connectionConfigs.add(connectionConfig); } privateVpcConnection.setConnectionConfigs(connectionConfigs); privateVpcConnections.add(privateVpcConnection); } networkConfig.setPrivateVpcConnections(privateVpcConnections); List<ReversePrivateVpcConnection> reversePrivateVpcConnections = new ArrayList<ReversePrivateVpcConnection>(); for (int i = 0; i < _ctx.lengthValue("GetServiceInstanceResponse.NetworkConfig.ReversePrivateVpcConnections.Length"); i++) { ReversePrivateVpcConnection reversePrivateVpcConnection = new ReversePrivateVpcConnection(); reversePrivateVpcConnection.setEndpointId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.ReversePrivateVpcConnections["+ i +"].EndpointId")); reversePrivateVpcConnection.setEndpointServiceId(_ctx.stringValue("GetServiceInstanceResponse.NetworkConfig.ReversePrivateVpcConnections["+ i +"].EndpointServiceId")); reversePrivateVpcConnections.add(reversePrivateVpcConnection); } networkConfig.setReversePrivateVpcConnections(reversePrivateVpcConnections); getServiceInstanceResponse.setNetworkConfig(networkConfig); List<Tag> tags = new ArrayList<Tag>(); for (int i = 0; i < _ctx.lengthValue("GetServiceInstanceResponse.Tags.Length"); i++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("GetServiceInstanceResponse.Tags["+ i +"].Key")); tag.setValue(_ctx.stringValue("GetServiceInstanceResponse.Tags["+ i +"].Value")); tags.add(tag); } getServiceInstanceResponse.setTags(tags); return getServiceInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.CssMetadata; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.CssMetadata.ComponentsMappingsItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.CssMetadata.MeteringEntityExtraInfosItem4; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.CssMetadata.MeteringEntityMappingsItem3; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.MarketplaceMetadata; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityExtraInfosItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityMappingsItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.MarketplaceMetadata.SpecificationMappingsItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.MeteringEntitiesItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Commodity.SpecificationsItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.ServiceInfo; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.ServiceInfo.AgreementsItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Statistic; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceResponse.Tag; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetServiceResponseUnmarshaller { public static GetServiceResponse unmarshall(GetServiceResponse getServiceResponse, UnmarshallerContext _ctx) { getServiceResponse.setRequestId(_ctx.stringValue("GetServiceResponse.RequestId")); getServiceResponse.setStatus(_ctx.stringValue("GetServiceResponse.Status")); getServiceResponse.setDeployMetadata(_ctx.stringValue("GetServiceResponse.DeployMetadata")); getServiceResponse.setPublishTime(_ctx.stringValue("GetServiceResponse.PublishTime")); getServiceResponse.setVersion(_ctx.stringValue("GetServiceResponse.Version")); getServiceResponse.setDeployType(_ctx.stringValue("GetServiceResponse.DeployType")); getServiceResponse.setServiceId(_ctx.stringValue("GetServiceResponse.ServiceId")); getServiceResponse.setSupplierUrl(_ctx.stringValue("GetServiceResponse.SupplierUrl")); getServiceResponse.setServiceDocUrl(_ctx.stringValue("GetServiceResponse.ServiceDocUrl")); getServiceResponse.setServiceProductUrl(_ctx.stringValue("GetServiceResponse.ServiceProductUrl")); getServiceResponse.setServiceType(_ctx.stringValue("GetServiceResponse.ServiceType")); getServiceResponse.setSupplierName(_ctx.stringValue("GetServiceResponse.SupplierName")); getServiceResponse.setCommodityCode(_ctx.stringValue("GetServiceResponse.CommodityCode")); getServiceResponse.setIsSupportOperated(_ctx.booleanValue("GetServiceResponse.IsSupportOperated")); getServiceResponse.setPolicyNames(_ctx.stringValue("GetServiceResponse.PolicyNames")); getServiceResponse.setDuration(_ctx.longValue("GetServiceResponse.Duration")); getServiceResponse.setProgress(_ctx.longValue("GetServiceResponse.Progress")); getServiceResponse.setStatusDetail(_ctx.stringValue("GetServiceResponse.StatusDetail")); getServiceResponse.setCreateTime(_ctx.stringValue("GetServiceResponse.CreateTime")); getServiceResponse.setUpdateTime(_ctx.stringValue("GetServiceResponse.UpdateTime")); getServiceResponse.setShareType(_ctx.stringValue("GetServiceResponse.ShareType")); getServiceResponse.setAlarmMetadata(_ctx.stringValue("GetServiceResponse.AlarmMetadata")); getServiceResponse.setUpgradeMetadata(_ctx.stringValue("GetServiceResponse.UpgradeMetadata")); getServiceResponse.setVersionName(_ctx.stringValue("GetServiceResponse.VersionName")); getServiceResponse.setPayFromType(_ctx.stringValue("GetServiceResponse.PayFromType")); getServiceResponse.setPayType(_ctx.stringValue("GetServiceResponse.PayType")); getServiceResponse.setDefaultLicenseDays(_ctx.longValue("GetServiceResponse.DefaultLicenseDays")); getServiceResponse.setTrialDuration(_ctx.longValue("GetServiceResponse.TrialDuration")); getServiceResponse.setTrialType(_ctx.stringValue("GetServiceResponse.TrialType")); getServiceResponse.setTenantType(_ctx.stringValue("GetServiceResponse.TenantType")); getServiceResponse.setLicenseMetadata(_ctx.stringValue("GetServiceResponse.LicenseMetadata")); getServiceResponse.setOperationMetadata(_ctx.stringValue("GetServiceResponse.OperationMetadata")); getServiceResponse.setTestStatus(_ctx.stringValue("GetServiceResponse.TestStatus")); getServiceResponse.setApprovalType(_ctx.stringValue("GetServiceResponse.ApprovalType")); getServiceResponse.setRegistrationId(_ctx.stringValue("GetServiceResponse.RegistrationId")); getServiceResponse.setResourceGroupId(_ctx.stringValue("GetServiceResponse.ResourceGroupId")); getServiceResponse.setPermission(_ctx.stringValue("GetServiceResponse.Permission")); getServiceResponse.setSourceServiceId(_ctx.stringValue("GetServiceResponse.SourceServiceId")); getServiceResponse.setSourceServiceVersion(_ctx.stringValue("GetServiceResponse.SourceServiceVersion")); getServiceResponse.setSourceSupplierName(_ctx.stringValue("GetServiceResponse.SourceSupplierName")); getServiceResponse.setLogMetadata(_ctx.stringValue("GetServiceResponse.LogMetadata")); getServiceResponse.setResellable(_ctx.booleanValue("GetServiceResponse.Resellable")); getServiceResponse.setVirtualInternetService(_ctx.stringValue("GetServiceResponse.VirtualInternetService")); getServiceResponse.setServiceDiscoverable(_ctx.stringValue("GetServiceResponse.ServiceDiscoverable")); getServiceResponse.setCategories(_ctx.stringValue("GetServiceResponse.Categories")); getServiceResponse.setShareTypeStatus(_ctx.stringValue("GetServiceResponse.ShareTypeStatus")); getServiceResponse.setServiceAuditDocumentUrl(_ctx.stringValue("GetServiceResponse.ServiceAuditDocumentUrl")); getServiceResponse.setEntitySource(_ctx.mapValue("GetServiceResponse.EntitySource")); getServiceResponse.setCrossRegionConnectionStatus(_ctx.stringValue("GetServiceResponse.CrossRegionConnectionStatus")); getServiceResponse.setVirtualInternetServiceId(_ctx.stringValue("GetServiceResponse.VirtualInternetServiceId")); getServiceResponse.setBuildInfo(_ctx.stringValue("GetServiceResponse.BuildInfo")); Statistic statistic = new Statistic(); statistic.setAccumulativeInstanceCount(_ctx.integerValue("GetServiceResponse.Statistic.AccumulativeInstanceCount")); statistic.setAccumulativeUserCount(_ctx.integerValue("GetServiceResponse.Statistic.AccumulativeUserCount")); statistic.setDeployedServiceInstanceCount(_ctx.integerValue("GetServiceResponse.Statistic.DeployedServiceInstanceCount")); statistic.setDeployedUserCount(_ctx.integerValue("GetServiceResponse.Statistic.DeployedUserCount")); statistic.setSubmittedUsageCount(_ctx.integerValue("GetServiceResponse.Statistic.SubmittedUsageCount")); statistic.setAccumulativePocAmount(_ctx.doubleValue("GetServiceResponse.Statistic.AccumulativePocAmount")); statistic.setAveragePocAmount(_ctx.doubleValue("GetServiceResponse.Statistic.AveragePocAmount")); statistic.setAveragePocUnitAmount(_ctx.doubleValue("GetServiceResponse.Statistic.AveragePocUnitAmount")); statistic.setAveragePocDuration(_ctx.doubleValue("GetServiceResponse.Statistic.AveragePocDuration")); getServiceResponse.setStatistic(statistic); Commodity commodity = new Commodity(); commodity.setType(_ctx.stringValue("GetServiceResponse.Commodity.Type")); commodity.setChargeType(_ctx.stringValue("GetServiceResponse.Commodity.ChargeType")); commodity.setCommodityCode(_ctx.stringValue("GetServiceResponse.Commodity.CommodityCode")); commodity.setSaasBoostMetadata(_ctx.stringValue("GetServiceResponse.Commodity.SaasBoostMetadata")); List<String> components = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.Components.Length"); i++) { components.add(_ctx.stringValue("GetServiceResponse.Commodity.Components["+ i +"]")); } commodity.setComponents(components); MarketplaceMetadata marketplaceMetadata = new MarketplaceMetadata(); List<SpecificationMappingsItem> specificationMappings = new ArrayList<SpecificationMappingsItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.MarketplaceMetadata.SpecificationMappings.Length"); i++) { SpecificationMappingsItem specificationMappingsItem = new SpecificationMappingsItem(); specificationMappingsItem.setSpecificationCode(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.SpecificationMappings["+ i +"].SpecificationCode")); specificationMappingsItem.setTemplateName(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.SpecificationMappings["+ i +"].TemplateName")); specificationMappingsItem.setSpecificationName(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.SpecificationMappings["+ i +"].SpecificationName")); specificationMappingsItem.setTrialType(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.SpecificationMappings["+ i +"].TrialType")); specificationMappings.add(specificationMappingsItem); } marketplaceMetadata.setSpecificationMappings(specificationMappings); List<MeteringEntityMappingsItem> meteringEntityMappings = new ArrayList<MeteringEntityMappingsItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityMappings.Length"); i++) { MeteringEntityMappingsItem meteringEntityMappingsItem = new MeteringEntityMappingsItem(); meteringEntityMappingsItem.setEntityIds(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityMappings["+ i +"].EntityIds")); meteringEntityMappingsItem.setTemplateName(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityMappings["+ i +"].TemplateName")); meteringEntityMappingsItem.setSpecificationName(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityMappings["+ i +"].SpecificationName")); meteringEntityMappings.add(meteringEntityMappingsItem); } marketplaceMetadata.setMeteringEntityMappings(meteringEntityMappings); List<MeteringEntityExtraInfosItem> meteringEntityExtraInfos = new ArrayList<MeteringEntityExtraInfosItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityExtraInfos.Length"); i++) { MeteringEntityExtraInfosItem meteringEntityExtraInfosItem = new MeteringEntityExtraInfosItem(); meteringEntityExtraInfosItem.setEntityId(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityExtraInfos["+ i +"].EntityId")); meteringEntityExtraInfosItem.setType(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityExtraInfos["+ i +"].Type")); meteringEntityExtraInfosItem.setMetricName(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityExtraInfos["+ i +"].MetricName")); meteringEntityExtraInfosItem.setPromql(_ctx.stringValue("GetServiceResponse.Commodity.MarketplaceMetadata.MeteringEntityExtraInfos["+ i +"].Promql")); meteringEntityExtraInfos.add(meteringEntityExtraInfosItem); } marketplaceMetadata.setMeteringEntityExtraInfos(meteringEntityExtraInfos); commodity.setMarketplaceMetadata(marketplaceMetadata); CssMetadata cssMetadata = new CssMetadata(); List<ComponentsMappingsItem> componentsMappings = new ArrayList<ComponentsMappingsItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.CssMetadata.ComponentsMappings.Length"); i++) { ComponentsMappingsItem componentsMappingsItem = new ComponentsMappingsItem(); componentsMappingsItem.setMappings(_ctx.mapValue("GetServiceResponse.Commodity.CssMetadata.ComponentsMappings["+ i +"].Mappings")); componentsMappingsItem.setTemplateName(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.ComponentsMappings["+ i +"].TemplateName")); componentsMappings.add(componentsMappingsItem); } cssMetadata.setComponentsMappings(componentsMappings); List<MeteringEntityMappingsItem3> meteringEntityMappings1 = new ArrayList<MeteringEntityMappingsItem3>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityMappings.Length"); i++) { MeteringEntityMappingsItem3 meteringEntityMappingsItem3 = new MeteringEntityMappingsItem3(); meteringEntityMappingsItem3.setEntityIds(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityMappings["+ i +"].EntityIds")); meteringEntityMappingsItem3.setTemplateName(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityMappings["+ i +"].TemplateName")); meteringEntityMappingsItem3.setSpecificationName(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityMappings["+ i +"].SpecificationName")); meteringEntityMappings1.add(meteringEntityMappingsItem3); } cssMetadata.setMeteringEntityMappings1(meteringEntityMappings1); List<MeteringEntityExtraInfosItem4> meteringEntityExtraInfos2 = new ArrayList<MeteringEntityExtraInfosItem4>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityExtraInfos.Length"); i++) { MeteringEntityExtraInfosItem4 meteringEntityExtraInfosItem4 = new MeteringEntityExtraInfosItem4(); meteringEntityExtraInfosItem4.setEntityId(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityExtraInfos["+ i +"].EntityId")); meteringEntityExtraInfosItem4.setType(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityExtraInfos["+ i +"].Type")); meteringEntityExtraInfosItem4.setMetricName(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityExtraInfos["+ i +"].MetricName")); meteringEntityExtraInfosItem4.setPromql(_ctx.stringValue("GetServiceResponse.Commodity.CssMetadata.MeteringEntityExtraInfos["+ i +"].Promql")); meteringEntityExtraInfos2.add(meteringEntityExtraInfosItem4); } cssMetadata.setMeteringEntityExtraInfos2(meteringEntityExtraInfos2); commodity.setCssMetadata(cssMetadata); List<SpecificationsItem> specifications = new ArrayList<SpecificationsItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.Specifications.Length"); i++) { SpecificationsItem specificationsItem = new SpecificationsItem(); specificationsItem.setCode(_ctx.stringValue("GetServiceResponse.Commodity.Specifications["+ i +"].Code")); specificationsItem.setName(_ctx.stringValue("GetServiceResponse.Commodity.Specifications["+ i +"].Name")); List<String> times = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetServiceResponse.Commodity.Specifications["+ i +"].Times.Length"); j++) { times.add(_ctx.stringValue("GetServiceResponse.Commodity.Specifications["+ i +"].Times["+ j +"]")); } specificationsItem.setTimes(times); specifications.add(specificationsItem); } commodity.setSpecifications(specifications); List<MeteringEntitiesItem> meteringEntities = new ArrayList<MeteringEntitiesItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Commodity.MeteringEntities.Length"); i++) { MeteringEntitiesItem meteringEntitiesItem = new MeteringEntitiesItem(); meteringEntitiesItem.setEntityId(_ctx.stringValue("GetServiceResponse.Commodity.MeteringEntities["+ i +"].EntityId")); meteringEntitiesItem.setName(_ctx.stringValue("GetServiceResponse.Commodity.MeteringEntities["+ i +"].Name")); meteringEntities.add(meteringEntitiesItem); } commodity.setMeteringEntities(meteringEntities); getServiceResponse.setCommodity(commodity); List<ServiceInfo> serviceInfos = new ArrayList<ServiceInfo>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.ServiceInfos.Length"); i++) { ServiceInfo serviceInfo = new ServiceInfo(); serviceInfo.setLocale(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].Locale")); serviceInfo.setImage(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].Image")); serviceInfo.setName(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].Name")); serviceInfo.setShortDescription(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].ShortDescription")); serviceInfo.setLongDescriptionUrl(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].LongDescriptionUrl")); List<AgreementsItem> agreements = new ArrayList<AgreementsItem>(); for (int j = 0; j < _ctx.lengthValue("GetServiceResponse.ServiceInfos["+ i +"].Agreements.Length"); j++) { AgreementsItem agreementsItem = new AgreementsItem(); agreementsItem.setName(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].Agreements["+ j +"].Name")); agreementsItem.setUrl(_ctx.stringValue("GetServiceResponse.ServiceInfos["+ i +"].Agreements["+ j +"].Url")); agreements.add(agreementsItem); } serviceInfo.setAgreements(agreements); serviceInfos.add(serviceInfo); } getServiceResponse.setServiceInfos(serviceInfos); List<Tag> tags = new ArrayList<Tag>(); for (int i = 0; i < _ctx.lengthValue("GetServiceResponse.Tags.Length"); i++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("GetServiceResponse.Tags["+ i +"].Key")); tag.setValue(_ctx.stringValue("GetServiceResponse.Tags["+ i +"].Value")); tags.add(tag); } getServiceResponse.setTags(tags); return getServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetServiceTemplateParameterConstraintsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceTemplateParameterConstraintsResponse; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceTemplateParameterConstraintsResponse.ParameterConstraintsItem; import com.aliyuncs.computenestsupplier.model.v20210521.GetServiceTemplateParameterConstraintsResponse.ParameterConstraintsItem.OriginalConstraintsItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetServiceTemplateParameterConstraintsResponseUnmarshaller { public static GetServiceTemplateParameterConstraintsResponse unmarshall(GetServiceTemplateParameterConstraintsResponse getServiceTemplateParameterConstraintsResponse, UnmarshallerContext _ctx) { getServiceTemplateParameterConstraintsResponse.setRequestId(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.RequestId")); List<String> familyConstraints = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetServiceTemplateParameterConstraintsResponse.FamilyConstraints.Length"); i++) { familyConstraints.add(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.FamilyConstraints["+ i +"]")); } getServiceTemplateParameterConstraintsResponse.setFamilyConstraints(familyConstraints); List<ParameterConstraintsItem> parameterConstraints = new ArrayList<ParameterConstraintsItem>(); for (int i = 0; i < _ctx.lengthValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints.Length"); i++) { ParameterConstraintsItem parameterConstraintsItem = new ParameterConstraintsItem(); parameterConstraintsItem.setType(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].Type")); parameterConstraintsItem.setParameterKey(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].ParameterKey")); parameterConstraintsItem.setBehavior(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].Behavior")); parameterConstraintsItem.setBehaviorReason(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].BehaviorReason")); List<String> allowedValues = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].AllowedValues.Length"); j++) { allowedValues.add(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].AllowedValues["+ j +"]")); } parameterConstraintsItem.setAllowedValues(allowedValues); List<String> associationParameterNames = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].AssociationParameterNames.Length"); j++) { associationParameterNames.add(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].AssociationParameterNames["+ j +"]")); } parameterConstraintsItem.setAssociationParameterNames(associationParameterNames); List<OriginalConstraintsItem> originalConstraints = new ArrayList<OriginalConstraintsItem>(); for (int j = 0; j < _ctx.lengthValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].OriginalConstraints.Length"); j++) { OriginalConstraintsItem originalConstraintsItem = new OriginalConstraintsItem(); originalConstraintsItem.setPropertyName(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].OriginalConstraints["+ j +"].PropertyName")); originalConstraintsItem.setResourceName(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].OriginalConstraints["+ j +"].ResourceName")); originalConstraintsItem.setResourceType(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].OriginalConstraints["+ j +"].ResourceType")); List<String> allowedValues1 = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].OriginalConstraints["+ j +"].AllowedValues.Length"); k++) { allowedValues1.add(_ctx.stringValue("GetServiceTemplateParameterConstraintsResponse.ParameterConstraints["+ i +"].OriginalConstraints["+ j +"].AllowedValues["+ k +"]")); } originalConstraintsItem.setAllowedValues1(allowedValues1); originalConstraints.add(originalConstraintsItem); } parameterConstraintsItem.setOriginalConstraints(originalConstraints); parameterConstraints.add(parameterConstraintsItem); } getServiceTemplateParameterConstraintsResponse.setParameterConstraints(parameterConstraints); return getServiceTemplateParameterConstraintsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/GetUploadCredentialsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.GetUploadCredentialsResponse; import com.aliyuncs.computenestsupplier.model.v20210521.GetUploadCredentialsResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetUploadCredentialsResponseUnmarshaller { public static GetUploadCredentialsResponse unmarshall(GetUploadCredentialsResponse getUploadCredentialsResponse, UnmarshallerContext _ctx) { getUploadCredentialsResponse.setRequestId(_ctx.stringValue("GetUploadCredentialsResponse.RequestId")); getUploadCredentialsResponse.setSuccess(_ctx.booleanValue("GetUploadCredentialsResponse.Success")); getUploadCredentialsResponse.setCode(_ctx.stringValue("GetUploadCredentialsResponse.Code")); getUploadCredentialsResponse.setMessage(_ctx.stringValue("GetUploadCredentialsResponse.Message")); getUploadCredentialsResponse.setHttpStatusCode(_ctx.integerValue("GetUploadCredentialsResponse.HttpStatusCode")); Data data = new Data(); data.setAccessKeyId(_ctx.stringValue("GetUploadCredentialsResponse.Data.AccessKeyId")); data.setAccessKeySecret(_ctx.stringValue("GetUploadCredentialsResponse.Data.AccessKeySecret")); data.setSecurityToken(_ctx.stringValue("GetUploadCredentialsResponse.Data.SecurityToken")); data.setExpireDate(_ctx.stringValue("GetUploadCredentialsResponse.Data.ExpireDate")); data.setRegionId(_ctx.stringValue("GetUploadCredentialsResponse.Data.RegionId")); data.setBucketName(_ctx.stringValue("GetUploadCredentialsResponse.Data.BucketName")); data.setKey(_ctx.stringValue("GetUploadCredentialsResponse.Data.Key")); getUploadCredentialsResponse.setData(data); return getUploadCredentialsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListAcrImageRepositoriesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListAcrImageRepositoriesResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListAcrImageRepositoriesResponse.RepositoriesItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListAcrImageRepositoriesResponseUnmarshaller { public static ListAcrImageRepositoriesResponse unmarshall(ListAcrImageRepositoriesResponse listAcrImageRepositoriesResponse, UnmarshallerContext _ctx) { listAcrImageRepositoriesResponse.setRequestId(_ctx.stringValue("ListAcrImageRepositoriesResponse.RequestId")); listAcrImageRepositoriesResponse.setNextToken(_ctx.stringValue("ListAcrImageRepositoriesResponse.NextToken")); listAcrImageRepositoriesResponse.setMaxResults(_ctx.integerValue("ListAcrImageRepositoriesResponse.MaxResults")); listAcrImageRepositoriesResponse.setTotalCount(_ctx.integerValue("ListAcrImageRepositoriesResponse.TotalCount")); List<RepositoriesItem> repositories = new ArrayList<RepositoriesItem>(); for (int i = 0; i < _ctx.lengthValue("ListAcrImageRepositoriesResponse.Repositories.Length"); i++) { RepositoriesItem repositoriesItem = new RepositoriesItem(); repositoriesItem.setRepoId(_ctx.stringValue("ListAcrImageRepositoriesResponse.Repositories["+ i +"].RepoId")); repositoriesItem.setRepoName(_ctx.stringValue("ListAcrImageRepositoriesResponse.Repositories["+ i +"].RepoName")); repositoriesItem.setCreateTime(_ctx.stringValue("ListAcrImageRepositoriesResponse.Repositories["+ i +"].CreateTime")); repositoriesItem.setModifiedTime(_ctx.stringValue("ListAcrImageRepositoriesResponse.Repositories["+ i +"].ModifiedTime")); repositories.add(repositoriesItem); } listAcrImageRepositoriesResponse.setRepositories(repositories); return listAcrImageRepositoriesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListAcrImageTagsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListAcrImageTagsResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListAcrImageTagsResponse.ImagesItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListAcrImageTagsResponseUnmarshaller { public static ListAcrImageTagsResponse unmarshall(ListAcrImageTagsResponse listAcrImageTagsResponse, UnmarshallerContext _ctx) { listAcrImageTagsResponse.setRequestId(_ctx.stringValue("ListAcrImageTagsResponse.RequestId")); listAcrImageTagsResponse.setNextToken(_ctx.stringValue("ListAcrImageTagsResponse.NextToken")); listAcrImageTagsResponse.setMaxResults(_ctx.integerValue("ListAcrImageTagsResponse.MaxResults")); listAcrImageTagsResponse.setTotalCount(_ctx.integerValue("ListAcrImageTagsResponse.TotalCount")); List<ImagesItem> images = new ArrayList<ImagesItem>(); for (int i = 0; i < _ctx.lengthValue("ListAcrImageTagsResponse.Images.Length"); i++) { ImagesItem imagesItem = new ImagesItem(); imagesItem.setTag(_ctx.stringValue("ListAcrImageTagsResponse.Images["+ i +"].Tag")); imagesItem.setImageSize(_ctx.stringValue("ListAcrImageTagsResponse.Images["+ i +"].ImageSize")); imagesItem.setCreateTime(_ctx.stringValue("ListAcrImageTagsResponse.Images["+ i +"].CreateTime")); imagesItem.setModifiedTime(_ctx.stringValue("ListAcrImageTagsResponse.Images["+ i +"].ModifiedTime")); images.add(imagesItem); } listAcrImageTagsResponse.setImages(images); return listAcrImageTagsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListArtifactVersionsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListArtifactVersionsResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListArtifactVersionsResponse.Artifact; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class ListArtifactVersionsResponseUnmarshaller { public static ListArtifactVersionsResponse unmarshall(ListArtifactVersionsResponse listArtifactVersionsResponse, UnmarshallerContext _ctx) { listArtifactVersionsResponse.setRequestId(_ctx.stringValue("ListArtifactVersionsResponse.RequestId")); listArtifactVersionsResponse.setNextToken(_ctx.stringValue("ListArtifactVersionsResponse.NextToken")); listArtifactVersionsResponse.setMaxResults(_ctx.integerValue("ListArtifactVersionsResponse.MaxResults")); listArtifactVersionsResponse.setTotalCount(_ctx.integerValue("ListArtifactVersionsResponse.TotalCount")); List<Artifact> artifacts = new ArrayList<Artifact>(); for (int i = 0; i < _ctx.lengthValue("ListArtifactVersionsResponse.Artifacts.Length"); i++) { Artifact artifact = new Artifact(); artifact.setArtifactId(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].ArtifactId")); artifact.setArtifactType(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].ArtifactType")); artifact.setVersionName(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].VersionName")); artifact.setArtifactVersion(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].ArtifactVersion")); artifact.setStatus(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].Status")); artifact.setArtifactProperty(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].ArtifactProperty")); artifact.setSupportRegionIds(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].SupportRegionIds")); artifact.setGmtModified(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].GmtModified")); artifact.setProgress(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].Progress")); artifact.setGmtCreate(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].GmtCreate")); artifact.setImageDelivery(_ctx.mapValue("ListArtifactVersionsResponse.Artifacts["+ i +"].ImageDelivery")); artifact.setSecurityAuditResult(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].SecurityAuditResult")); artifact.setResultFile(_ctx.stringValue("ListArtifactVersionsResponse.Artifacts["+ i +"].ResultFile")); artifacts.add(artifact); } listArtifactVersionsResponse.setArtifacts(artifacts); return listArtifactVersionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListArtifactsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListArtifactsResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListArtifactsResponse.Artifact; import com.aliyuncs.computenestsupplier.model.v20210521.ListArtifactsResponse.Artifact.Tag; import com.aliyuncs.transform.UnmarshallerContext; public class ListArtifactsResponseUnmarshaller { public static ListArtifactsResponse unmarshall(ListArtifactsResponse listArtifactsResponse, UnmarshallerContext _ctx) { listArtifactsResponse.setRequestId(_ctx.stringValue("ListArtifactsResponse.RequestId")); listArtifactsResponse.setNextToken(_ctx.stringValue("ListArtifactsResponse.NextToken")); listArtifactsResponse.setMaxResults(_ctx.integerValue("ListArtifactsResponse.MaxResults")); listArtifactsResponse.setTotalCount(_ctx.integerValue("ListArtifactsResponse.TotalCount")); List<Artifact> artifacts = new ArrayList<Artifact>(); for (int i = 0; i < _ctx.lengthValue("ListArtifactsResponse.Artifacts.Length"); i++) { Artifact artifact = new Artifact(); artifact.setArtifactId(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].ArtifactId")); artifact.setArtifactType(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].ArtifactType")); artifact.setName(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].Name")); artifact.setMaxVersion(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].MaxVersion")); artifact.setDescription(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].Description")); artifact.setGmtModified(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].GmtModified")); artifact.setStatus(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].Status")); artifact.setResourceGroupId(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].ResourceGroupId")); List<Tag> tags = new ArrayList<Tag>(); for (int j = 0; j < _ctx.lengthValue("ListArtifactsResponse.Artifacts["+ i +"].Tags.Length"); j++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].Tags["+ j +"].Key")); tag.setValue(_ctx.stringValue("ListArtifactsResponse.Artifacts["+ i +"].Tags["+ j +"].Value")); tags.add(tag); } artifact.setTags(tags); artifacts.add(artifact); } listArtifactsResponse.setArtifacts(artifacts); return listArtifactsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListServiceInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceInstancesResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceInstancesResponse.ServiceInstance; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceInstancesResponse.ServiceInstance.Service; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceInstancesResponse.ServiceInstance.Service.ServiceInfo; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceInstancesResponse.ServiceInstance.Tag; import com.aliyuncs.transform.UnmarshallerContext; public class ListServiceInstancesResponseUnmarshaller { public static ListServiceInstancesResponse unmarshall(ListServiceInstancesResponse listServiceInstancesResponse, UnmarshallerContext _ctx) { listServiceInstancesResponse.setRequestId(_ctx.stringValue("ListServiceInstancesResponse.RequestId")); listServiceInstancesResponse.setNextToken(_ctx.stringValue("ListServiceInstancesResponse.NextToken")); listServiceInstancesResponse.setTotalCount(_ctx.integerValue("ListServiceInstancesResponse.TotalCount")); listServiceInstancesResponse.setMaxResults(_ctx.integerValue("ListServiceInstancesResponse.MaxResults")); List<ServiceInstance> serviceInstances = new ArrayList<ServiceInstance>(); for (int i = 0; i < _ctx.lengthValue("ListServiceInstancesResponse.ServiceInstances.Length"); i++) { ServiceInstance serviceInstance = new ServiceInstance(); serviceInstance.setStatus(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Status")); serviceInstance.setUpdateTime(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].UpdateTime")); serviceInstance.setName(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Name")); serviceInstance.setServiceInstanceId(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].ServiceInstanceId")); serviceInstance.setCreateTime(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].CreateTime")); serviceInstance.setUserId(_ctx.longValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].UserId")); serviceInstance.setParameters(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Parameters")); serviceInstance.setProgress(_ctx.longValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Progress")); serviceInstance.setStatusDetail(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].StatusDetail")); serviceInstance.setTemplateName(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].TemplateName")); serviceInstance.setOperatedServiceInstanceId(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].OperatedServiceInstanceId")); serviceInstance.setOperationStartTime(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].OperationStartTime")); serviceInstance.setOperationEndTime(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].OperationEndTime")); serviceInstance.setEnableInstanceOps(_ctx.booleanValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].EnableInstanceOps")); serviceInstance.setSource(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Source")); serviceInstance.setEndTime(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].EndTime")); serviceInstance.setServiceType(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].ServiceType")); serviceInstance.setPayType(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].PayType")); serviceInstance.setIsOperated(_ctx.booleanValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].IsOperated")); serviceInstance.setResourceGroupId(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].ResourceGroupId")); serviceInstance.setBizStatus(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].BizStatus")); Service service = new Service(); service.setStatus(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.Status")); service.setPublishTime(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.PublishTime")); service.setVersion(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.Version")); service.setDeployType(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.DeployType")); service.setServiceId(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceId")); service.setSupplierUrl(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.SupplierUrl")); service.setServiceType(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceType")); service.setSupplierName(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.SupplierName")); service.setVersionName(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.VersionName")); service.setDeployMetadata(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.DeployMetadata")); service.setEnablePrivateVpcConnection(_ctx.booleanValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.EnablePrivateVpcConnection")); service.setSourceSupplierName(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.SourceSupplierName")); List<ServiceInfo> serviceInfos = new ArrayList<ServiceInfo>(); for (int j = 0; j < _ctx.lengthValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceInfos.Length"); j++) { ServiceInfo serviceInfo = new ServiceInfo(); serviceInfo.setLocale(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceInfos["+ j +"].Locale")); serviceInfo.setImage(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceInfos["+ j +"].Image")); serviceInfo.setName(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceInfos["+ j +"].Name")); serviceInfo.setShortDescription(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Service.ServiceInfos["+ j +"].ShortDescription")); serviceInfos.add(serviceInfo); } service.setServiceInfos(serviceInfos); serviceInstance.setService(service); List<Tag> tags = new ArrayList<Tag>(); for (int j = 0; j < _ctx.lengthValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Tags.Length"); j++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Tags["+ j +"].Key")); tag.setValue(_ctx.stringValue("ListServiceInstancesResponse.ServiceInstances["+ i +"].Tags["+ j +"].Value")); tags.add(tag); } serviceInstance.setTags(tags); serviceInstances.add(serviceInstance); } listServiceInstancesResponse.setServiceInstances(serviceInstances); return listServiceInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListServiceUsagesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceUsagesResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListServiceUsagesResponse.Policy; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class ListServiceUsagesResponseUnmarshaller { public static ListServiceUsagesResponse unmarshall(ListServiceUsagesResponse listServiceUsagesResponse, UnmarshallerContext _ctx) { listServiceUsagesResponse.setRequestId(_ctx.stringValue("ListServiceUsagesResponse.RequestId")); listServiceUsagesResponse.setNextToken(_ctx.stringValue("ListServiceUsagesResponse.NextToken")); listServiceUsagesResponse.setMaxResults(_ctx.integerValue("ListServiceUsagesResponse.MaxResults")); listServiceUsagesResponse.setTotalCount(_ctx.integerValue("ListServiceUsagesResponse.TotalCount")); List<Policy> serviceUsages = new ArrayList<Policy>(); for (int i = 0; i < _ctx.lengthValue("ListServiceUsagesResponse.ServiceUsages.Length"); i++) { Policy policy = new Policy(); policy.setUserAliUid(_ctx.longValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].UserAliUid")); policy.setServiceId(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].ServiceId")); policy.setServiceName(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].ServiceName")); policy.setSupplierName(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].SupplierName")); policy.setStatus(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].Status")); policy.setComments(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].Comments")); policy.setCreateTime(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].CreateTime")); policy.setUpdateTime(_ctx.stringValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].UpdateTime")); policy.setUserInformation(_ctx.mapValue("ListServiceUsagesResponse.ServiceUsages["+ i +"].UserInformation")); serviceUsages.add(policy); } listServiceUsagesResponse.setServiceUsages(serviceUsages); return listServiceUsagesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ListServicesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.ListServicesResponse; import com.aliyuncs.computenestsupplier.model.v20210521.ListServicesResponse.Service; import com.aliyuncs.computenestsupplier.model.v20210521.ListServicesResponse.Service.Commodity; import com.aliyuncs.computenestsupplier.model.v20210521.ListServicesResponse.Service.ServiceInfo; import com.aliyuncs.computenestsupplier.model.v20210521.ListServicesResponse.Service.Tag; import com.aliyuncs.transform.UnmarshallerContext; public class ListServicesResponseUnmarshaller { public static ListServicesResponse unmarshall(ListServicesResponse listServicesResponse, UnmarshallerContext _ctx) { listServicesResponse.setRequestId(_ctx.stringValue("ListServicesResponse.RequestId")); listServicesResponse.setNextToken(_ctx.stringValue("ListServicesResponse.NextToken")); listServicesResponse.setTotalCount(_ctx.integerValue("ListServicesResponse.TotalCount")); listServicesResponse.setMaxResults(_ctx.integerValue("ListServicesResponse.MaxResults")); List<Service> services = new ArrayList<Service>(); for (int i = 0; i < _ctx.lengthValue("ListServicesResponse.Services.Length"); i++) { Service service = new Service(); service.setStatus(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Status")); service.setDefaultVersion(_ctx.booleanValue("ListServicesResponse.Services["+ i +"].DefaultVersion")); service.setPublishTime(_ctx.stringValue("ListServicesResponse.Services["+ i +"].PublishTime")); service.setVersion(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Version")); service.setDeployType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].DeployType")); service.setServiceId(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceId")); service.setSupplierUrl(_ctx.stringValue("ListServicesResponse.Services["+ i +"].SupplierUrl")); service.setServiceType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceType")); service.setSupplierName(_ctx.stringValue("ListServicesResponse.Services["+ i +"].SupplierName")); service.setCommodityCode(_ctx.stringValue("ListServicesResponse.Services["+ i +"].CommodityCode")); service.setCreateTime(_ctx.stringValue("ListServicesResponse.Services["+ i +"].CreateTime")); service.setUpdateTime(_ctx.stringValue("ListServicesResponse.Services["+ i +"].UpdateTime")); service.setShareType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ShareType")); service.setApprovalType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ApprovalType")); service.setVersionName(_ctx.stringValue("ListServicesResponse.Services["+ i +"].VersionName")); service.setArtifactId(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ArtifactId")); service.setArtifactVersion(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ArtifactVersion")); service.setSourceImage(_ctx.stringValue("ListServicesResponse.Services["+ i +"].SourceImage")); service.setRelationType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].RelationType")); service.setTrialType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].TrialType")); service.setTenantType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].TenantType")); service.setResourceGroupId(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ResourceGroupId")); service.setSourceServiceId(_ctx.stringValue("ListServicesResponse.Services["+ i +"].SourceServiceId")); service.setSourceServiceVersion(_ctx.stringValue("ListServicesResponse.Services["+ i +"].SourceServiceVersion")); service.setSourceSupplierName(_ctx.stringValue("ListServicesResponse.Services["+ i +"].SourceSupplierName")); service.setResellServiceId(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ResellServiceId")); service.setLatestResellSourceServiceVersion(_ctx.stringValue("ListServicesResponse.Services["+ i +"].LatestResellSourceServiceVersion")); service.setResellApplyStatus(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ResellApplyStatus")); service.setVirtualInternetService(_ctx.stringValue("ListServicesResponse.Services["+ i +"].VirtualInternetService")); service.setCategories(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Categories")); service.setServiceDiscoverable(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceDiscoverable")); service.setHasDraft(_ctx.booleanValue("ListServicesResponse.Services["+ i +"].HasDraft")); service.setHasBeta(_ctx.booleanValue("ListServicesResponse.Services["+ i +"].HasBeta")); service.setBuildInfo(_ctx.stringValue("ListServicesResponse.Services["+ i +"].BuildInfo")); Commodity commodity = new Commodity(); commodity.setCommodityCode(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Commodity.CommodityCode")); commodity.setType(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Commodity.Type")); commodity.setSaasBoostMetadata(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Commodity.SaasBoostMetadata")); service.setCommodity(commodity); List<ServiceInfo> serviceInfos = new ArrayList<ServiceInfo>(); for (int j = 0; j < _ctx.lengthValue("ListServicesResponse.Services["+ i +"].ServiceInfos.Length"); j++) { ServiceInfo serviceInfo = new ServiceInfo(); serviceInfo.setLocale(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceInfos["+ j +"].Locale")); serviceInfo.setImage(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceInfos["+ j +"].Image")); serviceInfo.setName(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceInfos["+ j +"].Name")); serviceInfo.setShortDescription(_ctx.stringValue("ListServicesResponse.Services["+ i +"].ServiceInfos["+ j +"].ShortDescription")); serviceInfos.add(serviceInfo); } service.setServiceInfos(serviceInfos); List<Tag> tags = new ArrayList<Tag>(); for (int j = 0; j < _ctx.lengthValue("ListServicesResponse.Services["+ i +"].Tags.Length"); j++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Tags["+ j +"].Key")); tag.setValue(_ctx.stringValue("ListServicesResponse.Services["+ i +"].Tags["+ j +"].Value")); tags.add(tag); } service.setTags(tags); services.add(service); } listServicesResponse.setServices(services); return listServicesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ModifyServiceInstanceResourcesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.ModifyServiceInstanceResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyServiceInstanceResourcesResponseUnmarshaller { public static ModifyServiceInstanceResourcesResponse unmarshall(ModifyServiceInstanceResourcesResponse modifyServiceInstanceResourcesResponse, UnmarshallerContext _ctx) { modifyServiceInstanceResourcesResponse.setRequestId(_ctx.stringValue("ModifyServiceInstanceResourcesResponse.RequestId")); return modifyServiceInstanceResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/PushMeteringDataResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.PushMeteringDataResponse; import com.aliyuncs.transform.UnmarshallerContext; public class PushMeteringDataResponseUnmarshaller { public static PushMeteringDataResponse unmarshall(PushMeteringDataResponse pushMeteringDataResponse, UnmarshallerContext _ctx) { pushMeteringDataResponse.setRequestId(_ctx.stringValue("PushMeteringDataResponse.RequestId")); return pushMeteringDataResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/RegisterServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.RegisterServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class RegisterServiceResponseUnmarshaller { public static RegisterServiceResponse unmarshall(RegisterServiceResponse registerServiceResponse, UnmarshallerContext _ctx) { registerServiceResponse.setRequestId(_ctx.stringValue("RegisterServiceResponse.RequestId")); registerServiceResponse.setRegistrationId(_ctx.stringValue("RegisterServiceResponse.RegistrationId")); return registerServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/ReleaseArtifactResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.ReleaseArtifactResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ReleaseArtifactResponseUnmarshaller { public static ReleaseArtifactResponse unmarshall(ReleaseArtifactResponse releaseArtifactResponse, UnmarshallerContext _ctx) { releaseArtifactResponse.setRequestId(_ctx.stringValue("ReleaseArtifactResponse.RequestId")); releaseArtifactResponse.setArtifactId(_ctx.stringValue("ReleaseArtifactResponse.ArtifactId")); releaseArtifactResponse.setArtifactType(_ctx.stringValue("ReleaseArtifactResponse.ArtifactType")); releaseArtifactResponse.setVersionName(_ctx.stringValue("ReleaseArtifactResponse.VersionName")); releaseArtifactResponse.setArtifactVersion(_ctx.stringValue("ReleaseArtifactResponse.ArtifactVersion")); releaseArtifactResponse.setDescription(_ctx.stringValue("ReleaseArtifactResponse.Description")); releaseArtifactResponse.setGmtModified(_ctx.stringValue("ReleaseArtifactResponse.GmtModified")); releaseArtifactResponse.setStatus(_ctx.stringValue("ReleaseArtifactResponse.Status")); releaseArtifactResponse.setArtifactProperty(_ctx.stringValue("ReleaseArtifactResponse.ArtifactProperty")); return releaseArtifactResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/UpdateArtifactResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.UpdateArtifactResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateArtifactResponseUnmarshaller { public static UpdateArtifactResponse unmarshall(UpdateArtifactResponse updateArtifactResponse, UnmarshallerContext _ctx) { updateArtifactResponse.setRequestId(_ctx.stringValue("UpdateArtifactResponse.RequestId")); updateArtifactResponse.setArtifactId(_ctx.stringValue("UpdateArtifactResponse.ArtifactId")); updateArtifactResponse.setArtifactType(_ctx.stringValue("UpdateArtifactResponse.ArtifactType")); updateArtifactResponse.setVersionName(_ctx.stringValue("UpdateArtifactResponse.VersionName")); updateArtifactResponse.setArtifactVersion(_ctx.stringValue("UpdateArtifactResponse.ArtifactVersion")); updateArtifactResponse.setDescription(_ctx.stringValue("UpdateArtifactResponse.Description")); updateArtifactResponse.setGmtModified(_ctx.stringValue("UpdateArtifactResponse.GmtModified")); updateArtifactResponse.setStatus(_ctx.stringValue("UpdateArtifactResponse.Status")); updateArtifactResponse.setArtifactProperty(_ctx.stringValue("UpdateArtifactResponse.ArtifactProperty")); updateArtifactResponse.setSupportRegionIds(_ctx.stringValue("UpdateArtifactResponse.SupportRegionIds")); return updateArtifactResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/UpdateServiceInstanceAttributeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.UpdateServiceInstanceAttributeResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateServiceInstanceAttributeResponseUnmarshaller { public static UpdateServiceInstanceAttributeResponse unmarshall(UpdateServiceInstanceAttributeResponse updateServiceInstanceAttributeResponse, UnmarshallerContext _ctx) { updateServiceInstanceAttributeResponse.setRequestId(_ctx.stringValue("UpdateServiceInstanceAttributeResponse.RequestId")); return updateServiceInstanceAttributeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/UpdateServiceInstanceSpecResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.UpdateServiceInstanceSpecResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateServiceInstanceSpecResponseUnmarshaller { public static UpdateServiceInstanceSpecResponse unmarshall(UpdateServiceInstanceSpecResponse updateServiceInstanceSpecResponse, UnmarshallerContext _ctx) { updateServiceInstanceSpecResponse.setRequestId(_ctx.stringValue("UpdateServiceInstanceSpecResponse.RequestId")); updateServiceInstanceSpecResponse.setOrderId(_ctx.stringValue("UpdateServiceInstanceSpecResponse.OrderId")); return updateServiceInstanceSpecResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/UpdateServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import com.aliyuncs.computenestsupplier.model.v20210521.UpdateServiceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateServiceResponseUnmarshaller { public static UpdateServiceResponse unmarshall(UpdateServiceResponse updateServiceResponse, UnmarshallerContext _ctx) { updateServiceResponse.setRequestId(_ctx.stringValue("UpdateServiceResponse.RequestId")); return updateServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform
java-sources/com/aliyun/aliyun-java-sdk-computenestsupplier/2.0.18/com/aliyuncs/computenestsupplier/transform/v20210521/UpgradeServiceInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.computenestsupplier.transform.v20210521; import java.util.ArrayList; import java.util.List; import com.aliyuncs.computenestsupplier.model.v20210521.UpgradeServiceInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradeServiceInstanceResponseUnmarshaller { public static UpgradeServiceInstanceResponse unmarshall(UpgradeServiceInstanceResponse upgradeServiceInstanceResponse, UnmarshallerContext _ctx) { upgradeServiceInstanceResponse.setRequestId(_ctx.stringValue("UpgradeServiceInstanceResponse.RequestId")); upgradeServiceInstanceResponse.setStatus(_ctx.stringValue("UpgradeServiceInstanceResponse.Status")); upgradeServiceInstanceResponse.setServiceInstanceId(_ctx.stringValue("UpgradeServiceInstanceResponse.ServiceInstanceId")); List<String> upgradeRequiredParameters = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("UpgradeServiceInstanceResponse.UpgradeRequiredParameters.Length"); i++) { upgradeRequiredParameters.add(_ctx.stringValue("UpgradeServiceInstanceResponse.UpgradeRequiredParameters["+ i +"]")); } upgradeServiceInstanceResponse.setUpgradeRequiredParameters(upgradeRequiredParameters); return upgradeServiceInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/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.config; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() { { put("cn-shanghai", "config.cn-shanghai.aliyuncs.com"); put("ap-southeast-1", "config.ap-southeast-1.aliyuncs.com"); } }; public static String endpointRegionalType = "central"; }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/ActiveAggregateConfigRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class ActiveAggregateConfigRulesRequest extends RpcAcsRequest<ActiveAggregateConfigRulesResponse> { private String configRuleIds; private String aggregatorId; private String compliancePackId; public ActiveAggregateConfigRulesRequest() { super("Config", "2020-09-07", "ActiveAggregateConfigRules", "config"); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; if(compliancePackId != null){ putQueryParameter("CompliancePackId", compliancePackId); } } @Override public Class<ActiveAggregateConfigRulesResponse> getResponseClass() { return ActiveAggregateConfigRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/ActiveAggregateConfigRulesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.ActiveAggregateConfigRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ActiveAggregateConfigRulesResponse extends AcsResponse { private String requestId; private OperateRuleResult operateRuleResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateRuleResult getOperateRuleResult() { return this.operateRuleResult; } public void setOperateRuleResult(OperateRuleResult operateRuleResult) { this.operateRuleResult = operateRuleResult; } public static class OperateRuleResult { private List<OperateRuleItem> operateRuleItemList; public List<OperateRuleItem> getOperateRuleItemList() { return this.operateRuleItemList; } public void setOperateRuleItemList(List<OperateRuleItem> operateRuleItemList) { this.operateRuleItemList = operateRuleItemList; } public static class OperateRuleItem { private String errorCode; private Boolean success; private String configRuleId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } } } @Override public ActiveAggregateConfigRulesResponse getInstance(UnmarshallerContext context) { return ActiveAggregateConfigRulesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/ActiveConfigRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class ActiveConfigRulesRequest extends RpcAcsRequest<ActiveConfigRulesResponse> { private String configRuleIds; private String compliancePackId; public ActiveConfigRulesRequest() { super("Config", "2020-09-07", "ActiveConfigRules", "config"); setProtocol(ProtocolType.HTTPS); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; if(compliancePackId != null){ putQueryParameter("CompliancePackId", compliancePackId); } } @Override public Class<ActiveConfigRulesResponse> getResponseClass() { return ActiveConfigRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/ActiveConfigRulesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.ActiveConfigRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ActiveConfigRulesResponse extends AcsResponse { private String requestId; private OperateRuleResult operateRuleResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateRuleResult getOperateRuleResult() { return this.operateRuleResult; } public void setOperateRuleResult(OperateRuleResult operateRuleResult) { this.operateRuleResult = operateRuleResult; } public static class OperateRuleResult { private List<OperateRuleItem> operateRuleItemList; public List<OperateRuleItem> getOperateRuleItemList() { return this.operateRuleItemList; } public void setOperateRuleItemList(List<OperateRuleItem> operateRuleItemList) { this.operateRuleItemList = operateRuleItemList; } public static class OperateRuleItem { private String errorCode; private Boolean success; private String configRuleId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } } } @Override public ActiveConfigRulesResponse getInstance(UnmarshallerContext context) { return ActiveConfigRulesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/AttachAggregateConfigRuleToCompliancePackRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class AttachAggregateConfigRuleToCompliancePackRequest extends RpcAcsRequest<AttachAggregateConfigRuleToCompliancePackResponse> { private String configRuleIds; private String aggregatorId; private String compliancePackId; public AttachAggregateConfigRuleToCompliancePackRequest() { super("Config", "2020-09-07", "AttachAggregateConfigRuleToCompliancePack", "config"); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; if(compliancePackId != null){ putQueryParameter("CompliancePackId", compliancePackId); } } @Override public Class<AttachAggregateConfigRuleToCompliancePackResponse> getResponseClass() { return AttachAggregateConfigRuleToCompliancePackResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/AttachAggregateConfigRuleToCompliancePackResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.AttachAggregateConfigRuleToCompliancePackResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AttachAggregateConfigRuleToCompliancePackResponse extends AcsResponse { private String requestId; private OperateRuleResult operateRuleResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateRuleResult getOperateRuleResult() { return this.operateRuleResult; } public void setOperateRuleResult(OperateRuleResult operateRuleResult) { this.operateRuleResult = operateRuleResult; } public static class OperateRuleResult { private List<OperateRuleItem> operateRuleItemList; public List<OperateRuleItem> getOperateRuleItemList() { return this.operateRuleItemList; } public void setOperateRuleItemList(List<OperateRuleItem> operateRuleItemList) { this.operateRuleItemList = operateRuleItemList; } public static class OperateRuleItem { private String errorCode; private Boolean success; private String configRuleId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } } } @Override public AttachAggregateConfigRuleToCompliancePackResponse getInstance(UnmarshallerContext context) { return AttachAggregateConfigRuleToCompliancePackResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/AttachConfigRuleToCompliancePackRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class AttachConfigRuleToCompliancePackRequest extends RpcAcsRequest<AttachConfigRuleToCompliancePackResponse> { private String configRuleIds; private String compliancePackId; public AttachConfigRuleToCompliancePackRequest() { super("Config", "2020-09-07", "AttachConfigRuleToCompliancePack", "config"); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; if(compliancePackId != null){ putQueryParameter("CompliancePackId", compliancePackId); } } @Override public Class<AttachConfigRuleToCompliancePackResponse> getResponseClass() { return AttachConfigRuleToCompliancePackResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/AttachConfigRuleToCompliancePackResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.AttachConfigRuleToCompliancePackResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AttachConfigRuleToCompliancePackResponse extends AcsResponse { private String requestId; private OperateRuleResult operateRuleResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateRuleResult getOperateRuleResult() { return this.operateRuleResult; } public void setOperateRuleResult(OperateRuleResult operateRuleResult) { this.operateRuleResult = operateRuleResult; } public static class OperateRuleResult { private List<OperateRuleItem> operateRuleItemList; public List<OperateRuleItem> getOperateRuleItemList() { return this.operateRuleItemList; } public void setOperateRuleItemList(List<OperateRuleItem> operateRuleItemList) { this.operateRuleItemList = operateRuleItemList; } public static class OperateRuleItem { private String errorCode; private Boolean success; private String configRuleId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } } } @Override public AttachConfigRuleToCompliancePackResponse getInstance(UnmarshallerContext context) { return AttachConfigRuleToCompliancePackResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CopyCompliancePacksRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CopyCompliancePacksRequest extends RpcAcsRequest<CopyCompliancePacksResponse> { private String desAggregatorIds; private String srcAggregatorId; private String srcCompliancePackIds; public CopyCompliancePacksRequest() { super("Config", "2020-09-07", "CopyCompliancePacks", "config"); 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 getDesAggregatorIds() { return this.desAggregatorIds; } public void setDesAggregatorIds(String desAggregatorIds) { this.desAggregatorIds = desAggregatorIds; if(desAggregatorIds != null){ putQueryParameter("DesAggregatorIds", desAggregatorIds); } } public String getSrcAggregatorId() { return this.srcAggregatorId; } public void setSrcAggregatorId(String srcAggregatorId) { this.srcAggregatorId = srcAggregatorId; if(srcAggregatorId != null){ putQueryParameter("SrcAggregatorId", srcAggregatorId); } } public String getSrcCompliancePackIds() { return this.srcCompliancePackIds; } public void setSrcCompliancePackIds(String srcCompliancePackIds) { this.srcCompliancePackIds = srcCompliancePackIds; if(srcCompliancePackIds != null){ putQueryParameter("SrcCompliancePackIds", srcCompliancePackIds); } } @Override public Class<CopyCompliancePacksResponse> getResponseClass() { return CopyCompliancePacksResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CopyCompliancePacksResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CopyCompliancePacksResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CopyCompliancePacksResponse extends AcsResponse { private String requestId; private Boolean copyRulesResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getCopyRulesResult() { return this.copyRulesResult; } public void setCopyRulesResult(Boolean copyRulesResult) { this.copyRulesResult = copyRulesResult; } @Override public CopyCompliancePacksResponse getInstance(UnmarshallerContext context) { return CopyCompliancePacksResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CopyConfigRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CopyConfigRulesRequest extends RpcAcsRequest<CopyConfigRulesResponse> { private String desAggregatorIds; private String srcConfigRuleIds; private String srcAggregatorId; public CopyConfigRulesRequest() { super("Config", "2020-09-07", "CopyConfigRules", "config"); 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 getDesAggregatorIds() { return this.desAggregatorIds; } public void setDesAggregatorIds(String desAggregatorIds) { this.desAggregatorIds = desAggregatorIds; if(desAggregatorIds != null){ putQueryParameter("DesAggregatorIds", desAggregatorIds); } } public String getSrcConfigRuleIds() { return this.srcConfigRuleIds; } public void setSrcConfigRuleIds(String srcConfigRuleIds) { this.srcConfigRuleIds = srcConfigRuleIds; if(srcConfigRuleIds != null){ putQueryParameter("SrcConfigRuleIds", srcConfigRuleIds); } } public String getSrcAggregatorId() { return this.srcAggregatorId; } public void setSrcAggregatorId(String srcAggregatorId) { this.srcAggregatorId = srcAggregatorId; if(srcAggregatorId != null){ putQueryParameter("SrcAggregatorId", srcAggregatorId); } } @Override public Class<CopyConfigRulesResponse> getResponseClass() { return CopyConfigRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CopyConfigRulesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CopyConfigRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CopyConfigRulesResponse extends AcsResponse { private String requestId; private Boolean copyRulesResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getCopyRulesResult() { return this.copyRulesResult; } public void setCopyRulesResult(Boolean copyRulesResult) { this.copyRulesResult = copyRulesResult; } @Override public CopyConfigRulesResponse getInstance(UnmarshallerContext context) { return CopyConfigRulesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAdvancedSearchFileRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAdvancedSearchFileRequest extends RpcAcsRequest<CreateAdvancedSearchFileResponse> { private String sql; public CreateAdvancedSearchFileRequest() { super("Config", "2020-09-07", "CreateAdvancedSearchFile", "config"); 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 getSql() { return this.sql; } public void setSql(String sql) { this.sql = sql; if(sql != null){ putQueryParameter("Sql", sql); } } @Override public Class<CreateAdvancedSearchFileResponse> getResponseClass() { return CreateAdvancedSearchFileResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAdvancedSearchFileResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAdvancedSearchFileResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAdvancedSearchFileResponse extends AcsResponse { private String requestId; private Boolean success; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public CreateAdvancedSearchFileResponse getInstance(UnmarshallerContext context) { return CreateAdvancedSearchFileResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateAdvancedSearchFileRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAggregateAdvancedSearchFileRequest extends RpcAcsRequest<CreateAggregateAdvancedSearchFileResponse> { private String aggregatorId; private String sql; public CreateAggregateAdvancedSearchFileRequest() { super("Config", "2020-09-07", "CreateAggregateAdvancedSearchFile", "config"); 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 getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } public String getSql() { return this.sql; } public void setSql(String sql) { this.sql = sql; if(sql != null){ putQueryParameter("Sql", sql); } } @Override public Class<CreateAggregateAdvancedSearchFileResponse> getResponseClass() { return CreateAggregateAdvancedSearchFileResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateAdvancedSearchFileResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAggregateAdvancedSearchFileResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAggregateAdvancedSearchFileResponse extends AcsResponse { private String requestId; private Boolean success; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public CreateAggregateAdvancedSearchFileResponse getInstance(UnmarshallerContext context) { return CreateAggregateAdvancedSearchFileResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateCompliancePackRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAggregateCompliancePackRequest extends RpcAcsRequest<CreateAggregateCompliancePackResponse> { private String tagKeyScope; private String compliancePackName; private String clientToken; private String compliancePackTemplateId; private String description; private String aggregatorId; private String excludeResourceGroupIdsScope; private String tagValueScope; private String regionIdsScope; private String resourceIdsScope; private String tag; private Boolean defaultEnable; @SerializedName("configRules") private List<ConfigRules> configRules; private List<ExcludeTagsScope> excludeTagsScope; private Integer riskLevel; private List<TagsScope> tagsScope; private String templateContent; private String resourceGroupIdsScope; private String excludeRegionIdsScope; private String excludeResourceIdsScope; public CreateAggregateCompliancePackRequest() { super("Config", "2020-09-07", "CreateAggregateCompliancePack", "config"); 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 getTagKeyScope() { return this.tagKeyScope; } public void setTagKeyScope(String tagKeyScope) { this.tagKeyScope = tagKeyScope; if(tagKeyScope != null){ putBodyParameter("TagKeyScope", tagKeyScope); } } public String getCompliancePackName() { return this.compliancePackName; } public void setCompliancePackName(String compliancePackName) { this.compliancePackName = compliancePackName; if(compliancePackName != null){ putBodyParameter("CompliancePackName", compliancePackName); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getCompliancePackTemplateId() { return this.compliancePackTemplateId; } public void setCompliancePackTemplateId(String compliancePackTemplateId) { this.compliancePackTemplateId = compliancePackTemplateId; if(compliancePackTemplateId != null){ putBodyParameter("CompliancePackTemplateId", compliancePackTemplateId); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putBodyParameter("Description", description); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putBodyParameter("AggregatorId", aggregatorId); } } public String getExcludeResourceGroupIdsScope() { return this.excludeResourceGroupIdsScope; } public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) { this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope; if(excludeResourceGroupIdsScope != null){ putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope); } } public String getTagValueScope() { return this.tagValueScope; } public void setTagValueScope(String tagValueScope) { this.tagValueScope = tagValueScope; if(tagValueScope != null){ putBodyParameter("TagValueScope", tagValueScope); } } public String getRegionIdsScope() { return this.regionIdsScope; } public void setRegionIdsScope(String regionIdsScope) { this.regionIdsScope = regionIdsScope; if(regionIdsScope != null){ putBodyParameter("RegionIdsScope", regionIdsScope); } } public String getResourceIdsScope() { return this.resourceIdsScope; } public void setResourceIdsScope(String resourceIdsScope) { this.resourceIdsScope = resourceIdsScope; if(resourceIdsScope != null){ putBodyParameter("ResourceIdsScope", resourceIdsScope); } } public String getTag() { return this.tag; } public void setTag(String tag) { this.tag = tag; if(tag != null){ putQueryParameter("Tag", tag); } } public Boolean getDefaultEnable() { return this.defaultEnable; } public void setDefaultEnable(Boolean defaultEnable) { this.defaultEnable = defaultEnable; if(defaultEnable != null){ putBodyParameter("DefaultEnable", defaultEnable.toString()); } } public List<ConfigRules> getConfigRules() { return this.configRules; } public void setConfigRules(List<ConfigRules> configRules) { this.configRules = configRules; if (configRules != null) { putBodyParameter("ConfigRules" , new Gson().toJson(configRules)); } } public List<ExcludeTagsScope> getExcludeTagsScope() { return this.excludeTagsScope; } public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) { this.excludeTagsScope = excludeTagsScope; if (excludeTagsScope != null) { for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) { if (excludeTagsScope.get(depth1) != null) { putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue()); putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey()); } } } } public Integer getRiskLevel() { return this.riskLevel; } public void setRiskLevel(Integer riskLevel) { this.riskLevel = riskLevel; if(riskLevel != null){ putBodyParameter("RiskLevel", riskLevel.toString()); } } public List<TagsScope> getTagsScope() { return this.tagsScope; } public void setTagsScope(List<TagsScope> tagsScope) { this.tagsScope = tagsScope; if (tagsScope != null) { for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) { if (tagsScope.get(depth1) != null) { putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue()); putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey()); } } } } public String getTemplateContent() { return this.templateContent; } public void setTemplateContent(String templateContent) { this.templateContent = templateContent; if(templateContent != null){ putBodyParameter("TemplateContent", templateContent); } } public String getResourceGroupIdsScope() { return this.resourceGroupIdsScope; } public void setResourceGroupIdsScope(String resourceGroupIdsScope) { this.resourceGroupIdsScope = resourceGroupIdsScope; if(resourceGroupIdsScope != null){ putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope); } } public String getExcludeRegionIdsScope() { return this.excludeRegionIdsScope; } public void setExcludeRegionIdsScope(String excludeRegionIdsScope) { this.excludeRegionIdsScope = excludeRegionIdsScope; if(excludeRegionIdsScope != null){ putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope); } } public String getExcludeResourceIdsScope() { return this.excludeResourceIdsScope; } public void setExcludeResourceIdsScope(String excludeResourceIdsScope) { this.excludeResourceIdsScope = excludeResourceIdsScope; if(excludeResourceIdsScope != null){ putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope); } } public static class ConfigRules { @SerializedName("ManagedRuleIdentifier") private String managedRuleIdentifier; @SerializedName("ConfigRuleParameters") private List<ConfigRuleParametersItem> configRuleParameters; @SerializedName("ConfigRuleId") private String configRuleId; @SerializedName("ConfigRuleName") private String configRuleName; @SerializedName("Description") private String description; @SerializedName("RiskLevel") private Integer riskLevel; public String getManagedRuleIdentifier() { return this.managedRuleIdentifier; } public void setManagedRuleIdentifier(String managedRuleIdentifier) { this.managedRuleIdentifier = managedRuleIdentifier; } public List<ConfigRuleParametersItem> getConfigRuleParameters() { return this.configRuleParameters; } public void setConfigRuleParameters(List<ConfigRuleParametersItem> configRuleParameters) { this.configRuleParameters = configRuleParameters; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } public String getConfigRuleName() { return this.configRuleName; } public void setConfigRuleName(String configRuleName) { this.configRuleName = configRuleName; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public Integer getRiskLevel() { return this.riskLevel; } public void setRiskLevel(Integer riskLevel) { this.riskLevel = riskLevel; } public static class ConfigRuleParametersItem { @SerializedName("ParameterValue") private String parameterValue; @SerializedName("ParameterName") private String parameterName; public String getParameterValue() { return this.parameterValue; } public void setParameterValue(String parameterValue) { this.parameterValue = parameterValue; } public String getParameterName() { return this.parameterName; } public void setParameterName(String parameterName) { this.parameterName = parameterName; } } } public static class ExcludeTagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } public static class TagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } @Override public Class<CreateAggregateCompliancePackResponse> getResponseClass() { return CreateAggregateCompliancePackResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateCompliancePackResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAggregateCompliancePackResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAggregateCompliancePackResponse extends AcsResponse { private String compliancePackId; private String requestId; public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CreateAggregateCompliancePackResponse getInstance(UnmarshallerContext context) { return CreateAggregateCompliancePackResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateConfigDeliveryChannelRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAggregateConfigDeliveryChannelRequest extends RpcAcsRequest<CreateAggregateConfigDeliveryChannelResponse> { private Boolean nonCompliantNotification; private String clientToken; private Boolean configurationSnapshot; private String description; private String aggregatorId; private String deliveryChannelTargetArn; private String deliveryChannelCondition; private Boolean configurationItemChangeNotification; private Boolean compliantSnapshot; private String deliveryChannelName; private String deliverySnapshotTime; private String oversizedDataOSSTargetArn; private String deliveryChannelType; public CreateAggregateConfigDeliveryChannelRequest() { super("Config", "2020-09-07", "CreateAggregateConfigDeliveryChannel", "config"); 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 Boolean getNonCompliantNotification() { return this.nonCompliantNotification; } public void setNonCompliantNotification(Boolean nonCompliantNotification) { this.nonCompliantNotification = nonCompliantNotification; if(nonCompliantNotification != null){ putQueryParameter("NonCompliantNotification", nonCompliantNotification.toString()); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public Boolean getConfigurationSnapshot() { return this.configurationSnapshot; } public void setConfigurationSnapshot(Boolean configurationSnapshot) { this.configurationSnapshot = configurationSnapshot; if(configurationSnapshot != null){ putQueryParameter("ConfigurationSnapshot", configurationSnapshot.toString()); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putQueryParameter("Description", description); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } public String getDeliveryChannelTargetArn() { return this.deliveryChannelTargetArn; } public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { this.deliveryChannelTargetArn = deliveryChannelTargetArn; if(deliveryChannelTargetArn != null){ putQueryParameter("DeliveryChannelTargetArn", deliveryChannelTargetArn); } } public String getDeliveryChannelCondition() { return this.deliveryChannelCondition; } public void setDeliveryChannelCondition(String deliveryChannelCondition) { this.deliveryChannelCondition = deliveryChannelCondition; if(deliveryChannelCondition != null){ putQueryParameter("DeliveryChannelCondition", deliveryChannelCondition); } } public Boolean getConfigurationItemChangeNotification() { return this.configurationItemChangeNotification; } public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { this.configurationItemChangeNotification = configurationItemChangeNotification; if(configurationItemChangeNotification != null){ putQueryParameter("ConfigurationItemChangeNotification", configurationItemChangeNotification.toString()); } } public Boolean getCompliantSnapshot() { return this.compliantSnapshot; } public void setCompliantSnapshot(Boolean compliantSnapshot) { this.compliantSnapshot = compliantSnapshot; if(compliantSnapshot != null){ putQueryParameter("CompliantSnapshot", compliantSnapshot.toString()); } } public String getDeliveryChannelName() { return this.deliveryChannelName; } public void setDeliveryChannelName(String deliveryChannelName) { this.deliveryChannelName = deliveryChannelName; if(deliveryChannelName != null){ putQueryParameter("DeliveryChannelName", deliveryChannelName); } } public String getDeliverySnapshotTime() { return this.deliverySnapshotTime; } public void setDeliverySnapshotTime(String deliverySnapshotTime) { this.deliverySnapshotTime = deliverySnapshotTime; if(deliverySnapshotTime != null){ putQueryParameter("DeliverySnapshotTime", deliverySnapshotTime); } } public String getOversizedDataOSSTargetArn() { return this.oversizedDataOSSTargetArn; } public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; if(oversizedDataOSSTargetArn != null){ putQueryParameter("OversizedDataOSSTargetArn", oversizedDataOSSTargetArn); } } public String getDeliveryChannelType() { return this.deliveryChannelType; } public void setDeliveryChannelType(String deliveryChannelType) { this.deliveryChannelType = deliveryChannelType; if(deliveryChannelType != null){ putQueryParameter("DeliveryChannelType", deliveryChannelType); } } @Override public Class<CreateAggregateConfigDeliveryChannelResponse> getResponseClass() { return CreateAggregateConfigDeliveryChannelResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateConfigDeliveryChannelResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAggregateConfigDeliveryChannelResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAggregateConfigDeliveryChannelResponse extends AcsResponse { private String requestId; private String deliveryChannelId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getDeliveryChannelId() { return this.deliveryChannelId; } public void setDeliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; } @Override public CreateAggregateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) { return CreateAggregateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateConfigRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAggregateConfigRuleRequest extends RpcAcsRequest<CreateAggregateConfigRuleResponse> { private String tagKeyScope; private List<String> resourceTypesScope; private String tagValueScope; private String excludeAccountIdsScope; private String regionIdsScope; private String tag; private String excludeFolderIdsScope; private String resourceNameScope; private String sourceOwner; private String excludeRegionIdsScope; private String extendContent; private String clientToken; private String description; private String aggregatorId; private String excludeResourceGroupIdsScope; private String configRuleTriggerTypes; private String sourceIdentifier; private String resourceIdsScope; private List<ExcludeTagsScope> excludeTagsScope; private Integer riskLevel; private List<TagsScope> tagsScope; private String resourceGroupIdsScope; private String inputParameters; private String accountIdsScope; private String configRuleName; private String tagKeyLogicScope; private String maximumExecutionFrequency; private String folderIdsScope; private String excludeResourceIdsScope; public CreateAggregateConfigRuleRequest() { super("Config", "2020-09-07", "CreateAggregateConfigRule", "config"); 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 getTagKeyScope() { return this.tagKeyScope; } public void setTagKeyScope(String tagKeyScope) { this.tagKeyScope = tagKeyScope; if(tagKeyScope != null){ putBodyParameter("TagKeyScope", tagKeyScope); } } public List<String> getResourceTypesScope() { return this.resourceTypesScope; } public void setResourceTypesScope(List<String> resourceTypesScope) { this.resourceTypesScope = resourceTypesScope; if (resourceTypesScope != null) { String resourceTypesScopeArrVal = ""; for(int depth1 = 0; depth1 < resourceTypesScope.size(); depth1++) { resourceTypesScopeArrVal += resourceTypesScope.get(depth1) + ","; } if (resourceTypesScopeArrVal.length() > 0) { resourceTypesScopeArrVal = resourceTypesScopeArrVal.substring(0, resourceTypesScopeArrVal.length() - 1); } putBodyParameter("ResourceTypesScope" , resourceTypesScopeArrVal); } } public String getTagValueScope() { return this.tagValueScope; } public void setTagValueScope(String tagValueScope) { this.tagValueScope = tagValueScope; if(tagValueScope != null){ putBodyParameter("TagValueScope", tagValueScope); } } public String getExcludeAccountIdsScope() { return this.excludeAccountIdsScope; } public void setExcludeAccountIdsScope(String excludeAccountIdsScope) { this.excludeAccountIdsScope = excludeAccountIdsScope; if(excludeAccountIdsScope != null){ putBodyParameter("ExcludeAccountIdsScope", excludeAccountIdsScope); } } public String getRegionIdsScope() { return this.regionIdsScope; } public void setRegionIdsScope(String regionIdsScope) { this.regionIdsScope = regionIdsScope; if(regionIdsScope != null){ putBodyParameter("RegionIdsScope", regionIdsScope); } } public String getTag() { return this.tag; } public void setTag(String tag) { this.tag = tag; if(tag != null){ putQueryParameter("Tag", tag); } } public String getExcludeFolderIdsScope() { return this.excludeFolderIdsScope; } public void setExcludeFolderIdsScope(String excludeFolderIdsScope) { this.excludeFolderIdsScope = excludeFolderIdsScope; if(excludeFolderIdsScope != null){ putBodyParameter("ExcludeFolderIdsScope", excludeFolderIdsScope); } } public String getResourceNameScope() { return this.resourceNameScope; } public void setResourceNameScope(String resourceNameScope) { this.resourceNameScope = resourceNameScope; if(resourceNameScope != null){ putQueryParameter("ResourceNameScope", resourceNameScope); } } public String getSourceOwner() { return this.sourceOwner; } public void setSourceOwner(String sourceOwner) { this.sourceOwner = sourceOwner; if(sourceOwner != null){ putBodyParameter("SourceOwner", sourceOwner); } } public String getExcludeRegionIdsScope() { return this.excludeRegionIdsScope; } public void setExcludeRegionIdsScope(String excludeRegionIdsScope) { this.excludeRegionIdsScope = excludeRegionIdsScope; if(excludeRegionIdsScope != null){ putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope); } } public String getExtendContent() { return this.extendContent; } public void setExtendContent(String extendContent) { this.extendContent = extendContent; if(extendContent != null){ putBodyParameter("ExtendContent", extendContent); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putBodyParameter("Description", description); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putBodyParameter("AggregatorId", aggregatorId); } } public String getExcludeResourceGroupIdsScope() { return this.excludeResourceGroupIdsScope; } public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) { this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope; if(excludeResourceGroupIdsScope != null){ putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope); } } public String getConfigRuleTriggerTypes() { return this.configRuleTriggerTypes; } public void setConfigRuleTriggerTypes(String configRuleTriggerTypes) { this.configRuleTriggerTypes = configRuleTriggerTypes; if(configRuleTriggerTypes != null){ putBodyParameter("ConfigRuleTriggerTypes", configRuleTriggerTypes); } } public String getSourceIdentifier() { return this.sourceIdentifier; } public void setSourceIdentifier(String sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; if(sourceIdentifier != null){ putBodyParameter("SourceIdentifier", sourceIdentifier); } } public String getResourceIdsScope() { return this.resourceIdsScope; } public void setResourceIdsScope(String resourceIdsScope) { this.resourceIdsScope = resourceIdsScope; if(resourceIdsScope != null){ putBodyParameter("ResourceIdsScope", resourceIdsScope); } } public List<ExcludeTagsScope> getExcludeTagsScope() { return this.excludeTagsScope; } public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) { this.excludeTagsScope = excludeTagsScope; if (excludeTagsScope != null) { for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) { if (excludeTagsScope.get(depth1) != null) { putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue()); putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey()); } } } } public Integer getRiskLevel() { return this.riskLevel; } public void setRiskLevel(Integer riskLevel) { this.riskLevel = riskLevel; if(riskLevel != null){ putBodyParameter("RiskLevel", riskLevel.toString()); } } public List<TagsScope> getTagsScope() { return this.tagsScope; } public void setTagsScope(List<TagsScope> tagsScope) { this.tagsScope = tagsScope; if (tagsScope != null) { for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) { if (tagsScope.get(depth1) != null) { putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue()); putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey()); } } } } public String getResourceGroupIdsScope() { return this.resourceGroupIdsScope; } public void setResourceGroupIdsScope(String resourceGroupIdsScope) { this.resourceGroupIdsScope = resourceGroupIdsScope; if(resourceGroupIdsScope != null){ putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope); } } public String getInputParameters() { return this.inputParameters; } public void setInputParameters(String inputParameters) { this.inputParameters = inputParameters; if(inputParameters != null){ putBodyParameter("InputParameters", inputParameters); } } public String getAccountIdsScope() { return this.accountIdsScope; } public void setAccountIdsScope(String accountIdsScope) { this.accountIdsScope = accountIdsScope; if(accountIdsScope != null){ putBodyParameter("AccountIdsScope", accountIdsScope); } } public String getConfigRuleName() { return this.configRuleName; } public void setConfigRuleName(String configRuleName) { this.configRuleName = configRuleName; if(configRuleName != null){ putBodyParameter("ConfigRuleName", configRuleName); } } public String getTagKeyLogicScope() { return this.tagKeyLogicScope; } public void setTagKeyLogicScope(String tagKeyLogicScope) { this.tagKeyLogicScope = tagKeyLogicScope; if(tagKeyLogicScope != null){ putBodyParameter("TagKeyLogicScope", tagKeyLogicScope); } } public String getMaximumExecutionFrequency() { return this.maximumExecutionFrequency; } public void setMaximumExecutionFrequency(String maximumExecutionFrequency) { this.maximumExecutionFrequency = maximumExecutionFrequency; if(maximumExecutionFrequency != null){ putBodyParameter("MaximumExecutionFrequency", maximumExecutionFrequency); } } public String getFolderIdsScope() { return this.folderIdsScope; } public void setFolderIdsScope(String folderIdsScope) { this.folderIdsScope = folderIdsScope; if(folderIdsScope != null){ putBodyParameter("FolderIdsScope", folderIdsScope); } } public String getExcludeResourceIdsScope() { return this.excludeResourceIdsScope; } public void setExcludeResourceIdsScope(String excludeResourceIdsScope) { this.excludeResourceIdsScope = excludeResourceIdsScope; if(excludeResourceIdsScope != null){ putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope); } } public static class ExcludeTagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } public static class TagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } @Override public Class<CreateAggregateConfigRuleResponse> getResponseClass() { return CreateAggregateConfigRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateConfigRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAggregateConfigRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAggregateConfigRuleResponse extends AcsResponse { private String configRuleId; private String requestId; public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CreateAggregateConfigRuleResponse getInstance(UnmarshallerContext context) { return CreateAggregateConfigRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateRemediationRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAggregateRemediationRequest extends RpcAcsRequest<CreateAggregateRemediationResponse> { private String configRuleId; private String remediationType; private String clientToken; private String aggregatorId; private String sourceType; private String remediationTemplateId; private String params; private String invokeType; public CreateAggregateRemediationRequest() { super("Config", "2020-09-07", "CreateAggregateRemediation", "config"); 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 getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; if(configRuleId != null){ putBodyParameter("ConfigRuleId", configRuleId); } } public String getRemediationType() { return this.remediationType; } public void setRemediationType(String remediationType) { this.remediationType = remediationType; if(remediationType != null){ putBodyParameter("RemediationType", remediationType); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putBodyParameter("AggregatorId", aggregatorId); } } public String getSourceType() { return this.sourceType; } public void setSourceType(String sourceType) { this.sourceType = sourceType; if(sourceType != null){ putBodyParameter("SourceType", sourceType); } } public String getRemediationTemplateId() { return this.remediationTemplateId; } public void setRemediationTemplateId(String remediationTemplateId) { this.remediationTemplateId = remediationTemplateId; if(remediationTemplateId != null){ putBodyParameter("RemediationTemplateId", remediationTemplateId); } } public String getParams() { return this.params; } public void setParams(String params) { this.params = params; if(params != null){ putBodyParameter("Params", params); } } public String getInvokeType() { return this.invokeType; } public void setInvokeType(String invokeType) { this.invokeType = invokeType; if(invokeType != null){ putBodyParameter("InvokeType", invokeType); } } @Override public Class<CreateAggregateRemediationResponse> getResponseClass() { return CreateAggregateRemediationResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregateRemediationResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAggregateRemediationResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAggregateRemediationResponse extends AcsResponse { private String requestId; private String remediationId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getRemediationId() { return this.remediationId; } public void setRemediationId(String remediationId) { this.remediationId = remediationId; } @Override public CreateAggregateRemediationResponse getInstance(UnmarshallerContext context) { return CreateAggregateRemediationResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregatorRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateAggregatorRequest extends RpcAcsRequest<CreateAggregatorResponse> { private String clientToken; private String aggregatorName; private String description; private String folderId; private String tag; private String aggregatorType; @SerializedName("aggregatorAccounts") private List<AggregatorAccounts> aggregatorAccounts; public CreateAggregatorRequest() { super("Config", "2020-09-07", "CreateAggregator", "config"); 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 getAggregatorName() { return this.aggregatorName; } public void setAggregatorName(String aggregatorName) { this.aggregatorName = aggregatorName; if(aggregatorName != null){ putBodyParameter("AggregatorName", aggregatorName); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putBodyParameter("Description", description); } } public String getFolderId() { return this.folderId; } public void setFolderId(String folderId) { this.folderId = folderId; if(folderId != null){ putBodyParameter("FolderId", folderId); } } public String getTag() { return this.tag; } public void setTag(String tag) { this.tag = tag; if(tag != null){ putQueryParameter("Tag", tag); } } public String getAggregatorType() { return this.aggregatorType; } public void setAggregatorType(String aggregatorType) { this.aggregatorType = aggregatorType; if(aggregatorType != null){ putBodyParameter("AggregatorType", aggregatorType); } } public List<AggregatorAccounts> getAggregatorAccounts() { return this.aggregatorAccounts; } public void setAggregatorAccounts(List<AggregatorAccounts> aggregatorAccounts) { this.aggregatorAccounts = aggregatorAccounts; if (aggregatorAccounts != null) { putBodyParameter("AggregatorAccounts" , new Gson().toJson(aggregatorAccounts)); } } public static class AggregatorAccounts { @SerializedName("AccountId") private Long accountId; @SerializedName("AccountName") private String accountName; @SerializedName("AccountType") private String accountType; public Long getAccountId() { return this.accountId; } public void setAccountId(Long accountId) { this.accountId = accountId; } public String getAccountName() { return this.accountName; } public void setAccountName(String accountName) { this.accountName = accountName; } public String getAccountType() { return this.accountType; } public void setAccountType(String accountType) { this.accountType = accountType; } } @Override public Class<CreateAggregatorResponse> getResponseClass() { return CreateAggregatorResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateAggregatorResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateAggregatorResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateAggregatorResponse extends AcsResponse { private String requestId; private String aggregatorId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; } @Override public CreateAggregatorResponse getInstance(UnmarshallerContext context) { return CreateAggregatorResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateCompliancePackRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateCompliancePackRequest extends RpcAcsRequest<CreateCompliancePackResponse> { private String tagKeyScope; private String compliancePackName; private String clientToken; private String compliancePackTemplateId; private String description; private String excludeResourceGroupIdsScope; private String tagValueScope; private String regionIdsScope; private String resourceIdsScope; private String tag; private Boolean defaultEnable; @SerializedName("configRules") private List<ConfigRules> configRules; private List<ExcludeTagsScope> excludeTagsScope; private Integer riskLevel; private List<TagsScope> tagsScope; private String templateContent; private String resourceGroupIdsScope; private String excludeRegionIdsScope; private String excludeResourceIdsScope; public CreateCompliancePackRequest() { super("Config", "2020-09-07", "CreateCompliancePack", "config"); 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 getTagKeyScope() { return this.tagKeyScope; } public void setTagKeyScope(String tagKeyScope) { this.tagKeyScope = tagKeyScope; if(tagKeyScope != null){ putBodyParameter("TagKeyScope", tagKeyScope); } } public String getCompliancePackName() { return this.compliancePackName; } public void setCompliancePackName(String compliancePackName) { this.compliancePackName = compliancePackName; if(compliancePackName != null){ putBodyParameter("CompliancePackName", compliancePackName); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getCompliancePackTemplateId() { return this.compliancePackTemplateId; } public void setCompliancePackTemplateId(String compliancePackTemplateId) { this.compliancePackTemplateId = compliancePackTemplateId; if(compliancePackTemplateId != null){ putBodyParameter("CompliancePackTemplateId", compliancePackTemplateId); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putBodyParameter("Description", description); } } public String getExcludeResourceGroupIdsScope() { return this.excludeResourceGroupIdsScope; } public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) { this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope; if(excludeResourceGroupIdsScope != null){ putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope); } } public String getTagValueScope() { return this.tagValueScope; } public void setTagValueScope(String tagValueScope) { this.tagValueScope = tagValueScope; if(tagValueScope != null){ putBodyParameter("TagValueScope", tagValueScope); } } public String getRegionIdsScope() { return this.regionIdsScope; } public void setRegionIdsScope(String regionIdsScope) { this.regionIdsScope = regionIdsScope; if(regionIdsScope != null){ putBodyParameter("RegionIdsScope", regionIdsScope); } } public String getResourceIdsScope() { return this.resourceIdsScope; } public void setResourceIdsScope(String resourceIdsScope) { this.resourceIdsScope = resourceIdsScope; if(resourceIdsScope != null){ putBodyParameter("ResourceIdsScope", resourceIdsScope); } } public String getTag() { return this.tag; } public void setTag(String tag) { this.tag = tag; if(tag != null){ putQueryParameter("Tag", tag); } } public Boolean getDefaultEnable() { return this.defaultEnable; } public void setDefaultEnable(Boolean defaultEnable) { this.defaultEnable = defaultEnable; if(defaultEnable != null){ putBodyParameter("DefaultEnable", defaultEnable.toString()); } } public List<ConfigRules> getConfigRules() { return this.configRules; } public void setConfigRules(List<ConfigRules> configRules) { this.configRules = configRules; if (configRules != null) { putBodyParameter("ConfigRules" , new Gson().toJson(configRules)); } } public List<ExcludeTagsScope> getExcludeTagsScope() { return this.excludeTagsScope; } public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) { this.excludeTagsScope = excludeTagsScope; if (excludeTagsScope != null) { for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) { if (excludeTagsScope.get(depth1) != null) { putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue()); putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey()); } } } } public Integer getRiskLevel() { return this.riskLevel; } public void setRiskLevel(Integer riskLevel) { this.riskLevel = riskLevel; if(riskLevel != null){ putBodyParameter("RiskLevel", riskLevel.toString()); } } public List<TagsScope> getTagsScope() { return this.tagsScope; } public void setTagsScope(List<TagsScope> tagsScope) { this.tagsScope = tagsScope; if (tagsScope != null) { for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) { if (tagsScope.get(depth1) != null) { putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue()); putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey()); } } } } public String getTemplateContent() { return this.templateContent; } public void setTemplateContent(String templateContent) { this.templateContent = templateContent; if(templateContent != null){ putBodyParameter("TemplateContent", templateContent); } } public String getResourceGroupIdsScope() { return this.resourceGroupIdsScope; } public void setResourceGroupIdsScope(String resourceGroupIdsScope) { this.resourceGroupIdsScope = resourceGroupIdsScope; if(resourceGroupIdsScope != null){ putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope); } } public String getExcludeRegionIdsScope() { return this.excludeRegionIdsScope; } public void setExcludeRegionIdsScope(String excludeRegionIdsScope) { this.excludeRegionIdsScope = excludeRegionIdsScope; if(excludeRegionIdsScope != null){ putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope); } } public String getExcludeResourceIdsScope() { return this.excludeResourceIdsScope; } public void setExcludeResourceIdsScope(String excludeResourceIdsScope) { this.excludeResourceIdsScope = excludeResourceIdsScope; if(excludeResourceIdsScope != null){ putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope); } } public static class ConfigRules { @SerializedName("ManagedRuleIdentifier") private String managedRuleIdentifier; @SerializedName("ConfigRuleParameters") private List<ConfigRuleParametersItem> configRuleParameters; @SerializedName("ConfigRuleId") private String configRuleId; @SerializedName("ConfigRuleName") private String configRuleName; @SerializedName("Description") private String description; @SerializedName("RiskLevel") private Integer riskLevel; public String getManagedRuleIdentifier() { return this.managedRuleIdentifier; } public void setManagedRuleIdentifier(String managedRuleIdentifier) { this.managedRuleIdentifier = managedRuleIdentifier; } public List<ConfigRuleParametersItem> getConfigRuleParameters() { return this.configRuleParameters; } public void setConfigRuleParameters(List<ConfigRuleParametersItem> configRuleParameters) { this.configRuleParameters = configRuleParameters; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } public String getConfigRuleName() { return this.configRuleName; } public void setConfigRuleName(String configRuleName) { this.configRuleName = configRuleName; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public Integer getRiskLevel() { return this.riskLevel; } public void setRiskLevel(Integer riskLevel) { this.riskLevel = riskLevel; } public static class ConfigRuleParametersItem { @SerializedName("ParameterValue") private String parameterValue; @SerializedName("ParameterName") private String parameterName; public String getParameterValue() { return this.parameterValue; } public void setParameterValue(String parameterValue) { this.parameterValue = parameterValue; } public String getParameterName() { return this.parameterName; } public void setParameterName(String parameterName) { this.parameterName = parameterName; } } } public static class ExcludeTagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } public static class TagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } @Override public Class<CreateCompliancePackResponse> getResponseClass() { return CreateCompliancePackResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateCompliancePackResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateCompliancePackResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateCompliancePackResponse extends AcsResponse { private String compliancePackId; private String requestId; public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CreateCompliancePackResponse getInstance(UnmarshallerContext context) { return CreateCompliancePackResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateConfigDeliveryChannelRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateConfigDeliveryChannelRequest extends RpcAcsRequest<CreateConfigDeliveryChannelResponse> { private Boolean nonCompliantNotification; private String clientToken; private Boolean configurationSnapshot; private String description; private String deliveryChannelTargetArn; private String deliveryChannelCondition; private Boolean configurationItemChangeNotification; private Boolean compliantSnapshot; private String deliveryChannelName; private String deliverySnapshotTime; private String oversizedDataOSSTargetArn; private String deliveryChannelType; public CreateConfigDeliveryChannelRequest() { super("Config", "2020-09-07", "CreateConfigDeliveryChannel", "config"); 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 Boolean getNonCompliantNotification() { return this.nonCompliantNotification; } public void setNonCompliantNotification(Boolean nonCompliantNotification) { this.nonCompliantNotification = nonCompliantNotification; if(nonCompliantNotification != null){ putQueryParameter("NonCompliantNotification", nonCompliantNotification.toString()); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public Boolean getConfigurationSnapshot() { return this.configurationSnapshot; } public void setConfigurationSnapshot(Boolean configurationSnapshot) { this.configurationSnapshot = configurationSnapshot; if(configurationSnapshot != null){ putQueryParameter("ConfigurationSnapshot", configurationSnapshot.toString()); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putQueryParameter("Description", description); } } public String getDeliveryChannelTargetArn() { return this.deliveryChannelTargetArn; } public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { this.deliveryChannelTargetArn = deliveryChannelTargetArn; if(deliveryChannelTargetArn != null){ putQueryParameter("DeliveryChannelTargetArn", deliveryChannelTargetArn); } } public String getDeliveryChannelCondition() { return this.deliveryChannelCondition; } public void setDeliveryChannelCondition(String deliveryChannelCondition) { this.deliveryChannelCondition = deliveryChannelCondition; if(deliveryChannelCondition != null){ putQueryParameter("DeliveryChannelCondition", deliveryChannelCondition); } } public Boolean getConfigurationItemChangeNotification() { return this.configurationItemChangeNotification; } public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { this.configurationItemChangeNotification = configurationItemChangeNotification; if(configurationItemChangeNotification != null){ putQueryParameter("ConfigurationItemChangeNotification", configurationItemChangeNotification.toString()); } } public Boolean getCompliantSnapshot() { return this.compliantSnapshot; } public void setCompliantSnapshot(Boolean compliantSnapshot) { this.compliantSnapshot = compliantSnapshot; if(compliantSnapshot != null){ putQueryParameter("CompliantSnapshot", compliantSnapshot.toString()); } } public String getDeliveryChannelName() { return this.deliveryChannelName; } public void setDeliveryChannelName(String deliveryChannelName) { this.deliveryChannelName = deliveryChannelName; if(deliveryChannelName != null){ putQueryParameter("DeliveryChannelName", deliveryChannelName); } } public String getDeliverySnapshotTime() { return this.deliverySnapshotTime; } public void setDeliverySnapshotTime(String deliverySnapshotTime) { this.deliverySnapshotTime = deliverySnapshotTime; if(deliverySnapshotTime != null){ putQueryParameter("DeliverySnapshotTime", deliverySnapshotTime); } } public String getOversizedDataOSSTargetArn() { return this.oversizedDataOSSTargetArn; } public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; if(oversizedDataOSSTargetArn != null){ putQueryParameter("OversizedDataOSSTargetArn", oversizedDataOSSTargetArn); } } public String getDeliveryChannelType() { return this.deliveryChannelType; } public void setDeliveryChannelType(String deliveryChannelType) { this.deliveryChannelType = deliveryChannelType; if(deliveryChannelType != null){ putQueryParameter("DeliveryChannelType", deliveryChannelType); } } @Override public Class<CreateConfigDeliveryChannelResponse> getResponseClass() { return CreateConfigDeliveryChannelResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateConfigDeliveryChannelResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateConfigDeliveryChannelResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateConfigDeliveryChannelResponse extends AcsResponse { private String requestId; private String deliveryChannelId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getDeliveryChannelId() { return this.deliveryChannelId; } public void setDeliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; } @Override public CreateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) { return CreateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateConfigRuleRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateConfigRuleRequest extends RpcAcsRequest<CreateConfigRuleResponse> { private String tagKeyScope; private String clientToken; private List<String> resourceTypesScope; private String description; private String excludeResourceGroupIdsScope; private String configRuleTriggerTypes; private String sourceIdentifier; private String tagValueScope; private String regionIdsScope; private String resourceIdsScope; private String tag; private String resourceNameScope; private List<ExcludeTagsScope> excludeTagsScope; private Integer riskLevel; private List<TagsScope> tagsScope; private String sourceOwner; private String resourceGroupIdsScope; private String excludeRegionIdsScope; private String inputParameters; private String tagKeyLogicScope; private String configRuleName; private String maximumExecutionFrequency; private String extendContent; private String excludeResourceIdsScope; public CreateConfigRuleRequest() { super("Config", "2020-09-07", "CreateConfigRule", "config"); 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 getTagKeyScope() { return this.tagKeyScope; } public void setTagKeyScope(String tagKeyScope) { this.tagKeyScope = tagKeyScope; if(tagKeyScope != null){ putBodyParameter("TagKeyScope", tagKeyScope); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public List<String> getResourceTypesScope() { return this.resourceTypesScope; } public void setResourceTypesScope(List<String> resourceTypesScope) { this.resourceTypesScope = resourceTypesScope; if (resourceTypesScope != null) { String resourceTypesScopeArrVal = ""; for(int depth1 = 0; depth1 < resourceTypesScope.size(); depth1++) { resourceTypesScopeArrVal += resourceTypesScope.get(depth1) + ","; } if (resourceTypesScopeArrVal.length() > 0) { resourceTypesScopeArrVal = resourceTypesScopeArrVal.substring(0, resourceTypesScopeArrVal.length() - 1); } putBodyParameter("ResourceTypesScope" , resourceTypesScopeArrVal); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putBodyParameter("Description", description); } } public String getExcludeResourceGroupIdsScope() { return this.excludeResourceGroupIdsScope; } public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) { this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope; if(excludeResourceGroupIdsScope != null){ putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope); } } public String getConfigRuleTriggerTypes() { return this.configRuleTriggerTypes; } public void setConfigRuleTriggerTypes(String configRuleTriggerTypes) { this.configRuleTriggerTypes = configRuleTriggerTypes; if(configRuleTriggerTypes != null){ putBodyParameter("ConfigRuleTriggerTypes", configRuleTriggerTypes); } } public String getSourceIdentifier() { return this.sourceIdentifier; } public void setSourceIdentifier(String sourceIdentifier) { this.sourceIdentifier = sourceIdentifier; if(sourceIdentifier != null){ putBodyParameter("SourceIdentifier", sourceIdentifier); } } public String getTagValueScope() { return this.tagValueScope; } public void setTagValueScope(String tagValueScope) { this.tagValueScope = tagValueScope; if(tagValueScope != null){ putBodyParameter("TagValueScope", tagValueScope); } } public String getRegionIdsScope() { return this.regionIdsScope; } public void setRegionIdsScope(String regionIdsScope) { this.regionIdsScope = regionIdsScope; if(regionIdsScope != null){ putBodyParameter("RegionIdsScope", regionIdsScope); } } public String getResourceIdsScope() { return this.resourceIdsScope; } public void setResourceIdsScope(String resourceIdsScope) { this.resourceIdsScope = resourceIdsScope; if(resourceIdsScope != null){ putBodyParameter("ResourceIdsScope", resourceIdsScope); } } public String getTag() { return this.tag; } public void setTag(String tag) { this.tag = tag; if(tag != null){ putQueryParameter("Tag", tag); } } public String getResourceNameScope() { return this.resourceNameScope; } public void setResourceNameScope(String resourceNameScope) { this.resourceNameScope = resourceNameScope; if(resourceNameScope != null){ putBodyParameter("ResourceNameScope", resourceNameScope); } } public List<ExcludeTagsScope> getExcludeTagsScope() { return this.excludeTagsScope; } public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) { this.excludeTagsScope = excludeTagsScope; if (excludeTagsScope != null) { for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) { if (excludeTagsScope.get(depth1) != null) { putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue()); putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey()); } } } } public Integer getRiskLevel() { return this.riskLevel; } public void setRiskLevel(Integer riskLevel) { this.riskLevel = riskLevel; if(riskLevel != null){ putBodyParameter("RiskLevel", riskLevel.toString()); } } public List<TagsScope> getTagsScope() { return this.tagsScope; } public void setTagsScope(List<TagsScope> tagsScope) { this.tagsScope = tagsScope; if (tagsScope != null) { for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) { if (tagsScope.get(depth1) != null) { putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue()); putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey()); } } } } public String getSourceOwner() { return this.sourceOwner; } public void setSourceOwner(String sourceOwner) { this.sourceOwner = sourceOwner; if(sourceOwner != null){ putBodyParameter("SourceOwner", sourceOwner); } } public String getResourceGroupIdsScope() { return this.resourceGroupIdsScope; } public void setResourceGroupIdsScope(String resourceGroupIdsScope) { this.resourceGroupIdsScope = resourceGroupIdsScope; if(resourceGroupIdsScope != null){ putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope); } } public String getExcludeRegionIdsScope() { return this.excludeRegionIdsScope; } public void setExcludeRegionIdsScope(String excludeRegionIdsScope) { this.excludeRegionIdsScope = excludeRegionIdsScope; if(excludeRegionIdsScope != null){ putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope); } } public String getInputParameters() { return this.inputParameters; } public void setInputParameters(String inputParameters) { this.inputParameters = inputParameters; if(inputParameters != null){ putBodyParameter("InputParameters", inputParameters); } } public String getTagKeyLogicScope() { return this.tagKeyLogicScope; } public void setTagKeyLogicScope(String tagKeyLogicScope) { this.tagKeyLogicScope = tagKeyLogicScope; if(tagKeyLogicScope != null){ putBodyParameter("TagKeyLogicScope", tagKeyLogicScope); } } public String getConfigRuleName() { return this.configRuleName; } public void setConfigRuleName(String configRuleName) { this.configRuleName = configRuleName; if(configRuleName != null){ putBodyParameter("ConfigRuleName", configRuleName); } } public String getMaximumExecutionFrequency() { return this.maximumExecutionFrequency; } public void setMaximumExecutionFrequency(String maximumExecutionFrequency) { this.maximumExecutionFrequency = maximumExecutionFrequency; if(maximumExecutionFrequency != null){ putBodyParameter("MaximumExecutionFrequency", maximumExecutionFrequency); } } public String getExtendContent() { return this.extendContent; } public void setExtendContent(String extendContent) { this.extendContent = extendContent; if(extendContent != null){ putBodyParameter("ExtendContent", extendContent); } } public String getExcludeResourceIdsScope() { return this.excludeResourceIdsScope; } public void setExcludeResourceIdsScope(String excludeResourceIdsScope) { this.excludeResourceIdsScope = excludeResourceIdsScope; if(excludeResourceIdsScope != null){ putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope); } } public static class ExcludeTagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } public static class TagsScope { private String tagValue; private String tagKey; public String getTagValue() { return this.tagValue; } public void setTagValue(String tagValue) { this.tagValue = tagValue; } public String getTagKey() { return this.tagKey; } public void setTagKey(String tagKey) { this.tagKey = tagKey; } } @Override public Class<CreateConfigRuleResponse> getResponseClass() { return CreateConfigRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateConfigRuleResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateConfigRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateConfigRuleResponse extends AcsResponse { private String configRuleId; private String requestId; public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public CreateConfigRuleResponse getInstance(UnmarshallerContext context) { return CreateConfigRuleResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateDeliveryChannelRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateDeliveryChannelRequest extends RpcAcsRequest<CreateDeliveryChannelResponse> { private Boolean nonCompliantNotification; private String clientToken; private Boolean configurationSnapshot; private String description; private String deliveryChannelTargetArn; private String deliveryChannelCondition; private Boolean configurationItemChangeNotification; private String deliveryChannelAssumeRoleArn; private String deliveryChannelName; private String oversizedDataOSSTargetArn; private String deliveryChannelType; public CreateDeliveryChannelRequest() { super("Config", "2020-09-07", "CreateDeliveryChannel", "config"); 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 Boolean getNonCompliantNotification() { return this.nonCompliantNotification; } public void setNonCompliantNotification(Boolean nonCompliantNotification) { this.nonCompliantNotification = nonCompliantNotification; if(nonCompliantNotification != null){ putBodyParameter("NonCompliantNotification", nonCompliantNotification.toString()); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public Boolean getConfigurationSnapshot() { return this.configurationSnapshot; } public void setConfigurationSnapshot(Boolean configurationSnapshot) { this.configurationSnapshot = configurationSnapshot; if(configurationSnapshot != null){ putBodyParameter("ConfigurationSnapshot", configurationSnapshot.toString()); } } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; if(description != null){ putBodyParameter("Description", description); } } public String getDeliveryChannelTargetArn() { return this.deliveryChannelTargetArn; } public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { this.deliveryChannelTargetArn = deliveryChannelTargetArn; if(deliveryChannelTargetArn != null){ putBodyParameter("DeliveryChannelTargetArn", deliveryChannelTargetArn); } } public String getDeliveryChannelCondition() { return this.deliveryChannelCondition; } public void setDeliveryChannelCondition(String deliveryChannelCondition) { this.deliveryChannelCondition = deliveryChannelCondition; if(deliveryChannelCondition != null){ putBodyParameter("DeliveryChannelCondition", deliveryChannelCondition); } } public Boolean getConfigurationItemChangeNotification() { return this.configurationItemChangeNotification; } public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { this.configurationItemChangeNotification = configurationItemChangeNotification; if(configurationItemChangeNotification != null){ putBodyParameter("ConfigurationItemChangeNotification", configurationItemChangeNotification.toString()); } } public String getDeliveryChannelAssumeRoleArn() { return this.deliveryChannelAssumeRoleArn; } public void setDeliveryChannelAssumeRoleArn(String deliveryChannelAssumeRoleArn) { this.deliveryChannelAssumeRoleArn = deliveryChannelAssumeRoleArn; if(deliveryChannelAssumeRoleArn != null){ putBodyParameter("DeliveryChannelAssumeRoleArn", deliveryChannelAssumeRoleArn); } } public String getDeliveryChannelName() { return this.deliveryChannelName; } public void setDeliveryChannelName(String deliveryChannelName) { this.deliveryChannelName = deliveryChannelName; if(deliveryChannelName != null){ putBodyParameter("DeliveryChannelName", deliveryChannelName); } } public String getOversizedDataOSSTargetArn() { return this.oversizedDataOSSTargetArn; } public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; if(oversizedDataOSSTargetArn != null){ putBodyParameter("OversizedDataOSSTargetArn", oversizedDataOSSTargetArn); } } public String getDeliveryChannelType() { return this.deliveryChannelType; } public void setDeliveryChannelType(String deliveryChannelType) { this.deliveryChannelType = deliveryChannelType; if(deliveryChannelType != null){ putBodyParameter("DeliveryChannelType", deliveryChannelType); } } @Override public Class<CreateDeliveryChannelResponse> getResponseClass() { return CreateDeliveryChannelResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateDeliveryChannelResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateDeliveryChannelResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateDeliveryChannelResponse extends AcsResponse { private String requestId; private String deliveryChannelId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getDeliveryChannelId() { return this.deliveryChannelId; } public void setDeliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; } @Override public CreateDeliveryChannelResponse getInstance(UnmarshallerContext context) { return CreateDeliveryChannelResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateRemediationRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class CreateRemediationRequest extends RpcAcsRequest<CreateRemediationResponse> { private String configRuleId; private String remediationType; private String clientToken; private String sourceType; private String remediationTemplateId; private String params; private String invokeType; public CreateRemediationRequest() { super("Config", "2020-09-07", "CreateRemediation", "config"); 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 getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; if(configRuleId != null){ putBodyParameter("ConfigRuleId", configRuleId); } } public String getRemediationType() { return this.remediationType; } public void setRemediationType(String remediationType) { this.remediationType = remediationType; if(remediationType != null){ putBodyParameter("RemediationType", remediationType); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getSourceType() { return this.sourceType; } public void setSourceType(String sourceType) { this.sourceType = sourceType; if(sourceType != null){ putBodyParameter("SourceType", sourceType); } } public String getRemediationTemplateId() { return this.remediationTemplateId; } public void setRemediationTemplateId(String remediationTemplateId) { this.remediationTemplateId = remediationTemplateId; if(remediationTemplateId != null){ putBodyParameter("RemediationTemplateId", remediationTemplateId); } } public String getParams() { return this.params; } public void setParams(String params) { this.params = params; if(params != null){ putBodyParameter("Params", params); } } public String getInvokeType() { return this.invokeType; } public void setInvokeType(String invokeType) { this.invokeType = invokeType; if(invokeType != null){ putBodyParameter("InvokeType", invokeType); } } @Override public Class<CreateRemediationResponse> getResponseClass() { return CreateRemediationResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/CreateRemediationResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.CreateRemediationResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateRemediationResponse extends AcsResponse { private String requestId; private String remediationId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getRemediationId() { return this.remediationId; } public void setRemediationId(String remediationId) { this.remediationId = remediationId; } @Override public CreateRemediationResponse getInstance(UnmarshallerContext context) { return CreateRemediationResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeactiveAggregateConfigRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class DeactiveAggregateConfigRulesRequest extends RpcAcsRequest<DeactiveAggregateConfigRulesResponse> { private String configRuleIds; private String aggregatorId; private String compliancePackId; public DeactiveAggregateConfigRulesRequest() { super("Config", "2020-09-07", "DeactiveAggregateConfigRules", "config"); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; if(compliancePackId != null){ putQueryParameter("CompliancePackId", compliancePackId); } } @Override public Class<DeactiveAggregateConfigRulesResponse> getResponseClass() { return DeactiveAggregateConfigRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeactiveAggregateConfigRulesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.DeactiveAggregateConfigRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeactiveAggregateConfigRulesResponse extends AcsResponse { private String requestId; private OperateRuleResult operateRuleResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateRuleResult getOperateRuleResult() { return this.operateRuleResult; } public void setOperateRuleResult(OperateRuleResult operateRuleResult) { this.operateRuleResult = operateRuleResult; } public static class OperateRuleResult { private List<OperateRuleItem> operateRuleItemList; public List<OperateRuleItem> getOperateRuleItemList() { return this.operateRuleItemList; } public void setOperateRuleItemList(List<OperateRuleItem> operateRuleItemList) { this.operateRuleItemList = operateRuleItemList; } public static class OperateRuleItem { private String errorCode; private Boolean success; private String configRuleId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } } } @Override public DeactiveAggregateConfigRulesResponse getInstance(UnmarshallerContext context) { return DeactiveAggregateConfigRulesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeactiveConfigRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class DeactiveConfigRulesRequest extends RpcAcsRequest<DeactiveConfigRulesResponse> { private String configRuleIds; private String compliancePackId; public DeactiveConfigRulesRequest() { super("Config", "2020-09-07", "DeactiveConfigRules", "config"); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; if(compliancePackId != null){ putQueryParameter("CompliancePackId", compliancePackId); } } @Override public Class<DeactiveConfigRulesResponse> getResponseClass() { return DeactiveConfigRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeactiveConfigRulesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.DeactiveConfigRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeactiveConfigRulesResponse extends AcsResponse { private String requestId; private OperateRuleResult operateRuleResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateRuleResult getOperateRuleResult() { return this.operateRuleResult; } public void setOperateRuleResult(OperateRuleResult operateRuleResult) { this.operateRuleResult = operateRuleResult; } public static class OperateRuleResult { private List<OperateRuleItem> operateRuleItemList; public List<OperateRuleItem> getOperateRuleItemList() { return this.operateRuleItemList; } public void setOperateRuleItemList(List<OperateRuleItem> operateRuleItemList) { this.operateRuleItemList = operateRuleItemList; } public static class OperateRuleItem { private String errorCode; private Boolean success; private String configRuleId; public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getConfigRuleId() { return this.configRuleId; } public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } } } @Override public DeactiveConfigRulesResponse getInstance(UnmarshallerContext context) { return DeactiveConfigRulesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeleteAggregateCompliancePacksRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class DeleteAggregateCompliancePacksRequest extends RpcAcsRequest<DeleteAggregateCompliancePacksResponse> { private String clientToken; private String aggregatorId; private String compliancePackIds; private Boolean deleteRule; public DeleteAggregateCompliancePacksRequest() { super("Config", "2020-09-07", "DeleteAggregateCompliancePacks", "config"); 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 getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putBodyParameter("AggregatorId", aggregatorId); } } public String getCompliancePackIds() { return this.compliancePackIds; } public void setCompliancePackIds(String compliancePackIds) { this.compliancePackIds = compliancePackIds; if(compliancePackIds != null){ putBodyParameter("CompliancePackIds", compliancePackIds); } } public Boolean getDeleteRule() { return this.deleteRule; } public void setDeleteRule(Boolean deleteRule) { this.deleteRule = deleteRule; if(deleteRule != null){ putBodyParameter("DeleteRule", deleteRule.toString()); } } @Override public Class<DeleteAggregateCompliancePacksResponse> getResponseClass() { return DeleteAggregateCompliancePacksResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeleteAggregateCompliancePacksResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.DeleteAggregateCompliancePacksResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteAggregateCompliancePacksResponse extends AcsResponse { private String requestId; private OperateCompliancePacksResult operateCompliancePacksResult; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public OperateCompliancePacksResult getOperateCompliancePacksResult() { return this.operateCompliancePacksResult; } public void setOperateCompliancePacksResult(OperateCompliancePacksResult operateCompliancePacksResult) { this.operateCompliancePacksResult = operateCompliancePacksResult; } public static class OperateCompliancePacksResult { private List<OperateCompliancePacksItem> operateCompliancePacks; public List<OperateCompliancePacksItem> getOperateCompliancePacks() { return this.operateCompliancePacks; } public void setOperateCompliancePacks(List<OperateCompliancePacksItem> operateCompliancePacks) { this.operateCompliancePacks = operateCompliancePacks; } public static class OperateCompliancePacksItem { private String compliancePackId; private String errorCode; private Boolean success; public String getCompliancePackId() { return this.compliancePackId; } public void setCompliancePackId(String compliancePackId) { this.compliancePackId = compliancePackId; } public String getErrorCode() { return this.errorCode; } public void setErrorCode(String errorCode) { this.errorCode = errorCode; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } } } @Override public DeleteAggregateCompliancePacksResponse getInstance(UnmarshallerContext context) { return DeleteAggregateCompliancePacksResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeleteAggregateConfigDeliveryChannelRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class DeleteAggregateConfigDeliveryChannelRequest extends RpcAcsRequest<DeleteAggregateConfigDeliveryChannelResponse> { private String aggregatorId; private String deliveryChannelId; public DeleteAggregateConfigDeliveryChannelRequest() { super("Config", "2020-09-07", "DeleteAggregateConfigDeliveryChannel", "config"); 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 getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } public String getDeliveryChannelId() { return this.deliveryChannelId; } public void setDeliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; if(deliveryChannelId != null){ putQueryParameter("DeliveryChannelId", deliveryChannelId); } } @Override public Class<DeleteAggregateConfigDeliveryChannelResponse> getResponseClass() { return DeleteAggregateConfigDeliveryChannelResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeleteAggregateConfigDeliveryChannelResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.AcsResponse; import com.aliyuncs.config.transform.v20200907.DeleteAggregateConfigDeliveryChannelResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteAggregateConfigDeliveryChannelResponse extends AcsResponse { private String requestId; private String deliveryChannelId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getDeliveryChannelId() { return this.deliveryChannelId; } public void setDeliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; } @Override public DeleteAggregateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) { return DeleteAggregateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/DeleteAggregateConfigRulesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.config.model.v20200907; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.config.Endpoint; /** * @author auto create * @version */ public class DeleteAggregateConfigRulesRequest extends RpcAcsRequest<DeleteAggregateConfigRulesResponse> { private String configRuleIds; private String aggregatorId; public DeleteAggregateConfigRulesRequest() { super("Config", "2020-09-07", "DeleteAggregateConfigRules", "config"); 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 getConfigRuleIds() { return this.configRuleIds; } public void setConfigRuleIds(String configRuleIds) { this.configRuleIds = configRuleIds; if(configRuleIds != null){ putQueryParameter("ConfigRuleIds", configRuleIds); } } public String getAggregatorId() { return this.aggregatorId; } public void setAggregatorId(String aggregatorId) { this.aggregatorId = aggregatorId; if(aggregatorId != null){ putQueryParameter("AggregatorId", aggregatorId); } } @Override public Class<DeleteAggregateConfigRulesResponse> getResponseClass() { return DeleteAggregateConfigRulesResponse.class; } }