index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetProductTaskStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetProductTaskStatusResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetProductTaskStatusResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetProductTaskStatusResponseUnmarshaller {
public static GetProductTaskStatusResponse unmarshall(GetProductTaskStatusResponse getProductTaskStatusResponse, UnmarshallerContext _ctx) {
getProductTaskStatusResponse.setRequestId(_ctx.stringValue("GetProductTaskStatusResponse.RequestId"));
Data data = new Data();
data.setCheckTaskStatus(_ctx.stringValue("GetProductTaskStatusResponse.Data.CheckTaskStatus"));
data.setCheckTaskDoneCount(_ctx.longValue("GetProductTaskStatusResponse.Data.CheckTaskDoneCount"));
data.setProduct(_ctx.stringValue("GetProductTaskStatusResponse.Data.Product"));
getProductTaskStatusResponse.setData(data);
return getProductTaskStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetResourceDistributionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetResourceDistributionResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetResourceDistributionResponse.ProductDistributionDTO;
import com.aliyuncs.advisor_share.model.v20180608.GetResourceDistributionResponse.ProductDistributionDTO.ResourceDistributionDTO;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetResourceDistributionResponseUnmarshaller {
public static GetResourceDistributionResponse unmarshall(GetResourceDistributionResponse getResourceDistributionResponse, UnmarshallerContext _ctx) {
getResourceDistributionResponse.setRequestId(_ctx.stringValue("GetResourceDistributionResponse.RequestId"));
List<ProductDistributionDTO> data = new ArrayList<ProductDistributionDTO>();
for (int i = 0; i < _ctx.lengthValue("GetResourceDistributionResponse.Data.Length"); i++) {
ProductDistributionDTO productDistributionDTO = new ProductDistributionDTO();
productDistributionDTO.setProduct(_ctx.stringValue("GetResourceDistributionResponse.Data["+ i +"].Product"));
List<ResourceDistributionDTO> regionDistribution = new ArrayList<ResourceDistributionDTO>();
for (int j = 0; j < _ctx.lengthValue("GetResourceDistributionResponse.Data["+ i +"].RegionDistribution.Length"); j++) {
ResourceDistributionDTO resourceDistributionDTO = new ResourceDistributionDTO();
resourceDistributionDTO.setRegionId(_ctx.stringValue("GetResourceDistributionResponse.Data["+ i +"].RegionDistribution["+ j +"].RegionId"));
resourceDistributionDTO.setResourceCount(_ctx.integerValue("GetResourceDistributionResponse.Data["+ i +"].RegionDistribution["+ j +"].ResourceCount"));
regionDistribution.add(resourceDistributionDTO);
}
productDistributionDTO.setRegionDistribution(regionDistribution);
data.add(productDistributionDTO);
}
getResourceDistributionResponse.setData(data);
return getResourceDistributionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetResourceListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetResourceListResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetResourceListResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetResourceListResponseUnmarshaller {
public static GetResourceListResponse unmarshall(GetResourceListResponse getResourceListResponse, UnmarshallerContext _ctx) {
getResourceListResponse.setRequestId(_ctx.stringValue("GetResourceListResponse.RequestId"));
getResourceListResponse.setMessage(_ctx.stringValue("GetResourceListResponse.Message"));
getResourceListResponse.setSuccess(_ctx.stringValue("GetResourceListResponse.Success"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("GetResourceListResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setRegionId(_ctx.stringValue("GetResourceListResponse.Data["+ i +"].RegionId"));
dataItem.setResourceId(_ctx.stringValue("GetResourceListResponse.Data["+ i +"].ResourceId"));
dataItem.setResourceName(_ctx.stringValue("GetResourceListResponse.Data["+ i +"].ResourceName"));
dataItem.setIsFlag(_ctx.booleanValue("GetResourceListResponse.Data["+ i +"].IsFlag"));
data.add(dataItem);
}
getResourceListResponse.setData(data);
return getResourceListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetResourceTopologyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetResourceTopologyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetResourceTopologyResponseUnmarshaller {
public static GetResourceTopologyResponse unmarshall(GetResourceTopologyResponse getResourceTopologyResponse, UnmarshallerContext _ctx) {
getResourceTopologyResponse.setRequestId(_ctx.stringValue("GetResourceTopologyResponse.RequestId"));
getResourceTopologyResponse.setData(_ctx.stringValue("GetResourceTopologyResponse.Data"));
return getResourceTopologyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetResourcesTrendResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetResourcesTrendResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetResourcesTrendResponse.ResourceCountDTO;
import com.aliyuncs.advisor_share.model.v20180608.GetResourcesTrendResponse.ResourceCountDTO.DataPoint;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetResourcesTrendResponseUnmarshaller {
public static GetResourcesTrendResponse unmarshall(GetResourcesTrendResponse getResourcesTrendResponse, UnmarshallerContext _ctx) {
getResourcesTrendResponse.setRequestId(_ctx.stringValue("GetResourcesTrendResponse.RequestId"));
List<ResourceCountDTO> data = new ArrayList<ResourceCountDTO>();
for (int i = 0; i < _ctx.lengthValue("GetResourcesTrendResponse.Data.Length"); i++) {
ResourceCountDTO resourceCountDTO = new ResourceCountDTO();
resourceCountDTO.setProduct(_ctx.stringValue("GetResourcesTrendResponse.Data["+ i +"].Product"));
List<DataPoint> dataPoints = new ArrayList<DataPoint>();
for (int j = 0; j < _ctx.lengthValue("GetResourcesTrendResponse.Data["+ i +"].DataPoints.Length"); j++) {
DataPoint dataPoint = new DataPoint();
dataPoint.setTime(_ctx.stringValue("GetResourcesTrendResponse.Data["+ i +"].DataPoints["+ j +"].Time"));
dataPoint.setCount(_ctx.integerValue("GetResourcesTrendResponse.Data["+ i +"].DataPoints["+ j +"].Count"));
dataPoints.add(dataPoint);
}
resourceCountDTO.setDataPoints(dataPoints);
data.add(resourceCountDTO);
}
getResourcesTrendResponse.setData(data);
return getResourcesTrendResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetSubDomainListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetSubDomainListResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetSubDomainListResponse.SubDomains;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetSubDomainListResponseUnmarshaller {
public static GetSubDomainListResponse unmarshall(GetSubDomainListResponse getSubDomainListResponse, UnmarshallerContext _ctx) {
getSubDomainListResponse.setRequestId(_ctx.stringValue("GetSubDomainListResponse.RequestId"));
List<SubDomains> data = new ArrayList<SubDomains>();
for (int i = 0; i < _ctx.lengthValue("GetSubDomainListResponse.Data.Length"); i++) {
SubDomains subDomains = new SubDomains();
subDomains.setStatus(_ctx.stringValue("GetSubDomainListResponse.Data["+ i +"].Status"));
subDomains.setDomain(_ctx.stringValue("GetSubDomainListResponse.Data["+ i +"].Domain"));
data.add(subDomains);
}
getSubDomainListResponse.setData(data);
return getSubDomainListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetTamServiceStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetTamServiceStatusResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetTamServiceStatusResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetTamServiceStatusResponseUnmarshaller {
public static GetTamServiceStatusResponse unmarshall(GetTamServiceStatusResponse getTamServiceStatusResponse, UnmarshallerContext _ctx) {
getTamServiceStatusResponse.setRequestId(_ctx.stringValue("GetTamServiceStatusResponse.RequestId"));
Data data = new Data();
data.setServiceStatus(_ctx.stringValue("GetTamServiceStatusResponse.Data.ServiceStatus"));
data.setWorkingFlag(_ctx.booleanValue("GetTamServiceStatusResponse.Data.WorkingFlag"));
getTamServiceStatusResponse.setData(data);
return getTamServiceStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetTaskStatusByIdResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetTaskStatusByIdResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetTaskStatusByIdResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetTaskStatusByIdResponseUnmarshaller {
public static GetTaskStatusByIdResponse unmarshall(GetTaskStatusByIdResponse getTaskStatusByIdResponse, UnmarshallerContext _ctx) {
getTaskStatusByIdResponse.setRequestId(_ctx.stringValue("GetTaskStatusByIdResponse.RequestId"));
Data data = new Data();
data.setTaskId(_ctx.longValue("GetTaskStatusByIdResponse.Data.TaskId"));
data.setTaskStatus(_ctx.integerValue("GetTaskStatusByIdResponse.Data.TaskStatus"));
data.setTaskType(_ctx.stringValue("GetTaskStatusByIdResponse.Data.TaskType"));
getTaskStatusByIdResponse.setData(data);
return getTaskStatusByIdResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetTaskStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetTaskStatusResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetTaskStatusResponse.ProductTaskStatus;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetTaskStatusResponseUnmarshaller {
public static GetTaskStatusResponse unmarshall(GetTaskStatusResponse getTaskStatusResponse, UnmarshallerContext _ctx) {
getTaskStatusResponse.setRequestId(_ctx.stringValue("GetTaskStatusResponse.RequestId"));
List<ProductTaskStatus> data = new ArrayList<ProductTaskStatus>();
for (int i = 0; i < _ctx.lengthValue("GetTaskStatusResponse.Data.Length"); i++) {
ProductTaskStatus productTaskStatus = new ProductTaskStatus();
productTaskStatus.setProduct(_ctx.stringValue("GetTaskStatusResponse.Data["+ i +"].Product"));
productTaskStatus.setCheckTaskStatus(_ctx.stringValue("GetTaskStatusResponse.Data["+ i +"].CheckTaskStatus"));
productTaskStatus.setCheckTaskDoingCount(_ctx.integerValue("GetTaskStatusResponse.Data["+ i +"].CheckTaskDoingCount"));
productTaskStatus.setCheckTaskFailedCount(_ctx.integerValue("GetTaskStatusResponse.Data["+ i +"].CheckTaskFailedCount"));
productTaskStatus.setCheckTaskDoneCount(_ctx.integerValue("GetTaskStatusResponse.Data["+ i +"].CheckTaskDoneCount"));
productTaskStatus.setResourceSyncTaskStatus(_ctx.stringValue("GetTaskStatusResponse.Data["+ i +"].ResourceSyncTaskStatus"));
data.add(productTaskStatus);
}
getTaskStatusResponse.setData(data);
return getTaskStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetUserCheckReportResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetUserCheckReportResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetUserCheckReportResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserCheckReportResponseUnmarshaller {
public static GetUserCheckReportResponse unmarshall(GetUserCheckReportResponse getUserCheckReportResponse, UnmarshallerContext _ctx) {
getUserCheckReportResponse.setRequestId(_ctx.stringValue("GetUserCheckReportResponse.RequestId"));
Data data = new Data();
data.setReportExist(_ctx.booleanValue("GetUserCheckReportResponse.Data.ReportExist"));
data.setExcelReportUrl(_ctx.stringValue("GetUserCheckReportResponse.Data.ExcelReportUrl"));
data.setReportGenerateTime(_ctx.stringValue("GetUserCheckReportResponse.Data.ReportGenerateTime"));
data.setPdfReportUrl(_ctx.stringValue("GetUserCheckReportResponse.Data.PdfReportUrl"));
data.setWeeklyReportUrl(_ctx.stringValue("GetUserCheckReportResponse.Data.WeeklyReportUrl"));
data.setWeeklyGenerateTime(_ctx.stringValue("GetUserCheckReportResponse.Data.WeeklyGenerateTime"));
getUserCheckReportResponse.setData(data);
return getUserCheckReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetUserEmailReportResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetUserEmailReportResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetUserEmailReportResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserEmailReportResponseUnmarshaller {
public static GetUserEmailReportResponse unmarshall(GetUserEmailReportResponse getUserEmailReportResponse, UnmarshallerContext _ctx) {
getUserEmailReportResponse.setRequestId(_ctx.stringValue("GetUserEmailReportResponse.RequestId"));
Data data = new Data();
data.setReportExist(_ctx.booleanValue("GetUserEmailReportResponse.Data.ReportExist"));
data.setExcelReportUrl(_ctx.stringValue("GetUserEmailReportResponse.Data.ExcelReportUrl"));
data.setReportGenerateTime(_ctx.stringValue("GetUserEmailReportResponse.Data.ReportGenerateTime"));
data.setPdfReportUrl(_ctx.stringValue("GetUserEmailReportResponse.Data.PdfReportUrl"));
data.setWeeklyReportUrl(_ctx.stringValue("GetUserEmailReportResponse.Data.WeeklyReportUrl"));
data.setWeeklyGenerateTime(_ctx.stringValue("GetUserEmailReportResponse.Data.WeeklyGenerateTime"));
getUserEmailReportResponse.setData(data);
return getUserEmailReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetUserListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetUserListResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetUserListResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserListResponseUnmarshaller {
public static GetUserListResponse unmarshall(GetUserListResponse getUserListResponse, UnmarshallerContext _ctx) {
getUserListResponse.setRequestId(_ctx.stringValue("GetUserListResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("GetUserListResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("GetUserListResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("GetUserListResponse.Data.Total"));
List<String> result = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetUserListResponse.Data.Result.Length"); i++) {
result.add(_ctx.stringValue("GetUserListResponse.Data.Result["+ i +"]"));
}
data.setResult(result);
getUserListResponse.setData(data);
return getUserListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetUserReportResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserReportResponseUnmarshaller {
public static GetUserReportResponse unmarshall(GetUserReportResponse getUserReportResponse, UnmarshallerContext _ctx) {
getUserReportResponse.setRequestId(_ctx.stringValue("GetUserReportResponse.RequestId"));
Data data = new Data();
data.setReportUrl(_ctx.stringValue("GetUserReportResponse.Data.ReportUrl"));
getUserReportResponse.setData(data);
return getUserReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetUserReportSubscriptionInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportSubscriptionInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportSubscriptionInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportSubscriptionInfoResponse.Data.EmailsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserReportSubscriptionInfoResponseUnmarshaller {
public static GetUserReportSubscriptionInfoResponse unmarshall(GetUserReportSubscriptionInfoResponse getUserReportSubscriptionInfoResponse, UnmarshallerContext _ctx) {
getUserReportSubscriptionInfoResponse.setRequestId(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.RequestId"));
getUserReportSubscriptionInfoResponse.setSuccess(_ctx.booleanValue("GetUserReportSubscriptionInfoResponse.Success"));
Data data = new Data();
data.setReportSubscribe(_ctx.booleanValue("GetUserReportSubscriptionInfoResponse.Data.ReportSubscribe"));
data.setTimeZone(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.TimeZone"));
data.setDailySendTime(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.DailySendTime"));
data.setWeeklySubscribe(_ctx.booleanValue("GetUserReportSubscriptionInfoResponse.Data.WeeklySubscribe"));
data.setWeeklySendTime(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.WeeklySendTime"));
data.setReportSendTime(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.ReportSendTime"));
data.setDailySubscribe(_ctx.booleanValue("GetUserReportSubscriptionInfoResponse.Data.DailySubscribe"));
data.setWeeklySendFrequency(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.WeeklySendFrequency"));
data.setReportSendFrequency(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.ReportSendFrequency"));
data.setLanguage(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.Language"));
List<EmailsItem> emails = new ArrayList<EmailsItem>();
for (int i = 0; i < _ctx.lengthValue("GetUserReportSubscriptionInfoResponse.Data.Emails.Length"); i++) {
EmailsItem emailsItem = new EmailsItem();
emailsItem.set_Default(_ctx.booleanValue("GetUserReportSubscriptionInfoResponse.Data.Emails["+ i +"].Default"));
emailsItem.setEmail(_ctx.stringValue("GetUserReportSubscriptionInfoResponse.Data.Emails["+ i +"].Email"));
emailsItem.setSubscribe(_ctx.booleanValue("GetUserReportSubscriptionInfoResponse.Data.Emails["+ i +"].Subscribe"));
emails.add(emailsItem);
}
data.setEmails(emails);
getUserReportSubscriptionInfoResponse.setData(data);
return getUserReportSubscriptionInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetUserReportSubscriptionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportSubscriptionResponse;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportSubscriptionResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.GetUserReportSubscriptionResponse.Data.EmailsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserReportSubscriptionResponseUnmarshaller {
public static GetUserReportSubscriptionResponse unmarshall(GetUserReportSubscriptionResponse getUserReportSubscriptionResponse, UnmarshallerContext _ctx) {
getUserReportSubscriptionResponse.setRequestId(_ctx.stringValue("GetUserReportSubscriptionResponse.RequestId"));
getUserReportSubscriptionResponse.setSuccess(_ctx.booleanValue("GetUserReportSubscriptionResponse.Success"));
Data data = new Data();
data.setTimeZone(_ctx.stringValue("GetUserReportSubscriptionResponse.Data.TimeZone"));
data.setMobile(_ctx.stringValue("GetUserReportSubscriptionResponse.Data.Mobile"));
data.setSendEmailFrequency(_ctx.stringValue("GetUserReportSubscriptionResponse.Data.SendEmailFrequency"));
data.setLanguage(_ctx.stringValue("GetUserReportSubscriptionResponse.Data.Language"));
data.setSubscribe(_ctx.booleanValue("GetUserReportSubscriptionResponse.Data.Subscribe"));
List<EmailsItem> emails = new ArrayList<EmailsItem>();
for (int i = 0; i < _ctx.lengthValue("GetUserReportSubscriptionResponse.Data.Emails.Length"); i++) {
EmailsItem emailsItem = new EmailsItem();
emailsItem.set_Default(_ctx.booleanValue("GetUserReportSubscriptionResponse.Data.Emails["+ i +"].Default"));
emailsItem.setEmail(_ctx.stringValue("GetUserReportSubscriptionResponse.Data.Emails["+ i +"].Email"));
emailsItem.setSubscribe(_ctx.booleanValue("GetUserReportSubscriptionResponse.Data.Emails["+ i +"].Subscribe"));
emails.add(emailsItem);
}
data.setEmails(emails);
getUserReportSubscriptionResponse.setData(data);
return getUserReportSubscriptionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/GetViewMessageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.GetViewMessageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetViewMessageResponseUnmarshaller {
public static GetViewMessageResponse unmarshall(GetViewMessageResponse getViewMessageResponse, UnmarshallerContext _ctx) {
getViewMessageResponse.setRequestId(_ctx.stringValue("GetViewMessageResponse.RequestId"));
getViewMessageResponse.setMessage(_ctx.stringValue("GetViewMessageResponse.Message"));
getViewMessageResponse.setData(_ctx.stringValue("GetViewMessageResponse.Data"));
getViewMessageResponse.setSuccess(_ctx.booleanValue("GetViewMessageResponse.Success"));
return getViewMessageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/InviteAccountAssociationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.InviteAccountAssociationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class InviteAccountAssociationResponseUnmarshaller {
public static InviteAccountAssociationResponse unmarshall(InviteAccountAssociationResponse inviteAccountAssociationResponse, UnmarshallerContext _ctx) {
inviteAccountAssociationResponse.setRequestId(_ctx.stringValue("InviteAccountAssociationResponse.RequestId"));
inviteAccountAssociationResponse.setSuccess(_ctx.booleanValue("InviteAccountAssociationResponse.Success"));
inviteAccountAssociationResponse.setData(_ctx.stringValue("InviteAccountAssociationResponse.Data"));
return inviteAccountAssociationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListAllAppInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListAllAppInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListAllAppInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListAllAppInfoResponse.Data.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAllAppInfoResponseUnmarshaller {
public static ListAllAppInfoResponse unmarshall(ListAllAppInfoResponse listAllAppInfoResponse, UnmarshallerContext _ctx) {
listAllAppInfoResponse.setSuccess(_ctx.booleanValue("ListAllAppInfoResponse.Success"));
Data data = new Data();
data.setPageNumber(_ctx.longValue("ListAllAppInfoResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListAllAppInfoResponse.Data.PageSize"));
data.setTotal(_ctx.longValue("ListAllAppInfoResponse.Data.Total"));
List<Result> dataList = new ArrayList<Result>();
for (int i = 0; i < _ctx.lengthValue("ListAllAppInfoResponse.Data.DataList.Length"); i++) {
Result result = new Result();
result.setAppId(_ctx.stringValue("ListAllAppInfoResponse.Data.DataList["+ i +"].AppId"));
result.setAppName(_ctx.stringValue("ListAllAppInfoResponse.Data.DataList["+ i +"].AppName"));
dataList.add(result);
}
data.setDataList(dataList);
listAllAppInfoResponse.setData(data);
return listAllAppInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListAppInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListAppInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListAppInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListAppInfoResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAppInfoResponseUnmarshaller {
public static ListAppInfoResponse unmarshall(ListAppInfoResponse listAppInfoResponse, UnmarshallerContext _ctx) {
listAppInfoResponse.setRequestId(_ctx.stringValue("ListAppInfoResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListAppInfoResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListAppInfoResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListAppInfoResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListAppInfoResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setAppId(_ctx.longValue("ListAppInfoResponse.Data.Result["+ i +"].AppId"));
resource.setAppName(_ctx.stringValue("ListAppInfoResponse.Data.Result["+ i +"].AppName"));
resource.setResourceCount(_ctx.integerValue("ListAppInfoResponse.Data.Result["+ i +"].ResourceCount"));
resource.setContactName(_ctx.stringValue("ListAppInfoResponse.Data.Result["+ i +"].ContactName"));
resource.setContactMobile(_ctx.stringValue("ListAppInfoResponse.Data.Result["+ i +"].ContactMobile"));
result.add(resource);
}
data.setResult(result);
listAppInfoResponse.setData(data);
return listAppInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListAppResourcesInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListAppResourcesInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListAppResourcesInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListAppResourcesInfoResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAppResourcesInfoResponseUnmarshaller {
public static ListAppResourcesInfoResponse unmarshall(ListAppResourcesInfoResponse listAppResourcesInfoResponse, UnmarshallerContext _ctx) {
listAppResourcesInfoResponse.setRequestId(_ctx.stringValue("ListAppResourcesInfoResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListAppResourcesInfoResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListAppResourcesInfoResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListAppResourcesInfoResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListAppResourcesInfoResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setResourceId(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].ResourceId"));
resource.setResourceName(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].ResourceName"));
resource.setResourceUrl(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].ResourceUrl"));
resource.setProductGroup(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].ProductGroup"));
resource.setProduct(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].Product"));
resource.setRegionId(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].RegionId"));
resource.setApp(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].App"));
resource.setExtension(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].Extension"));
List<String> tags = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].Tags.Length"); j++) {
tags.add(_ctx.stringValue("ListAppResourcesInfoResponse.Data.Result["+ i +"].Tags["+ j +"]"));
}
resource.setTags(tags);
result.add(resource);
}
data.setResult(result);
listAppResourcesInfoResponse.setData(data);
return listAppResourcesInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListCostDetailsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListCostDetailsResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListCostDetailsResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListCostDetailsResponse.Data.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListCostDetailsResponseUnmarshaller {
public static ListCostDetailsResponse unmarshall(ListCostDetailsResponse listCostDetailsResponse, UnmarshallerContext _ctx) {
listCostDetailsResponse.setSuccess(_ctx.booleanValue("ListCostDetailsResponse.Success"));
Data data = new Data();
data.setPageNumber(_ctx.longValue("ListCostDetailsResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListCostDetailsResponse.Data.PageSize"));
data.setTotal(_ctx.longValue("ListCostDetailsResponse.Data.Total"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListCostDetailsResponse.Data.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setAppName(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].AppName"));
dataListItem.setChargeType(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].ChargeType"));
dataListItem.setCostAfter(_ctx.doubleValue("ListCostDetailsResponse.Data.DataList["+ i +"].CostAfter"));
dataListItem.setCostBefore(_ctx.doubleValue("ListCostDetailsResponse.Data.DataList["+ i +"].CostBefore"));
dataListItem.setCostSavings(_ctx.doubleValue("ListCostDetailsResponse.Data.DataList["+ i +"].CostSavings"));
dataListItem.setDepartmentName(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].DepartmentName"));
dataListItem.setInstanceId(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].InstanceId"));
dataListItem.setInstanceName(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].InstanceName"));
dataListItem.setProductCode(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].ProductCode"));
dataListItem.setInstanceClass(_ctx.stringValue("ListCostDetailsResponse.Data.DataList["+ i +"].InstanceClass"));
dataList.add(dataListItem);
}
data.setDataList(dataList);
listCostDetailsResponse.setData(data);
return listCostDetailsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListCostProblemResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListCostProblemResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListCostProblemResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListCostProblemResponse.Data.ResultData;
import com.aliyuncs.advisor_share.model.v20180608.ListCostProblemResponse.Data.ResultData.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListCostProblemResponseUnmarshaller {
public static ListCostProblemResponse unmarshall(ListCostProblemResponse listCostProblemResponse, UnmarshallerContext _ctx) {
listCostProblemResponse.setSuccess(_ctx.booleanValue("ListCostProblemResponse.Success"));
Data data = new Data();
data.setPageNumber(_ctx.longValue("ListCostProblemResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListCostProblemResponse.Data.PageSize"));
data.setTotal(_ctx.longValue("ListCostProblemResponse.Data.Total"));
ResultData resultData = new ResultData();
resultData.setTotalCostSavings(_ctx.doubleValue("ListCostProblemResponse.Data.ResultData.TotalCostSavings"));
resultData.setTotalOptimizeNum(_ctx.longValue("ListCostProblemResponse.Data.ResultData.TotalOptimizeNum"));
resultData.setInspectDate(_ctx.stringValue("ListCostProblemResponse.Data.ResultData.InspectDate"));
resultData.setTaskId(_ctx.longValue("ListCostProblemResponse.Data.ResultData.TaskId"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListCostProblemResponse.Data.ResultData.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setAppNum(_ctx.longValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].AppNum"));
dataListItem.setCostSavings(_ctx.doubleValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].CostSavings"));
dataListItem.setInstanceNum(_ctx.longValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].InstanceNum"));
dataListItem.setOptimizeNum(_ctx.longValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].OptimizeNum"));
dataListItem.setProductNum(_ctx.longValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].ProductNum"));
dataListItem.setQueryGroupId(_ctx.stringValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].QueryGroupId"));
dataListItem.setQueryGroupName(_ctx.stringValue("ListCostProblemResponse.Data.ResultData.DataList["+ i +"].QueryGroupName"));
dataList.add(dataListItem);
}
resultData.setDataList(dataList);
data.setResultData(resultData);
listCostProblemResponse.setData(data);
return listCostProblemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListCostTrendResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListCostTrendResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListCostTrendResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListCostTrendResponse.Data.LineVOListItem;
import com.aliyuncs.advisor_share.model.v20180608.ListCostTrendResponse.Data.LineVOListItem.PointVOListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListCostTrendResponseUnmarshaller {
public static ListCostTrendResponse unmarshall(ListCostTrendResponse listCostTrendResponse, UnmarshallerContext _ctx) {
listCostTrendResponse.setSuccess(_ctx.booleanValue("ListCostTrendResponse.Success"));
Data data = new Data();
data.setGraphName(_ctx.stringValue("ListCostTrendResponse.Data.GraphName"));
data.setXUnit(_ctx.stringValue("ListCostTrendResponse.Data.XUnit"));
data.setYUnit(_ctx.stringValue("ListCostTrendResponse.Data.YUnit"));
List<LineVOListItem> lineVOList = new ArrayList<LineVOListItem>();
for (int i = 0; i < _ctx.lengthValue("ListCostTrendResponse.Data.LineVOList.Length"); i++) {
LineVOListItem lineVOListItem = new LineVOListItem();
lineVOListItem.setName(_ctx.stringValue("ListCostTrendResponse.Data.LineVOList["+ i +"].Name"));
List<PointVOListItem> pointVOList = new ArrayList<PointVOListItem>();
for (int j = 0; j < _ctx.lengthValue("ListCostTrendResponse.Data.LineVOList["+ i +"].PointVOList.Length"); j++) {
PointVOListItem pointVOListItem = new PointVOListItem();
pointVOListItem.setX(_ctx.stringValue("ListCostTrendResponse.Data.LineVOList["+ i +"].PointVOList["+ j +"].X"));
pointVOListItem.setY(_ctx.stringValue("ListCostTrendResponse.Data.LineVOList["+ i +"].PointVOList["+ j +"].Y"));
pointVOList.add(pointVOListItem);
}
lineVOListItem.setPointVOList(pointVOList);
lineVOList.add(lineVOListItem);
}
data.setLineVOList(lineVOList);
listCostTrendResponse.setData(data);
return listCostTrendResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListDepartmentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListDepartmentResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListDepartmentResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListDepartmentResponse.Data.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDepartmentResponseUnmarshaller {
public static ListDepartmentResponse unmarshall(ListDepartmentResponse listDepartmentResponse, UnmarshallerContext _ctx) {
listDepartmentResponse.setSuccess(_ctx.booleanValue("ListDepartmentResponse.Success"));
Data data = new Data();
data.setTotal(_ctx.longValue("ListDepartmentResponse.Data.Total"));
data.setPageNumber(_ctx.longValue("ListDepartmentResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListDepartmentResponse.Data.PageSize"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListDepartmentResponse.Data.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setDepartmentName(_ctx.stringValue("ListDepartmentResponse.Data.DataList["+ i +"].DepartmentName"));
dataListItem.setDepartmentId(_ctx.stringValue("ListDepartmentResponse.Data.DataList["+ i +"].DepartmentId"));
dataList.add(dataListItem);
}
data.setDataList(dataList);
listDepartmentResponse.setData(data);
return listDepartmentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListPrimaryAccountsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListPrimaryAccountsResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListPrimaryAccountsResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListPrimaryAccountsResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListPrimaryAccountsResponseUnmarshaller {
public static ListPrimaryAccountsResponse unmarshall(ListPrimaryAccountsResponse listPrimaryAccountsResponse, UnmarshallerContext _ctx) {
listPrimaryAccountsResponse.setRequestId(_ctx.stringValue("ListPrimaryAccountsResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListPrimaryAccountsResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListPrimaryAccountsResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListPrimaryAccountsResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListPrimaryAccountsResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setId(_ctx.longValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].Id"));
resource.setPrimaryAliyunId(_ctx.longValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].PrimaryAliyunId"));
resource.setPrimaryUserName(_ctx.stringValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].PrimaryUserName"));
resource.setSubAliyunId(_ctx.longValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].SubAliyunId"));
resource.setSubUserName(_ctx.stringValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].SubUserName"));
resource.setStatus(_ctx.integerValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].Status"));
resource.setGmtModified(_ctx.stringValue("ListPrimaryAccountsResponse.Data.Result["+ i +"].GmtModified"));
result.add(resource);
}
data.setResult(result);
listPrimaryAccountsResponse.setData(data);
return listPrimaryAccountsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListProductResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListProductResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListProductResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListProductResponse.Data.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListProductResponseUnmarshaller {
public static ListProductResponse unmarshall(ListProductResponse listProductResponse, UnmarshallerContext _ctx) {
listProductResponse.setSuccess(_ctx.booleanValue("ListProductResponse.Success"));
Data data = new Data();
data.setPageNumber(_ctx.longValue("ListProductResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListProductResponse.Data.PageSize"));
data.setTotal(_ctx.longValue("ListProductResponse.Data.Total"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListProductResponse.Data.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setCode(_ctx.stringValue("ListProductResponse.Data.DataList["+ i +"].Code"));
dataListItem.setId(_ctx.stringValue("ListProductResponse.Data.DataList["+ i +"].Id"));
dataListItem.setName(_ctx.stringValue("ListProductResponse.Data.DataList["+ i +"].Name"));
dataList.add(dataListItem);
}
data.setDataList(dataList);
listProductResponse.setData(data);
return listProductResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListResourceInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListResourceInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListResourceInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListResourceInfoResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListResourceInfoResponseUnmarshaller {
public static ListResourceInfoResponse unmarshall(ListResourceInfoResponse listResourceInfoResponse, UnmarshallerContext _ctx) {
listResourceInfoResponse.setRequestId(_ctx.stringValue("ListResourceInfoResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListResourceInfoResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListResourceInfoResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListResourceInfoResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListResourceInfoResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setResourceId(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].ResourceId"));
resource.setResourceName(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].ResourceName"));
resource.setResourceUrl(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].ResourceUrl"));
resource.setProductGroup(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].ProductGroup"));
resource.setProduct(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].Product"));
resource.setRegionId(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].RegionId"));
resource.setApp(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].App"));
resource.setExtension(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].Extension"));
List<String> tags = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListResourceInfoResponse.Data.Result["+ i +"].Tags.Length"); j++) {
tags.add(_ctx.stringValue("ListResourceInfoResponse.Data.Result["+ i +"].Tags["+ j +"]"));
}
resource.setTags(tags);
result.add(resource);
}
data.setResult(result);
listResourceInfoResponse.setData(data);
return listResourceInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListRuleTemplateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListRuleTemplateResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListRuleTemplateResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListRuleTemplateResponse.Data.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRuleTemplateResponseUnmarshaller {
public static ListRuleTemplateResponse unmarshall(ListRuleTemplateResponse listRuleTemplateResponse, UnmarshallerContext _ctx) {
listRuleTemplateResponse.setSuccess(_ctx.booleanValue("ListRuleTemplateResponse.Success"));
Data data = new Data();
data.setPageNumber(_ctx.longValue("ListRuleTemplateResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListRuleTemplateResponse.Data.PageSize"));
data.setTotal(_ctx.longValue("ListRuleTemplateResponse.Data.Total"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListRuleTemplateResponse.Data.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setGmtCreate(_ctx.stringValue("ListRuleTemplateResponse.Data.DataList["+ i +"].GmtCreate"));
dataListItem.setGmtModified(_ctx.stringValue("ListRuleTemplateResponse.Data.DataList["+ i +"].GmtModified"));
dataListItem.setId(_ctx.longValue("ListRuleTemplateResponse.Data.DataList["+ i +"].Id"));
dataListItem.setName(_ctx.stringValue("ListRuleTemplateResponse.Data.DataList["+ i +"].Name"));
dataListItem.setNamespace(_ctx.stringValue("ListRuleTemplateResponse.Data.DataList["+ i +"].Namespace"));
dataListItem.setOwnerId(_ctx.stringValue("ListRuleTemplateResponse.Data.DataList["+ i +"].OwnerId"));
dataListItem.setType(_ctx.stringValue("ListRuleTemplateResponse.Data.DataList["+ i +"].Type"));
dataList.add(dataListItem);
}
data.setDataList(dataList);
listRuleTemplateResponse.setData(data);
return listRuleTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListSubAccountsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListSubAccountsResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListSubAccountsResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListSubAccountsResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListSubAccountsResponseUnmarshaller {
public static ListSubAccountsResponse unmarshall(ListSubAccountsResponse listSubAccountsResponse, UnmarshallerContext _ctx) {
listSubAccountsResponse.setRequestId(_ctx.stringValue("ListSubAccountsResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListSubAccountsResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListSubAccountsResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListSubAccountsResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListSubAccountsResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setId(_ctx.longValue("ListSubAccountsResponse.Data.Result["+ i +"].Id"));
resource.setPrimaryAliyunId(_ctx.longValue("ListSubAccountsResponse.Data.Result["+ i +"].PrimaryAliyunId"));
resource.setPrimaryUserName(_ctx.stringValue("ListSubAccountsResponse.Data.Result["+ i +"].PrimaryUserName"));
resource.setSubAliyunId(_ctx.longValue("ListSubAccountsResponse.Data.Result["+ i +"].SubAliyunId"));
resource.setSubUserName(_ctx.stringValue("ListSubAccountsResponse.Data.Result["+ i +"].SubUserName"));
resource.setStatus(_ctx.integerValue("ListSubAccountsResponse.Data.Result["+ i +"].Status"));
resource.setGmtModified(_ctx.stringValue("ListSubAccountsResponse.Data.Result["+ i +"].GmtModified"));
result.add(resource);
}
data.setResult(result);
listSubAccountsResponse.setData(data);
return listSubAccountsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListTagInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListTagInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListTagInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListTagInfoResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagInfoResponseUnmarshaller {
public static ListTagInfoResponse unmarshall(ListTagInfoResponse listTagInfoResponse, UnmarshallerContext _ctx) {
listTagInfoResponse.setRequestId(_ctx.stringValue("ListTagInfoResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListTagInfoResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListTagInfoResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListTagInfoResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListTagInfoResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setTagId(_ctx.longValue("ListTagInfoResponse.Data.Result["+ i +"].TagId"));
resource.setTagKey(_ctx.stringValue("ListTagInfoResponse.Data.Result["+ i +"].TagKey"));
resource.setTagValue(_ctx.stringValue("ListTagInfoResponse.Data.Result["+ i +"].TagValue"));
resource.setRegionId(_ctx.stringValue("ListTagInfoResponse.Data.Result["+ i +"].RegionId"));
resource.setResourceCount(_ctx.integerValue("ListTagInfoResponse.Data.Result["+ i +"].ResourceCount"));
result.add(resource);
}
data.setResult(result);
listTagInfoResponse.setData(data);
return listTagInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListTagResourcesInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListTagResourcesInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListTagResourcesInfoResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListTagResourcesInfoResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTagResourcesInfoResponseUnmarshaller {
public static ListTagResourcesInfoResponse unmarshall(ListTagResourcesInfoResponse listTagResourcesInfoResponse, UnmarshallerContext _ctx) {
listTagResourcesInfoResponse.setRequestId(_ctx.stringValue("ListTagResourcesInfoResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListTagResourcesInfoResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListTagResourcesInfoResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListTagResourcesInfoResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListTagResourcesInfoResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setResourceId(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].ResourceId"));
resource.setResourceName(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].ResourceName"));
resource.setResourceUrl(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].ResourceUrl"));
resource.setRegionId(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].RegionId"));
resource.setProductGroup(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].ProductGroup"));
resource.setProduct(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].Product"));
resource.setApp(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].App"));
resource.setExtension(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].Extension"));
List<String> tags = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].Tags.Length"); j++) {
tags.add(_ctx.stringValue("ListTagResourcesInfoResponse.Data.Result["+ i +"].Tags["+ j +"]"));
}
resource.setTags(tags);
result.add(resource);
}
data.setResult(result);
listTagResourcesInfoResponse.setData(data);
return listTagResourcesInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListTaskResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListTaskResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListTaskResponse.Data.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListTaskResponseUnmarshaller {
public static ListTaskResponse unmarshall(ListTaskResponse listTaskResponse, UnmarshallerContext _ctx) {
listTaskResponse.setSuccess(_ctx.booleanValue("ListTaskResponse.Success"));
Data data = new Data();
data.setPageNumber(_ctx.longValue("ListTaskResponse.Data.PageNumber"));
data.setPageSize(_ctx.longValue("ListTaskResponse.Data.PageSize"));
data.setTotal(_ctx.longValue("ListTaskResponse.Data.Total"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListTaskResponse.Data.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setEndDate(_ctx.stringValue("ListTaskResponse.Data.DataList["+ i +"].EndDate"));
dataListItem.setGmtCreate(_ctx.stringValue("ListTaskResponse.Data.DataList["+ i +"].GmtCreate"));
dataListItem.setGmtModified(_ctx.stringValue("ListTaskResponse.Data.DataList["+ i +"].GmtModified"));
dataListItem.setId(_ctx.longValue("ListTaskResponse.Data.DataList["+ i +"].Id"));
dataListItem.setName(_ctx.stringValue("ListTaskResponse.Data.DataList["+ i +"].Name"));
dataListItem.setStartDate(_ctx.stringValue("ListTaskResponse.Data.DataList["+ i +"].StartDate"));
List<String> userIds = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListTaskResponse.Data.DataList["+ i +"].UserIds.Length"); j++) {
userIds.add(_ctx.stringValue("ListTaskResponse.Data.DataList["+ i +"].UserIds["+ j +"]"));
}
dataListItem.setUserIds(userIds);
dataList.add(dataListItem);
}
data.setDataList(dataList);
listTaskResponse.setData(data);
return listTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ListWaitingAccountsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.ListWaitingAccountsResponse;
import com.aliyuncs.advisor_share.model.v20180608.ListWaitingAccountsResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.ListWaitingAccountsResponse.Data.Resource;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListWaitingAccountsResponseUnmarshaller {
public static ListWaitingAccountsResponse unmarshall(ListWaitingAccountsResponse listWaitingAccountsResponse, UnmarshallerContext _ctx) {
listWaitingAccountsResponse.setRequestId(_ctx.stringValue("ListWaitingAccountsResponse.RequestId"));
Data data = new Data();
data.setPageNo(_ctx.integerValue("ListWaitingAccountsResponse.Data.PageNo"));
data.setPageSize(_ctx.integerValue("ListWaitingAccountsResponse.Data.PageSize"));
data.setTotal(_ctx.integerValue("ListWaitingAccountsResponse.Data.Total"));
List<Resource> result = new ArrayList<Resource>();
for (int i = 0; i < _ctx.lengthValue("ListWaitingAccountsResponse.Data.Result.Length"); i++) {
Resource resource = new Resource();
resource.setId(_ctx.longValue("ListWaitingAccountsResponse.Data.Result["+ i +"].Id"));
resource.setPrimaryAliyunId(_ctx.longValue("ListWaitingAccountsResponse.Data.Result["+ i +"].PrimaryAliyunId"));
resource.setPrimaryUserName(_ctx.stringValue("ListWaitingAccountsResponse.Data.Result["+ i +"].PrimaryUserName"));
resource.setSubAliyunId(_ctx.longValue("ListWaitingAccountsResponse.Data.Result["+ i +"].SubAliyunId"));
resource.setSubUserName(_ctx.stringValue("ListWaitingAccountsResponse.Data.Result["+ i +"].SubUserName"));
resource.setStatus(_ctx.integerValue("ListWaitingAccountsResponse.Data.Result["+ i +"].Status"));
resource.setGmtModified(_ctx.stringValue("ListWaitingAccountsResponse.Data.Result["+ i +"].GmtModified"));
result.add(resource);
}
data.setResult(result);
listWaitingAccountsResponse.setData(data);
return listWaitingAccountsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ModifyTranferMessageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.ModifyTranferMessageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyTranferMessageResponseUnmarshaller {
public static ModifyTranferMessageResponse unmarshall(ModifyTranferMessageResponse modifyTranferMessageResponse, UnmarshallerContext _ctx) {
modifyTranferMessageResponse.setRequestId(_ctx.stringValue("ModifyTranferMessageResponse.RequestId"));
modifyTranferMessageResponse.setMessage(_ctx.stringValue("ModifyTranferMessageResponse.Message"));
modifyTranferMessageResponse.setData(_ctx.booleanValue("ModifyTranferMessageResponse.Data"));
modifyTranferMessageResponse.setSuccess(_ctx.booleanValue("ModifyTranferMessageResponse.Success"));
return modifyTranferMessageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/OfflineAdviceConfProjectResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.OfflineAdviceConfProjectResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class OfflineAdviceConfProjectResponseUnmarshaller {
public static OfflineAdviceConfProjectResponse unmarshall(OfflineAdviceConfProjectResponse offlineAdviceConfProjectResponse, UnmarshallerContext _ctx) {
offlineAdviceConfProjectResponse.setRequestId(_ctx.stringValue("OfflineAdviceConfProjectResponse.RequestId"));
offlineAdviceConfProjectResponse.setMessage(_ctx.stringValue("OfflineAdviceConfProjectResponse.Message"));
offlineAdviceConfProjectResponse.setSuccess(_ctx.booleanValue("OfflineAdviceConfProjectResponse.Success"));
return offlineAdviceConfProjectResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryAccountRoleInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.QueryAccountRoleInfoResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryAccountRoleInfoResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryAccountRoleInfoResponseUnmarshaller {
public static QueryAccountRoleInfoResponse unmarshall(QueryAccountRoleInfoResponse queryAccountRoleInfoResponse, UnmarshallerContext _ctx) {
queryAccountRoleInfoResponse.setRequestId(_ctx.stringValue("QueryAccountRoleInfoResponse.RequestId"));
Data data = new Data();
data.setAliyunId(_ctx.longValue("QueryAccountRoleInfoResponse.Data.AliyunId"));
data.setAccountRole(_ctx.integerValue("QueryAccountRoleInfoResponse.Data.AccountRole"));
queryAccountRoleInfoResponse.setData(data);
return queryAccountRoleInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryAdviceEffectsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryAdviceEffectsResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryAdviceEffectsResponse.Item;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryAdviceEffectsResponseUnmarshaller {
public static QueryAdviceEffectsResponse unmarshall(QueryAdviceEffectsResponse queryAdviceEffectsResponse, UnmarshallerContext _ctx) {
queryAdviceEffectsResponse.setRequestId(_ctx.stringValue("QueryAdviceEffectsResponse.RequestId"));
List<Item> data = new ArrayList<Item>();
for (int i = 0; i < _ctx.lengthValue("QueryAdviceEffectsResponse.Data.Length"); i++) {
Item item = new Item();
item.setValue(_ctx.longValue("QueryAdviceEffectsResponse.Data["+ i +"].Value"));
item.setPercent(_ctx.floatValue("QueryAdviceEffectsResponse.Data["+ i +"].Percent"));
item.setName(_ctx.stringValue("QueryAdviceEffectsResponse.Data["+ i +"].Name"));
data.add(item);
}
queryAdviceEffectsResponse.setData(data);
return queryAdviceEffectsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryCheckItemCategoryStatResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemCategoryStatResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemCategoryStatResponse.Item;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryCheckItemCategoryStatResponseUnmarshaller {
public static QueryCheckItemCategoryStatResponse unmarshall(QueryCheckItemCategoryStatResponse queryCheckItemCategoryStatResponse, UnmarshallerContext _ctx) {
queryCheckItemCategoryStatResponse.setRequestId(_ctx.stringValue("QueryCheckItemCategoryStatResponse.RequestId"));
List<Item> data = new ArrayList<Item>();
for (int i = 0; i < _ctx.lengthValue("QueryCheckItemCategoryStatResponse.Data.Length"); i++) {
Item item = new Item();
item.setValue(_ctx.longValue("QueryCheckItemCategoryStatResponse.Data["+ i +"].Value"));
item.setPercent(_ctx.floatValue("QueryCheckItemCategoryStatResponse.Data["+ i +"].Percent"));
item.setName(_ctx.stringValue("QueryCheckItemCategoryStatResponse.Data["+ i +"].Name"));
data.add(item);
}
queryCheckItemCategoryStatResponse.setData(data);
return queryCheckItemCategoryStatResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryCheckItemProductStatResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemProductStatResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemProductStatResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemProductStatResponse.Data.SeriesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryCheckItemProductStatResponseUnmarshaller {
public static QueryCheckItemProductStatResponse unmarshall(QueryCheckItemProductStatResponse queryCheckItemProductStatResponse, UnmarshallerContext _ctx) {
queryCheckItemProductStatResponse.setRequestId(_ctx.stringValue("QueryCheckItemProductStatResponse.RequestId"));
Data data = new Data();
List<String> categories = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("QueryCheckItemProductStatResponse.Data.Categories.Length"); i++) {
categories.add(_ctx.stringValue("QueryCheckItemProductStatResponse.Data.Categories["+ i +"]"));
}
data.setCategories(categories);
List<SeriesItem> series = new ArrayList<SeriesItem>();
for (int i = 0; i < _ctx.lengthValue("QueryCheckItemProductStatResponse.Data.Series.Length"); i++) {
SeriesItem seriesItem = new SeriesItem();
seriesItem.setName(_ctx.stringValue("QueryCheckItemProductStatResponse.Data.Series["+ i +"].Name"));
seriesItem.setUnit(_ctx.stringValue("QueryCheckItemProductStatResponse.Data.Series["+ i +"].Unit"));
List<String> data1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("QueryCheckItemProductStatResponse.Data.Series["+ i +"].Data.Length"); j++) {
data1.add(_ctx.stringValue("QueryCheckItemProductStatResponse.Data.Series["+ i +"].Data["+ j +"]"));
}
seriesItem.setData1(data1);
series.add(seriesItem);
}
data.setSeries(series);
queryCheckItemProductStatResponse.setData(data);
return queryCheckItemProductStatResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryCheckItemSummariesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemSummariesResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryCheckItemSummariesResponse.CheckItemSummary;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryCheckItemSummariesResponseUnmarshaller {
public static QueryCheckItemSummariesResponse unmarshall(QueryCheckItemSummariesResponse queryCheckItemSummariesResponse, UnmarshallerContext _ctx) {
queryCheckItemSummariesResponse.setRequestId(_ctx.stringValue("QueryCheckItemSummariesResponse.RequestId"));
List<CheckItemSummary> data = new ArrayList<CheckItemSummary>();
for (int i = 0; i < _ctx.lengthValue("QueryCheckItemSummariesResponse.Data.Length"); i++) {
CheckItemSummary checkItemSummary = new CheckItemSummary();
checkItemSummary.setImpressionCount(_ctx.longValue("QueryCheckItemSummariesResponse.Data["+ i +"].ImpressionCount"));
checkItemSummary.setAdviceCount(_ctx.longValue("QueryCheckItemSummariesResponse.Data["+ i +"].AdviceCount"));
checkItemSummary.setConversionRate(_ctx.floatValue("QueryCheckItemSummariesResponse.Data["+ i +"].ConversionRate"));
checkItemSummary.setProduct(_ctx.stringValue("QueryCheckItemSummariesResponse.Data["+ i +"].Product"));
checkItemSummary.setCheckId(_ctx.stringValue("QueryCheckItemSummariesResponse.Data["+ i +"].CheckId"));
checkItemSummary.setDetailViewCount(_ctx.longValue("QueryCheckItemSummariesResponse.Data["+ i +"].DetailViewCount"));
checkItemSummary.setCategory(_ctx.stringValue("QueryCheckItemSummariesResponse.Data["+ i +"].Category"));
checkItemSummary.setAcceptedCount(_ctx.longValue("QueryCheckItemSummariesResponse.Data["+ i +"].AcceptedCount"));
data.add(checkItemSummary);
}
queryCheckItemSummariesResponse.setData(data);
return queryCheckItemSummariesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryDepartmentTreeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryDepartmentTreeResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryDepartmentTreeResponse.DepartmentNodeInfoDTO;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryDepartmentTreeResponseUnmarshaller {
public static QueryDepartmentTreeResponse unmarshall(QueryDepartmentTreeResponse queryDepartmentTreeResponse, UnmarshallerContext _ctx) {
queryDepartmentTreeResponse.setRequestId(_ctx.stringValue("QueryDepartmentTreeResponse.RequestId"));
List<DepartmentNodeInfoDTO> data = new ArrayList<DepartmentNodeInfoDTO>();
for (int i = 0; i < _ctx.lengthValue("QueryDepartmentTreeResponse.Data.Length"); i++) {
DepartmentNodeInfoDTO departmentNodeInfoDTO = new DepartmentNodeInfoDTO();
departmentNodeInfoDTO.setDepartmentId(_ctx.longValue("QueryDepartmentTreeResponse.Data["+ i +"].DepartmentId"));
departmentNodeInfoDTO.setDepartmentName(_ctx.stringValue("QueryDepartmentTreeResponse.Data["+ i +"].DepartmentName"));
departmentNodeInfoDTO.setContactName(_ctx.stringValue("QueryDepartmentTreeResponse.Data["+ i +"].ContactName"));
departmentNodeInfoDTO.setContactMobile(_ctx.stringValue("QueryDepartmentTreeResponse.Data["+ i +"].ContactMobile"));
departmentNodeInfoDTO.setParentId(_ctx.longValue("QueryDepartmentTreeResponse.Data["+ i +"].ParentId"));
List<String> children = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("QueryDepartmentTreeResponse.Data["+ i +"].Children.Length"); j++) {
children.add(_ctx.stringValue("QueryDepartmentTreeResponse.Data["+ i +"].Children["+ j +"]"));
}
departmentNodeInfoDTO.setChildren(children);
data.add(departmentNodeInfoDTO);
}
queryDepartmentTreeResponse.setData(data);
return queryDepartmentTreeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryInspectStrategyWhiteResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryInspectStrategyWhiteResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryInspectStrategyWhiteResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryInspectStrategyWhiteResponseUnmarshaller {
public static QueryInspectStrategyWhiteResponse unmarshall(QueryInspectStrategyWhiteResponse queryInspectStrategyWhiteResponse, UnmarshallerContext _ctx) {
queryInspectStrategyWhiteResponse.setRequestId(_ctx.stringValue("QueryInspectStrategyWhiteResponse.RequestId"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("QueryInspectStrategyWhiteResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setId(_ctx.longValue("QueryInspectStrategyWhiteResponse.Data["+ i +"].Id"));
dataItem.setRegionId(_ctx.stringValue("QueryInspectStrategyWhiteResponse.Data["+ i +"].RegionId"));
dataItem.setResourceId(_ctx.stringValue("QueryInspectStrategyWhiteResponse.Data["+ i +"].ResourceId"));
dataItem.setResourceName(_ctx.stringValue("QueryInspectStrategyWhiteResponse.Data["+ i +"].ResourceName"));
data.add(dataItem);
}
queryInspectStrategyWhiteResponse.setData(data);
return queryInspectStrategyWhiteResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryInstanceDetailsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceDetailsResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceDetailsResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceDetailsResponse.Data.AdviceItemsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryInstanceDetailsResponseUnmarshaller {
public static QueryInstanceDetailsResponse unmarshall(QueryInstanceDetailsResponse queryInstanceDetailsResponse, UnmarshallerContext _ctx) {
queryInstanceDetailsResponse.setSuccess(_ctx.booleanValue("QueryInstanceDetailsResponse.Success"));
Data data = new Data();
data.setChargeType(_ctx.stringValue("QueryInstanceDetailsResponse.Data.ChargeType"));
data.setInstanceId(_ctx.stringValue("QueryInstanceDetailsResponse.Data.InstanceId"));
data.setPayOfCurrentMonth(_ctx.doubleValue("QueryInstanceDetailsResponse.Data.PayOfCurrentMonth"));
data.setResourceSpec(_ctx.stringValue("QueryInstanceDetailsResponse.Data.ResourceSpec"));
data.setDepartmentName(_ctx.stringValue("QueryInstanceDetailsResponse.Data.DepartmentName"));
data.setAppName(_ctx.stringValue("QueryInstanceDetailsResponse.Data.AppName"));
data.setUserId(_ctx.stringValue("QueryInstanceDetailsResponse.Data.UserId"));
List<AdviceItemsItem> adviceItems = new ArrayList<AdviceItemsItem>();
for (int i = 0; i < _ctx.lengthValue("QueryInstanceDetailsResponse.Data.AdviceItems.Length"); i++) {
AdviceItemsItem adviceItemsItem = new AdviceItemsItem();
adviceItemsItem.setAdvice(_ctx.stringValue("QueryInstanceDetailsResponse.Data.AdviceItems["+ i +"].Advice"));
adviceItemsItem.setRuleType(_ctx.stringValue("QueryInstanceDetailsResponse.Data.AdviceItems["+ i +"].RuleType"));
adviceItems.add(adviceItemsItem);
}
data.setAdviceItems(adviceItems);
queryInstanceDetailsResponse.setData(data);
return queryInstanceDetailsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryInstanceMetricsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceMetricsResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceMetricsResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceMetricsResponse.Data.MetricsItem;
import com.aliyuncs.advisor_share.model.v20180608.QueryInstanceMetricsResponse.Data.MetricsItem.MetricItemsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryInstanceMetricsResponseUnmarshaller {
public static QueryInstanceMetricsResponse unmarshall(QueryInstanceMetricsResponse queryInstanceMetricsResponse, UnmarshallerContext _ctx) {
queryInstanceMetricsResponse.setSuccess(_ctx.booleanValue("QueryInstanceMetricsResponse.Success"));
Data data = new Data();
List<MetricsItem> metrics = new ArrayList<MetricsItem>();
for (int i = 0; i < _ctx.lengthValue("QueryInstanceMetricsResponse.Data.Metrics.Length"); i++) {
MetricsItem metricsItem = new MetricsItem();
metricsItem.setMetricName(_ctx.stringValue("QueryInstanceMetricsResponse.Data.Metrics["+ i +"].MetricName"));
List<MetricItemsItem> metricItems = new ArrayList<MetricItemsItem>();
for (int j = 0; j < _ctx.lengthValue("QueryInstanceMetricsResponse.Data.Metrics["+ i +"].MetricItems.Length"); j++) {
MetricItemsItem metricItemsItem = new MetricItemsItem();
metricItemsItem.setData(_ctx.doubleValue("QueryInstanceMetricsResponse.Data.Metrics["+ i +"].MetricItems["+ j +"].Data"));
metricItemsItem.setTime(_ctx.stringValue("QueryInstanceMetricsResponse.Data.Metrics["+ i +"].MetricItems["+ j +"].Time"));
metricItems.add(metricItemsItem);
}
metricsItem.setMetricItems(metricItems);
metrics.add(metricsItem);
}
data.setMetrics(metrics);
queryInstanceMetricsResponse.setData(data);
return queryInstanceMetricsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryPagePvUvSeriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryPagePvUvSeriesResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryPagePvUvSeriesResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryPagePvUvSeriesResponse.Data.SeriesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryPagePvUvSeriesResponseUnmarshaller {
public static QueryPagePvUvSeriesResponse unmarshall(QueryPagePvUvSeriesResponse queryPagePvUvSeriesResponse, UnmarshallerContext _ctx) {
queryPagePvUvSeriesResponse.setRequestId(_ctx.stringValue("QueryPagePvUvSeriesResponse.RequestId"));
Data data = new Data();
List<String> categories = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("QueryPagePvUvSeriesResponse.Data.Categories.Length"); i++) {
categories.add(_ctx.stringValue("QueryPagePvUvSeriesResponse.Data.Categories["+ i +"]"));
}
data.setCategories(categories);
List<SeriesItem> series = new ArrayList<SeriesItem>();
for (int i = 0; i < _ctx.lengthValue("QueryPagePvUvSeriesResponse.Data.Series.Length"); i++) {
SeriesItem seriesItem = new SeriesItem();
seriesItem.setName(_ctx.stringValue("QueryPagePvUvSeriesResponse.Data.Series["+ i +"].Name"));
seriesItem.setUnit(_ctx.stringValue("QueryPagePvUvSeriesResponse.Data.Series["+ i +"].Unit"));
List<String> data1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("QueryPagePvUvSeriesResponse.Data.Series["+ i +"].Data.Length"); j++) {
data1.add(_ctx.stringValue("QueryPagePvUvSeriesResponse.Data.Series["+ i +"].Data["+ j +"]"));
}
seriesItem.setData1(data1);
series.add(seriesItem);
}
data.setSeries(series);
queryPagePvUvSeriesResponse.setData(data);
return queryPagePvUvSeriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryRamAuthorizationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.QueryRamAuthorizationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryRamAuthorizationResponseUnmarshaller {
public static QueryRamAuthorizationResponse unmarshall(QueryRamAuthorizationResponse queryRamAuthorizationResponse, UnmarshallerContext _ctx) {
queryRamAuthorizationResponse.setCode(_ctx.integerValue("QueryRamAuthorizationResponse.Code"));
queryRamAuthorizationResponse.setStatus(_ctx.stringValue("QueryRamAuthorizationResponse.Status"));
queryRamAuthorizationResponse.setMessage(_ctx.stringValue("QueryRamAuthorizationResponse.Message"));
queryRamAuthorizationResponse.setRamAuthorization(_ctx.booleanValue("QueryRamAuthorizationResponse.RamAuthorization"));
return queryRamAuthorizationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryRuleTemplateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryRuleTemplateResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryRuleTemplateResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryRuleTemplateResponse.Data.ProductListItem;
import com.aliyuncs.advisor_share.model.v20180608.QueryRuleTemplateResponse.Data.ProductListItem.ClassListItem;
import com.aliyuncs.advisor_share.model.v20180608.QueryRuleTemplateResponse.Data.ProductListItem.ClassListItem.FieldListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryRuleTemplateResponseUnmarshaller {
public static QueryRuleTemplateResponse unmarshall(QueryRuleTemplateResponse queryRuleTemplateResponse, UnmarshallerContext _ctx) {
queryRuleTemplateResponse.setSuccess(_ctx.booleanValue("QueryRuleTemplateResponse.Success"));
Data data = new Data();
data.setId(_ctx.longValue("QueryRuleTemplateResponse.Data.Id"));
data.setName(_ctx.stringValue("QueryRuleTemplateResponse.Data.Name"));
List<ProductListItem> productList = new ArrayList<ProductListItem>();
for (int i = 0; i < _ctx.lengthValue("QueryRuleTemplateResponse.Data.ProductList.Length"); i++) {
ProductListItem productListItem = new ProductListItem();
productListItem.setEnabled(_ctx.booleanValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].Enabled"));
productListItem.setOrder(_ctx.longValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].Order"));
productListItem.setProductCode(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ProductCode"));
productListItem.setProductName(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ProductName"));
List<ClassListItem> classList = new ArrayList<ClassListItem>();
for (int j = 0; j < _ctx.lengthValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList.Length"); j++) {
ClassListItem classListItem = new ClassListItem();
classListItem.setEnabled(_ctx.booleanValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].Enabled"));
classListItem.setRuleCode(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].RuleCode"));
classListItem.setRuleName(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].RuleName"));
List<FieldListItem> fieldList = new ArrayList<FieldListItem>();
for (int k = 0; k < _ctx.lengthValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList.Length"); k++) {
FieldListItem fieldListItem = new FieldListItem();
fieldListItem.setDefaultValue(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].DefaultValue"));
fieldListItem.setFieldLabel(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].FieldLabel"));
fieldListItem.setFieldName(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].FieldName"));
fieldListItem.setFieldValue(_ctx.longValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].FieldValue"));
fieldListItem.setOperator(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].Operator"));
fieldListItem.setValueUnit(_ctx.stringValue("QueryRuleTemplateResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].ValueUnit"));
fieldList.add(fieldListItem);
}
classListItem.setFieldList(fieldList);
classList.add(classListItem);
}
productListItem.setClassList(classList);
productList.add(productListItem);
}
data.setProductList(productList);
queryRuleTemplateResponse.setData(data);
return queryRuleTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryTaskResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryTaskResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryTaskResponse.Data.ProductListItem;
import com.aliyuncs.advisor_share.model.v20180608.QueryTaskResponse.Data.ProductListItem.ClassListItem;
import com.aliyuncs.advisor_share.model.v20180608.QueryTaskResponse.Data.ProductListItem.ClassListItem.FieldListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryTaskResponseUnmarshaller {
public static QueryTaskResponse unmarshall(QueryTaskResponse queryTaskResponse, UnmarshallerContext _ctx) {
queryTaskResponse.setSuccess(_ctx.booleanValue("QueryTaskResponse.Success"));
Data data = new Data();
data.setId(_ctx.longValue("QueryTaskResponse.Data.Id"));
data.setName(_ctx.stringValue("QueryTaskResponse.Data.Name"));
List<ProductListItem> productList = new ArrayList<ProductListItem>();
for (int i = 0; i < _ctx.lengthValue("QueryTaskResponse.Data.ProductList.Length"); i++) {
ProductListItem productListItem = new ProductListItem();
productListItem.setEnabled(_ctx.booleanValue("QueryTaskResponse.Data.ProductList["+ i +"].Enabled"));
productListItem.setOrder(_ctx.longValue("QueryTaskResponse.Data.ProductList["+ i +"].Order"));
productListItem.setProductCode(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ProductCode"));
productListItem.setProductName(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ProductName"));
List<ClassListItem> classList = new ArrayList<ClassListItem>();
for (int j = 0; j < _ctx.lengthValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList.Length"); j++) {
ClassListItem classListItem = new ClassListItem();
classListItem.setEnabled(_ctx.booleanValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].Enabled"));
classListItem.setRuleCode(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].RuleCode"));
classListItem.setRuleName(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].RuleName"));
List<FieldListItem> fieldList = new ArrayList<FieldListItem>();
for (int k = 0; k < _ctx.lengthValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList.Length"); k++) {
FieldListItem fieldListItem = new FieldListItem();
fieldListItem.setDefaultValue(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].DefaultValue"));
fieldListItem.setFieldLabel(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].FieldLabel"));
fieldListItem.setFieldName(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].FieldName"));
fieldListItem.setFieldValue(_ctx.longValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].FieldValue"));
fieldListItem.setOperator(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].Operator"));
fieldListItem.setValueUnit(_ctx.stringValue("QueryTaskResponse.Data.ProductList["+ i +"].ClassList["+ j +"].FieldList["+ k +"].ValueUnit"));
fieldList.add(fieldListItem);
}
classListItem.setFieldList(fieldList);
classList.add(classListItem);
}
productListItem.setClassList(classList);
productList.add(productListItem);
}
data.setProductList(productList);
queryTaskResponse.setData(data);
return queryTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryUserAccumulatedCountSeriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserAccumulatedCountSeriesResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserAccumulatedCountSeriesResponse.Data;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserAccumulatedCountSeriesResponse.Data.SeriesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryUserAccumulatedCountSeriesResponseUnmarshaller {
public static QueryUserAccumulatedCountSeriesResponse unmarshall(QueryUserAccumulatedCountSeriesResponse queryUserAccumulatedCountSeriesResponse, UnmarshallerContext _ctx) {
queryUserAccumulatedCountSeriesResponse.setRequestId(_ctx.stringValue("QueryUserAccumulatedCountSeriesResponse.RequestId"));
Data data = new Data();
List<String> categories = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("QueryUserAccumulatedCountSeriesResponse.Data.Categories.Length"); i++) {
categories.add(_ctx.stringValue("QueryUserAccumulatedCountSeriesResponse.Data.Categories["+ i +"]"));
}
data.setCategories(categories);
List<SeriesItem> series = new ArrayList<SeriesItem>();
for (int i = 0; i < _ctx.lengthValue("QueryUserAccumulatedCountSeriesResponse.Data.Series.Length"); i++) {
SeriesItem seriesItem = new SeriesItem();
seriesItem.setName(_ctx.stringValue("QueryUserAccumulatedCountSeriesResponse.Data.Series["+ i +"].Name"));
seriesItem.setUnit(_ctx.stringValue("QueryUserAccumulatedCountSeriesResponse.Data.Series["+ i +"].Unit"));
List<String> data1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("QueryUserAccumulatedCountSeriesResponse.Data.Series["+ i +"].Data.Length"); j++) {
data1.add(_ctx.stringValue("QueryUserAccumulatedCountSeriesResponse.Data.Series["+ i +"].Data["+ j +"]"));
}
seriesItem.setData1(data1);
series.add(seriesItem);
}
data.setSeries(series);
queryUserAccumulatedCountSeriesResponse.setData(data);
return queryUserAccumulatedCountSeriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryUserGcLevelStatResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserGcLevelStatResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserGcLevelStatResponse.Item;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryUserGcLevelStatResponseUnmarshaller {
public static QueryUserGcLevelStatResponse unmarshall(QueryUserGcLevelStatResponse queryUserGcLevelStatResponse, UnmarshallerContext _ctx) {
queryUserGcLevelStatResponse.setRequestId(_ctx.stringValue("QueryUserGcLevelStatResponse.RequestId"));
List<Item> data = new ArrayList<Item>();
for (int i = 0; i < _ctx.lengthValue("QueryUserGcLevelStatResponse.Data.Length"); i++) {
Item item = new Item();
item.setValue(_ctx.longValue("QueryUserGcLevelStatResponse.Data["+ i +"].Value"));
item.setPercent(_ctx.floatValue("QueryUserGcLevelStatResponse.Data["+ i +"].Percent"));
item.setName(_ctx.stringValue("QueryUserGcLevelStatResponse.Data["+ i +"].Name"));
data.add(item);
}
queryUserGcLevelStatResponse.setData(data);
return queryUserGcLevelStatResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryUserSourceSummariesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserSourceSummariesResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserSourceSummariesResponse.UserSourceSummary;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryUserSourceSummariesResponseUnmarshaller {
public static QueryUserSourceSummariesResponse unmarshall(QueryUserSourceSummariesResponse queryUserSourceSummariesResponse, UnmarshallerContext _ctx) {
queryUserSourceSummariesResponse.setRequestId(_ctx.stringValue("QueryUserSourceSummariesResponse.RequestId"));
List<UserSourceSummary> data = new ArrayList<UserSourceSummary>();
for (int i = 0; i < _ctx.lengthValue("QueryUserSourceSummariesResponse.Data.Length"); i++) {
UserSourceSummary userSourceSummary = new UserSourceSummary();
userSourceSummary.setSource(_ctx.stringValue("QueryUserSourceSummariesResponse.Data["+ i +"].Source"));
userSourceSummary.setCount(_ctx.longValue("QueryUserSourceSummariesResponse.Data["+ i +"].Count"));
userSourceSummary.setRate(_ctx.floatValue("QueryUserSourceSummariesResponse.Data["+ i +"].Rate"));
data.add(userSourceSummary);
}
queryUserSourceSummariesResponse.setData(data);
return queryUserSourceSummariesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/QueryUserSummariesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserSummariesResponse;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserSummariesResponse.UserSummary;
import com.aliyuncs.advisor_share.model.v20180608.QueryUserSummariesResponse.UserSummary.OwnedResourcesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryUserSummariesResponseUnmarshaller {
public static QueryUserSummariesResponse unmarshall(QueryUserSummariesResponse queryUserSummariesResponse, UnmarshallerContext _ctx) {
queryUserSummariesResponse.setRequestId(_ctx.stringValue("QueryUserSummariesResponse.RequestId"));
List<UserSummary> data = new ArrayList<UserSummary>();
for (int i = 0; i < _ctx.lengthValue("QueryUserSummariesResponse.Data.Length"); i++) {
UserSummary userSummary = new UserSummary();
userSummary.setGcLevel(_ctx.stringValue("QueryUserSummariesResponse.Data["+ i +"].GcLevel"));
userSummary.setAdviceCount(_ctx.longValue("QueryUserSummariesResponse.Data["+ i +"].AdviceCount"));
userSummary.setConversionRate(_ctx.floatValue("QueryUserSummariesResponse.Data["+ i +"].ConversionRate"));
userSummary.setDetailViewCount(_ctx.longValue("QueryUserSummariesResponse.Data["+ i +"].DetailViewCount"));
userSummary.setAliyunId(_ctx.longValue("QueryUserSummariesResponse.Data["+ i +"].AliyunId"));
userSummary.setUserName(_ctx.stringValue("QueryUserSummariesResponse.Data["+ i +"].UserName"));
userSummary.setAcceptedCount(_ctx.longValue("QueryUserSummariesResponse.Data["+ i +"].AcceptedCount"));
List<OwnedResourcesItem> ownedResources = new ArrayList<OwnedResourcesItem>();
for (int j = 0; j < _ctx.lengthValue("QueryUserSummariesResponse.Data["+ i +"].OwnedResources.Length"); j++) {
OwnedResourcesItem ownedResourcesItem = new OwnedResourcesItem();
ownedResourcesItem.setValue(_ctx.stringValue("QueryUserSummariesResponse.Data["+ i +"].OwnedResources["+ j +"].Value"));
ownedResourcesItem.setPercent(_ctx.floatValue("QueryUserSummariesResponse.Data["+ i +"].OwnedResources["+ j +"].Percent"));
ownedResourcesItem.setName(_ctx.stringValue("QueryUserSummariesResponse.Data["+ i +"].OwnedResources["+ j +"].Name"));
ownedResources.add(ownedResourcesItem);
}
userSummary.setOwnedResources(ownedResources);
data.add(userSummary);
}
queryUserSummariesResponse.setData(data);
return queryUserSummariesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/RefreshAdvisorCheckResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.RefreshAdvisorCheckResponse;
import com.aliyuncs.advisor_share.model.v20180608.RefreshAdvisorCheckResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class RefreshAdvisorCheckResponseUnmarshaller {
public static RefreshAdvisorCheckResponse unmarshall(RefreshAdvisorCheckResponse refreshAdvisorCheckResponse, UnmarshallerContext _ctx) {
refreshAdvisorCheckResponse.setRequestId(_ctx.stringValue("RefreshAdvisorCheckResponse.RequestId"));
Data data = new Data();
data.setSuccess(_ctx.booleanValue("RefreshAdvisorCheckResponse.Data.Success"));
data.setTraceId(_ctx.stringValue("RefreshAdvisorCheckResponse.Data.TraceId"));
data.setTaskId(_ctx.longValue("RefreshAdvisorCheckResponse.Data.TaskId"));
refreshAdvisorCheckResponse.setData(data);
return refreshAdvisorCheckResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/RefreshAdvisorResourceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.RefreshAdvisorResourceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RefreshAdvisorResourceResponseUnmarshaller {
public static RefreshAdvisorResourceResponse unmarshall(RefreshAdvisorResourceResponse refreshAdvisorResourceResponse, UnmarshallerContext _ctx) {
refreshAdvisorResourceResponse.setRequestId(_ctx.stringValue("RefreshAdvisorResourceResponse.RequestId"));
refreshAdvisorResourceResponse.setData(_ctx.longValue("RefreshAdvisorResourceResponse.Data"));
return refreshAdvisorResourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/RefreshUserResourcesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.RefreshUserResourcesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RefreshUserResourcesResponseUnmarshaller {
public static RefreshUserResourcesResponse unmarshall(RefreshUserResourcesResponse refreshUserResourcesResponse, UnmarshallerContext _ctx) {
refreshUserResourcesResponse.setRequestId(_ctx.stringValue("RefreshUserResourcesResponse.RequestId"));
refreshUserResourcesResponse.setData(_ctx.longValue("RefreshUserResourcesResponse.Data"));
return refreshUserResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/ReleaseAdviceConfProjectResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.ReleaseAdviceConfProjectResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ReleaseAdviceConfProjectResponseUnmarshaller {
public static ReleaseAdviceConfProjectResponse unmarshall(ReleaseAdviceConfProjectResponse releaseAdviceConfProjectResponse, UnmarshallerContext _ctx) {
releaseAdviceConfProjectResponse.setRequestId(_ctx.stringValue("ReleaseAdviceConfProjectResponse.RequestId"));
releaseAdviceConfProjectResponse.setMessage(_ctx.stringValue("ReleaseAdviceConfProjectResponse.Message"));
releaseAdviceConfProjectResponse.setSuccess(_ctx.booleanValue("ReleaseAdviceConfProjectResponse.Success"));
return releaseAdviceConfProjectResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/RemoveAdviceConfProjectOwnerResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.RemoveAdviceConfProjectOwnerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveAdviceConfProjectOwnerResponseUnmarshaller {
public static RemoveAdviceConfProjectOwnerResponse unmarshall(RemoveAdviceConfProjectOwnerResponse removeAdviceConfProjectOwnerResponse, UnmarshallerContext _ctx) {
removeAdviceConfProjectOwnerResponse.setRequestId(_ctx.stringValue("RemoveAdviceConfProjectOwnerResponse.RequestId"));
removeAdviceConfProjectOwnerResponse.setMessage(_ctx.stringValue("RemoveAdviceConfProjectOwnerResponse.Message"));
removeAdviceConfProjectOwnerResponse.setSuccess(_ctx.booleanValue("RemoveAdviceConfProjectOwnerResponse.Success"));
return removeAdviceConfProjectOwnerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/RemoveAdviceConfProjectResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.RemoveAdviceConfProjectResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveAdviceConfProjectResponseUnmarshaller {
public static RemoveAdviceConfProjectResponse unmarshall(RemoveAdviceConfProjectResponse removeAdviceConfProjectResponse, UnmarshallerContext _ctx) {
removeAdviceConfProjectResponse.setRequestId(_ctx.stringValue("RemoveAdviceConfProjectResponse.RequestId"));
removeAdviceConfProjectResponse.setMessage(_ctx.stringValue("RemoveAdviceConfProjectResponse.Message"));
removeAdviceConfProjectResponse.setSuccess(_ctx.stringValue("RemoveAdviceConfProjectResponse.Success"));
return removeAdviceConfProjectResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/RemoveAppResourceRelationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.RemoveAppResourceRelationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RemoveAppResourceRelationResponseUnmarshaller {
public static RemoveAppResourceRelationResponse unmarshall(RemoveAppResourceRelationResponse removeAppResourceRelationResponse, UnmarshallerContext _ctx) {
removeAppResourceRelationResponse.setRequestId(_ctx.stringValue("RemoveAppResourceRelationResponse.RequestId"));
removeAppResourceRelationResponse.setData(_ctx.booleanValue("RemoveAppResourceRelationResponse.Data"));
return removeAppResourceRelationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SendCallRequestResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SendCallRequestResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SendCallRequestResponseUnmarshaller {
public static SendCallRequestResponse unmarshall(SendCallRequestResponse sendCallRequestResponse, UnmarshallerContext _ctx) {
sendCallRequestResponse.setRequestId(_ctx.stringValue("SendCallRequestResponse.RequestId"));
sendCallRequestResponse.setData(_ctx.booleanValue("SendCallRequestResponse.Data"));
return sendCallRequestResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SetAdviceConfProjectResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SetAdviceConfProjectResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetAdviceConfProjectResponseUnmarshaller {
public static SetAdviceConfProjectResponse unmarshall(SetAdviceConfProjectResponse setAdviceConfProjectResponse, UnmarshallerContext _ctx) {
setAdviceConfProjectResponse.setRequestId(_ctx.stringValue("SetAdviceConfProjectResponse.RequestId"));
setAdviceConfProjectResponse.setMessage(_ctx.stringValue("SetAdviceConfProjectResponse.Message"));
setAdviceConfProjectResponse.setSuccess(_ctx.booleanValue("SetAdviceConfProjectResponse.Success"));
return setAdviceConfProjectResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SetAdvisorAuthorizationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SetAdvisorAuthorizationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetAdvisorAuthorizationResponseUnmarshaller {
public static SetAdvisorAuthorizationResponse unmarshall(SetAdvisorAuthorizationResponse setAdvisorAuthorizationResponse, UnmarshallerContext _ctx) {
setAdvisorAuthorizationResponse.setRequestId(_ctx.stringValue("SetAdvisorAuthorizationResponse.RequestId"));
setAdvisorAuthorizationResponse.setData(_ctx.booleanValue("SetAdvisorAuthorizationResponse.Data"));
return setAdvisorAuthorizationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SetAdvisorCheckResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SetAdvisorCheckResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetAdvisorCheckResponseUnmarshaller {
public static SetAdvisorCheckResponse unmarshall(SetAdvisorCheckResponse setAdvisorCheckResponse, UnmarshallerContext _ctx) {
setAdvisorCheckResponse.setRequestId(_ctx.stringValue("SetAdvisorCheckResponse.RequestId"));
setAdvisorCheckResponse.setData(_ctx.integerValue("SetAdvisorCheckResponse.Data"));
setAdvisorCheckResponse.setSuccess(_ctx.booleanValue("SetAdvisorCheckResponse.Success"));
return setAdvisorCheckResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SetUserIdResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SetUserIdResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetUserIdResponseUnmarshaller {
public static SetUserIdResponse unmarshall(SetUserIdResponse setUserIdResponse, UnmarshallerContext _ctx) {
setUserIdResponse.setSuccess(_ctx.booleanValue("SetUserIdResponse.Success"));
setUserIdResponse.setData(_ctx.integerValue("SetUserIdResponse.Data"));
return setUserIdResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SetUserReportSubscriptionInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SetUserReportSubscriptionInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetUserReportSubscriptionInfoResponseUnmarshaller {
public static SetUserReportSubscriptionInfoResponse unmarshall(SetUserReportSubscriptionInfoResponse setUserReportSubscriptionInfoResponse, UnmarshallerContext _ctx) {
setUserReportSubscriptionInfoResponse.setRequestId(_ctx.stringValue("SetUserReportSubscriptionInfoResponse.RequestId"));
setUserReportSubscriptionInfoResponse.setData(_ctx.booleanValue("SetUserReportSubscriptionInfoResponse.Data"));
setUserReportSubscriptionInfoResponse.setSuccess(_ctx.booleanValue("SetUserReportSubscriptionInfoResponse.Success"));
return setUserReportSubscriptionInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SetUserReportSubscriptionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SetUserReportSubscriptionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SetUserReportSubscriptionResponseUnmarshaller {
public static SetUserReportSubscriptionResponse unmarshall(SetUserReportSubscriptionResponse setUserReportSubscriptionResponse, UnmarshallerContext _ctx) {
setUserReportSubscriptionResponse.setRequestId(_ctx.stringValue("SetUserReportSubscriptionResponse.RequestId"));
setUserReportSubscriptionResponse.setData(_ctx.booleanValue("SetUserReportSubscriptionResponse.Data"));
setUserReportSubscriptionResponse.setSuccess(_ctx.booleanValue("SetUserReportSubscriptionResponse.Success"));
return setUserReportSubscriptionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/SyncTagResourcesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.SyncTagResourcesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SyncTagResourcesResponseUnmarshaller {
public static SyncTagResourcesResponse unmarshall(SyncTagResourcesResponse syncTagResourcesResponse, UnmarshallerContext _ctx) {
syncTagResourcesResponse.setRequestId(_ctx.stringValue("SyncTagResourcesResponse.RequestId"));
syncTagResourcesResponse.setData(_ctx.booleanValue("SyncTagResourcesResponse.Data"));
return syncTagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/UpdateAccountAssociationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.UpdateAccountAssociationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateAccountAssociationResponseUnmarshaller {
public static UpdateAccountAssociationResponse unmarshall(UpdateAccountAssociationResponse updateAccountAssociationResponse, UnmarshallerContext _ctx) {
updateAccountAssociationResponse.setRequestId(_ctx.stringValue("UpdateAccountAssociationResponse.RequestId"));
updateAccountAssociationResponse.setData(_ctx.booleanValue("UpdateAccountAssociationResponse.Data"));
return updateAccountAssociationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/UpdateAppInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.UpdateAppInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateAppInfoResponseUnmarshaller {
public static UpdateAppInfoResponse unmarshall(UpdateAppInfoResponse updateAppInfoResponse, UnmarshallerContext _ctx) {
updateAppInfoResponse.setRequestId(_ctx.stringValue("UpdateAppInfoResponse.RequestId"));
updateAppInfoResponse.setData(_ctx.booleanValue("UpdateAppInfoResponse.Data"));
return updateAppInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/UpdateDepartmentInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.UpdateDepartmentInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateDepartmentInfoResponseUnmarshaller {
public static UpdateDepartmentInfoResponse unmarshall(UpdateDepartmentInfoResponse updateDepartmentInfoResponse, UnmarshallerContext _ctx) {
updateDepartmentInfoResponse.setRequestId(_ctx.stringValue("UpdateDepartmentInfoResponse.RequestId"));
updateDepartmentInfoResponse.setData(_ctx.booleanValue("UpdateDepartmentInfoResponse.Data"));
return updateDepartmentInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/UpdateInspectItemThresholdParamSettingResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.UpdateInspectItemThresholdParamSettingResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateInspectItemThresholdParamSettingResponseUnmarshaller {
public static UpdateInspectItemThresholdParamSettingResponse unmarshall(UpdateInspectItemThresholdParamSettingResponse updateInspectItemThresholdParamSettingResponse, UnmarshallerContext _ctx) {
updateInspectItemThresholdParamSettingResponse.setRequestId(_ctx.stringValue("UpdateInspectItemThresholdParamSettingResponse.RequestId"));
updateInspectItemThresholdParamSettingResponse.setData(_ctx.stringValue("UpdateInspectItemThresholdParamSettingResponse.Data"));
updateInspectItemThresholdParamSettingResponse.setInspectCode(_ctx.stringValue("UpdateInspectItemThresholdParamSettingResponse.InspectCode"));
return updateInspectItemThresholdParamSettingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/UpdateNickNameByAliyunIdResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.UpdateNickNameByAliyunIdResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateNickNameByAliyunIdResponseUnmarshaller {
public static UpdateNickNameByAliyunIdResponse unmarshall(UpdateNickNameByAliyunIdResponse updateNickNameByAliyunIdResponse, UnmarshallerContext _ctx) {
updateNickNameByAliyunIdResponse.setRequestId(_ctx.stringValue("UpdateNickNameByAliyunIdResponse.RequestId"));
updateNickNameByAliyunIdResponse.setData(_ctx.booleanValue("UpdateNickNameByAliyunIdResponse.Data"));
return updateNickNameByAliyunIdResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform
|
java-sources/com/aliyun/aliyun-java-sdk-advisor-share/1.0.0/com/aliyuncs/advisor_share/transform/v20180608/UploadTranferPublishResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.advisor_share.transform.v20180608;
import com.aliyuncs.advisor_share.model.v20180608.UploadTranferPublishResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UploadTranferPublishResponseUnmarshaller {
public static UploadTranferPublishResponse unmarshall(UploadTranferPublishResponse uploadTranferPublishResponse, UnmarshallerContext _ctx) {
uploadTranferPublishResponse.setRequestId(_ctx.stringValue("UploadTranferPublishResponse.RequestId"));
uploadTranferPublishResponse.setMessage(_ctx.stringValue("UploadTranferPublishResponse.Message"));
uploadTranferPublishResponse.setData(_ctx.booleanValue("UploadTranferPublishResponse.Data"));
uploadTranferPublishResponse.setSuccess(_ctx.booleanValue("UploadTranferPublishResponse.Success"));
return uploadTranferPublishResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/AutoUpgradeSasRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AutoUpgradeSasRequest extends RpcAcsRequest<AutoUpgradeSasResponse> {
public AutoUpgradeSasRequest() {
super("aegis", "2016-11-11", "AutoUpgradeSas", "vipaegis");
}
private String sourceIp;
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
@Override
public Class<AutoUpgradeSasResponse> getResponseClass() {
return AutoUpgradeSasResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/AutoUpgradeSasResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.AutoUpgradeSasResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AutoUpgradeSasResponse extends AcsResponse {
private String requestId;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public AutoUpgradeSasResponse getInstance(UnmarshallerContext context) {
return AutoUpgradeSasResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/AutoUpgradeToSasAdvancedVersionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class AutoUpgradeToSasAdvancedVersionRequest extends RpcAcsRequest<AutoUpgradeToSasAdvancedVersionResponse> {
public AutoUpgradeToSasAdvancedVersionRequest() {
super("aegis", "2016-11-11", "AutoUpgradeToSasAdvancedVersion", "vipaegis");
}
@Override
public Class<AutoUpgradeToSasAdvancedVersionResponse> getResponseClass() {
return AutoUpgradeToSasAdvancedVersionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/AutoUpgradeToSasAdvancedVersionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.AutoUpgradeToSasAdvancedVersionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AutoUpgradeToSasAdvancedVersionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public AutoUpgradeToSasAdvancedVersionResponse getInstance(UnmarshallerContext context) {
return AutoUpgradeToSasAdvancedVersionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/BatchDeleteWhiteListRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class BatchDeleteWhiteListRequest extends RpcAcsRequest<BatchDeleteWhiteListResponse> {
public BatchDeleteWhiteListRequest() {
super("aegis", "2016-11-11", "BatchDeleteWhiteList", "vipaegis");
}
private String riskIdList;
private String sourceIp;
public String getRiskIdList() {
return this.riskIdList;
}
public void setRiskIdList(String riskIdList) {
this.riskIdList = riskIdList;
if(riskIdList != null){
putQueryParameter("RiskIdList", riskIdList);
}
}
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
@Override
public Class<BatchDeleteWhiteListResponse> getResponseClass() {
return BatchDeleteWhiteListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/BatchDeleteWhiteListResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.BatchDeleteWhiteListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchDeleteWhiteListResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public BatchDeleteWhiteListResponse getInstance(UnmarshallerContext context) {
return BatchDeleteWhiteListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CanTrySasRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CanTrySasRequest extends RpcAcsRequest<CanTrySasResponse> {
public CanTrySasRequest() {
super("aegis", "2016-11-11", "CanTrySas", "vipaegis");
}
@Override
public Class<CanTrySasResponse> getResponseClass() {
return CanTrySasResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CanTrySasResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CanTrySasResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CanTrySasResponse extends AcsResponse {
private String requestId;
private Integer canTry;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getCanTry() {
return this.canTry;
}
public void setCanTry(Integer canTry) {
this.canTry = canTry;
}
@Override
public CanTrySasResponse getInstance(UnmarshallerContext context) {
return CanTrySasResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreatScreenSettingRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreatScreenSettingRequest extends RpcAcsRequest<CreatScreenSettingResponse> {
public CreatScreenSettingRequest() {
super("aegis", "2016-11-11", "CreatScreenSetting", "vipaegis");
}
private String screenTitle;
private String screenIdSetting;
public String getScreenTitle() {
return this.screenTitle;
}
public void setScreenTitle(String screenTitle) {
this.screenTitle = screenTitle;
if(screenTitle != null){
putQueryParameter("ScreenTitle", screenTitle);
}
}
public String getScreenIdSetting() {
return this.screenIdSetting;
}
public void setScreenIdSetting(String screenIdSetting) {
this.screenIdSetting = screenIdSetting;
if(screenIdSetting != null){
putQueryParameter("ScreenIdSetting", screenIdSetting);
}
}
@Override
public Class<CreatScreenSettingResponse> getResponseClass() {
return CreatScreenSettingResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreatScreenSettingResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreatScreenSettingResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreatScreenSettingResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreatScreenSettingResponse getInstance(UnmarshallerContext context) {
return CreatScreenSettingResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateInstanceRequest extends RpcAcsRequest<CreateInstanceResponse> {
public CreateInstanceRequest() {
super("aegis", "2016-11-11", "CreateInstance", "vipaegis");
}
private Integer duration;
private Boolean isAutoRenew;
private String clientToken;
private Integer vmNumber;
private Long ownerId;
private Integer versionCode;
private String pricingCycle;
private Integer autoRenewDuration;
public Integer getDuration() {
return this.duration;
}
public void setDuration(Integer duration) {
this.duration = duration;
if(duration != null){
putQueryParameter("Duration", duration.toString());
}
}
public Boolean getIsAutoRenew() {
return this.isAutoRenew;
}
public void setIsAutoRenew(Boolean isAutoRenew) {
this.isAutoRenew = isAutoRenew;
if(isAutoRenew != null){
putQueryParameter("IsAutoRenew", isAutoRenew.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Integer getVmNumber() {
return this.vmNumber;
}
public void setVmNumber(Integer vmNumber) {
this.vmNumber = vmNumber;
if(vmNumber != null){
putQueryParameter("VmNumber", vmNumber.toString());
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Integer getVersionCode() {
return this.versionCode;
}
public void setVersionCode(Integer versionCode) {
this.versionCode = versionCode;
if(versionCode != null){
putQueryParameter("VersionCode", versionCode.toString());
}
}
public String getPricingCycle() {
return this.pricingCycle;
}
public void setPricingCycle(String pricingCycle) {
this.pricingCycle = pricingCycle;
if(pricingCycle != null){
putQueryParameter("PricingCycle", pricingCycle);
}
}
public Integer getAutoRenewDuration() {
return this.autoRenewDuration;
}
public void setAutoRenewDuration(Integer autoRenewDuration) {
this.autoRenewDuration = autoRenewDuration;
if(autoRenewDuration != null){
putQueryParameter("AutoRenewDuration", autoRenewDuration.toString());
}
}
@Override
public Class<CreateInstanceResponse> getResponseClass() {
return CreateInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateInstanceResponse extends AcsResponse {
private String orderId;
private String instanceId;
private String requestId;
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateInstanceResponse getInstance(UnmarshallerContext context) {
return CreateInstanceResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateLogQueryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateLogQueryRequest extends RpcAcsRequest<CreateLogQueryResponse> {
public CreateLogQueryRequest() {
super("aegis", "2016-11-11", "CreateLogQuery", "vipaegis");
}
private String sourceIp;
private String queryName;
private String conditions;
private String queryDetail;
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
public String getQueryName() {
return this.queryName;
}
public void setQueryName(String queryName) {
this.queryName = queryName;
if(queryName != null){
putQueryParameter("QueryName", queryName);
}
}
public String getConditions() {
return this.conditions;
}
public void setConditions(String conditions) {
this.conditions = conditions;
if(conditions != null){
putQueryParameter("Conditions", conditions);
}
}
public String getQueryDetail() {
return this.queryDetail;
}
public void setQueryDetail(String queryDetail) {
this.queryDetail = queryDetail;
if(queryDetail != null){
putQueryParameter("QueryDetail", queryDetail);
}
}
@Override
public Class<CreateLogQueryResponse> getResponseClass() {
return CreateLogQueryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateLogQueryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateLogQueryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateLogQueryResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateLogQueryResponse getInstance(UnmarshallerContext context) {
return CreateLogQueryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateDataSourceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateDataSourceRequest extends RpcAcsRequest<CreateOrUpdateDataSourceResponse> {
public CreateOrUpdateDataSourceRequest() {
super("aegis", "2016-11-11", "CreateOrUpdateDataSource", "vipaegis");
}
private String projectName;
private String logStoreName;
private String datasourceDescription;
private String fields;
private String regionNo;
public String getProjectName() {
return this.projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
if(projectName != null){
putQueryParameter("ProjectName", projectName);
}
}
public String getLogStoreName() {
return this.logStoreName;
}
public void setLogStoreName(String logStoreName) {
this.logStoreName = logStoreName;
if(logStoreName != null){
putQueryParameter("LogStoreName", logStoreName);
}
}
public String getDatasourceDescription() {
return this.datasourceDescription;
}
public void setDatasourceDescription(String datasourceDescription) {
this.datasourceDescription = datasourceDescription;
if(datasourceDescription != null){
putQueryParameter("DatasourceDescription", datasourceDescription);
}
}
public String getFields() {
return this.fields;
}
public void setFields(String fields) {
this.fields = fields;
if(fields != null){
putQueryParameter("Fields", fields);
}
}
public String getRegionNo() {
return this.regionNo;
}
public void setRegionNo(String regionNo) {
this.regionNo = regionNo;
if(regionNo != null){
putQueryParameter("RegionNo", regionNo);
}
}
@Override
public Class<CreateOrUpdateDataSourceResponse> getResponseClass() {
return CreateOrUpdateDataSourceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateDataSourceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateOrUpdateDataSourceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateDataSourceResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateOrUpdateDataSourceResponse getInstance(UnmarshallerContext context) {
return CreateOrUpdateDataSourceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateDingTalkRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateDingTalkRequest extends RpcAcsRequest<CreateOrUpdateDingTalkResponse> {
public CreateOrUpdateDingTalkRequest() {
super("aegis", "2016-11-11", "CreateOrUpdateDingTalk", "vipaegis");
}
private String ruleActionName;
private String sendUrl;
private Long id;
private Long intervalTime;
public String getRuleActionName() {
return this.ruleActionName;
}
public void setRuleActionName(String ruleActionName) {
this.ruleActionName = ruleActionName;
if(ruleActionName != null){
putQueryParameter("RuleActionName", ruleActionName);
}
}
public String getSendUrl() {
return this.sendUrl;
}
public void setSendUrl(String sendUrl) {
this.sendUrl = sendUrl;
if(sendUrl != null){
putQueryParameter("SendUrl", sendUrl);
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id.toString());
}
}
public Long getIntervalTime() {
return this.intervalTime;
}
public void setIntervalTime(Long intervalTime) {
this.intervalTime = intervalTime;
if(intervalTime != null){
putQueryParameter("IntervalTime", intervalTime.toString());
}
}
@Override
public Class<CreateOrUpdateDingTalkResponse> getResponseClass() {
return CreateOrUpdateDingTalkResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateDingTalkResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateOrUpdateDingTalkResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateDingTalkResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateOrUpdateDingTalkResponse getInstance(UnmarshallerContext context) {
return CreateOrUpdateDingTalkResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateGroupRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateGroupRequest extends RpcAcsRequest<CreateOrUpdateGroupResponse> {
public CreateOrUpdateGroupRequest() {
super("aegis", "2016-11-11", "CreateOrUpdateGroup", "vipaegis");
}
private String ruleIds;
private String sourceIp;
private String machineGroupIds;
private String description;
private Long id;
private String lang;
private String groupName;
public String getRuleIds() {
return this.ruleIds;
}
public void setRuleIds(String ruleIds) {
this.ruleIds = ruleIds;
if(ruleIds != null){
putQueryParameter("RuleIds", ruleIds);
}
}
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
public String getMachineGroupIds() {
return this.machineGroupIds;
}
public void setMachineGroupIds(String machineGroupIds) {
this.machineGroupIds = machineGroupIds;
if(machineGroupIds != null){
putQueryParameter("MachineGroupIds", machineGroupIds);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id.toString());
}
}
public String getLang() {
return this.lang;
}
public void setLang(String lang) {
this.lang = lang;
if(lang != null){
putQueryParameter("Lang", lang);
}
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
if(groupName != null){
putQueryParameter("GroupName", groupName);
}
}
@Override
public Class<CreateOrUpdateGroupResponse> getResponseClass() {
return CreateOrUpdateGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateGroupResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateOrUpdateGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateGroupResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateOrUpdateGroupResponse getInstance(UnmarshallerContext context) {
return CreateOrUpdateGroupResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateJoinRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateJoinRuleRequest extends RpcAcsRequest<CreateOrUpdateJoinRuleResponse> {
public CreateOrUpdateJoinRuleRequest() {
super("aegis", "2016-11-11", "CreateOrUpdateJoinRule", "vipaegis");
}
private String warnLevel;
private Long dataSourceId2;
private Long dataSourceId1;
private Long timeWindow;
private String description;
private String ruleName;
private String expression2;
private String expression1;
private String statisticsRules;
private String joinRelation;
private Long ruleId;
private String actions;
public String getWarnLevel() {
return this.warnLevel;
}
public void setWarnLevel(String warnLevel) {
this.warnLevel = warnLevel;
if(warnLevel != null){
putQueryParameter("WarnLevel", warnLevel);
}
}
public Long getDataSourceId2() {
return this.dataSourceId2;
}
public void setDataSourceId2(Long dataSourceId2) {
this.dataSourceId2 = dataSourceId2;
if(dataSourceId2 != null){
putQueryParameter("DataSourceId2", dataSourceId2.toString());
}
}
public Long getDataSourceId1() {
return this.dataSourceId1;
}
public void setDataSourceId1(Long dataSourceId1) {
this.dataSourceId1 = dataSourceId1;
if(dataSourceId1 != null){
putQueryParameter("DataSourceId1", dataSourceId1.toString());
}
}
public Long getTimeWindow() {
return this.timeWindow;
}
public void setTimeWindow(Long timeWindow) {
this.timeWindow = timeWindow;
if(timeWindow != null){
putQueryParameter("TimeWindow", timeWindow.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public String getExpression2() {
return this.expression2;
}
public void setExpression2(String expression2) {
this.expression2 = expression2;
if(expression2 != null){
putQueryParameter("Expression2", expression2);
}
}
public String getExpression1() {
return this.expression1;
}
public void setExpression1(String expression1) {
this.expression1 = expression1;
if(expression1 != null){
putQueryParameter("Expression1", expression1);
}
}
public String getStatisticsRules() {
return this.statisticsRules;
}
public void setStatisticsRules(String statisticsRules) {
this.statisticsRules = statisticsRules;
if(statisticsRules != null){
putQueryParameter("StatisticsRules", statisticsRules);
}
}
public String getJoinRelation() {
return this.joinRelation;
}
public void setJoinRelation(String joinRelation) {
this.joinRelation = joinRelation;
if(joinRelation != null){
putQueryParameter("JoinRelation", joinRelation);
}
}
public Long getRuleId() {
return this.ruleId;
}
public void setRuleId(Long ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putQueryParameter("RuleId", ruleId.toString());
}
}
public String getActions() {
return this.actions;
}
public void setActions(String actions) {
this.actions = actions;
if(actions != null){
putQueryParameter("Actions", actions);
}
}
@Override
public Class<CreateOrUpdateJoinRuleResponse> getResponseClass() {
return CreateOrUpdateJoinRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateJoinRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateOrUpdateJoinRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateJoinRuleResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateOrUpdateJoinRuleResponse getInstance(UnmarshallerContext context) {
return CreateOrUpdateJoinRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateRuleRequest extends RpcAcsRequest<CreateOrUpdateRuleResponse> {
public CreateOrUpdateRuleRequest() {
super("aegis", "2016-11-11", "CreateOrUpdateRule", "vipaegis");
}
private String warnLevel;
private String sourceIp;
private String statisticsRules;
private Long dataSourceId;
private String description;
private String ruleName;
private Long id;
private String lang;
private String expressions;
private String actions;
private String ruleGroupIds;
public String getWarnLevel() {
return this.warnLevel;
}
public void setWarnLevel(String warnLevel) {
this.warnLevel = warnLevel;
if(warnLevel != null){
putQueryParameter("WarnLevel", warnLevel);
}
}
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
public String getStatisticsRules() {
return this.statisticsRules;
}
public void setStatisticsRules(String statisticsRules) {
this.statisticsRules = statisticsRules;
if(statisticsRules != null){
putQueryParameter("StatisticsRules", statisticsRules);
}
}
public Long getDataSourceId() {
return this.dataSourceId;
}
public void setDataSourceId(Long dataSourceId) {
this.dataSourceId = dataSourceId;
if(dataSourceId != null){
putQueryParameter("DataSourceId", dataSourceId.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id.toString());
}
}
public String getLang() {
return this.lang;
}
public void setLang(String lang) {
this.lang = lang;
if(lang != null){
putQueryParameter("Lang", lang);
}
}
public String getExpressions() {
return this.expressions;
}
public void setExpressions(String expressions) {
this.expressions = expressions;
if(expressions != null){
putQueryParameter("Expressions", expressions);
}
}
public String getActions() {
return this.actions;
}
public void setActions(String actions) {
this.actions = actions;
if(actions != null){
putQueryParameter("Actions", actions);
}
}
public String getRuleGroupIds() {
return this.ruleGroupIds;
}
public void setRuleGroupIds(String ruleGroupIds) {
this.ruleGroupIds = ruleGroupIds;
if(ruleGroupIds != null){
putQueryParameter("RuleGroupIds", ruleGroupIds);
}
}
@Override
public Class<CreateOrUpdateRuleResponse> getResponseClass() {
return CreateOrUpdateRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateOrUpdateRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateOrUpdateRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrUpdateRuleResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateOrUpdateRuleResponse getInstance(UnmarshallerContext context) {
return CreateOrUpdateRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateSuspiciousExportRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateSuspiciousExportRequest extends RpcAcsRequest<CreateSuspiciousExportResponse> {
public CreateSuspiciousExportRequest() {
super("aegis", "2016-11-11", "CreateSuspiciousExport", "vipaegis");
}
private String statusList;
private String sourceIp;
private String eventNameRemark;
private String level;
private String groupId;
private String dealed;
private String eventType;
private String remark;
private String tag;
public String getStatusList() {
return this.statusList;
}
public void setStatusList(String statusList) {
this.statusList = statusList;
if(statusList != null){
putQueryParameter("StatusList", statusList);
}
}
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
public String getEventNameRemark() {
return this.eventNameRemark;
}
public void setEventNameRemark(String eventNameRemark) {
this.eventNameRemark = eventNameRemark;
if(eventNameRemark != null){
putQueryParameter("EventNameRemark", eventNameRemark);
}
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
if(level != null){
putQueryParameter("Level", level);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getDealed() {
return this.dealed;
}
public void setDealed(String dealed) {
this.dealed = dealed;
if(dealed != null){
putQueryParameter("Dealed", dealed);
}
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
if(eventType != null){
putQueryParameter("EventType", eventType);
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putQueryParameter("Remark", remark);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
@Override
public Class<CreateSuspiciousExportResponse> getResponseClass() {
return CreateSuspiciousExportResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateSuspiciousExportResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aegis.transform.v20161111.CreateSuspiciousExportResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateSuspiciousExportResponse extends AcsResponse {
private String requestId;
private Long id;
private String fileName;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getFileName() {
return this.fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
@Override
public CreateSuspiciousExportResponse getInstance(UnmarshallerContext context) {
return CreateSuspiciousExportResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/model/v20161111/CreateUserSettingRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aegis.model.v20161111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class CreateUserSettingRequest extends RpcAcsRequest<CreateUserSettingResponse> {
public CreateUserSettingRequest() {
super("aegis", "2016-11-11", "CreateUserSetting", "vipaegis");
}
private String sourceIp;
private String alertLevels;
private Integer invalidWarningKeepDays;
public String getSourceIp() {
return this.sourceIp;
}
public void setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
if(sourceIp != null){
putQueryParameter("SourceIp", sourceIp);
}
}
public String getAlertLevels() {
return this.alertLevels;
}
public void setAlertLevels(String alertLevels) {
this.alertLevels = alertLevels;
if(alertLevels != null){
putQueryParameter("AlertLevels", alertLevels);
}
}
public Integer getInvalidWarningKeepDays() {
return this.invalidWarningKeepDays;
}
public void setInvalidWarningKeepDays(Integer invalidWarningKeepDays) {
this.invalidWarningKeepDays = invalidWarningKeepDays;
if(invalidWarningKeepDays != null){
putQueryParameter("InvalidWarningKeepDays", invalidWarningKeepDays.toString());
}
}
@Override
public Class<CreateUserSettingResponse> getResponseClass() {
return CreateUserSettingResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.