index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmAvailableAlertGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmAvailableAlertGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmAvailableAlertGroupResponseUnmarshaller {
public static DescribeDnsGtmAvailableAlertGroupResponse unmarshall(DescribeDnsGtmAvailableAlertGroupResponse describeDnsGtmAvailableAlertGroupResponse, UnmarshallerContext _ctx) {
describeDnsGtmAvailableAlertGroupResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmAvailableAlertGroupResponse.RequestId"));
describeDnsGtmAvailableAlertGroupResponse.setAvailableAlertGroup(_ctx.stringValue("DescribeDnsGtmAvailableAlertGroupResponse.AvailableAlertGroup"));
return describeDnsGtmAvailableAlertGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmInstanceAddressPoolResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceAddressPoolResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceAddressPoolResponse.Addr;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmInstanceAddressPoolResponseUnmarshaller {
public static DescribeDnsGtmInstanceAddressPoolResponse unmarshall(DescribeDnsGtmInstanceAddressPoolResponse describeDnsGtmInstanceAddressPoolResponse, UnmarshallerContext _ctx) {
describeDnsGtmInstanceAddressPoolResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.RequestId"));
describeDnsGtmInstanceAddressPoolResponse.setLbaStrategy(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.LbaStrategy"));
describeDnsGtmInstanceAddressPoolResponse.setCreateTime(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.CreateTime"));
describeDnsGtmInstanceAddressPoolResponse.setAddrCount(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolResponse.AddrCount"));
describeDnsGtmInstanceAddressPoolResponse.setName(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Name"));
describeDnsGtmInstanceAddressPoolResponse.setType(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Type"));
describeDnsGtmInstanceAddressPoolResponse.setUpdateTime(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.UpdateTime"));
describeDnsGtmInstanceAddressPoolResponse.setAddrPoolId(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.AddrPoolId"));
describeDnsGtmInstanceAddressPoolResponse.setUpdateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceAddressPoolResponse.UpdateTimestamp"));
describeDnsGtmInstanceAddressPoolResponse.setMonitorConfigId(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.MonitorConfigId"));
describeDnsGtmInstanceAddressPoolResponse.setMonitorStatus(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.MonitorStatus"));
describeDnsGtmInstanceAddressPoolResponse.setCreateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceAddressPoolResponse.CreateTimestamp"));
List<Addr> addrs = new ArrayList<Addr>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs.Length"); i++) {
Addr addr = new Addr();
addr.setUpdateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].UpdateTimestamp"));
addr.setAttributeInfo(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].AttributeInfo"));
addr.setUpdateTime(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].UpdateTime"));
addr.setAlertStatus(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].AlertStatus"));
addr.setRemark(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].Remark"));
addr.setLbaWeight(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].LbaWeight"));
addr.setAddr(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].Addr"));
addr.setCreateTime(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].CreateTime"));
addr.setMode(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].Mode"));
addr.setCreateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceAddressPoolResponse.Addrs["+ i +"].CreateTimestamp"));
addrs.add(addr);
}
describeDnsGtmInstanceAddressPoolResponse.setAddrs(addrs);
return describeDnsGtmInstanceAddressPoolResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmInstanceAddressPoolsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceAddressPoolsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceAddressPoolsResponse.AddrPool;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmInstanceAddressPoolsResponseUnmarshaller {
public static DescribeDnsGtmInstanceAddressPoolsResponse unmarshall(DescribeDnsGtmInstanceAddressPoolsResponse describeDnsGtmInstanceAddressPoolsResponse, UnmarshallerContext _ctx) {
describeDnsGtmInstanceAddressPoolsResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.RequestId"));
describeDnsGtmInstanceAddressPoolsResponse.setPageSize(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolsResponse.PageSize"));
describeDnsGtmInstanceAddressPoolsResponse.setPageNumber(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolsResponse.PageNumber"));
describeDnsGtmInstanceAddressPoolsResponse.setTotalPages(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolsResponse.TotalPages"));
describeDnsGtmInstanceAddressPoolsResponse.setTotalItems(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolsResponse.TotalItems"));
List<AddrPool> addrPools = new ArrayList<AddrPool>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools.Length"); i++) {
AddrPool addrPool = new AddrPool();
addrPool.setType(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].Type"));
addrPool.setUpdateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].UpdateTimestamp"));
addrPool.setMonitorStatus(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].MonitorStatus"));
addrPool.setUpdateTime(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].UpdateTime"));
addrPool.setCreateTime(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].CreateTime"));
addrPool.setAddrPoolId(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].AddrPoolId"));
addrPool.setLbaStrategy(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].LbaStrategy"));
addrPool.setName(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].Name"));
addrPool.setAddrCount(_ctx.integerValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].AddrCount"));
addrPool.setMonitorConfigId(_ctx.stringValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].MonitorConfigId"));
addrPool.setCreateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].CreateTimestamp"));
addrPools.add(addrPool);
}
describeDnsGtmInstanceAddressPoolsResponse.setAddrPools(addrPools);
return describeDnsGtmInstanceAddressPoolsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmInstanceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceResponse.Config;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceResponse.Config.AlertConfigItem;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceResponse.UsedQuota;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmInstanceResponseUnmarshaller {
public static DescribeDnsGtmInstanceResponse unmarshall(DescribeDnsGtmInstanceResponse describeDnsGtmInstanceResponse, UnmarshallerContext _ctx) {
describeDnsGtmInstanceResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstanceResponse.RequestId"));
describeDnsGtmInstanceResponse.setExpireTimestamp(_ctx.longValue("DescribeDnsGtmInstanceResponse.ExpireTimestamp"));
describeDnsGtmInstanceResponse.setResourceGroupId(_ctx.stringValue("DescribeDnsGtmInstanceResponse.ResourceGroupId"));
describeDnsGtmInstanceResponse.setInstanceId(_ctx.stringValue("DescribeDnsGtmInstanceResponse.InstanceId"));
describeDnsGtmInstanceResponse.setTaskQuota(_ctx.integerValue("DescribeDnsGtmInstanceResponse.TaskQuota"));
describeDnsGtmInstanceResponse.setCreateTime(_ctx.stringValue("DescribeDnsGtmInstanceResponse.CreateTime"));
describeDnsGtmInstanceResponse.setSmsQuota(_ctx.integerValue("DescribeDnsGtmInstanceResponse.SmsQuota"));
describeDnsGtmInstanceResponse.setVersionCode(_ctx.stringValue("DescribeDnsGtmInstanceResponse.VersionCode"));
describeDnsGtmInstanceResponse.setPaymentType(_ctx.stringValue("DescribeDnsGtmInstanceResponse.PaymentType"));
describeDnsGtmInstanceResponse.setExpireTime(_ctx.stringValue("DescribeDnsGtmInstanceResponse.ExpireTime"));
describeDnsGtmInstanceResponse.setCreateTimestamp(_ctx.longValue("DescribeDnsGtmInstanceResponse.CreateTimestamp"));
Config config = new Config();
config.setTtl(_ctx.integerValue("DescribeDnsGtmInstanceResponse.Config.Ttl"));
config.setAlertGroup(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.AlertGroup"));
config.setCnameType(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.CnameType"));
config.setStrategyMode(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.StrategyMode"));
config.setInstanceName(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.InstanceName"));
config.setPublicCnameMode(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.PublicCnameMode"));
config.setPublicUserDomainName(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.PublicUserDomainName"));
config.setPubicZoneName(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.PubicZoneName"));
config.setPublicRr(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.PublicRr"));
List<AlertConfigItem> alertConfig = new ArrayList<AlertConfigItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmInstanceResponse.Config.AlertConfig.Length"); i++) {
AlertConfigItem alertConfigItem = new AlertConfigItem();
alertConfigItem.setSmsNotice(_ctx.booleanValue("DescribeDnsGtmInstanceResponse.Config.AlertConfig["+ i +"].SmsNotice"));
alertConfigItem.setNoticeType(_ctx.stringValue("DescribeDnsGtmInstanceResponse.Config.AlertConfig["+ i +"].NoticeType"));
alertConfigItem.setEmailNotice(_ctx.booleanValue("DescribeDnsGtmInstanceResponse.Config.AlertConfig["+ i +"].EmailNotice"));
alertConfigItem.setDingtalkNotice(_ctx.booleanValue("DescribeDnsGtmInstanceResponse.Config.AlertConfig["+ i +"].DingtalkNotice"));
alertConfig.add(alertConfigItem);
}
config.setAlertConfig(alertConfig);
describeDnsGtmInstanceResponse.setConfig(config);
UsedQuota usedQuota = new UsedQuota();
usedQuota.setEmailUsedCount(_ctx.integerValue("DescribeDnsGtmInstanceResponse.UsedQuota.EmailUsedCount"));
usedQuota.setTaskUsedCount(_ctx.integerValue("DescribeDnsGtmInstanceResponse.UsedQuota.TaskUsedCount"));
usedQuota.setSmsUsedCount(_ctx.integerValue("DescribeDnsGtmInstanceResponse.UsedQuota.SmsUsedCount"));
usedQuota.setDingtalkUsedCount(_ctx.integerValue("DescribeDnsGtmInstanceResponse.UsedQuota.DingtalkUsedCount"));
describeDnsGtmInstanceResponse.setUsedQuota(usedQuota);
return describeDnsGtmInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmInstanceStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmInstanceStatusResponseUnmarshaller {
public static DescribeDnsGtmInstanceStatusResponse unmarshall(DescribeDnsGtmInstanceStatusResponse describeDnsGtmInstanceStatusResponse, UnmarshallerContext _ctx) {
describeDnsGtmInstanceStatusResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstanceStatusResponse.RequestId"));
describeDnsGtmInstanceStatusResponse.setStrategyNotAvailableNum(_ctx.integerValue("DescribeDnsGtmInstanceStatusResponse.StrategyNotAvailableNum"));
describeDnsGtmInstanceStatusResponse.setAddrAvailableNum(_ctx.integerValue("DescribeDnsGtmInstanceStatusResponse.AddrAvailableNum"));
describeDnsGtmInstanceStatusResponse.setSwitchToFailoverStrategyNum(_ctx.integerValue("DescribeDnsGtmInstanceStatusResponse.SwitchToFailoverStrategyNum"));
describeDnsGtmInstanceStatusResponse.setAddrNotAvailableNum(_ctx.integerValue("DescribeDnsGtmInstanceStatusResponse.AddrNotAvailableNum"));
describeDnsGtmInstanceStatusResponse.setAddrPoolGroupNotAvailableNum(_ctx.integerValue("DescribeDnsGtmInstanceStatusResponse.AddrPoolGroupNotAvailableNum"));
return describeDnsGtmInstanceStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmInstanceSystemCnameResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstanceSystemCnameResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmInstanceSystemCnameResponseUnmarshaller {
public static DescribeDnsGtmInstanceSystemCnameResponse unmarshall(DescribeDnsGtmInstanceSystemCnameResponse describeDnsGtmInstanceSystemCnameResponse, UnmarshallerContext _ctx) {
describeDnsGtmInstanceSystemCnameResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstanceSystemCnameResponse.RequestId"));
describeDnsGtmInstanceSystemCnameResponse.setSystemCname(_ctx.stringValue("DescribeDnsGtmInstanceSystemCnameResponse.SystemCname"));
return describeDnsGtmInstanceSystemCnameResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmInstancesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstancesResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstancesResponse.GtmInstance;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstancesResponse.GtmInstance.Config;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstancesResponse.GtmInstance.Config.AlertConfigItem;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmInstancesResponse.GtmInstance.UsedQuota;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmInstancesResponseUnmarshaller {
public static DescribeDnsGtmInstancesResponse unmarshall(DescribeDnsGtmInstancesResponse describeDnsGtmInstancesResponse, UnmarshallerContext _ctx) {
describeDnsGtmInstancesResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmInstancesResponse.RequestId"));
describeDnsGtmInstancesResponse.setPageSize(_ctx.integerValue("DescribeDnsGtmInstancesResponse.PageSize"));
describeDnsGtmInstancesResponse.setPageNumber(_ctx.integerValue("DescribeDnsGtmInstancesResponse.PageNumber"));
describeDnsGtmInstancesResponse.setTotalPages(_ctx.integerValue("DescribeDnsGtmInstancesResponse.TotalPages"));
describeDnsGtmInstancesResponse.setTotalItems(_ctx.integerValue("DescribeDnsGtmInstancesResponse.TotalItems"));
List<GtmInstance> gtmInstances = new ArrayList<GtmInstance>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmInstancesResponse.GtmInstances.Length"); i++) {
GtmInstance gtmInstance = new GtmInstance();
gtmInstance.setPaymentType(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].PaymentType"));
gtmInstance.setExpireTime(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].ExpireTime"));
gtmInstance.setCreateTime(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].CreateTime"));
gtmInstance.setSmsQuota(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].SmsQuota"));
gtmInstance.setInstanceId(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].InstanceId"));
gtmInstance.setExpireTimestamp(_ctx.longValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].ExpireTimestamp"));
gtmInstance.setResourceGroupId(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].ResourceGroupId"));
gtmInstance.setVersionCode(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].VersionCode"));
gtmInstance.setTaskQuota(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].TaskQuota"));
gtmInstance.setCreateTimestamp(_ctx.longValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].CreateTimestamp"));
Config config = new Config();
config.setTtl(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.Ttl"));
config.setAlertGroup(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.AlertGroup"));
config.setPublicZoneName(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.PublicZoneName"));
config.setCnameType(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.CnameType"));
config.setStrategyMode(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.StrategyMode"));
config.setInstanceName(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.InstanceName"));
config.setPublicCnameMode(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.PublicCnameMode"));
config.setPublicUserDomainName(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.PublicUserDomainName"));
config.setPublicRr(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.PublicRr"));
List<AlertConfigItem> alertConfig = new ArrayList<AlertConfigItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.AlertConfig.Length"); j++) {
AlertConfigItem alertConfigItem = new AlertConfigItem();
alertConfigItem.setSmsNotice(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.AlertConfig["+ j +"].SmsNotice"));
alertConfigItem.setNoticeType(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.AlertConfig["+ j +"].NoticeType"));
alertConfigItem.setEmailNotice(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.AlertConfig["+ j +"].EmailNotice"));
alertConfigItem.setDingtalkNotice(_ctx.stringValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].Config.AlertConfig["+ j +"].DingtalkNotice"));
alertConfig.add(alertConfigItem);
}
config.setAlertConfig(alertConfig);
gtmInstance.setConfig(config);
UsedQuota usedQuota = new UsedQuota();
usedQuota.setEmailUsedCount(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].UsedQuota.EmailUsedCount"));
usedQuota.setTaskUsedCount(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].UsedQuota.TaskUsedCount"));
usedQuota.setSmsUsedCount(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].UsedQuota.SmsUsedCount"));
usedQuota.setDingtalkUsedCount(_ctx.integerValue("DescribeDnsGtmInstancesResponse.GtmInstances["+ i +"].UsedQuota.DingtalkUsedCount"));
gtmInstance.setUsedQuota(usedQuota);
gtmInstances.add(gtmInstance);
}
describeDnsGtmInstancesResponse.setGtmInstances(gtmInstances);
return describeDnsGtmInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmLogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmLogsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmLogsResponse.Log;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmLogsResponseUnmarshaller {
public static DescribeDnsGtmLogsResponse unmarshall(DescribeDnsGtmLogsResponse describeDnsGtmLogsResponse, UnmarshallerContext _ctx) {
describeDnsGtmLogsResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmLogsResponse.RequestId"));
describeDnsGtmLogsResponse.setPageSize(_ctx.integerValue("DescribeDnsGtmLogsResponse.PageSize"));
describeDnsGtmLogsResponse.setPageNumber(_ctx.integerValue("DescribeDnsGtmLogsResponse.PageNumber"));
describeDnsGtmLogsResponse.setTotalPages(_ctx.integerValue("DescribeDnsGtmLogsResponse.TotalPages"));
describeDnsGtmLogsResponse.setTotalItems(_ctx.integerValue("DescribeDnsGtmLogsResponse.TotalItems"));
List<Log> logs = new ArrayList<Log>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmLogsResponse.Logs.Length"); i++) {
Log log = new Log();
log.setOperTimestamp(_ctx.longValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].OperTimestamp"));
log.setEntityId(_ctx.stringValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].EntityId"));
log.setEntityType(_ctx.stringValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].EntityType"));
log.setOperTime(_ctx.stringValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].OperTime"));
log.setOperAction(_ctx.stringValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].OperAction"));
log.setContent(_ctx.stringValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].Content"));
log.setEntityName(_ctx.stringValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].EntityName"));
log.setId(_ctx.longValue("DescribeDnsGtmLogsResponse.Logs["+ i +"].Id"));
logs.add(log);
}
describeDnsGtmLogsResponse.setLogs(logs);
return describeDnsGtmLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmMonitorAvailableConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorAvailableConfigResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNode;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNode;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNode;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNode;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmMonitorAvailableConfigResponseUnmarshaller {
public static DescribeDnsGtmMonitorAvailableConfigResponse unmarshall(DescribeDnsGtmMonitorAvailableConfigResponse describeDnsGtmMonitorAvailableConfigResponse, UnmarshallerContext _ctx) {
describeDnsGtmMonitorAvailableConfigResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.RequestId"));
List<Ipv4IspCityNode> ipv4IspCityNodes = new ArrayList<Ipv4IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes.Length"); i++) {
Ipv4IspCityNode ipv4IspCityNode = new Ipv4IspCityNode();
ipv4IspCityNode.setCityCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].CityCode"));
ipv4IspCityNode.setGroupName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].GroupName"));
ipv4IspCityNode.setIspCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].IspCode"));
ipv4IspCityNode.setCityName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].CityName"));
ipv4IspCityNode.setIspName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].IspName"));
ipv4IspCityNode.setGroupType(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].GroupType"));
ipv4IspCityNode.setDefaultSelected(_ctx.booleanValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].DefaultSelected"));
List<String> ips = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].Ips.Length"); j++) {
ips.add(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv4IspCityNodes["+ i +"].Ips["+ j +"]"));
}
ipv4IspCityNode.setIps(ips);
ipv4IspCityNodes.add(ipv4IspCityNode);
}
describeDnsGtmMonitorAvailableConfigResponse.setIpv4IspCityNodes(ipv4IspCityNodes);
List<DomainIpv4IspCityNode> domainIpv4IspCityNodes = new ArrayList<DomainIpv4IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes.Length"); i++) {
DomainIpv4IspCityNode domainIpv4IspCityNode = new DomainIpv4IspCityNode();
domainIpv4IspCityNode.setCityCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].CityCode"));
domainIpv4IspCityNode.setGroupName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].GroupName"));
domainIpv4IspCityNode.setIspCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].IspCode"));
domainIpv4IspCityNode.setCityName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].CityName"));
domainIpv4IspCityNode.setIspName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].IspName"));
domainIpv4IspCityNode.setGroupType(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].GroupType"));
domainIpv4IspCityNode.setDefaultSelected(_ctx.booleanValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].DefaultSelected"));
List<String> ips1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].Ips.Length"); j++) {
ips1.add(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv4IspCityNodes["+ i +"].Ips["+ j +"]"));
}
domainIpv4IspCityNode.setIps1(ips1);
domainIpv4IspCityNodes.add(domainIpv4IspCityNode);
}
describeDnsGtmMonitorAvailableConfigResponse.setDomainIpv4IspCityNodes(domainIpv4IspCityNodes);
List<DomainIpv6IspCityNode> domainIpv6IspCityNodes = new ArrayList<DomainIpv6IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes.Length"); i++) {
DomainIpv6IspCityNode domainIpv6IspCityNode = new DomainIpv6IspCityNode();
domainIpv6IspCityNode.setCityCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].CityCode"));
domainIpv6IspCityNode.setGroupName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].GroupName"));
domainIpv6IspCityNode.setIspCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].IspCode"));
domainIpv6IspCityNode.setCityName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].CityName"));
domainIpv6IspCityNode.setIspName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].IspName"));
domainIpv6IspCityNode.setGroupType(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].GroupType"));
domainIpv6IspCityNode.setDefaultSelected(_ctx.booleanValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].DefaultSelected"));
List<String> ips2 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].Ips.Length"); j++) {
ips2.add(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.DomainIpv6IspCityNodes["+ i +"].Ips["+ j +"]"));
}
domainIpv6IspCityNode.setIps2(ips2);
domainIpv6IspCityNodes.add(domainIpv6IspCityNode);
}
describeDnsGtmMonitorAvailableConfigResponse.setDomainIpv6IspCityNodes(domainIpv6IspCityNodes);
List<Ipv6IspCityNode> ipv6IspCityNodes = new ArrayList<Ipv6IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes.Length"); i++) {
Ipv6IspCityNode ipv6IspCityNode = new Ipv6IspCityNode();
ipv6IspCityNode.setCityCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].CityCode"));
ipv6IspCityNode.setGroupName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].GroupName"));
ipv6IspCityNode.setIspCode(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].IspCode"));
ipv6IspCityNode.setCityName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].CityName"));
ipv6IspCityNode.setIspName(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].IspName"));
ipv6IspCityNode.setGroupType(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].GroupType"));
ipv6IspCityNode.setDefaultSelected(_ctx.booleanValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].DefaultSelected"));
List<String> ips3 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].Ips.Length"); j++) {
ips3.add(_ctx.stringValue("DescribeDnsGtmMonitorAvailableConfigResponse.Ipv6IspCityNodes["+ i +"].Ips["+ j +"]"));
}
ipv6IspCityNode.setIps3(ips3);
ipv6IspCityNodes.add(ipv6IspCityNode);
}
describeDnsGtmMonitorAvailableConfigResponse.setIpv6IspCityNodes(ipv6IspCityNodes);
return describeDnsGtmMonitorAvailableConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsGtmMonitorConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorConfigResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsGtmMonitorConfigResponse.IspCityNode;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsGtmMonitorConfigResponseUnmarshaller {
public static DescribeDnsGtmMonitorConfigResponse unmarshall(DescribeDnsGtmMonitorConfigResponse describeDnsGtmMonitorConfigResponse, UnmarshallerContext _ctx) {
describeDnsGtmMonitorConfigResponse.setRequestId(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.RequestId"));
describeDnsGtmMonitorConfigResponse.setTimeout(_ctx.integerValue("DescribeDnsGtmMonitorConfigResponse.Timeout"));
describeDnsGtmMonitorConfigResponse.setProtocolType(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.ProtocolType"));
describeDnsGtmMonitorConfigResponse.setCreateTime(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.CreateTime"));
describeDnsGtmMonitorConfigResponse.setUpdateTime(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.UpdateTime"));
describeDnsGtmMonitorConfigResponse.setEvaluationCount(_ctx.integerValue("DescribeDnsGtmMonitorConfigResponse.EvaluationCount"));
describeDnsGtmMonitorConfigResponse.setUpdateTimestamp(_ctx.longValue("DescribeDnsGtmMonitorConfigResponse.UpdateTimestamp"));
describeDnsGtmMonitorConfigResponse.setMonitorExtendInfo(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.MonitorExtendInfo"));
describeDnsGtmMonitorConfigResponse.setMonitorConfigId(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.MonitorConfigId"));
describeDnsGtmMonitorConfigResponse.setCreateTimestamp(_ctx.longValue("DescribeDnsGtmMonitorConfigResponse.CreateTimestamp"));
describeDnsGtmMonitorConfigResponse.setInterval(_ctx.integerValue("DescribeDnsGtmMonitorConfigResponse.Interval"));
List<IspCityNode> ispCityNodes = new ArrayList<IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes.Length"); i++) {
IspCityNode ispCityNode = new IspCityNode();
ispCityNode.setCityCode(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes["+ i +"].CityCode"));
ispCityNode.setCountryName(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes["+ i +"].CountryName"));
ispCityNode.setIspCode(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes["+ i +"].IspCode"));
ispCityNode.setCityName(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes["+ i +"].CityName"));
ispCityNode.setCountryCode(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes["+ i +"].CountryCode"));
ispCityNode.setIspName(_ctx.stringValue("DescribeDnsGtmMonitorConfigResponse.IspCityNodes["+ i +"].IspName"));
ispCityNodes.add(ispCityNode);
}
describeDnsGtmMonitorConfigResponse.setIspCityNodes(ispCityNodes);
return describeDnsGtmMonitorConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsProductInstanceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsProductInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsProductInstanceResponseUnmarshaller {
public static DescribeDnsProductInstanceResponse unmarshall(DescribeDnsProductInstanceResponse describeDnsProductInstanceResponse, UnmarshallerContext _ctx) {
describeDnsProductInstanceResponse.setRequestId(_ctx.stringValue("DescribeDnsProductInstanceResponse.RequestId"));
describeDnsProductInstanceResponse.setMonitorNodeCount(_ctx.longValue("DescribeDnsProductInstanceResponse.MonitorNodeCount"));
describeDnsProductInstanceResponse.setInBlackHole(_ctx.booleanValue("DescribeDnsProductInstanceResponse.InBlackHole"));
describeDnsProductInstanceResponse.setBindDomainCount(_ctx.longValue("DescribeDnsProductInstanceResponse.BindDomainCount"));
describeDnsProductInstanceResponse.setRegionLines(_ctx.booleanValue("DescribeDnsProductInstanceResponse.RegionLines"));
describeDnsProductInstanceResponse.setBindCount(_ctx.longValue("DescribeDnsProductInstanceResponse.BindCount"));
describeDnsProductInstanceResponse.setEndTime(_ctx.stringValue("DescribeDnsProductInstanceResponse.EndTime"));
describeDnsProductInstanceResponse.setStartTimestamp(_ctx.longValue("DescribeDnsProductInstanceResponse.StartTimestamp"));
describeDnsProductInstanceResponse.setISPLines(_ctx.stringValue("DescribeDnsProductInstanceResponse.ISPLines"));
describeDnsProductInstanceResponse.setEndTimestamp(_ctx.longValue("DescribeDnsProductInstanceResponse.EndTimestamp"));
describeDnsProductInstanceResponse.setDDosDefendQuery(_ctx.longValue("DescribeDnsProductInstanceResponse.DDosDefendQuery"));
describeDnsProductInstanceResponse.setDnsSecurity(_ctx.stringValue("DescribeDnsProductInstanceResponse.DnsSecurity"));
describeDnsProductInstanceResponse.setDomainType(_ctx.stringValue("DescribeDnsProductInstanceResponse.DomainType"));
describeDnsProductInstanceResponse.setURLForwardCount(_ctx.longValue("DescribeDnsProductInstanceResponse.URLForwardCount"));
describeDnsProductInstanceResponse.setTTLMinValue(_ctx.longValue("DescribeDnsProductInstanceResponse.TTLMinValue"));
describeDnsProductInstanceResponse.setPaymentType(_ctx.stringValue("DescribeDnsProductInstanceResponse.PaymentType"));
describeDnsProductInstanceResponse.setVersionName(_ctx.stringValue("DescribeDnsProductInstanceResponse.VersionName"));
describeDnsProductInstanceResponse.setOverseaLine(_ctx.stringValue("DescribeDnsProductInstanceResponse.OverseaLine"));
describeDnsProductInstanceResponse.setISPRegionLines(_ctx.stringValue("DescribeDnsProductInstanceResponse.ISPRegionLines"));
describeDnsProductInstanceResponse.setGslb(_ctx.booleanValue("DescribeDnsProductInstanceResponse.Gslb"));
describeDnsProductInstanceResponse.setBindUsedCount(_ctx.longValue("DescribeDnsProductInstanceResponse.BindUsedCount"));
describeDnsProductInstanceResponse.setDnsSLBCount(_ctx.longValue("DescribeDnsProductInstanceResponse.DnsSLBCount"));
describeDnsProductInstanceResponse.setInstanceId(_ctx.stringValue("DescribeDnsProductInstanceResponse.InstanceId"));
describeDnsProductInstanceResponse.setMonitorTaskCount(_ctx.longValue("DescribeDnsProductInstanceResponse.MonitorTaskCount"));
describeDnsProductInstanceResponse.setStartTime(_ctx.stringValue("DescribeDnsProductInstanceResponse.StartTime"));
describeDnsProductInstanceResponse.setDDosDefendFlow(_ctx.longValue("DescribeDnsProductInstanceResponse.DDosDefendFlow"));
describeDnsProductInstanceResponse.setMonitorFrequency(_ctx.longValue("DescribeDnsProductInstanceResponse.MonitorFrequency"));
describeDnsProductInstanceResponse.setSearchEngineLines(_ctx.stringValue("DescribeDnsProductInstanceResponse.SearchEngineLines"));
describeDnsProductInstanceResponse.setBindDomainUsedCount(_ctx.longValue("DescribeDnsProductInstanceResponse.BindDomainUsedCount"));
describeDnsProductInstanceResponse.setVersionCode(_ctx.stringValue("DescribeDnsProductInstanceResponse.VersionCode"));
describeDnsProductInstanceResponse.setOverseaDDosDefendFlow(_ctx.longValue("DescribeDnsProductInstanceResponse.OverseaDDosDefendFlow"));
describeDnsProductInstanceResponse.setInClean(_ctx.booleanValue("DescribeDnsProductInstanceResponse.InClean"));
describeDnsProductInstanceResponse.setSubDomainLevel(_ctx.longValue("DescribeDnsProductInstanceResponse.SubDomainLevel"));
describeDnsProductInstanceResponse.setDomain(_ctx.stringValue("DescribeDnsProductInstanceResponse.Domain"));
List<String> dnsServers = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsProductInstanceResponse.DnsServers.Length"); i++) {
dnsServers.add(_ctx.stringValue("DescribeDnsProductInstanceResponse.DnsServers["+ i +"]"));
}
describeDnsProductInstanceResponse.setDnsServers(dnsServers);
return describeDnsProductInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDnsProductInstancesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsProductInstancesResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDnsProductInstancesResponse.DnsProduct;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDnsProductInstancesResponseUnmarshaller {
public static DescribeDnsProductInstancesResponse unmarshall(DescribeDnsProductInstancesResponse describeDnsProductInstancesResponse, UnmarshallerContext _ctx) {
describeDnsProductInstancesResponse.setRequestId(_ctx.stringValue("DescribeDnsProductInstancesResponse.RequestId"));
describeDnsProductInstancesResponse.setTotalCount(_ctx.longValue("DescribeDnsProductInstancesResponse.TotalCount"));
describeDnsProductInstancesResponse.setDomainType(_ctx.stringValue("DescribeDnsProductInstancesResponse.DomainType"));
describeDnsProductInstancesResponse.setPageSize(_ctx.longValue("DescribeDnsProductInstancesResponse.PageSize"));
describeDnsProductInstancesResponse.setPageNumber(_ctx.longValue("DescribeDnsProductInstancesResponse.PageNumber"));
List<DnsProduct> dnsProducts = new ArrayList<DnsProduct>();
for (int i = 0; i < _ctx.lengthValue("DescribeDnsProductInstancesResponse.DnsProducts.Length"); i++) {
DnsProduct dnsProduct = new DnsProduct();
dnsProduct.setOverseaLine(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].OverseaLine"));
dnsProduct.setPaymentType(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].PaymentType"));
dnsProduct.setMonitorNodeCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].MonitorNodeCount"));
dnsProduct.setInBlackHole(_ctx.booleanValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].InBlackHole"));
dnsProduct.setBindDomainUsedCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].BindDomainUsedCount"));
dnsProduct.setISPRegionLines(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].ISPRegionLines"));
dnsProduct.setTTLMinValue(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].TTLMinValue"));
dnsProduct.setISPLines(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].ISPLines"));
dnsProduct.setSearchEngineLines(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].SearchEngineLines"));
dnsProduct.setEndTimestamp(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].EndTimestamp"));
dnsProduct.setVersionName(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].VersionName"));
dnsProduct.setVersionCode(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].VersionCode"));
dnsProduct.setMonitorTaskCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].MonitorTaskCount"));
dnsProduct.setBindUsedCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].BindUsedCount"));
dnsProduct.setDomain(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].Domain"));
dnsProduct.setMonitorFrequency(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].MonitorFrequency"));
dnsProduct.setInClean(_ctx.booleanValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].InClean"));
dnsProduct.setURLForwardCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].URLForwardCount"));
dnsProduct.setStartTimestamp(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].StartTimestamp"));
dnsProduct.setDDosDefendQuery(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].DDosDefendQuery"));
dnsProduct.setInstanceId(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].InstanceId"));
dnsProduct.setDDosDefendFlow(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].DDosDefendFlow"));
dnsProduct.setBindCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].BindCount"));
dnsProduct.setSubDomainLevel(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].SubDomainLevel"));
dnsProduct.setBindDomainCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].BindDomainCount"));
dnsProduct.setEndTime(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].EndTime"));
dnsProduct.setStartTime(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].StartTime"));
dnsProduct.setOverseaDDosDefendFlow(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].OverseaDDosDefendFlow"));
dnsProduct.setRegionLines(_ctx.booleanValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].RegionLines"));
dnsProduct.setGslb(_ctx.booleanValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].Gslb"));
dnsProduct.setDnsSecurity(_ctx.stringValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].DnsSecurity"));
dnsProduct.setDnsSLBCount(_ctx.longValue("DescribeDnsProductInstancesResponse.DnsProducts["+ i +"].DnsSLBCount"));
dnsProducts.add(dnsProduct);
}
describeDnsProductInstancesResponse.setDnsProducts(dnsProducts);
return describeDnsProductInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDohAccountStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDohAccountStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDohAccountStatisticsResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDohAccountStatisticsResponseUnmarshaller {
public static DescribeDohAccountStatisticsResponse unmarshall(DescribeDohAccountStatisticsResponse describeDohAccountStatisticsResponse, UnmarshallerContext _ctx) {
describeDohAccountStatisticsResponse.setRequestId(_ctx.stringValue("DescribeDohAccountStatisticsResponse.RequestId"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDohAccountStatisticsResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setV6HttpCount(_ctx.longValue("DescribeDohAccountStatisticsResponse.Statistics["+ i +"].V6HttpCount"));
statistic.setV4HttpsCount(_ctx.longValue("DescribeDohAccountStatisticsResponse.Statistics["+ i +"].V4HttpsCount"));
statistic.setTimestamp(_ctx.longValue("DescribeDohAccountStatisticsResponse.Statistics["+ i +"].Timestamp"));
statistic.setTotalCount(_ctx.longValue("DescribeDohAccountStatisticsResponse.Statistics["+ i +"].TotalCount"));
statistic.setV4HttpCount(_ctx.longValue("DescribeDohAccountStatisticsResponse.Statistics["+ i +"].V4HttpCount"));
statistic.setV6HttpsCount(_ctx.longValue("DescribeDohAccountStatisticsResponse.Statistics["+ i +"].V6HttpsCount"));
statistics.add(statistic);
}
describeDohAccountStatisticsResponse.setStatistics(statistics);
return describeDohAccountStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDohDomainStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDohDomainStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDohDomainStatisticsResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDohDomainStatisticsResponseUnmarshaller {
public static DescribeDohDomainStatisticsResponse unmarshall(DescribeDohDomainStatisticsResponse describeDohDomainStatisticsResponse, UnmarshallerContext _ctx) {
describeDohDomainStatisticsResponse.setRequestId(_ctx.stringValue("DescribeDohDomainStatisticsResponse.RequestId"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDohDomainStatisticsResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setV6HttpCount(_ctx.longValue("DescribeDohDomainStatisticsResponse.Statistics["+ i +"].V6HttpCount"));
statistic.setV4HttpsCount(_ctx.longValue("DescribeDohDomainStatisticsResponse.Statistics["+ i +"].V4HttpsCount"));
statistic.setTimestamp(_ctx.longValue("DescribeDohDomainStatisticsResponse.Statistics["+ i +"].Timestamp"));
statistic.setTotalCount(_ctx.longValue("DescribeDohDomainStatisticsResponse.Statistics["+ i +"].TotalCount"));
statistic.setV4HttpCount(_ctx.longValue("DescribeDohDomainStatisticsResponse.Statistics["+ i +"].V4HttpCount"));
statistic.setV6HttpsCount(_ctx.longValue("DescribeDohDomainStatisticsResponse.Statistics["+ i +"].V6HttpsCount"));
statistics.add(statistic);
}
describeDohDomainStatisticsResponse.setStatistics(statistics);
return describeDohDomainStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDohDomainStatisticsSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDohDomainStatisticsSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDohDomainStatisticsSummaryResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDohDomainStatisticsSummaryResponseUnmarshaller {
public static DescribeDohDomainStatisticsSummaryResponse unmarshall(DescribeDohDomainStatisticsSummaryResponse describeDohDomainStatisticsSummaryResponse, UnmarshallerContext _ctx) {
describeDohDomainStatisticsSummaryResponse.setRequestId(_ctx.stringValue("DescribeDohDomainStatisticsSummaryResponse.RequestId"));
describeDohDomainStatisticsSummaryResponse.setPageSize(_ctx.integerValue("DescribeDohDomainStatisticsSummaryResponse.PageSize"));
describeDohDomainStatisticsSummaryResponse.setPageNumber(_ctx.integerValue("DescribeDohDomainStatisticsSummaryResponse.PageNumber"));
describeDohDomainStatisticsSummaryResponse.setTotalPages(_ctx.integerValue("DescribeDohDomainStatisticsSummaryResponse.TotalPages"));
describeDohDomainStatisticsSummaryResponse.setTotalItems(_ctx.integerValue("DescribeDohDomainStatisticsSummaryResponse.TotalItems"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDohDomainStatisticsSummaryResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setV6HttpCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].V6HttpCount"));
statistic.setV4HttpsCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].V4HttpsCount"));
statistic.setIpCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].IpCount"));
statistic.setTotalCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].TotalCount"));
statistic.setHttpCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].HttpCount"));
statistic.setDomainName(_ctx.stringValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].DomainName"));
statistic.setHttpsCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].HttpsCount"));
statistic.setV4HttpCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].V4HttpCount"));
statistic.setV6HttpsCount(_ctx.longValue("DescribeDohDomainStatisticsSummaryResponse.Statistics["+ i +"].V6HttpsCount"));
statistics.add(statistic);
}
describeDohDomainStatisticsSummaryResponse.setStatistics(statistics);
return describeDohDomainStatisticsSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDohSubDomainStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDohSubDomainStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDohSubDomainStatisticsResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDohSubDomainStatisticsResponseUnmarshaller {
public static DescribeDohSubDomainStatisticsResponse unmarshall(DescribeDohSubDomainStatisticsResponse describeDohSubDomainStatisticsResponse, UnmarshallerContext _ctx) {
describeDohSubDomainStatisticsResponse.setRequestId(_ctx.stringValue("DescribeDohSubDomainStatisticsResponse.RequestId"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDohSubDomainStatisticsResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setV6HttpCount(_ctx.longValue("DescribeDohSubDomainStatisticsResponse.Statistics["+ i +"].V6HttpCount"));
statistic.setV4HttpsCount(_ctx.longValue("DescribeDohSubDomainStatisticsResponse.Statistics["+ i +"].V4HttpsCount"));
statistic.setTimestamp(_ctx.longValue("DescribeDohSubDomainStatisticsResponse.Statistics["+ i +"].Timestamp"));
statistic.setTotalCount(_ctx.longValue("DescribeDohSubDomainStatisticsResponse.Statistics["+ i +"].TotalCount"));
statistic.setV4HttpCount(_ctx.longValue("DescribeDohSubDomainStatisticsResponse.Statistics["+ i +"].V4HttpCount"));
statistic.setV6HttpsCount(_ctx.longValue("DescribeDohSubDomainStatisticsResponse.Statistics["+ i +"].V6HttpsCount"));
statistics.add(statistic);
}
describeDohSubDomainStatisticsResponse.setStatistics(statistics);
return describeDohSubDomainStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDohSubDomainStatisticsSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDohSubDomainStatisticsSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDohSubDomainStatisticsSummaryResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDohSubDomainStatisticsSummaryResponseUnmarshaller {
public static DescribeDohSubDomainStatisticsSummaryResponse unmarshall(DescribeDohSubDomainStatisticsSummaryResponse describeDohSubDomainStatisticsSummaryResponse, UnmarshallerContext _ctx) {
describeDohSubDomainStatisticsSummaryResponse.setRequestId(_ctx.stringValue("DescribeDohSubDomainStatisticsSummaryResponse.RequestId"));
describeDohSubDomainStatisticsSummaryResponse.setPageSize(_ctx.integerValue("DescribeDohSubDomainStatisticsSummaryResponse.PageSize"));
describeDohSubDomainStatisticsSummaryResponse.setPageNumber(_ctx.integerValue("DescribeDohSubDomainStatisticsSummaryResponse.PageNumber"));
describeDohSubDomainStatisticsSummaryResponse.setTotalPages(_ctx.integerValue("DescribeDohSubDomainStatisticsSummaryResponse.TotalPages"));
describeDohSubDomainStatisticsSummaryResponse.setTotalItems(_ctx.integerValue("DescribeDohSubDomainStatisticsSummaryResponse.TotalItems"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setV6HttpCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].V6HttpCount"));
statistic.setV4HttpsCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].V4HttpsCount"));
statistic.setIpCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].IpCount"));
statistic.setSubDomain(_ctx.stringValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].SubDomain"));
statistic.setTotalCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].TotalCount"));
statistic.setHttpCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].HttpCount"));
statistic.setHttpsCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].HttpsCount"));
statistic.setV4HttpCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].V4HttpCount"));
statistic.setV6HttpsCount(_ctx.longValue("DescribeDohSubDomainStatisticsSummaryResponse.Statistics["+ i +"].V6HttpsCount"));
statistics.add(statistic);
}
describeDohSubDomainStatisticsSummaryResponse.setStatistics(statistics);
return describeDohSubDomainStatisticsSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDohUserInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeDohUserInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDohUserInfoResponseUnmarshaller {
public static DescribeDohUserInfoResponse unmarshall(DescribeDohUserInfoResponse describeDohUserInfoResponse, UnmarshallerContext _ctx) {
describeDohUserInfoResponse.setRequestId(_ctx.stringValue("DescribeDohUserInfoResponse.RequestId"));
describeDohUserInfoResponse.setSubDomainCount(_ctx.integerValue("DescribeDohUserInfoResponse.SubDomainCount"));
describeDohUserInfoResponse.setPdnsId(_ctx.longValue("DescribeDohUserInfoResponse.PdnsId"));
describeDohUserInfoResponse.setDomainCount(_ctx.integerValue("DescribeDohUserInfoResponse.DomainCount"));
return describeDohUserInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainDnssecInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainDnssecInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainDnssecInfoResponseUnmarshaller {
public static DescribeDomainDnssecInfoResponse unmarshall(DescribeDomainDnssecInfoResponse describeDomainDnssecInfoResponse, UnmarshallerContext _ctx) {
describeDomainDnssecInfoResponse.setRequestId(_ctx.stringValue("DescribeDomainDnssecInfoResponse.RequestId"));
describeDomainDnssecInfoResponse.setStatus(_ctx.stringValue("DescribeDomainDnssecInfoResponse.Status"));
describeDomainDnssecInfoResponse.setDigest(_ctx.stringValue("DescribeDomainDnssecInfoResponse.Digest"));
describeDomainDnssecInfoResponse.setDomainName(_ctx.stringValue("DescribeDomainDnssecInfoResponse.DomainName"));
describeDomainDnssecInfoResponse.setPublicKey(_ctx.stringValue("DescribeDomainDnssecInfoResponse.PublicKey"));
describeDomainDnssecInfoResponse.setDigestType(_ctx.stringValue("DescribeDomainDnssecInfoResponse.DigestType"));
describeDomainDnssecInfoResponse.setDsRecord(_ctx.stringValue("DescribeDomainDnssecInfoResponse.DsRecord"));
describeDomainDnssecInfoResponse.setKeyTag(_ctx.stringValue("DescribeDomainDnssecInfoResponse.KeyTag"));
describeDomainDnssecInfoResponse.setFlags(_ctx.stringValue("DescribeDomainDnssecInfoResponse.Flags"));
describeDomainDnssecInfoResponse.setAlgorithm(_ctx.stringValue("DescribeDomainDnssecInfoResponse.Algorithm"));
return describeDomainDnssecInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainGroupsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainGroupsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainGroupsResponse.DomainGroup;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainGroupsResponseUnmarshaller {
public static DescribeDomainGroupsResponse unmarshall(DescribeDomainGroupsResponse describeDomainGroupsResponse, UnmarshallerContext _ctx) {
describeDomainGroupsResponse.setRequestId(_ctx.stringValue("DescribeDomainGroupsResponse.RequestId"));
describeDomainGroupsResponse.setTotalCount(_ctx.longValue("DescribeDomainGroupsResponse.TotalCount"));
describeDomainGroupsResponse.setPageSize(_ctx.longValue("DescribeDomainGroupsResponse.PageSize"));
describeDomainGroupsResponse.setPageNumber(_ctx.longValue("DescribeDomainGroupsResponse.PageNumber"));
List<DomainGroup> domainGroups = new ArrayList<DomainGroup>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainGroupsResponse.DomainGroups.Length"); i++) {
DomainGroup domainGroup = new DomainGroup();
domainGroup.setGroupId(_ctx.stringValue("DescribeDomainGroupsResponse.DomainGroups["+ i +"].GroupId"));
domainGroup.setGroupName(_ctx.stringValue("DescribeDomainGroupsResponse.DomainGroups["+ i +"].GroupName"));
domainGroup.setDomainCount(_ctx.longValue("DescribeDomainGroupsResponse.DomainGroups["+ i +"].DomainCount"));
domainGroups.add(domainGroup);
}
describeDomainGroupsResponse.setDomainGroups(domainGroups);
return describeDomainGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainInfoResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainInfoResponse.RecordLine;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainInfoResponseUnmarshaller {
public static DescribeDomainInfoResponse unmarshall(DescribeDomainInfoResponse describeDomainInfoResponse, UnmarshallerContext _ctx) {
describeDomainInfoResponse.setRequestId(_ctx.stringValue("DescribeDomainInfoResponse.RequestId"));
describeDomainInfoResponse.setRecordLineTreeJson(_ctx.stringValue("DescribeDomainInfoResponse.RecordLineTreeJson"));
describeDomainInfoResponse.setGroupName(_ctx.stringValue("DescribeDomainInfoResponse.GroupName"));
describeDomainInfoResponse.setInBlackHole(_ctx.booleanValue("DescribeDomainInfoResponse.InBlackHole"));
describeDomainInfoResponse.setRegionLines(_ctx.booleanValue("DescribeDomainInfoResponse.RegionLines"));
describeDomainInfoResponse.setSlaveDns(_ctx.booleanValue("DescribeDomainInfoResponse.SlaveDns"));
describeDomainInfoResponse.setAliDomain(_ctx.booleanValue("DescribeDomainInfoResponse.AliDomain"));
describeDomainInfoResponse.setResourceGroupId(_ctx.stringValue("DescribeDomainInfoResponse.ResourceGroupId"));
describeDomainInfoResponse.setInstanceId(_ctx.stringValue("DescribeDomainInfoResponse.InstanceId"));
describeDomainInfoResponse.setDomainName(_ctx.stringValue("DescribeDomainInfoResponse.DomainName"));
describeDomainInfoResponse.setCreateTime(_ctx.stringValue("DescribeDomainInfoResponse.CreateTime"));
describeDomainInfoResponse.setPunyCode(_ctx.stringValue("DescribeDomainInfoResponse.PunyCode"));
describeDomainInfoResponse.setRemark(_ctx.stringValue("DescribeDomainInfoResponse.Remark"));
describeDomainInfoResponse.setGroupId(_ctx.stringValue("DescribeDomainInfoResponse.GroupId"));
describeDomainInfoResponse.setVersionCode(_ctx.stringValue("DescribeDomainInfoResponse.VersionCode"));
describeDomainInfoResponse.setDomainId(_ctx.stringValue("DescribeDomainInfoResponse.DomainId"));
describeDomainInfoResponse.setMinTtl(_ctx.longValue("DescribeDomainInfoResponse.MinTtl"));
describeDomainInfoResponse.setInClean(_ctx.booleanValue("DescribeDomainInfoResponse.InClean"));
describeDomainInfoResponse.setVersionName(_ctx.stringValue("DescribeDomainInfoResponse.VersionName"));
describeDomainInfoResponse.setLineType(_ctx.stringValue("DescribeDomainInfoResponse.LineType"));
List<String> dnsServers = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainInfoResponse.DnsServers.Length"); i++) {
dnsServers.add(_ctx.stringValue("DescribeDomainInfoResponse.DnsServers["+ i +"]"));
}
describeDomainInfoResponse.setDnsServers(dnsServers);
List<String> availableTtls = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainInfoResponse.AvailableTtls.Length"); i++) {
availableTtls.add(_ctx.stringValue("DescribeDomainInfoResponse.AvailableTtls["+ i +"]"));
}
describeDomainInfoResponse.setAvailableTtls(availableTtls);
List<RecordLine> recordLines = new ArrayList<RecordLine>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainInfoResponse.RecordLines.Length"); i++) {
RecordLine recordLine = new RecordLine();
recordLine.setFatherCode(_ctx.stringValue("DescribeDomainInfoResponse.RecordLines["+ i +"].FatherCode"));
recordLine.setLineDisplayName(_ctx.stringValue("DescribeDomainInfoResponse.RecordLines["+ i +"].LineDisplayName"));
recordLine.setLineCode(_ctx.stringValue("DescribeDomainInfoResponse.RecordLines["+ i +"].LineCode"));
recordLine.setLineName(_ctx.stringValue("DescribeDomainInfoResponse.RecordLines["+ i +"].LineName"));
recordLines.add(recordLine);
}
describeDomainInfoResponse.setRecordLines(recordLines);
return describeDomainInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainLogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainLogsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainLogsResponse.DomainLog;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainLogsResponseUnmarshaller {
public static DescribeDomainLogsResponse unmarshall(DescribeDomainLogsResponse describeDomainLogsResponse, UnmarshallerContext _ctx) {
describeDomainLogsResponse.setRequestId(_ctx.stringValue("DescribeDomainLogsResponse.RequestId"));
describeDomainLogsResponse.setTotalCount(_ctx.longValue("DescribeDomainLogsResponse.TotalCount"));
describeDomainLogsResponse.setPageSize(_ctx.longValue("DescribeDomainLogsResponse.PageSize"));
describeDomainLogsResponse.setPageNumber(_ctx.longValue("DescribeDomainLogsResponse.PageNumber"));
List<DomainLog> domainLogs = new ArrayList<DomainLog>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainLogsResponse.DomainLogs.Length"); i++) {
DomainLog domainLog = new DomainLog();
domainLog.setAction(_ctx.stringValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].Action"));
domainLog.setActionTimestamp(_ctx.longValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].ActionTimestamp"));
domainLog.setZoneId(_ctx.stringValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].ZoneId"));
domainLog.setClientIp(_ctx.stringValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].ClientIp"));
domainLog.setMessage(_ctx.stringValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].Message"));
domainLog.setActionTime(_ctx.stringValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].ActionTime"));
domainLog.setDomainName(_ctx.stringValue("DescribeDomainLogsResponse.DomainLogs["+ i +"].DomainName"));
domainLogs.add(domainLog);
}
describeDomainLogsResponse.setDomainLogs(domainLogs);
return describeDomainLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainNsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainNsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainNsResponseUnmarshaller {
public static DescribeDomainNsResponse unmarshall(DescribeDomainNsResponse describeDomainNsResponse, UnmarshallerContext _ctx) {
describeDomainNsResponse.setRequestId(_ctx.stringValue("DescribeDomainNsResponse.RequestId"));
describeDomainNsResponse.setAllAliDns(_ctx.booleanValue("DescribeDomainNsResponse.AllAliDns"));
describeDomainNsResponse.setIncludeAliDns(_ctx.booleanValue("DescribeDomainNsResponse.IncludeAliDns"));
describeDomainNsResponse.setDetectFailedReasonCode(_ctx.stringValue("DescribeDomainNsResponse.DetectFailedReasonCode"));
List<String> expectDnsServers = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainNsResponse.ExpectDnsServers.Length"); i++) {
expectDnsServers.add(_ctx.stringValue("DescribeDomainNsResponse.ExpectDnsServers["+ i +"]"));
}
describeDomainNsResponse.setExpectDnsServers(expectDnsServers);
List<String> dnsServers = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainNsResponse.DnsServers.Length"); i++) {
dnsServers.add(_ctx.stringValue("DescribeDomainNsResponse.DnsServers["+ i +"]"));
}
describeDomainNsResponse.setDnsServers(dnsServers);
return describeDomainNsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainRecordInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainRecordInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainRecordInfoResponseUnmarshaller {
public static DescribeDomainRecordInfoResponse unmarshall(DescribeDomainRecordInfoResponse describeDomainRecordInfoResponse, UnmarshallerContext _ctx) {
describeDomainRecordInfoResponse.setRequestId(_ctx.stringValue("DescribeDomainRecordInfoResponse.RequestId"));
describeDomainRecordInfoResponse.setStatus(_ctx.stringValue("DescribeDomainRecordInfoResponse.Status"));
describeDomainRecordInfoResponse.setRR(_ctx.stringValue("DescribeDomainRecordInfoResponse.RR"));
describeDomainRecordInfoResponse.setGroupName(_ctx.stringValue("DescribeDomainRecordInfoResponse.GroupName"));
describeDomainRecordInfoResponse.setDomainName(_ctx.stringValue("DescribeDomainRecordInfoResponse.DomainName"));
describeDomainRecordInfoResponse.setPriority(_ctx.longValue("DescribeDomainRecordInfoResponse.Priority"));
describeDomainRecordInfoResponse.setPunyCode(_ctx.stringValue("DescribeDomainRecordInfoResponse.PunyCode"));
describeDomainRecordInfoResponse.setTTL(_ctx.longValue("DescribeDomainRecordInfoResponse.TTL"));
describeDomainRecordInfoResponse.setGroupId(_ctx.stringValue("DescribeDomainRecordInfoResponse.GroupId"));
describeDomainRecordInfoResponse.setLine(_ctx.stringValue("DescribeDomainRecordInfoResponse.Line"));
describeDomainRecordInfoResponse.setLocked(_ctx.booleanValue("DescribeDomainRecordInfoResponse.Locked"));
describeDomainRecordInfoResponse.setType(_ctx.stringValue("DescribeDomainRecordInfoResponse.Type"));
describeDomainRecordInfoResponse.setDomainId(_ctx.stringValue("DescribeDomainRecordInfoResponse.DomainId"));
describeDomainRecordInfoResponse.setValue(_ctx.stringValue("DescribeDomainRecordInfoResponse.Value"));
describeDomainRecordInfoResponse.setRecordId(_ctx.stringValue("DescribeDomainRecordInfoResponse.RecordId"));
describeDomainRecordInfoResponse.setRemark(_ctx.stringValue("DescribeDomainRecordInfoResponse.Remark"));
return describeDomainRecordInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainRecordsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainRecordsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainRecordsResponse.Record;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainRecordsResponseUnmarshaller {
public static DescribeDomainRecordsResponse unmarshall(DescribeDomainRecordsResponse describeDomainRecordsResponse, UnmarshallerContext _ctx) {
describeDomainRecordsResponse.setRequestId(_ctx.stringValue("DescribeDomainRecordsResponse.RequestId"));
describeDomainRecordsResponse.setTotalCount(_ctx.longValue("DescribeDomainRecordsResponse.TotalCount"));
describeDomainRecordsResponse.setPageSize(_ctx.longValue("DescribeDomainRecordsResponse.PageSize"));
describeDomainRecordsResponse.setPageNumber(_ctx.longValue("DescribeDomainRecordsResponse.PageNumber"));
List<Record> domainRecords = new ArrayList<Record>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainRecordsResponse.DomainRecords.Length"); i++) {
Record record = new Record();
record.setStatus(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Status"));
record.setType(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Type"));
record.setRemark(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Remark"));
record.setTTL(_ctx.longValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].TTL"));
record.setRecordId(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].RecordId"));
record.setPriority(_ctx.longValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Priority"));
record.setRR(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].RR"));
record.setDomainName(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].DomainName"));
record.setWeight(_ctx.integerValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Weight"));
record.setValue(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Value"));
record.setLine(_ctx.stringValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Line"));
record.setLocked(_ctx.booleanValue("DescribeDomainRecordsResponse.DomainRecords["+ i +"].Locked"));
domainRecords.add(record);
}
describeDomainRecordsResponse.setDomainRecords(domainRecords);
return describeDomainRecordsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainResolveStatisticsSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainResolveStatisticsSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainResolveStatisticsSummaryResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainResolveStatisticsSummaryResponseUnmarshaller {
public static DescribeDomainResolveStatisticsSummaryResponse unmarshall(DescribeDomainResolveStatisticsSummaryResponse describeDomainResolveStatisticsSummaryResponse, UnmarshallerContext _ctx) {
describeDomainResolveStatisticsSummaryResponse.setRequestId(_ctx.stringValue("DescribeDomainResolveStatisticsSummaryResponse.RequestId"));
describeDomainResolveStatisticsSummaryResponse.setPageSize(_ctx.integerValue("DescribeDomainResolveStatisticsSummaryResponse.PageSize"));
describeDomainResolveStatisticsSummaryResponse.setPageNumber(_ctx.integerValue("DescribeDomainResolveStatisticsSummaryResponse.PageNumber"));
describeDomainResolveStatisticsSummaryResponse.setTotalPages(_ctx.integerValue("DescribeDomainResolveStatisticsSummaryResponse.TotalPages"));
describeDomainResolveStatisticsSummaryResponse.setTotalItems(_ctx.integerValue("DescribeDomainResolveStatisticsSummaryResponse.TotalItems"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainResolveStatisticsSummaryResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setDomainName(_ctx.stringValue("DescribeDomainResolveStatisticsSummaryResponse.Statistics["+ i +"].DomainName"));
statistic.setCount(_ctx.stringValue("DescribeDomainResolveStatisticsSummaryResponse.Statistics["+ i +"].Count"));
statistic.setDomainType(_ctx.stringValue("DescribeDomainResolveStatisticsSummaryResponse.Statistics["+ i +"].DomainType"));
statistics.add(statistic);
}
describeDomainResolveStatisticsSummaryResponse.setStatistics(statistics);
return describeDomainResolveStatisticsSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainStatisticsResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainStatisticsResponseUnmarshaller {
public static DescribeDomainStatisticsResponse unmarshall(DescribeDomainStatisticsResponse describeDomainStatisticsResponse, UnmarshallerContext _ctx) {
describeDomainStatisticsResponse.setRequestId(_ctx.stringValue("DescribeDomainStatisticsResponse.RequestId"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainStatisticsResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setTimestamp(_ctx.longValue("DescribeDomainStatisticsResponse.Statistics["+ i +"].Timestamp"));
statistic.setCount(_ctx.longValue("DescribeDomainStatisticsResponse.Statistics["+ i +"].Count"));
statistics.add(statistic);
}
describeDomainStatisticsResponse.setStatistics(statistics);
return describeDomainStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainStatisticsSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainStatisticsSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainStatisticsSummaryResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainStatisticsSummaryResponseUnmarshaller {
public static DescribeDomainStatisticsSummaryResponse unmarshall(DescribeDomainStatisticsSummaryResponse describeDomainStatisticsSummaryResponse, UnmarshallerContext _ctx) {
describeDomainStatisticsSummaryResponse.setRequestId(_ctx.stringValue("DescribeDomainStatisticsSummaryResponse.RequestId"));
describeDomainStatisticsSummaryResponse.setPageSize(_ctx.integerValue("DescribeDomainStatisticsSummaryResponse.PageSize"));
describeDomainStatisticsSummaryResponse.setPageNumber(_ctx.integerValue("DescribeDomainStatisticsSummaryResponse.PageNumber"));
describeDomainStatisticsSummaryResponse.setTotalPages(_ctx.integerValue("DescribeDomainStatisticsSummaryResponse.TotalPages"));
describeDomainStatisticsSummaryResponse.setTotalItems(_ctx.integerValue("DescribeDomainStatisticsSummaryResponse.TotalItems"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainStatisticsSummaryResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setDomainName(_ctx.stringValue("DescribeDomainStatisticsSummaryResponse.Statistics["+ i +"].DomainName"));
statistic.setCount(_ctx.longValue("DescribeDomainStatisticsSummaryResponse.Statistics["+ i +"].Count"));
statistic.setDomainType(_ctx.stringValue("DescribeDomainStatisticsSummaryResponse.Statistics["+ i +"].DomainType"));
statistics.add(statistic);
}
describeDomainStatisticsSummaryResponse.setStatistics(statistics);
return describeDomainStatisticsSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeDomainsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainsResponse.Domain;
import com.aliyuncs.alidns.model.v20150109.DescribeDomainsResponse.Domain.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainsResponseUnmarshaller {
public static DescribeDomainsResponse unmarshall(DescribeDomainsResponse describeDomainsResponse, UnmarshallerContext _ctx) {
describeDomainsResponse.setRequestId(_ctx.stringValue("DescribeDomainsResponse.RequestId"));
describeDomainsResponse.setTotalCount(_ctx.longValue("DescribeDomainsResponse.TotalCount"));
describeDomainsResponse.setPageSize(_ctx.longValue("DescribeDomainsResponse.PageSize"));
describeDomainsResponse.setPageNumber(_ctx.longValue("DescribeDomainsResponse.PageNumber"));
List<Domain> domains = new ArrayList<Domain>();
for (int i = 0; i < _ctx.lengthValue("DescribeDomainsResponse.Domains.Length"); i++) {
Domain domain = new Domain();
domain.setRemark(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].Remark"));
domain.setCreateTime(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].CreateTime"));
domain.setRecordCount(_ctx.longValue("DescribeDomainsResponse.Domains["+ i +"].RecordCount"));
domain.setInstanceId(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].InstanceId"));
domain.setDomainName(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].DomainName"));
domain.setDomainId(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].DomainId"));
domain.setAliDomain(_ctx.booleanValue("DescribeDomainsResponse.Domains["+ i +"].AliDomain"));
domain.setGroupId(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].GroupId"));
domain.setGroupName(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].GroupName"));
domain.setResourceGroupId(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].ResourceGroupId"));
domain.setInstanceEndTime(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].InstanceEndTime"));
domain.setInstanceExpired(_ctx.booleanValue("DescribeDomainsResponse.Domains["+ i +"].InstanceExpired"));
domain.setVersionName(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].VersionName"));
domain.setVersionCode(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].VersionCode"));
domain.setPunyCode(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].PunyCode"));
domain.setRegistrantEmail(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].RegistrantEmail"));
domain.setCreateTimestamp(_ctx.longValue("DescribeDomainsResponse.Domains["+ i +"].CreateTimestamp"));
domain.setStarmark(_ctx.booleanValue("DescribeDomainsResponse.Domains["+ i +"].Starmark"));
List<String> dnsServers = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDomainsResponse.Domains["+ i +"].DnsServers.Length"); j++) {
dnsServers.add(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].DnsServers["+ j +"]"));
}
domain.setDnsServers(dnsServers);
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("DescribeDomainsResponse.Domains["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("DescribeDomainsResponse.Domains["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
domain.setTags(tags);
domains.add(domain);
}
describeDomainsResponse.setDomains(domains);
return describeDomainsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmAccessStrategiesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategiesResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategiesResponse.Strategy;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategiesResponse.Strategy.Line;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmAccessStrategiesResponseUnmarshaller {
public static DescribeGtmAccessStrategiesResponse unmarshall(DescribeGtmAccessStrategiesResponse describeGtmAccessStrategiesResponse, UnmarshallerContext _ctx) {
describeGtmAccessStrategiesResponse.setRequestId(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.RequestId"));
describeGtmAccessStrategiesResponse.setPageSize(_ctx.integerValue("DescribeGtmAccessStrategiesResponse.PageSize"));
describeGtmAccessStrategiesResponse.setPageNumber(_ctx.integerValue("DescribeGtmAccessStrategiesResponse.PageNumber"));
describeGtmAccessStrategiesResponse.setTotalPages(_ctx.integerValue("DescribeGtmAccessStrategiesResponse.TotalPages"));
describeGtmAccessStrategiesResponse.setTotalItems(_ctx.integerValue("DescribeGtmAccessStrategiesResponse.TotalItems"));
List<Strategy> strategies = new ArrayList<Strategy>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmAccessStrategiesResponse.Strategies.Length"); i++) {
Strategy strategy = new Strategy();
strategy.setAccessMode(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].AccessMode"));
strategy.setStrategyName(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].StrategyName"));
strategy.setDefaultAddrPoolMonitorStatus(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].DefaultAddrPoolMonitorStatus"));
strategy.setStrategyMode(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].StrategyMode"));
strategy.setCreateTime(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].CreateTime"));
strategy.setDefaultAddrPoolStatus(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].DefaultAddrPoolStatus"));
strategy.setInstanceId(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].InstanceId"));
strategy.setFailoverAddrPoolId(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].FailoverAddrPoolId"));
strategy.setDefaultAddrPoolId(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].DefaultAddrPoolId"));
strategy.setStrategyId(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].StrategyId"));
strategy.setFailoverAddrPoolStatus(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].FailoverAddrPoolStatus"));
strategy.setAccessStatus(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].AccessStatus"));
strategy.setFailoverAddrPoolMonitorStatus(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].FailoverAddrPoolMonitorStatus"));
strategy.setDefaultAddrPoolName(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].DefaultAddrPoolName"));
strategy.setFailoverAddrPoolName(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].FailoverAddrPoolName"));
strategy.setCreateTimestamp(_ctx.longValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].CreateTimestamp"));
List<Line> lines = new ArrayList<Line>();
for (int j = 0; j < _ctx.lengthValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].Lines.Length"); j++) {
Line line = new Line();
line.setGroupName(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].Lines["+ j +"].GroupName"));
line.setLineCode(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].Lines["+ j +"].LineCode"));
line.setLineName(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].Lines["+ j +"].LineName"));
line.setGroupCode(_ctx.stringValue("DescribeGtmAccessStrategiesResponse.Strategies["+ i +"].Lines["+ j +"].GroupCode"));
lines.add(line);
}
strategy.setLines(lines);
strategies.add(strategy);
}
describeGtmAccessStrategiesResponse.setStrategies(strategies);
return describeGtmAccessStrategiesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmAccessStrategyAvailableConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategyAvailableConfigResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategyAvailableConfigResponse.AddrPool;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategyAvailableConfigResponse.Line;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmAccessStrategyAvailableConfigResponseUnmarshaller {
public static DescribeGtmAccessStrategyAvailableConfigResponse unmarshall(DescribeGtmAccessStrategyAvailableConfigResponse describeGtmAccessStrategyAvailableConfigResponse, UnmarshallerContext _ctx) {
describeGtmAccessStrategyAvailableConfigResponse.setRequestId(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.RequestId"));
describeGtmAccessStrategyAvailableConfigResponse.setSuggestSetDefaultLine(_ctx.booleanValue("DescribeGtmAccessStrategyAvailableConfigResponse.SuggestSetDefaultLine"));
List<AddrPool> addrPools = new ArrayList<AddrPool>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmAccessStrategyAvailableConfigResponse.AddrPools.Length"); i++) {
AddrPool addrPool = new AddrPool();
addrPool.setAddrPoolId(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.AddrPools["+ i +"].AddrPoolId"));
addrPool.setAddrPoolName(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.AddrPools["+ i +"].AddrPoolName"));
addrPools.add(addrPool);
}
describeGtmAccessStrategyAvailableConfigResponse.setAddrPools(addrPools);
List<Line> lines = new ArrayList<Line>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines.Length"); i++) {
Line line = new Line();
line.setStatus(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines["+ i +"].Status"));
line.setFatherCode(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines["+ i +"].FatherCode"));
line.setLineCode(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines["+ i +"].LineCode"));
line.setGroupName(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines["+ i +"].GroupName"));
line.setLineName(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines["+ i +"].LineName"));
line.setGroupCode(_ctx.stringValue("DescribeGtmAccessStrategyAvailableConfigResponse.Lines["+ i +"].GroupCode"));
lines.add(line);
}
describeGtmAccessStrategyAvailableConfigResponse.setLines(lines);
return describeGtmAccessStrategyAvailableConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmAccessStrategyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategyResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAccessStrategyResponse.Line;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmAccessStrategyResponseUnmarshaller {
public static DescribeGtmAccessStrategyResponse unmarshall(DescribeGtmAccessStrategyResponse describeGtmAccessStrategyResponse, UnmarshallerContext _ctx) {
describeGtmAccessStrategyResponse.setRequestId(_ctx.stringValue("DescribeGtmAccessStrategyResponse.RequestId"));
describeGtmAccessStrategyResponse.setInstanceId(_ctx.stringValue("DescribeGtmAccessStrategyResponse.InstanceId"));
describeGtmAccessStrategyResponse.setStrategyId(_ctx.stringValue("DescribeGtmAccessStrategyResponse.StrategyId"));
describeGtmAccessStrategyResponse.setDefaultAddrPoolStatus(_ctx.stringValue("DescribeGtmAccessStrategyResponse.DefaultAddrPoolStatus"));
describeGtmAccessStrategyResponse.setFailoverAddrPoolId(_ctx.stringValue("DescribeGtmAccessStrategyResponse.FailoverAddrPoolId"));
describeGtmAccessStrategyResponse.setAccessStatus(_ctx.stringValue("DescribeGtmAccessStrategyResponse.AccessStatus"));
describeGtmAccessStrategyResponse.setDefaultAddrPoolMonitorStatus(_ctx.stringValue("DescribeGtmAccessStrategyResponse.DefaultAddrPoolMonitorStatus"));
describeGtmAccessStrategyResponse.setDefaultAddrPoolName(_ctx.stringValue("DescribeGtmAccessStrategyResponse.DefaultAddrPoolName"));
describeGtmAccessStrategyResponse.setDefultAddrPoolId(_ctx.stringValue("DescribeGtmAccessStrategyResponse.DefultAddrPoolId"));
describeGtmAccessStrategyResponse.setStrategyName(_ctx.stringValue("DescribeGtmAccessStrategyResponse.StrategyName"));
describeGtmAccessStrategyResponse.setFailoverAddrPoolStatus(_ctx.stringValue("DescribeGtmAccessStrategyResponse.FailoverAddrPoolStatus"));
describeGtmAccessStrategyResponse.setAccessMode(_ctx.stringValue("DescribeGtmAccessStrategyResponse.AccessMode"));
describeGtmAccessStrategyResponse.setStrategyMode(_ctx.stringValue("DescribeGtmAccessStrategyResponse.StrategyMode"));
describeGtmAccessStrategyResponse.setFailoverAddrPoolMonitorStatus(_ctx.stringValue("DescribeGtmAccessStrategyResponse.FailoverAddrPoolMonitorStatus"));
describeGtmAccessStrategyResponse.setFailoverAddrPoolName(_ctx.stringValue("DescribeGtmAccessStrategyResponse.FailoverAddrPoolName"));
List<Line> lines = new ArrayList<Line>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmAccessStrategyResponse.Lines.Length"); i++) {
Line line = new Line();
line.setGroupName(_ctx.stringValue("DescribeGtmAccessStrategyResponse.Lines["+ i +"].GroupName"));
line.setLineCode(_ctx.stringValue("DescribeGtmAccessStrategyResponse.Lines["+ i +"].LineCode"));
line.setLineName(_ctx.stringValue("DescribeGtmAccessStrategyResponse.Lines["+ i +"].LineName"));
line.setGroupCode(_ctx.stringValue("DescribeGtmAccessStrategyResponse.Lines["+ i +"].GroupCode"));
lines.add(line);
}
describeGtmAccessStrategyResponse.setLines(lines);
return describeGtmAccessStrategyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmAvailableAlertGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmAvailableAlertGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmAvailableAlertGroupResponseUnmarshaller {
public static DescribeGtmAvailableAlertGroupResponse unmarshall(DescribeGtmAvailableAlertGroupResponse describeGtmAvailableAlertGroupResponse, UnmarshallerContext _ctx) {
describeGtmAvailableAlertGroupResponse.setRequestId(_ctx.stringValue("DescribeGtmAvailableAlertGroupResponse.RequestId"));
describeGtmAvailableAlertGroupResponse.setAvailableAlertGroup(_ctx.stringValue("DescribeGtmAvailableAlertGroupResponse.AvailableAlertGroup"));
return describeGtmAvailableAlertGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmInstanceAddressPoolResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceAddressPoolResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceAddressPoolResponse.Addr;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmInstanceAddressPoolResponseUnmarshaller {
public static DescribeGtmInstanceAddressPoolResponse unmarshall(DescribeGtmInstanceAddressPoolResponse describeGtmInstanceAddressPoolResponse, UnmarshallerContext _ctx) {
describeGtmInstanceAddressPoolResponse.setRequestId(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.RequestId"));
describeGtmInstanceAddressPoolResponse.setStatus(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Status"));
describeGtmInstanceAddressPoolResponse.setCreateTime(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.CreateTime"));
describeGtmInstanceAddressPoolResponse.setAddrCount(_ctx.integerValue("DescribeGtmInstanceAddressPoolResponse.AddrCount"));
describeGtmInstanceAddressPoolResponse.setName(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Name"));
describeGtmInstanceAddressPoolResponse.setType(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Type"));
describeGtmInstanceAddressPoolResponse.setUpdateTime(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.UpdateTime"));
describeGtmInstanceAddressPoolResponse.setAddrPoolId(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.AddrPoolId"));
describeGtmInstanceAddressPoolResponse.setUpdateTimestamp(_ctx.longValue("DescribeGtmInstanceAddressPoolResponse.UpdateTimestamp"));
describeGtmInstanceAddressPoolResponse.setMonitorConfigId(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.MonitorConfigId"));
describeGtmInstanceAddressPoolResponse.setMinAvailableAddrNum(_ctx.integerValue("DescribeGtmInstanceAddressPoolResponse.MinAvailableAddrNum"));
describeGtmInstanceAddressPoolResponse.setMonitorStatus(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.MonitorStatus"));
describeGtmInstanceAddressPoolResponse.setCreateTimestamp(_ctx.longValue("DescribeGtmInstanceAddressPoolResponse.CreateTimestamp"));
List<Addr> addrs = new ArrayList<Addr>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmInstanceAddressPoolResponse.Addrs.Length"); i++) {
Addr addr = new Addr();
addr.setValue(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].Value"));
addr.setUpdateTimestamp(_ctx.longValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].UpdateTimestamp"));
addr.setUpdateTime(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].UpdateTime"));
addr.setAlertStatus(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].AlertStatus"));
addr.setLbaWeight(_ctx.integerValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].LbaWeight"));
addr.setCreateTime(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].CreateTime"));
addr.setAddrId(_ctx.longValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].AddrId"));
addr.setMode(_ctx.stringValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].Mode"));
addr.setCreateTimestamp(_ctx.longValue("DescribeGtmInstanceAddressPoolResponse.Addrs["+ i +"].CreateTimestamp"));
addrs.add(addr);
}
describeGtmInstanceAddressPoolResponse.setAddrs(addrs);
return describeGtmInstanceAddressPoolResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmInstanceAddressPoolsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceAddressPoolsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceAddressPoolsResponse.AddrPool;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmInstanceAddressPoolsResponseUnmarshaller {
public static DescribeGtmInstanceAddressPoolsResponse unmarshall(DescribeGtmInstanceAddressPoolsResponse describeGtmInstanceAddressPoolsResponse, UnmarshallerContext _ctx) {
describeGtmInstanceAddressPoolsResponse.setRequestId(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.RequestId"));
describeGtmInstanceAddressPoolsResponse.setPageSize(_ctx.integerValue("DescribeGtmInstanceAddressPoolsResponse.PageSize"));
describeGtmInstanceAddressPoolsResponse.setPageNumber(_ctx.integerValue("DescribeGtmInstanceAddressPoolsResponse.PageNumber"));
describeGtmInstanceAddressPoolsResponse.setTotalPages(_ctx.integerValue("DescribeGtmInstanceAddressPoolsResponse.TotalPages"));
describeGtmInstanceAddressPoolsResponse.setTotalItems(_ctx.integerValue("DescribeGtmInstanceAddressPoolsResponse.TotalItems"));
List<AddrPool> addrPools = new ArrayList<AddrPool>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools.Length"); i++) {
AddrPool addrPool = new AddrPool();
addrPool.setType(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].Type"));
addrPool.setStatus(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].Status"));
addrPool.setUpdateTime(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].UpdateTime"));
addrPool.setCreateTime(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].CreateTime"));
addrPool.setMonitorConfigId(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].MonitorConfigId"));
addrPool.setMinAvailableAddrNum(_ctx.integerValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].MinAvailableAddrNum"));
addrPool.setUpdateTimestamp(_ctx.longValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].UpdateTimestamp"));
addrPool.setMonitorStatus(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].MonitorStatus"));
addrPool.setAddrPoolId(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].AddrPoolId"));
addrPool.setName(_ctx.stringValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].Name"));
addrPool.setAddrCount(_ctx.integerValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].AddrCount"));
addrPool.setCreateTimestamp(_ctx.longValue("DescribeGtmInstanceAddressPoolsResponse.AddrPools["+ i +"].CreateTimestamp"));
addrPools.add(addrPool);
}
describeGtmInstanceAddressPoolsResponse.setAddrPools(addrPools);
return describeGtmInstanceAddressPoolsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmInstanceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmInstanceResponseUnmarshaller {
public static DescribeGtmInstanceResponse unmarshall(DescribeGtmInstanceResponse describeGtmInstanceResponse, UnmarshallerContext _ctx) {
describeGtmInstanceResponse.setRequestId(_ctx.stringValue("DescribeGtmInstanceResponse.RequestId"));
describeGtmInstanceResponse.setExpireTimestamp(_ctx.longValue("DescribeGtmInstanceResponse.ExpireTimestamp"));
describeGtmInstanceResponse.setUserDomainName(_ctx.stringValue("DescribeGtmInstanceResponse.UserDomainName"));
describeGtmInstanceResponse.setLbaStrategy(_ctx.stringValue("DescribeGtmInstanceResponse.LbaStrategy"));
describeGtmInstanceResponse.setInstanceId(_ctx.stringValue("DescribeGtmInstanceResponse.InstanceId"));
describeGtmInstanceResponse.setCreateTime(_ctx.stringValue("DescribeGtmInstanceResponse.CreateTime"));
describeGtmInstanceResponse.setCnameMode(_ctx.stringValue("DescribeGtmInstanceResponse.CnameMode"));
describeGtmInstanceResponse.setTtl(_ctx.integerValue("DescribeGtmInstanceResponse.Ttl"));
describeGtmInstanceResponse.setCname(_ctx.stringValue("DescribeGtmInstanceResponse.Cname"));
describeGtmInstanceResponse.setInstanceName(_ctx.stringValue("DescribeGtmInstanceResponse.InstanceName"));
describeGtmInstanceResponse.setVersionCode(_ctx.stringValue("DescribeGtmInstanceResponse.VersionCode"));
describeGtmInstanceResponse.setAlertGroup(_ctx.stringValue("DescribeGtmInstanceResponse.AlertGroup"));
describeGtmInstanceResponse.setAddressPoolNum(_ctx.integerValue("DescribeGtmInstanceResponse.AddressPoolNum"));
describeGtmInstanceResponse.setAccessStrategyNum(_ctx.integerValue("DescribeGtmInstanceResponse.AccessStrategyNum"));
describeGtmInstanceResponse.setExpireTime(_ctx.stringValue("DescribeGtmInstanceResponse.ExpireTime"));
describeGtmInstanceResponse.setCreateTimestamp(_ctx.longValue("DescribeGtmInstanceResponse.CreateTimestamp"));
describeGtmInstanceResponse.setResourceGroupId(_ctx.stringValue("DescribeGtmInstanceResponse.ResourceGroupId"));
return describeGtmInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmInstanceStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmInstanceStatusResponseUnmarshaller {
public static DescribeGtmInstanceStatusResponse unmarshall(DescribeGtmInstanceStatusResponse describeGtmInstanceStatusResponse, UnmarshallerContext _ctx) {
describeGtmInstanceStatusResponse.setRequestId(_ctx.stringValue("DescribeGtmInstanceStatusResponse.RequestId"));
describeGtmInstanceStatusResponse.setStatus(_ctx.stringValue("DescribeGtmInstanceStatusResponse.Status"));
describeGtmInstanceStatusResponse.setStrategyNotAvailableNum(_ctx.integerValue("DescribeGtmInstanceStatusResponse.StrategyNotAvailableNum"));
describeGtmInstanceStatusResponse.setSwitchToFailoverStrategyNum(_ctx.integerValue("DescribeGtmInstanceStatusResponse.SwitchToFailoverStrategyNum"));
describeGtmInstanceStatusResponse.setStatusReason(_ctx.stringValue("DescribeGtmInstanceStatusResponse.StatusReason"));
describeGtmInstanceStatusResponse.setAddrNotAvailableNum(_ctx.integerValue("DescribeGtmInstanceStatusResponse.AddrNotAvailableNum"));
describeGtmInstanceStatusResponse.setAddrPoolNotAvailableNum(_ctx.integerValue("DescribeGtmInstanceStatusResponse.AddrPoolNotAvailableNum"));
return describeGtmInstanceStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmInstanceSystemCnameResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstanceSystemCnameResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmInstanceSystemCnameResponseUnmarshaller {
public static DescribeGtmInstanceSystemCnameResponse unmarshall(DescribeGtmInstanceSystemCnameResponse describeGtmInstanceSystemCnameResponse, UnmarshallerContext _ctx) {
describeGtmInstanceSystemCnameResponse.setRequestId(_ctx.stringValue("DescribeGtmInstanceSystemCnameResponse.RequestId"));
describeGtmInstanceSystemCnameResponse.setSystemCname(_ctx.stringValue("DescribeGtmInstanceSystemCnameResponse.SystemCname"));
return describeGtmInstanceSystemCnameResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmInstancesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstancesResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmInstancesResponse.GtmInstance;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmInstancesResponseUnmarshaller {
public static DescribeGtmInstancesResponse unmarshall(DescribeGtmInstancesResponse describeGtmInstancesResponse, UnmarshallerContext _ctx) {
describeGtmInstancesResponse.setRequestId(_ctx.stringValue("DescribeGtmInstancesResponse.RequestId"));
describeGtmInstancesResponse.setPageSize(_ctx.integerValue("DescribeGtmInstancesResponse.PageSize"));
describeGtmInstancesResponse.setPageNumber(_ctx.integerValue("DescribeGtmInstancesResponse.PageNumber"));
describeGtmInstancesResponse.setTotalPages(_ctx.integerValue("DescribeGtmInstancesResponse.TotalPages"));
describeGtmInstancesResponse.setTotalItems(_ctx.integerValue("DescribeGtmInstancesResponse.TotalItems"));
List<GtmInstance> gtmInstances = new ArrayList<GtmInstance>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmInstancesResponse.GtmInstances.Length"); i++) {
GtmInstance gtmInstance = new GtmInstance();
gtmInstance.setExpireTime(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].ExpireTime"));
gtmInstance.setAccessStrategyNum(_ctx.integerValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].AccessStrategyNum"));
gtmInstance.setCreateTime(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].CreateTime"));
gtmInstance.setCnameMode(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].CnameMode"));
gtmInstance.setInstanceId(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].InstanceId"));
gtmInstance.setExpireTimestamp(_ctx.longValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].ExpireTimestamp"));
gtmInstance.setTtl(_ctx.integerValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].Ttl"));
gtmInstance.setAlertGroup(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].AlertGroup"));
gtmInstance.setAddressPoolNum(_ctx.integerValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].AddressPoolNum"));
gtmInstance.setInstanceName(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].InstanceName"));
gtmInstance.setLbaStrategy(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].LbaStrategy"));
gtmInstance.setCname(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].Cname"));
gtmInstance.setVersionCode(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].VersionCode"));
gtmInstance.setUserDomainName(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].UserDomainName"));
gtmInstance.setCreateTimestamp(_ctx.longValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].CreateTimestamp"));
gtmInstance.setResourceGroupId(_ctx.stringValue("DescribeGtmInstancesResponse.GtmInstances["+ i +"].ResourceGroupId"));
gtmInstances.add(gtmInstance);
}
describeGtmInstancesResponse.setGtmInstances(gtmInstances);
return describeGtmInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmLogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmLogsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmLogsResponse.Log;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmLogsResponseUnmarshaller {
public static DescribeGtmLogsResponse unmarshall(DescribeGtmLogsResponse describeGtmLogsResponse, UnmarshallerContext _ctx) {
describeGtmLogsResponse.setRequestId(_ctx.stringValue("DescribeGtmLogsResponse.RequestId"));
describeGtmLogsResponse.setPageSize(_ctx.integerValue("DescribeGtmLogsResponse.PageSize"));
describeGtmLogsResponse.setPageNumber(_ctx.integerValue("DescribeGtmLogsResponse.PageNumber"));
describeGtmLogsResponse.setTotalPages(_ctx.integerValue("DescribeGtmLogsResponse.TotalPages"));
describeGtmLogsResponse.setTotalItems(_ctx.integerValue("DescribeGtmLogsResponse.TotalItems"));
List<Log> logs = new ArrayList<Log>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmLogsResponse.Logs.Length"); i++) {
Log log = new Log();
log.setOperTimestamp(_ctx.longValue("DescribeGtmLogsResponse.Logs["+ i +"].OperTimestamp"));
log.setEntityId(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].EntityId"));
log.setEntityType(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].EntityType"));
log.setOperTime(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].OperTime"));
log.setOperIp(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].OperIp"));
log.setOperAction(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].OperAction"));
log.setContent(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].Content"));
log.setEntityName(_ctx.stringValue("DescribeGtmLogsResponse.Logs["+ i +"].EntityName"));
log.setId(_ctx.longValue("DescribeGtmLogsResponse.Logs["+ i +"].Id"));
logs.add(log);
}
describeGtmLogsResponse.setLogs(logs);
return describeGtmLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmMonitorAvailableConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmMonitorAvailableConfigResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmMonitorAvailableConfigResponse.IspCityNode;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmMonitorAvailableConfigResponseUnmarshaller {
public static DescribeGtmMonitorAvailableConfigResponse unmarshall(DescribeGtmMonitorAvailableConfigResponse describeGtmMonitorAvailableConfigResponse, UnmarshallerContext _ctx) {
describeGtmMonitorAvailableConfigResponse.setRequestId(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.RequestId"));
List<IspCityNode> ispCityNodes = new ArrayList<IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes.Length"); i++) {
IspCityNode ispCityNode = new IspCityNode();
ispCityNode.setCityCode(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].CityCode"));
ispCityNode.setMainland(_ctx.booleanValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].Mainland"));
ispCityNode.setGroupName(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].GroupName"));
ispCityNode.setIspCode(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].IspCode"));
ispCityNode.setCityName(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].CityName"));
ispCityNode.setIspName(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].IspName"));
ispCityNode.setGroupType(_ctx.stringValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].GroupType"));
ispCityNode.setDefaultSelected(_ctx.booleanValue("DescribeGtmMonitorAvailableConfigResponse.IspCityNodes["+ i +"].DefaultSelected"));
ispCityNodes.add(ispCityNode);
}
describeGtmMonitorAvailableConfigResponse.setIspCityNodes(ispCityNodes);
return describeGtmMonitorAvailableConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmMonitorConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmMonitorConfigResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmMonitorConfigResponse.IspCityNode;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmMonitorConfigResponseUnmarshaller {
public static DescribeGtmMonitorConfigResponse unmarshall(DescribeGtmMonitorConfigResponse describeGtmMonitorConfigResponse, UnmarshallerContext _ctx) {
describeGtmMonitorConfigResponse.setRequestId(_ctx.stringValue("DescribeGtmMonitorConfigResponse.RequestId"));
describeGtmMonitorConfigResponse.setTimeout(_ctx.integerValue("DescribeGtmMonitorConfigResponse.Timeout"));
describeGtmMonitorConfigResponse.setProtocolType(_ctx.stringValue("DescribeGtmMonitorConfigResponse.ProtocolType"));
describeGtmMonitorConfigResponse.setCreateTime(_ctx.stringValue("DescribeGtmMonitorConfigResponse.CreateTime"));
describeGtmMonitorConfigResponse.setUpdateTime(_ctx.stringValue("DescribeGtmMonitorConfigResponse.UpdateTime"));
describeGtmMonitorConfigResponse.setEvaluationCount(_ctx.integerValue("DescribeGtmMonitorConfigResponse.EvaluationCount"));
describeGtmMonitorConfigResponse.setUpdateTimestamp(_ctx.longValue("DescribeGtmMonitorConfigResponse.UpdateTimestamp"));
describeGtmMonitorConfigResponse.setMonitorExtendInfo(_ctx.stringValue("DescribeGtmMonitorConfigResponse.MonitorExtendInfo"));
describeGtmMonitorConfigResponse.setMonitorConfigId(_ctx.stringValue("DescribeGtmMonitorConfigResponse.MonitorConfigId"));
describeGtmMonitorConfigResponse.setCreateTimestamp(_ctx.longValue("DescribeGtmMonitorConfigResponse.CreateTimestamp"));
describeGtmMonitorConfigResponse.setInterval(_ctx.integerValue("DescribeGtmMonitorConfigResponse.Interval"));
List<IspCityNode> ispCityNodes = new ArrayList<IspCityNode>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmMonitorConfigResponse.IspCityNodes.Length"); i++) {
IspCityNode ispCityNode = new IspCityNode();
ispCityNode.setCityCode(_ctx.stringValue("DescribeGtmMonitorConfigResponse.IspCityNodes["+ i +"].CityCode"));
ispCityNode.setCountryName(_ctx.stringValue("DescribeGtmMonitorConfigResponse.IspCityNodes["+ i +"].CountryName"));
ispCityNode.setIspCode(_ctx.stringValue("DescribeGtmMonitorConfigResponse.IspCityNodes["+ i +"].IspCode"));
ispCityNode.setCityName(_ctx.stringValue("DescribeGtmMonitorConfigResponse.IspCityNodes["+ i +"].CityName"));
ispCityNode.setCountryCode(_ctx.stringValue("DescribeGtmMonitorConfigResponse.IspCityNodes["+ i +"].CountryCode"));
ispCityNode.setIspName(_ctx.stringValue("DescribeGtmMonitorConfigResponse.IspCityNodes["+ i +"].IspName"));
ispCityNodes.add(ispCityNode);
}
describeGtmMonitorConfigResponse.setIspCityNodes(ispCityNodes);
return describeGtmMonitorConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmRecoveryPlanAvailableConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlanAvailableConfigResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlanAvailableConfigResponse.Instance;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlanAvailableConfigResponse.Instance.AddrPool;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmRecoveryPlanAvailableConfigResponseUnmarshaller {
public static DescribeGtmRecoveryPlanAvailableConfigResponse unmarshall(DescribeGtmRecoveryPlanAvailableConfigResponse describeGtmRecoveryPlanAvailableConfigResponse, UnmarshallerContext _ctx) {
describeGtmRecoveryPlanAvailableConfigResponse.setRequestId(_ctx.stringValue("DescribeGtmRecoveryPlanAvailableConfigResponse.RequestId"));
List<Instance> instances = new ArrayList<Instance>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmRecoveryPlanAvailableConfigResponse.Instances.Length"); i++) {
Instance instance = new Instance();
instance.setInstanceName(_ctx.stringValue("DescribeGtmRecoveryPlanAvailableConfigResponse.Instances["+ i +"].InstanceName"));
instance.setInstanceId(_ctx.stringValue("DescribeGtmRecoveryPlanAvailableConfigResponse.Instances["+ i +"].InstanceId"));
List<AddrPool> addrPools = new ArrayList<AddrPool>();
for (int j = 0; j < _ctx.lengthValue("DescribeGtmRecoveryPlanAvailableConfigResponse.Instances["+ i +"].AddrPools.Length"); j++) {
AddrPool addrPool = new AddrPool();
addrPool.setAddrPoolId(_ctx.stringValue("DescribeGtmRecoveryPlanAvailableConfigResponse.Instances["+ i +"].AddrPools["+ j +"].AddrPoolId"));
addrPool.setName(_ctx.stringValue("DescribeGtmRecoveryPlanAvailableConfigResponse.Instances["+ i +"].AddrPools["+ j +"].Name"));
addrPools.add(addrPool);
}
instance.setAddrPools(addrPools);
instances.add(instance);
}
describeGtmRecoveryPlanAvailableConfigResponse.setInstances(instances);
return describeGtmRecoveryPlanAvailableConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmRecoveryPlanResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlanResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlanResponse.FaultAddrPool;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlanResponse.FaultAddrPool.Addr;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmRecoveryPlanResponseUnmarshaller {
public static DescribeGtmRecoveryPlanResponse unmarshall(DescribeGtmRecoveryPlanResponse describeGtmRecoveryPlanResponse, UnmarshallerContext _ctx) {
describeGtmRecoveryPlanResponse.setRequestId(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.RequestId"));
describeGtmRecoveryPlanResponse.setStatus(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.Status"));
describeGtmRecoveryPlanResponse.setLastRollbackTime(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.LastRollbackTime"));
describeGtmRecoveryPlanResponse.setFaultAddrPoolNum(_ctx.integerValue("DescribeGtmRecoveryPlanResponse.FaultAddrPoolNum"));
describeGtmRecoveryPlanResponse.setLastExecuteTime(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.LastExecuteTime"));
describeGtmRecoveryPlanResponse.setCreateTime(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.CreateTime"));
describeGtmRecoveryPlanResponse.setLastExecuteTimestamp(_ctx.longValue("DescribeGtmRecoveryPlanResponse.LastExecuteTimestamp"));
describeGtmRecoveryPlanResponse.setRemark(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.Remark"));
describeGtmRecoveryPlanResponse.setName(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.Name"));
describeGtmRecoveryPlanResponse.setRecoveryPlanId(_ctx.longValue("DescribeGtmRecoveryPlanResponse.RecoveryPlanId"));
describeGtmRecoveryPlanResponse.setUpdateTime(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.UpdateTime"));
describeGtmRecoveryPlanResponse.setUpdateTimestamp(_ctx.longValue("DescribeGtmRecoveryPlanResponse.UpdateTimestamp"));
describeGtmRecoveryPlanResponse.setLastRollbackTimestamp(_ctx.longValue("DescribeGtmRecoveryPlanResponse.LastRollbackTimestamp"));
describeGtmRecoveryPlanResponse.setCreateTimestamp(_ctx.longValue("DescribeGtmRecoveryPlanResponse.CreateTimestamp"));
List<FaultAddrPool> faultAddrPools = new ArrayList<FaultAddrPool>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools.Length"); i++) {
FaultAddrPool faultAddrPool = new FaultAddrPool();
faultAddrPool.setAddrPoolId(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].AddrPoolId"));
faultAddrPool.setInstanceId(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].InstanceId"));
faultAddrPool.setAddrPoolName(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].AddrPoolName"));
List<Addr> addrs = new ArrayList<Addr>();
for (int j = 0; j < _ctx.lengthValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].Addrs.Length"); j++) {
Addr addr = new Addr();
addr.setValue(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].Addrs["+ j +"].Value"));
addr.setMode(_ctx.stringValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].Addrs["+ j +"].Mode"));
addr.setId(_ctx.longValue("DescribeGtmRecoveryPlanResponse.FaultAddrPools["+ i +"].Addrs["+ j +"].Id"));
addrs.add(addr);
}
faultAddrPool.setAddrs(addrs);
faultAddrPools.add(faultAddrPool);
}
describeGtmRecoveryPlanResponse.setFaultAddrPools(faultAddrPools);
return describeGtmRecoveryPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeGtmRecoveryPlansResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlansResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeGtmRecoveryPlansResponse.RecoveryPlan;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeGtmRecoveryPlansResponseUnmarshaller {
public static DescribeGtmRecoveryPlansResponse unmarshall(DescribeGtmRecoveryPlansResponse describeGtmRecoveryPlansResponse, UnmarshallerContext _ctx) {
describeGtmRecoveryPlansResponse.setRequestId(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RequestId"));
describeGtmRecoveryPlansResponse.setPageSize(_ctx.integerValue("DescribeGtmRecoveryPlansResponse.PageSize"));
describeGtmRecoveryPlansResponse.setPageNumber(_ctx.integerValue("DescribeGtmRecoveryPlansResponse.PageNumber"));
describeGtmRecoveryPlansResponse.setTotalPages(_ctx.integerValue("DescribeGtmRecoveryPlansResponse.TotalPages"));
describeGtmRecoveryPlansResponse.setTotalItems(_ctx.integerValue("DescribeGtmRecoveryPlansResponse.TotalItems"));
List<RecoveryPlan> recoveryPlans = new ArrayList<RecoveryPlan>();
for (int i = 0; i < _ctx.lengthValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans.Length"); i++) {
RecoveryPlan recoveryPlan = new RecoveryPlan();
recoveryPlan.setStatus(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].Status"));
recoveryPlan.setLastRollbackTimestamp(_ctx.longValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].LastRollbackTimestamp"));
recoveryPlan.setUpdateTime(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].UpdateTime"));
recoveryPlan.setRemark(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].Remark"));
recoveryPlan.setCreateTime(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].CreateTime"));
recoveryPlan.setRecoveryPlanId(_ctx.longValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].RecoveryPlanId"));
recoveryPlan.setUpdateTimestamp(_ctx.longValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].UpdateTimestamp"));
recoveryPlan.setLastExecuteTimestamp(_ctx.longValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].LastExecuteTimestamp"));
recoveryPlan.setLastExecuteTime(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].LastExecuteTime"));
recoveryPlan.setLastRollbackTime(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].LastRollbackTime"));
recoveryPlan.setName(_ctx.stringValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].Name"));
recoveryPlan.setFaultAddrPoolNum(_ctx.integerValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].FaultAddrPoolNum"));
recoveryPlan.setCreateTimestamp(_ctx.longValue("DescribeGtmRecoveryPlansResponse.RecoveryPlans["+ i +"].CreateTimestamp"));
recoveryPlans.add(recoveryPlan);
}
describeGtmRecoveryPlansResponse.setRecoveryPlans(recoveryPlans);
return describeGtmRecoveryPlansResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeInstanceDomainsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeInstanceDomainsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeInstanceDomainsResponse.InstanceDomain;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeInstanceDomainsResponseUnmarshaller {
public static DescribeInstanceDomainsResponse unmarshall(DescribeInstanceDomainsResponse describeInstanceDomainsResponse, UnmarshallerContext _ctx) {
describeInstanceDomainsResponse.setRequestId(_ctx.stringValue("DescribeInstanceDomainsResponse.RequestId"));
describeInstanceDomainsResponse.setPageSize(_ctx.integerValue("DescribeInstanceDomainsResponse.PageSize"));
describeInstanceDomainsResponse.setPageNumber(_ctx.integerValue("DescribeInstanceDomainsResponse.PageNumber"));
describeInstanceDomainsResponse.setTotalPages(_ctx.integerValue("DescribeInstanceDomainsResponse.TotalPages"));
describeInstanceDomainsResponse.setTotalItems(_ctx.integerValue("DescribeInstanceDomainsResponse.TotalItems"));
List<InstanceDomain> instanceDomains = new ArrayList<InstanceDomain>();
for (int i = 0; i < _ctx.lengthValue("DescribeInstanceDomainsResponse.InstanceDomains.Length"); i++) {
InstanceDomain instanceDomain = new InstanceDomain();
instanceDomain.setCreateTime(_ctx.stringValue("DescribeInstanceDomainsResponse.InstanceDomains["+ i +"].CreateTime"));
instanceDomain.setDomainName(_ctx.stringValue("DescribeInstanceDomainsResponse.InstanceDomains["+ i +"].DomainName"));
instanceDomain.setCreateTimestamp(_ctx.longValue("DescribeInstanceDomainsResponse.InstanceDomains["+ i +"].CreateTimestamp"));
instanceDomains.add(instanceDomain);
}
describeInstanceDomainsResponse.setInstanceDomains(instanceDomains);
return describeInstanceDomainsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeIspFlushCacheInstancesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheInstancesResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstance;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstance.QuotaInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIspFlushCacheInstancesResponseUnmarshaller {
public static DescribeIspFlushCacheInstancesResponse unmarshall(DescribeIspFlushCacheInstancesResponse describeIspFlushCacheInstancesResponse, UnmarshallerContext _ctx) {
describeIspFlushCacheInstancesResponse.setRequestId(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.RequestId"));
describeIspFlushCacheInstancesResponse.setPageSize(_ctx.integerValue("DescribeIspFlushCacheInstancesResponse.PageSize"));
describeIspFlushCacheInstancesResponse.setPageNumber(_ctx.integerValue("DescribeIspFlushCacheInstancesResponse.PageNumber"));
describeIspFlushCacheInstancesResponse.setTotalPages(_ctx.integerValue("DescribeIspFlushCacheInstancesResponse.TotalPages"));
describeIspFlushCacheInstancesResponse.setTotalItems(_ctx.integerValue("DescribeIspFlushCacheInstancesResponse.TotalItems"));
List<IspFlushCacheInstance> ispFlushCacheInstances = new ArrayList<IspFlushCacheInstance>();
for (int i = 0; i < _ctx.lengthValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances.Length"); i++) {
IspFlushCacheInstance ispFlushCacheInstance = new IspFlushCacheInstance();
ispFlushCacheInstance.setIsp(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].Isp"));
ispFlushCacheInstance.setExpireTime(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].ExpireTime"));
ispFlushCacheInstance.setInstanceId(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].InstanceId"));
ispFlushCacheInstance.setExpireTimestamp(_ctx.longValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].ExpireTimestamp"));
ispFlushCacheInstance.setInstanceName(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].InstanceName"));
ispFlushCacheInstance.setVersionCode(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].VersionCode"));
ispFlushCacheInstance.setStatus(_ctx.stringValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].Status"));
QuotaInfo quotaInfo = new QuotaInfo();
quotaInfo.setInstanceQuota(_ctx.integerValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].QuotaInfo.InstanceQuota"));
quotaInfo.setInstanceQuotaUsed(_ctx.integerValue("DescribeIspFlushCacheInstancesResponse.IspFlushCacheInstances["+ i +"].QuotaInfo.InstanceQuotaUsed"));
ispFlushCacheInstance.setQuotaInfo(quotaInfo);
ispFlushCacheInstances.add(ispFlushCacheInstance);
}
describeIspFlushCacheInstancesResponse.setIspFlushCacheInstances(ispFlushCacheInstances);
return describeIspFlushCacheInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeIspFlushCacheRemainQuotaResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheRemainQuotaResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIspFlushCacheRemainQuotaResponseUnmarshaller {
public static DescribeIspFlushCacheRemainQuotaResponse unmarshall(DescribeIspFlushCacheRemainQuotaResponse describeIspFlushCacheRemainQuotaResponse, UnmarshallerContext _ctx) {
describeIspFlushCacheRemainQuotaResponse.setRequestId(_ctx.stringValue("DescribeIspFlushCacheRemainQuotaResponse.RequestId"));
describeIspFlushCacheRemainQuotaResponse.setTelecomRemainQuota(_ctx.integerValue("DescribeIspFlushCacheRemainQuotaResponse.TelecomRemainQuota"));
return describeIspFlushCacheRemainQuotaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeIspFlushCacheTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheTaskResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheTaskResponse.FlushCacheResult;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheTaskResponse.FlushCacheResult.DnsNode;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheTaskResponse.FlushCacheResult.DnsNode.Answer;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIspFlushCacheTaskResponseUnmarshaller {
public static DescribeIspFlushCacheTaskResponse unmarshall(DescribeIspFlushCacheTaskResponse describeIspFlushCacheTaskResponse, UnmarshallerContext _ctx) {
describeIspFlushCacheTaskResponse.setRequestId(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.RequestId"));
describeIspFlushCacheTaskResponse.setTaskId(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.TaskId"));
describeIspFlushCacheTaskResponse.setDomainName(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.DomainName"));
describeIspFlushCacheTaskResponse.setInstanceId(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.InstanceId"));
describeIspFlushCacheTaskResponse.setInstanceName(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.InstanceName"));
describeIspFlushCacheTaskResponse.setIsp(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.Isp"));
describeIspFlushCacheTaskResponse.setTaskStatus(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.TaskStatus"));
describeIspFlushCacheTaskResponse.setCreateTime(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.CreateTime"));
describeIspFlushCacheTaskResponse.setCreateTimestamp(_ctx.longValue("DescribeIspFlushCacheTaskResponse.CreateTimestamp"));
List<FlushCacheResult> flushCacheResults = new ArrayList<FlushCacheResult>();
for (int i = 0; i < _ctx.lengthValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults.Length"); i++) {
FlushCacheResult flushCacheResult = new FlushCacheResult();
flushCacheResult.setProvince(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].Province"));
List<DnsNode> dnsNodes = new ArrayList<DnsNode>();
for (int j = 0; j < _ctx.lengthValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes.Length"); j++) {
DnsNode dnsNode = new DnsNode();
dnsNode.setNodeIp(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].NodeIp"));
dnsNode.setSpName(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].SpName"));
dnsNode.setStatus(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].Status"));
List<Answer> answers = new ArrayList<Answer>();
for (int k = 0; k < _ctx.lengthValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].Answers.Length"); k++) {
Answer answer = new Answer();
answer.setName(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].Answers["+ k +"].Name"));
answer.setType(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].Answers["+ k +"].Type"));
answer.setRecord(_ctx.stringValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].Answers["+ k +"].Record"));
answer.setTtl(_ctx.longValue("DescribeIspFlushCacheTaskResponse.FlushCacheResults["+ i +"].DnsNodes["+ j +"].Answers["+ k +"].Ttl"));
answers.add(answer);
}
dnsNode.setAnswers(answers);
dnsNodes.add(dnsNode);
}
flushCacheResult.setDnsNodes(dnsNodes);
flushCacheResults.add(flushCacheResult);
}
describeIspFlushCacheTaskResponse.setFlushCacheResults(flushCacheResults);
return describeIspFlushCacheTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeIspFlushCacheTasksResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheTasksResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeIspFlushCacheTasksResponse.IspFlushCacheTask;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIspFlushCacheTasksResponseUnmarshaller {
public static DescribeIspFlushCacheTasksResponse unmarshall(DescribeIspFlushCacheTasksResponse describeIspFlushCacheTasksResponse, UnmarshallerContext _ctx) {
describeIspFlushCacheTasksResponse.setRequestId(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.RequestId"));
describeIspFlushCacheTasksResponse.setPageSize(_ctx.integerValue("DescribeIspFlushCacheTasksResponse.PageSize"));
describeIspFlushCacheTasksResponse.setPageNumber(_ctx.integerValue("DescribeIspFlushCacheTasksResponse.PageNumber"));
describeIspFlushCacheTasksResponse.setTotalPages(_ctx.integerValue("DescribeIspFlushCacheTasksResponse.TotalPages"));
describeIspFlushCacheTasksResponse.setTotalItems(_ctx.integerValue("DescribeIspFlushCacheTasksResponse.TotalItems"));
List<IspFlushCacheTask> ispFlushCacheTasks = new ArrayList<IspFlushCacheTask>();
for (int i = 0; i < _ctx.lengthValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks.Length"); i++) {
IspFlushCacheTask ispFlushCacheTask = new IspFlushCacheTask();
ispFlushCacheTask.setTaskId(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].TaskId"));
ispFlushCacheTask.setDomainName(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].DomainName"));
ispFlushCacheTask.setInstanceId(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].InstanceId"));
ispFlushCacheTask.setInstanceName(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].InstanceName"));
ispFlushCacheTask.setIsp(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].Isp"));
ispFlushCacheTask.setTaskStatus(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].TaskStatus"));
ispFlushCacheTask.setCreateTime(_ctx.stringValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].CreateTime"));
ispFlushCacheTask.setCreateTimestamp(_ctx.longValue("DescribeIspFlushCacheTasksResponse.IspFlushCacheTasks["+ i +"].CreateTimestamp"));
ispFlushCacheTasks.add(ispFlushCacheTask);
}
describeIspFlushCacheTasksResponse.setIspFlushCacheTasks(ispFlushCacheTasks);
return describeIspFlushCacheTasksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsAccountSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsAccountSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsAccountSummaryResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsAccountSummaryResponseUnmarshaller {
public static DescribePdnsAccountSummaryResponse unmarshall(DescribePdnsAccountSummaryResponse describePdnsAccountSummaryResponse, UnmarshallerContext _ctx) {
describePdnsAccountSummaryResponse.setRequestId(_ctx.stringValue("DescribePdnsAccountSummaryResponse.RequestId"));
Data data = new Data();
data.setUserId(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.UserId"));
data.setDomainCount(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.DomainCount"));
data.setSubDomainCount(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.SubDomainCount"));
data.setHttpCount(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.HttpCount"));
data.setHttpsCount(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.HttpsCount"));
data.setTotalCount(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.TotalCount"));
data.setThreatCount(_ctx.longValue("DescribePdnsAccountSummaryResponse.Data.ThreatCount"));
describePdnsAccountSummaryResponse.setData(data);
return describePdnsAccountSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsAppKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsAppKeyResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsAppKeyResponse.AppKey;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsAppKeyResponseUnmarshaller {
public static DescribePdnsAppKeyResponse unmarshall(DescribePdnsAppKeyResponse describePdnsAppKeyResponse, UnmarshallerContext _ctx) {
describePdnsAppKeyResponse.setRequestId(_ctx.stringValue("DescribePdnsAppKeyResponse.RequestId"));
AppKey appKey = new AppKey();
appKey.setAppKeyId(_ctx.stringValue("DescribePdnsAppKeyResponse.AppKey.AppKeyId"));
appKey.setAppKeySecret(_ctx.stringValue("DescribePdnsAppKeyResponse.AppKey.AppKeySecret"));
appKey.setState(_ctx.stringValue("DescribePdnsAppKeyResponse.AppKey.State"));
appKey.setCreateDate(_ctx.stringValue("DescribePdnsAppKeyResponse.AppKey.CreateDate"));
describePdnsAppKeyResponse.setAppKey(appKey);
return describePdnsAppKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsAppKeysResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsAppKeysResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsAppKeysResponse.AppKey;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsAppKeysResponseUnmarshaller {
public static DescribePdnsAppKeysResponse unmarshall(DescribePdnsAppKeysResponse describePdnsAppKeysResponse, UnmarshallerContext _ctx) {
describePdnsAppKeysResponse.setRequestId(_ctx.stringValue("DescribePdnsAppKeysResponse.RequestId"));
List<AppKey> appKeys = new ArrayList<AppKey>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsAppKeysResponse.AppKeys.Length"); i++) {
AppKey appKey = new AppKey();
appKey.setAppKeyId(_ctx.stringValue("DescribePdnsAppKeysResponse.AppKeys["+ i +"].AppKeyId"));
appKey.setCreateDate(_ctx.stringValue("DescribePdnsAppKeysResponse.AppKeys["+ i +"].CreateDate"));
appKey.setState(_ctx.stringValue("DescribePdnsAppKeysResponse.AppKeys["+ i +"].State"));
appKeys.add(appKey);
}
describePdnsAppKeysResponse.setAppKeys(appKeys);
return describePdnsAppKeysResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsOperateLogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsOperateLogsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsOperateLogsResponse.Log;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsOperateLogsResponseUnmarshaller {
public static DescribePdnsOperateLogsResponse unmarshall(DescribePdnsOperateLogsResponse describePdnsOperateLogsResponse, UnmarshallerContext _ctx) {
describePdnsOperateLogsResponse.setRequestId(_ctx.stringValue("DescribePdnsOperateLogsResponse.RequestId"));
describePdnsOperateLogsResponse.setTotalCount(_ctx.longValue("DescribePdnsOperateLogsResponse.TotalCount"));
describePdnsOperateLogsResponse.setPageSize(_ctx.longValue("DescribePdnsOperateLogsResponse.PageSize"));
describePdnsOperateLogsResponse.setPageNumber(_ctx.longValue("DescribePdnsOperateLogsResponse.PageNumber"));
List<Log> logs = new ArrayList<Log>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsOperateLogsResponse.Logs.Length"); i++) {
Log log = new Log();
log.setOperateTime(_ctx.stringValue("DescribePdnsOperateLogsResponse.Logs["+ i +"].OperateTime"));
log.setType(_ctx.stringValue("DescribePdnsOperateLogsResponse.Logs["+ i +"].Type"));
log.setAction(_ctx.stringValue("DescribePdnsOperateLogsResponse.Logs["+ i +"].Action"));
log.setContent(_ctx.stringValue("DescribePdnsOperateLogsResponse.Logs["+ i +"].content"));
logs.add(log);
}
describePdnsOperateLogsResponse.setLogs(logs);
return describePdnsOperateLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsRequestStatisticResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsRequestStatisticResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsRequestStatisticResponse.StatisticItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsRequestStatisticResponseUnmarshaller {
public static DescribePdnsRequestStatisticResponse unmarshall(DescribePdnsRequestStatisticResponse describePdnsRequestStatisticResponse, UnmarshallerContext _ctx) {
describePdnsRequestStatisticResponse.setRequestId(_ctx.stringValue("DescribePdnsRequestStatisticResponse.RequestId"));
List<StatisticItem> data = new ArrayList<StatisticItem>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsRequestStatisticResponse.Data.Length"); i++) {
StatisticItem statisticItem = new StatisticItem();
statisticItem.setV6HttpCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].V6HttpCount"));
statisticItem.setV6HttpsCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].V6HttpsCount"));
statisticItem.setTimestamp(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].Timestamp"));
statisticItem.setTotalCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].TotalCount"));
statisticItem.setV4HttpCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].V4HttpCount"));
statisticItem.setV4HttpsCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].V4HttpsCount"));
statisticItem.setV4Count(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].V4Count"));
statisticItem.setV6Count(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].V6Count"));
statisticItem.setHttpCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].HttpCount"));
statisticItem.setHttpsCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].HttpsCount"));
statisticItem.setDohTotalCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].DohTotalCount"));
statisticItem.setUdpTotalCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].UdpTotalCount"));
statisticItem.setIpCount(_ctx.longValue("DescribePdnsRequestStatisticResponse.Data["+ i +"].IpCount"));
data.add(statisticItem);
}
describePdnsRequestStatisticResponse.setData(data);
return describePdnsRequestStatisticResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsRequestStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsRequestStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsRequestStatisticsResponse.StatisticItem;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsRequestStatisticsResponse.StatisticItem.ThreatItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsRequestStatisticsResponseUnmarshaller {
public static DescribePdnsRequestStatisticsResponse unmarshall(DescribePdnsRequestStatisticsResponse describePdnsRequestStatisticsResponse, UnmarshallerContext _ctx) {
describePdnsRequestStatisticsResponse.setRequestId(_ctx.stringValue("DescribePdnsRequestStatisticsResponse.RequestId"));
describePdnsRequestStatisticsResponse.setTotalCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.TotalCount"));
describePdnsRequestStatisticsResponse.setPageSize(_ctx.longValue("DescribePdnsRequestStatisticsResponse.PageSize"));
describePdnsRequestStatisticsResponse.setPageNumber(_ctx.longValue("DescribePdnsRequestStatisticsResponse.PageNumber"));
List<StatisticItem> data = new ArrayList<StatisticItem>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsRequestStatisticsResponse.Data.Length"); i++) {
StatisticItem statisticItem = new StatisticItem();
statisticItem.setDomainName(_ctx.stringValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].DomainName"));
statisticItem.setSubDomain(_ctx.stringValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].SubDomain"));
statisticItem.setV6HttpCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].V6HttpCount"));
statisticItem.setV6HttpsCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].V6HttpsCount"));
statisticItem.setTotalCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].TotalCount"));
statisticItem.setV4HttpCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].V4HttpCount"));
statisticItem.setV4HttpsCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].V4HttpsCount"));
statisticItem.setV4Count(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].V4Count"));
statisticItem.setV6Count(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].V6Count"));
statisticItem.setHttpCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].HttpCount"));
statisticItem.setHttpsCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].HttpsCount"));
statisticItem.setDohTotalCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].DohTotalCount"));
statisticItem.setUdpTotalCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].UdpTotalCount"));
statisticItem.setIpCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].IpCount"));
statisticItem.setThreatCount(_ctx.longValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].ThreatCount"));
statisticItem.setMaxThreatLevel(_ctx.stringValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].MaxThreatLevel"));
List<ThreatItem> threatInfo = new ArrayList<ThreatItem>();
for (int j = 0; j < _ctx.lengthValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].ThreatInfo.Length"); j++) {
ThreatItem threatItem = new ThreatItem();
threatItem.setThreatType(_ctx.stringValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].ThreatInfo["+ j +"].ThreatType"));
threatItem.setThreatLevel(_ctx.stringValue("DescribePdnsRequestStatisticsResponse.Data["+ i +"].ThreatInfo["+ j +"].ThreatLevel"));
threatInfo.add(threatItem);
}
statisticItem.setThreatInfo(threatInfo);
data.add(statisticItem);
}
describePdnsRequestStatisticsResponse.setData(data);
return describePdnsRequestStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsThreatLogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsThreatLogsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsThreatLogsResponse.Log;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsThreatLogsResponseUnmarshaller {
public static DescribePdnsThreatLogsResponse unmarshall(DescribePdnsThreatLogsResponse describePdnsThreatLogsResponse, UnmarshallerContext _ctx) {
describePdnsThreatLogsResponse.setRequestId(_ctx.stringValue("DescribePdnsThreatLogsResponse.RequestId"));
describePdnsThreatLogsResponse.setTotalCount(_ctx.longValue("DescribePdnsThreatLogsResponse.TotalCount"));
describePdnsThreatLogsResponse.setPageSize(_ctx.longValue("DescribePdnsThreatLogsResponse.PageSize"));
describePdnsThreatLogsResponse.setPageNumber(_ctx.longValue("DescribePdnsThreatLogsResponse.PageNumber"));
List<Log> logs = new ArrayList<Log>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsThreatLogsResponse.Logs.Length"); i++) {
Log log = new Log();
log.setThreatTime(_ctx.stringValue("DescribePdnsThreatLogsResponse.Logs["+ i +"].ThreatTime"));
log.setThreatType(_ctx.stringValue("DescribePdnsThreatLogsResponse.Logs["+ i +"].ThreatType"));
log.setThreatLevel(_ctx.stringValue("DescribePdnsThreatLogsResponse.Logs["+ i +"].ThreatLevel"));
log.setSourceIp(_ctx.stringValue("DescribePdnsThreatLogsResponse.Logs["+ i +"].SourceIp"));
log.setSubDomain(_ctx.stringValue("DescribePdnsThreatLogsResponse.Logs["+ i +"].SubDomain"));
logs.add(log);
}
describePdnsThreatLogsResponse.setLogs(logs);
return describePdnsThreatLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsThreatStatisticResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsThreatStatisticResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsThreatStatisticResponse.StatisticItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsThreatStatisticResponseUnmarshaller {
public static DescribePdnsThreatStatisticResponse unmarshall(DescribePdnsThreatStatisticResponse describePdnsThreatStatisticResponse, UnmarshallerContext _ctx) {
describePdnsThreatStatisticResponse.setRequestId(_ctx.stringValue("DescribePdnsThreatStatisticResponse.RequestId"));
List<StatisticItem> data = new ArrayList<StatisticItem>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsThreatStatisticResponse.Data.Length"); i++) {
StatisticItem statisticItem = new StatisticItem();
statisticItem.setTotalCount(_ctx.longValue("DescribePdnsThreatStatisticResponse.Data["+ i +"].TotalCount"));
statisticItem.setTimestamp(_ctx.longValue("DescribePdnsThreatStatisticResponse.Data["+ i +"].Timestamp"));
statisticItem.setThreatType(_ctx.stringValue("DescribePdnsThreatStatisticResponse.Data["+ i +"].ThreatType"));
statisticItem.setThreatLevel(_ctx.stringValue("DescribePdnsThreatStatisticResponse.Data["+ i +"].ThreatLevel"));
statisticItem.setDohTotalCount(_ctx.longValue("DescribePdnsThreatStatisticResponse.Data["+ i +"].DohTotalCount"));
statisticItem.setUdpTotalCount(_ctx.longValue("DescribePdnsThreatStatisticResponse.Data["+ i +"].UdpTotalCount"));
data.add(statisticItem);
}
describePdnsThreatStatisticResponse.setData(data);
return describePdnsThreatStatisticResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsThreatStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsThreatStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsThreatStatisticsResponse.StatisticItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsThreatStatisticsResponseUnmarshaller {
public static DescribePdnsThreatStatisticsResponse unmarshall(DescribePdnsThreatStatisticsResponse describePdnsThreatStatisticsResponse, UnmarshallerContext _ctx) {
describePdnsThreatStatisticsResponse.setRequestId(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.RequestId"));
describePdnsThreatStatisticsResponse.setTotalCount(_ctx.longValue("DescribePdnsThreatStatisticsResponse.TotalCount"));
describePdnsThreatStatisticsResponse.setPageSize(_ctx.longValue("DescribePdnsThreatStatisticsResponse.PageSize"));
describePdnsThreatStatisticsResponse.setPageNumber(_ctx.longValue("DescribePdnsThreatStatisticsResponse.PageNumber"));
List<StatisticItem> data = new ArrayList<StatisticItem>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsThreatStatisticsResponse.Data.Length"); i++) {
StatisticItem statisticItem = new StatisticItem();
statisticItem.setDomainName(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].DomainName"));
statisticItem.setSubDomain(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].SubDomain"));
statisticItem.setLatestThreatTime(_ctx.longValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].LatestThreatTime"));
statisticItem.setTotalCount(_ctx.longValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].TotalCount"));
statisticItem.setDohTotalCount(_ctx.longValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].DohTotalCount"));
statisticItem.setUdpTotalCount(_ctx.longValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].UdpTotalCount"));
statisticItem.setMaxThreatLevel(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].MaxThreatLevel"));
statisticItem.setDomainCount(_ctx.longValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].DomainCount"));
statisticItem.setSourceIp(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].SourceIp"));
statisticItem.setThreatType(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].ThreatType"));
statisticItem.setThreatLevel(_ctx.stringValue("DescribePdnsThreatStatisticsResponse.Data["+ i +"].ThreatLevel"));
data.add(statisticItem);
}
describePdnsThreatStatisticsResponse.setData(data);
return describePdnsThreatStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsUdpIpSegmentsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsUdpIpSegmentsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsUdpIpSegmentsResponse.IpSegment;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsUdpIpSegmentsResponseUnmarshaller {
public static DescribePdnsUdpIpSegmentsResponse unmarshall(DescribePdnsUdpIpSegmentsResponse describePdnsUdpIpSegmentsResponse, UnmarshallerContext _ctx) {
describePdnsUdpIpSegmentsResponse.setRequestId(_ctx.stringValue("DescribePdnsUdpIpSegmentsResponse.RequestId"));
describePdnsUdpIpSegmentsResponse.setTotalCount(_ctx.longValue("DescribePdnsUdpIpSegmentsResponse.TotalCount"));
describePdnsUdpIpSegmentsResponse.setPageSize(_ctx.longValue("DescribePdnsUdpIpSegmentsResponse.PageSize"));
describePdnsUdpIpSegmentsResponse.setPageNumber(_ctx.longValue("DescribePdnsUdpIpSegmentsResponse.PageNumber"));
List<IpSegment> ipSegments = new ArrayList<IpSegment>();
for (int i = 0; i < _ctx.lengthValue("DescribePdnsUdpIpSegmentsResponse.IpSegments.Length"); i++) {
IpSegment ipSegment = new IpSegment();
ipSegment.setName(_ctx.stringValue("DescribePdnsUdpIpSegmentsResponse.IpSegments["+ i +"].Name"));
ipSegment.setIp(_ctx.stringValue("DescribePdnsUdpIpSegmentsResponse.IpSegments["+ i +"].Ip"));
ipSegment.setMask(_ctx.longValue("DescribePdnsUdpIpSegmentsResponse.IpSegments["+ i +"].Mask"));
ipSegment.setState(_ctx.stringValue("DescribePdnsUdpIpSegmentsResponse.IpSegments["+ i +"].State"));
ipSegment.setCreateDate(_ctx.stringValue("DescribePdnsUdpIpSegmentsResponse.IpSegments["+ i +"].CreateDate"));
ipSegment.setUpdateDate(_ctx.stringValue("DescribePdnsUdpIpSegmentsResponse.IpSegments["+ i +"].UpdateDate"));
ipSegments.add(ipSegment);
}
describePdnsUdpIpSegmentsResponse.setIpSegments(ipSegments);
return describePdnsUdpIpSegmentsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribePdnsUserInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsUserInfoResponse;
import com.aliyuncs.alidns.model.v20150109.DescribePdnsUserInfoResponse.UserInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePdnsUserInfoResponseUnmarshaller {
public static DescribePdnsUserInfoResponse unmarshall(DescribePdnsUserInfoResponse describePdnsUserInfoResponse, UnmarshallerContext _ctx) {
describePdnsUserInfoResponse.setRequestId(_ctx.stringValue("DescribePdnsUserInfoResponse.RequestId"));
UserInfo userInfo = new UserInfo();
userInfo.setPdnsId(_ctx.longValue("DescribePdnsUserInfoResponse.UserInfo.PdnsId"));
userInfo.setState(_ctx.stringValue("DescribePdnsUserInfoResponse.UserInfo.State"));
userInfo.setServiceType(_ctx.stringValue("DescribePdnsUserInfoResponse.UserInfo.ServiceType"));
userInfo.setStoppedService(_ctx.stringValue("DescribePdnsUserInfoResponse.UserInfo.StoppedService"));
userInfo.setAvailableService(_ctx.stringValue("DescribePdnsUserInfoResponse.UserInfo.AvailableService"));
describePdnsUserInfoResponse.setUserInfo(userInfo);
return describePdnsUserInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeRecordLogsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordLogsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordLogsResponse.RecordLog;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRecordLogsResponseUnmarshaller {
public static DescribeRecordLogsResponse unmarshall(DescribeRecordLogsResponse describeRecordLogsResponse, UnmarshallerContext _ctx) {
describeRecordLogsResponse.setRequestId(_ctx.stringValue("DescribeRecordLogsResponse.RequestId"));
describeRecordLogsResponse.setTotalCount(_ctx.longValue("DescribeRecordLogsResponse.TotalCount"));
describeRecordLogsResponse.setPageSize(_ctx.longValue("DescribeRecordLogsResponse.PageSize"));
describeRecordLogsResponse.setPageNumber(_ctx.longValue("DescribeRecordLogsResponse.PageNumber"));
List<RecordLog> recordLogs = new ArrayList<RecordLog>();
for (int i = 0; i < _ctx.lengthValue("DescribeRecordLogsResponse.RecordLogs.Length"); i++) {
RecordLog recordLog = new RecordLog();
recordLog.setAction(_ctx.stringValue("DescribeRecordLogsResponse.RecordLogs["+ i +"].Action"));
recordLog.setActionTimestamp(_ctx.longValue("DescribeRecordLogsResponse.RecordLogs["+ i +"].ActionTimestamp"));
recordLog.setClientIp(_ctx.stringValue("DescribeRecordLogsResponse.RecordLogs["+ i +"].ClientIp"));
recordLog.setMessage(_ctx.stringValue("DescribeRecordLogsResponse.RecordLogs["+ i +"].Message"));
recordLog.setActionTime(_ctx.stringValue("DescribeRecordLogsResponse.RecordLogs["+ i +"].ActionTime"));
recordLogs.add(recordLog);
}
describeRecordLogsResponse.setRecordLogs(recordLogs);
return describeRecordLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeRecordResolveStatisticsSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordResolveStatisticsSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordResolveStatisticsSummaryResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRecordResolveStatisticsSummaryResponseUnmarshaller {
public static DescribeRecordResolveStatisticsSummaryResponse unmarshall(DescribeRecordResolveStatisticsSummaryResponse describeRecordResolveStatisticsSummaryResponse, UnmarshallerContext _ctx) {
describeRecordResolveStatisticsSummaryResponse.setRequestId(_ctx.stringValue("DescribeRecordResolveStatisticsSummaryResponse.RequestId"));
describeRecordResolveStatisticsSummaryResponse.setPageSize(_ctx.integerValue("DescribeRecordResolveStatisticsSummaryResponse.PageSize"));
describeRecordResolveStatisticsSummaryResponse.setPageNumber(_ctx.integerValue("DescribeRecordResolveStatisticsSummaryResponse.PageNumber"));
describeRecordResolveStatisticsSummaryResponse.setTotalPages(_ctx.integerValue("DescribeRecordResolveStatisticsSummaryResponse.TotalPages"));
describeRecordResolveStatisticsSummaryResponse.setTotalItems(_ctx.integerValue("DescribeRecordResolveStatisticsSummaryResponse.TotalItems"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeRecordResolveStatisticsSummaryResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setSubDomain(_ctx.stringValue("DescribeRecordResolveStatisticsSummaryResponse.Statistics["+ i +"].SubDomain"));
statistic.setDomainName(_ctx.stringValue("DescribeRecordResolveStatisticsSummaryResponse.Statistics["+ i +"].DomainName"));
statistic.setCount(_ctx.stringValue("DescribeRecordResolveStatisticsSummaryResponse.Statistics["+ i +"].Count"));
statistic.setDomainType(_ctx.stringValue("DescribeRecordResolveStatisticsSummaryResponse.Statistics["+ i +"].DomainType"));
statistics.add(statistic);
}
describeRecordResolveStatisticsSummaryResponse.setStatistics(statistics);
return describeRecordResolveStatisticsSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeRecordStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordStatisticsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordStatisticsResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRecordStatisticsResponseUnmarshaller {
public static DescribeRecordStatisticsResponse unmarshall(DescribeRecordStatisticsResponse describeRecordStatisticsResponse, UnmarshallerContext _ctx) {
describeRecordStatisticsResponse.setRequestId(_ctx.stringValue("DescribeRecordStatisticsResponse.RequestId"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeRecordStatisticsResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setTimestamp(_ctx.longValue("DescribeRecordStatisticsResponse.Statistics["+ i +"].Timestamp"));
statistic.setCount(_ctx.longValue("DescribeRecordStatisticsResponse.Statistics["+ i +"].Count"));
statistics.add(statistic);
}
describeRecordStatisticsResponse.setStatistics(statistics);
return describeRecordStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeRecordStatisticsSummaryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordStatisticsSummaryResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeRecordStatisticsSummaryResponse.Statistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRecordStatisticsSummaryResponseUnmarshaller {
public static DescribeRecordStatisticsSummaryResponse unmarshall(DescribeRecordStatisticsSummaryResponse describeRecordStatisticsSummaryResponse, UnmarshallerContext _ctx) {
describeRecordStatisticsSummaryResponse.setRequestId(_ctx.stringValue("DescribeRecordStatisticsSummaryResponse.RequestId"));
describeRecordStatisticsSummaryResponse.setPageSize(_ctx.integerValue("DescribeRecordStatisticsSummaryResponse.PageSize"));
describeRecordStatisticsSummaryResponse.setPageNumber(_ctx.integerValue("DescribeRecordStatisticsSummaryResponse.PageNumber"));
describeRecordStatisticsSummaryResponse.setTotalPages(_ctx.integerValue("DescribeRecordStatisticsSummaryResponse.TotalPages"));
describeRecordStatisticsSummaryResponse.setTotalItems(_ctx.integerValue("DescribeRecordStatisticsSummaryResponse.TotalItems"));
List<Statistic> statistics = new ArrayList<Statistic>();
for (int i = 0; i < _ctx.lengthValue("DescribeRecordStatisticsSummaryResponse.Statistics.Length"); i++) {
Statistic statistic = new Statistic();
statistic.setSubDomain(_ctx.stringValue("DescribeRecordStatisticsSummaryResponse.Statistics["+ i +"].SubDomain"));
statistic.setCount(_ctx.longValue("DescribeRecordStatisticsSummaryResponse.Statistics["+ i +"].Count"));
statistics.add(statistic);
}
describeRecordStatisticsSummaryResponse.setStatistics(statistics);
return describeRecordStatisticsSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeSubDomainRecordsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeSubDomainRecordsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeSubDomainRecordsResponse.Record;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSubDomainRecordsResponseUnmarshaller {
public static DescribeSubDomainRecordsResponse unmarshall(DescribeSubDomainRecordsResponse describeSubDomainRecordsResponse, UnmarshallerContext _ctx) {
describeSubDomainRecordsResponse.setRequestId(_ctx.stringValue("DescribeSubDomainRecordsResponse.RequestId"));
describeSubDomainRecordsResponse.setTotalCount(_ctx.longValue("DescribeSubDomainRecordsResponse.TotalCount"));
describeSubDomainRecordsResponse.setPageSize(_ctx.longValue("DescribeSubDomainRecordsResponse.PageSize"));
describeSubDomainRecordsResponse.setPageNumber(_ctx.longValue("DescribeSubDomainRecordsResponse.PageNumber"));
List<Record> domainRecords = new ArrayList<Record>();
for (int i = 0; i < _ctx.lengthValue("DescribeSubDomainRecordsResponse.DomainRecords.Length"); i++) {
Record record = new Record();
record.setStatus(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Status"));
record.setType(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Type"));
record.setWeight(_ctx.integerValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Weight"));
record.setValue(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Value"));
record.setTTL(_ctx.longValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].TTL"));
record.setLine(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Line"));
record.setRecordId(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].RecordId"));
record.setPriority(_ctx.longValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Priority"));
record.setRR(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].RR"));
record.setDomainName(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].DomainName"));
record.setLocked(_ctx.booleanValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Locked"));
record.setRemark(_ctx.stringValue("DescribeSubDomainRecordsResponse.DomainRecords["+ i +"].Remark"));
domainRecords.add(record);
}
describeSubDomainRecordsResponse.setDomainRecords(domainRecords);
return describeSubDomainRecordsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeSupportLinesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeSupportLinesResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeSupportLinesResponse.RecordLine;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSupportLinesResponseUnmarshaller {
public static DescribeSupportLinesResponse unmarshall(DescribeSupportLinesResponse describeSupportLinesResponse, UnmarshallerContext _ctx) {
describeSupportLinesResponse.setRequestId(_ctx.stringValue("DescribeSupportLinesResponse.RequestId"));
List<RecordLine> recordLines = new ArrayList<RecordLine>();
for (int i = 0; i < _ctx.lengthValue("DescribeSupportLinesResponse.RecordLines.Length"); i++) {
RecordLine recordLine = new RecordLine();
recordLine.setFatherCode(_ctx.stringValue("DescribeSupportLinesResponse.RecordLines["+ i +"].FatherCode"));
recordLine.setLineDisplayName(_ctx.stringValue("DescribeSupportLinesResponse.RecordLines["+ i +"].LineDisplayName"));
recordLine.setLineCode(_ctx.stringValue("DescribeSupportLinesResponse.RecordLines["+ i +"].LineCode"));
recordLine.setLineName(_ctx.stringValue("DescribeSupportLinesResponse.RecordLines["+ i +"].LineName"));
recordLines.add(recordLine);
}
describeSupportLinesResponse.setRecordLines(recordLines);
return describeSupportLinesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeTagsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeTagsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeTagsResponse.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTagsResponseUnmarshaller {
public static DescribeTagsResponse unmarshall(DescribeTagsResponse describeTagsResponse, UnmarshallerContext _ctx) {
describeTagsResponse.setRequestId(_ctx.stringValue("DescribeTagsResponse.RequestId"));
describeTagsResponse.setTotalCount(_ctx.longValue("DescribeTagsResponse.TotalCount"));
describeTagsResponse.setPageSize(_ctx.longValue("DescribeTagsResponse.PageSize"));
describeTagsResponse.setPageNumber(_ctx.longValue("DescribeTagsResponse.PageNumber"));
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("DescribeTagsResponse.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeTagsResponse.Tags["+ i +"].Key"));
List<String> values = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeTagsResponse.Tags["+ i +"].Values.Length"); j++) {
values.add(_ctx.stringValue("DescribeTagsResponse.Tags["+ i +"].Values["+ j +"]"));
}
tag.setValues(values);
tags.add(tag);
}
describeTagsResponse.setTags(tags);
return describeTagsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/DescribeTransferDomainsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.DescribeTransferDomainsResponse;
import com.aliyuncs.alidns.model.v20150109.DescribeTransferDomainsResponse.DomainTransfer;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTransferDomainsResponseUnmarshaller {
public static DescribeTransferDomainsResponse unmarshall(DescribeTransferDomainsResponse describeTransferDomainsResponse, UnmarshallerContext _ctx) {
describeTransferDomainsResponse.setRequestId(_ctx.stringValue("DescribeTransferDomainsResponse.RequestId"));
describeTransferDomainsResponse.setTotalCount(_ctx.longValue("DescribeTransferDomainsResponse.TotalCount"));
describeTransferDomainsResponse.setPageSize(_ctx.longValue("DescribeTransferDomainsResponse.PageSize"));
describeTransferDomainsResponse.setPageNumber(_ctx.longValue("DescribeTransferDomainsResponse.PageNumber"));
List<DomainTransfer> domainTransfers = new ArrayList<DomainTransfer>();
for (int i = 0; i < _ctx.lengthValue("DescribeTransferDomainsResponse.DomainTransfers.Length"); i++) {
DomainTransfer domainTransfer = new DomainTransfer();
domainTransfer.setFromUserId(_ctx.longValue("DescribeTransferDomainsResponse.DomainTransfers["+ i +"].FromUserId"));
domainTransfer.setCreateTime(_ctx.stringValue("DescribeTransferDomainsResponse.DomainTransfers["+ i +"].CreateTime"));
domainTransfer.setTargetUserId(_ctx.longValue("DescribeTransferDomainsResponse.DomainTransfers["+ i +"].TargetUserId"));
domainTransfer.setDomainName(_ctx.stringValue("DescribeTransferDomainsResponse.DomainTransfers["+ i +"].DomainName"));
domainTransfer.setId(_ctx.longValue("DescribeTransferDomainsResponse.DomainTransfers["+ i +"].Id"));
domainTransfer.setCreateTimestamp(_ctx.longValue("DescribeTransferDomainsResponse.DomainTransfers["+ i +"].CreateTimestamp"));
domainTransfers.add(domainTransfer);
}
describeTransferDomainsResponse.setDomainTransfers(domainTransfers);
return describeTransferDomainsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/ExecuteGtmRecoveryPlanResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.ExecuteGtmRecoveryPlanResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExecuteGtmRecoveryPlanResponseUnmarshaller {
public static ExecuteGtmRecoveryPlanResponse unmarshall(ExecuteGtmRecoveryPlanResponse executeGtmRecoveryPlanResponse, UnmarshallerContext _ctx) {
executeGtmRecoveryPlanResponse.setRequestId(_ctx.stringValue("ExecuteGtmRecoveryPlanResponse.RequestId"));
return executeGtmRecoveryPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/GetMainDomainNameResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.GetMainDomainNameResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetMainDomainNameResponseUnmarshaller {
public static GetMainDomainNameResponse unmarshall(GetMainDomainNameResponse getMainDomainNameResponse, UnmarshallerContext _ctx) {
getMainDomainNameResponse.setRequestId(_ctx.stringValue("GetMainDomainNameResponse.RequestId"));
getMainDomainNameResponse.setRR(_ctx.stringValue("GetMainDomainNameResponse.RR"));
getMainDomainNameResponse.setDomainName(_ctx.stringValue("GetMainDomainNameResponse.DomainName"));
getMainDomainNameResponse.setDomainLevel(_ctx.longValue("GetMainDomainNameResponse.DomainLevel"));
return getMainDomainNameResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/GetTxtRecordForVerifyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.GetTxtRecordForVerifyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetTxtRecordForVerifyResponseUnmarshaller {
public static GetTxtRecordForVerifyResponse unmarshall(GetTxtRecordForVerifyResponse getTxtRecordForVerifyResponse, UnmarshallerContext _ctx) {
getTxtRecordForVerifyResponse.setRequestId(_ctx.stringValue("GetTxtRecordForVerifyResponse.RequestId"));
getTxtRecordForVerifyResponse.setRR(_ctx.stringValue("GetTxtRecordForVerifyResponse.RR"));
getTxtRecordForVerifyResponse.setDomainName(_ctx.stringValue("GetTxtRecordForVerifyResponse.DomainName"));
getTxtRecordForVerifyResponse.setValue(_ctx.stringValue("GetTxtRecordForVerifyResponse.Value"));
return getTxtRecordForVerifyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/ListTagResourcesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.ListTagResourcesResponse;
import com.aliyuncs.alidns.model.v20150109.ListTagResourcesResponse.TagResource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagResourcesResponseUnmarshaller {
public static ListTagResourcesResponse unmarshall(ListTagResourcesResponse listTagResourcesResponse, UnmarshallerContext _ctx) {
listTagResourcesResponse.setRequestId(_ctx.stringValue("ListTagResourcesResponse.RequestId"));
listTagResourcesResponse.setNextToken(_ctx.stringValue("ListTagResourcesResponse.NextToken"));
List<TagResource> tagResources = new ArrayList<TagResource>();
for (int i = 0; i < _ctx.lengthValue("ListTagResourcesResponse.TagResources.Length"); i++) {
TagResource tagResource = new TagResource();
tagResource.setResourceType(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceType"));
tagResource.setTagValue(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagValue"));
tagResource.setResourceId(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceId"));
tagResource.setTagKey(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagKey"));
tagResources.add(tagResource);
}
listTagResourcesResponse.setTagResources(tagResources);
return listTagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/ModifyHichinaDomainDNSResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.ModifyHichinaDomainDNSResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyHichinaDomainDNSResponseUnmarshaller {
public static ModifyHichinaDomainDNSResponse unmarshall(ModifyHichinaDomainDNSResponse modifyHichinaDomainDNSResponse, UnmarshallerContext _ctx) {
modifyHichinaDomainDNSResponse.setRequestId(_ctx.stringValue("ModifyHichinaDomainDNSResponse.RequestId"));
List<String> newDnsServers = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ModifyHichinaDomainDNSResponse.NewDnsServers.Length"); i++) {
newDnsServers.add(_ctx.stringValue("ModifyHichinaDomainDNSResponse.NewDnsServers["+ i +"]"));
}
modifyHichinaDomainDNSResponse.setNewDnsServers(newDnsServers);
List<String> originalDnsServers = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ModifyHichinaDomainDNSResponse.OriginalDnsServers.Length"); i++) {
originalDnsServers.add(_ctx.stringValue("ModifyHichinaDomainDNSResponse.OriginalDnsServers["+ i +"]"));
}
modifyHichinaDomainDNSResponse.setOriginalDnsServers(originalDnsServers);
return modifyHichinaDomainDNSResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/MoveDomainResourceGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.MoveDomainResourceGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class MoveDomainResourceGroupResponseUnmarshaller {
public static MoveDomainResourceGroupResponse unmarshall(MoveDomainResourceGroupResponse moveDomainResourceGroupResponse, UnmarshallerContext _ctx) {
moveDomainResourceGroupResponse.setRequestId(_ctx.stringValue("MoveDomainResourceGroupResponse.RequestId"));
return moveDomainResourceGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/MoveGtmResourceGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.MoveGtmResourceGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class MoveGtmResourceGroupResponseUnmarshaller {
public static MoveGtmResourceGroupResponse unmarshall(MoveGtmResourceGroupResponse moveGtmResourceGroupResponse, UnmarshallerContext _ctx) {
moveGtmResourceGroupResponse.setRequestId(_ctx.stringValue("MoveGtmResourceGroupResponse.RequestId"));
return moveGtmResourceGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/OperateBatchDomainResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.OperateBatchDomainResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class OperateBatchDomainResponseUnmarshaller {
public static OperateBatchDomainResponse unmarshall(OperateBatchDomainResponse operateBatchDomainResponse, UnmarshallerContext _ctx) {
operateBatchDomainResponse.setRequestId(_ctx.stringValue("OperateBatchDomainResponse.RequestId"));
operateBatchDomainResponse.setTaskId(_ctx.longValue("OperateBatchDomainResponse.TaskId"));
return operateBatchDomainResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/PausePdnsServiceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.PausePdnsServiceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PausePdnsServiceResponseUnmarshaller {
public static PausePdnsServiceResponse unmarshall(PausePdnsServiceResponse pausePdnsServiceResponse, UnmarshallerContext _ctx) {
pausePdnsServiceResponse.setRequestId(_ctx.stringValue("PausePdnsServiceResponse.RequestId"));
return pausePdnsServiceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/PreviewGtmRecoveryPlanResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alidns.model.v20150109.PreviewGtmRecoveryPlanResponse;
import com.aliyuncs.alidns.model.v20150109.PreviewGtmRecoveryPlanResponse.Preview;
import com.aliyuncs.alidns.model.v20150109.PreviewGtmRecoveryPlanResponse.Preview.SwitchInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class PreviewGtmRecoveryPlanResponseUnmarshaller {
public static PreviewGtmRecoveryPlanResponse unmarshall(PreviewGtmRecoveryPlanResponse previewGtmRecoveryPlanResponse, UnmarshallerContext _ctx) {
previewGtmRecoveryPlanResponse.setRequestId(_ctx.stringValue("PreviewGtmRecoveryPlanResponse.RequestId"));
previewGtmRecoveryPlanResponse.setPageSize(_ctx.integerValue("PreviewGtmRecoveryPlanResponse.PageSize"));
previewGtmRecoveryPlanResponse.setPageNumber(_ctx.integerValue("PreviewGtmRecoveryPlanResponse.PageNumber"));
previewGtmRecoveryPlanResponse.setTotalPages(_ctx.integerValue("PreviewGtmRecoveryPlanResponse.TotalPages"));
previewGtmRecoveryPlanResponse.setTotalItems(_ctx.integerValue("PreviewGtmRecoveryPlanResponse.TotalItems"));
List<Preview> previews = new ArrayList<Preview>();
for (int i = 0; i < _ctx.lengthValue("PreviewGtmRecoveryPlanResponse.Previews.Length"); i++) {
Preview preview = new Preview();
preview.setInstanceId(_ctx.stringValue("PreviewGtmRecoveryPlanResponse.Previews["+ i +"].InstanceId"));
preview.setName(_ctx.stringValue("PreviewGtmRecoveryPlanResponse.Previews["+ i +"].Name"));
preview.setUserDomainName(_ctx.stringValue("PreviewGtmRecoveryPlanResponse.Previews["+ i +"].UserDomainName"));
List<SwitchInfo> switchInfos = new ArrayList<SwitchInfo>();
for (int j = 0; j < _ctx.lengthValue("PreviewGtmRecoveryPlanResponse.Previews["+ i +"].SwitchInfos.Length"); j++) {
SwitchInfo switchInfo = new SwitchInfo();
switchInfo.setStrategyName(_ctx.stringValue("PreviewGtmRecoveryPlanResponse.Previews["+ i +"].SwitchInfos["+ j +"].StrategyName"));
switchInfo.setContent(_ctx.stringValue("PreviewGtmRecoveryPlanResponse.Previews["+ i +"].SwitchInfos["+ j +"].Content"));
switchInfos.add(switchInfo);
}
preview.setSwitchInfos(switchInfos);
previews.add(preview);
}
previewGtmRecoveryPlanResponse.setPreviews(previews);
return previewGtmRecoveryPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/RemovePdnsAppKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.RemovePdnsAppKeyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemovePdnsAppKeyResponseUnmarshaller {
public static RemovePdnsAppKeyResponse unmarshall(RemovePdnsAppKeyResponse removePdnsAppKeyResponse, UnmarshallerContext _ctx) {
removePdnsAppKeyResponse.setRequestId(_ctx.stringValue("RemovePdnsAppKeyResponse.RequestId"));
return removePdnsAppKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/RemovePdnsUdpIpSegmentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.RemovePdnsUdpIpSegmentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemovePdnsUdpIpSegmentResponseUnmarshaller {
public static RemovePdnsUdpIpSegmentResponse unmarshall(RemovePdnsUdpIpSegmentResponse removePdnsUdpIpSegmentResponse, UnmarshallerContext _ctx) {
removePdnsUdpIpSegmentResponse.setRequestId(_ctx.stringValue("RemovePdnsUdpIpSegmentResponse.RequestId"));
return removePdnsUdpIpSegmentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/ResumePdnsServiceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.ResumePdnsServiceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ResumePdnsServiceResponseUnmarshaller {
public static ResumePdnsServiceResponse unmarshall(ResumePdnsServiceResponse resumePdnsServiceResponse, UnmarshallerContext _ctx) {
resumePdnsServiceResponse.setRequestId(_ctx.stringValue("ResumePdnsServiceResponse.RequestId"));
return resumePdnsServiceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/RetrieveDomainResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.RetrieveDomainResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RetrieveDomainResponseUnmarshaller {
public static RetrieveDomainResponse unmarshall(RetrieveDomainResponse retrieveDomainResponse, UnmarshallerContext _ctx) {
retrieveDomainResponse.setRequestId(_ctx.stringValue("RetrieveDomainResponse.RequestId"));
return retrieveDomainResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/RollbackGtmRecoveryPlanResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.RollbackGtmRecoveryPlanResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RollbackGtmRecoveryPlanResponseUnmarshaller {
public static RollbackGtmRecoveryPlanResponse unmarshall(RollbackGtmRecoveryPlanResponse rollbackGtmRecoveryPlanResponse, UnmarshallerContext _ctx) {
rollbackGtmRecoveryPlanResponse.setRequestId(_ctx.stringValue("RollbackGtmRecoveryPlanResponse.RequestId"));
return rollbackGtmRecoveryPlanResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetDNSSLBStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetDNSSLBStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetDNSSLBStatusResponseUnmarshaller {
public static SetDNSSLBStatusResponse unmarshall(SetDNSSLBStatusResponse setDNSSLBStatusResponse, UnmarshallerContext _ctx) {
setDNSSLBStatusResponse.setRequestId(_ctx.stringValue("SetDNSSLBStatusResponse.RequestId"));
setDNSSLBStatusResponse.setRecordCount(_ctx.longValue("SetDNSSLBStatusResponse.RecordCount"));
setDNSSLBStatusResponse.setOpen(_ctx.booleanValue("SetDNSSLBStatusResponse.Open"));
return setDNSSLBStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetDnsGtmAccessModeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetDnsGtmAccessModeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetDnsGtmAccessModeResponseUnmarshaller {
public static SetDnsGtmAccessModeResponse unmarshall(SetDnsGtmAccessModeResponse setDnsGtmAccessModeResponse, UnmarshallerContext _ctx) {
setDnsGtmAccessModeResponse.setRequestId(_ctx.stringValue("SetDnsGtmAccessModeResponse.RequestId"));
return setDnsGtmAccessModeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetDnsGtmMonitorStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetDnsGtmMonitorStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetDnsGtmMonitorStatusResponseUnmarshaller {
public static SetDnsGtmMonitorStatusResponse unmarshall(SetDnsGtmMonitorStatusResponse setDnsGtmMonitorStatusResponse, UnmarshallerContext _ctx) {
setDnsGtmMonitorStatusResponse.setRequestId(_ctx.stringValue("SetDnsGtmMonitorStatusResponse.RequestId"));
return setDnsGtmMonitorStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetDomainDnssecStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetDomainDnssecStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetDomainDnssecStatusResponseUnmarshaller {
public static SetDomainDnssecStatusResponse unmarshall(SetDomainDnssecStatusResponse setDomainDnssecStatusResponse, UnmarshallerContext _ctx) {
setDomainDnssecStatusResponse.setRequestId(_ctx.stringValue("SetDomainDnssecStatusResponse.RequestId"));
return setDomainDnssecStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetDomainRecordStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetDomainRecordStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetDomainRecordStatusResponseUnmarshaller {
public static SetDomainRecordStatusResponse unmarshall(SetDomainRecordStatusResponse setDomainRecordStatusResponse, UnmarshallerContext _ctx) {
setDomainRecordStatusResponse.setRequestId(_ctx.stringValue("SetDomainRecordStatusResponse.RequestId"));
setDomainRecordStatusResponse.setStatus(_ctx.stringValue("SetDomainRecordStatusResponse.Status"));
setDomainRecordStatusResponse.setRecordId(_ctx.stringValue("SetDomainRecordStatusResponse.RecordId"));
return setDomainRecordStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetGtmAccessModeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetGtmAccessModeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetGtmAccessModeResponseUnmarshaller {
public static SetGtmAccessModeResponse unmarshall(SetGtmAccessModeResponse setGtmAccessModeResponse, UnmarshallerContext _ctx) {
setGtmAccessModeResponse.setRequestId(_ctx.stringValue("SetGtmAccessModeResponse.RequestId"));
return setGtmAccessModeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SetGtmMonitorStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SetGtmMonitorStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetGtmMonitorStatusResponseUnmarshaller {
public static SetGtmMonitorStatusResponse unmarshall(SetGtmMonitorStatusResponse setGtmMonitorStatusResponse, UnmarshallerContext _ctx) {
setGtmMonitorStatusResponse.setRequestId(_ctx.stringValue("SetGtmMonitorStatusResponse.RequestId"));
return setGtmMonitorStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SubmitIspFlushCacheTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SubmitIspFlushCacheTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SubmitIspFlushCacheTaskResponseUnmarshaller {
public static SubmitIspFlushCacheTaskResponse unmarshall(SubmitIspFlushCacheTaskResponse submitIspFlushCacheTaskResponse, UnmarshallerContext _ctx) {
submitIspFlushCacheTaskResponse.setRequestId(_ctx.stringValue("SubmitIspFlushCacheTaskResponse.RequestId"));
return submitIspFlushCacheTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/SwitchDnsGtmInstanceStrategyModeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.SwitchDnsGtmInstanceStrategyModeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SwitchDnsGtmInstanceStrategyModeResponseUnmarshaller {
public static SwitchDnsGtmInstanceStrategyModeResponse unmarshall(SwitchDnsGtmInstanceStrategyModeResponse switchDnsGtmInstanceStrategyModeResponse, UnmarshallerContext _ctx) {
switchDnsGtmInstanceStrategyModeResponse.setRequestId(_ctx.stringValue("SwitchDnsGtmInstanceStrategyModeResponse.RequestId"));
return switchDnsGtmInstanceStrategyModeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/TagResourcesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.TagResourcesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TagResourcesResponseUnmarshaller {
public static TagResourcesResponse unmarshall(TagResourcesResponse tagResourcesResponse, UnmarshallerContext _ctx) {
tagResourcesResponse.setRequestId(_ctx.stringValue("TagResourcesResponse.RequestId"));
return tagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/TransferDomainResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.TransferDomainResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TransferDomainResponseUnmarshaller {
public static TransferDomainResponse unmarshall(TransferDomainResponse transferDomainResponse, UnmarshallerContext _ctx) {
transferDomainResponse.setRequestId(_ctx.stringValue("TransferDomainResponse.RequestId"));
transferDomainResponse.setTaskId(_ctx.longValue("TransferDomainResponse.TaskId"));
return transferDomainResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/UnbindInstanceDomainsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.UnbindInstanceDomainsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UnbindInstanceDomainsResponseUnmarshaller {
public static UnbindInstanceDomainsResponse unmarshall(UnbindInstanceDomainsResponse unbindInstanceDomainsResponse, UnmarshallerContext _ctx) {
unbindInstanceDomainsResponse.setRequestId(_ctx.stringValue("UnbindInstanceDomainsResponse.RequestId"));
unbindInstanceDomainsResponse.setFailedCount(_ctx.integerValue("UnbindInstanceDomainsResponse.FailedCount"));
unbindInstanceDomainsResponse.setSuccessCount(_ctx.integerValue("UnbindInstanceDomainsResponse.SuccessCount"));
return unbindInstanceDomainsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/UntagResourcesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.UntagResourcesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UntagResourcesResponseUnmarshaller {
public static UntagResourcesResponse unmarshall(UntagResourcesResponse untagResourcesResponse, UnmarshallerContext _ctx) {
untagResourcesResponse.setRequestId(_ctx.stringValue("UntagResourcesResponse.RequestId"));
return untagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/UpdateAppKeyStateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.UpdateAppKeyStateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateAppKeyStateResponseUnmarshaller {
public static UpdateAppKeyStateResponse unmarshall(UpdateAppKeyStateResponse updateAppKeyStateResponse, UnmarshallerContext _ctx) {
updateAppKeyStateResponse.setRequestId(_ctx.stringValue("UpdateAppKeyStateResponse.RequestId"));
return updateAppKeyStateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/UpdateCustomLineResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.UpdateCustomLineResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateCustomLineResponseUnmarshaller {
public static UpdateCustomLineResponse unmarshall(UpdateCustomLineResponse updateCustomLineResponse, UnmarshallerContext _ctx) {
updateCustomLineResponse.setRequestId(_ctx.stringValue("UpdateCustomLineResponse.RequestId"));
return updateCustomLineResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alidns/3.0.7/com/aliyuncs/alidns/transform/v20150109/UpdateDNSSLBWeightResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alidns.transform.v20150109;
import com.aliyuncs.alidns.model.v20150109.UpdateDNSSLBWeightResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateDNSSLBWeightResponseUnmarshaller {
public static UpdateDNSSLBWeightResponse unmarshall(UpdateDNSSLBWeightResponse updateDNSSLBWeightResponse, UnmarshallerContext _ctx) {
updateDNSSLBWeightResponse.setRequestId(_ctx.stringValue("UpdateDNSSLBWeightResponse.RequestId"));
updateDNSSLBWeightResponse.setRecordId(_ctx.stringValue("UpdateDNSSLBWeightResponse.RecordId"));
updateDNSSLBWeightResponse.setWeight(_ctx.integerValue("UpdateDNSSLBWeightResponse.Weight"));
return updateDNSSLBWeightResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.