
com.aliyuncs.domain_intl.transform.v20171218.QueryRegistrantProfilesResponseUnmarshaller 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.domain_intl.transform.v20171218;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.domain_intl.model.v20171218.QueryRegistrantProfilesResponse;
import com.aliyuncs.domain_intl.model.v20171218.QueryRegistrantProfilesResponse.RegistrantProfile;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryRegistrantProfilesResponseUnmarshaller {
public static QueryRegistrantProfilesResponse unmarshall(QueryRegistrantProfilesResponse queryRegistrantProfilesResponse, UnmarshallerContext _ctx) {
queryRegistrantProfilesResponse.setRequestId(_ctx.stringValue("QueryRegistrantProfilesResponse.RequestId"));
queryRegistrantProfilesResponse.setNextPage(_ctx.booleanValue("QueryRegistrantProfilesResponse.NextPage"));
queryRegistrantProfilesResponse.setTotalItemNum(_ctx.integerValue("QueryRegistrantProfilesResponse.TotalItemNum"));
queryRegistrantProfilesResponse.setPrePage(_ctx.booleanValue("QueryRegistrantProfilesResponse.PrePage"));
queryRegistrantProfilesResponse.setCurrentPageNum(_ctx.integerValue("QueryRegistrantProfilesResponse.CurrentPageNum"));
queryRegistrantProfilesResponse.setTotalPageNum(_ctx.integerValue("QueryRegistrantProfilesResponse.TotalPageNum"));
queryRegistrantProfilesResponse.setPageSize(_ctx.integerValue("QueryRegistrantProfilesResponse.PageSize"));
List registrantProfiles = new ArrayList();
for (int i = 0; i < _ctx.lengthValue("QueryRegistrantProfilesResponse.RegistrantProfiles.Length"); i++) {
RegistrantProfile registrantProfile = new RegistrantProfile();
registrantProfile.setPostalCode(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].PostalCode"));
registrantProfile.setTelExt(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].TelExt"));
registrantProfile.setUpdateTime(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].UpdateTime"));
registrantProfile.setRegistrantProfileType(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].RegistrantProfileType"));
registrantProfile.setRegistrantProfileId(_ctx.longValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].RegistrantProfileId"));
registrantProfile.setTelephone(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].Telephone"));
registrantProfile.setCreateTime(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].CreateTime"));
registrantProfile.setDefaultRegistrantProfile(_ctx.booleanValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].DefaultRegistrantProfile"));
registrantProfile.setRegistrantOrganization(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].RegistrantOrganization"));
registrantProfile.setCity(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].City"));
registrantProfile.setEmail(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].Email"));
registrantProfile.setRegistrantType(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].RegistrantType"));
registrantProfile.setTelArea(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].TelArea"));
registrantProfile.setAddress(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].Address"));
registrantProfile.setCountry(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].Country"));
registrantProfile.setRegistrantName(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].RegistrantName"));
registrantProfile.setRealNameStatus(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].RealNameStatus"));
registrantProfile.setEmailVerificationStatus(_ctx.integerValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].EmailVerificationStatus"));
registrantProfile.setProvince(_ctx.stringValue("QueryRegistrantProfilesResponse.RegistrantProfiles["+ i +"].Province"));
registrantProfiles.add(registrantProfile);
}
queryRegistrantProfilesResponse.setRegistrantProfiles(registrantProfiles);
return queryRegistrantProfilesResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy