
com.aliyuncs.qualitycheck.transform.v20190115.BatchSubmitReviewInfoResponseUnmarshaller Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.qualitycheck.transform.v20190115;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.qualitycheck.model.v20190115.BatchSubmitReviewInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class BatchSubmitReviewInfoResponseUnmarshaller {
public static BatchSubmitReviewInfoResponse unmarshall(BatchSubmitReviewInfoResponse batchSubmitReviewInfoResponse, UnmarshallerContext _ctx) {
batchSubmitReviewInfoResponse.setRequestId(_ctx.stringValue("BatchSubmitReviewInfoResponse.RequestId"));
batchSubmitReviewInfoResponse.setSuccess(_ctx.booleanValue("BatchSubmitReviewInfoResponse.Success"));
batchSubmitReviewInfoResponse.setCode(_ctx.stringValue("BatchSubmitReviewInfoResponse.Code"));
batchSubmitReviewInfoResponse.setMessage(_ctx.stringValue("BatchSubmitReviewInfoResponse.Message"));
batchSubmitReviewInfoResponse.setHttpStatusCode(_ctx.integerValue("BatchSubmitReviewInfoResponse.HttpStatusCode"));
List messages = new ArrayList();
for (int i = 0; i < _ctx.lengthValue("BatchSubmitReviewInfoResponse.Messages.Length"); i++) {
messages.add(_ctx.stringValue("BatchSubmitReviewInfoResponse.Messages["+ i +"]"));
}
batchSubmitReviewInfoResponse.setMessages(messages);
return batchSubmitReviewInfoResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy