index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeLogMonitorAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorAttributeResponse;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorAttributeResponse.LogMonitor;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorAttributeResponse.LogMonitor.Aggregate;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorAttributeResponse.LogMonitor.ValueFilterObject;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeLogMonitorAttributeResponseUnmarshaller {
public static DescribeLogMonitorAttributeResponse unmarshall(DescribeLogMonitorAttributeResponse describeLogMonitorAttributeResponse, UnmarshallerContext _ctx) {
describeLogMonitorAttributeResponse.setRequestId(_ctx.stringValue("DescribeLogMonitorAttributeResponse.RequestId"));
describeLogMonitorAttributeResponse.setCode(_ctx.stringValue("DescribeLogMonitorAttributeResponse.Code"));
describeLogMonitorAttributeResponse.setMessage(_ctx.stringValue("DescribeLogMonitorAttributeResponse.Message"));
describeLogMonitorAttributeResponse.setSuccess(_ctx.booleanValue("DescribeLogMonitorAttributeResponse.Success"));
LogMonitor logMonitor = new LogMonitor();
logMonitor.setValueFilterRelation(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.ValueFilterRelation"));
logMonitor.setSlsLogstore(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.SlsLogstore"));
logMonitor.setMetricName(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.MetricName"));
logMonitor.setGroupId(_ctx.longValue("DescribeLogMonitorAttributeResponse.LogMonitor.GroupId"));
logMonitor.setLogId(_ctx.longValue("DescribeLogMonitorAttributeResponse.LogMonitor.LogId"));
logMonitor.setMetricExpress(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.MetricExpress"));
logMonitor.setSlsRegionId(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.SlsRegionId"));
logMonitor.setGmtCreate(_ctx.longValue("DescribeLogMonitorAttributeResponse.LogMonitor.GmtCreate"));
logMonitor.setSlsProject(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.SlsProject"));
List<String> tumblingwindows = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogMonitorAttributeResponse.LogMonitor.Tumblingwindows.Length"); i++) {
tumblingwindows.add(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Tumblingwindows["+ i +"]"));
}
logMonitor.setTumblingwindows(tumblingwindows);
List<String> groupbys = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogMonitorAttributeResponse.LogMonitor.Groupbys.Length"); i++) {
groupbys.add(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Groupbys["+ i +"]"));
}
logMonitor.setGroupbys(groupbys);
List<Aggregate> aggregates = new ArrayList<Aggregate>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogMonitorAttributeResponse.LogMonitor.Aggregates.Length"); i++) {
Aggregate aggregate = new Aggregate();
aggregate.setMax(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Aggregates["+ i +"].Max"));
aggregate.setMin(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Aggregates["+ i +"].Min"));
aggregate.setFunction(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Aggregates["+ i +"].Function"));
aggregate.setAlias(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Aggregates["+ i +"].Alias"));
aggregate.setFieldName(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.Aggregates["+ i +"].FieldName"));
aggregates.add(aggregate);
}
logMonitor.setAggregates(aggregates);
List<ValueFilterObject> valueFilter = new ArrayList<ValueFilterObject>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogMonitorAttributeResponse.LogMonitor.ValueFilter.Length"); i++) {
ValueFilterObject valueFilterObject = new ValueFilterObject();
valueFilterObject.setKey(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.ValueFilter["+ i +"].Key"));
valueFilterObject.setValue(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.ValueFilter["+ i +"].Value"));
valueFilterObject.setOperator(_ctx.stringValue("DescribeLogMonitorAttributeResponse.LogMonitor.ValueFilter["+ i +"].Operator"));
valueFilter.add(valueFilterObject);
}
logMonitor.setValueFilter(valueFilter);
describeLogMonitorAttributeResponse.setLogMonitor(logMonitor);
return describeLogMonitorAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeLogMonitorListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorListResponse.LogMonitor;
import com.aliyuncs.cms.model.v20190101.DescribeLogMonitorListResponse.LogMonitor.ValueFilterObject;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeLogMonitorListResponseUnmarshaller {
public static DescribeLogMonitorListResponse unmarshall(DescribeLogMonitorListResponse describeLogMonitorListResponse, UnmarshallerContext _ctx) {
describeLogMonitorListResponse.setRequestId(_ctx.stringValue("DescribeLogMonitorListResponse.RequestId"));
describeLogMonitorListResponse.setSuccess(_ctx.booleanValue("DescribeLogMonitorListResponse.Success"));
describeLogMonitorListResponse.setCode(_ctx.stringValue("DescribeLogMonitorListResponse.Code"));
describeLogMonitorListResponse.setMessage(_ctx.stringValue("DescribeLogMonitorListResponse.Message"));
describeLogMonitorListResponse.setPageSize(_ctx.integerValue("DescribeLogMonitorListResponse.PageSize"));
describeLogMonitorListResponse.setPageNumber(_ctx.integerValue("DescribeLogMonitorListResponse.PageNumber"));
describeLogMonitorListResponse.setTotal(_ctx.longValue("DescribeLogMonitorListResponse.Total"));
List<LogMonitor> logMonitorList = new ArrayList<LogMonitor>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogMonitorListResponse.LogMonitorList.Length"); i++) {
LogMonitor logMonitor = new LogMonitor();
logMonitor.setValueFilterRelation(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].ValueFilterRelation"));
logMonitor.setSlsLogstore(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].SlsLogstore"));
logMonitor.setMetricName(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].MetricName"));
logMonitor.setGroupId(_ctx.longValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].GroupId"));
logMonitor.setLogId(_ctx.longValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].LogId"));
logMonitor.setSlsRegionId(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].SlsRegionId"));
logMonitor.setGmtCreate(_ctx.longValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].GmtCreate"));
logMonitor.setSlsProject(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].SlsProject"));
List<ValueFilterObject> valueFilter = new ArrayList<ValueFilterObject>();
for (int j = 0; j < _ctx.lengthValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].ValueFilter.Length"); j++) {
ValueFilterObject valueFilterObject = new ValueFilterObject();
valueFilterObject.setKey(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].ValueFilter["+ j +"].Key"));
valueFilterObject.setValue(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].ValueFilter["+ j +"].Value"));
valueFilterObject.setOperator(_ctx.stringValue("DescribeLogMonitorListResponse.LogMonitorList["+ i +"].ValueFilter["+ j +"].Operator"));
valueFilter.add(valueFilterObject);
}
logMonitor.setValueFilter(valueFilter);
logMonitorList.add(logMonitor);
}
describeLogMonitorListResponse.setLogMonitorList(logMonitorList);
return describeLogMonitorListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricDataResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMetricDataResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricDataResponseUnmarshaller {
public static DescribeMetricDataResponse unmarshall(DescribeMetricDataResponse describeMetricDataResponse, UnmarshallerContext _ctx) {
describeMetricDataResponse.setRequestId(_ctx.stringValue("DescribeMetricDataResponse.RequestId"));
describeMetricDataResponse.setCode(_ctx.stringValue("DescribeMetricDataResponse.Code"));
describeMetricDataResponse.setMessage(_ctx.stringValue("DescribeMetricDataResponse.Message"));
describeMetricDataResponse.setDatapoints(_ctx.stringValue("DescribeMetricDataResponse.Datapoints"));
describeMetricDataResponse.setPeriod(_ctx.stringValue("DescribeMetricDataResponse.Period"));
return describeMetricDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricLastResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMetricLastResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricLastResponseUnmarshaller {
public static DescribeMetricLastResponse unmarshall(DescribeMetricLastResponse describeMetricLastResponse, UnmarshallerContext _ctx) {
describeMetricLastResponse.setRequestId(_ctx.stringValue("DescribeMetricLastResponse.RequestId"));
describeMetricLastResponse.setNextToken(_ctx.stringValue("DescribeMetricLastResponse.NextToken"));
describeMetricLastResponse.setSuccess(_ctx.booleanValue("DescribeMetricLastResponse.Success"));
describeMetricLastResponse.setDatapoints(_ctx.stringValue("DescribeMetricLastResponse.Datapoints"));
describeMetricLastResponse.setCode(_ctx.stringValue("DescribeMetricLastResponse.Code"));
describeMetricLastResponse.setMessage(_ctx.stringValue("DescribeMetricLastResponse.Message"));
describeMetricLastResponse.setPeriod(_ctx.stringValue("DescribeMetricLastResponse.Period"));
return describeMetricLastResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMetricListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricListResponseUnmarshaller {
public static DescribeMetricListResponse unmarshall(DescribeMetricListResponse describeMetricListResponse, UnmarshallerContext _ctx) {
describeMetricListResponse.setRequestId(_ctx.stringValue("DescribeMetricListResponse.RequestId"));
describeMetricListResponse.setNextToken(_ctx.stringValue("DescribeMetricListResponse.NextToken"));
describeMetricListResponse.setSuccess(_ctx.booleanValue("DescribeMetricListResponse.Success"));
describeMetricListResponse.setDatapoints(_ctx.stringValue("DescribeMetricListResponse.Datapoints"));
describeMetricListResponse.setCode(_ctx.stringValue("DescribeMetricListResponse.Code"));
describeMetricListResponse.setMessage(_ctx.stringValue("DescribeMetricListResponse.Message"));
describeMetricListResponse.setPeriod(_ctx.stringValue("DescribeMetricListResponse.Period"));
return describeMetricListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricMetaListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMetricMetaListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricMetaListResponse.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricMetaListResponseUnmarshaller {
public static DescribeMetricMetaListResponse unmarshall(DescribeMetricMetaListResponse describeMetricMetaListResponse, UnmarshallerContext _ctx) {
describeMetricMetaListResponse.setRequestId(_ctx.stringValue("DescribeMetricMetaListResponse.RequestId"));
describeMetricMetaListResponse.setCode(_ctx.stringValue("DescribeMetricMetaListResponse.Code"));
describeMetricMetaListResponse.setMessage(_ctx.stringValue("DescribeMetricMetaListResponse.Message"));
describeMetricMetaListResponse.setTotalCount(_ctx.stringValue("DescribeMetricMetaListResponse.TotalCount"));
describeMetricMetaListResponse.setSuccess(_ctx.booleanValue("DescribeMetricMetaListResponse.Success"));
List<Resource> resources = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("DescribeMetricMetaListResponse.Resources.Length"); i++) {
Resource resource = new Resource();
resource.setMetricName(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].MetricName"));
resource.setDescription(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Description"));
resource.setLabels(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Labels"));
resource.setUnit(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Unit"));
resource.setDimensions(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Dimensions"));
resource.setNamespace(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Namespace"));
resource.setPeriods(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Periods"));
resource.setStatistics(_ctx.stringValue("DescribeMetricMetaListResponse.Resources["+ i +"].Statistics"));
resources.add(resource);
}
describeMetricMetaListResponse.setResources(resources);
return describeMetricMetaListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricRuleBlackListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleBlackListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackListItem;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackListItem.MetricsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricRuleBlackListResponseUnmarshaller {
public static DescribeMetricRuleBlackListResponse unmarshall(DescribeMetricRuleBlackListResponse describeMetricRuleBlackListResponse, UnmarshallerContext _ctx) {
describeMetricRuleBlackListResponse.setRequestId(_ctx.stringValue("DescribeMetricRuleBlackListResponse.RequestId"));
describeMetricRuleBlackListResponse.setCode(_ctx.stringValue("DescribeMetricRuleBlackListResponse.Code"));
describeMetricRuleBlackListResponse.setMessage(_ctx.stringValue("DescribeMetricRuleBlackListResponse.Message"));
describeMetricRuleBlackListResponse.setTotal(_ctx.integerValue("DescribeMetricRuleBlackListResponse.Total"));
describeMetricRuleBlackListResponse.setSuccess(_ctx.booleanValue("DescribeMetricRuleBlackListResponse.Success"));
List<DescribeMetricRuleBlackListItem> describeMetricRuleBlackList = new ArrayList<DescribeMetricRuleBlackListItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList.Length"); i++) {
DescribeMetricRuleBlackListItem describeMetricRuleBlackListItem = new DescribeMetricRuleBlackListItem();
describeMetricRuleBlackListItem.setEffectiveTime(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].EffectiveTime"));
describeMetricRuleBlackListItem.setUpdateTime(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].UpdateTime"));
describeMetricRuleBlackListItem.setCreateTime(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].CreateTime"));
describeMetricRuleBlackListItem.setScopeType(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].ScopeType"));
describeMetricRuleBlackListItem.setIsEnable(_ctx.booleanValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].IsEnable"));
describeMetricRuleBlackListItem.setNamespace(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Namespace"));
describeMetricRuleBlackListItem.setCategory(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Category"));
describeMetricRuleBlackListItem.setEnableEndTime(_ctx.longValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].EnableEndTime"));
describeMetricRuleBlackListItem.setName(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Name"));
describeMetricRuleBlackListItem.setEnableStartTime(_ctx.longValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].EnableStartTime"));
describeMetricRuleBlackListItem.setId(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Id"));
List<String> instances = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Instances.Length"); j++) {
instances.add(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Instances["+ j +"]"));
}
describeMetricRuleBlackListItem.setInstances(instances);
List<String> scopeValue = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].ScopeValue.Length"); j++) {
scopeValue.add(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].ScopeValue["+ j +"]"));
}
describeMetricRuleBlackListItem.setScopeValue(scopeValue);
List<MetricsItem> metrics = new ArrayList<MetricsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Metrics.Length"); j++) {
MetricsItem metricsItem = new MetricsItem();
metricsItem.setResource(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Metrics["+ j +"].Resource"));
metricsItem.setMetricName(_ctx.stringValue("DescribeMetricRuleBlackListResponse.DescribeMetricRuleBlackList["+ i +"].Metrics["+ j +"].MetricName"));
metrics.add(metricsItem);
}
describeMetricRuleBlackListItem.setMetrics(metrics);
describeMetricRuleBlackList.add(describeMetricRuleBlackListItem);
}
describeMetricRuleBlackListResponse.setDescribeMetricRuleBlackList(describeMetricRuleBlackList);
return describeMetricRuleBlackListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricRuleCountResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleCountResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleCountResponse.MetricRuleCount;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricRuleCountResponseUnmarshaller {
public static DescribeMetricRuleCountResponse unmarshall(DescribeMetricRuleCountResponse describeMetricRuleCountResponse, UnmarshallerContext _ctx) {
describeMetricRuleCountResponse.setRequestId(_ctx.stringValue("DescribeMetricRuleCountResponse.RequestId"));
describeMetricRuleCountResponse.setCode(_ctx.stringValue("DescribeMetricRuleCountResponse.Code"));
describeMetricRuleCountResponse.setMessage(_ctx.stringValue("DescribeMetricRuleCountResponse.Message"));
describeMetricRuleCountResponse.setSuccess(_ctx.booleanValue("DescribeMetricRuleCountResponse.Success"));
MetricRuleCount metricRuleCount = new MetricRuleCount();
metricRuleCount.setOk(_ctx.integerValue("DescribeMetricRuleCountResponse.MetricRuleCount.Ok"));
metricRuleCount.setNodata(_ctx.integerValue("DescribeMetricRuleCountResponse.MetricRuleCount.Nodata"));
metricRuleCount.setDisable(_ctx.integerValue("DescribeMetricRuleCountResponse.MetricRuleCount.Disable"));
metricRuleCount.setTotal(_ctx.integerValue("DescribeMetricRuleCountResponse.MetricRuleCount.Total"));
metricRuleCount.setAlarm(_ctx.integerValue("DescribeMetricRuleCountResponse.MetricRuleCount.Alarm"));
describeMetricRuleCountResponse.setMetricRuleCount(metricRuleCount);
return describeMetricRuleCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricRuleListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.CompositeExpression;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.CompositeExpression.ExpressionListItem;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.Escalations;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.Escalations.Critical;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.Escalations.Info;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.Escalations.Warn;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.LabelsItem;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.Prometheus;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleListResponse.Alarm.Prometheus.AnnotationsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricRuleListResponseUnmarshaller {
public static DescribeMetricRuleListResponse unmarshall(DescribeMetricRuleListResponse describeMetricRuleListResponse, UnmarshallerContext _ctx) {
describeMetricRuleListResponse.setRequestId(_ctx.stringValue("DescribeMetricRuleListResponse.RequestId"));
describeMetricRuleListResponse.setCode(_ctx.integerValue("DescribeMetricRuleListResponse.Code"));
describeMetricRuleListResponse.setMessage(_ctx.stringValue("DescribeMetricRuleListResponse.Message"));
describeMetricRuleListResponse.setTotal(_ctx.stringValue("DescribeMetricRuleListResponse.Total"));
describeMetricRuleListResponse.setSuccess(_ctx.booleanValue("DescribeMetricRuleListResponse.Success"));
List<Alarm> alarms = new ArrayList<Alarm>();
for (int i = 0; i < _ctx.lengthValue("DescribeMetricRuleListResponse.Alarms.Length"); i++) {
Alarm alarm = new Alarm();
alarm.setSilenceTime(_ctx.integerValue("DescribeMetricRuleListResponse.Alarms["+ i +"].SilenceTime"));
alarm.setMetricName(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].MetricName"));
alarm.setWebhook(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Webhook"));
alarm.setContactGroups(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].ContactGroups"));
alarm.setSourceType(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].SourceType"));
alarm.setNamespace(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Namespace"));
alarm.setMailSubject(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].MailSubject"));
alarm.setNoEffectiveInterval(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].NoEffectiveInterval"));
alarm.setEffectiveInterval(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].EffectiveInterval"));
alarm.setRuleName(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].RuleName"));
alarm.setAlertState(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].AlertState"));
alarm.setPeriod(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Period"));
alarm.setRuleId(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].RuleId"));
alarm.setGroupName(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].GroupName"));
alarm.setGroupId(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].GroupId"));
alarm.setDimensions(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Dimensions"));
alarm.setEnableState(_ctx.booleanValue("DescribeMetricRuleListResponse.Alarms["+ i +"].EnableState"));
alarm.setGroupBy(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].GroupBy"));
alarm.setResources(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Resources"));
alarm.setNoDataPolicy(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].NoDataPolicy"));
alarm.setOptions(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Options"));
alarm.setDynamicAlertSensitivity(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].DynamicAlertSensitivity"));
alarm.setDynamicAlertHistoryDataRange(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].DynamicAlertHistoryDataRange"));
alarm.setRuleType(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].RuleType"));
Escalations escalations = new Escalations();
Info info = new Info();
info.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Info.ComparisonOperator"));
info.setPreCondition(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Info.PreCondition"));
info.setTimes(_ctx.integerValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Info.Times"));
info.setThreshold(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Info.Threshold"));
info.setStatistics(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Info.Statistics"));
escalations.setInfo(info);
Warn warn = new Warn();
warn.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Warn.ComparisonOperator"));
warn.setPreCondition(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Warn.PreCondition"));
warn.setTimes(_ctx.integerValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Warn.Times"));
warn.setThreshold(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Warn.Threshold"));
warn.setStatistics(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Warn.Statistics"));
escalations.setWarn(warn);
Critical critical = new Critical();
critical.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Critical.ComparisonOperator"));
critical.setPreCondition(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Critical.PreCondition"));
critical.setTimes(_ctx.integerValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Critical.Times"));
critical.setThreshold(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Critical.Threshold"));
critical.setStatistics(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Escalations.Critical.Statistics"));
escalations.setCritical(critical);
alarm.setEscalations(escalations);
CompositeExpression compositeExpression = new CompositeExpression();
compositeExpression.setLevel(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.Level"));
compositeExpression.setExpressionListJoin(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionListJoin"));
compositeExpression.setExpressionRaw(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionRaw"));
compositeExpression.setTimes(_ctx.integerValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.Times"));
List<ExpressionListItem> expressionList = new ArrayList<ExpressionListItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList.Length"); j++) {
ExpressionListItem expressionListItem = new ExpressionListItem();
expressionListItem.setMetricName(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList["+ j +"].MetricName"));
expressionListItem.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList["+ j +"].ComparisonOperator"));
expressionListItem.setStatistics(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList["+ j +"].Statistics"));
expressionListItem.setThreshold(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList["+ j +"].Threshold"));
expressionListItem.setPeriod(_ctx.integerValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList["+ j +"].Period"));
expressionListItem.setId(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].CompositeExpression.ExpressionList["+ j +"].Id"));
expressionList.add(expressionListItem);
}
compositeExpression.setExpressionList(expressionList);
alarm.setCompositeExpression(compositeExpression);
Prometheus prometheus = new Prometheus();
prometheus.setPromQL(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Prometheus.PromQL"));
prometheus.setLevel(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Prometheus.Level"));
prometheus.setTimes(_ctx.longValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Prometheus.Times"));
List<AnnotationsItem> annotations = new ArrayList<AnnotationsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Prometheus.Annotations.Length"); j++) {
AnnotationsItem annotationsItem = new AnnotationsItem();
annotationsItem.setKey(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Prometheus.Annotations["+ j +"].Key"));
annotationsItem.setValue(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Prometheus.Annotations["+ j +"].Value"));
annotations.add(annotationsItem);
}
prometheus.setAnnotations(annotations);
alarm.setPrometheus(prometheus);
List<LabelsItem> labels = new ArrayList<LabelsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Labels.Length"); j++) {
LabelsItem labelsItem = new LabelsItem();
labelsItem.setKey(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Labels["+ j +"].Key"));
labelsItem.setValue(_ctx.stringValue("DescribeMetricRuleListResponse.Alarms["+ i +"].Labels["+ j +"].Value"));
labels.add(labelsItem);
}
alarm.setLabels(labels);
alarms.add(alarm);
}
describeMetricRuleListResponse.setAlarms(alarms);
return describeMetricRuleListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricRuleTargetsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTargetsResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTargetsResponse.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricRuleTargetsResponseUnmarshaller {
public static DescribeMetricRuleTargetsResponse unmarshall(DescribeMetricRuleTargetsResponse describeMetricRuleTargetsResponse, UnmarshallerContext _ctx) {
describeMetricRuleTargetsResponse.setRequestId(_ctx.stringValue("DescribeMetricRuleTargetsResponse.RequestId"));
describeMetricRuleTargetsResponse.setCode(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Code"));
describeMetricRuleTargetsResponse.setMessage(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Message"));
describeMetricRuleTargetsResponse.setSuccess(_ctx.booleanValue("DescribeMetricRuleTargetsResponse.Success"));
List<Target> targets = new ArrayList<Target>();
for (int i = 0; i < _ctx.lengthValue("DescribeMetricRuleTargetsResponse.Targets.Length"); i++) {
Target target = new Target();
target.setId(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Targets["+ i +"].Id"));
target.setArn(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Targets["+ i +"].Arn"));
target.setLevel(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Targets["+ i +"].Level"));
target.setJsonParams(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Targets["+ i +"].JsonParams"));
target.setRuleId(_ctx.stringValue("DescribeMetricRuleTargetsResponse.Targets["+ i +"].RuleId"));
targets.add(target);
}
describeMetricRuleTargetsResponse.setTargets(targets);
return describeMetricRuleTargetsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricRuleTemplateAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate.CompositeExpression;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate.CompositeExpression.ExpressionListItem;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate.Escalations;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate.Escalations.Critical;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate.Escalations.Info;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplate.Escalations.Warn;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricRuleTemplateAttributeResponseUnmarshaller {
public static DescribeMetricRuleTemplateAttributeResponse unmarshall(DescribeMetricRuleTemplateAttributeResponse describeMetricRuleTemplateAttributeResponse, UnmarshallerContext _ctx) {
describeMetricRuleTemplateAttributeResponse.setRequestId(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.RequestId"));
describeMetricRuleTemplateAttributeResponse.setCode(_ctx.integerValue("DescribeMetricRuleTemplateAttributeResponse.Code"));
describeMetricRuleTemplateAttributeResponse.setMessage(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Message"));
describeMetricRuleTemplateAttributeResponse.setSuccess(_ctx.booleanValue("DescribeMetricRuleTemplateAttributeResponse.Success"));
Resource resource = new Resource();
resource.setDescription(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.Description"));
resource.setSystemEventTemplates(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.SystemEventTemplates"));
resource.setProcessMonitorTemplates(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.ProcessMonitorTemplates"));
resource.setName(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.Name"));
resource.setRestVersion(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.RestVersion"));
resource.setHostAvailabilityTemplates(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.HostAvailabilityTemplates"));
resource.setTemplateId(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.TemplateId"));
List<AlertTemplate> alertTemplates = new ArrayList<AlertTemplate>();
for (int i = 0; i < _ctx.lengthValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates.Length"); i++) {
AlertTemplate alertTemplate = new AlertTemplate();
alertTemplate.setMetricName(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].MetricName"));
alertTemplate.setSelector(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Selector"));
alertTemplate.setWebhook(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Webhook"));
alertTemplate.setNamespace(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Namespace"));
alertTemplate.setCategory(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Category"));
alertTemplate.setRuleName(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].RuleName"));
alertTemplate.setNoDataPolicy(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].NoDataPolicy"));
CompositeExpression compositeExpression = new CompositeExpression();
compositeExpression.setLevel(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.Level"));
compositeExpression.setExpressionListJoin(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionListJoin"));
compositeExpression.setExpressionRaw(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionRaw"));
compositeExpression.setTimes(_ctx.integerValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.Times"));
List<ExpressionListItem> expressionList = new ArrayList<ExpressionListItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList.Length"); j++) {
ExpressionListItem expressionListItem = new ExpressionListItem();
expressionListItem.setMetricName(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList["+ j +"].MetricName"));
expressionListItem.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList["+ j +"].ComparisonOperator"));
expressionListItem.setStatistics(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList["+ j +"].Statistics"));
expressionListItem.setThreshold(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList["+ j +"].Threshold"));
expressionListItem.setPeriod(_ctx.integerValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList["+ j +"].Period"));
expressionListItem.setId(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].CompositeExpression.ExpressionList["+ j +"].Id"));
expressionList.add(expressionListItem);
}
compositeExpression.setExpressionList(expressionList);
alertTemplate.setCompositeExpression(compositeExpression);
Escalations escalations = new Escalations();
Info info = new Info();
info.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Info.ComparisonOperator"));
info.setTimes(_ctx.integerValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Info.Times"));
info.setThreshold(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Info.Threshold"));
info.setStatistics(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Info.Statistics"));
info.setPreCondition(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Info.PreCondition"));
escalations.setInfo(info);
Warn warn = new Warn();
warn.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Warn.ComparisonOperator"));
warn.setTimes(_ctx.integerValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Warn.Times"));
warn.setThreshold(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Warn.Threshold"));
warn.setStatistics(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Warn.Statistics"));
warn.setPreCondition(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Warn.PreCondition"));
escalations.setWarn(warn);
Critical critical = new Critical();
critical.setComparisonOperator(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Critical.ComparisonOperator"));
critical.setTimes(_ctx.integerValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Critical.Times"));
critical.setThreshold(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Critical.Threshold"));
critical.setStatistics(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Critical.Statistics"));
critical.setPreCondition(_ctx.stringValue("DescribeMetricRuleTemplateAttributeResponse.Resource.AlertTemplates["+ i +"].Escalations.Critical.PreCondition"));
escalations.setCritical(critical);
alertTemplate.setEscalations(escalations);
alertTemplates.add(alertTemplate);
}
resource.setAlertTemplates(alertTemplates);
describeMetricRuleTemplateAttributeResponse.setResource(resource);
return describeMetricRuleTemplateAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricRuleTemplateListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateListResponse.Template;
import com.aliyuncs.cms.model.v20190101.DescribeMetricRuleTemplateListResponse.Template.ApplyHistory;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricRuleTemplateListResponseUnmarshaller {
public static DescribeMetricRuleTemplateListResponse unmarshall(DescribeMetricRuleTemplateListResponse describeMetricRuleTemplateListResponse, UnmarshallerContext _ctx) {
describeMetricRuleTemplateListResponse.setRequestId(_ctx.stringValue("DescribeMetricRuleTemplateListResponse.RequestId"));
describeMetricRuleTemplateListResponse.setCode(_ctx.integerValue("DescribeMetricRuleTemplateListResponse.Code"));
describeMetricRuleTemplateListResponse.setMessage(_ctx.stringValue("DescribeMetricRuleTemplateListResponse.Message"));
describeMetricRuleTemplateListResponse.setTotal(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Total"));
describeMetricRuleTemplateListResponse.setSuccess(_ctx.booleanValue("DescribeMetricRuleTemplateListResponse.Success"));
List<Template> templates = new ArrayList<Template>();
for (int i = 0; i < _ctx.lengthValue("DescribeMetricRuleTemplateListResponse.Templates.Length"); i++) {
Template template = new Template();
template.setDescription(_ctx.stringValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].Description"));
template.setGmtCreate(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].GmtCreate"));
template.setName(_ctx.stringValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].Name"));
template.setRestVersion(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].RestVersion"));
template.setGmtModified(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].GmtModified"));
template.setTemplateId(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].TemplateId"));
List<ApplyHistory> applyHistories = new ArrayList<ApplyHistory>();
for (int j = 0; j < _ctx.lengthValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].ApplyHistories.Length"); j++) {
ApplyHistory applyHistory = new ApplyHistory();
applyHistory.setGroupId(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].ApplyHistories["+ j +"].GroupId"));
applyHistory.setGroupName(_ctx.stringValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].ApplyHistories["+ j +"].GroupName"));
applyHistory.setApplyTime(_ctx.longValue("DescribeMetricRuleTemplateListResponse.Templates["+ i +"].ApplyHistories["+ j +"].ApplyTime"));
applyHistories.add(applyHistory);
}
template.setApplyHistories(applyHistories);
templates.add(template);
}
describeMetricRuleTemplateListResponse.setTemplates(templates);
return describeMetricRuleTemplateListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMetricTopResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMetricTopResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMetricTopResponseUnmarshaller {
public static DescribeMetricTopResponse unmarshall(DescribeMetricTopResponse describeMetricTopResponse, UnmarshallerContext _ctx) {
describeMetricTopResponse.setRequestId(_ctx.stringValue("DescribeMetricTopResponse.RequestId"));
describeMetricTopResponse.setCode(_ctx.stringValue("DescribeMetricTopResponse.Code"));
describeMetricTopResponse.setMessage(_ctx.stringValue("DescribeMetricTopResponse.Message"));
describeMetricTopResponse.setDatapoints(_ctx.stringValue("DescribeMetricTopResponse.Datapoints"));
describeMetricTopResponse.setPeriod(_ctx.stringValue("DescribeMetricTopResponse.Period"));
return describeMetricTopResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorGroupCategoriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupCategoriesResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupCategoriesResponse.MonitorGroupCategories;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupCategoriesResponse.MonitorGroupCategories.CategoryItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorGroupCategoriesResponseUnmarshaller {
public static DescribeMonitorGroupCategoriesResponse unmarshall(DescribeMonitorGroupCategoriesResponse describeMonitorGroupCategoriesResponse, UnmarshallerContext _ctx) {
describeMonitorGroupCategoriesResponse.setRequestId(_ctx.stringValue("DescribeMonitorGroupCategoriesResponse.RequestId"));
describeMonitorGroupCategoriesResponse.setCode(_ctx.integerValue("DescribeMonitorGroupCategoriesResponse.Code"));
describeMonitorGroupCategoriesResponse.setMessage(_ctx.stringValue("DescribeMonitorGroupCategoriesResponse.Message"));
describeMonitorGroupCategoriesResponse.setSuccess(_ctx.booleanValue("DescribeMonitorGroupCategoriesResponse.Success"));
MonitorGroupCategories monitorGroupCategories = new MonitorGroupCategories();
monitorGroupCategories.setGroupId(_ctx.longValue("DescribeMonitorGroupCategoriesResponse.MonitorGroupCategories.GroupId"));
List<CategoryItem> monitorGroupCategory = new ArrayList<CategoryItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitorGroupCategoriesResponse.MonitorGroupCategories.MonitorGroupCategory.Length"); i++) {
CategoryItem categoryItem = new CategoryItem();
categoryItem.setCount(_ctx.integerValue("DescribeMonitorGroupCategoriesResponse.MonitorGroupCategories.MonitorGroupCategory["+ i +"].Count"));
categoryItem.setCategory(_ctx.stringValue("DescribeMonitorGroupCategoriesResponse.MonitorGroupCategories.MonitorGroupCategory["+ i +"].Category"));
monitorGroupCategory.add(categoryItem);
}
monitorGroupCategories.setMonitorGroupCategory(monitorGroupCategory);
describeMonitorGroupCategoriesResponse.setMonitorGroupCategories(monitorGroupCategories);
return describeMonitorGroupCategoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorGroupDynamicRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupDynamicRulesResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupDynamicRulesResponse.ResourceItem;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupDynamicRulesResponse.ResourceItem.Filter;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorGroupDynamicRulesResponseUnmarshaller {
public static DescribeMonitorGroupDynamicRulesResponse unmarshall(DescribeMonitorGroupDynamicRulesResponse describeMonitorGroupDynamicRulesResponse, UnmarshallerContext _ctx) {
describeMonitorGroupDynamicRulesResponse.setRequestId(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.RequestId"));
describeMonitorGroupDynamicRulesResponse.setCode(_ctx.integerValue("DescribeMonitorGroupDynamicRulesResponse.Code"));
describeMonitorGroupDynamicRulesResponse.setMessage(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.Message"));
describeMonitorGroupDynamicRulesResponse.setSuccess(_ctx.booleanValue("DescribeMonitorGroupDynamicRulesResponse.Success"));
List<ResourceItem> resource = new ArrayList<ResourceItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitorGroupDynamicRulesResponse.Resource.Length"); i++) {
ResourceItem resourceItem = new ResourceItem();
resourceItem.setCategory(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.Resource["+ i +"].Category"));
resourceItem.setFilterRelation(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.Resource["+ i +"].FilterRelation"));
List<Filter> filters = new ArrayList<Filter>();
for (int j = 0; j < _ctx.lengthValue("DescribeMonitorGroupDynamicRulesResponse.Resource["+ i +"].Filters.Length"); j++) {
Filter filter = new Filter();
filter.setValue(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.Resource["+ i +"].Filters["+ j +"].Value"));
filter.setFunction(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.Resource["+ i +"].Filters["+ j +"].Function"));
filter.setName(_ctx.stringValue("DescribeMonitorGroupDynamicRulesResponse.Resource["+ i +"].Filters["+ j +"].Name"));
filters.add(filter);
}
resourceItem.setFilters(filters);
resource.add(resourceItem);
}
describeMonitorGroupDynamicRulesResponse.setResource(resource);
return describeMonitorGroupDynamicRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorGroupInstanceAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstanceAttributeResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstanceAttributeResponse.Resource;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstanceAttributeResponse.Resource.Region;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstanceAttributeResponse.Resource.Tag;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstanceAttributeResponse.Resource.Vpc;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorGroupInstanceAttributeResponseUnmarshaller {
public static DescribeMonitorGroupInstanceAttributeResponse unmarshall(DescribeMonitorGroupInstanceAttributeResponse describeMonitorGroupInstanceAttributeResponse, UnmarshallerContext _ctx) {
describeMonitorGroupInstanceAttributeResponse.setRequestId(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.RequestId"));
describeMonitorGroupInstanceAttributeResponse.setSuccess(_ctx.booleanValue("DescribeMonitorGroupInstanceAttributeResponse.Success"));
describeMonitorGroupInstanceAttributeResponse.setCode(_ctx.integerValue("DescribeMonitorGroupInstanceAttributeResponse.Code"));
describeMonitorGroupInstanceAttributeResponse.setMessage(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Message"));
describeMonitorGroupInstanceAttributeResponse.setPageNumber(_ctx.integerValue("DescribeMonitorGroupInstanceAttributeResponse.PageNumber"));
describeMonitorGroupInstanceAttributeResponse.setPageSize(_ctx.integerValue("DescribeMonitorGroupInstanceAttributeResponse.PageSize"));
describeMonitorGroupInstanceAttributeResponse.setTotal(_ctx.integerValue("DescribeMonitorGroupInstanceAttributeResponse.Total"));
List<Resource> resources = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitorGroupInstanceAttributeResponse.Resources.Length"); i++) {
Resource resource = new Resource();
resource.setInstanceName(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].InstanceName"));
resource.setDimension(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Dimension"));
resource.setCategory(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Category"));
resource.setInstanceId(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].InstanceId"));
resource.setNetworkType(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].NetworkType"));
resource.setDesc(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Desc"));
Region region = new Region();
region.setAvailabilityZone(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Region.AvailabilityZone"));
region.setRegionId(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Region.RegionId"));
resource.setRegion(region);
Vpc vpc = new Vpc();
vpc.setVswitchInstanceId(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Vpc.VswitchInstanceId"));
vpc.setVpcInstanceId(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Vpc.VpcInstanceId"));
resource.setVpc(vpc);
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("DescribeMonitorGroupInstanceAttributeResponse.Resources["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
resource.setTags(tags);
resources.add(resource);
}
describeMonitorGroupInstanceAttributeResponse.setResources(resources);
return describeMonitorGroupInstanceAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorGroupInstancesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstancesResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupInstancesResponse.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorGroupInstancesResponseUnmarshaller {
public static DescribeMonitorGroupInstancesResponse unmarshall(DescribeMonitorGroupInstancesResponse describeMonitorGroupInstancesResponse, UnmarshallerContext _ctx) {
describeMonitorGroupInstancesResponse.setRequestId(_ctx.stringValue("DescribeMonitorGroupInstancesResponse.RequestId"));
describeMonitorGroupInstancesResponse.setSuccess(_ctx.booleanValue("DescribeMonitorGroupInstancesResponse.Success"));
describeMonitorGroupInstancesResponse.setCode(_ctx.integerValue("DescribeMonitorGroupInstancesResponse.Code"));
describeMonitorGroupInstancesResponse.setMessage(_ctx.stringValue("DescribeMonitorGroupInstancesResponse.Message"));
describeMonitorGroupInstancesResponse.setPageNumber(_ctx.integerValue("DescribeMonitorGroupInstancesResponse.PageNumber"));
describeMonitorGroupInstancesResponse.setPageSize(_ctx.integerValue("DescribeMonitorGroupInstancesResponse.PageSize"));
describeMonitorGroupInstancesResponse.setTotal(_ctx.integerValue("DescribeMonitorGroupInstancesResponse.Total"));
List<Resource> resources = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitorGroupInstancesResponse.Resources.Length"); i++) {
Resource resource = new Resource();
resource.setCategory(_ctx.stringValue("DescribeMonitorGroupInstancesResponse.Resources["+ i +"].Category"));
resource.setInstanceId(_ctx.stringValue("DescribeMonitorGroupInstancesResponse.Resources["+ i +"].InstanceId"));
resource.setInstanceName(_ctx.stringValue("DescribeMonitorGroupInstancesResponse.Resources["+ i +"].InstanceName"));
resource.setId(_ctx.longValue("DescribeMonitorGroupInstancesResponse.Resources["+ i +"].Id"));
resource.setRegionId(_ctx.stringValue("DescribeMonitorGroupInstancesResponse.Resources["+ i +"].RegionId"));
resources.add(resource);
}
describeMonitorGroupInstancesResponse.setResources(resources);
return describeMonitorGroupInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorGroupNotifyPolicyListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupNotifyPolicyListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicy;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorGroupNotifyPolicyListResponseUnmarshaller {
public static DescribeMonitorGroupNotifyPolicyListResponse unmarshall(DescribeMonitorGroupNotifyPolicyListResponse describeMonitorGroupNotifyPolicyListResponse, UnmarshallerContext _ctx) {
describeMonitorGroupNotifyPolicyListResponse.setRequestId(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.RequestId"));
describeMonitorGroupNotifyPolicyListResponse.setCode(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.Code"));
describeMonitorGroupNotifyPolicyListResponse.setMessage(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.Message"));
describeMonitorGroupNotifyPolicyListResponse.setTotal(_ctx.integerValue("DescribeMonitorGroupNotifyPolicyListResponse.Total"));
describeMonitorGroupNotifyPolicyListResponse.setSuccess(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.Success"));
List<NotifyPolicy> notifyPolicyList = new ArrayList<NotifyPolicy>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicyList.Length"); i++) {
NotifyPolicy notifyPolicy = new NotifyPolicy();
notifyPolicy.setEndTime(_ctx.longValue("DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicyList["+ i +"].EndTime"));
notifyPolicy.setType(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicyList["+ i +"].Type"));
notifyPolicy.setStartTime(_ctx.longValue("DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicyList["+ i +"].StartTime"));
notifyPolicy.setGroupId(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicyList["+ i +"].GroupId"));
notifyPolicy.setId(_ctx.stringValue("DescribeMonitorGroupNotifyPolicyListResponse.NotifyPolicyList["+ i +"].Id"));
notifyPolicyList.add(notifyPolicy);
}
describeMonitorGroupNotifyPolicyListResponse.setNotifyPolicyList(notifyPolicyList);
return describeMonitorGroupNotifyPolicyListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorGroupsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupsResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupsResponse.Resource;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupsResponse.Resource.ContactGroup;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorGroupsResponse.Resource.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorGroupsResponseUnmarshaller {
public static DescribeMonitorGroupsResponse unmarshall(DescribeMonitorGroupsResponse describeMonitorGroupsResponse, UnmarshallerContext _ctx) {
describeMonitorGroupsResponse.setRequestId(_ctx.stringValue("DescribeMonitorGroupsResponse.RequestId"));
describeMonitorGroupsResponse.setSuccess(_ctx.booleanValue("DescribeMonitorGroupsResponse.Success"));
describeMonitorGroupsResponse.setCode(_ctx.integerValue("DescribeMonitorGroupsResponse.Code"));
describeMonitorGroupsResponse.setMessage(_ctx.stringValue("DescribeMonitorGroupsResponse.Message"));
describeMonitorGroupsResponse.setPageNumber(_ctx.integerValue("DescribeMonitorGroupsResponse.PageNumber"));
describeMonitorGroupsResponse.setPageSize(_ctx.integerValue("DescribeMonitorGroupsResponse.PageSize"));
describeMonitorGroupsResponse.setTotal(_ctx.integerValue("DescribeMonitorGroupsResponse.Total"));
List<Resource> resources = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitorGroupsResponse.Resources.Length"); i++) {
Resource resource = new Resource();
resource.setType(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].Type"));
resource.setGroupFounderTagValue(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].GroupFounderTagValue"));
resource.setBindUrl(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].BindUrl"));
resource.setGroupName(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].GroupName"));
resource.setGroupId(_ctx.longValue("DescribeMonitorGroupsResponse.Resources["+ i +"].GroupId"));
resource.setServiceId(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].ServiceId"));
resource.setDynamicTagRuleId(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].DynamicTagRuleId"));
resource.setGmtCreate(_ctx.longValue("DescribeMonitorGroupsResponse.Resources["+ i +"].GmtCreate"));
resource.setGroupFounderTagKey(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].GroupFounderTagKey"));
resource.setGmtModified(_ctx.longValue("DescribeMonitorGroupsResponse.Resources["+ i +"].GmtModified"));
List<String> templateIds = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeMonitorGroupsResponse.Resources["+ i +"].TemplateIds.Length"); j++) {
templateIds.add(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].TemplateIds["+ j +"]"));
}
resource.setTemplateIds(templateIds);
List<ContactGroup> contactGroups = new ArrayList<ContactGroup>();
for (int j = 0; j < _ctx.lengthValue("DescribeMonitorGroupsResponse.Resources["+ i +"].ContactGroups.Length"); j++) {
ContactGroup contactGroup = new ContactGroup();
contactGroup.setName(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].ContactGroups["+ j +"].Name"));
contactGroups.add(contactGroup);
}
resource.setContactGroups(contactGroups);
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("DescribeMonitorGroupsResponse.Resources["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("DescribeMonitorGroupsResponse.Resources["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
resource.setTags(tags);
resources.add(resource);
}
describeMonitorGroupsResponse.setResources(resources);
return describeMonitorGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitorResourceQuotaAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Api;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.CustomMonitor;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EnterpriseQuota;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EventMonitor;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.LogMonitor;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.NAAM;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Phone;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SMS;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorEcsProbe;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorOperatorProbe;
import com.aliyuncs.cms.model.v20190101.DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorTask;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitorResourceQuotaAttributeResponseUnmarshaller {
public static DescribeMonitorResourceQuotaAttributeResponse unmarshall(DescribeMonitorResourceQuotaAttributeResponse describeMonitorResourceQuotaAttributeResponse, UnmarshallerContext _ctx) {
describeMonitorResourceQuotaAttributeResponse.setRequestId(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.RequestId"));
describeMonitorResourceQuotaAttributeResponse.setCode(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.Code"));
describeMonitorResourceQuotaAttributeResponse.setMessage(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.Message"));
ResourceQuota resourceQuota = new ResourceQuota();
resourceQuota.setSuitInfo(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SuitInfo"));
resourceQuota.setInstanceId(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.InstanceId"));
resourceQuota.setExpireTime(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.ExpireTime"));
resourceQuota.setCRMType(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.CRMType"));
SiteMonitorEcsProbe siteMonitorEcsProbe = new SiteMonitorEcsProbe();
siteMonitorEcsProbe.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorEcsProbe.QuotaLimit"));
siteMonitorEcsProbe.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorEcsProbe.QuotaPackage"));
siteMonitorEcsProbe.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorEcsProbe.QuotaUsed"));
resourceQuota.setSiteMonitorEcsProbe(siteMonitorEcsProbe);
SiteMonitorOperatorProbe siteMonitorOperatorProbe = new SiteMonitorOperatorProbe();
siteMonitorOperatorProbe.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorOperatorProbe.QuotaLimit"));
siteMonitorOperatorProbe.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorOperatorProbe.QuotaPackage"));
siteMonitorOperatorProbe.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorOperatorProbe.QuotaUsed"));
resourceQuota.setSiteMonitorOperatorProbe(siteMonitorOperatorProbe);
SiteMonitorTask siteMonitorTask = new SiteMonitorTask();
siteMonitorTask.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorTask.QuotaLimit"));
siteMonitorTask.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorTask.QuotaPackage"));
siteMonitorTask.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SiteMonitorTask.QuotaUsed"));
resourceQuota.setSiteMonitorTask(siteMonitorTask);
CustomMonitor customMonitor = new CustomMonitor();
customMonitor.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.CustomMonitor.QuotaLimit"));
customMonitor.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.CustomMonitor.QuotaPackage"));
customMonitor.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.CustomMonitor.QuotaUsed"));
resourceQuota.setCustomMonitor(customMonitor);
EventMonitor eventMonitor = new EventMonitor();
eventMonitor.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EventMonitor.QuotaLimit"));
eventMonitor.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EventMonitor.QuotaPackage"));
eventMonitor.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EventMonitor.QuotaUsed"));
resourceQuota.setEventMonitor(eventMonitor);
LogMonitor logMonitor = new LogMonitor();
logMonitor.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.LogMonitor.QuotaLimit"));
logMonitor.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.LogMonitor.QuotaPackage"));
logMonitor.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.LogMonitor.QuotaUsed"));
resourceQuota.setLogMonitor(logMonitor);
Api api = new Api();
api.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Api.QuotaLimit"));
api.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Api.QuotaPackage"));
api.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Api.QuotaUsed"));
resourceQuota.setApi(api);
SMS sMS = new SMS();
sMS.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SMS.QuotaLimit"));
sMS.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SMS.QuotaPackage"));
sMS.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.SMS.QuotaUsed"));
resourceQuota.setSMS(sMS);
Phone phone = new Phone();
phone.setQuotaLimit(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Phone.QuotaLimit"));
phone.setQuotaPackage(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Phone.QuotaPackage"));
phone.setQuotaUsed(_ctx.integerValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.Phone.QuotaUsed"));
resourceQuota.setPhone(phone);
EnterpriseQuota enterpriseQuota = new EnterpriseQuota();
enterpriseQuota.setSuitInfo(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EnterpriseQuota.SuitInfo"));
enterpriseQuota.setInstanceId(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.EnterpriseQuota.InstanceId"));
resourceQuota.setEnterpriseQuota(enterpriseQuota);
NAAM nAAM = new NAAM();
nAAM.setEffectTime(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.NAAM.EffectTime"));
nAAM.setInstanceId(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.NAAM.InstanceId"));
nAAM.setSuitInfo(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.NAAM.SuitInfo"));
nAAM.setStatus(_ctx.stringValue("DescribeMonitorResourceQuotaAttributeResponse.ResourceQuota.NAAM.Status"));
resourceQuota.setNAAM(nAAM);
describeMonitorResourceQuotaAttributeResponse.setResourceQuota(resourceQuota);
return describeMonitorResourceQuotaAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitoringAgentAccessKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentAccessKeyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitoringAgentAccessKeyResponseUnmarshaller {
public static DescribeMonitoringAgentAccessKeyResponse unmarshall(DescribeMonitoringAgentAccessKeyResponse describeMonitoringAgentAccessKeyResponse, UnmarshallerContext _ctx) {
describeMonitoringAgentAccessKeyResponse.setRequestId(_ctx.stringValue("DescribeMonitoringAgentAccessKeyResponse.RequestId"));
describeMonitoringAgentAccessKeyResponse.setAccessKey(_ctx.stringValue("DescribeMonitoringAgentAccessKeyResponse.AccessKey"));
describeMonitoringAgentAccessKeyResponse.setSecretKey(_ctx.stringValue("DescribeMonitoringAgentAccessKeyResponse.SecretKey"));
describeMonitoringAgentAccessKeyResponse.setSuccess(_ctx.booleanValue("DescribeMonitoringAgentAccessKeyResponse.Success"));
describeMonitoringAgentAccessKeyResponse.setCode(_ctx.integerValue("DescribeMonitoringAgentAccessKeyResponse.Code"));
describeMonitoringAgentAccessKeyResponse.setMessage(_ctx.stringValue("DescribeMonitoringAgentAccessKeyResponse.Message"));
return describeMonitoringAgentAccessKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitoringAgentConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitoringAgentConfigResponseUnmarshaller {
public static DescribeMonitoringAgentConfigResponse unmarshall(DescribeMonitoringAgentConfigResponse describeMonitoringAgentConfigResponse, UnmarshallerContext _ctx) {
describeMonitoringAgentConfigResponse.setRequestId(_ctx.stringValue("DescribeMonitoringAgentConfigResponse.RequestId"));
describeMonitoringAgentConfigResponse.setEnableActiveAlert(_ctx.stringValue("DescribeMonitoringAgentConfigResponse.EnableActiveAlert"));
describeMonitoringAgentConfigResponse.setAutoInstall(_ctx.booleanValue("DescribeMonitoringAgentConfigResponse.AutoInstall"));
describeMonitoringAgentConfigResponse.setSuccess(_ctx.booleanValue("DescribeMonitoringAgentConfigResponse.Success"));
describeMonitoringAgentConfigResponse.setEnableInstallAgentNewECS(_ctx.booleanValue("DescribeMonitoringAgentConfigResponse.EnableInstallAgentNewECS"));
describeMonitoringAgentConfigResponse.setCode(_ctx.stringValue("DescribeMonitoringAgentConfigResponse.Code"));
describeMonitoringAgentConfigResponse.setMessage(_ctx.stringValue("DescribeMonitoringAgentConfigResponse.Message"));
return describeMonitoringAgentConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitoringAgentHostsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentHostsResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentHostsResponse.Host;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitoringAgentHostsResponseUnmarshaller {
public static DescribeMonitoringAgentHostsResponse unmarshall(DescribeMonitoringAgentHostsResponse describeMonitoringAgentHostsResponse, UnmarshallerContext _ctx) {
describeMonitoringAgentHostsResponse.setRequestId(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.RequestId"));
describeMonitoringAgentHostsResponse.setSuccess(_ctx.booleanValue("DescribeMonitoringAgentHostsResponse.Success"));
describeMonitoringAgentHostsResponse.setCode(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Code"));
describeMonitoringAgentHostsResponse.setMessage(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Message"));
describeMonitoringAgentHostsResponse.setPageNumber(_ctx.integerValue("DescribeMonitoringAgentHostsResponse.PageNumber"));
describeMonitoringAgentHostsResponse.setPageSize(_ctx.integerValue("DescribeMonitoringAgentHostsResponse.PageSize"));
describeMonitoringAgentHostsResponse.setPageTotal(_ctx.integerValue("DescribeMonitoringAgentHostsResponse.PageTotal"));
describeMonitoringAgentHostsResponse.setTotal(_ctx.integerValue("DescribeMonitoringAgentHostsResponse.Total"));
List<Host> hosts = new ArrayList<Host>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitoringAgentHostsResponse.Hosts.Length"); i++) {
Host host = new Host();
host.setSerialNumber(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].SerialNumber"));
host.setNatIp(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].NatIp"));
host.setHostName(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].HostName"));
host.setAliUid(_ctx.longValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].AliUid"));
host.setNetworkType(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].NetworkType"));
host.setInstanceId(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].InstanceId"));
host.setIsAliyunHost(_ctx.booleanValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].isAliyunHost"));
host.setEipAddress(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].EipAddress"));
host.setAgentVersion(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].AgentVersion"));
host.setIpGroup(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].IpGroup"));
host.setEipId(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].EipId"));
host.setRegion(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].Region"));
host.setInstanceTypeFamily(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].InstanceTypeFamily"));
host.setOperatingSystem(_ctx.stringValue("DescribeMonitoringAgentHostsResponse.Hosts["+ i +"].OperatingSystem"));
hosts.add(host);
}
describeMonitoringAgentHostsResponse.setHosts(hosts);
return describeMonitoringAgentHostsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitoringAgentProcessesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentProcessesResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentProcessesResponse.NodeProcess;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitoringAgentProcessesResponseUnmarshaller {
public static DescribeMonitoringAgentProcessesResponse unmarshall(DescribeMonitoringAgentProcessesResponse describeMonitoringAgentProcessesResponse, UnmarshallerContext _ctx) {
describeMonitoringAgentProcessesResponse.setRequestId(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.RequestId"));
describeMonitoringAgentProcessesResponse.setCode(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.Code"));
describeMonitoringAgentProcessesResponse.setMessage(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.Message"));
describeMonitoringAgentProcessesResponse.setSuccess(_ctx.booleanValue("DescribeMonitoringAgentProcessesResponse.Success"));
List<NodeProcess> nodeProcesses = new ArrayList<NodeProcess>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses.Length"); i++) {
NodeProcess nodeProcess = new NodeProcess();
nodeProcess.setProcessName(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses["+ i +"].ProcessName"));
nodeProcess.setProcessId(_ctx.longValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses["+ i +"].ProcessId"));
nodeProcess.setGroupId(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses["+ i +"].GroupId"));
nodeProcess.setCommand(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses["+ i +"].Command"));
nodeProcess.setProcessUser(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses["+ i +"].ProcessUser"));
nodeProcess.setInstanceId(_ctx.stringValue("DescribeMonitoringAgentProcessesResponse.NodeProcesses["+ i +"].InstanceId"));
nodeProcesses.add(nodeProcess);
}
describeMonitoringAgentProcessesResponse.setNodeProcesses(nodeProcesses);
return describeMonitoringAgentProcessesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitoringAgentStatusesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentStatusesResponse;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringAgentStatusesResponse.NodeStatus;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitoringAgentStatusesResponseUnmarshaller {
public static DescribeMonitoringAgentStatusesResponse unmarshall(DescribeMonitoringAgentStatusesResponse describeMonitoringAgentStatusesResponse, UnmarshallerContext _ctx) {
describeMonitoringAgentStatusesResponse.setRequestId(_ctx.stringValue("DescribeMonitoringAgentStatusesResponse.RequestId"));
describeMonitoringAgentStatusesResponse.setCode(_ctx.stringValue("DescribeMonitoringAgentStatusesResponse.Code"));
describeMonitoringAgentStatusesResponse.setMessage(_ctx.stringValue("DescribeMonitoringAgentStatusesResponse.Message"));
describeMonitoringAgentStatusesResponse.setSuccess(_ctx.booleanValue("DescribeMonitoringAgentStatusesResponse.Success"));
List<NodeStatus> nodeStatusList = new ArrayList<NodeStatus>();
for (int i = 0; i < _ctx.lengthValue("DescribeMonitoringAgentStatusesResponse.NodeStatusList.Length"); i++) {
NodeStatus nodeStatus = new NodeStatus();
nodeStatus.setStatus(_ctx.stringValue("DescribeMonitoringAgentStatusesResponse.NodeStatusList["+ i +"].Status"));
nodeStatus.setInstanceId(_ctx.stringValue("DescribeMonitoringAgentStatusesResponse.NodeStatusList["+ i +"].InstanceId"));
nodeStatus.setAutoInstall(_ctx.booleanValue("DescribeMonitoringAgentStatusesResponse.NodeStatusList["+ i +"].AutoInstall"));
nodeStatusList.add(nodeStatus);
}
describeMonitoringAgentStatusesResponse.setNodeStatusList(nodeStatusList);
return describeMonitoringAgentStatusesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeMonitoringConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeMonitoringConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMonitoringConfigResponseUnmarshaller {
public static DescribeMonitoringConfigResponse unmarshall(DescribeMonitoringConfigResponse describeMonitoringConfigResponse, UnmarshallerContext _ctx) {
describeMonitoringConfigResponse.setRequestId(_ctx.stringValue("DescribeMonitoringConfigResponse.RequestId"));
describeMonitoringConfigResponse.setAutoInstall(_ctx.booleanValue("DescribeMonitoringConfigResponse.AutoInstall"));
describeMonitoringConfigResponse.setSuccess(_ctx.booleanValue("DescribeMonitoringConfigResponse.Success"));
describeMonitoringConfigResponse.setEnableInstallAgentNewECS(_ctx.booleanValue("DescribeMonitoringConfigResponse.EnableInstallAgentNewECS"));
describeMonitoringConfigResponse.setCode(_ctx.stringValue("DescribeMonitoringConfigResponse.Code"));
describeMonitoringConfigResponse.setMessage(_ctx.stringValue("DescribeMonitoringConfigResponse.Message"));
return describeMonitoringConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeProductResourceTagKeyListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeProductResourceTagKeyListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeProductResourceTagKeyListResponseUnmarshaller {
public static DescribeProductResourceTagKeyListResponse unmarshall(DescribeProductResourceTagKeyListResponse describeProductResourceTagKeyListResponse, UnmarshallerContext _ctx) {
describeProductResourceTagKeyListResponse.setRequestId(_ctx.stringValue("DescribeProductResourceTagKeyListResponse.RequestId"));
describeProductResourceTagKeyListResponse.setCode(_ctx.stringValue("DescribeProductResourceTagKeyListResponse.Code"));
describeProductResourceTagKeyListResponse.setMessage(_ctx.stringValue("DescribeProductResourceTagKeyListResponse.Message"));
describeProductResourceTagKeyListResponse.setNextToken(_ctx.stringValue("DescribeProductResourceTagKeyListResponse.NextToken"));
describeProductResourceTagKeyListResponse.setSuccess(_ctx.booleanValue("DescribeProductResourceTagKeyListResponse.Success"));
List<String> tagKeys = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeProductResourceTagKeyListResponse.TagKeys.Length"); i++) {
tagKeys.add(_ctx.stringValue("DescribeProductResourceTagKeyListResponse.TagKeys["+ i +"]"));
}
describeProductResourceTagKeyListResponse.setTagKeys(tagKeys);
return describeProductResourceTagKeyListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeProductsOfActiveMetricRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeProductsOfActiveMetricRuleResponse;
import com.aliyuncs.cms.model.v20190101.DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRule;
import com.aliyuncs.cms.model.v20190101.DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRule.AlertInitConfig;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeProductsOfActiveMetricRuleResponseUnmarshaller {
public static DescribeProductsOfActiveMetricRuleResponse unmarshall(DescribeProductsOfActiveMetricRuleResponse describeProductsOfActiveMetricRuleResponse, UnmarshallerContext _ctx) {
describeProductsOfActiveMetricRuleResponse.setRequestId(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.RequestId"));
describeProductsOfActiveMetricRuleResponse.setCode(_ctx.integerValue("DescribeProductsOfActiveMetricRuleResponse.Code"));
describeProductsOfActiveMetricRuleResponse.setMessage(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.Message"));
describeProductsOfActiveMetricRuleResponse.setDatapoints(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.Datapoints"));
describeProductsOfActiveMetricRuleResponse.setSuccess(_ctx.booleanValue("DescribeProductsOfActiveMetricRuleResponse.Success"));
List<AllProductInitMetricRule> allProductInitMetricRuleList = new ArrayList<AllProductInitMetricRule>();
for (int i = 0; i < _ctx.lengthValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList.Length"); i++) {
AllProductInitMetricRule allProductInitMetricRule = new AllProductInitMetricRule();
allProductInitMetricRule.setProduct(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].Product"));
List<AlertInitConfig> alertInitConfigList = new ArrayList<AlertInitConfig>();
for (int j = 0; j < _ctx.lengthValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList.Length"); j++) {
AlertInitConfig alertInitConfig = new AlertInitConfig();
alertInitConfig.setMetricName(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList["+ j +"].MetricName"));
alertInitConfig.setEvaluationCount(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList["+ j +"].EvaluationCount"));
alertInitConfig.setNamespace(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList["+ j +"].Namespace"));
alertInitConfig.setThreshold(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList["+ j +"].Threshold"));
alertInitConfig.setStatistics(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList["+ j +"].Statistics"));
alertInitConfig.setPeriod(_ctx.stringValue("DescribeProductsOfActiveMetricRuleResponse.AllProductInitMetricRuleList["+ i +"].AlertInitConfigList["+ j +"].Period"));
alertInitConfigList.add(alertInitConfig);
}
allProductInitMetricRule.setAlertInitConfigList(alertInitConfigList);
allProductInitMetricRuleList.add(allProductInitMetricRule);
}
describeProductsOfActiveMetricRuleResponse.setAllProductInitMetricRuleList(allProductInitMetricRuleList);
return describeProductsOfActiveMetricRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeProjectMetaResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeProjectMetaResponse;
import com.aliyuncs.cms.model.v20190101.DescribeProjectMetaResponse.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeProjectMetaResponseUnmarshaller {
public static DescribeProjectMetaResponse unmarshall(DescribeProjectMetaResponse describeProjectMetaResponse, UnmarshallerContext _ctx) {
describeProjectMetaResponse.setRequestId(_ctx.stringValue("DescribeProjectMetaResponse.RequestId"));
describeProjectMetaResponse.setSuccess(_ctx.booleanValue("DescribeProjectMetaResponse.Success"));
describeProjectMetaResponse.setCode(_ctx.stringValue("DescribeProjectMetaResponse.Code"));
describeProjectMetaResponse.setMessage(_ctx.stringValue("DescribeProjectMetaResponse.Message"));
describeProjectMetaResponse.setPageSize(_ctx.stringValue("DescribeProjectMetaResponse.PageSize"));
describeProjectMetaResponse.setPageNumber(_ctx.stringValue("DescribeProjectMetaResponse.PageNumber"));
describeProjectMetaResponse.setTotal(_ctx.stringValue("DescribeProjectMetaResponse.Total"));
List<Resource> resources = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("DescribeProjectMetaResponse.Resources.Length"); i++) {
Resource resource = new Resource();
resource.setNamespace(_ctx.stringValue("DescribeProjectMetaResponse.Resources["+ i +"].Namespace"));
resource.setDescription(_ctx.stringValue("DescribeProjectMetaResponse.Resources["+ i +"].Description"));
resource.setLabels(_ctx.stringValue("DescribeProjectMetaResponse.Resources["+ i +"].Labels"));
resources.add(resource);
}
describeProjectMetaResponse.setResources(resources);
return describeProjectMetaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorAttributeResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorAttributeResponse.MetricRule;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorAttributeResponse.SiteMonitors;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorAttributeResponse.SiteMonitors.IspCity;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.AssertionsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorAttributeResponseUnmarshaller {
public static DescribeSiteMonitorAttributeResponse unmarshall(DescribeSiteMonitorAttributeResponse describeSiteMonitorAttributeResponse, UnmarshallerContext _ctx) {
describeSiteMonitorAttributeResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.RequestId"));
describeSiteMonitorAttributeResponse.setCode(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.Code"));
describeSiteMonitorAttributeResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.Message"));
describeSiteMonitorAttributeResponse.setSuccess(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.Success"));
SiteMonitors siteMonitors = new SiteMonitors();
siteMonitors.setEndTime(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.EndTime"));
siteMonitors.setTaskType(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.TaskType"));
siteMonitors.setInterval(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.Interval"));
siteMonitors.setTaskState(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.TaskState"));
siteMonitors.setTaskName(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.TaskName"));
siteMonitors.setAddress(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.Address"));
siteMonitors.setTaskId(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.TaskId"));
OptionJson optionJson = new OptionJson();
optionJson.setRequest_format(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.request_format"));
optionJson.setResponse_content(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.response_content"));
optionJson.setPort(_ctx.integerValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.port"));
optionJson.setProxy_protocol(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.proxy_protocol"));
optionJson.setAuthentication(_ctx.integerValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.authentication"));
optionJson.setMatch_rule(_ctx.integerValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.match_rule"));
optionJson.setDns_match_rule(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.dns_match_rule"));
optionJson.setIpv6_task(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.ipv6_task"));
optionJson.setRequest_content(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.request_content"));
optionJson.setAcceptable_response_code(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.acceptable_response_code"));
optionJson.setUsername(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.username"));
optionJson.setTraceroute(_ctx.longValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.traceroute"));
optionJson.setDns_type(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.dns_type"));
optionJson.setResponse_format(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.response_format"));
optionJson.setPassword(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.password"));
optionJson.setExpect_value(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.expect_value"));
optionJson.setTime_out(_ctx.longValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.time_out"));
optionJson.setFailure_rate(_ctx.floatValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.failure_rate"));
optionJson.setHeader(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.header"));
optionJson.setCookie(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.cookie"));
optionJson.setPing_num(_ctx.integerValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.ping_num"));
optionJson.setHttp_method(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.http_method"));
optionJson.setUnfollow_redirect(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.unfollow_redirect"));
optionJson.setCert_verify(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.cert_verify"));
optionJson.setDns_server(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.dns_server"));
optionJson.setEnable_operator_dns(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.enable_operator_dns"));
optionJson.setAttempts(_ctx.longValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.attempts"));
optionJson.setBizProtocol(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.protocol"));
optionJson.setIsBase64Encode(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.isBase64Encode"));
optionJson.setDiagnosis_mtr(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.diagnosis_mtr"));
optionJson.setDiagnosis_ping(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.diagnosis_ping"));
optionJson.setRetry_delay(_ctx.integerValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.retry_delay"));
optionJson.setSave_response_body(_ctx.booleanValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.save_response_body"));
List<AssertionsItem> assertions = new ArrayList<AssertionsItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.assertions.Length"); i++) {
AssertionsItem assertionsItem = new AssertionsItem();
assertionsItem.setProperty(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.assertions["+ i +"].property"));
assertionsItem.setType(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.assertions["+ i +"].type"));
assertionsItem.setOperator(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.assertions["+ i +"].operator"));
assertionsItem.setTarget(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.OptionJson.assertions["+ i +"].target"));
assertions.add(assertionsItem);
}
optionJson.setAssertions(assertions);
siteMonitors.setOptionJson(optionJson);
List<IspCity> ispCities = new ArrayList<IspCity>();
for (int i = 0; i < _ctx.lengthValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.IspCities.Length"); i++) {
IspCity ispCity = new IspCity();
ispCity.setCity(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.IspCities["+ i +"].City"));
ispCity.setIspName(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.IspCities["+ i +"].IspName"));
ispCity.setIsp(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.IspCities["+ i +"].Isp"));
ispCity.setCityName(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.SiteMonitors.IspCities["+ i +"].CityName"));
ispCities.add(ispCity);
}
siteMonitors.setIspCities(ispCities);
describeSiteMonitorAttributeResponse.setSiteMonitors(siteMonitors);
List<MetricRule> metricRules = new ArrayList<MetricRule>();
for (int i = 0; i < _ctx.lengthValue("DescribeSiteMonitorAttributeResponse.MetricRules.Length"); i++) {
MetricRule metricRule = new MetricRule();
metricRule.setMetricName(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].MetricName"));
metricRule.setEvaluationCount(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].EvaluationCount"));
metricRule.setNamespace(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Namespace"));
metricRule.setOkActions(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].OkActions"));
metricRule.setAlarmActions(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].AlarmActions"));
metricRule.setRuleId(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].RuleId"));
metricRule.setRuleName(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].RuleName"));
metricRule.setPeriod(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Period"));
metricRule.setComparisonOperator(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].ComparisonOperator"));
metricRule.setExpression(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Expression"));
metricRule.setDimensions(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Dimensions"));
metricRule.setStateValue(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].StateValue"));
metricRule.setActionEnable(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].ActionEnable"));
metricRule.setLevel(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Level"));
metricRule.setThreshold(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Threshold"));
metricRule.setStatistics(_ctx.stringValue("DescribeSiteMonitorAttributeResponse.MetricRules["+ i +"].Statistics"));
metricRules.add(metricRule);
}
describeSiteMonitorAttributeResponse.setMetricRules(metricRules);
return describeSiteMonitorAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorDataResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorDataResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorDataResponseUnmarshaller {
public static DescribeSiteMonitorDataResponse unmarshall(DescribeSiteMonitorDataResponse describeSiteMonitorDataResponse, UnmarshallerContext _ctx) {
describeSiteMonitorDataResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorDataResponse.RequestId"));
describeSiteMonitorDataResponse.setNextToken(_ctx.stringValue("DescribeSiteMonitorDataResponse.NextToken"));
describeSiteMonitorDataResponse.setData(_ctx.stringValue("DescribeSiteMonitorDataResponse.Data"));
describeSiteMonitorDataResponse.setSuccess(_ctx.stringValue("DescribeSiteMonitorDataResponse.Success"));
describeSiteMonitorDataResponse.setCode(_ctx.stringValue("DescribeSiteMonitorDataResponse.Code"));
describeSiteMonitorDataResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorDataResponse.Message"));
return describeSiteMonitorDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorISPCityListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorISPCityListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorISPCityListResponse.IspCity;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorISPCityListResponseUnmarshaller {
public static DescribeSiteMonitorISPCityListResponse unmarshall(DescribeSiteMonitorISPCityListResponse describeSiteMonitorISPCityListResponse, UnmarshallerContext _ctx) {
describeSiteMonitorISPCityListResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.RequestId"));
describeSiteMonitorISPCityListResponse.setCode(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.Code"));
describeSiteMonitorISPCityListResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.Message"));
describeSiteMonitorISPCityListResponse.setSuccess(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.Success"));
List<IspCity> ispCityList = new ArrayList<IspCity>();
for (int i = 0; i < _ctx.lengthValue("DescribeSiteMonitorISPCityListResponse.IspCityList.Length"); i++) {
IspCity ispCity = new IspCity();
ispCity.setCityNameen(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].CityName.en"));
ispCity.setIPV4ProbeCount(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].IPV4ProbeCount"));
ispCity.setCity(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].City"));
ispCity.setIsp(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Isp"));
ispCity.setCityNamezh_CN(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].CityName.zh_CN"));
ispCity.setRegionzh_CN(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Region.zh_CN"));
ispCity.setIspNamezh_CN(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].IspName.zh_CN"));
ispCity.setCountryen(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Country.en"));
ispCity.setAPIProbeCount(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].APIProbeCount"));
ispCity.setIPV6ProbeCount(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].IPV6ProbeCount"));
ispCity.setRegion(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Region"));
ispCity.setCountry(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Country"));
ispCity.setIspNameen(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].IspName.en"));
ispCity.setRegionen(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Region.en"));
ispCity.setCountryzh_CN(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Country.zh_CN"));
ispCity.setAreazh_CN(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Area.zh_CN"));
ispCity.setAreaen(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].Area.en"));
List<String> iPPool = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].IPPool.Length"); j++) {
iPPool.add(_ctx.stringValue("DescribeSiteMonitorISPCityListResponse.IspCityList["+ i +"].IPPool["+ j +"]"));
}
ispCity.setIPPool(iPPool);
ispCityList.add(ispCity);
}
describeSiteMonitorISPCityListResponse.setIspCityList(ispCityList);
return describeSiteMonitorISPCityListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorListResponse.SiteMonitor;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorListResponse.SiteMonitor.OptionsJson;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorListResponse.SiteMonitor.OptionsJson.AssertionsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorListResponseUnmarshaller {
public static DescribeSiteMonitorListResponse unmarshall(DescribeSiteMonitorListResponse describeSiteMonitorListResponse, UnmarshallerContext _ctx) {
describeSiteMonitorListResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorListResponse.RequestId"));
describeSiteMonitorListResponse.setSuccess(_ctx.stringValue("DescribeSiteMonitorListResponse.Success"));
describeSiteMonitorListResponse.setCode(_ctx.stringValue("DescribeSiteMonitorListResponse.Code"));
describeSiteMonitorListResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorListResponse.Message"));
describeSiteMonitorListResponse.setPageNumber(_ctx.integerValue("DescribeSiteMonitorListResponse.PageNumber"));
describeSiteMonitorListResponse.setPageSize(_ctx.integerValue("DescribeSiteMonitorListResponse.PageSize"));
describeSiteMonitorListResponse.setTotalCount(_ctx.integerValue("DescribeSiteMonitorListResponse.TotalCount"));
List<SiteMonitor> siteMonitors = new ArrayList<SiteMonitor>();
for (int i = 0; i < _ctx.lengthValue("DescribeSiteMonitorListResponse.SiteMonitors.Length"); i++) {
SiteMonitor siteMonitor = new SiteMonitor();
siteMonitor.setEndTime(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].EndTime"));
siteMonitor.setTaskType(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].TaskType"));
siteMonitor.setUpdateTime(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].UpdateTime"));
siteMonitor.setInterval(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].Interval"));
siteMonitor.setTaskState(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].TaskState"));
siteMonitor.setCreateTime(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].CreateTime"));
siteMonitor.setTaskName(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].TaskName"));
siteMonitor.setAddress(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].Address"));
siteMonitor.setTaskId(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].TaskId"));
OptionsJson optionsJson = new OptionsJson();
optionsJson.setPassword(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.password"));
optionsJson.setRequest_format(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.request_format"));
optionsJson.setExpect_value(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.expect_value"));
optionsJson.setResponse_content(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.response_content"));
optionsJson.setFailure_rate(_ctx.floatValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.failure_rate"));
optionsJson.setTime_out(_ctx.longValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.time_out"));
optionsJson.setHeader(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.header"));
optionsJson.setCookie(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.cookie"));
optionsJson.setPort(_ctx.integerValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.port"));
optionsJson.setPing_num(_ctx.integerValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.ping_num"));
optionsJson.setAuthentication(_ctx.integerValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.authentication"));
optionsJson.setHttp_method(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.http_method"));
optionsJson.setMatch_rule(_ctx.integerValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.match_rule"));
optionsJson.setDns_match_rule(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.dns_match_rule"));
optionsJson.setRequest_content(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.request_content"));
optionsJson.setUsername(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.username"));
optionsJson.setTraceroute(_ctx.longValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.traceroute"));
optionsJson.setResponse_format(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.response_format"));
optionsJson.setDns_type(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.dns_type"));
optionsJson.setGroup_id(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.group_id"));
optionsJson.setDns_server(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.dns_server"));
optionsJson.setEnable_operator_dns(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.enable_operator_dns"));
optionsJson.setAttempts(_ctx.longValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.attempts"));
optionsJson.setBizProtocol(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.protocol"));
optionsJson.setProxy_protocol(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.proxy_protocol"));
optionsJson.setAcceptable_response_code(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.acceptable_response_code"));
optionsJson.setIsBase64Encode(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.isBase64Encode"));
optionsJson.setCert_verify(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.cert_verify"));
optionsJson.setUnfollow_redirect(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.unfollow_redirect"));
optionsJson.setDiagnosis_mtr(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.diagnosis_mtr"));
optionsJson.setDiagnosis_ping(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.diagnosis_ping"));
optionsJson.setRetry_delay(_ctx.integerValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.retry_delay"));
optionsJson.setSave_response_body(_ctx.booleanValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.save_response_body"));
List<AssertionsItem> assertions = new ArrayList<AssertionsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.assertions.Length"); j++) {
AssertionsItem assertionsItem = new AssertionsItem();
assertionsItem.setProperty(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.assertions["+ j +"].property"));
assertionsItem.setType(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.assertions["+ j +"].type"));
assertionsItem.setOperator(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.assertions["+ j +"].operator"));
assertionsItem.setTarget(_ctx.stringValue("DescribeSiteMonitorListResponse.SiteMonitors["+ i +"].OptionsJson.assertions["+ j +"].target"));
assertions.add(assertionsItem);
}
optionsJson.setAssertions(assertions);
siteMonitor.setOptionsJson(optionsJson);
siteMonitors.add(siteMonitor);
}
describeSiteMonitorListResponse.setSiteMonitors(siteMonitors);
return describeSiteMonitorListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorLogResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorLogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorLogResponseUnmarshaller {
public static DescribeSiteMonitorLogResponse unmarshall(DescribeSiteMonitorLogResponse describeSiteMonitorLogResponse, UnmarshallerContext _ctx) {
describeSiteMonitorLogResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorLogResponse.RequestId"));
describeSiteMonitorLogResponse.setNextToken(_ctx.stringValue("DescribeSiteMonitorLogResponse.NextToken"));
describeSiteMonitorLogResponse.setData(_ctx.stringValue("DescribeSiteMonitorLogResponse.Data"));
describeSiteMonitorLogResponse.setSuccess(_ctx.stringValue("DescribeSiteMonitorLogResponse.Success"));
describeSiteMonitorLogResponse.setCode(_ctx.stringValue("DescribeSiteMonitorLogResponse.Code"));
describeSiteMonitorLogResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorLogResponse.Message"));
return describeSiteMonitorLogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorQuotaResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorQuotaResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorQuotaResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorQuotaResponseUnmarshaller {
public static DescribeSiteMonitorQuotaResponse unmarshall(DescribeSiteMonitorQuotaResponse describeSiteMonitorQuotaResponse, UnmarshallerContext _ctx) {
describeSiteMonitorQuotaResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorQuotaResponse.RequestId"));
describeSiteMonitorQuotaResponse.setCode(_ctx.stringValue("DescribeSiteMonitorQuotaResponse.Code"));
describeSiteMonitorQuotaResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorQuotaResponse.Message"));
describeSiteMonitorQuotaResponse.setSuccess(_ctx.stringValue("DescribeSiteMonitorQuotaResponse.Success"));
Data data = new Data();
data.setSiteMonitorOperatorQuotaQuota(_ctx.integerValue("DescribeSiteMonitorQuotaResponse.Data.SiteMonitorOperatorQuotaQuota"));
data.setSecondMonitor(_ctx.booleanValue("DescribeSiteMonitorQuotaResponse.Data.SecondMonitor"));
data.setSiteMonitorQuotaTaskUsed(_ctx.integerValue("DescribeSiteMonitorQuotaResponse.Data.SiteMonitorQuotaTaskUsed"));
data.setSiteMonitorTaskQuota(_ctx.integerValue("DescribeSiteMonitorQuotaResponse.Data.SiteMonitorTaskQuota"));
data.setSiteMonitorVersion(_ctx.stringValue("DescribeSiteMonitorQuotaResponse.Data.SiteMonitorVersion"));
data.setSiteMonitorIdcQuota(_ctx.integerValue("DescribeSiteMonitorQuotaResponse.Data.SiteMonitorIdcQuota"));
describeSiteMonitorQuotaResponse.setData(data);
return describeSiteMonitorQuotaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSiteMonitorStatisticsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DescribeSiteMonitorStatisticsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSiteMonitorStatisticsResponseUnmarshaller {
public static DescribeSiteMonitorStatisticsResponse unmarshall(DescribeSiteMonitorStatisticsResponse describeSiteMonitorStatisticsResponse, UnmarshallerContext _ctx) {
describeSiteMonitorStatisticsResponse.setRequestId(_ctx.stringValue("DescribeSiteMonitorStatisticsResponse.RequestId"));
describeSiteMonitorStatisticsResponse.setCode(_ctx.stringValue("DescribeSiteMonitorStatisticsResponse.Code"));
describeSiteMonitorStatisticsResponse.setMessage(_ctx.stringValue("DescribeSiteMonitorStatisticsResponse.Message"));
describeSiteMonitorStatisticsResponse.setData(_ctx.stringValue("DescribeSiteMonitorStatisticsResponse.Data"));
describeSiteMonitorStatisticsResponse.setSuccess(_ctx.stringValue("DescribeSiteMonitorStatisticsResponse.Success"));
return describeSiteMonitorStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSystemEventAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventAttributeResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventAttributeResponse.SystemEvent;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSystemEventAttributeResponseUnmarshaller {
public static DescribeSystemEventAttributeResponse unmarshall(DescribeSystemEventAttributeResponse describeSystemEventAttributeResponse, UnmarshallerContext _ctx) {
describeSystemEventAttributeResponse.setRequestId(_ctx.stringValue("DescribeSystemEventAttributeResponse.RequestId"));
describeSystemEventAttributeResponse.setCode(_ctx.stringValue("DescribeSystemEventAttributeResponse.Code"));
describeSystemEventAttributeResponse.setMessage(_ctx.stringValue("DescribeSystemEventAttributeResponse.Message"));
describeSystemEventAttributeResponse.setSuccess(_ctx.stringValue("DescribeSystemEventAttributeResponse.Success"));
List<SystemEvent> systemEvents = new ArrayList<SystemEvent>();
for (int i = 0; i < _ctx.lengthValue("DescribeSystemEventAttributeResponse.SystemEvents.Length"); i++) {
SystemEvent systemEvent = new SystemEvent();
systemEvent.setStatus(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].Status"));
systemEvent.setTime(_ctx.longValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].Time"));
systemEvent.setGroupId(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].GroupId"));
systemEvent.setProduct(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].Product"));
systemEvent.setInstanceName(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].InstanceName"));
systemEvent.setResourceId(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].ResourceId"));
systemEvent.setName(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].Name"));
systemEvent.setContent(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].Content"));
systemEvent.setLevel(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].Level"));
systemEvent.setRegionId(_ctx.stringValue("DescribeSystemEventAttributeResponse.SystemEvents["+ i +"].RegionId"));
systemEvents.add(systemEvent);
}
describeSystemEventAttributeResponse.setSystemEvents(systemEvents);
return describeSystemEventAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSystemEventCountResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventCountResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventCountResponse.SystemEventCount;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSystemEventCountResponseUnmarshaller {
public static DescribeSystemEventCountResponse unmarshall(DescribeSystemEventCountResponse describeSystemEventCountResponse, UnmarshallerContext _ctx) {
describeSystemEventCountResponse.setRequestId(_ctx.stringValue("DescribeSystemEventCountResponse.RequestId"));
describeSystemEventCountResponse.setCode(_ctx.stringValue("DescribeSystemEventCountResponse.Code"));
describeSystemEventCountResponse.setMessage(_ctx.stringValue("DescribeSystemEventCountResponse.Message"));
describeSystemEventCountResponse.setSuccess(_ctx.stringValue("DescribeSystemEventCountResponse.Success"));
List<SystemEventCount> systemEventCounts = new ArrayList<SystemEventCount>();
for (int i = 0; i < _ctx.lengthValue("DescribeSystemEventCountResponse.SystemEventCounts.Length"); i++) {
SystemEventCount systemEventCount = new SystemEventCount();
systemEventCount.setStatus(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Status"));
systemEventCount.setTime(_ctx.longValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Time"));
systemEventCount.setGroupId(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].GroupId"));
systemEventCount.setProduct(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Product"));
systemEventCount.setInstanceName(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].InstanceName"));
systemEventCount.setNum(_ctx.longValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Num"));
systemEventCount.setResourceId(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].ResourceId"));
systemEventCount.setName(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Name"));
systemEventCount.setContent(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Content"));
systemEventCount.setLevel(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].Level"));
systemEventCount.setRegionId(_ctx.stringValue("DescribeSystemEventCountResponse.SystemEventCounts["+ i +"].RegionId"));
systemEventCounts.add(systemEventCount);
}
describeSystemEventCountResponse.setSystemEventCounts(systemEventCounts);
return describeSystemEventCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSystemEventHistogramResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventHistogramResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventHistogramResponse.SystemEventHistogram;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSystemEventHistogramResponseUnmarshaller {
public static DescribeSystemEventHistogramResponse unmarshall(DescribeSystemEventHistogramResponse describeSystemEventHistogramResponse, UnmarshallerContext _ctx) {
describeSystemEventHistogramResponse.setRequestId(_ctx.stringValue("DescribeSystemEventHistogramResponse.RequestId"));
describeSystemEventHistogramResponse.setCode(_ctx.stringValue("DescribeSystemEventHistogramResponse.Code"));
describeSystemEventHistogramResponse.setMessage(_ctx.stringValue("DescribeSystemEventHistogramResponse.Message"));
describeSystemEventHistogramResponse.setSuccess(_ctx.stringValue("DescribeSystemEventHistogramResponse.Success"));
List<SystemEventHistogram> systemEventHistograms = new ArrayList<SystemEventHistogram>();
for (int i = 0; i < _ctx.lengthValue("DescribeSystemEventHistogramResponse.SystemEventHistograms.Length"); i++) {
SystemEventHistogram systemEventHistogram = new SystemEventHistogram();
systemEventHistogram.setEndTime(_ctx.longValue("DescribeSystemEventHistogramResponse.SystemEventHistograms["+ i +"].EndTime"));
systemEventHistogram.setStartTime(_ctx.longValue("DescribeSystemEventHistogramResponse.SystemEventHistograms["+ i +"].StartTime"));
systemEventHistogram.setCount(_ctx.longValue("DescribeSystemEventHistogramResponse.SystemEventHistograms["+ i +"].Count"));
systemEventHistograms.add(systemEventHistogram);
}
describeSystemEventHistogramResponse.setSystemEventHistograms(systemEventHistograms);
return describeSystemEventHistogramResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeSystemEventMetaListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventMetaListResponse;
import com.aliyuncs.cms.model.v20190101.DescribeSystemEventMetaListResponse.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSystemEventMetaListResponseUnmarshaller {
public static DescribeSystemEventMetaListResponse unmarshall(DescribeSystemEventMetaListResponse describeSystemEventMetaListResponse, UnmarshallerContext _ctx) {
describeSystemEventMetaListResponse.setRequestId(_ctx.stringValue("DescribeSystemEventMetaListResponse.RequestId"));
describeSystemEventMetaListResponse.setCode(_ctx.integerValue("DescribeSystemEventMetaListResponse.Code"));
describeSystemEventMetaListResponse.setMessage(_ctx.stringValue("DescribeSystemEventMetaListResponse.Message"));
describeSystemEventMetaListResponse.setSuccess(_ctx.booleanValue("DescribeSystemEventMetaListResponse.Success"));
List<Resource> data = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("DescribeSystemEventMetaListResponse.Data.Length"); i++) {
Resource resource = new Resource();
resource.setStatus(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].Status"));
resource.setEventType(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].EventType"));
resource.setProduct(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].Product"));
resource.setNameDesc(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].NameDesc"));
resource.setNameDescEn(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].NameDesc.En"));
resource.setName(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].Name"));
resource.setStatusDesc(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].StatusDesc"));
resource.setLevel(_ctx.stringValue("DescribeSystemEventMetaListResponse.Data["+ i +"].Level"));
data.add(resource);
}
describeSystemEventMetaListResponse.setData(data);
return describeSystemEventMetaListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeTagKeyListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeTagKeyListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTagKeyListResponseUnmarshaller {
public static DescribeTagKeyListResponse unmarshall(DescribeTagKeyListResponse describeTagKeyListResponse, UnmarshallerContext _ctx) {
describeTagKeyListResponse.setRequestId(_ctx.stringValue("DescribeTagKeyListResponse.RequestId"));
describeTagKeyListResponse.setCode(_ctx.stringValue("DescribeTagKeyListResponse.Code"));
describeTagKeyListResponse.setMessage(_ctx.stringValue("DescribeTagKeyListResponse.Message"));
describeTagKeyListResponse.setSuccess(_ctx.booleanValue("DescribeTagKeyListResponse.Success"));
List<String> tagKeys = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeTagKeyListResponse.TagKeys.Length"); i++) {
tagKeys.add(_ctx.stringValue("DescribeTagKeyListResponse.TagKeys["+ i +"]"));
}
describeTagKeyListResponse.setTagKeys(tagKeys);
return describeTagKeyListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeTagValueListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeTagValueListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTagValueListResponseUnmarshaller {
public static DescribeTagValueListResponse unmarshall(DescribeTagValueListResponse describeTagValueListResponse, UnmarshallerContext _ctx) {
describeTagValueListResponse.setRequestId(_ctx.stringValue("DescribeTagValueListResponse.RequestId"));
describeTagValueListResponse.setCode(_ctx.stringValue("DescribeTagValueListResponse.Code"));
describeTagValueListResponse.setMessage(_ctx.stringValue("DescribeTagValueListResponse.Message"));
describeTagValueListResponse.setSuccess(_ctx.booleanValue("DescribeTagValueListResponse.Success"));
List<String> tagValues = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeTagValueListResponse.TagValues.Length"); i++) {
tagValues.add(_ctx.stringValue("DescribeTagValueListResponse.TagValues["+ i +"]"));
}
describeTagValueListResponse.setTagValues(tagValues);
return describeTagValueListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeUnhealthyHostAvailabilityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.DescribeUnhealthyHostAvailabilityResponse;
import com.aliyuncs.cms.model.v20190101.DescribeUnhealthyHostAvailabilityResponse.NodeTaskInstance;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeUnhealthyHostAvailabilityResponseUnmarshaller {
public static DescribeUnhealthyHostAvailabilityResponse unmarshall(DescribeUnhealthyHostAvailabilityResponse describeUnhealthyHostAvailabilityResponse, UnmarshallerContext _ctx) {
describeUnhealthyHostAvailabilityResponse.setRequestId(_ctx.stringValue("DescribeUnhealthyHostAvailabilityResponse.RequestId"));
describeUnhealthyHostAvailabilityResponse.setCode(_ctx.stringValue("DescribeUnhealthyHostAvailabilityResponse.Code"));
describeUnhealthyHostAvailabilityResponse.setMessage(_ctx.stringValue("DescribeUnhealthyHostAvailabilityResponse.Message"));
describeUnhealthyHostAvailabilityResponse.setSuccess(_ctx.booleanValue("DescribeUnhealthyHostAvailabilityResponse.Success"));
List<NodeTaskInstance> unhealthyList = new ArrayList<NodeTaskInstance>();
for (int i = 0; i < _ctx.lengthValue("DescribeUnhealthyHostAvailabilityResponse.UnhealthyList.Length"); i++) {
NodeTaskInstance nodeTaskInstance = new NodeTaskInstance();
nodeTaskInstance.setId(_ctx.longValue("DescribeUnhealthyHostAvailabilityResponse.UnhealthyList["+ i +"].Id"));
List<String> instanceList = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeUnhealthyHostAvailabilityResponse.UnhealthyList["+ i +"].InstanceList.Length"); j++) {
instanceList.add(_ctx.stringValue("DescribeUnhealthyHostAvailabilityResponse.UnhealthyList["+ i +"].InstanceList["+ j +"]"));
}
nodeTaskInstance.setInstanceList(instanceList);
unhealthyList.add(nodeTaskInstance);
}
describeUnhealthyHostAvailabilityResponse.setUnhealthyList(unhealthyList);
return describeUnhealthyHostAvailabilityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DisableActiveMetricRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DisableActiveMetricRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableActiveMetricRuleResponseUnmarshaller {
public static DisableActiveMetricRuleResponse unmarshall(DisableActiveMetricRuleResponse disableActiveMetricRuleResponse, UnmarshallerContext _ctx) {
disableActiveMetricRuleResponse.setRequestId(_ctx.stringValue("DisableActiveMetricRuleResponse.RequestId"));
disableActiveMetricRuleResponse.setCode(_ctx.stringValue("DisableActiveMetricRuleResponse.Code"));
disableActiveMetricRuleResponse.setMessage(_ctx.stringValue("DisableActiveMetricRuleResponse.Message"));
disableActiveMetricRuleResponse.setSuccess(_ctx.booleanValue("DisableActiveMetricRuleResponse.Success"));
return disableActiveMetricRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DisableEventRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DisableEventRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableEventRulesResponseUnmarshaller {
public static DisableEventRulesResponse unmarshall(DisableEventRulesResponse disableEventRulesResponse, UnmarshallerContext _ctx) {
disableEventRulesResponse.setRequestId(_ctx.stringValue("DisableEventRulesResponse.RequestId"));
disableEventRulesResponse.setCode(_ctx.stringValue("DisableEventRulesResponse.Code"));
disableEventRulesResponse.setMessage(_ctx.stringValue("DisableEventRulesResponse.Message"));
disableEventRulesResponse.setSuccess(_ctx.booleanValue("DisableEventRulesResponse.Success"));
return disableEventRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DisableHostAvailabilityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DisableHostAvailabilityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableHostAvailabilityResponseUnmarshaller {
public static DisableHostAvailabilityResponse unmarshall(DisableHostAvailabilityResponse disableHostAvailabilityResponse, UnmarshallerContext _ctx) {
disableHostAvailabilityResponse.setRequestId(_ctx.stringValue("DisableHostAvailabilityResponse.RequestId"));
disableHostAvailabilityResponse.setCode(_ctx.stringValue("DisableHostAvailabilityResponse.Code"));
disableHostAvailabilityResponse.setMessage(_ctx.stringValue("DisableHostAvailabilityResponse.Message"));
disableHostAvailabilityResponse.setSuccess(_ctx.booleanValue("DisableHostAvailabilityResponse.Success"));
return disableHostAvailabilityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DisableMetricRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DisableMetricRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableMetricRulesResponseUnmarshaller {
public static DisableMetricRulesResponse unmarshall(DisableMetricRulesResponse disableMetricRulesResponse, UnmarshallerContext _ctx) {
disableMetricRulesResponse.setRequestId(_ctx.stringValue("DisableMetricRulesResponse.RequestId"));
disableMetricRulesResponse.setCode(_ctx.stringValue("DisableMetricRulesResponse.Code"));
disableMetricRulesResponse.setMessage(_ctx.stringValue("DisableMetricRulesResponse.Message"));
disableMetricRulesResponse.setSuccess(_ctx.booleanValue("DisableMetricRulesResponse.Success"));
return disableMetricRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DisableSiteMonitorsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.DisableSiteMonitorsResponse;
import com.aliyuncs.cms.model.v20190101.DisableSiteMonitorsResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableSiteMonitorsResponseUnmarshaller {
public static DisableSiteMonitorsResponse unmarshall(DisableSiteMonitorsResponse disableSiteMonitorsResponse, UnmarshallerContext _ctx) {
disableSiteMonitorsResponse.setRequestId(_ctx.stringValue("DisableSiteMonitorsResponse.RequestId"));
disableSiteMonitorsResponse.setCode(_ctx.stringValue("DisableSiteMonitorsResponse.Code"));
disableSiteMonitorsResponse.setMessage(_ctx.stringValue("DisableSiteMonitorsResponse.Message"));
disableSiteMonitorsResponse.setSuccess(_ctx.stringValue("DisableSiteMonitorsResponse.Success"));
Data data = new Data();
data.setCount(_ctx.integerValue("DisableSiteMonitorsResponse.Data.count"));
disableSiteMonitorsResponse.setData(data);
return disableSiteMonitorsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/EnableActiveMetricRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.EnableActiveMetricRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableActiveMetricRuleResponseUnmarshaller {
public static EnableActiveMetricRuleResponse unmarshall(EnableActiveMetricRuleResponse enableActiveMetricRuleResponse, UnmarshallerContext _ctx) {
enableActiveMetricRuleResponse.setRequestId(_ctx.stringValue("EnableActiveMetricRuleResponse.RequestId"));
enableActiveMetricRuleResponse.setCode(_ctx.stringValue("EnableActiveMetricRuleResponse.Code"));
enableActiveMetricRuleResponse.setMessage(_ctx.stringValue("EnableActiveMetricRuleResponse.Message"));
enableActiveMetricRuleResponse.setSuccess(_ctx.booleanValue("EnableActiveMetricRuleResponse.Success"));
return enableActiveMetricRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/EnableEventRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.EnableEventRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableEventRulesResponseUnmarshaller {
public static EnableEventRulesResponse unmarshall(EnableEventRulesResponse enableEventRulesResponse, UnmarshallerContext _ctx) {
enableEventRulesResponse.setRequestId(_ctx.stringValue("EnableEventRulesResponse.RequestId"));
enableEventRulesResponse.setCode(_ctx.stringValue("EnableEventRulesResponse.Code"));
enableEventRulesResponse.setMessage(_ctx.stringValue("EnableEventRulesResponse.Message"));
enableEventRulesResponse.setSuccess(_ctx.booleanValue("EnableEventRulesResponse.Success"));
return enableEventRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/EnableHostAvailabilityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.EnableHostAvailabilityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableHostAvailabilityResponseUnmarshaller {
public static EnableHostAvailabilityResponse unmarshall(EnableHostAvailabilityResponse enableHostAvailabilityResponse, UnmarshallerContext _ctx) {
enableHostAvailabilityResponse.setRequestId(_ctx.stringValue("EnableHostAvailabilityResponse.RequestId"));
enableHostAvailabilityResponse.setCode(_ctx.stringValue("EnableHostAvailabilityResponse.Code"));
enableHostAvailabilityResponse.setMessage(_ctx.stringValue("EnableHostAvailabilityResponse.Message"));
enableHostAvailabilityResponse.setSuccess(_ctx.booleanValue("EnableHostAvailabilityResponse.Success"));
return enableHostAvailabilityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/EnableMetricRuleBlackListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.EnableMetricRuleBlackListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableMetricRuleBlackListResponseUnmarshaller {
public static EnableMetricRuleBlackListResponse unmarshall(EnableMetricRuleBlackListResponse enableMetricRuleBlackListResponse, UnmarshallerContext _ctx) {
enableMetricRuleBlackListResponse.setRequestId(_ctx.stringValue("EnableMetricRuleBlackListResponse.RequestId"));
enableMetricRuleBlackListResponse.setCode(_ctx.stringValue("EnableMetricRuleBlackListResponse.Code"));
enableMetricRuleBlackListResponse.setMessage(_ctx.stringValue("EnableMetricRuleBlackListResponse.Message"));
enableMetricRuleBlackListResponse.setSuccess(_ctx.booleanValue("EnableMetricRuleBlackListResponse.Success"));
enableMetricRuleBlackListResponse.setCount(_ctx.integerValue("EnableMetricRuleBlackListResponse.Count"));
return enableMetricRuleBlackListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/EnableMetricRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.EnableMetricRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableMetricRulesResponseUnmarshaller {
public static EnableMetricRulesResponse unmarshall(EnableMetricRulesResponse enableMetricRulesResponse, UnmarshallerContext _ctx) {
enableMetricRulesResponse.setRequestId(_ctx.stringValue("EnableMetricRulesResponse.RequestId"));
enableMetricRulesResponse.setCode(_ctx.stringValue("EnableMetricRulesResponse.Code"));
enableMetricRulesResponse.setMessage(_ctx.stringValue("EnableMetricRulesResponse.Message"));
enableMetricRulesResponse.setSuccess(_ctx.booleanValue("EnableMetricRulesResponse.Success"));
return enableMetricRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/EnableSiteMonitorsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.EnableSiteMonitorsResponse;
import com.aliyuncs.cms.model.v20190101.EnableSiteMonitorsResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableSiteMonitorsResponseUnmarshaller {
public static EnableSiteMonitorsResponse unmarshall(EnableSiteMonitorsResponse enableSiteMonitorsResponse, UnmarshallerContext _ctx) {
enableSiteMonitorsResponse.setRequestId(_ctx.stringValue("EnableSiteMonitorsResponse.RequestId"));
enableSiteMonitorsResponse.setCode(_ctx.stringValue("EnableSiteMonitorsResponse.Code"));
enableSiteMonitorsResponse.setMessage(_ctx.stringValue("EnableSiteMonitorsResponse.Message"));
enableSiteMonitorsResponse.setSuccess(_ctx.stringValue("EnableSiteMonitorsResponse.Success"));
Data data = new Data();
data.setCount(_ctx.integerValue("EnableSiteMonitorsResponse.Data.count"));
enableSiteMonitorsResponse.setData(data);
return enableSiteMonitorsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/InstallMonitoringAgentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.InstallMonitoringAgentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class InstallMonitoringAgentResponseUnmarshaller {
public static InstallMonitoringAgentResponse unmarshall(InstallMonitoringAgentResponse installMonitoringAgentResponse, UnmarshallerContext _ctx) {
installMonitoringAgentResponse.setRequestId(_ctx.stringValue("InstallMonitoringAgentResponse.RequestId"));
installMonitoringAgentResponse.setCode(_ctx.stringValue("InstallMonitoringAgentResponse.Code"));
installMonitoringAgentResponse.setMessage(_ctx.stringValue("InstallMonitoringAgentResponse.Message"));
installMonitoringAgentResponse.setSuccess(_ctx.booleanValue("InstallMonitoringAgentResponse.Success"));
return installMonitoringAgentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyGroupMonitoringAgentProcessResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyGroupMonitoringAgentProcessResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyGroupMonitoringAgentProcessResponseUnmarshaller {
public static ModifyGroupMonitoringAgentProcessResponse unmarshall(ModifyGroupMonitoringAgentProcessResponse modifyGroupMonitoringAgentProcessResponse, UnmarshallerContext _ctx) {
modifyGroupMonitoringAgentProcessResponse.setRequestId(_ctx.stringValue("ModifyGroupMonitoringAgentProcessResponse.RequestId"));
modifyGroupMonitoringAgentProcessResponse.setCode(_ctx.stringValue("ModifyGroupMonitoringAgentProcessResponse.Code"));
modifyGroupMonitoringAgentProcessResponse.setMessage(_ctx.stringValue("ModifyGroupMonitoringAgentProcessResponse.Message"));
modifyGroupMonitoringAgentProcessResponse.setSuccess(_ctx.booleanValue("ModifyGroupMonitoringAgentProcessResponse.Success"));
return modifyGroupMonitoringAgentProcessResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyHostAvailabilityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyHostAvailabilityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyHostAvailabilityResponseUnmarshaller {
public static ModifyHostAvailabilityResponse unmarshall(ModifyHostAvailabilityResponse modifyHostAvailabilityResponse, UnmarshallerContext _ctx) {
modifyHostAvailabilityResponse.setRequestId(_ctx.stringValue("ModifyHostAvailabilityResponse.RequestId"));
modifyHostAvailabilityResponse.setCode(_ctx.stringValue("ModifyHostAvailabilityResponse.Code"));
modifyHostAvailabilityResponse.setMessage(_ctx.stringValue("ModifyHostAvailabilityResponse.Message"));
modifyHostAvailabilityResponse.setSuccess(_ctx.booleanValue("ModifyHostAvailabilityResponse.Success"));
return modifyHostAvailabilityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyHostInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyHostInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyHostInfoResponseUnmarshaller {
public static ModifyHostInfoResponse unmarshall(ModifyHostInfoResponse modifyHostInfoResponse, UnmarshallerContext _ctx) {
modifyHostInfoResponse.setRequestId(_ctx.stringValue("ModifyHostInfoResponse.RequestId"));
modifyHostInfoResponse.setCode(_ctx.stringValue("ModifyHostInfoResponse.Code"));
modifyHostInfoResponse.setMessage(_ctx.stringValue("ModifyHostInfoResponse.Message"));
modifyHostInfoResponse.setSuccess(_ctx.booleanValue("ModifyHostInfoResponse.Success"));
return modifyHostInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyHybridMonitorNamespaceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyHybridMonitorNamespaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyHybridMonitorNamespaceResponseUnmarshaller {
public static ModifyHybridMonitorNamespaceResponse unmarshall(ModifyHybridMonitorNamespaceResponse modifyHybridMonitorNamespaceResponse, UnmarshallerContext _ctx) {
modifyHybridMonitorNamespaceResponse.setRequestId(_ctx.stringValue("ModifyHybridMonitorNamespaceResponse.RequestId"));
modifyHybridMonitorNamespaceResponse.setCode(_ctx.stringValue("ModifyHybridMonitorNamespaceResponse.Code"));
modifyHybridMonitorNamespaceResponse.setMessage(_ctx.stringValue("ModifyHybridMonitorNamespaceResponse.Message"));
modifyHybridMonitorNamespaceResponse.setSuccess(_ctx.stringValue("ModifyHybridMonitorNamespaceResponse.Success"));
return modifyHybridMonitorNamespaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyHybridMonitorSLSGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyHybridMonitorSLSGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyHybridMonitorSLSGroupResponseUnmarshaller {
public static ModifyHybridMonitorSLSGroupResponse unmarshall(ModifyHybridMonitorSLSGroupResponse modifyHybridMonitorSLSGroupResponse, UnmarshallerContext _ctx) {
modifyHybridMonitorSLSGroupResponse.setRequestId(_ctx.stringValue("ModifyHybridMonitorSLSGroupResponse.RequestId"));
modifyHybridMonitorSLSGroupResponse.setCode(_ctx.stringValue("ModifyHybridMonitorSLSGroupResponse.Code"));
modifyHybridMonitorSLSGroupResponse.setMessage(_ctx.stringValue("ModifyHybridMonitorSLSGroupResponse.Message"));
modifyHybridMonitorSLSGroupResponse.setSuccess(_ctx.stringValue("ModifyHybridMonitorSLSGroupResponse.Success"));
return modifyHybridMonitorSLSGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyHybridMonitorTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyHybridMonitorTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyHybridMonitorTaskResponseUnmarshaller {
public static ModifyHybridMonitorTaskResponse unmarshall(ModifyHybridMonitorTaskResponse modifyHybridMonitorTaskResponse, UnmarshallerContext _ctx) {
modifyHybridMonitorTaskResponse.setRequestId(_ctx.stringValue("ModifyHybridMonitorTaskResponse.RequestId"));
modifyHybridMonitorTaskResponse.setCode(_ctx.stringValue("ModifyHybridMonitorTaskResponse.Code"));
modifyHybridMonitorTaskResponse.setMessage(_ctx.stringValue("ModifyHybridMonitorTaskResponse.Message"));
modifyHybridMonitorTaskResponse.setSuccess(_ctx.stringValue("ModifyHybridMonitorTaskResponse.Success"));
return modifyHybridMonitorTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyMetricRuleBlackListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyMetricRuleBlackListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyMetricRuleBlackListResponseUnmarshaller {
public static ModifyMetricRuleBlackListResponse unmarshall(ModifyMetricRuleBlackListResponse modifyMetricRuleBlackListResponse, UnmarshallerContext _ctx) {
modifyMetricRuleBlackListResponse.setRequestId(_ctx.stringValue("ModifyMetricRuleBlackListResponse.RequestId"));
modifyMetricRuleBlackListResponse.setCode(_ctx.stringValue("ModifyMetricRuleBlackListResponse.Code"));
modifyMetricRuleBlackListResponse.setMessage(_ctx.stringValue("ModifyMetricRuleBlackListResponse.Message"));
modifyMetricRuleBlackListResponse.setSuccess(_ctx.booleanValue("ModifyMetricRuleBlackListResponse.Success"));
modifyMetricRuleBlackListResponse.setCount(_ctx.stringValue("ModifyMetricRuleBlackListResponse.Count"));
return modifyMetricRuleBlackListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyMetricRuleTemplateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyMetricRuleTemplateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyMetricRuleTemplateResponseUnmarshaller {
public static ModifyMetricRuleTemplateResponse unmarshall(ModifyMetricRuleTemplateResponse modifyMetricRuleTemplateResponse, UnmarshallerContext _ctx) {
modifyMetricRuleTemplateResponse.setRequestId(_ctx.stringValue("ModifyMetricRuleTemplateResponse.RequestId"));
modifyMetricRuleTemplateResponse.setCode(_ctx.integerValue("ModifyMetricRuleTemplateResponse.Code"));
modifyMetricRuleTemplateResponse.setMessage(_ctx.stringValue("ModifyMetricRuleTemplateResponse.Message"));
modifyMetricRuleTemplateResponse.setSuccess(_ctx.booleanValue("ModifyMetricRuleTemplateResponse.Success"));
return modifyMetricRuleTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyMonitorGroupInstancesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyMonitorGroupInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyMonitorGroupInstancesResponseUnmarshaller {
public static ModifyMonitorGroupInstancesResponse unmarshall(ModifyMonitorGroupInstancesResponse modifyMonitorGroupInstancesResponse, UnmarshallerContext _ctx) {
modifyMonitorGroupInstancesResponse.setRequestId(_ctx.stringValue("ModifyMonitorGroupInstancesResponse.RequestId"));
modifyMonitorGroupInstancesResponse.setCode(_ctx.integerValue("ModifyMonitorGroupInstancesResponse.Code"));
modifyMonitorGroupInstancesResponse.setMessage(_ctx.stringValue("ModifyMonitorGroupInstancesResponse.Message"));
modifyMonitorGroupInstancesResponse.setSuccess(_ctx.booleanValue("ModifyMonitorGroupInstancesResponse.Success"));
return modifyMonitorGroupInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifyMonitorGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifyMonitorGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyMonitorGroupResponseUnmarshaller {
public static ModifyMonitorGroupResponse unmarshall(ModifyMonitorGroupResponse modifyMonitorGroupResponse, UnmarshallerContext _ctx) {
modifyMonitorGroupResponse.setRequestId(_ctx.stringValue("ModifyMonitorGroupResponse.RequestId"));
modifyMonitorGroupResponse.setCode(_ctx.integerValue("ModifyMonitorGroupResponse.Code"));
modifyMonitorGroupResponse.setMessage(_ctx.stringValue("ModifyMonitorGroupResponse.Message"));
modifyMonitorGroupResponse.setSuccess(_ctx.booleanValue("ModifyMonitorGroupResponse.Success"));
return modifyMonitorGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ModifySiteMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.ModifySiteMonitorResponse;
import com.aliyuncs.cms.model.v20190101.ModifySiteMonitorResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifySiteMonitorResponseUnmarshaller {
public static ModifySiteMonitorResponse unmarshall(ModifySiteMonitorResponse modifySiteMonitorResponse, UnmarshallerContext _ctx) {
modifySiteMonitorResponse.setRequestId(_ctx.stringValue("ModifySiteMonitorResponse.RequestId"));
modifySiteMonitorResponse.setCode(_ctx.stringValue("ModifySiteMonitorResponse.Code"));
modifySiteMonitorResponse.setMessage(_ctx.stringValue("ModifySiteMonitorResponse.Message"));
modifySiteMonitorResponse.setSuccess(_ctx.stringValue("ModifySiteMonitorResponse.Success"));
Data data = new Data();
data.setCount(_ctx.integerValue("ModifySiteMonitorResponse.Data.count"));
modifySiteMonitorResponse.setData(data);
return modifySiteMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/OpenCmsServiceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.OpenCmsServiceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class OpenCmsServiceResponseUnmarshaller {
public static OpenCmsServiceResponse unmarshall(OpenCmsServiceResponse openCmsServiceResponse, UnmarshallerContext _ctx) {
openCmsServiceResponse.setRequestId(_ctx.stringValue("OpenCmsServiceResponse.RequestId"));
openCmsServiceResponse.setOrderId(_ctx.stringValue("OpenCmsServiceResponse.OrderId"));
return openCmsServiceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutAlertStrategyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutAlertStrategyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutAlertStrategyResponseUnmarshaller {
public static PutAlertStrategyResponse unmarshall(PutAlertStrategyResponse putAlertStrategyResponse, UnmarshallerContext _ctx) {
putAlertStrategyResponse.setRequestId(_ctx.stringValue("PutAlertStrategyResponse.RequestId"));
putAlertStrategyResponse.setCode(_ctx.stringValue("PutAlertStrategyResponse.Code"));
putAlertStrategyResponse.setMessage(_ctx.stringValue("PutAlertStrategyResponse.Message"));
putAlertStrategyResponse.setSuccess(_ctx.booleanValue("PutAlertStrategyResponse.Success"));
return putAlertStrategyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutContactGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutContactGroupResponseUnmarshaller {
public static PutContactGroupResponse unmarshall(PutContactGroupResponse putContactGroupResponse, UnmarshallerContext _ctx) {
putContactGroupResponse.setRequestId(_ctx.stringValue("PutContactGroupResponse.RequestId"));
putContactGroupResponse.setCode(_ctx.stringValue("PutContactGroupResponse.Code"));
putContactGroupResponse.setMessage(_ctx.stringValue("PutContactGroupResponse.Message"));
putContactGroupResponse.setSuccess(_ctx.booleanValue("PutContactGroupResponse.Success"));
return putContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutContactResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutContactResponseUnmarshaller {
public static PutContactResponse unmarshall(PutContactResponse putContactResponse, UnmarshallerContext _ctx) {
putContactResponse.setRequestId(_ctx.stringValue("PutContactResponse.RequestId"));
putContactResponse.setCode(_ctx.stringValue("PutContactResponse.Code"));
putContactResponse.setMessage(_ctx.stringValue("PutContactResponse.Message"));
putContactResponse.setSuccess(_ctx.booleanValue("PutContactResponse.Success"));
return putContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutCustomEventResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutCustomEventResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutCustomEventResponseUnmarshaller {
public static PutCustomEventResponse unmarshall(PutCustomEventResponse putCustomEventResponse, UnmarshallerContext _ctx) {
putCustomEventResponse.setRequestId(_ctx.stringValue("PutCustomEventResponse.RequestId"));
putCustomEventResponse.setCode(_ctx.stringValue("PutCustomEventResponse.Code"));
putCustomEventResponse.setMessage(_ctx.stringValue("PutCustomEventResponse.Message"));
return putCustomEventResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutCustomEventRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutCustomEventRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutCustomEventRuleResponseUnmarshaller {
public static PutCustomEventRuleResponse unmarshall(PutCustomEventRuleResponse putCustomEventRuleResponse, UnmarshallerContext _ctx) {
putCustomEventRuleResponse.setRequestId(_ctx.stringValue("PutCustomEventRuleResponse.RequestId"));
putCustomEventRuleResponse.setCode(_ctx.stringValue("PutCustomEventRuleResponse.Code"));
putCustomEventRuleResponse.setMessage(_ctx.stringValue("PutCustomEventRuleResponse.Message"));
putCustomEventRuleResponse.setSuccess(_ctx.booleanValue("PutCustomEventRuleResponse.Success"));
return putCustomEventRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutCustomMetricResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutCustomMetricResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutCustomMetricResponseUnmarshaller {
public static PutCustomMetricResponse unmarshall(PutCustomMetricResponse putCustomMetricResponse, UnmarshallerContext _ctx) {
putCustomMetricResponse.setRequestId(_ctx.stringValue("PutCustomMetricResponse.RequestId"));
putCustomMetricResponse.setCode(_ctx.stringValue("PutCustomMetricResponse.Code"));
putCustomMetricResponse.setMessage(_ctx.stringValue("PutCustomMetricResponse.Message"));
return putCustomMetricResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutCustomMetricRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutCustomMetricRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutCustomMetricRuleResponseUnmarshaller {
public static PutCustomMetricRuleResponse unmarshall(PutCustomMetricRuleResponse putCustomMetricRuleResponse, UnmarshallerContext _ctx) {
putCustomMetricRuleResponse.setRequestId(_ctx.stringValue("PutCustomMetricRuleResponse.RequestId"));
putCustomMetricRuleResponse.setCode(_ctx.stringValue("PutCustomMetricRuleResponse.Code"));
putCustomMetricRuleResponse.setMessage(_ctx.stringValue("PutCustomMetricRuleResponse.Message"));
putCustomMetricRuleResponse.setSuccess(_ctx.booleanValue("PutCustomMetricRuleResponse.Success"));
return putCustomMetricRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutEventRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutEventRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutEventRuleResponseUnmarshaller {
public static PutEventRuleResponse unmarshall(PutEventRuleResponse putEventRuleResponse, UnmarshallerContext _ctx) {
putEventRuleResponse.setRequestId(_ctx.stringValue("PutEventRuleResponse.RequestId"));
putEventRuleResponse.setCode(_ctx.stringValue("PutEventRuleResponse.Code"));
putEventRuleResponse.setMessage(_ctx.stringValue("PutEventRuleResponse.Message"));
putEventRuleResponse.setData(_ctx.stringValue("PutEventRuleResponse.Data"));
putEventRuleResponse.setSuccess(_ctx.booleanValue("PutEventRuleResponse.Success"));
return putEventRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutEventRuleTargetsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.PutEventRuleTargetsResponse;
import com.aliyuncs.cms.model.v20190101.PutEventRuleTargetsResponse.ContactParameter;
import com.aliyuncs.cms.model.v20190101.PutEventRuleTargetsResponse.FcParameter;
import com.aliyuncs.cms.model.v20190101.PutEventRuleTargetsResponse.MnsParameter;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutEventRuleTargetsResponseUnmarshaller {
public static PutEventRuleTargetsResponse unmarshall(PutEventRuleTargetsResponse putEventRuleTargetsResponse, UnmarshallerContext _ctx) {
putEventRuleTargetsResponse.setRequestId(_ctx.stringValue("PutEventRuleTargetsResponse.RequestId"));
putEventRuleTargetsResponse.setCode(_ctx.stringValue("PutEventRuleTargetsResponse.Code"));
putEventRuleTargetsResponse.setMessage(_ctx.stringValue("PutEventRuleTargetsResponse.Message"));
putEventRuleTargetsResponse.setSuccess(_ctx.booleanValue("PutEventRuleTargetsResponse.Success"));
putEventRuleTargetsResponse.setFailedParameterCount(_ctx.stringValue("PutEventRuleTargetsResponse.FailedParameterCount"));
List<ContactParameter> failedContactParameters = new ArrayList<ContactParameter>();
for (int i = 0; i < _ctx.lengthValue("PutEventRuleTargetsResponse.FailedContactParameters.Length"); i++) {
ContactParameter contactParameter = new ContactParameter();
contactParameter.setContactGroupName(_ctx.stringValue("PutEventRuleTargetsResponse.FailedContactParameters["+ i +"].ContactGroupName"));
contactParameter.setId(_ctx.integerValue("PutEventRuleTargetsResponse.FailedContactParameters["+ i +"].Id"));
contactParameter.setLevel(_ctx.stringValue("PutEventRuleTargetsResponse.FailedContactParameters["+ i +"].Level"));
failedContactParameters.add(contactParameter);
}
putEventRuleTargetsResponse.setFailedContactParameters(failedContactParameters);
List<MnsParameter> failedMnsParameters = new ArrayList<MnsParameter>();
for (int i = 0; i < _ctx.lengthValue("PutEventRuleTargetsResponse.FailedMnsParameters.Length"); i++) {
MnsParameter mnsParameter = new MnsParameter();
mnsParameter.setQueue(_ctx.stringValue("PutEventRuleTargetsResponse.FailedMnsParameters["+ i +"].Queue"));
mnsParameter.setId(_ctx.integerValue("PutEventRuleTargetsResponse.FailedMnsParameters["+ i +"].Id"));
mnsParameter.setRegion(_ctx.stringValue("PutEventRuleTargetsResponse.FailedMnsParameters["+ i +"].Region"));
failedMnsParameters.add(mnsParameter);
}
putEventRuleTargetsResponse.setFailedMnsParameters(failedMnsParameters);
List<FcParameter> failedFcParameters = new ArrayList<FcParameter>();
for (int i = 0; i < _ctx.lengthValue("PutEventRuleTargetsResponse.FailedFcParameters.Length"); i++) {
FcParameter fcParameter = new FcParameter();
fcParameter.setServiceName(_ctx.stringValue("PutEventRuleTargetsResponse.FailedFcParameters["+ i +"].ServiceName"));
fcParameter.setFunctionName(_ctx.stringValue("PutEventRuleTargetsResponse.FailedFcParameters["+ i +"].FunctionName"));
fcParameter.setId(_ctx.integerValue("PutEventRuleTargetsResponse.FailedFcParameters["+ i +"].Id"));
fcParameter.setRegion(_ctx.stringValue("PutEventRuleTargetsResponse.FailedFcParameters["+ i +"].Region"));
failedFcParameters.add(fcParameter);
}
putEventRuleTargetsResponse.setFailedFcParameters(failedFcParameters);
return putEventRuleTargetsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutExporterOutputResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutExporterOutputResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutExporterOutputResponseUnmarshaller {
public static PutExporterOutputResponse unmarshall(PutExporterOutputResponse putExporterOutputResponse, UnmarshallerContext _ctx) {
putExporterOutputResponse.setRequestId(_ctx.stringValue("PutExporterOutputResponse.RequestId"));
putExporterOutputResponse.setCode(_ctx.stringValue("PutExporterOutputResponse.Code"));
putExporterOutputResponse.setMessage(_ctx.stringValue("PutExporterOutputResponse.Message"));
putExporterOutputResponse.setSuccess(_ctx.booleanValue("PutExporterOutputResponse.Success"));
return putExporterOutputResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutExporterRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutExporterRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutExporterRuleResponseUnmarshaller {
public static PutExporterRuleResponse unmarshall(PutExporterRuleResponse putExporterRuleResponse, UnmarshallerContext _ctx) {
putExporterRuleResponse.setRequestId(_ctx.stringValue("PutExporterRuleResponse.RequestId"));
putExporterRuleResponse.setCode(_ctx.stringValue("PutExporterRuleResponse.Code"));
putExporterRuleResponse.setMessage(_ctx.stringValue("PutExporterRuleResponse.Message"));
putExporterRuleResponse.setSuccess(_ctx.booleanValue("PutExporterRuleResponse.Success"));
return putExporterRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutGroupMetricRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutGroupMetricRuleResponse;
import com.aliyuncs.cms.model.v20190101.PutGroupMetricRuleResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutGroupMetricRuleResponseUnmarshaller {
public static PutGroupMetricRuleResponse unmarshall(PutGroupMetricRuleResponse putGroupMetricRuleResponse, UnmarshallerContext _ctx) {
putGroupMetricRuleResponse.setRequestId(_ctx.stringValue("PutGroupMetricRuleResponse.RequestId"));
putGroupMetricRuleResponse.setCode(_ctx.stringValue("PutGroupMetricRuleResponse.Code"));
putGroupMetricRuleResponse.setMessage(_ctx.stringValue("PutGroupMetricRuleResponse.Message"));
putGroupMetricRuleResponse.setSuccess(_ctx.booleanValue("PutGroupMetricRuleResponse.Success"));
Result result = new Result();
result.setRuleId(_ctx.stringValue("PutGroupMetricRuleResponse.Result.RuleId"));
putGroupMetricRuleResponse.setResult(result);
return putGroupMetricRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutHybridMonitorMetricDataResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.PutHybridMonitorMetricDataResponse;
import com.aliyuncs.cms.model.v20190101.PutHybridMonitorMetricDataResponse.Detail;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutHybridMonitorMetricDataResponseUnmarshaller {
public static PutHybridMonitorMetricDataResponse unmarshall(PutHybridMonitorMetricDataResponse putHybridMonitorMetricDataResponse, UnmarshallerContext _ctx) {
putHybridMonitorMetricDataResponse.setRequestId(_ctx.stringValue("PutHybridMonitorMetricDataResponse.RequestId"));
putHybridMonitorMetricDataResponse.setCode(_ctx.stringValue("PutHybridMonitorMetricDataResponse.Code"));
List<Detail> errorDetail = new ArrayList<Detail>();
for (int i = 0; i < _ctx.lengthValue("PutHybridMonitorMetricDataResponse.ErrorDetail.Length"); i++) {
Detail detail = new Detail();
detail.setIndex(_ctx.longValue("PutHybridMonitorMetricDataResponse.ErrorDetail["+ i +"].Index"));
detail.setErrorMessage(_ctx.stringValue("PutHybridMonitorMetricDataResponse.ErrorDetail["+ i +"].ErrorMessage"));
errorDetail.add(detail);
}
putHybridMonitorMetricDataResponse.setErrorDetail(errorDetail);
return putHybridMonitorMetricDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutLogMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutLogMonitorResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutLogMonitorResponseUnmarshaller {
public static PutLogMonitorResponse unmarshall(PutLogMonitorResponse putLogMonitorResponse, UnmarshallerContext _ctx) {
putLogMonitorResponse.setRequestId(_ctx.stringValue("PutLogMonitorResponse.RequestId"));
putLogMonitorResponse.setCode(_ctx.stringValue("PutLogMonitorResponse.Code"));
putLogMonitorResponse.setMessage(_ctx.stringValue("PutLogMonitorResponse.Message"));
putLogMonitorResponse.setLogId(_ctx.stringValue("PutLogMonitorResponse.LogId"));
putLogMonitorResponse.setSuccess(_ctx.booleanValue("PutLogMonitorResponse.Success"));
return putLogMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutMetricRuleTargetsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.PutMetricRuleTargetsResponse;
import com.aliyuncs.cms.model.v20190101.PutMetricRuleTargetsResponse.FailData;
import com.aliyuncs.cms.model.v20190101.PutMetricRuleTargetsResponse.FailData.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutMetricRuleTargetsResponseUnmarshaller {
public static PutMetricRuleTargetsResponse unmarshall(PutMetricRuleTargetsResponse putMetricRuleTargetsResponse, UnmarshallerContext _ctx) {
putMetricRuleTargetsResponse.setRequestId(_ctx.stringValue("PutMetricRuleTargetsResponse.RequestId"));
putMetricRuleTargetsResponse.setCode(_ctx.stringValue("PutMetricRuleTargetsResponse.Code"));
putMetricRuleTargetsResponse.setMessage(_ctx.stringValue("PutMetricRuleTargetsResponse.Message"));
putMetricRuleTargetsResponse.setSuccess(_ctx.booleanValue("PutMetricRuleTargetsResponse.Success"));
FailData failData = new FailData();
List<Target> targets = new ArrayList<Target>();
for (int i = 0; i < _ctx.lengthValue("PutMetricRuleTargetsResponse.FailData.Targets.Length"); i++) {
Target target = new Target();
target.setId(_ctx.stringValue("PutMetricRuleTargetsResponse.FailData.Targets["+ i +"].Id"));
target.setArn(_ctx.stringValue("PutMetricRuleTargetsResponse.FailData.Targets["+ i +"].Arn"));
target.setLevel(_ctx.stringValue("PutMetricRuleTargetsResponse.FailData.Targets["+ i +"].Level"));
targets.add(target);
}
failData.setTargets(targets);
putMetricRuleTargetsResponse.setFailData(failData);
return putMetricRuleTargetsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutMonitorGroupDynamicRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutMonitorGroupDynamicRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutMonitorGroupDynamicRuleResponseUnmarshaller {
public static PutMonitorGroupDynamicRuleResponse unmarshall(PutMonitorGroupDynamicRuleResponse putMonitorGroupDynamicRuleResponse, UnmarshallerContext _ctx) {
putMonitorGroupDynamicRuleResponse.setRequestId(_ctx.stringValue("PutMonitorGroupDynamicRuleResponse.RequestId"));
putMonitorGroupDynamicRuleResponse.setCode(_ctx.integerValue("PutMonitorGroupDynamicRuleResponse.Code"));
putMonitorGroupDynamicRuleResponse.setMessage(_ctx.stringValue("PutMonitorGroupDynamicRuleResponse.Message"));
putMonitorGroupDynamicRuleResponse.setSuccess(_ctx.booleanValue("PutMonitorGroupDynamicRuleResponse.Success"));
return putMonitorGroupDynamicRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutMonitoringConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutMonitoringConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutMonitoringConfigResponseUnmarshaller {
public static PutMonitoringConfigResponse unmarshall(PutMonitoringConfigResponse putMonitoringConfigResponse, UnmarshallerContext _ctx) {
putMonitoringConfigResponse.setRequestId(_ctx.stringValue("PutMonitoringConfigResponse.RequestId"));
putMonitoringConfigResponse.setCode(_ctx.integerValue("PutMonitoringConfigResponse.Code"));
putMonitoringConfigResponse.setMessage(_ctx.stringValue("PutMonitoringConfigResponse.Message"));
putMonitoringConfigResponse.setSuccess(_ctx.booleanValue("PutMonitoringConfigResponse.Success"));
return putMonitoringConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutResourceMetricRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.PutResourceMetricRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutResourceMetricRuleResponseUnmarshaller {
public static PutResourceMetricRuleResponse unmarshall(PutResourceMetricRuleResponse putResourceMetricRuleResponse, UnmarshallerContext _ctx) {
putResourceMetricRuleResponse.setRequestId(_ctx.stringValue("PutResourceMetricRuleResponse.RequestId"));
putResourceMetricRuleResponse.setCode(_ctx.stringValue("PutResourceMetricRuleResponse.Code"));
putResourceMetricRuleResponse.setMessage(_ctx.stringValue("PutResourceMetricRuleResponse.Message"));
putResourceMetricRuleResponse.setSuccess(_ctx.booleanValue("PutResourceMetricRuleResponse.Success"));
return putResourceMetricRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/PutResourceMetricRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.PutResourceMetricRulesResponse;
import com.aliyuncs.cms.model.v20190101.PutResourceMetricRulesResponse.Target;
import com.aliyuncs.cms.model.v20190101.PutResourceMetricRulesResponse.Target.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutResourceMetricRulesResponseUnmarshaller {
public static PutResourceMetricRulesResponse unmarshall(PutResourceMetricRulesResponse putResourceMetricRulesResponse, UnmarshallerContext _ctx) {
putResourceMetricRulesResponse.setRequestId(_ctx.stringValue("PutResourceMetricRulesResponse.RequestId"));
putResourceMetricRulesResponse.setCode(_ctx.stringValue("PutResourceMetricRulesResponse.Code"));
putResourceMetricRulesResponse.setMessage(_ctx.stringValue("PutResourceMetricRulesResponse.Message"));
putResourceMetricRulesResponse.setSuccess(_ctx.booleanValue("PutResourceMetricRulesResponse.Success"));
List<Target> failedListResult = new ArrayList<Target>();
for (int i = 0; i < _ctx.lengthValue("PutResourceMetricRulesResponse.FailedListResult.Length"); i++) {
Target target = new Target();
target.setRuleId(_ctx.stringValue("PutResourceMetricRulesResponse.FailedListResult["+ i +"].RuleId"));
Result result = new Result();
result.setCode(_ctx.stringValue("PutResourceMetricRulesResponse.FailedListResult["+ i +"].Result.Code"));
result.setMessage(_ctx.stringValue("PutResourceMetricRulesResponse.FailedListResult["+ i +"].Result.Message"));
result.setSuccess(_ctx.booleanValue("PutResourceMetricRulesResponse.FailedListResult["+ i +"].Result.Success"));
target.setResult(result);
failedListResult.add(target);
}
putResourceMetricRulesResponse.setFailedListResult(failedListResult);
return putResourceMetricRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/RemoveTagsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cms.model.v20190101.RemoveTagsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveTagsResponseUnmarshaller {
public static RemoveTagsResponse unmarshall(RemoveTagsResponse removeTagsResponse, UnmarshallerContext _ctx) {
removeTagsResponse.setRequestId(_ctx.stringValue("RemoveTagsResponse.RequestId"));
removeTagsResponse.setCode(_ctx.stringValue("RemoveTagsResponse.Code"));
removeTagsResponse.setMessage(_ctx.stringValue("RemoveTagsResponse.Message"));
removeTagsResponse.setSuccess(_ctx.booleanValue("RemoveTagsResponse.Success"));
List<String> tag = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("RemoveTagsResponse.Tag.Length"); i++) {
tag.add(_ctx.stringValue("RemoveTagsResponse.Tag["+ i +"]"));
}
removeTagsResponse.setTag(tag);
return removeTagsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/SendDryRunSystemEventResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.SendDryRunSystemEventResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SendDryRunSystemEventResponseUnmarshaller {
public static SendDryRunSystemEventResponse unmarshall(SendDryRunSystemEventResponse sendDryRunSystemEventResponse, UnmarshallerContext _ctx) {
sendDryRunSystemEventResponse.setRequestId(_ctx.stringValue("SendDryRunSystemEventResponse.RequestId"));
sendDryRunSystemEventResponse.setCode(_ctx.stringValue("SendDryRunSystemEventResponse.Code"));
sendDryRunSystemEventResponse.setMessage(_ctx.stringValue("SendDryRunSystemEventResponse.Message"));
sendDryRunSystemEventResponse.setSuccess(_ctx.stringValue("SendDryRunSystemEventResponse.Success"));
return sendDryRunSystemEventResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/UninstallMonitoringAgentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cms.transform.v20190101;
import com.aliyuncs.cms.model.v20190101.UninstallMonitoringAgentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UninstallMonitoringAgentResponseUnmarshaller {
public static UninstallMonitoringAgentResponse unmarshall(UninstallMonitoringAgentResponse uninstallMonitoringAgentResponse, UnmarshallerContext _ctx) {
uninstallMonitoringAgentResponse.setRequestId(_ctx.stringValue("UninstallMonitoringAgentResponse.RequestId"));
uninstallMonitoringAgentResponse.setCode(_ctx.stringValue("UninstallMonitoringAgentResponse.Code"));
uninstallMonitoringAgentResponse.setMessage(_ctx.stringValue("UninstallMonitoringAgentResponse.Message"));
uninstallMonitoringAgentResponse.setSuccess(_ctx.booleanValue("UninstallMonitoringAgentResponse.Success"));
return uninstallMonitoringAgentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AcceptMergeRequestRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AcceptMergeRequestRequest extends RoaAcsRequest<AcceptMergeRequestResponse> {
private String organizationId;
private Long mergeRequestId;
private String accessToken;
private Long projectId;
public AcceptMergeRequestRequest() {
super("codeup", "2020-04-14", "AcceptMergeRequest");
setUriPattern("/api/v3/projects/[ProjectId]/merge_request/[MergeRequestId]/accept");
setMethod(MethodType.PUT);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public Long getMergeRequestId() {
return this.mergeRequestId;
}
public void setMergeRequestId(Long mergeRequestId) {
this.mergeRequestId = mergeRequestId;
if(mergeRequestId != null){
putPathParameter("MergeRequestId", mergeRequestId.toString());
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<AcceptMergeRequestResponse> getResponseClass() {
return AcceptMergeRequestResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AcceptMergeRequestResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.AcceptMergeRequestResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AcceptMergeRequestResponse extends AcsResponse {
private String errorCode;
private String errorMessage;
private String requestId;
private Boolean success;
private Result result;
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String acceptedRevision;
private Integer aheadCommitCount;
private Integer behindCommitCount;
private String createdAt;
private String description;
private Long id;
private String mergeError;
private String mergeStatus;
private String mergeType;
private String mergedRevision;
private String nameWithNamespace;
private Long projectId;
private String sourceBranch;
private String state;
private String targetBranch;
private String title;
private String updatedAt;
private String webUrl;
private List<AssigneeListItem> assigneeList;
private ApproveCheckResult approveCheckResult;
private Author author;
public String getAcceptedRevision() {
return this.acceptedRevision;
}
public void setAcceptedRevision(String acceptedRevision) {
this.acceptedRevision = acceptedRevision;
}
public Integer getAheadCommitCount() {
return this.aheadCommitCount;
}
public void setAheadCommitCount(Integer aheadCommitCount) {
this.aheadCommitCount = aheadCommitCount;
}
public Integer getBehindCommitCount() {
return this.behindCommitCount;
}
public void setBehindCommitCount(Integer behindCommitCount) {
this.behindCommitCount = behindCommitCount;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getMergeError() {
return this.mergeError;
}
public void setMergeError(String mergeError) {
this.mergeError = mergeError;
}
public String getMergeStatus() {
return this.mergeStatus;
}
public void setMergeStatus(String mergeStatus) {
this.mergeStatus = mergeStatus;
}
public String getMergeType() {
return this.mergeType;
}
public void setMergeType(String mergeType) {
this.mergeType = mergeType;
}
public String getMergedRevision() {
return this.mergedRevision;
}
public void setMergedRevision(String mergedRevision) {
this.mergedRevision = mergedRevision;
}
public String getNameWithNamespace() {
return this.nameWithNamespace;
}
public void setNameWithNamespace(String nameWithNamespace) {
this.nameWithNamespace = nameWithNamespace;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public String getSourceBranch() {
return this.sourceBranch;
}
public void setSourceBranch(String sourceBranch) {
this.sourceBranch = sourceBranch;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getTargetBranch() {
return this.targetBranch;
}
public void setTargetBranch(String targetBranch) {
this.targetBranch = targetBranch;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUpdatedAt() {
return this.updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
public String getWebUrl() {
return this.webUrl;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
public List<AssigneeListItem> getAssigneeList() {
return this.assigneeList;
}
public void setAssigneeList(List<AssigneeListItem> assigneeList) {
this.assigneeList = assigneeList;
}
public ApproveCheckResult getApproveCheckResult() {
return this.approveCheckResult;
}
public void setApproveCheckResult(ApproveCheckResult approveCheckResult) {
this.approveCheckResult = approveCheckResult;
}
public Author getAuthor() {
return this.author;
}
public void setAuthor(Author author) {
this.author = author;
}
public static class AssigneeListItem {
private String avatarUrl;
private String externUserId;
private String id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
public static class ApproveCheckResult {
private String totalCheckResult;
private List<SatisfiedCheckResultsItem> satisfiedCheckResults;
private List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults;
public String getTotalCheckResult() {
return this.totalCheckResult;
}
public void setTotalCheckResult(String totalCheckResult) {
this.totalCheckResult = totalCheckResult;
}
public List<SatisfiedCheckResultsItem> getSatisfiedCheckResults() {
return this.satisfiedCheckResults;
}
public void setSatisfiedCheckResults(List<SatisfiedCheckResultsItem> satisfiedCheckResults) {
this.satisfiedCheckResults = satisfiedCheckResults;
}
public List<UnsatisfiedCheckResultsItem> getUnsatisfiedCheckResults() {
return this.unsatisfiedCheckResults;
}
public void setUnsatisfiedCheckResults(List<UnsatisfiedCheckResultsItem> unsatisfiedCheckResults) {
this.unsatisfiedCheckResults = unsatisfiedCheckResults;
}
public static class SatisfiedCheckResultsItem {
private String checkName;
private String checkStatus;
private String checkType;
private List<ExtraUsersItem> extraUsers;
private List<String> satisfiedItems;
private List<String> unsatisfiedItems;
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(String checkStatus) {
this.checkStatus = checkStatus;
}
public String getCheckType() {
return this.checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType;
}
public List<ExtraUsersItem> getExtraUsers() {
return this.extraUsers;
}
public void setExtraUsers(List<ExtraUsersItem> extraUsers) {
this.extraUsers = extraUsers;
}
public List<String> getSatisfiedItems() {
return this.satisfiedItems;
}
public void setSatisfiedItems(List<String> satisfiedItems) {
this.satisfiedItems = satisfiedItems;
}
public List<String> getUnsatisfiedItems() {
return this.unsatisfiedItems;
}
public void setUnsatisfiedItems(List<String> unsatisfiedItems) {
this.unsatisfiedItems = unsatisfiedItems;
}
public static class ExtraUsersItem {
private String avatarUrl;
private String externUserId;
private Long id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
public static class UnsatisfiedCheckResultsItem {
private String checkName;
private String checkStatus;
private String checkType;
private List<ExtraUsersItem4> extraUsers3;
private List<String> satisfiedItems1;
private List<String> unsatisfiedItems2;
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(String checkStatus) {
this.checkStatus = checkStatus;
}
public String getCheckType() {
return this.checkType;
}
public void setCheckType(String checkType) {
this.checkType = checkType;
}
public List<ExtraUsersItem4> getExtraUsers3() {
return this.extraUsers3;
}
public void setExtraUsers3(List<ExtraUsersItem4> extraUsers3) {
this.extraUsers3 = extraUsers3;
}
public List<String> getSatisfiedItems1() {
return this.satisfiedItems1;
}
public void setSatisfiedItems1(List<String> satisfiedItems1) {
this.satisfiedItems1 = satisfiedItems1;
}
public List<String> getUnsatisfiedItems2() {
return this.unsatisfiedItems2;
}
public void setUnsatisfiedItems2(List<String> unsatisfiedItems2) {
this.unsatisfiedItems2 = unsatisfiedItems2;
}
public static class ExtraUsersItem4 {
private String avatarUrl;
private String externUserId;
private Long id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
}
public static class Author {
private String avatarUrl;
private String externUserId;
private Long id;
private String name;
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
@Override
public AcceptMergeRequestResponse getInstance(UnmarshallerContext context) {
return AcceptMergeRequestResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AddGroupMemberRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AddGroupMemberRequest extends RoaAcsRequest<AddGroupMemberResponse> {
private String organizationId;
private String subUserId;
private Long groupId;
private String accessToken;
public AddGroupMemberRequest() {
super("codeup", "2020-04-14", "AddGroupMember");
setUriPattern("/api/v4/groups/[GroupId]/members");
setMethod(MethodType.POST);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public Long getGroupId() {
return this.groupId;
}
public void setGroupId(Long groupId) {
this.groupId = groupId;
if(groupId != null){
putPathParameter("GroupId", groupId.toString());
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
@Override
public Class<AddGroupMemberResponse> getResponseClass() {
return AddGroupMemberResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AddGroupMemberResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.AddGroupMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddGroupMemberResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private List<ResultItem> result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public List<ResultItem> getResult() {
return this.result;
}
public void setResult(List<ResultItem> result) {
this.result = result;
}
public static class ResultItem {
private Integer accessLevel;
private String externUserId;
private Long id;
private String state;
private String avatarUrl;
private String email;
public Integer getAccessLevel() {
return this.accessLevel;
}
public void setAccessLevel(Integer accessLevel) {
this.accessLevel = accessLevel;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
}
@Override
public AddGroupMemberResponse getInstance(UnmarshallerContext context) {
return AddGroupMemberResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AddRepositoryMemberRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AddRepositoryMemberRequest extends RoaAcsRequest<AddRepositoryMemberResponse> {
private String organizationId;
private String subUserId;
private String accessToken;
private Long projectId;
public AddRepositoryMemberRequest() {
super("codeup", "2020-04-14", "AddRepositoryMember");
setUriPattern("/api/v4/projects/[ProjectId]/members");
setMethod(MethodType.POST);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<AddRepositoryMemberResponse> getResponseClass() {
return AddRepositoryMemberResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AddRepositoryMemberResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.AddRepositoryMemberResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddRepositoryMemberResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private List<ResultItem> result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public List<ResultItem> getResult() {
return this.result;
}
public void setResult(List<ResultItem> result) {
this.result = result;
}
public static class ResultItem {
private Integer accessLevel;
private String externUserId;
private Long id;
private String state;
private String avatarUrl;
private String email;
public Integer getAccessLevel() {
return this.accessLevel;
}
public void setAccessLevel(Integer accessLevel) {
this.accessLevel = accessLevel;
}
public String getExternUserId() {
return this.externUserId;
}
public void setExternUserId(String externUserId) {
this.externUserId = externUserId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getAvatarUrl() {
return this.avatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
this.avatarUrl = avatarUrl;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
}
@Override
public AddRepositoryMemberResponse getInstance(UnmarshallerContext context) {
return AddRepositoryMemberResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AddWebhookRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AddWebhookRequest extends RoaAcsRequest<AddWebhookResponse> {
private String organizationId;
private String accessToken;
private Long projectId;
public AddWebhookRequest() {
super("codeup", "2020-04-14", "AddWebhook");
setUriPattern("/api/v3/projects/[ProjectId]/hooks");
setMethod(MethodType.POST);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<AddWebhookResponse> getResponseClass() {
return AddWebhookResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/AddWebhookResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.AddWebhookResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AddWebhookResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Long id;
private String url;
private String createdAt;
private Long projectId;
private Boolean pushEvents;
private Boolean issuesEvents;
private Boolean mergeRequestsEvents;
private Boolean tagPushEvents;
private Boolean buildEvents;
private Boolean noteEvents;
private Boolean enableSslVerification;
private String lastTestResult;
private String description;
private String secretToken;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public Boolean getPushEvents() {
return this.pushEvents;
}
public void setPushEvents(Boolean pushEvents) {
this.pushEvents = pushEvents;
}
public Boolean getIssuesEvents() {
return this.issuesEvents;
}
public void setIssuesEvents(Boolean issuesEvents) {
this.issuesEvents = issuesEvents;
}
public Boolean getMergeRequestsEvents() {
return this.mergeRequestsEvents;
}
public void setMergeRequestsEvents(Boolean mergeRequestsEvents) {
this.mergeRequestsEvents = mergeRequestsEvents;
}
public Boolean getTagPushEvents() {
return this.tagPushEvents;
}
public void setTagPushEvents(Boolean tagPushEvents) {
this.tagPushEvents = tagPushEvents;
}
public Boolean getBuildEvents() {
return this.buildEvents;
}
public void setBuildEvents(Boolean buildEvents) {
this.buildEvents = buildEvents;
}
public Boolean getNoteEvents() {
return this.noteEvents;
}
public void setNoteEvents(Boolean noteEvents) {
this.noteEvents = noteEvents;
}
public Boolean getEnableSslVerification() {
return this.enableSslVerification;
}
public void setEnableSslVerification(Boolean enableSslVerification) {
this.enableSslVerification = enableSslVerification;
}
public String getLastTestResult() {
return this.lastTestResult;
}
public void setLastTestResult(String lastTestResult) {
this.lastTestResult = lastTestResult;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSecretToken() {
return this.secretToken;
}
public void setSecretToken(String secretToken) {
this.secretToken = secretToken;
}
}
@Override
public AddWebhookResponse getInstance(UnmarshallerContext context) {
return AddWebhookResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/CreateBranchRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateBranchRequest extends RoaAcsRequest<CreateBranchResponse> {
private String organizationId;
private String subUserId;
private String accessToken;
private Long projectId;
public CreateBranchRequest() {
super("codeup", "2020-04-14", "CreateBranch");
setUriPattern("/api/v3/projects/[ProjectId]/repository/branches");
setMethod(MethodType.POST);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<CreateBranchResponse> getResponseClass() {
return CreateBranchResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/CreateBranchResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.codeup.transform.v20200414.CreateBranchResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateBranchResponse extends AcsResponse {
private String requestId;
private String errorCode;
private Boolean success;
private String errorMessage;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String branchName;
private Boolean protectedBranch;
private CommitInfo commitInfo;
public String getBranchName() {
return this.branchName;
}
public void setBranchName(String branchName) {
this.branchName = branchName;
}
public Boolean getProtectedBranch() {
return this.protectedBranch;
}
public void setProtectedBranch(Boolean protectedBranch) {
this.protectedBranch = protectedBranch;
}
public CommitInfo getCommitInfo() {
return this.commitInfo;
}
public void setCommitInfo(CommitInfo commitInfo) {
this.commitInfo = commitInfo;
}
public static class CommitInfo {
private String id;
private String shortId;
private String title;
private String authorName;
private String authorEmail;
private String createdAt;
private String message;
private String authorDate;
private String committedDate;
private String committerEmail;
private String committerName;
private List<String> parentIds;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getShortId() {
return this.shortId;
}
public void setShortId(String shortId) {
this.shortId = shortId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAuthorName() {
return this.authorName;
}
public void setAuthorName(String authorName) {
this.authorName = authorName;
}
public String getAuthorEmail() {
return this.authorEmail;
}
public void setAuthorEmail(String authorEmail) {
this.authorEmail = authorEmail;
}
public String getCreatedAt() {
return this.createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getAuthorDate() {
return this.authorDate;
}
public void setAuthorDate(String authorDate) {
this.authorDate = authorDate;
}
public String getCommittedDate() {
return this.committedDate;
}
public void setCommittedDate(String committedDate) {
this.committedDate = committedDate;
}
public String getCommitterEmail() {
return this.committerEmail;
}
public void setCommitterEmail(String committerEmail) {
this.committerEmail = committerEmail;
}
public String getCommitterName() {
return this.committerName;
}
public void setCommitterName(String committerName) {
this.committerName = committerName;
}
public List<String> getParentIds() {
return this.parentIds;
}
public void setParentIds(List<String> parentIds) {
this.parentIds = parentIds;
}
}
}
@Override
public CreateBranchResponse getInstance(UnmarshallerContext context) {
return CreateBranchResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model
|
java-sources/com/aliyun/aliyun-java-sdk-codeup/0.1.3/com/aliyuncs/codeup/model/v20200414/CreateFileRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.codeup.model.v20200414;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateFileRequest extends RoaAcsRequest<CreateFileResponse> {
private String organizationId;
private String subUserId;
private String accessToken;
private Long projectId;
public CreateFileRequest() {
super("codeup", "2020-04-14", "CreateFile");
setUriPattern("/api/v3/projects/[ProjectId]/repository/files");
setMethod(MethodType.POST);
}
public String getOrganizationId() {
return this.organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
if(organizationId != null){
putQueryParameter("OrganizationId", organizationId);
}
}
public String getSubUserId() {
return this.subUserId;
}
public void setSubUserId(String subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putQueryParameter("SubUserId", subUserId);
}
}
public String getAccessToken() {
return this.accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
if(accessToken != null){
putQueryParameter("AccessToken", accessToken);
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putPathParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<CreateFileResponse> getResponseClass() {
return CreateFileResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.