index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListBindingsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListBindingsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListBindingsResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<BindingDO> bindings; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<BindingDO> getBindings() { return this.bindings; } public void setBindings(List<BindingDO> bindings) { this.bindings = bindings; } public static class BindingDO { private String sourceExchange; private String argument; private String bindingKey; private String bindingType; private String destinationName; public String getSourceExchange() { return this.sourceExchange; } public void setSourceExchange(String sourceExchange) { this.sourceExchange = sourceExchange; } public String getArgument() { return this.argument; } public void setArgument(String argument) { this.argument = argument; } public String getBindingKey() { return this.bindingKey; } public void setBindingKey(String bindingKey) { this.bindingKey = bindingKey; } public String getBindingType() { return this.bindingType; } public void setBindingType(String bindingType) { this.bindingType = bindingType; } public String getDestinationName() { return this.destinationName; } public void setDestinationName(String destinationName) { this.destinationName = destinationName; } } } @Override public ListBindingsResponse getInstance(UnmarshallerContext context) { return ListBindingsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListDownStreamBindingsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListDownStreamBindingsRequest extends RpcAcsRequest<ListDownStreamBindingsResponse> { private String exchangeName; private String instanceId; private String nextToken; private Integer maxResults; private String virtualHost; public ListDownStreamBindingsRequest() { super("amqp-open", "2019-12-12", "ListDownStreamBindings", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getExchangeName() { return this.exchangeName; } public void setExchangeName(String exchangeName) { this.exchangeName = exchangeName; if(exchangeName != null){ putQueryParameter("ExchangeName", exchangeName); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public String getVirtualHost() { return this.virtualHost; } public void setVirtualHost(String virtualHost) { this.virtualHost = virtualHost; if(virtualHost != null){ putQueryParameter("VirtualHost", virtualHost); } } @Override public Class<ListDownStreamBindingsResponse> getResponseClass() { return ListDownStreamBindingsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListDownStreamBindingsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListDownStreamBindingsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListDownStreamBindingsResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Boolean success; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<BindingVO> bindings; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<BindingVO> getBindings() { return this.bindings; } public void setBindings(List<BindingVO> bindings) { this.bindings = bindings; } public static class BindingVO { private String sourceExchange; private String argument; private String bindingKey; private String bindingType; private String destinationName; public String getSourceExchange() { return this.sourceExchange; } public void setSourceExchange(String sourceExchange) { this.sourceExchange = sourceExchange; } public String getArgument() { return this.argument; } public void setArgument(String argument) { this.argument = argument; } public String getBindingKey() { return this.bindingKey; } public void setBindingKey(String bindingKey) { this.bindingKey = bindingKey; } public String getBindingType() { return this.bindingType; } public void setBindingType(String bindingType) { this.bindingType = bindingType; } public String getDestinationName() { return this.destinationName; } public void setDestinationName(String destinationName) { this.destinationName = destinationName; } } } @Override public ListDownStreamBindingsResponse getInstance(UnmarshallerContext context) { return ListDownStreamBindingsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListExchangeUpStreamBindingsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListExchangeUpStreamBindingsRequest extends RpcAcsRequest<ListExchangeUpStreamBindingsResponse> { private String exchangeName; private String instanceId; private String nextToken; private Integer maxResults; private String virtualHost; public ListExchangeUpStreamBindingsRequest() { super("amqp-open", "2019-12-12", "ListExchangeUpStreamBindings", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getExchangeName() { return this.exchangeName; } public void setExchangeName(String exchangeName) { this.exchangeName = exchangeName; if(exchangeName != null){ putQueryParameter("ExchangeName", exchangeName); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public String getVirtualHost() { return this.virtualHost; } public void setVirtualHost(String virtualHost) { this.virtualHost = virtualHost; if(virtualHost != null){ putQueryParameter("VirtualHost", virtualHost); } } @Override public Class<ListExchangeUpStreamBindingsResponse> getResponseClass() { return ListExchangeUpStreamBindingsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListExchangeUpStreamBindingsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListExchangeUpStreamBindingsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListExchangeUpStreamBindingsResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Boolean success; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<BindingVO> bindings; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<BindingVO> getBindings() { return this.bindings; } public void setBindings(List<BindingVO> bindings) { this.bindings = bindings; } public static class BindingVO { private String sourceExchange; private String argument; private String bindingKey; private String bindingType; private String destinationName; public String getSourceExchange() { return this.sourceExchange; } public void setSourceExchange(String sourceExchange) { this.sourceExchange = sourceExchange; } public String getArgument() { return this.argument; } public void setArgument(String argument) { this.argument = argument; } public String getBindingKey() { return this.bindingKey; } public void setBindingKey(String bindingKey) { this.bindingKey = bindingKey; } public String getBindingType() { return this.bindingType; } public void setBindingType(String bindingType) { this.bindingType = bindingType; } public String getDestinationName() { return this.destinationName; } public void setDestinationName(String destinationName) { this.destinationName = destinationName; } } } @Override public ListExchangeUpStreamBindingsResponse getInstance(UnmarshallerContext context) { return ListExchangeUpStreamBindingsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListExchangesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListExchangesRequest extends RpcAcsRequest<ListExchangesResponse> { private String instanceId; private String nextToken; private Integer maxResults; private String virtualHost; public ListExchangesRequest() { super("amqp-open", "2019-12-12", "ListExchanges", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public String getVirtualHost() { return this.virtualHost; } public void setVirtualHost(String virtualHost) { this.virtualHost = virtualHost; if(virtualHost != null){ putQueryParameter("VirtualHost", virtualHost); } } @Override public Class<ListExchangesResponse> getResponseClass() { return ListExchangesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListExchangesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListExchangesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListExchangesResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<ExchangeVO> exchanges; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<ExchangeVO> getExchanges() { return this.exchanges; } public void setExchanges(List<ExchangeVO> exchanges) { this.exchanges = exchanges; } public static class ExchangeVO { private Boolean autoDeleteState; private Long createTime; private Map<Object,Object> attributes; private String vHostName; private String name; private String exchangeType; public Boolean getAutoDeleteState() { return this.autoDeleteState; } public void setAutoDeleteState(Boolean autoDeleteState) { this.autoDeleteState = autoDeleteState; } public Long getCreateTime() { return this.createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; } public Map<Object,Object> getAttributes() { return this.attributes; } public void setAttributes(Map<Object,Object> attributes) { this.attributes = attributes; } public String getVHostName() { return this.vHostName; } public void setVHostName(String vHostName) { this.vHostName = vHostName; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getExchangeType() { return this.exchangeType; } public void setExchangeType(String exchangeType) { this.exchangeType = exchangeType; } } } @Override public ListExchangesResponse getInstance(UnmarshallerContext context) { return ListExchangesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListInstancesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListInstancesRequest extends RpcAcsRequest<ListInstancesResponse> { private String nextToken; private Integer maxResults; public ListInstancesRequest() { super("amqp-open", "2019-12-12", "ListInstances", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } @Override public Class<ListInstancesResponse> getResponseClass() { return ListInstancesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListInstancesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListInstancesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListInstancesResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String nextToken; private Integer maxResults; private List<InstanceVO> instances; 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 List<InstanceVO> getInstances() { return this.instances; } public void setInstances(List<InstanceVO> instances) { this.instances = instances; } public static class InstanceVO { private String status; private Boolean supportEIP; private Long expireTime; private Long orderCreateTime; private String privateEndpoint; private Integer storageSize; private Integer maxEipTps; private String instanceId; private String instanceType; private String publicEndpoint; private String classicEndpoint; private Integer maxVhost; private Integer maxTps; private Boolean autoRenewInstance; private String instanceName; private Integer maxQueue; private String orderType; private List<TagsItem> tags; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public Boolean getSupportEIP() { return this.supportEIP; } public void setSupportEIP(Boolean supportEIP) { this.supportEIP = supportEIP; } public Long getExpireTime() { return this.expireTime; } public void setExpireTime(Long expireTime) { this.expireTime = expireTime; } public Long getOrderCreateTime() { return this.orderCreateTime; } public void setOrderCreateTime(Long orderCreateTime) { this.orderCreateTime = orderCreateTime; } public String getPrivateEndpoint() { return this.privateEndpoint; } public void setPrivateEndpoint(String privateEndpoint) { this.privateEndpoint = privateEndpoint; } public Integer getStorageSize() { return this.storageSize; } public void setStorageSize(Integer storageSize) { this.storageSize = storageSize; } public Integer getMaxEipTps() { return this.maxEipTps; } public void setMaxEipTps(Integer maxEipTps) { this.maxEipTps = maxEipTps; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; } public String getPublicEndpoint() { return this.publicEndpoint; } public void setPublicEndpoint(String publicEndpoint) { this.publicEndpoint = publicEndpoint; } public String getClassicEndpoint() { return this.classicEndpoint; } public void setClassicEndpoint(String classicEndpoint) { this.classicEndpoint = classicEndpoint; } public Integer getMaxVhost() { return this.maxVhost; } public void setMaxVhost(Integer maxVhost) { this.maxVhost = maxVhost; } public Integer getMaxTps() { return this.maxTps; } public void setMaxTps(Integer maxTps) { this.maxTps = maxTps; } public Boolean getAutoRenewInstance() { return this.autoRenewInstance; } public void setAutoRenewInstance(Boolean autoRenewInstance) { this.autoRenewInstance = autoRenewInstance; } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; } public Integer getMaxQueue() { return this.maxQueue; } public void setMaxQueue(Integer maxQueue) { this.maxQueue = maxQueue; } public String getOrderType() { return this.orderType; } public void setOrderType(String orderType) { this.orderType = orderType; } public List<TagsItem> getTags() { return this.tags; } public void setTags(List<TagsItem> tags) { this.tags = tags; } public static class TagsItem { private String key; private String value; public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } } } } @Override public ListInstancesResponse getInstance(UnmarshallerContext context) { return ListInstancesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListQueueConsumersRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListQueueConsumersRequest extends RpcAcsRequest<ListQueueConsumersResponse> { private String instanceId; private String nextToken; private Integer queryCount; private String virtualHost; private String queue; public ListQueueConsumersRequest() { super("amqp-open", "2019-12-12", "ListQueueConsumers", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getQueryCount() { return this.queryCount; } public void setQueryCount(Integer queryCount) { this.queryCount = queryCount; if(queryCount != null){ putQueryParameter("QueryCount", queryCount.toString()); } } public String getVirtualHost() { return this.virtualHost; } public void setVirtualHost(String virtualHost) { this.virtualHost = virtualHost; if(virtualHost != null){ putQueryParameter("VirtualHost", virtualHost); } } public String getQueue() { return this.queue; } public void setQueue(String queue) { this.queue = queue; if(queue != null){ putQueryParameter("Queue", queue); } } @Override public Class<ListQueueConsumersResponse> getResponseClass() { return ListQueueConsumersResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListQueueConsumersResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListQueueConsumersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListQueueConsumersResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<QueueConsumerVO> consumers; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<QueueConsumerVO> getConsumers() { return this.consumers; } public void setConsumers(List<QueueConsumerVO> consumers) { this.consumers = consumers; } public static class QueueConsumerVO { private String consumerTag; public String getConsumerTag() { return this.consumerTag; } public void setConsumerTag(String consumerTag) { this.consumerTag = consumerTag; } } } @Override public ListQueueConsumersResponse getInstance(UnmarshallerContext context) { return ListQueueConsumersResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListQueueUpStreamBindingsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListQueueUpStreamBindingsRequest extends RpcAcsRequest<ListQueueUpStreamBindingsResponse> { private String queueName; private String instanceId; private String nextToken; private Integer maxResults; private String virtualHost; public ListQueueUpStreamBindingsRequest() { super("amqp-open", "2019-12-12", "ListQueueUpStreamBindings", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getQueueName() { return this.queueName; } public void setQueueName(String queueName) { this.queueName = queueName; if(queueName != null){ putQueryParameter("QueueName", queueName); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public String getVirtualHost() { return this.virtualHost; } public void setVirtualHost(String virtualHost) { this.virtualHost = virtualHost; if(virtualHost != null){ putQueryParameter("VirtualHost", virtualHost); } } @Override public Class<ListQueueUpStreamBindingsResponse> getResponseClass() { return ListQueueUpStreamBindingsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListQueueUpStreamBindingsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListQueueUpStreamBindingsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListQueueUpStreamBindingsResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String maxResults; private String nextToken; private List<BindingVO> bindings; public String getMaxResults() { return this.maxResults; } public void setMaxResults(String maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<BindingVO> getBindings() { return this.bindings; } public void setBindings(List<BindingVO> bindings) { this.bindings = bindings; } public static class BindingVO { private String sourceExchange; private String argument; private String bindingKey; private String bindingType; private String destinationName; public String getSourceExchange() { return this.sourceExchange; } public void setSourceExchange(String sourceExchange) { this.sourceExchange = sourceExchange; } public String getArgument() { return this.argument; } public void setArgument(String argument) { this.argument = argument; } public String getBindingKey() { return this.bindingKey; } public void setBindingKey(String bindingKey) { this.bindingKey = bindingKey; } public String getBindingType() { return this.bindingType; } public void setBindingType(String bindingType) { this.bindingType = bindingType; } public String getDestinationName() { return this.destinationName; } public void setDestinationName(String destinationName) { this.destinationName = destinationName; } } } @Override public ListQueueUpStreamBindingsResponse getInstance(UnmarshallerContext context) { return ListQueueUpStreamBindingsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListQueuesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListQueuesRequest extends RpcAcsRequest<ListQueuesResponse> { private String instanceId; private String nextToken; private Integer maxResults; private String virtualHost; public ListQueuesRequest() { super("amqp-open", "2019-12-12", "ListQueues", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } public String getVirtualHost() { return this.virtualHost; } public void setVirtualHost(String virtualHost) { this.virtualHost = virtualHost; if(virtualHost != null){ putQueryParameter("VirtualHost", virtualHost); } } @Override public Class<ListQueuesResponse> getResponseClass() { return ListQueuesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListQueuesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListQueuesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListQueuesResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<QueueVO> queues; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<QueueVO> getQueues() { return this.queues; } public void setQueues(List<QueueVO> queues) { this.queues = queues; } public static class QueueVO { private Boolean exclusiveState; private Boolean autoDeleteState; private Long createTime; private Map<Object,Object> attributes; private String vHostName; private String name; private String ownerId; private Long lastConsumeTime; public Boolean getExclusiveState() { return this.exclusiveState; } public void setExclusiveState(Boolean exclusiveState) { this.exclusiveState = exclusiveState; } public Boolean getAutoDeleteState() { return this.autoDeleteState; } public void setAutoDeleteState(Boolean autoDeleteState) { this.autoDeleteState = autoDeleteState; } public Long getCreateTime() { return this.createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; } public Map<Object,Object> getAttributes() { return this.attributes; } public void setAttributes(Map<Object,Object> attributes) { this.attributes = attributes; } public String getVHostName() { return this.vHostName; } public void setVHostName(String vHostName) { this.vHostName = vHostName; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getOwnerId() { return this.ownerId; } public void setOwnerId(String ownerId) { this.ownerId = ownerId; } public Long getLastConsumeTime() { return this.lastConsumeTime; } public void setLastConsumeTime(Long lastConsumeTime) { this.lastConsumeTime = lastConsumeTime; } } } @Override public ListQueuesResponse getInstance(UnmarshallerContext context) { return ListQueuesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListVirtualHostsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class ListVirtualHostsRequest extends RpcAcsRequest<ListVirtualHostsResponse> { private String instanceId; private String nextToken; private Integer maxResults; public ListVirtualHostsRequest() { super("amqp-open", "2019-12-12", "ListVirtualHosts", "onsproxy"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } @Override public Class<ListVirtualHostsResponse> getResponseClass() { return ListVirtualHostsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/ListVirtualHostsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.ListVirtualHostsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ListVirtualHostsResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer maxResults; private String nextToken; private List<VhostVO> virtualHosts; public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public List<VhostVO> getVirtualHosts() { return this.virtualHosts; } public void setVirtualHosts(List<VhostVO> virtualHosts) { this.virtualHosts = virtualHosts; } public static class VhostVO { private String name; public String getName() { return this.name; } public void setName(String name) { this.name = name; } } } @Override public ListVirtualHostsResponse getInstance(UnmarshallerContext context) { return ListVirtualHostsResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/UpdateInstanceNameRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class UpdateInstanceNameRequest extends RpcAcsRequest<UpdateInstanceNameResponse> { private String instanceId; private String instanceName; public UpdateInstanceNameRequest() { super("amqp-open", "2019-12-12", "UpdateInstanceName", "onsproxy"); 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 getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; if(instanceName != null){ putQueryParameter("InstanceName", instanceName); } } @Override public Class<UpdateInstanceNameResponse> getResponseClass() { return UpdateInstanceNameResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/UpdateInstanceNameResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.UpdateInstanceNameResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateInstanceNameResponse extends AcsResponse { private Integer code; private String message; private String data; private String requestId; private Boolean success; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public UpdateInstanceNameResponse getInstance(UnmarshallerContext context) { return UpdateInstanceNameResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/UpdateInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.amqp_open.Endpoint; /** * @author auto create * @version */ public class UpdateInstanceRequest extends RpcAcsRequest<UpdateInstanceResponse> { private Long maxPrivateTps; private String clientToken; private Integer storageSize; private Integer queueCapacity; private Integer tracingStorageTime; private Integer maxConnections; private Boolean supportTracing; private String serverlessChargeType; private String instanceType; private String instanceId; private Boolean supportEip; private String modifyType; private Long maxEipTps; public UpdateInstanceRequest() { super("amqp-open", "2019-12-12", "UpdateInstance", "onsproxy"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Long getMaxPrivateTps() { return this.maxPrivateTps; } public void setMaxPrivateTps(Long maxPrivateTps) { this.maxPrivateTps = maxPrivateTps; if(maxPrivateTps != null){ putQueryParameter("MaxPrivateTps", maxPrivateTps.toString()); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public Integer getStorageSize() { return this.storageSize; } public void setStorageSize(Integer storageSize) { this.storageSize = storageSize; if(storageSize != null){ putQueryParameter("StorageSize", storageSize.toString()); } } public Integer getQueueCapacity() { return this.queueCapacity; } public void setQueueCapacity(Integer queueCapacity) { this.queueCapacity = queueCapacity; if(queueCapacity != null){ putQueryParameter("QueueCapacity", queueCapacity.toString()); } } public Integer getTracingStorageTime() { return this.tracingStorageTime; } public void setTracingStorageTime(Integer tracingStorageTime) { this.tracingStorageTime = tracingStorageTime; if(tracingStorageTime != null){ putQueryParameter("TracingStorageTime", tracingStorageTime.toString()); } } public Integer getMaxConnections() { return this.maxConnections; } public void setMaxConnections(Integer maxConnections) { this.maxConnections = maxConnections; if(maxConnections != null){ putQueryParameter("MaxConnections", maxConnections.toString()); } } public Boolean getSupportTracing() { return this.supportTracing; } public void setSupportTracing(Boolean supportTracing) { this.supportTracing = supportTracing; if(supportTracing != null){ putQueryParameter("SupportTracing", supportTracing.toString()); } } public String getServerlessChargeType() { return this.serverlessChargeType; } public void setServerlessChargeType(String serverlessChargeType) { this.serverlessChargeType = serverlessChargeType; if(serverlessChargeType != null){ putQueryParameter("ServerlessChargeType", serverlessChargeType); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Boolean getSupportEip() { return this.supportEip; } public void setSupportEip(Boolean supportEip) { this.supportEip = supportEip; if(supportEip != null){ putQueryParameter("SupportEip", supportEip.toString()); } } public String getModifyType() { return this.modifyType; } public void setModifyType(String modifyType) { this.modifyType = modifyType; if(modifyType != null){ putQueryParameter("ModifyType", modifyType); } } public Long getMaxEipTps() { return this.maxEipTps; } public void setMaxEipTps(Long maxEipTps) { this.maxEipTps = maxEipTps; if(maxEipTps != null){ putQueryParameter("MaxEipTps", maxEipTps.toString()); } } @Override public Class<UpdateInstanceResponse> getResponseClass() { return UpdateInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/model/v20191212/UpdateInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.model.v20191212; import com.aliyuncs.AcsResponse; import com.aliyuncs.amqp_open.transform.v20191212.UpdateInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpdateInstanceResponse extends AcsResponse { @Override public UpdateInstanceResponse getInstance(UnmarshallerContext context) { return UpdateInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/CreateAccountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.CreateAccountResponse; import com.aliyuncs.amqp_open.model.v20191212.CreateAccountResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateAccountResponseUnmarshaller { public static CreateAccountResponse unmarshall(CreateAccountResponse createAccountResponse, UnmarshallerContext _ctx) { createAccountResponse.setRequestId(_ctx.stringValue("CreateAccountResponse.RequestId")); createAccountResponse.setCode(_ctx.integerValue("CreateAccountResponse.Code")); createAccountResponse.setMessage(_ctx.stringValue("CreateAccountResponse.Message")); createAccountResponse.setSuccess(_ctx.booleanValue("CreateAccountResponse.Success")); Data data = new Data(); data.setAccessKey(_ctx.stringValue("CreateAccountResponse.Data.AccessKey")); data.setPassword(_ctx.stringValue("CreateAccountResponse.Data.Password")); data.setCreateTimeStamp(_ctx.longValue("CreateAccountResponse.Data.CreateTimeStamp")); data.setInstanceId(_ctx.stringValue("CreateAccountResponse.Data.InstanceId")); data.setMasterUId(_ctx.longValue("CreateAccountResponse.Data.MasterUId")); data.setUserName(_ctx.stringValue("CreateAccountResponse.Data.UserName")); createAccountResponse.setData(data); return createAccountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/CreateBindingResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.CreateBindingResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateBindingResponseUnmarshaller { public static CreateBindingResponse unmarshall(CreateBindingResponse createBindingResponse, UnmarshallerContext _ctx) { createBindingResponse.setRequestId(_ctx.stringValue("CreateBindingResponse.RequestId")); return createBindingResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/CreateExchangeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.CreateExchangeResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateExchangeResponseUnmarshaller { public static CreateExchangeResponse unmarshall(CreateExchangeResponse createExchangeResponse, UnmarshallerContext _ctx) { createExchangeResponse.setRequestId(_ctx.stringValue("CreateExchangeResponse.RequestId")); return createExchangeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/CreateInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.CreateInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateInstanceResponseUnmarshaller { public static CreateInstanceResponse unmarshall(CreateInstanceResponse createInstanceResponse, UnmarshallerContext _ctx) { return createInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/CreateQueueResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.CreateQueueResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateQueueResponseUnmarshaller { public static CreateQueueResponse unmarshall(CreateQueueResponse createQueueResponse, UnmarshallerContext _ctx) { createQueueResponse.setRequestId(_ctx.stringValue("CreateQueueResponse.RequestId")); return createQueueResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/CreateVirtualHostResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.CreateVirtualHostResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateVirtualHostResponseUnmarshaller { public static CreateVirtualHostResponse unmarshall(CreateVirtualHostResponse createVirtualHostResponse, UnmarshallerContext _ctx) { createVirtualHostResponse.setRequestId(_ctx.stringValue("CreateVirtualHostResponse.RequestId")); return createVirtualHostResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/DeleteAccountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.DeleteAccountResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAccountResponseUnmarshaller { public static DeleteAccountResponse unmarshall(DeleteAccountResponse deleteAccountResponse, UnmarshallerContext _ctx) { deleteAccountResponse.setRequestId(_ctx.stringValue("DeleteAccountResponse.RequestId")); deleteAccountResponse.setCode(_ctx.integerValue("DeleteAccountResponse.Code")); deleteAccountResponse.setMessage(_ctx.stringValue("DeleteAccountResponse.Message")); deleteAccountResponse.setData(_ctx.booleanValue("DeleteAccountResponse.Data")); deleteAccountResponse.setSuccess(_ctx.booleanValue("DeleteAccountResponse.Success")); return deleteAccountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/DeleteBindingResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.DeleteBindingResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteBindingResponseUnmarshaller { public static DeleteBindingResponse unmarshall(DeleteBindingResponse deleteBindingResponse, UnmarshallerContext _ctx) { deleteBindingResponse.setRequestId(_ctx.stringValue("DeleteBindingResponse.RequestId")); return deleteBindingResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/DeleteExchangeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.DeleteExchangeResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteExchangeResponseUnmarshaller { public static DeleteExchangeResponse unmarshall(DeleteExchangeResponse deleteExchangeResponse, UnmarshallerContext _ctx) { deleteExchangeResponse.setRequestId(_ctx.stringValue("DeleteExchangeResponse.RequestId")); return deleteExchangeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/DeleteQueueResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.DeleteQueueResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteQueueResponseUnmarshaller { public static DeleteQueueResponse unmarshall(DeleteQueueResponse deleteQueueResponse, UnmarshallerContext _ctx) { deleteQueueResponse.setRequestId(_ctx.stringValue("DeleteQueueResponse.RequestId")); return deleteQueueResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/DeleteVirtualHostResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.DeleteVirtualHostResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteVirtualHostResponseUnmarshaller { public static DeleteVirtualHostResponse unmarshall(DeleteVirtualHostResponse deleteVirtualHostResponse, UnmarshallerContext _ctx) { deleteVirtualHostResponse.setRequestId(_ctx.stringValue("DeleteVirtualHostResponse.RequestId")); return deleteVirtualHostResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/GetMetadataAmountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.GetMetadataAmountResponse; import com.aliyuncs.amqp_open.model.v20191212.GetMetadataAmountResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetMetadataAmountResponseUnmarshaller { public static GetMetadataAmountResponse unmarshall(GetMetadataAmountResponse getMetadataAmountResponse, UnmarshallerContext _ctx) { getMetadataAmountResponse.setRequestId(_ctx.stringValue("GetMetadataAmountResponse.RequestId")); Data data = new Data(); data.setMaxVirtualHosts(_ctx.integerValue("GetMetadataAmountResponse.Data.MaxVirtualHosts")); data.setCurrentVirtualHosts(_ctx.integerValue("GetMetadataAmountResponse.Data.CurrentVirtualHosts")); data.setMaxQueues(_ctx.integerValue("GetMetadataAmountResponse.Data.MaxQueues")); data.setCurrentExchanges(_ctx.integerValue("GetMetadataAmountResponse.Data.CurrentExchanges")); data.setMaxExchanges(_ctx.integerValue("GetMetadataAmountResponse.Data.MaxExchanges")); data.setCurrentQueues(_ctx.integerValue("GetMetadataAmountResponse.Data.CurrentQueues")); getMetadataAmountResponse.setData(data); return getMetadataAmountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListAccountsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.ListAccountsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ListAccountsResponseUnmarshaller { public static ListAccountsResponse unmarshall(ListAccountsResponse listAccountsResponse, UnmarshallerContext _ctx) { return listAccountsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListBindingsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListBindingsResponse; import com.aliyuncs.amqp_open.model.v20191212.ListBindingsResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListBindingsResponse.Data.BindingDO; import com.aliyuncs.transform.UnmarshallerContext; public class ListBindingsResponseUnmarshaller { public static ListBindingsResponse unmarshall(ListBindingsResponse listBindingsResponse, UnmarshallerContext _ctx) { listBindingsResponse.setRequestId(_ctx.stringValue("ListBindingsResponse.RequestId")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListBindingsResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListBindingsResponse.Data.NextToken")); List<BindingDO> bindings = new ArrayList<BindingDO>(); for (int i = 0; i < _ctx.lengthValue("ListBindingsResponse.Data.Bindings.Length"); i++) { BindingDO bindingDO = new BindingDO(); bindingDO.setSourceExchange(_ctx.stringValue("ListBindingsResponse.Data.Bindings["+ i +"].SourceExchange")); bindingDO.setArgument(_ctx.stringValue("ListBindingsResponse.Data.Bindings["+ i +"].Argument")); bindingDO.setBindingKey(_ctx.stringValue("ListBindingsResponse.Data.Bindings["+ i +"].BindingKey")); bindingDO.setBindingType(_ctx.stringValue("ListBindingsResponse.Data.Bindings["+ i +"].BindingType")); bindingDO.setDestinationName(_ctx.stringValue("ListBindingsResponse.Data.Bindings["+ i +"].DestinationName")); bindings.add(bindingDO); } data.setBindings(bindings); listBindingsResponse.setData(data); return listBindingsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListDownStreamBindingsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListDownStreamBindingsResponse; import com.aliyuncs.amqp_open.model.v20191212.ListDownStreamBindingsResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListDownStreamBindingsResponse.Data.BindingVO; import com.aliyuncs.transform.UnmarshallerContext; public class ListDownStreamBindingsResponseUnmarshaller { public static ListDownStreamBindingsResponse unmarshall(ListDownStreamBindingsResponse listDownStreamBindingsResponse, UnmarshallerContext _ctx) { listDownStreamBindingsResponse.setRequestId(_ctx.stringValue("ListDownStreamBindingsResponse.RequestId")); listDownStreamBindingsResponse.setCode(_ctx.integerValue("ListDownStreamBindingsResponse.Code")); listDownStreamBindingsResponse.setMessage(_ctx.stringValue("ListDownStreamBindingsResponse.Message")); listDownStreamBindingsResponse.setSuccess(_ctx.booleanValue("ListDownStreamBindingsResponse.Success")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListDownStreamBindingsResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListDownStreamBindingsResponse.Data.NextToken")); List<BindingVO> bindings = new ArrayList<BindingVO>(); for (int i = 0; i < _ctx.lengthValue("ListDownStreamBindingsResponse.Data.Bindings.Length"); i++) { BindingVO bindingVO = new BindingVO(); bindingVO.setSourceExchange(_ctx.stringValue("ListDownStreamBindingsResponse.Data.Bindings["+ i +"].SourceExchange")); bindingVO.setArgument(_ctx.stringValue("ListDownStreamBindingsResponse.Data.Bindings["+ i +"].Argument")); bindingVO.setBindingKey(_ctx.stringValue("ListDownStreamBindingsResponse.Data.Bindings["+ i +"].BindingKey")); bindingVO.setBindingType(_ctx.stringValue("ListDownStreamBindingsResponse.Data.Bindings["+ i +"].BindingType")); bindingVO.setDestinationName(_ctx.stringValue("ListDownStreamBindingsResponse.Data.Bindings["+ i +"].DestinationName")); bindings.add(bindingVO); } data.setBindings(bindings); listDownStreamBindingsResponse.setData(data); return listDownStreamBindingsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListExchangeUpStreamBindingsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListExchangeUpStreamBindingsResponse; import com.aliyuncs.amqp_open.model.v20191212.ListExchangeUpStreamBindingsResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListExchangeUpStreamBindingsResponse.Data.BindingVO; import com.aliyuncs.transform.UnmarshallerContext; public class ListExchangeUpStreamBindingsResponseUnmarshaller { public static ListExchangeUpStreamBindingsResponse unmarshall(ListExchangeUpStreamBindingsResponse listExchangeUpStreamBindingsResponse, UnmarshallerContext _ctx) { listExchangeUpStreamBindingsResponse.setRequestId(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.RequestId")); listExchangeUpStreamBindingsResponse.setCode(_ctx.integerValue("ListExchangeUpStreamBindingsResponse.Code")); listExchangeUpStreamBindingsResponse.setMessage(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Message")); listExchangeUpStreamBindingsResponse.setSuccess(_ctx.booleanValue("ListExchangeUpStreamBindingsResponse.Success")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListExchangeUpStreamBindingsResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Data.NextToken")); List<BindingVO> bindings = new ArrayList<BindingVO>(); for (int i = 0; i < _ctx.lengthValue("ListExchangeUpStreamBindingsResponse.Data.Bindings.Length"); i++) { BindingVO bindingVO = new BindingVO(); bindingVO.setSourceExchange(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Data.Bindings["+ i +"].SourceExchange")); bindingVO.setArgument(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Data.Bindings["+ i +"].Argument")); bindingVO.setBindingKey(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Data.Bindings["+ i +"].BindingKey")); bindingVO.setBindingType(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Data.Bindings["+ i +"].BindingType")); bindingVO.setDestinationName(_ctx.stringValue("ListExchangeUpStreamBindingsResponse.Data.Bindings["+ i +"].DestinationName")); bindings.add(bindingVO); } data.setBindings(bindings); listExchangeUpStreamBindingsResponse.setData(data); return listExchangeUpStreamBindingsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListExchangesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListExchangesResponse; import com.aliyuncs.amqp_open.model.v20191212.ListExchangesResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListExchangesResponse.Data.ExchangeVO; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class ListExchangesResponseUnmarshaller { public static ListExchangesResponse unmarshall(ListExchangesResponse listExchangesResponse, UnmarshallerContext _ctx) { listExchangesResponse.setRequestId(_ctx.stringValue("ListExchangesResponse.RequestId")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListExchangesResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListExchangesResponse.Data.NextToken")); List<ExchangeVO> exchanges = new ArrayList<ExchangeVO>(); for (int i = 0; i < _ctx.lengthValue("ListExchangesResponse.Data.Exchanges.Length"); i++) { ExchangeVO exchangeVO = new ExchangeVO(); exchangeVO.setAutoDeleteState(_ctx.booleanValue("ListExchangesResponse.Data.Exchanges["+ i +"].AutoDeleteState")); exchangeVO.setCreateTime(_ctx.longValue("ListExchangesResponse.Data.Exchanges["+ i +"].CreateTime")); exchangeVO.setAttributes(_ctx.mapValue("ListExchangesResponse.Data.Exchanges["+ i +"].Attributes")); exchangeVO.setVHostName(_ctx.stringValue("ListExchangesResponse.Data.Exchanges["+ i +"].VHostName")); exchangeVO.setName(_ctx.stringValue("ListExchangesResponse.Data.Exchanges["+ i +"].Name")); exchangeVO.setExchangeType(_ctx.stringValue("ListExchangesResponse.Data.Exchanges["+ i +"].ExchangeType")); exchanges.add(exchangeVO); } data.setExchanges(exchanges); listExchangesResponse.setData(data); return listExchangesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListInstancesResponse; import com.aliyuncs.amqp_open.model.v20191212.ListInstancesResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListInstancesResponse.Data.InstanceVO; import com.aliyuncs.amqp_open.model.v20191212.ListInstancesResponse.Data.InstanceVO.TagsItem; import com.aliyuncs.transform.UnmarshallerContext; public class ListInstancesResponseUnmarshaller { public static ListInstancesResponse unmarshall(ListInstancesResponse listInstancesResponse, UnmarshallerContext _ctx) { listInstancesResponse.setRequestId(_ctx.stringValue("ListInstancesResponse.RequestId")); Data data = new Data(); data.setNextToken(_ctx.stringValue("ListInstancesResponse.Data.NextToken")); data.setMaxResults(_ctx.integerValue("ListInstancesResponse.Data.MaxResults")); List<InstanceVO> instances = new ArrayList<InstanceVO>(); for (int i = 0; i < _ctx.lengthValue("ListInstancesResponse.Data.Instances.Length"); i++) { InstanceVO instanceVO = new InstanceVO(); instanceVO.setStatus(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].Status")); instanceVO.setSupportEIP(_ctx.booleanValue("ListInstancesResponse.Data.Instances["+ i +"].SupportEIP")); instanceVO.setExpireTime(_ctx.longValue("ListInstancesResponse.Data.Instances["+ i +"].ExpireTime")); instanceVO.setOrderCreateTime(_ctx.longValue("ListInstancesResponse.Data.Instances["+ i +"].OrderCreateTime")); instanceVO.setPrivateEndpoint(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].PrivateEndpoint")); instanceVO.setStorageSize(_ctx.integerValue("ListInstancesResponse.Data.Instances["+ i +"].StorageSize")); instanceVO.setMaxEipTps(_ctx.integerValue("ListInstancesResponse.Data.Instances["+ i +"].MaxEipTps")); instanceVO.setInstanceId(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].InstanceId")); instanceVO.setInstanceType(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].InstanceType")); instanceVO.setPublicEndpoint(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].PublicEndpoint")); instanceVO.setClassicEndpoint(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].ClassicEndpoint")); instanceVO.setMaxVhost(_ctx.integerValue("ListInstancesResponse.Data.Instances["+ i +"].MaxVhost")); instanceVO.setMaxTps(_ctx.integerValue("ListInstancesResponse.Data.Instances["+ i +"].MaxTps")); instanceVO.setAutoRenewInstance(_ctx.booleanValue("ListInstancesResponse.Data.Instances["+ i +"].AutoRenewInstance")); instanceVO.setInstanceName(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].InstanceName")); instanceVO.setMaxQueue(_ctx.integerValue("ListInstancesResponse.Data.Instances["+ i +"].MaxQueue")); instanceVO.setOrderType(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].OrderType")); List<TagsItem> tags = new ArrayList<TagsItem>(); for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.Data.Instances["+ i +"].Tags.Length"); j++) { TagsItem tagsItem = new TagsItem(); tagsItem.setKey(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].Tags["+ j +"].Key")); tagsItem.setValue(_ctx.stringValue("ListInstancesResponse.Data.Instances["+ i +"].Tags["+ j +"].Value")); tags.add(tagsItem); } instanceVO.setTags(tags); instances.add(instanceVO); } data.setInstances(instances); listInstancesResponse.setData(data); return listInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListQueueConsumersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListQueueConsumersResponse; import com.aliyuncs.amqp_open.model.v20191212.ListQueueConsumersResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListQueueConsumersResponse.Data.QueueConsumerVO; import com.aliyuncs.transform.UnmarshallerContext; public class ListQueueConsumersResponseUnmarshaller { public static ListQueueConsumersResponse unmarshall(ListQueueConsumersResponse listQueueConsumersResponse, UnmarshallerContext _ctx) { listQueueConsumersResponse.setRequestId(_ctx.stringValue("ListQueueConsumersResponse.RequestId")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListQueueConsumersResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListQueueConsumersResponse.Data.NextToken")); List<QueueConsumerVO> consumers = new ArrayList<QueueConsumerVO>(); for (int i = 0; i < _ctx.lengthValue("ListQueueConsumersResponse.Data.Consumers.Length"); i++) { QueueConsumerVO queueConsumerVO = new QueueConsumerVO(); queueConsumerVO.setConsumerTag(_ctx.stringValue("ListQueueConsumersResponse.Data.Consumers["+ i +"].ConsumerTag")); consumers.add(queueConsumerVO); } data.setConsumers(consumers); listQueueConsumersResponse.setData(data); return listQueueConsumersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListQueueUpStreamBindingsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListQueueUpStreamBindingsResponse; import com.aliyuncs.amqp_open.model.v20191212.ListQueueUpStreamBindingsResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListQueueUpStreamBindingsResponse.Data.BindingVO; import com.aliyuncs.transform.UnmarshallerContext; public class ListQueueUpStreamBindingsResponseUnmarshaller { public static ListQueueUpStreamBindingsResponse unmarshall(ListQueueUpStreamBindingsResponse listQueueUpStreamBindingsResponse, UnmarshallerContext _ctx) { listQueueUpStreamBindingsResponse.setRequestId(_ctx.stringValue("ListQueueUpStreamBindingsResponse.RequestId")); Data data = new Data(); data.setMaxResults(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.NextToken")); List<BindingVO> bindings = new ArrayList<BindingVO>(); for (int i = 0; i < _ctx.lengthValue("ListQueueUpStreamBindingsResponse.Data.Bindings.Length"); i++) { BindingVO bindingVO = new BindingVO(); bindingVO.setSourceExchange(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.Bindings["+ i +"].SourceExchange")); bindingVO.setArgument(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.Bindings["+ i +"].Argument")); bindingVO.setBindingKey(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.Bindings["+ i +"].BindingKey")); bindingVO.setBindingType(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.Bindings["+ i +"].BindingType")); bindingVO.setDestinationName(_ctx.stringValue("ListQueueUpStreamBindingsResponse.Data.Bindings["+ i +"].DestinationName")); bindings.add(bindingVO); } data.setBindings(bindings); listQueueUpStreamBindingsResponse.setData(data); return listQueueUpStreamBindingsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListQueuesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListQueuesResponse; import com.aliyuncs.amqp_open.model.v20191212.ListQueuesResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListQueuesResponse.Data.QueueVO; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class ListQueuesResponseUnmarshaller { public static ListQueuesResponse unmarshall(ListQueuesResponse listQueuesResponse, UnmarshallerContext _ctx) { listQueuesResponse.setRequestId(_ctx.stringValue("ListQueuesResponse.RequestId")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListQueuesResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListQueuesResponse.Data.NextToken")); List<QueueVO> queues = new ArrayList<QueueVO>(); for (int i = 0; i < _ctx.lengthValue("ListQueuesResponse.Data.Queues.Length"); i++) { QueueVO queueVO = new QueueVO(); queueVO.setExclusiveState(_ctx.booleanValue("ListQueuesResponse.Data.Queues["+ i +"].ExclusiveState")); queueVO.setAutoDeleteState(_ctx.booleanValue("ListQueuesResponse.Data.Queues["+ i +"].AutoDeleteState")); queueVO.setCreateTime(_ctx.longValue("ListQueuesResponse.Data.Queues["+ i +"].CreateTime")); queueVO.setAttributes(_ctx.mapValue("ListQueuesResponse.Data.Queues["+ i +"].Attributes")); queueVO.setVHostName(_ctx.stringValue("ListQueuesResponse.Data.Queues["+ i +"].VHostName")); queueVO.setName(_ctx.stringValue("ListQueuesResponse.Data.Queues["+ i +"].Name")); queueVO.setOwnerId(_ctx.stringValue("ListQueuesResponse.Data.Queues["+ i +"].OwnerId")); queueVO.setLastConsumeTime(_ctx.longValue("ListQueuesResponse.Data.Queues["+ i +"].LastConsumeTime")); queues.add(queueVO); } data.setQueues(queues); listQueuesResponse.setData(data); return listQueuesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/ListVirtualHostsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import java.util.ArrayList; import java.util.List; import com.aliyuncs.amqp_open.model.v20191212.ListVirtualHostsResponse; import com.aliyuncs.amqp_open.model.v20191212.ListVirtualHostsResponse.Data; import com.aliyuncs.amqp_open.model.v20191212.ListVirtualHostsResponse.Data.VhostVO; import com.aliyuncs.transform.UnmarshallerContext; public class ListVirtualHostsResponseUnmarshaller { public static ListVirtualHostsResponse unmarshall(ListVirtualHostsResponse listVirtualHostsResponse, UnmarshallerContext _ctx) { listVirtualHostsResponse.setRequestId(_ctx.stringValue("ListVirtualHostsResponse.RequestId")); Data data = new Data(); data.setMaxResults(_ctx.integerValue("ListVirtualHostsResponse.Data.MaxResults")); data.setNextToken(_ctx.stringValue("ListVirtualHostsResponse.Data.NextToken")); List<VhostVO> virtualHosts = new ArrayList<VhostVO>(); for (int i = 0; i < _ctx.lengthValue("ListVirtualHostsResponse.Data.VirtualHosts.Length"); i++) { VhostVO vhostVO = new VhostVO(); vhostVO.setName(_ctx.stringValue("ListVirtualHostsResponse.Data.VirtualHosts["+ i +"].Name")); virtualHosts.add(vhostVO); } data.setVirtualHosts(virtualHosts); listVirtualHostsResponse.setData(data); return listVirtualHostsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/UpdateInstanceNameResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.UpdateInstanceNameResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateInstanceNameResponseUnmarshaller { public static UpdateInstanceNameResponse unmarshall(UpdateInstanceNameResponse updateInstanceNameResponse, UnmarshallerContext _ctx) { updateInstanceNameResponse.setRequestId(_ctx.stringValue("UpdateInstanceNameResponse.RequestId")); updateInstanceNameResponse.setCode(_ctx.integerValue("UpdateInstanceNameResponse.Code")); updateInstanceNameResponse.setMessage(_ctx.stringValue("UpdateInstanceNameResponse.Message")); updateInstanceNameResponse.setData(_ctx.stringValue("UpdateInstanceNameResponse.Data")); updateInstanceNameResponse.setSuccess(_ctx.booleanValue("UpdateInstanceNameResponse.Success")); return updateInstanceNameResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform
java-sources/com/aliyun/aliyun-java-sdk-amqp-open/1.1.3/com/aliyuncs/amqp_open/transform/v20191212/UpdateInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.amqp_open.transform.v20191212; import com.aliyuncs.amqp_open.model.v20191212.UpdateInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateInstanceResponseUnmarshaller { public static UpdateInstanceResponse unmarshall(UpdateInstanceResponse updateInstanceResponse, UnmarshallerContext _ctx) { return updateInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/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.antiddos_public; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() { { put("cn-shanghai-internal-test-1", "antiddos.aliyuncs.com"); put("cn-shenzhen-su18-b01", "antiddos.aliyuncs.com"); put("cn-beijing", "antiddos.aliyuncs.com"); put("cn-shanghai-inner", "antiddos.aliyuncs.com"); put("cn-hangzhou-internal-prod-1", "antiddos.aliyuncs.com"); put("cn-north-2-gov-1", "antiddos.aliyuncs.com"); put("cn-yushanfang", "antiddos.aliyuncs.com"); put("cn-qingdao-nebula", "antiddos.aliyuncs.com"); put("cn-heyuan", "antiddos-openapi.cn-heyuan.aliyuncs.com"); put("cn-beijing-finance-pop", "antiddos.aliyuncs.com"); put("cn-wuhan", "antiddos.aliyuncs.com"); put("cn-zhangjiakou", "antiddos-openapi.cn-zhangjiakou.aliyuncs.com"); put("us-west-1", "antiddos.aliyuncs.com"); put("cn-zhangbei", "antiddos.aliyuncs.com"); put("rus-west-1-pop", "antiddos.aliyuncs.com"); put("cn-shanghai-et15-b01", "antiddos.aliyuncs.com"); put("cn-hangzhou-bj-b01", "antiddos.aliyuncs.com"); put("cn-zhangbei-na61-b01", "antiddos.aliyuncs.com"); put("ap-northeast-1", "antiddos-openapi.ap-northeast-1.aliyuncs.com"); put("cn-huhehaote-nebula-1", "antiddos.aliyuncs.com"); put("cn-shanghai-et2-b01", "antiddos.aliyuncs.com"); put("ap-southeast-1", "antiddos.aliyuncs.com"); put("ap-southeast-2", "antiddos-openapi.ap-southeast-2.aliyuncs.com"); put("ap-southeast-3", "antiddos-openapi.ap-southeast-3.aliyuncs.com"); put("ap-southeast-5", "antiddos-openapi.ap-southeast-5.aliyuncs.com"); put("us-east-1", "antiddos.aliyuncs.com"); put("cn-shenzhen-inner", "antiddos.aliyuncs.com"); put("cn-zhangjiakou-na62-a01", "antiddos-openapi.cn-zhangjiakou.aliyuncs.com"); put("cn-beijing-gov-1", "antiddos.aliyuncs.com"); put("cn-wulanchabu", "antiddos-openapi.cn-wulanchabu.aliyuncs.com"); put("ap-south-1", "antiddos-openapi.ap-south-1.aliyuncs.com"); put("cn-shenzhen-st4-d01", "antiddos.aliyuncs.com"); put("cn-haidian-cm12-c01", "antiddos.aliyuncs.com"); put("cn-qingdao", "antiddos.aliyuncs.com"); put("cn-hongkong-finance-pop", "antiddos.aliyuncs.com"); put("cn-shanghai", "antiddos.aliyuncs.com"); put("cn-shanghai-finance-1", "antiddos.aliyuncs.com"); put("cn-hongkong", "antiddos.aliyuncs.com"); put("eu-central-1", "antiddos-openapi.eu-central-1.aliyuncs.com"); put("cn-shenzhen", "antiddos.aliyuncs.com"); put("cn-zhengzhou-nebula-1", "antiddos.aliyuncs.com"); put("eu-west-1", "antiddos-openapi.eu-west-1.aliyuncs.com"); put("cn-hangzhou-internal-test-1", "antiddos.aliyuncs.com"); put("eu-west-1-oxs", "antiddos.aliyuncs.com"); put("cn-beijing-finance-1", "antiddos.aliyuncs.com"); put("cn-hangzhou-internal-test-3", "antiddos.aliyuncs.com"); put("cn-shenzhen-finance-1", "antiddos.aliyuncs.com"); put("cn-hangzhou-internal-test-2", "antiddos.aliyuncs.com"); put("me-east-1", "antiddos-openapi.me-east-1.aliyuncs.com"); put("cn-chengdu", "antiddos-openapi.cn-chengdu.aliyuncs.com"); put("cn-hangzhou-test-306", "antiddos.aliyuncs.com"); put("cn-guangzhou", "antiddos-openapi.cn-guangzhou.aliyuncs.com"); put("cn-hangzhou-finance", "antiddos.aliyuncs.com"); put("cn-beijing-nu16-b01", "antiddos.aliyuncs.com"); put("cn-edge-1", "antiddos.aliyuncs.com"); put("cn-huhehaote", "antiddos-openapi.cn-huhehaote.aliyuncs.com"); put("cn-fujian", "antiddos.aliyuncs.com"); put("ap-northeast-2-pop", "antiddos.aliyuncs.com"); put("cn-hangzhou", "antiddos.aliyuncs.com"); } }; public static String endpointRegionalType = "regional"; }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeBgpPackByIpRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeBgpPackByIpRequest extends RpcAcsRequest<DescribeBgpPackByIpResponse> { private String ddosRegionId; private String ip; public DescribeBgpPackByIpRequest() { super("antiddos-public", "2017-05-18", "DescribeBgpPackByIp", "ddosbasic"); 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 getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; if(ip != null){ putQueryParameter("Ip", ip); } } @Override public Class<DescribeBgpPackByIpResponse> getResponseClass() { return DescribeBgpPackByIpResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeBgpPackByIpResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeBgpPackByIpResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeBgpPackByIpResponse extends AcsResponse { private String requestId; private Integer code; private Boolean success; private DdosbgpInfo ddosbgpInfo; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public DdosbgpInfo getDdosbgpInfo() { return this.ddosbgpInfo; } public void setDdosbgpInfo(DdosbgpInfo ddosbgpInfo) { this.ddosbgpInfo = ddosbgpInfo; } public static class DdosbgpInfo { private String ip; private Long expireTime; private Integer elasticThreshold; private Integer baseThreshold; private String ddosbgpInstanceId; public String getIp() { return this.ip; } public void setIp(String ip) { this.ip = ip; } public Long getExpireTime() { return this.expireTime; } public void setExpireTime(Long expireTime) { this.expireTime = expireTime; } public Integer getElasticThreshold() { return this.elasticThreshold; } public void setElasticThreshold(Integer elasticThreshold) { this.elasticThreshold = elasticThreshold; } public Integer getBaseThreshold() { return this.baseThreshold; } public void setBaseThreshold(Integer baseThreshold) { this.baseThreshold = baseThreshold; } public String getDdosbgpInstanceId() { return this.ddosbgpInstanceId; } public void setDdosbgpInstanceId(String ddosbgpInstanceId) { this.ddosbgpInstanceId = ddosbgpInstanceId; } } @Override public DescribeBgpPackByIpResponse getInstance(UnmarshallerContext context) { return DescribeBgpPackByIpResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeCapRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeCapRequest extends RpcAcsRequest<DescribeCapResponse> { private String internetIp; private Long begTime; private String ddosRegionId; private String instanceType; private String instanceId; public DescribeCapRequest() { super("antiddos-public", "2017-05-18", "DescribeCap", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } public Long getBegTime() { return this.begTime; } public void setBegTime(Long begTime) { this.begTime = begTime; if(begTime != null){ putQueryParameter("BegTime", begTime.toString()); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<DescribeCapResponse> getResponseClass() { return DescribeCapResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeCapResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeCapResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeCapResponse extends AcsResponse { private String requestId; private CapUrl capUrl; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public CapUrl getCapUrl() { return this.capUrl; } public void setCapUrl(CapUrl capUrl) { this.capUrl = capUrl; } public static class CapUrl { private String url; public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } } @Override public DescribeCapResponse getInstance(UnmarshallerContext context) { return DescribeCapResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosCountRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeDdosCountRequest extends RpcAcsRequest<DescribeDdosCountResponse> { private String ddosRegionId; private String instanceType; public DescribeDdosCountRequest() { super("antiddos-public", "2017-05-18", "DescribeDdosCount", "ddosbasic"); 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 getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } @Override public Class<DescribeDdosCountResponse> getResponseClass() { return DescribeDdosCountResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosCountResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeDdosCountResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeDdosCountResponse extends AcsResponse { private String requestId; private DdosCount ddosCount; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public DdosCount getDdosCount() { return this.ddosCount; } public void setDdosCount(DdosCount ddosCount) { this.ddosCount = ddosCount; } public static class DdosCount { private Integer blackholeCount; private Integer instacenCount; private Integer defenseCount; public Integer getBlackholeCount() { return this.blackholeCount; } public void setBlackholeCount(Integer blackholeCount) { this.blackholeCount = blackholeCount; } public Integer getInstacenCount() { return this.instacenCount; } public void setInstacenCount(Integer instacenCount) { this.instacenCount = instacenCount; } public Integer getDefenseCount() { return this.defenseCount; } public void setDefenseCount(Integer defenseCount) { this.defenseCount = defenseCount; } } @Override public DescribeDdosCountResponse getInstance(UnmarshallerContext context) { return DescribeDdosCountResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosCreditRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeDdosCreditRequest extends RpcAcsRequest<DescribeDdosCreditResponse> { private String ddosRegionId; public DescribeDdosCreditRequest() { super("antiddos-public", "2017-05-18", "DescribeDdosCredit", "ddosbasic"); 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 getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } @Override public Class<DescribeDdosCreditResponse> getResponseClass() { return DescribeDdosCreditResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosCreditResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeDdosCreditResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeDdosCreditResponse extends AcsResponse { private Boolean success; private String requestId; private DdosCredit ddosCredit; public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public DdosCredit getDdosCredit() { return this.ddosCredit; } public void setDdosCredit(DdosCredit ddosCredit) { this.ddosCredit = ddosCredit; } public static class DdosCredit { private Integer score; private String scoreLevel; private Integer blackholeTime; public Integer getScore() { return this.score; } public void setScore(Integer score) { this.score = score; } public String getScoreLevel() { return this.scoreLevel; } public void setScoreLevel(String scoreLevel) { this.scoreLevel = scoreLevel; } public Integer getBlackholeTime() { return this.blackholeTime; } public void setBlackholeTime(Integer blackholeTime) { this.blackholeTime = blackholeTime; } } @Override public DescribeDdosCreditResponse getInstance(UnmarshallerContext context) { return DescribeDdosCreditResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosEventListRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeDdosEventListRequest extends RpcAcsRequest<DescribeDdosEventListResponse> { private String internetIp; private Integer pageSize; private String ddosRegionId; private String instanceType; private Integer currentPage; private String instanceId; public DescribeDdosEventListRequest() { super("antiddos-public", "2017-05-18", "DescribeDdosEventList", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public Integer getCurrentPage() { return this.currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; if(currentPage != null){ putQueryParameter("CurrentPage", currentPage.toString()); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<DescribeDdosEventListResponse> getResponseClass() { return DescribeDdosEventListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosEventListResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeDdosEventListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeDdosEventListResponse extends AcsResponse { private Integer total; private String requestId; private List<DdosEvent> ddosEventList; public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<DdosEvent> getDdosEventList() { return this.ddosEventList; } public void setDdosEventList(List<DdosEvent> ddosEventList) { this.ddosEventList = ddosEventList; } public static class DdosEvent { private String ddosType; private Long endTime; private Long startTime; private Long delayTime; private String ddosStatus; private Long unBlackholeTime; public String getDdosType() { return this.ddosType; } public void setDdosType(String ddosType) { this.ddosType = ddosType; } public Long getEndTime() { return this.endTime; } public void setEndTime(Long endTime) { this.endTime = endTime; } public Long getStartTime() { return this.startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public Long getDelayTime() { return this.delayTime; } public void setDelayTime(Long delayTime) { this.delayTime = delayTime; } public String getDdosStatus() { return this.ddosStatus; } public void setDdosStatus(String ddosStatus) { this.ddosStatus = ddosStatus; } public Long getUnBlackholeTime() { return this.unBlackholeTime; } public void setUnBlackholeTime(Long unBlackholeTime) { this.unBlackholeTime = unBlackholeTime; } } @Override public DescribeDdosEventListResponse getInstance(UnmarshallerContext context) { return DescribeDdosEventListResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosThresholdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeDdosThresholdRequest extends RpcAcsRequest<DescribeDdosThresholdResponse> { private String ddosType; private String ddosRegionId; private String instanceType; private List<String> instanceIdss; public DescribeDdosThresholdRequest() { super("antiddos-public", "2017-05-18", "DescribeDdosThreshold", "ddosbasic"); 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 getDdosType() { return this.ddosType; } public void setDdosType(String ddosType) { this.ddosType = ddosType; if(ddosType != null){ putQueryParameter("DdosType", ddosType); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public List<String> getInstanceIdss() { return this.instanceIdss; } public void setInstanceIdss(List<String> instanceIdss) { this.instanceIdss = instanceIdss; if (instanceIdss != null) { for (int i = 0; i < instanceIdss.size(); i++) { putQueryParameter("InstanceIds." + (i + 1) , instanceIdss.get(i)); } } } @Override public Class<DescribeDdosThresholdResponse> getResponseClass() { return DescribeDdosThresholdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeDdosThresholdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeDdosThresholdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeDdosThresholdResponse extends AcsResponse { private String requestId; private List<Threshold> thresholds; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Threshold> getThresholds() { return this.thresholds; } public void setThresholds(List<Threshold> thresholds) { this.thresholds = thresholds; } public static class Threshold { private String ddosType; private Boolean isAuto; private Integer maxBps; private Integer elasticBps; private String instanceId; private Integer bps; private Integer pps; private Integer maxPps; private String internetIp; public String getDdosType() { return this.ddosType; } public void setDdosType(String ddosType) { this.ddosType = ddosType; } public Boolean getIsAuto() { return this.isAuto; } public void setIsAuto(Boolean isAuto) { this.isAuto = isAuto; } public Integer getMaxBps() { return this.maxBps; } public void setMaxBps(Integer maxBps) { this.maxBps = maxBps; } public Integer getElasticBps() { return this.elasticBps; } public void setElasticBps(Integer elasticBps) { this.elasticBps = elasticBps; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public Integer getBps() { return this.bps; } public void setBps(Integer bps) { this.bps = bps; } public Integer getPps() { return this.pps; } public void setPps(Integer pps) { this.pps = pps; } public Integer getMaxPps() { return this.maxPps; } public void setMaxPps(Integer maxPps) { this.maxPps = maxPps; } public String getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; } } @Override public DescribeDdosThresholdResponse getInstance(UnmarshallerContext context) { return DescribeDdosThresholdResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeInstanceIpAddressRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeInstanceIpAddressRequest extends RpcAcsRequest<DescribeInstanceIpAddressResponse> { private Integer pageSize; private String ddosRegionId; private String instanceType; private String ddosStatus; private Integer currentPage; private String instanceName; private String instanceId; private String instanceIp; public DescribeInstanceIpAddressRequest() { super("antiddos-public", "2017-05-18", "DescribeInstanceIpAddress", "ddosbasic"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public String getDdosStatus() { return this.ddosStatus; } public void setDdosStatus(String ddosStatus) { this.ddosStatus = ddosStatus; if(ddosStatus != null){ putQueryParameter("DdosStatus", ddosStatus); } } public Integer getCurrentPage() { return this.currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; if(currentPage != null){ putQueryParameter("CurrentPage", currentPage.toString()); } } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; if(instanceName != null){ putQueryParameter("InstanceName", instanceName); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getInstanceIp() { return this.instanceIp; } public void setInstanceIp(String instanceIp) { this.instanceIp = instanceIp; if(instanceIp != null){ putQueryParameter("InstanceIp", instanceIp); } } @Override public Class<DescribeInstanceIpAddressResponse> getResponseClass() { return DescribeInstanceIpAddressResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeInstanceIpAddressResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeInstanceIpAddressResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeInstanceIpAddressResponse extends AcsResponse { private Integer total; private String requestId; private List<Instance> instanceList; public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Instance> getInstanceList() { return this.instanceList; } public void setInstanceList(List<Instance> instanceList) { this.instanceList = instanceList; } public static class Instance { private String instanceId; private String instanceType; private String instanceName; private String instanceStatus; private List<IpAddressConfigItem> ipAddressConfig; public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; } public String getInstanceStatus() { return this.instanceStatus; } public void setInstanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; } public List<IpAddressConfigItem> getIpAddressConfig() { return this.ipAddressConfig; } public void setIpAddressConfig(List<IpAddressConfigItem> ipAddressConfig) { this.ipAddressConfig = ipAddressConfig; } public static class IpAddressConfigItem { private String instanceIp; private Boolean isBgppack; private String ipVersion; private String ipStatus; private String regionId; private Integer elasticThreshold; private Integer blackholeThreshold; private Integer defenseBpsThreshold; private Integer defensePpsThreshold; public String getInstanceIp() { return this.instanceIp; } public void setInstanceIp(String instanceIp) { this.instanceIp = instanceIp; } public Boolean getIsBgppack() { return this.isBgppack; } public void setIsBgppack(Boolean isBgppack) { this.isBgppack = isBgppack; } public String getIpVersion() { return this.ipVersion; } public void setIpVersion(String ipVersion) { this.ipVersion = ipVersion; } public String getIpStatus() { return this.ipStatus; } public void setIpStatus(String ipStatus) { this.ipStatus = ipStatus; } public String getRegionId() { return this.regionId; } public void setRegionId(String regionId) { this.regionId = regionId; } public Integer getElasticThreshold() { return this.elasticThreshold; } public void setElasticThreshold(Integer elasticThreshold) { this.elasticThreshold = elasticThreshold; } public Integer getBlackholeThreshold() { return this.blackholeThreshold; } public void setBlackholeThreshold(Integer blackholeThreshold) { this.blackholeThreshold = blackholeThreshold; } public Integer getDefenseBpsThreshold() { return this.defenseBpsThreshold; } public void setDefenseBpsThreshold(Integer defenseBpsThreshold) { this.defenseBpsThreshold = defenseBpsThreshold; } public Integer getDefensePpsThreshold() { return this.defensePpsThreshold; } public void setDefensePpsThreshold(Integer defensePpsThreshold) { this.defensePpsThreshold = defensePpsThreshold; } } } @Override public DescribeInstanceIpAddressResponse getInstance(UnmarshallerContext context) { return DescribeInstanceIpAddressResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeInstanceRequest extends RpcAcsRequest<DescribeInstanceResponse> { private Integer pageSize; private String ddosRegionId; private String instanceType; private String ddosStatus; private Integer currentPage; private String instanceName; private String instanceId; private String instanceIp; public DescribeInstanceRequest() { super("antiddos-public", "2017-05-18", "DescribeInstance", "ddosbasic"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public String getDdosStatus() { return this.ddosStatus; } public void setDdosStatus(String ddosStatus) { this.ddosStatus = ddosStatus; if(ddosStatus != null){ putQueryParameter("DdosStatus", ddosStatus); } } public Integer getCurrentPage() { return this.currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; if(currentPage != null){ putQueryParameter("CurrentPage", currentPage.toString()); } } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; if(instanceName != null){ putQueryParameter("InstanceName", instanceName); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getInstanceIp() { return this.instanceIp; } public void setInstanceIp(String instanceIp) { this.instanceIp = instanceIp; if(instanceIp != null){ putQueryParameter("InstanceIp", instanceIp); } } @Override public Class<DescribeInstanceResponse> getResponseClass() { return DescribeInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeInstanceResponse extends AcsResponse { private Integer total; private String requestId; private List<Instance> instanceList; public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Instance> getInstanceList() { return this.instanceList; } public void setInstanceList(List<Instance> instanceList) { this.instanceList = instanceList; } public static class Instance { private String instanceIp; private Boolean isBgppack; private String ipVersion; private Integer elasticThreshold; private Integer blackholeThreshold; private Integer defenseBpsThreshold; private String instanceName; private String instanceStatus; private Integer defensePpsThreshold; private String instanceId; private String instanceType; public String getInstanceIp() { return this.instanceIp; } public void setInstanceIp(String instanceIp) { this.instanceIp = instanceIp; } public Boolean getIsBgppack() { return this.isBgppack; } public void setIsBgppack(Boolean isBgppack) { this.isBgppack = isBgppack; } public String getIpVersion() { return this.ipVersion; } public void setIpVersion(String ipVersion) { this.ipVersion = ipVersion; } public Integer getElasticThreshold() { return this.elasticThreshold; } public void setElasticThreshold(Integer elasticThreshold) { this.elasticThreshold = elasticThreshold; } public Integer getBlackholeThreshold() { return this.blackholeThreshold; } public void setBlackholeThreshold(Integer blackholeThreshold) { this.blackholeThreshold = blackholeThreshold; } public Integer getDefenseBpsThreshold() { return this.defenseBpsThreshold; } public void setDefenseBpsThreshold(Integer defenseBpsThreshold) { this.defenseBpsThreshold = defenseBpsThreshold; } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; } public String getInstanceStatus() { return this.instanceStatus; } public void setInstanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; } public Integer getDefensePpsThreshold() { return this.defensePpsThreshold; } public void setDefensePpsThreshold(Integer defensePpsThreshold) { this.defensePpsThreshold = defensePpsThreshold; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; } } @Override public DescribeInstanceResponse getInstance(UnmarshallerContext context) { return DescribeInstanceResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeIpDdosThresholdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeIpDdosThresholdRequest extends RpcAcsRequest<DescribeIpDdosThresholdResponse> { private String internetIp; private String ddosType; private String ddosRegionId; private String instanceType; private String instanceId; public DescribeIpDdosThresholdRequest() { super("antiddos-public", "2017-05-18", "DescribeIpDdosThreshold", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } public String getDdosType() { return this.ddosType; } public void setDdosType(String ddosType) { this.ddosType = ddosType; if(ddosType != null){ putQueryParameter("DdosType", ddosType); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<DescribeIpDdosThresholdResponse> getResponseClass() { return DescribeIpDdosThresholdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeIpDdosThresholdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeIpDdosThresholdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeIpDdosThresholdResponse extends AcsResponse { private String requestId; private Threshold threshold; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Threshold getThreshold() { return this.threshold; } public void setThreshold(Threshold threshold) { this.threshold = threshold; } public static class Threshold { private String ddosType; private Boolean isAuto; private Integer maxBps; private Integer elasticBps; private String instanceId; private Integer bps; private Integer pps; private Integer maxPps; private String internetIp; public String getDdosType() { return this.ddosType; } public void setDdosType(String ddosType) { this.ddosType = ddosType; } public Boolean getIsAuto() { return this.isAuto; } public void setIsAuto(Boolean isAuto) { this.isAuto = isAuto; } public Integer getMaxBps() { return this.maxBps; } public void setMaxBps(Integer maxBps) { this.maxBps = maxBps; } public Integer getElasticBps() { return this.elasticBps; } public void setElasticBps(Integer elasticBps) { this.elasticBps = elasticBps; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public Integer getBps() { return this.bps; } public void setBps(Integer bps) { this.bps = bps; } public Integer getPps() { return this.pps; } public void setPps(Integer pps) { this.pps = pps; } public Integer getMaxPps() { return this.maxPps; } public void setMaxPps(Integer maxPps) { this.maxPps = maxPps; } public String getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; } } @Override public DescribeIpDdosThresholdResponse getInstance(UnmarshallerContext context) { return DescribeIpDdosThresholdResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeIpLocationServiceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeIpLocationServiceRequest extends RpcAcsRequest<DescribeIpLocationServiceResponse> { private String internetIp; public DescribeIpLocationServiceRequest() { super("antiddos-public", "2017-05-18", "DescribeIpLocationService", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } @Override public Class<DescribeIpLocationServiceResponse> getResponseClass() { return DescribeIpLocationServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeIpLocationServiceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeIpLocationServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeIpLocationServiceResponse extends AcsResponse { private String requestId; private Instance instance; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Instance getInstance() { return this.instance; } public void setInstance(Instance instance) { this.instance = instance; } public static class Instance { private String instanceId; private String instanceName; private String internetIp; private String instanceType; private String region; public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getInstanceName() { return this.instanceName; } public void setInstanceName(String instanceName) { this.instanceName = instanceName; } public String getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } } @Override public DescribeIpLocationServiceResponse getInstance(UnmarshallerContext context) { return DescribeIpLocationServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeRegionsRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class DescribeRegionsRequest extends RpcAcsRequest<DescribeRegionsResponse> { public DescribeRegionsRequest() { super("antiddos-public", "2017-05-18", "DescribeRegions", "ddosbasic"); 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) {} } @Override public Class<DescribeRegionsResponse> getResponseClass() { return DescribeRegionsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/DescribeRegionsResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.DescribeRegionsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DescribeRegionsResponse extends AcsResponse { private String requestId; private List<Region> regions; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Region> getRegions() { return this.regions; } public void setRegions(List<Region> regions) { this.regions = regions; } public static class Region { private String regionEnName; private String regionName; private String regionNoAlias; private String regionNo; public String getRegionEnName() { return this.regionEnName; } public void setRegionEnName(String regionEnName) { this.regionEnName = regionEnName; } public String getRegionName() { return this.regionName; } public void setRegionName(String regionName) { this.regionName = regionName; } public String getRegionNoAlias() { return this.regionNoAlias; } public void setRegionNoAlias(String regionNoAlias) { this.regionNoAlias = regionNoAlias; } public String getRegionNo() { return this.regionNo; } public void setRegionNo(String regionNo) { this.regionNo = regionNo; } } @Override public DescribeRegionsResponse getInstance(UnmarshallerContext context) { return DescribeRegionsResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/ModifyDdosStatusRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class ModifyDdosStatusRequest extends RpcAcsRequest<ModifyDdosStatusResponse> { private String internetIp; private String ddosRegionId; private String instanceType; private String instanceId; public ModifyDdosStatusRequest() { super("antiddos-public", "2017-05-18", "ModifyDdosStatus", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<ModifyDdosStatusResponse> getResponseClass() { return ModifyDdosStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/ModifyDdosStatusResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.ModifyDdosStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyDdosStatusResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ModifyDdosStatusResponse getInstance(UnmarshallerContext context) { return ModifyDdosStatusResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/ModifyDefenseThresholdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class ModifyDefenseThresholdRequest extends RpcAcsRequest<ModifyDefenseThresholdResponse> { private String internetIp; private String ddosRegionId; private String instanceType; private Integer bps; private Integer pps; private String instanceId; private Boolean isAuto; public ModifyDefenseThresholdRequest() { super("antiddos-public", "2017-05-18", "ModifyDefenseThreshold", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public Integer getBps() { return this.bps; } public void setBps(Integer bps) { this.bps = bps; if(bps != null){ putQueryParameter("Bps", bps.toString()); } } public Integer getPps() { return this.pps; } public void setPps(Integer pps) { this.pps = pps; if(pps != null){ putQueryParameter("Pps", pps.toString()); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Boolean getIsAuto() { return this.isAuto; } public void setIsAuto(Boolean isAuto) { this.isAuto = isAuto; if(isAuto != null){ putQueryParameter("IsAuto", isAuto.toString()); } } @Override public Class<ModifyDefenseThresholdResponse> getResponseClass() { return ModifyDefenseThresholdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/ModifyDefenseThresholdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.ModifyDefenseThresholdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyDefenseThresholdResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ModifyDefenseThresholdResponse getInstance(UnmarshallerContext context) { return ModifyDefenseThresholdResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/ModifyIpDefenseThresholdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.antiddos_public.Endpoint; /** * @author auto create * @version */ public class ModifyIpDefenseThresholdRequest extends RpcAcsRequest<ModifyIpDefenseThresholdResponse> { private String internetIp; private String ddosRegionId; private String instanceType; private Integer bps; private Integer pps; private String instanceId; private Boolean isAuto; public ModifyIpDefenseThresholdRequest() { super("antiddos-public", "2017-05-18", "ModifyIpDefenseThreshold", "ddosbasic"); 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 getInternetIp() { return this.internetIp; } public void setInternetIp(String internetIp) { this.internetIp = internetIp; if(internetIp != null){ putQueryParameter("InternetIp", internetIp); } } public String getDdosRegionId() { return this.ddosRegionId; } public void setDdosRegionId(String ddosRegionId) { this.ddosRegionId = ddosRegionId; if(ddosRegionId != null){ putQueryParameter("DdosRegionId", ddosRegionId); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } public Integer getBps() { return this.bps; } public void setBps(Integer bps) { this.bps = bps; if(bps != null){ putQueryParameter("Bps", bps.toString()); } } public Integer getPps() { return this.pps; } public void setPps(Integer pps) { this.pps = pps; if(pps != null){ putQueryParameter("Pps", pps.toString()); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Boolean getIsAuto() { return this.isAuto; } public void setIsAuto(Boolean isAuto) { this.isAuto = isAuto; if(isAuto != null){ putQueryParameter("IsAuto", isAuto.toString()); } } @Override public Class<ModifyIpDefenseThresholdResponse> getResponseClass() { return ModifyIpDefenseThresholdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/model/v20170518/ModifyIpDefenseThresholdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.model.v20170518; import com.aliyuncs.AcsResponse; import com.aliyuncs.antiddos_public.transform.v20170518.ModifyIpDefenseThresholdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ModifyIpDefenseThresholdResponse extends AcsResponse { private String requestId; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public ModifyIpDefenseThresholdResponse getInstance(UnmarshallerContext context) { return ModifyIpDefenseThresholdResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeBgpPackByIpResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.DescribeBgpPackByIpResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeBgpPackByIpResponse.DdosbgpInfo; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeBgpPackByIpResponseUnmarshaller { public static DescribeBgpPackByIpResponse unmarshall(DescribeBgpPackByIpResponse describeBgpPackByIpResponse, UnmarshallerContext _ctx) { describeBgpPackByIpResponse.setRequestId(_ctx.stringValue("DescribeBgpPackByIpResponse.RequestId")); describeBgpPackByIpResponse.setCode(_ctx.integerValue("DescribeBgpPackByIpResponse.Code")); describeBgpPackByIpResponse.setSuccess(_ctx.booleanValue("DescribeBgpPackByIpResponse.Success")); DdosbgpInfo ddosbgpInfo = new DdosbgpInfo(); ddosbgpInfo.setIp(_ctx.stringValue("DescribeBgpPackByIpResponse.DdosbgpInfo.Ip")); ddosbgpInfo.setExpireTime(_ctx.longValue("DescribeBgpPackByIpResponse.DdosbgpInfo.ExpireTime")); ddosbgpInfo.setElasticThreshold(_ctx.integerValue("DescribeBgpPackByIpResponse.DdosbgpInfo.ElasticThreshold")); ddosbgpInfo.setBaseThreshold(_ctx.integerValue("DescribeBgpPackByIpResponse.DdosbgpInfo.BaseThreshold")); ddosbgpInfo.setDdosbgpInstanceId(_ctx.stringValue("DescribeBgpPackByIpResponse.DdosbgpInfo.DdosbgpInstanceId")); describeBgpPackByIpResponse.setDdosbgpInfo(ddosbgpInfo); return describeBgpPackByIpResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeCapResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.DescribeCapResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeCapResponse.CapUrl; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeCapResponseUnmarshaller { public static DescribeCapResponse unmarshall(DescribeCapResponse describeCapResponse, UnmarshallerContext _ctx) { describeCapResponse.setRequestId(_ctx.stringValue("DescribeCapResponse.RequestId")); CapUrl capUrl = new CapUrl(); capUrl.setUrl(_ctx.stringValue("DescribeCapResponse.CapUrl.Url")); describeCapResponse.setCapUrl(capUrl); return describeCapResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeDdosCountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosCountResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosCountResponse.DdosCount; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeDdosCountResponseUnmarshaller { public static DescribeDdosCountResponse unmarshall(DescribeDdosCountResponse describeDdosCountResponse, UnmarshallerContext _ctx) { describeDdosCountResponse.setRequestId(_ctx.stringValue("DescribeDdosCountResponse.RequestId")); DdosCount ddosCount = new DdosCount(); ddosCount.setBlackholeCount(_ctx.integerValue("DescribeDdosCountResponse.DdosCount.BlackholeCount")); ddosCount.setInstacenCount(_ctx.integerValue("DescribeDdosCountResponse.DdosCount.InstacenCount")); ddosCount.setDefenseCount(_ctx.integerValue("DescribeDdosCountResponse.DdosCount.DefenseCount")); describeDdosCountResponse.setDdosCount(ddosCount); return describeDdosCountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeDdosCreditResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosCreditResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosCreditResponse.DdosCredit; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeDdosCreditResponseUnmarshaller { public static DescribeDdosCreditResponse unmarshall(DescribeDdosCreditResponse describeDdosCreditResponse, UnmarshallerContext _ctx) { describeDdosCreditResponse.setRequestId(_ctx.stringValue("DescribeDdosCreditResponse.RequestId")); describeDdosCreditResponse.setSuccess(_ctx.booleanValue("DescribeDdosCreditResponse.Success")); DdosCredit ddosCredit = new DdosCredit(); ddosCredit.setScore(_ctx.integerValue("DescribeDdosCreditResponse.DdosCredit.Score")); ddosCredit.setScoreLevel(_ctx.stringValue("DescribeDdosCreditResponse.DdosCredit.ScoreLevel")); ddosCredit.setBlackholeTime(_ctx.integerValue("DescribeDdosCreditResponse.DdosCredit.BlackholeTime")); describeDdosCreditResponse.setDdosCredit(ddosCredit); return describeDdosCreditResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeDdosEventListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import java.util.ArrayList; import java.util.List; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosEventListResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosEventListResponse.DdosEvent; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeDdosEventListResponseUnmarshaller { public static DescribeDdosEventListResponse unmarshall(DescribeDdosEventListResponse describeDdosEventListResponse, UnmarshallerContext _ctx) { describeDdosEventListResponse.setRequestId(_ctx.stringValue("DescribeDdosEventListResponse.RequestId")); describeDdosEventListResponse.setTotal(_ctx.integerValue("DescribeDdosEventListResponse.Total")); List<DdosEvent> ddosEventList = new ArrayList<DdosEvent>(); for (int i = 0; i < _ctx.lengthValue("DescribeDdosEventListResponse.DdosEventList.Length"); i++) { DdosEvent ddosEvent = new DdosEvent(); ddosEvent.setDdosType(_ctx.stringValue("DescribeDdosEventListResponse.DdosEventList["+ i +"].DdosType")); ddosEvent.setEndTime(_ctx.longValue("DescribeDdosEventListResponse.DdosEventList["+ i +"].EndTime")); ddosEvent.setStartTime(_ctx.longValue("DescribeDdosEventListResponse.DdosEventList["+ i +"].StartTime")); ddosEvent.setDelayTime(_ctx.longValue("DescribeDdosEventListResponse.DdosEventList["+ i +"].DelayTime")); ddosEvent.setDdosStatus(_ctx.stringValue("DescribeDdosEventListResponse.DdosEventList["+ i +"].DdosStatus")); ddosEvent.setUnBlackholeTime(_ctx.longValue("DescribeDdosEventListResponse.DdosEventList["+ i +"].UnBlackholeTime")); ddosEventList.add(ddosEvent); } describeDdosEventListResponse.setDdosEventList(ddosEventList); return describeDdosEventListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeDdosThresholdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import java.util.ArrayList; import java.util.List; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosThresholdResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeDdosThresholdResponse.Threshold; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeDdosThresholdResponseUnmarshaller { public static DescribeDdosThresholdResponse unmarshall(DescribeDdosThresholdResponse describeDdosThresholdResponse, UnmarshallerContext _ctx) { describeDdosThresholdResponse.setRequestId(_ctx.stringValue("DescribeDdosThresholdResponse.RequestId")); List<Threshold> thresholds = new ArrayList<Threshold>(); for (int i = 0; i < _ctx.lengthValue("DescribeDdosThresholdResponse.Thresholds.Length"); i++) { Threshold threshold = new Threshold(); threshold.setDdosType(_ctx.stringValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].DdosType")); threshold.setIsAuto(_ctx.booleanValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].IsAuto")); threshold.setMaxBps(_ctx.integerValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].MaxBps")); threshold.setElasticBps(_ctx.integerValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].ElasticBps")); threshold.setInstanceId(_ctx.stringValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].InstanceId")); threshold.setBps(_ctx.integerValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].Bps")); threshold.setPps(_ctx.integerValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].Pps")); threshold.setMaxPps(_ctx.integerValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].MaxPps")); threshold.setInternetIp(_ctx.stringValue("DescribeDdosThresholdResponse.Thresholds["+ i +"].InternetIp")); thresholds.add(threshold); } describeDdosThresholdResponse.setThresholds(thresholds); return describeDdosThresholdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeInstanceIpAddressResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import java.util.ArrayList; import java.util.List; import com.aliyuncs.antiddos_public.model.v20170518.DescribeInstanceIpAddressResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeInstanceIpAddressResponse.Instance; import com.aliyuncs.antiddos_public.model.v20170518.DescribeInstanceIpAddressResponse.Instance.IpAddressConfigItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceIpAddressResponseUnmarshaller { public static DescribeInstanceIpAddressResponse unmarshall(DescribeInstanceIpAddressResponse describeInstanceIpAddressResponse, UnmarshallerContext _ctx) { describeInstanceIpAddressResponse.setRequestId(_ctx.stringValue("DescribeInstanceIpAddressResponse.RequestId")); describeInstanceIpAddressResponse.setTotal(_ctx.integerValue("DescribeInstanceIpAddressResponse.Total")); List<Instance> instanceList = new ArrayList<Instance>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceIpAddressResponse.InstanceList.Length"); i++) { Instance instance = new Instance(); instance.setInstanceId(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].InstanceId")); instance.setInstanceType(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].InstanceType")); instance.setInstanceName(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].InstanceName")); instance.setInstanceStatus(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].InstanceStatus")); List<IpAddressConfigItem> ipAddressConfig = new ArrayList<IpAddressConfigItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig.Length"); j++) { IpAddressConfigItem ipAddressConfigItem = new IpAddressConfigItem(); ipAddressConfigItem.setInstanceIp(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].InstanceIp")); ipAddressConfigItem.setIsBgppack(_ctx.booleanValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].IsBgppack")); ipAddressConfigItem.setIpVersion(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].IpVersion")); ipAddressConfigItem.setIpStatus(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].IpStatus")); ipAddressConfigItem.setRegionId(_ctx.stringValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].RegionId")); ipAddressConfigItem.setElasticThreshold(_ctx.integerValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].ElasticThreshold")); ipAddressConfigItem.setBlackholeThreshold(_ctx.integerValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].BlackholeThreshold")); ipAddressConfigItem.setDefenseBpsThreshold(_ctx.integerValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].DefenseBpsThreshold")); ipAddressConfigItem.setDefensePpsThreshold(_ctx.integerValue("DescribeInstanceIpAddressResponse.InstanceList["+ i +"].IpAddressConfig["+ j +"].DefensePpsThreshold")); ipAddressConfig.add(ipAddressConfigItem); } instance.setIpAddressConfig(ipAddressConfig); instanceList.add(instance); } describeInstanceIpAddressResponse.setInstanceList(instanceList); return describeInstanceIpAddressResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import java.util.ArrayList; import java.util.List; import com.aliyuncs.antiddos_public.model.v20170518.DescribeInstanceResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeInstanceResponse.Instance; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceResponseUnmarshaller { public static DescribeInstanceResponse unmarshall(DescribeInstanceResponse describeInstanceResponse, UnmarshallerContext _ctx) { describeInstanceResponse.setRequestId(_ctx.stringValue("DescribeInstanceResponse.RequestId")); describeInstanceResponse.setTotal(_ctx.integerValue("DescribeInstanceResponse.Total")); List<Instance> instanceList = new ArrayList<Instance>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceResponse.InstanceList.Length"); i++) { Instance instance = new Instance(); instance.setInstanceIp(_ctx.stringValue("DescribeInstanceResponse.InstanceList["+ i +"].InstanceIp")); instance.setIsBgppack(_ctx.booleanValue("DescribeInstanceResponse.InstanceList["+ i +"].IsBgppack")); instance.setIpVersion(_ctx.stringValue("DescribeInstanceResponse.InstanceList["+ i +"].IpVersion")); instance.setElasticThreshold(_ctx.integerValue("DescribeInstanceResponse.InstanceList["+ i +"].ElasticThreshold")); instance.setBlackholeThreshold(_ctx.integerValue("DescribeInstanceResponse.InstanceList["+ i +"].BlackholeThreshold")); instance.setDefenseBpsThreshold(_ctx.integerValue("DescribeInstanceResponse.InstanceList["+ i +"].DefenseBpsThreshold")); instance.setInstanceName(_ctx.stringValue("DescribeInstanceResponse.InstanceList["+ i +"].InstanceName")); instance.setInstanceStatus(_ctx.stringValue("DescribeInstanceResponse.InstanceList["+ i +"].InstanceStatus")); instance.setDefensePpsThreshold(_ctx.integerValue("DescribeInstanceResponse.InstanceList["+ i +"].DefensePpsThreshold")); instance.setInstanceId(_ctx.stringValue("DescribeInstanceResponse.InstanceList["+ i +"].InstanceId")); instance.setInstanceType(_ctx.stringValue("DescribeInstanceResponse.InstanceList["+ i +"].InstanceType")); instanceList.add(instance); } describeInstanceResponse.setInstanceList(instanceList); return describeInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeIpDdosThresholdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.DescribeIpDdosThresholdResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeIpDdosThresholdResponse.Threshold; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeIpDdosThresholdResponseUnmarshaller { public static DescribeIpDdosThresholdResponse unmarshall(DescribeIpDdosThresholdResponse describeIpDdosThresholdResponse, UnmarshallerContext _ctx) { describeIpDdosThresholdResponse.setRequestId(_ctx.stringValue("DescribeIpDdosThresholdResponse.RequestId")); Threshold threshold = new Threshold(); threshold.setDdosType(_ctx.stringValue("DescribeIpDdosThresholdResponse.Threshold.DdosType")); threshold.setIsAuto(_ctx.booleanValue("DescribeIpDdosThresholdResponse.Threshold.IsAuto")); threshold.setMaxBps(_ctx.integerValue("DescribeIpDdosThresholdResponse.Threshold.MaxBps")); threshold.setElasticBps(_ctx.integerValue("DescribeIpDdosThresholdResponse.Threshold.ElasticBps")); threshold.setInstanceId(_ctx.stringValue("DescribeIpDdosThresholdResponse.Threshold.InstanceId")); threshold.setBps(_ctx.integerValue("DescribeIpDdosThresholdResponse.Threshold.Bps")); threshold.setPps(_ctx.integerValue("DescribeIpDdosThresholdResponse.Threshold.Pps")); threshold.setMaxPps(_ctx.integerValue("DescribeIpDdosThresholdResponse.Threshold.MaxPps")); threshold.setInternetIp(_ctx.stringValue("DescribeIpDdosThresholdResponse.Threshold.InternetIp")); describeIpDdosThresholdResponse.setThreshold(threshold); return describeIpDdosThresholdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeIpLocationServiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.DescribeIpLocationServiceResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeIpLocationServiceResponse.Instance; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeIpLocationServiceResponseUnmarshaller { public static DescribeIpLocationServiceResponse unmarshall(DescribeIpLocationServiceResponse describeIpLocationServiceResponse, UnmarshallerContext _ctx) { describeIpLocationServiceResponse.setRequestId(_ctx.stringValue("DescribeIpLocationServiceResponse.RequestId")); Instance instance = new Instance(); instance.setInstanceId(_ctx.stringValue("DescribeIpLocationServiceResponse.Instance.InstanceId")); instance.setInstanceName(_ctx.stringValue("DescribeIpLocationServiceResponse.Instance.InstanceName")); instance.setInternetIp(_ctx.stringValue("DescribeIpLocationServiceResponse.Instance.InternetIp")); instance.setInstanceType(_ctx.stringValue("DescribeIpLocationServiceResponse.Instance.InstanceType")); instance.setRegion(_ctx.stringValue("DescribeIpLocationServiceResponse.Instance.Region")); describeIpLocationServiceResponse.setInstance(instance); return describeIpLocationServiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/DescribeRegionsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import java.util.ArrayList; import java.util.List; import com.aliyuncs.antiddos_public.model.v20170518.DescribeRegionsResponse; import com.aliyuncs.antiddos_public.model.v20170518.DescribeRegionsResponse.Region; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeRegionsResponseUnmarshaller { public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) { describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId")); List<Region> regions = new ArrayList<Region>(); for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) { Region region = new Region(); region.setRegionEnName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionEnName")); region.setRegionName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionName")); region.setRegionNoAlias(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionNoAlias")); region.setRegionNo(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionNo")); regions.add(region); } describeRegionsResponse.setRegions(regions); return describeRegionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/ModifyDdosStatusResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.ModifyDdosStatusResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDdosStatusResponseUnmarshaller { public static ModifyDdosStatusResponse unmarshall(ModifyDdosStatusResponse modifyDdosStatusResponse, UnmarshallerContext _ctx) { modifyDdosStatusResponse.setRequestId(_ctx.stringValue("ModifyDdosStatusResponse.RequestId")); return modifyDdosStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/ModifyDefenseThresholdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.ModifyDefenseThresholdResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyDefenseThresholdResponseUnmarshaller { public static ModifyDefenseThresholdResponse unmarshall(ModifyDefenseThresholdResponse modifyDefenseThresholdResponse, UnmarshallerContext _ctx) { modifyDefenseThresholdResponse.setRequestId(_ctx.stringValue("ModifyDefenseThresholdResponse.RequestId")); return modifyDefenseThresholdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform
java-sources/com/aliyun/aliyun-java-sdk-antiddos-public/2.0.4/com/aliyuncs/antiddos_public/transform/v20170518/ModifyIpDefenseThresholdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.antiddos_public.transform.v20170518; import com.aliyuncs.antiddos_public.model.v20170518.ModifyIpDefenseThresholdResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyIpDefenseThresholdResponseUnmarshaller { public static ModifyIpDefenseThresholdResponse unmarshall(ModifyIpDefenseThresholdResponse modifyIpDefenseThresholdResponse, UnmarshallerContext _ctx) { modifyIpDefenseThresholdResponse.setRequestId(_ctx.stringValue("ModifyIpDefenseThresholdResponse.RequestId")); return modifyIpDefenseThresholdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateFileJobRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateFileJobRequest extends RoaAcsRequest<CreateFileJobResponse> { private String body; public CreateFileJobRequest() { super("apds", "2022-03-31", "CreateFileJob"); setUriPattern("/okss-services/file-job/create"); setMethod(MethodType.POST); } public String getBody() { return this.body; } public void setBody(String body) { this.body = body; if(body != null){ putBodyParameter("body", body); } } @Override public Class<CreateFileJobResponse> getResponseClass() { return CreateFileJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateFileJobResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.AcsResponse; import com.aliyuncs.apds.transform.v20220331.CreateFileJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateFileJobResponse extends AcsResponse { private String code; private String error; private Boolean success; private Object data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getError() { return this.error; } public void setError(String error) { this.error = error; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Object getData() { return this.data; } public void setData(Object data) { this.data = data; } @Override public CreateFileJobResponse getInstance(UnmarshallerContext context) { return CreateFileJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateMigrationGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateMigrationGroupRequest extends RoaAcsRequest<CreateMigrationGroupResponse> { private String body; public CreateMigrationGroupRequest() { super("apds", "2022-03-31", "CreateMigrationGroup"); setUriPattern("/okss-services/migration-group/save-migration-group"); setMethod(MethodType.POST); } public String getBody() { return this.body; } public void setBody(String body) { this.body = body; if(body != null){ putBodyParameter("body", body); } } @Override public Class<CreateMigrationGroupResponse> getResponseClass() { return CreateMigrationGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateMigrationGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.AcsResponse; import com.aliyuncs.apds.transform.v20220331.CreateMigrationGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateMigrationGroupResponse extends AcsResponse { private String code; private String error; private Boolean success; private Object data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getError() { return this.error; } public void setError(String error) { this.error = error; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Object getData() { return this.data; } public void setData(Object data) { this.data = data; } @Override public CreateMigrationGroupResponse getInstance(UnmarshallerContext context) { return CreateMigrationGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateMigrationJobRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateMigrationJobRequest extends RoaAcsRequest<CreateMigrationJobResponse> { private String body; public CreateMigrationJobRequest() { super("apds", "2022-03-31", "CreateMigrationJob"); setUriPattern("/okss-services/migration-job/create-migration-jobs"); setMethod(MethodType.POST); } public String getBody() { return this.body; } public void setBody(String body) { this.body = body; if(body != null){ putBodyParameter("body", body); } } @Override public Class<CreateMigrationJobResponse> getResponseClass() { return CreateMigrationJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateMigrationJobResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.AcsResponse; import com.aliyuncs.apds.transform.v20220331.CreateMigrationJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateMigrationJobResponse extends AcsResponse { private String code; private String error; private Boolean success; private Object data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getError() { return this.error; } public void setError(String error) { this.error = error; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Object getData() { return this.data; } public void setData(Object data) { this.data = data; } @Override public CreateMigrationJobResponse getInstance(UnmarshallerContext context) { return CreateMigrationJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateSurveyJobOfflineRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateSurveyJobOfflineRequest extends RoaAcsRequest<CreateSurveyJobOfflineResponse> { private String body; public CreateSurveyJobOfflineRequest() { super("apds", "2022-03-31", "CreateSurveyJobOffline"); setUriPattern("/okss-services/winback/add-import-survey-job"); setMethod(MethodType.POST); } public String getBody() { return this.body; } public void setBody(String body) { this.body = body; if(body != null){ putBodyParameter("body", body); } } @Override public Class<CreateSurveyJobOfflineResponse> getResponseClass() { return CreateSurveyJobOfflineResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateSurveyJobOfflineResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.AcsResponse; import com.aliyuncs.apds.transform.v20220331.CreateSurveyJobOfflineResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateSurveyJobOfflineResponse extends AcsResponse { private String code; private String error; private Boolean success; private Object data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getError() { return this.error; } public void setError(String error) { this.error = error; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Object getData() { return this.data; } public void setData(Object data) { this.data = data; } @Override public CreateSurveyJobOfflineResponse getInstance(UnmarshallerContext context) { return CreateSurveyJobOfflineResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateSurveyJobRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class CreateSurveyJobRequest extends RoaAcsRequest<CreateSurveyJobResponse> { private String body; public CreateSurveyJobRequest() { super("apds", "2022-03-31", "CreateSurveyJob"); setUriPattern("/okss-services/winback/add-survey-job"); setMethod(MethodType.POST); } public String getBody() { return this.body; } public void setBody(String body) { this.body = body; if(body != null){ putBodyParameter("body", body); } } @Override public Class<CreateSurveyJobResponse> getResponseClass() { return CreateSurveyJobResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/CreateSurveyJobResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.AcsResponse; import com.aliyuncs.apds.transform.v20220331.CreateSurveyJobResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateSurveyJobResponse extends AcsResponse { private String code; private String error; private Boolean success; private Object data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getError() { return this.error; } public void setError(String error) { this.error = error; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Object getData() { return this.data; } public void setData(Object data) { this.data = data; } @Override public CreateSurveyJobResponse getInstance(UnmarshallerContext context) { return CreateSurveyJobResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/DeleteMigrationGroupRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class DeleteMigrationGroupRequest extends RoaAcsRequest<DeleteMigrationGroupResponse> { private Integer id; public DeleteMigrationGroupRequest() { super("apds", "2022-03-31", "DeleteMigrationGroup"); setUriPattern("/okss-services/migration-group/remove-migration-group"); setMethod(MethodType.POST); } public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; if(id != null){ putQueryParameter("id", id.toString()); } } @Override public Class<DeleteMigrationGroupResponse> getResponseClass() { return DeleteMigrationGroupResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model
java-sources/com/aliyun/aliyun-java-sdk-apds/1.0.0/com/aliyuncs/apds/model/v20220331/DeleteMigrationGroupResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.apds.model.v20220331; import com.aliyuncs.AcsResponse; import com.aliyuncs.apds.transform.v20220331.DeleteMigrationGroupResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteMigrationGroupResponse extends AcsResponse { private String code; private String error; private Boolean success; private Object data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getError() { return this.error; } public void setError(String error) { this.error = error; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Object getData() { return this.data; } public void setData(Object data) { this.data = data; } @Override public DeleteMigrationGroupResponse getInstance(UnmarshallerContext context) { return DeleteMigrationGroupResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }