index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/CreateFabricChannelResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.CreateFabricChannelResponse; import com.aliyuncs.baas.model.v20181221.CreateFabricChannelResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class CreateFabricChannelResponseUnmarshaller { public static CreateFabricChannelResponse unmarshall(CreateFabricChannelResponse createFabricChannelResponse, UnmarshallerContext _ctx) { createFabricChannelResponse.setRequestId(_ctx.stringValue("CreateFabricChannelResponse.RequestId")); createFabricChannelResponse.setSuccess(_ctx.booleanValue("CreateFabricChannelResponse.Success")); createFabricChannelResponse.setErrorCode(_ctx.integerValue("CreateFabricChannelResponse.ErrorCode")); Result result = new Result(); result.setBatchTimeout(_ctx.integerValue("CreateFabricChannelResponse.Result.BatchTimeout")); result.setUpdateTime(_ctx.stringValue("CreateFabricChannelResponse.Result.UpdateTime")); result.setChaincodeCount(_ctx.integerValue("CreateFabricChannelResponse.Result.ChaincodeCount")); result.setPreferredMaxBytes(_ctx.integerValue("CreateFabricChannelResponse.Result.PreferredMaxBytes")); result.setState(_ctx.stringValue("CreateFabricChannelResponse.Result.State")); result.setCreateTime(_ctx.stringValue("CreateFabricChannelResponse.Result.CreateTime")); result.setOwnerName(_ctx.stringValue("CreateFabricChannelResponse.Result.OwnerName")); result.setOwnerUid(_ctx.longValue("CreateFabricChannelResponse.Result.OwnerUid")); result.setOwnerBid(_ctx.stringValue("CreateFabricChannelResponse.Result.OwnerBid")); result.setMaxMessageCount(_ctx.integerValue("CreateFabricChannelResponse.Result.MaxMessageCount")); result.setMemberCount(_ctx.integerValue("CreateFabricChannelResponse.Result.MemberCount")); result.setRequestId(_ctx.stringValue("CreateFabricChannelResponse.Result.RequestId")); result.setConsortiumId(_ctx.stringValue("CreateFabricChannelResponse.Result.ConsortiumId")); result.setChannelName(_ctx.stringValue("CreateFabricChannelResponse.Result.ChannelName")); result.setSupportConfig(_ctx.booleanValue("CreateFabricChannelResponse.Result.SupportConfig")); result.setChannelId(_ctx.stringValue("CreateFabricChannelResponse.Result.ChannelId")); result.setConsortiumName(_ctx.stringValue("CreateFabricChannelResponse.Result.ConsortiumName")); result.setBlockCount(_ctx.integerValue("CreateFabricChannelResponse.Result.BlockCount")); createFabricChannelResponse.setResult(result); return createFabricChannelResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/CreateFabricConsortiumMemberResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.CreateFabricConsortiumMemberResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateFabricConsortiumMemberResponseUnmarshaller { public static CreateFabricConsortiumMemberResponse unmarshall(CreateFabricConsortiumMemberResponse createFabricConsortiumMemberResponse, UnmarshallerContext _ctx) { createFabricConsortiumMemberResponse.setRequestId(_ctx.stringValue("CreateFabricConsortiumMemberResponse.RequestId")); createFabricConsortiumMemberResponse.setResult(_ctx.booleanValue("CreateFabricConsortiumMemberResponse.Result")); createFabricConsortiumMemberResponse.setSuccess(_ctx.booleanValue("CreateFabricConsortiumMemberResponse.Success")); createFabricConsortiumMemberResponse.setErrorCode(_ctx.integerValue("CreateFabricConsortiumMemberResponse.ErrorCode")); return createFabricConsortiumMemberResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/CreateFabricConsortiumResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.CreateFabricConsortiumResponse; import com.aliyuncs.baas.model.v20181221.CreateFabricConsortiumResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class CreateFabricConsortiumResponseUnmarshaller { public static CreateFabricConsortiumResponse unmarshall(CreateFabricConsortiumResponse createFabricConsortiumResponse, UnmarshallerContext _ctx) { createFabricConsortiumResponse.setRequestId(_ctx.stringValue("CreateFabricConsortiumResponse.RequestId")); createFabricConsortiumResponse.setSuccess(_ctx.booleanValue("CreateFabricConsortiumResponse.Success")); createFabricConsortiumResponse.setErrorCode(_ctx.integerValue("CreateFabricConsortiumResponse.ErrorCode")); Result result = new Result(); result.setChannelCount(_ctx.integerValue("CreateFabricConsortiumResponse.Result.ChannelCount")); result.setDomain(_ctx.stringValue("CreateFabricConsortiumResponse.Result.Domain")); result.setCreateTime(_ctx.stringValue("CreateFabricConsortiumResponse.Result.CreateTime")); result.setSpecName(_ctx.stringValue("CreateFabricConsortiumResponse.Result.SpecName")); result.setOrdererCount(_ctx.integerValue("CreateFabricConsortiumResponse.Result.OrdererCount")); result.setServiceState(_ctx.stringValue("CreateFabricConsortiumResponse.Result.ServiceState")); result.setClusterState(_ctx.stringValue("CreateFabricConsortiumResponse.Result.ClusterState")); result.setOwnerUid(_ctx.longValue("CreateFabricConsortiumResponse.Result.OwnerUid")); result.setOwnerBid(_ctx.stringValue("CreateFabricConsortiumResponse.Result.OwnerBid")); result.setCodeName(_ctx.stringValue("CreateFabricConsortiumResponse.Result.CodeName")); result.setRegionId(_ctx.stringValue("CreateFabricConsortiumResponse.Result.RegionId")); result.setMemberCount(_ctx.integerValue("CreateFabricConsortiumResponse.Result.MemberCount")); result.setChannelPolicy(_ctx.stringValue("CreateFabricConsortiumResponse.Result.ChannelPolicy")); result.setOrdererType(_ctx.stringValue("CreateFabricConsortiumResponse.Result.OrdererType")); result.setDescription(_ctx.stringValue("CreateFabricConsortiumResponse.Result.Description")); result.setConsortiumId(_ctx.stringValue("CreateFabricConsortiumResponse.Result.ConsortiumId")); result.setZoneId(_ctx.stringValue("CreateFabricConsortiumResponse.Result.ZoneId")); result.setConsortiumName(_ctx.stringValue("CreateFabricConsortiumResponse.Result.ConsortiumName")); createFabricConsortiumResponse.setResult(result); return createFabricConsortiumResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/CreateFabricOrganizationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.CreateFabricOrganizationResponse; import com.aliyuncs.baas.model.v20181221.CreateFabricOrganizationResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class CreateFabricOrganizationResponseUnmarshaller { public static CreateFabricOrganizationResponse unmarshall(CreateFabricOrganizationResponse createFabricOrganizationResponse, UnmarshallerContext _ctx) { createFabricOrganizationResponse.setRequestId(_ctx.stringValue("CreateFabricOrganizationResponse.RequestId")); createFabricOrganizationResponse.setSuccess(_ctx.booleanValue("CreateFabricOrganizationResponse.Success")); createFabricOrganizationResponse.setErrorCode(_ctx.integerValue("CreateFabricOrganizationResponse.ErrorCode")); Result result = new Result(); result.setDomain(_ctx.stringValue("CreateFabricOrganizationResponse.Result.Domain")); result.setPeerCount(_ctx.integerValue("CreateFabricOrganizationResponse.Result.PeerCount")); result.setCreateTime(_ctx.stringValue("CreateFabricOrganizationResponse.Result.CreateTime")); result.setConsortiumCount(_ctx.integerValue("CreateFabricOrganizationResponse.Result.ConsortiumCount")); result.setSpecName(_ctx.stringValue("CreateFabricOrganizationResponse.Result.SpecName")); result.setServiceState(_ctx.stringValue("CreateFabricOrganizationResponse.Result.ServiceState")); result.setOwnerName(_ctx.stringValue("CreateFabricOrganizationResponse.Result.OwnerName")); result.setClusterState(_ctx.stringValue("CreateFabricOrganizationResponse.Result.ClusterState")); result.setOwnerUid(_ctx.longValue("CreateFabricOrganizationResponse.Result.OwnerUid")); result.setOwnerBid(_ctx.stringValue("CreateFabricOrganizationResponse.Result.OwnerBid")); result.setCodeName(_ctx.stringValue("CreateFabricOrganizationResponse.Result.CodeName")); result.setOrganizationDescription(_ctx.stringValue("CreateFabricOrganizationResponse.Result.OrganizationDescription")); result.setRegionId(_ctx.stringValue("CreateFabricOrganizationResponse.Result.RegionId")); result.setOrganizationId(_ctx.stringValue("CreateFabricOrganizationResponse.Result.OrganizationId")); result.setRequestId(_ctx.stringValue("CreateFabricOrganizationResponse.Result.RequestId")); result.setZoneId(_ctx.stringValue("CreateFabricOrganizationResponse.Result.ZoneId")); result.setUserCount(_ctx.integerValue("CreateFabricOrganizationResponse.Result.UserCount")); result.setOrganizationName(_ctx.stringValue("CreateFabricOrganizationResponse.Result.OrganizationName")); createFabricOrganizationResponse.setResult(result); return createFabricOrganizationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/CreateFabricOrganizationUserResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.CreateFabricOrganizationUserResponse; import com.aliyuncs.baas.model.v20181221.CreateFabricOrganizationUserResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class CreateFabricOrganizationUserResponseUnmarshaller { public static CreateFabricOrganizationUserResponse unmarshall(CreateFabricOrganizationUserResponse createFabricOrganizationUserResponse, UnmarshallerContext _ctx) { createFabricOrganizationUserResponse.setRequestId(_ctx.stringValue("CreateFabricOrganizationUserResponse.RequestId")); createFabricOrganizationUserResponse.setSuccess(_ctx.booleanValue("CreateFabricOrganizationUserResponse.Success")); createFabricOrganizationUserResponse.setErrorCode(_ctx.integerValue("CreateFabricOrganizationUserResponse.ErrorCode")); Result result = new Result(); result.setPassword(_ctx.stringValue("CreateFabricOrganizationUserResponse.Result.Password")); result.setExpireTime(_ctx.stringValue("CreateFabricOrganizationUserResponse.Result.ExpireTime")); result.setCreateTime(_ctx.stringValue("CreateFabricOrganizationUserResponse.Result.CreateTime")); result.setOrganizationId(_ctx.stringValue("CreateFabricOrganizationUserResponse.Result.OrganizationId")); result.setUsername(_ctx.stringValue("CreateFabricOrganizationUserResponse.Result.Username")); result.setFullname(_ctx.stringValue("CreateFabricOrganizationUserResponse.Result.Fullname")); createFabricOrganizationUserResponse.setResult(result); return createFabricOrganizationUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DeleteAntChainConsortiumResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DeleteAntChainConsortiumResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAntChainConsortiumResponseUnmarshaller { public static DeleteAntChainConsortiumResponse unmarshall(DeleteAntChainConsortiumResponse deleteAntChainConsortiumResponse, UnmarshallerContext _ctx) { deleteAntChainConsortiumResponse.setRequestId(_ctx.stringValue("DeleteAntChainConsortiumResponse.RequestId")); deleteAntChainConsortiumResponse.setResult(_ctx.stringValue("DeleteAntChainConsortiumResponse.Result")); return deleteAntChainConsortiumResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DeleteAntChainContractContentResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DeleteAntChainContractContentResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAntChainContractContentResponseUnmarshaller { public static DeleteAntChainContractContentResponse unmarshall(DeleteAntChainContractContentResponse deleteAntChainContractContentResponse, UnmarshallerContext _ctx) { deleteAntChainContractContentResponse.setRequestId(_ctx.stringValue("DeleteAntChainContractContentResponse.RequestId")); deleteAntChainContractContentResponse.setResult(_ctx.stringValue("DeleteAntChainContractContentResponse.Result")); return deleteAntChainContractContentResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DeleteAntChainContractProjectResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DeleteAntChainContractProjectResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAntChainContractProjectResponseUnmarshaller { public static DeleteAntChainContractProjectResponse unmarshall(DeleteAntChainContractProjectResponse deleteAntChainContractProjectResponse, UnmarshallerContext _ctx) { deleteAntChainContractProjectResponse.setRequestId(_ctx.stringValue("DeleteAntChainContractProjectResponse.RequestId")); deleteAntChainContractProjectResponse.setResult(_ctx.stringValue("DeleteAntChainContractProjectResponse.Result")); return deleteAntChainContractProjectResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DeleteAntChainMiniAppQRCodeAuthorizedUserResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DeleteAntChainMiniAppQRCodeAuthorizedUserResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAntChainMiniAppQRCodeAuthorizedUserResponseUnmarshaller { public static DeleteAntChainMiniAppQRCodeAuthorizedUserResponse unmarshall(DeleteAntChainMiniAppQRCodeAuthorizedUserResponse deleteAntChainMiniAppQRCodeAuthorizedUserResponse, UnmarshallerContext _ctx) { deleteAntChainMiniAppQRCodeAuthorizedUserResponse.setRequestId(_ctx.stringValue("DeleteAntChainMiniAppQRCodeAuthorizedUserResponse.RequestId")); deleteAntChainMiniAppQRCodeAuthorizedUserResponse.setResult(_ctx.stringValue("DeleteAntChainMiniAppQRCodeAuthorizedUserResponse.Result")); return deleteAntChainMiniAppQRCodeAuthorizedUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DeleteFabricChaincodeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DeleteFabricChaincodeResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteFabricChaincodeResponseUnmarshaller { public static DeleteFabricChaincodeResponse unmarshall(DeleteFabricChaincodeResponse deleteFabricChaincodeResponse, UnmarshallerContext _ctx) { deleteFabricChaincodeResponse.setRequestId(_ctx.stringValue("DeleteFabricChaincodeResponse.RequestId")); deleteFabricChaincodeResponse.setSuccess(_ctx.booleanValue("DeleteFabricChaincodeResponse.Success")); deleteFabricChaincodeResponse.setErrorCode(_ctx.integerValue("DeleteFabricChaincodeResponse.ErrorCode")); return deleteFabricChaincodeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainAccountsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsResponse.Result.AccountsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainAccountsResponseUnmarshaller { public static DescribeAntChainAccountsResponse unmarshall(DescribeAntChainAccountsResponse describeAntChainAccountsResponse, UnmarshallerContext _ctx) { describeAntChainAccountsResponse.setRequestId(_ctx.stringValue("DescribeAntChainAccountsResponse.RequestId")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainAccountsResponse.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainAccountsResponse.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainAccountsResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AccountsItem> accounts = new ArrayList<AccountsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainAccountsResponse.Result.Accounts.Length"); i++) { AccountsItem accountsItem = new AccountsItem(); accountsItem.setAccountPublicKey(_ctx.stringValue("DescribeAntChainAccountsResponse.Result.Accounts["+ i +"].AccountPublicKey")); accountsItem.setAccount(_ctx.stringValue("DescribeAntChainAccountsResponse.Result.Accounts["+ i +"].Account")); accountsItem.setAccountRecoveryKey(_ctx.stringValue("DescribeAntChainAccountsResponse.Result.Accounts["+ i +"].AccountRecoveryKey")); accountsItem.setAccountStatus(_ctx.stringValue("DescribeAntChainAccountsResponse.Result.Accounts["+ i +"].AccountStatus")); accountsItem.setAntChainId(_ctx.stringValue("DescribeAntChainAccountsResponse.Result.Accounts["+ i +"].AntChainId")); accounts.add(accountsItem); } result.setAccounts(accounts); describeAntChainAccountsResponse.setResult(result); return describeAntChainAccountsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainAccountsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsV2Response.Result.AccountsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainAccountsV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainAccountsV2ResponseUnmarshaller { public static DescribeAntChainAccountsV2Response unmarshall(DescribeAntChainAccountsV2Response describeAntChainAccountsV2Response, UnmarshallerContext _ctx) { describeAntChainAccountsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainAccountsV2Response.RequestId")); describeAntChainAccountsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainAccountsV2Response.HttpStatusCode")); describeAntChainAccountsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainAccountsV2Response.Success")); describeAntChainAccountsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainAccountsV2Response.ResultMessage")); describeAntChainAccountsV2Response.setCode(_ctx.stringValue("DescribeAntChainAccountsV2Response.Code")); describeAntChainAccountsV2Response.setMessage(_ctx.stringValue("DescribeAntChainAccountsV2Response.Message")); describeAntChainAccountsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainAccountsV2Response.ResultCode")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainAccountsV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainAccountsV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainAccountsV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AccountsItem> accounts = new ArrayList<AccountsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainAccountsV2Response.Result.Accounts.Length"); i++) { AccountsItem accountsItem = new AccountsItem(); accountsItem.setAccountPublicKey(_ctx.stringValue("DescribeAntChainAccountsV2Response.Result.Accounts["+ i +"].AccountPublicKey")); accountsItem.setAccount(_ctx.stringValue("DescribeAntChainAccountsV2Response.Result.Accounts["+ i +"].Account")); accountsItem.setAccountRecoveryKey(_ctx.stringValue("DescribeAntChainAccountsV2Response.Result.Accounts["+ i +"].AccountRecoveryKey")); accountsItem.setAccountStatus(_ctx.stringValue("DescribeAntChainAccountsV2Response.Result.Accounts["+ i +"].AccountStatus")); accountsItem.setAntChainId(_ctx.stringValue("DescribeAntChainAccountsV2Response.Result.Accounts["+ i +"].AntChainId")); accounts.add(accountsItem); } result.setAccounts(accounts); describeAntChainAccountsV2Response.setResult(result); return describeAntChainAccountsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainBlockResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainBlockResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainBlockResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainBlockResponseUnmarshaller { public static DescribeAntChainBlockResponse unmarshall(DescribeAntChainBlockResponse describeAntChainBlockResponse, UnmarshallerContext _ctx) { describeAntChainBlockResponse.setRequestId(_ctx.stringValue("DescribeAntChainBlockResponse.RequestId")); Result result = new Result(); result.setPreviousHash(_ctx.stringValue("DescribeAntChainBlockResponse.Result.PreviousHash")); result.setVersion(_ctx.longValue("DescribeAntChainBlockResponse.Result.Version")); result.setTransactionSize(_ctx.integerValue("DescribeAntChainBlockResponse.Result.TransactionSize")); result.setCreateTime(_ctx.longValue("DescribeAntChainBlockResponse.Result.CreateTime")); result.setRootTxHash(_ctx.stringValue("DescribeAntChainBlockResponse.Result.RootTxHash")); result.setHeight(_ctx.integerValue("DescribeAntChainBlockResponse.Result.Height")); result.setBlockHash(_ctx.stringValue("DescribeAntChainBlockResponse.Result.BlockHash")); result.setAntChainId(_ctx.stringValue("DescribeAntChainBlockResponse.Result.AntChainId")); result.setTransSummaryList(_ctx.stringValue("DescribeAntChainBlockResponse.Result.TransSummaryList")); describeAntChainBlockResponse.setResult(result); return describeAntChainBlockResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainBlockV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainBlockV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainBlockV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainBlockV2Response.Result.TransSummaryListItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainBlockV2ResponseUnmarshaller { public static DescribeAntChainBlockV2Response unmarshall(DescribeAntChainBlockV2Response describeAntChainBlockV2Response, UnmarshallerContext _ctx) { describeAntChainBlockV2Response.setRequestId(_ctx.stringValue("DescribeAntChainBlockV2Response.RequestId")); describeAntChainBlockV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainBlockV2Response.HttpStatusCode")); describeAntChainBlockV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainBlockV2Response.Success")); describeAntChainBlockV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainBlockV2Response.ResultMessage")); describeAntChainBlockV2Response.setCode(_ctx.stringValue("DescribeAntChainBlockV2Response.Code")); describeAntChainBlockV2Response.setMessage(_ctx.stringValue("DescribeAntChainBlockV2Response.Message")); describeAntChainBlockV2Response.setResultCode(_ctx.stringValue("DescribeAntChainBlockV2Response.ResultCode")); Result result = new Result(); result.setPreviousHash(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.PreviousHash")); result.setVersion(_ctx.longValue("DescribeAntChainBlockV2Response.Result.Version")); result.setRootTxHash(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.RootTxHash")); result.setCreateTime(_ctx.longValue("DescribeAntChainBlockV2Response.Result.CreateTime")); result.setTransactionSize(_ctx.integerValue("DescribeAntChainBlockV2Response.Result.TransactionSize")); result.setHeight(_ctx.integerValue("DescribeAntChainBlockV2Response.Result.Height")); result.setBlockHash(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.BlockHash")); result.setAntChainId(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.AntChainId")); List<TransSummaryListItem> transSummaryList = new ArrayList<TransSummaryListItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainBlockV2Response.Result.TransSummaryList.Length"); i++) { TransSummaryListItem transSummaryListItem = new TransSummaryListItem(); transSummaryListItem.setHash(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].Hash")); transSummaryListItem.setFrom(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].From")); transSummaryListItem.setTransTypeV10(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].TransTypeV10")); transSummaryListItem.setCreateTime(_ctx.longValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].CreateTime")); transSummaryListItem.setTransTypeV6(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].TransTypeV6")); transSummaryListItem.setHeight(_ctx.longValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].Height")); transSummaryListItem.setTo(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].To")); transSummaryListItem.setGasUsed(_ctx.longValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].GasUsed")); transSummaryListItem.setBlockHash(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].BlockHash")); transSummaryListItem.setReferenceCount(_ctx.integerValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].ReferenceCount")); transSummaryListItem.setCategory(_ctx.integerValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].Category")); transSummaryListItem.setAlias(_ctx.stringValue("DescribeAntChainBlockV2Response.Result.TransSummaryList["+ i +"].Alias")); transSummaryList.add(transSummaryListItem); } result.setTransSummaryList(transSummaryList); describeAntChainBlockV2Response.setResult(result); return describeAntChainBlockV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainCertificateApplicationsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplicationsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainCertificateApplicationsResponseUnmarshaller { public static DescribeAntChainCertificateApplicationsResponse unmarshall(DescribeAntChainCertificateApplicationsResponse describeAntChainCertificateApplicationsResponse, UnmarshallerContext _ctx) { describeAntChainCertificateApplicationsResponse.setRequestId(_ctx.stringValue("DescribeAntChainCertificateApplicationsResponse.RequestId")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainCertificateApplicationsResponse.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainCertificateApplicationsResponse.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainCertificateApplicationsResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<CertificateApplicationsItem> certificateApplications = new ArrayList<CertificateApplicationsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications.Length"); i++) { CertificateApplicationsItem certificateApplicationsItem = new CertificateApplicationsItem(); certificateApplicationsItem.setStatus(_ctx.stringValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications["+ i +"].Status")); certificateApplicationsItem.setUpdatetime(_ctx.longValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications["+ i +"].Updatetime")); certificateApplicationsItem.setCreatetime(_ctx.longValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications["+ i +"].Createtime")); certificateApplicationsItem.setBid(_ctx.stringValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications["+ i +"].Bid")); certificateApplicationsItem.setAntChainId(_ctx.stringValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications["+ i +"].AntChainId")); certificateApplicationsItem.setUsername(_ctx.stringValue("DescribeAntChainCertificateApplicationsResponse.Result.CertificateApplications["+ i +"].Username")); certificateApplications.add(certificateApplicationsItem); } result.setCertificateApplications(certificateApplications); describeAntChainCertificateApplicationsResponse.setResult(result); return describeAntChainCertificateApplicationsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainCertificateApplicationsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplicationsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainCertificateApplicationsV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainCertificateApplicationsV2ResponseUnmarshaller { public static DescribeAntChainCertificateApplicationsV2Response unmarshall(DescribeAntChainCertificateApplicationsV2Response describeAntChainCertificateApplicationsV2Response, UnmarshallerContext _ctx) { describeAntChainCertificateApplicationsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.RequestId")); describeAntChainCertificateApplicationsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.HttpStatusCode")); describeAntChainCertificateApplicationsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainCertificateApplicationsV2Response.Success")); describeAntChainCertificateApplicationsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.ResultMessage")); describeAntChainCertificateApplicationsV2Response.setCode(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.Code")); describeAntChainCertificateApplicationsV2Response.setMessage(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.Message")); describeAntChainCertificateApplicationsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.ResultCode")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainCertificateApplicationsV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainCertificateApplicationsV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainCertificateApplicationsV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<CertificateApplicationsItem> certificateApplications = new ArrayList<CertificateApplicationsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications.Length"); i++) { CertificateApplicationsItem certificateApplicationsItem = new CertificateApplicationsItem(); certificateApplicationsItem.setStatus(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications["+ i +"].Status")); certificateApplicationsItem.setUpdatetime(_ctx.longValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications["+ i +"].Updatetime")); certificateApplicationsItem.setCreatetime(_ctx.longValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications["+ i +"].Createtime")); certificateApplicationsItem.setBid(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications["+ i +"].Bid")); certificateApplicationsItem.setAntChainId(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications["+ i +"].AntChainId")); certificateApplicationsItem.setUsername(_ctx.stringValue("DescribeAntChainCertificateApplicationsV2Response.Result.CertificateApplications["+ i +"].Username")); certificateApplications.add(certificateApplicationsItem); } result.setCertificateApplications(certificateApplications); describeAntChainCertificateApplicationsV2Response.setResult(result); return describeAntChainCertificateApplicationsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainConsortiumsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsResponse.Result.AntConsortiumsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainConsortiumsResponseUnmarshaller { public static DescribeAntChainConsortiumsResponse unmarshall(DescribeAntChainConsortiumsResponse describeAntChainConsortiumsResponse, UnmarshallerContext _ctx) { describeAntChainConsortiumsResponse.setRequestId(_ctx.stringValue("DescribeAntChainConsortiumsResponse.RequestId")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainConsortiumsResponse.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainConsortiumsResponse.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainConsortiumsResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AntConsortiumsItem> antConsortiums = new ArrayList<AntConsortiumsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums.Length"); i++) { AntConsortiumsItem antConsortiumsItem = new AntConsortiumsItem(); antConsortiumsItem.setConsortiumDescription(_ctx.stringValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].ConsortiumDescription")); antConsortiumsItem.setStatus(_ctx.stringValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].Status")); antConsortiumsItem.setConsortiumId(_ctx.stringValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].ConsortiumId")); antConsortiumsItem.setCreateTime(_ctx.longValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].CreateTime")); antConsortiumsItem.setMemberNum(_ctx.longValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].MemberNum")); antConsortiumsItem.setRole(_ctx.stringValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].Role")); antConsortiumsItem.setConsortiumName(_ctx.stringValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].ConsortiumName")); antConsortiumsItem.setChainNum(_ctx.longValue("DescribeAntChainConsortiumsResponse.Result.AntConsortiums["+ i +"].ChainNum")); antConsortiums.add(antConsortiumsItem); } result.setAntConsortiums(antConsortiums); describeAntChainConsortiumsResponse.setResult(result); return describeAntChainConsortiumsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainConsortiumsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsV2Response.Result.AntConsortiumsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainConsortiumsV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainConsortiumsV2ResponseUnmarshaller { public static DescribeAntChainConsortiumsV2Response unmarshall(DescribeAntChainConsortiumsV2Response describeAntChainConsortiumsV2Response, UnmarshallerContext _ctx) { describeAntChainConsortiumsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.RequestId")); describeAntChainConsortiumsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.HttpStatusCode")); describeAntChainConsortiumsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainConsortiumsV2Response.Success")); describeAntChainConsortiumsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.ResultMessage")); describeAntChainConsortiumsV2Response.setCode(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Code")); describeAntChainConsortiumsV2Response.setMessage(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Message")); describeAntChainConsortiumsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.ResultCode")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainConsortiumsV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainConsortiumsV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainConsortiumsV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AntConsortiumsItem> antConsortiums = new ArrayList<AntConsortiumsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums.Length"); i++) { AntConsortiumsItem antConsortiumsItem = new AntConsortiumsItem(); antConsortiumsItem.setConsortiumDescription(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].ConsortiumDescription")); antConsortiumsItem.setStatus(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].Status")); antConsortiumsItem.setIsEmptyConsortium(_ctx.booleanValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].IsEmptyConsortium")); antConsortiumsItem.setConsortiumId(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].ConsortiumId")); antConsortiumsItem.setCreateTime(_ctx.longValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].CreateTime")); antConsortiumsItem.setMemberNum(_ctx.longValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].MemberNum")); antConsortiumsItem.setRole(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].Role")); antConsortiumsItem.setConsortiumName(_ctx.stringValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].ConsortiumName")); antConsortiumsItem.setChainNum(_ctx.longValue("DescribeAntChainConsortiumsV2Response.Result.AntConsortiums["+ i +"].ChainNum")); antConsortiums.add(antConsortiumsItem); } result.setAntConsortiums(antConsortiums); describeAntChainConsortiumsV2Response.setResult(result); return describeAntChainConsortiumsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainContractProjectContentTreeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectContentTreeResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectContentTreeResponse.Result; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainContractProjectContentTreeResponseUnmarshaller { public static DescribeAntChainContractProjectContentTreeResponse unmarshall(DescribeAntChainContractProjectContentTreeResponse describeAntChainContractProjectContentTreeResponse, UnmarshallerContext _ctx) { describeAntChainContractProjectContentTreeResponse.setRequestId(_ctx.stringValue("DescribeAntChainContractProjectContentTreeResponse.RequestId")); Result result = new Result(); result.setProjectVersion(_ctx.stringValue("DescribeAntChainContractProjectContentTreeResponse.Result.ProjectVersion")); result.setProjectDescription(_ctx.stringValue("DescribeAntChainContractProjectContentTreeResponse.Result.ProjectDescription")); result.setProjectId(_ctx.stringValue("DescribeAntChainContractProjectContentTreeResponse.Result.ProjectId")); result.setProjectName(_ctx.stringValue("DescribeAntChainContractProjectContentTreeResponse.Result.ProjectName")); List<Map<Object, Object>> children = _ctx.listMapValue("DescribeAntChainContractProjectContentTreeResponse.Result.Children"); result.setChildren(children); describeAntChainContractProjectContentTreeResponse.setResult(result); return describeAntChainContractProjectContentTreeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainContractProjectContentTreeV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectContentTreeV2Response; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainContractProjectContentTreeV2ResponseUnmarshaller { public static DescribeAntChainContractProjectContentTreeV2Response unmarshall(DescribeAntChainContractProjectContentTreeV2Response describeAntChainContractProjectContentTreeV2Response, UnmarshallerContext _ctx) { describeAntChainContractProjectContentTreeV2Response.setRequestId(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.RequestId")); describeAntChainContractProjectContentTreeV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.HttpStatusCode")); describeAntChainContractProjectContentTreeV2Response.setResult(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.Result")); describeAntChainContractProjectContentTreeV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainContractProjectContentTreeV2Response.Success")); describeAntChainContractProjectContentTreeV2Response.setCode(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.Code")); describeAntChainContractProjectContentTreeV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.ResultMessage")); describeAntChainContractProjectContentTreeV2Response.setMessage(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.Message")); describeAntChainContractProjectContentTreeV2Response.setResultCode(_ctx.stringValue("DescribeAntChainContractProjectContentTreeV2Response.ResultCode")); return describeAntChainContractProjectContentTreeV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainContractProjectsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsResponse.Result.ContractProjectsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainContractProjectsResponseUnmarshaller { public static DescribeAntChainContractProjectsResponse unmarshall(DescribeAntChainContractProjectsResponse describeAntChainContractProjectsResponse, UnmarshallerContext _ctx) { describeAntChainContractProjectsResponse.setRequestId(_ctx.stringValue("DescribeAntChainContractProjectsResponse.RequestId")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainContractProjectsResponse.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainContractProjectsResponse.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainContractProjectsResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<ContractProjectsItem> contractProjects = new ArrayList<ContractProjectsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects.Length"); i++) { ContractProjectsItem contractProjectsItem = new ContractProjectsItem(); contractProjectsItem.setUpdateTime(_ctx.longValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].UpdateTime")); contractProjectsItem.setConsortiumId(_ctx.stringValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].ConsortiumId")); contractProjectsItem.setCreateTime(_ctx.longValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].CreateTime")); contractProjectsItem.setProjectId(_ctx.stringValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].ProjectId")); contractProjectsItem.setProjectName(_ctx.stringValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].ProjectName")); contractProjectsItem.setProjectVersion(_ctx.stringValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].ProjectVersion")); contractProjectsItem.setProjectDescription(_ctx.stringValue("DescribeAntChainContractProjectsResponse.Result.ContractProjects["+ i +"].ProjectDescription")); contractProjects.add(contractProjectsItem); } result.setContractProjects(contractProjects); describeAntChainContractProjectsResponse.setResult(result); return describeAntChainContractProjectsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainContractProjectsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsV2Response.Result.ContractProjectsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainContractProjectsV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainContractProjectsV2ResponseUnmarshaller { public static DescribeAntChainContractProjectsV2Response unmarshall(DescribeAntChainContractProjectsV2Response describeAntChainContractProjectsV2Response, UnmarshallerContext _ctx) { describeAntChainContractProjectsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.RequestId")); describeAntChainContractProjectsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.HttpStatusCode")); describeAntChainContractProjectsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainContractProjectsV2Response.Success")); describeAntChainContractProjectsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.ResultMessage")); describeAntChainContractProjectsV2Response.setCode(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Code")); describeAntChainContractProjectsV2Response.setMessage(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Message")); describeAntChainContractProjectsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.ResultCode")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainContractProjectsV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainContractProjectsV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainContractProjectsV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<ContractProjectsItem> contractProjects = new ArrayList<ContractProjectsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects.Length"); i++) { ContractProjectsItem contractProjectsItem = new ContractProjectsItem(); contractProjectsItem.setUpdateTime(_ctx.longValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].UpdateTime")); contractProjectsItem.setConsortiumId(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].ConsortiumId")); contractProjectsItem.setCreateTime(_ctx.longValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].CreateTime")); contractProjectsItem.setProjectId(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].ProjectId")); contractProjectsItem.setProjectName(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].ProjectName")); contractProjectsItem.setProjectVersion(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].ProjectVersion")); contractProjectsItem.setProjectDescription(_ctx.stringValue("DescribeAntChainContractProjectsV2Response.Result.ContractProjects["+ i +"].ProjectDescription")); contractProjects.add(contractProjectsItem); } result.setContractProjects(contractProjects); describeAntChainContractProjectsV2Response.setResult(result); return describeAntChainContractProjectsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainDownloadPathsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainDownloadPathsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainDownloadPathsResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainDownloadPathsResponseUnmarshaller { public static DescribeAntChainDownloadPathsResponse unmarshall(DescribeAntChainDownloadPathsResponse describeAntChainDownloadPathsResponse, UnmarshallerContext _ctx) { describeAntChainDownloadPathsResponse.setRequestId(_ctx.stringValue("DescribeAntChainDownloadPathsResponse.RequestId")); Result result = new Result(); result.setSdkUrl(_ctx.stringValue("DescribeAntChainDownloadPathsResponse.Result.SdkUrl")); result.setCaCrtUrl(_ctx.stringValue("DescribeAntChainDownloadPathsResponse.Result.CaCrtUrl")); result.setClientCrtUrl(_ctx.stringValue("DescribeAntChainDownloadPathsResponse.Result.ClientCrtUrl")); result.setTrustCaUrl(_ctx.stringValue("DescribeAntChainDownloadPathsResponse.Result.TrustCaUrl")); describeAntChainDownloadPathsResponse.setResult(result); return describeAntChainDownloadPathsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainDownloadPathsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainDownloadPathsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainDownloadPathsV2Response.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainDownloadPathsV2ResponseUnmarshaller { public static DescribeAntChainDownloadPathsV2Response unmarshall(DescribeAntChainDownloadPathsV2Response describeAntChainDownloadPathsV2Response, UnmarshallerContext _ctx) { describeAntChainDownloadPathsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.RequestId")); describeAntChainDownloadPathsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.HttpStatusCode")); describeAntChainDownloadPathsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainDownloadPathsV2Response.Success")); describeAntChainDownloadPathsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.ResultMessage")); describeAntChainDownloadPathsV2Response.setCode(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.Code")); describeAntChainDownloadPathsV2Response.setMessage(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.Message")); describeAntChainDownloadPathsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.ResultCode")); Result result = new Result(); result.setSdkUrl(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.Result.SdkUrl")); result.setCaCrtUrl(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.Result.CaCrtUrl")); result.setClientCrtUrl(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.Result.ClientCrtUrl")); result.setTrustCaUrl(_ctx.stringValue("DescribeAntChainDownloadPathsV2Response.Result.TrustCaUrl")); describeAntChainDownloadPathsV2Response.setResult(result); return describeAntChainDownloadPathsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainInformationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationResponse.Result.NodeInfosItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainInformationResponseUnmarshaller { public static DescribeAntChainInformationResponse unmarshall(DescribeAntChainInformationResponse describeAntChainInformationResponse, UnmarshallerContext _ctx) { describeAntChainInformationResponse.setRequestId(_ctx.stringValue("DescribeAntChainInformationResponse.RequestId")); Result result = new Result(); result.setTransactionSum(_ctx.integerValue("DescribeAntChainInformationResponse.Result.TransactionSum")); result.setVersion(_ctx.stringValue("DescribeAntChainInformationResponse.Result.Version")); result.setBlockHeight(_ctx.integerValue("DescribeAntChainInformationResponse.Result.BlockHeight")); result.setCreateTime(_ctx.longValue("DescribeAntChainInformationResponse.Result.CreateTime")); result.setNodeNumber(_ctx.integerValue("DescribeAntChainInformationResponse.Result.NodeNumber")); result.setAbnormalNodes(_ctx.integerValue("DescribeAntChainInformationResponse.Result.AbnormalNodes")); result.setAntChainId(_ctx.stringValue("DescribeAntChainInformationResponse.Result.AntChainId")); result.setNormal(_ctx.booleanValue("DescribeAntChainInformationResponse.Result.Normal")); List<NodeInfosItem> nodeInfos = new ArrayList<NodeInfosItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainInformationResponse.Result.NodeInfos.Length"); i++) { NodeInfosItem nodeInfosItem = new NodeInfosItem(); nodeInfosItem.setStatus(_ctx.booleanValue("DescribeAntChainInformationResponse.Result.NodeInfos["+ i +"].Status")); nodeInfosItem.setNodeName(_ctx.stringValue("DescribeAntChainInformationResponse.Result.NodeInfos["+ i +"].NodeName")); nodeInfosItem.setVersion(_ctx.stringValue("DescribeAntChainInformationResponse.Result.NodeInfos["+ i +"].Version")); nodeInfosItem.setBlockHeight(_ctx.longValue("DescribeAntChainInformationResponse.Result.NodeInfos["+ i +"].BlockHeight")); nodeInfos.add(nodeInfosItem); } result.setNodeInfos(nodeInfos); describeAntChainInformationResponse.setResult(result); return describeAntChainInformationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainInformationV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationV2Response.Result.NodeInfosItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainInformationV2ResponseUnmarshaller { public static DescribeAntChainInformationV2Response unmarshall(DescribeAntChainInformationV2Response describeAntChainInformationV2Response, UnmarshallerContext _ctx) { describeAntChainInformationV2Response.setRequestId(_ctx.stringValue("DescribeAntChainInformationV2Response.RequestId")); describeAntChainInformationV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainInformationV2Response.HttpStatusCode")); describeAntChainInformationV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainInformationV2Response.Success")); describeAntChainInformationV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainInformationV2Response.ResultMessage")); describeAntChainInformationV2Response.setCode(_ctx.stringValue("DescribeAntChainInformationV2Response.Code")); describeAntChainInformationV2Response.setMessage(_ctx.stringValue("DescribeAntChainInformationV2Response.Message")); describeAntChainInformationV2Response.setResultCode(_ctx.stringValue("DescribeAntChainInformationV2Response.ResultCode")); Result result = new Result(); result.setIsRole(_ctx.booleanValue("DescribeAntChainInformationV2Response.Result.IsRole")); result.setTransactionSum(_ctx.integerValue("DescribeAntChainInformationV2Response.Result.TransactionSum")); result.setVersion(_ctx.stringValue("DescribeAntChainInformationV2Response.Result.Version")); result.setCreateTime(_ctx.longValue("DescribeAntChainInformationV2Response.Result.CreateTime")); result.setBlockHeight(_ctx.integerValue("DescribeAntChainInformationV2Response.Result.BlockHeight")); result.setNodeNumber(_ctx.integerValue("DescribeAntChainInformationV2Response.Result.NodeNumber")); result.setAbnormalNodes(_ctx.integerValue("DescribeAntChainInformationV2Response.Result.AbnormalNodes")); result.setAntChainId(_ctx.stringValue("DescribeAntChainInformationV2Response.Result.AntChainId")); result.setNormal(_ctx.booleanValue("DescribeAntChainInformationV2Response.Result.Normal")); List<NodeInfosItem> nodeInfos = new ArrayList<NodeInfosItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainInformationV2Response.Result.NodeInfos.Length"); i++) { NodeInfosItem nodeInfosItem = new NodeInfosItem(); nodeInfosItem.setStatus(_ctx.booleanValue("DescribeAntChainInformationV2Response.Result.NodeInfos["+ i +"].Status")); nodeInfosItem.setNodeName(_ctx.stringValue("DescribeAntChainInformationV2Response.Result.NodeInfos["+ i +"].NodeName")); nodeInfosItem.setVersion(_ctx.stringValue("DescribeAntChainInformationV2Response.Result.NodeInfos["+ i +"].Version")); nodeInfosItem.setBlockHeight(_ctx.longValue("DescribeAntChainInformationV2Response.Result.NodeInfos["+ i +"].BlockHeight")); nodeInfos.add(nodeInfosItem); } result.setNodeInfos(nodeInfos); describeAntChainInformationV2Response.setResult(result); return describeAntChainInformationV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainLatestBlocksResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainLatestBlocksResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainLatestBlocksResponseUnmarshaller { public static DescribeAntChainLatestBlocksResponse unmarshall(DescribeAntChainLatestBlocksResponse describeAntChainLatestBlocksResponse, UnmarshallerContext _ctx) { describeAntChainLatestBlocksResponse.setRequestId(_ctx.stringValue("DescribeAntChainLatestBlocksResponse.RequestId")); List<Map<Object, Object>> result = _ctx.listMapValue("DescribeAntChainLatestBlocksResponse.Result"); describeAntChainLatestBlocksResponse.setResult(result); return describeAntChainLatestBlocksResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainLatestBlocksV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainLatestBlocksV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainLatestBlocksV2Response.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainLatestBlocksV2ResponseUnmarshaller { public static DescribeAntChainLatestBlocksV2Response unmarshall(DescribeAntChainLatestBlocksV2Response describeAntChainLatestBlocksV2Response, UnmarshallerContext _ctx) { describeAntChainLatestBlocksV2Response.setRequestId(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.RequestId")); describeAntChainLatestBlocksV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.HttpStatusCode")); describeAntChainLatestBlocksV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainLatestBlocksV2Response.Success")); describeAntChainLatestBlocksV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.ResultMessage")); describeAntChainLatestBlocksV2Response.setCode(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Code")); describeAntChainLatestBlocksV2Response.setMessage(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Message")); describeAntChainLatestBlocksV2Response.setResultCode(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.ResultCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainLatestBlocksV2Response.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setPreviousHash(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].PreviousHash")); resultItem.setVersion(_ctx.longValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].Version")); resultItem.setTransactionSize(_ctx.longValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].TransactionSize")); resultItem.setSize(_ctx.longValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].Size")); resultItem.setRootTxHash(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].RootTxHash")); resultItem.setCreateTime(_ctx.longValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].CreateTime")); resultItem.setHeight(_ctx.longValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].Height")); resultItem.setBizData(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].BizData")); resultItem.setBlockHash(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].BlockHash")); resultItem.setAlias(_ctx.stringValue("DescribeAntChainLatestBlocksV2Response.Result["+ i +"].Alias")); result.add(resultItem); } describeAntChainLatestBlocksV2Response.setResult(result); return describeAntChainLatestBlocksV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainLatestTransactionDigestsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainLatestTransactionDigestsResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainLatestTransactionDigestsResponseUnmarshaller { public static DescribeAntChainLatestTransactionDigestsResponse unmarshall(DescribeAntChainLatestTransactionDigestsResponse describeAntChainLatestTransactionDigestsResponse, UnmarshallerContext _ctx) { describeAntChainLatestTransactionDigestsResponse.setRequestId(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsResponse.RequestId")); List<Map<Object, Object>> result = _ctx.listMapValue("DescribeAntChainLatestTransactionDigestsResponse.Result"); describeAntChainLatestTransactionDigestsResponse.setResult(result); return describeAntChainLatestTransactionDigestsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainLatestTransactionDigestsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainLatestTransactionDigestsV2Response; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainLatestTransactionDigestsV2ResponseUnmarshaller { public static DescribeAntChainLatestTransactionDigestsV2Response unmarshall(DescribeAntChainLatestTransactionDigestsV2Response describeAntChainLatestTransactionDigestsV2Response, UnmarshallerContext _ctx) { describeAntChainLatestTransactionDigestsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.RequestId")); describeAntChainLatestTransactionDigestsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.HttpStatusCode")); describeAntChainLatestTransactionDigestsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainLatestTransactionDigestsV2Response.Success")); describeAntChainLatestTransactionDigestsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.ResultMessage")); describeAntChainLatestTransactionDigestsV2Response.setCode(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.Code")); describeAntChainLatestTransactionDigestsV2Response.setMessage(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.Message")); describeAntChainLatestTransactionDigestsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.ResultCode")); List<String> result = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainLatestTransactionDigestsV2Response.Result.Length"); i++) { result.add(_ctx.stringValue("DescribeAntChainLatestTransactionDigestsV2Response.Result["+ i +"]")); } describeAntChainLatestTransactionDigestsV2Response.setResult(result); return describeAntChainLatestTransactionDigestsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMembersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersResponse.Result.MembersItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMembersResponseUnmarshaller { public static DescribeAntChainMembersResponse unmarshall(DescribeAntChainMembersResponse describeAntChainMembersResponse, UnmarshallerContext _ctx) { describeAntChainMembersResponse.setRequestId(_ctx.stringValue("DescribeAntChainMembersResponse.RequestId")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainMembersResponse.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainMembersResponse.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainMembersResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<MembersItem> members = new ArrayList<MembersItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainMembersResponse.Result.Members.Length"); i++) { MembersItem membersItem = new MembersItem(); membersItem.setStatus(_ctx.stringValue("DescribeAntChainMembersResponse.Result.Members["+ i +"].Status")); membersItem.setMemberId(_ctx.stringValue("DescribeAntChainMembersResponse.Result.Members["+ i +"].MemberId")); membersItem.setRole(_ctx.stringValue("DescribeAntChainMembersResponse.Result.Members["+ i +"].Role")); membersItem.setMemberName(_ctx.stringValue("DescribeAntChainMembersResponse.Result.Members["+ i +"].MemberName")); membersItem.setJoinTime(_ctx.longValue("DescribeAntChainMembersResponse.Result.Members["+ i +"].JoinTime")); members.add(membersItem); } result.setMembers(members); describeAntChainMembersResponse.setResult(result); return describeAntChainMembersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMembersV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersV2Response.Result.MembersItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMembersV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMembersV2ResponseUnmarshaller { public static DescribeAntChainMembersV2Response unmarshall(DescribeAntChainMembersV2Response describeAntChainMembersV2Response, UnmarshallerContext _ctx) { describeAntChainMembersV2Response.setRequestId(_ctx.stringValue("DescribeAntChainMembersV2Response.RequestId")); describeAntChainMembersV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainMembersV2Response.HttpStatusCode")); describeAntChainMembersV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainMembersV2Response.Success")); describeAntChainMembersV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainMembersV2Response.ResultMessage")); describeAntChainMembersV2Response.setCode(_ctx.stringValue("DescribeAntChainMembersV2Response.Code")); describeAntChainMembersV2Response.setMessage(_ctx.stringValue("DescribeAntChainMembersV2Response.Message")); describeAntChainMembersV2Response.setResultCode(_ctx.stringValue("DescribeAntChainMembersV2Response.ResultCode")); Result result = new Result(); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainMembersV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainMembersV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainMembersV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<MembersItem> members = new ArrayList<MembersItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainMembersV2Response.Result.Members.Length"); i++) { MembersItem membersItem = new MembersItem(); membersItem.setStatus(_ctx.stringValue("DescribeAntChainMembersV2Response.Result.Members["+ i +"].Status")); membersItem.setMemberId(_ctx.stringValue("DescribeAntChainMembersV2Response.Result.Members["+ i +"].MemberId")); membersItem.setRole(_ctx.stringValue("DescribeAntChainMembersV2Response.Result.Members["+ i +"].Role")); membersItem.setMemberName(_ctx.stringValue("DescribeAntChainMembersV2Response.Result.Members["+ i +"].MemberName")); membersItem.setJoinTime(_ctx.longValue("DescribeAntChainMembersV2Response.Result.Members["+ i +"].JoinTime")); members.add(membersItem); } result.setMembers(members); describeAntChainMembersV2Response.setResult(result); return describeAntChainMembersV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMiniAppBrowserQRCodeAccessLogResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMiniAppBrowserQRCodeAccessLogResponseUnmarshaller { public static DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse unmarshall(DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse describeAntChainMiniAppBrowserQRCodeAccessLogResponse, UnmarshallerContext _ctx) { describeAntChainMiniAppBrowserQRCodeAccessLogResponse.setRequestId(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse.RequestId")); Result result = new Result(); result.setAccessAlipayAccountCount(_ctx.longValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse.Result.AccessAlipayAccountCount")); result.setAccessCount(_ctx.longValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogResponse.Result.AccessCount")); describeAntChainMiniAppBrowserQRCodeAccessLogResponse.setResult(result); return describeAntChainMiniAppBrowserQRCodeAccessLogResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMiniAppBrowserQRCodeAccessLogV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMiniAppBrowserQRCodeAccessLogV2ResponseUnmarshaller { public static DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response unmarshall(DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response describeAntChainMiniAppBrowserQRCodeAccessLogV2Response, UnmarshallerContext _ctx) { describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setRequestId(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.RequestId")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.HttpStatusCode")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.Success")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.ResultMessage")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.Code")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setMessage(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.Message")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setResultCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.ResultCode")); Result result = new Result(); result.setAccessAlipayAccountCount(_ctx.longValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.Result.AccessAlipayAccountCount")); result.setAccessCount(_ctx.longValue("DescribeAntChainMiniAppBrowserQRCodeAccessLogV2Response.Result.AccessCount")); describeAntChainMiniAppBrowserQRCodeAccessLogV2Response.setResult(result); return describeAntChainMiniAppBrowserQRCodeAccessLogV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.AuthorizedUserListItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponseUnmarshaller { public static DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse unmarshall(DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse describeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse, UnmarshallerContext _ctx) { describeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.setRequestId(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.RequestId")); Result result = new Result(); result.setQRCodeType(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.QRCodeType")); result.setAuthorizationType(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.AuthorizationType")); result.setAntChainId(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.AntChainId")); Pagination pagination = new Pagination(); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.Pagination.PageNumber")); pagination.setPageSize(_ctx.integerValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.Pagination.PageSize")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AuthorizedUserListItem> authorizedUserList = new ArrayList<AuthorizedUserListItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.AuthorizedUserList.Length"); i++) { AuthorizedUserListItem authorizedUserListItem = new AuthorizedUserListItem(); authorizedUserListItem.setGmtAuthorized(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.AuthorizedUserList["+ i +"].GmtAuthorized")); authorizedUserListItem.setPhone(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.Result.AuthorizedUserList["+ i +"].Phone")); authorizedUserList.add(authorizedUserListItem); } result.setAuthorizedUserList(authorizedUserList); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse.setResult(result); return describeAntChainMiniAppBrowserQRCodeAuthorizedUsersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.AuthorizedUserListItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2ResponseUnmarshaller { public static DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response unmarshall(DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response, UnmarshallerContext _ctx) { describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setRequestId(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.RequestId")); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.HttpStatusCode")); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Success")); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.ResultMessage")); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Code")); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setMessage(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Message")); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setResultCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.ResultCode")); Result result = new Result(); result.setQRCodeType(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.QRCodeType")); result.setAuthorizationType(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.AuthorizationType")); result.setAntChainId(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.AntChainId")); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AuthorizedUserListItem> authorizedUserList = new ArrayList<AuthorizedUserListItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.AuthorizedUserList.Length"); i++) { AuthorizedUserListItem authorizedUserListItem = new AuthorizedUserListItem(); authorizedUserListItem.setGmtAuthorized(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.AuthorizedUserList["+ i +"].GmtAuthorized")); authorizedUserListItem.setPhone(_ctx.stringValue("DescribeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.Result.AuthorizedUserList["+ i +"].Phone")); authorizedUserList.add(authorizedUserListItem); } result.setAuthorizedUserList(authorizedUserList); describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response.setResult(result); return describeAntChainMiniAppBrowserQRCodeAuthorizedUsersV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponseUnmarshaller { public static DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse unmarshall(DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse describeAntChainMiniAppBrowserTransactionQRCodeNewResponse, UnmarshallerContext _ctx) { describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setRequestId(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.RequestId")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setHttpStatusCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.HttpStatusCode")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setSuccess(_ctx.booleanValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Success")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setResultMessage(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.ResultMessage")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Code")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setMessage(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Message")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setResultCode(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.ResultCode")); Result result = new Result(); result.setBase64QRCodePNG(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Result.Base64QRCodePNG")); result.setQRCodeContent(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Result.QRCodeContent")); result.setTransactionHash(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Result.TransactionHash")); result.setAntChainId(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeNewResponse.Result.AntChainId")); describeAntChainMiniAppBrowserTransactionQRCodeNewResponse.setResult(result); return describeAntChainMiniAppBrowserTransactionQRCodeNewResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainMiniAppBrowserTransactionQRCodeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserTransactionQRCodeResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainMiniAppBrowserTransactionQRCodeResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainMiniAppBrowserTransactionQRCodeResponseUnmarshaller { public static DescribeAntChainMiniAppBrowserTransactionQRCodeResponse unmarshall(DescribeAntChainMiniAppBrowserTransactionQRCodeResponse describeAntChainMiniAppBrowserTransactionQRCodeResponse, UnmarshallerContext _ctx) { describeAntChainMiniAppBrowserTransactionQRCodeResponse.setRequestId(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeResponse.RequestId")); Result result = new Result(); result.setBase64QRCodePNG(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeResponse.Result.Base64QRCodePNG")); result.setTransactionHash(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeResponse.Result.TransactionHash")); result.setQRCodeContent(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeResponse.Result.QRCodeContent")); result.setAntChainId(_ctx.stringValue("DescribeAntChainMiniAppBrowserTransactionQRCodeResponse.Result.AntChainId")); describeAntChainMiniAppBrowserTransactionQRCodeResponse.setResult(result); return describeAntChainMiniAppBrowserTransactionQRCodeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainNodesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainNodesResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainNodesResponseUnmarshaller { public static DescribeAntChainNodesResponse unmarshall(DescribeAntChainNodesResponse describeAntChainNodesResponse, UnmarshallerContext _ctx) { describeAntChainNodesResponse.setRequestId(_ctx.stringValue("DescribeAntChainNodesResponse.RequestId")); List<Map<Object, Object>> result = _ctx.listMapValue("DescribeAntChainNodesResponse.Result"); describeAntChainNodesResponse.setResult(result); return describeAntChainNodesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainNodesV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainNodesV2Response; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainNodesV2ResponseUnmarshaller { public static DescribeAntChainNodesV2Response unmarshall(DescribeAntChainNodesV2Response describeAntChainNodesV2Response, UnmarshallerContext _ctx) { describeAntChainNodesV2Response.setRequestId(_ctx.stringValue("DescribeAntChainNodesV2Response.RequestId")); describeAntChainNodesV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainNodesV2Response.HttpStatusCode")); describeAntChainNodesV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainNodesV2Response.Success")); describeAntChainNodesV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainNodesV2Response.ResultMessage")); describeAntChainNodesV2Response.setCode(_ctx.stringValue("DescribeAntChainNodesV2Response.Code")); describeAntChainNodesV2Response.setMessage(_ctx.stringValue("DescribeAntChainNodesV2Response.Message")); describeAntChainNodesV2Response.setResultCode(_ctx.stringValue("DescribeAntChainNodesV2Response.ResultCode")); List<String> result = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainNodesV2Response.Result.Length"); i++) { result.add(_ctx.stringValue("DescribeAntChainNodesV2Response.Result["+ i +"]")); } describeAntChainNodesV2Response.setResult(result); return describeAntChainNodesV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainQRCodeAuthorizationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainQRCodeAuthorizationResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainQRCodeAuthorizationResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainQRCodeAuthorizationResponseUnmarshaller { public static DescribeAntChainQRCodeAuthorizationResponse unmarshall(DescribeAntChainQRCodeAuthorizationResponse describeAntChainQRCodeAuthorizationResponse, UnmarshallerContext _ctx) { describeAntChainQRCodeAuthorizationResponse.setRequestId(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationResponse.RequestId")); Result result = new Result(); result.setQRCodeType(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationResponse.Result.QRCodeType")); result.setAuthorizationType(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationResponse.Result.AuthorizationType")); result.setAntChainId(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationResponse.Result.AntChainId")); describeAntChainQRCodeAuthorizationResponse.setResult(result); return describeAntChainQRCodeAuthorizationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainQRCodeAuthorizationV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeAntChainQRCodeAuthorizationV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainQRCodeAuthorizationV2Response.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainQRCodeAuthorizationV2ResponseUnmarshaller { public static DescribeAntChainQRCodeAuthorizationV2Response unmarshall(DescribeAntChainQRCodeAuthorizationV2Response describeAntChainQRCodeAuthorizationV2Response, UnmarshallerContext _ctx) { describeAntChainQRCodeAuthorizationV2Response.setRequestId(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.RequestId")); describeAntChainQRCodeAuthorizationV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.HttpStatusCode")); describeAntChainQRCodeAuthorizationV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainQRCodeAuthorizationV2Response.Success")); describeAntChainQRCodeAuthorizationV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.ResultMessage")); describeAntChainQRCodeAuthorizationV2Response.setCode(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.Code")); describeAntChainQRCodeAuthorizationV2Response.setMessage(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.Message")); describeAntChainQRCodeAuthorizationV2Response.setResultCode(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.ResultCode")); Result result = new Result(); result.setQRCodeType(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.Result.QRCodeType")); result.setAuthorizationType(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.Result.AuthorizationType")); result.setAntChainId(_ctx.stringValue("DescribeAntChainQRCodeAuthorizationV2Response.Result.AntChainId")); describeAntChainQRCodeAuthorizationV2Response.setResult(result); return describeAntChainQRCodeAuthorizationV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainTransactionReceiptResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionReceiptResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionReceiptResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainTransactionReceiptResponseUnmarshaller { public static DescribeAntChainTransactionReceiptResponse unmarshall(DescribeAntChainTransactionReceiptResponse describeAntChainTransactionReceiptResponse, UnmarshallerContext _ctx) { describeAntChainTransactionReceiptResponse.setRequestId(_ctx.stringValue("DescribeAntChainTransactionReceiptResponse.RequestId")); Result result = new Result(); result.setData(_ctx.stringValue("DescribeAntChainTransactionReceiptResponse.Result.Data")); result.setGasUsed(_ctx.stringValue("DescribeAntChainTransactionReceiptResponse.Result.GasUsed")); result.setResult(_ctx.longValue("DescribeAntChainTransactionReceiptResponse.Result.Result")); List<String> logs = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionReceiptResponse.Result.Logs.Length"); i++) { logs.add(_ctx.stringValue("DescribeAntChainTransactionReceiptResponse.Result.Logs["+ i +"]")); } result.setLogs(logs); describeAntChainTransactionReceiptResponse.setResult(result); return describeAntChainTransactionReceiptResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainTransactionReceiptV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionReceiptV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionReceiptV2Response.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainTransactionReceiptV2ResponseUnmarshaller { public static DescribeAntChainTransactionReceiptV2Response unmarshall(DescribeAntChainTransactionReceiptV2Response describeAntChainTransactionReceiptV2Response, UnmarshallerContext _ctx) { describeAntChainTransactionReceiptV2Response.setRequestId(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.RequestId")); describeAntChainTransactionReceiptV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.HttpStatusCode")); describeAntChainTransactionReceiptV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainTransactionReceiptV2Response.Success")); describeAntChainTransactionReceiptV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.ResultMessage")); describeAntChainTransactionReceiptV2Response.setCode(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.Code")); describeAntChainTransactionReceiptV2Response.setMessage(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.Message")); describeAntChainTransactionReceiptV2Response.setResultCode(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.ResultCode")); Result result = new Result(); result.setData(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.Result.Data")); result.setGasUsed(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.Result.GasUsed")); result.setResult(_ctx.longValue("DescribeAntChainTransactionReceiptV2Response.Result.Result")); List<String> logs = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionReceiptV2Response.Result.Logs.Length"); i++) { logs.add(_ctx.stringValue("DescribeAntChainTransactionReceiptV2Response.Result.Logs["+ i +"]")); } result.setLogs(logs); describeAntChainTransactionReceiptV2Response.setResult(result); return describeAntChainTransactionReceiptV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainTransactionResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionResponse.Result.Transaction; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainTransactionResponseUnmarshaller { public static DescribeAntChainTransactionResponse unmarshall(DescribeAntChainTransactionResponse describeAntChainTransactionResponse, UnmarshallerContext _ctx) { describeAntChainTransactionResponse.setRequestId(_ctx.stringValue("DescribeAntChainTransactionResponse.RequestId")); Result result = new Result(); result.setHash(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Hash")); result.setBlockHash(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.BlockHash")); result.setBlockVersion(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.BlockVersion")); result.setBlockHeight(_ctx.longValue("DescribeAntChainTransactionResponse.Result.BlockHeight")); result.setCreateTime(_ctx.longValue("DescribeAntChainTransactionResponse.Result.CreateTime")); Transaction transaction = new Transaction(); transaction.setHash(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Hash")); transaction.setValue(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Value")); transaction.setFrom(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.From")); transaction.setData(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Data")); transaction.setNonce(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Nonce")); transaction.setTo(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.To")); transaction.setTimestamp(_ctx.longValue("DescribeAntChainTransactionResponse.Result.Transaction.Timestamp")); transaction.setGas(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Gas")); transaction.setTxType(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.TxType")); transaction.setPeriod(_ctx.longValue("DescribeAntChainTransactionResponse.Result.Transaction.Period")); List<String> extentions = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionResponse.Result.Transaction.Extentions.Length"); i++) { extentions.add(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Extentions["+ i +"]")); } transaction.setExtentions(extentions); List<String> signatures = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionResponse.Result.Transaction.Signatures.Length"); i++) { signatures.add(_ctx.stringValue("DescribeAntChainTransactionResponse.Result.Transaction.Signatures["+ i +"]")); } transaction.setSignatures(signatures); result.setTransaction(transaction); describeAntChainTransactionResponse.setResult(result); return describeAntChainTransactionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainTransactionStatisticsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionStatisticsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionStatisticsResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainTransactionStatisticsResponseUnmarshaller { public static DescribeAntChainTransactionStatisticsResponse unmarshall(DescribeAntChainTransactionStatisticsResponse describeAntChainTransactionStatisticsResponse, UnmarshallerContext _ctx) { describeAntChainTransactionStatisticsResponse.setRequestId(_ctx.stringValue("DescribeAntChainTransactionStatisticsResponse.RequestId")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionStatisticsResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setDt(_ctx.stringValue("DescribeAntChainTransactionStatisticsResponse.Result["+ i +"].Dt")); resultItem.setCreatTime(_ctx.longValue("DescribeAntChainTransactionStatisticsResponse.Result["+ i +"].CreatTime")); resultItem.setLastSumBlockHeight(_ctx.longValue("DescribeAntChainTransactionStatisticsResponse.Result["+ i +"].LastSumBlockHeight")); resultItem.setTransCount(_ctx.longValue("DescribeAntChainTransactionStatisticsResponse.Result["+ i +"].TransCount")); resultItem.setAntChainId(_ctx.stringValue("DescribeAntChainTransactionStatisticsResponse.Result["+ i +"].AntChainId")); result.add(resultItem); } describeAntChainTransactionStatisticsResponse.setResult(result); return describeAntChainTransactionStatisticsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainTransactionStatisticsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionStatisticsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionStatisticsV2Response.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainTransactionStatisticsV2ResponseUnmarshaller { public static DescribeAntChainTransactionStatisticsV2Response unmarshall(DescribeAntChainTransactionStatisticsV2Response describeAntChainTransactionStatisticsV2Response, UnmarshallerContext _ctx) { describeAntChainTransactionStatisticsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.RequestId")); describeAntChainTransactionStatisticsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.HttpStatusCode")); describeAntChainTransactionStatisticsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainTransactionStatisticsV2Response.Success")); describeAntChainTransactionStatisticsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.ResultMessage")); describeAntChainTransactionStatisticsV2Response.setCode(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.Code")); describeAntChainTransactionStatisticsV2Response.setMessage(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.Message")); describeAntChainTransactionStatisticsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.ResultCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionStatisticsV2Response.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setDt(_ctx.longValue("DescribeAntChainTransactionStatisticsV2Response.Result["+ i +"].Dt")); resultItem.setCreatTime(_ctx.longValue("DescribeAntChainTransactionStatisticsV2Response.Result["+ i +"].CreatTime")); resultItem.setLastSumBlockHeight(_ctx.longValue("DescribeAntChainTransactionStatisticsV2Response.Result["+ i +"].LastSumBlockHeight")); resultItem.setTransCount(_ctx.longValue("DescribeAntChainTransactionStatisticsV2Response.Result["+ i +"].TransCount")); resultItem.setAntChainId(_ctx.stringValue("DescribeAntChainTransactionStatisticsV2Response.Result["+ i +"].AntChainId")); result.add(resultItem); } describeAntChainTransactionStatisticsV2Response.setResult(result); return describeAntChainTransactionStatisticsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainTransactionV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainTransactionV2Response.Result.Transaction; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainTransactionV2ResponseUnmarshaller { public static DescribeAntChainTransactionV2Response unmarshall(DescribeAntChainTransactionV2Response describeAntChainTransactionV2Response, UnmarshallerContext _ctx) { describeAntChainTransactionV2Response.setRequestId(_ctx.stringValue("DescribeAntChainTransactionV2Response.RequestId")); describeAntChainTransactionV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainTransactionV2Response.HttpStatusCode")); describeAntChainTransactionV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainTransactionV2Response.Success")); describeAntChainTransactionV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainTransactionV2Response.ResultMessage")); describeAntChainTransactionV2Response.setCode(_ctx.stringValue("DescribeAntChainTransactionV2Response.Code")); describeAntChainTransactionV2Response.setMessage(_ctx.stringValue("DescribeAntChainTransactionV2Response.Message")); describeAntChainTransactionV2Response.setResultCode(_ctx.stringValue("DescribeAntChainTransactionV2Response.ResultCode")); Result result = new Result(); result.setHash(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Hash")); result.setBlockHash(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.BlockHash")); result.setBlockVersion(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.BlockVersion")); result.setBlockHeight(_ctx.longValue("DescribeAntChainTransactionV2Response.Result.BlockHeight")); result.setCreateTime(_ctx.longValue("DescribeAntChainTransactionV2Response.Result.CreateTime")); Transaction transaction = new Transaction(); transaction.setHash(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Hash")); transaction.setValue(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Value")); transaction.setFrom(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.From")); transaction.setData(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Data")); transaction.setNonce(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Nonce")); transaction.setTo(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.To")); transaction.setTimestamp(_ctx.longValue("DescribeAntChainTransactionV2Response.Result.Transaction.Timestamp")); transaction.setGas(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Gas")); transaction.setTxType(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.TxType")); transaction.setPeriod(_ctx.longValue("DescribeAntChainTransactionV2Response.Result.Transaction.Period")); List<String> extentions = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionV2Response.Result.Transaction.Extentions.Length"); i++) { extentions.add(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Extentions["+ i +"]")); } transaction.setExtentions(extentions); List<String> signatures = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainTransactionV2Response.Result.Transaction.Signatures.Length"); i++) { signatures.add(_ctx.stringValue("DescribeAntChainTransactionV2Response.Result.Transaction.Signatures["+ i +"]")); } transaction.setSignatures(signatures); result.setTransaction(transaction); describeAntChainTransactionV2Response.setResult(result); return describeAntChainTransactionV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsResponse; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsResponse.Result.AntChainsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsResponse.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainsResponseUnmarshaller { public static DescribeAntChainsResponse unmarshall(DescribeAntChainsResponse describeAntChainsResponse, UnmarshallerContext _ctx) { describeAntChainsResponse.setRequestId(_ctx.stringValue("DescribeAntChainsResponse.RequestId")); Result result = new Result(); result.setIsExist(_ctx.booleanValue("DescribeAntChainsResponse.Result.IsExist")); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainsResponse.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainsResponse.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainsResponse.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AntChainsItem> antChains = new ArrayList<AntChainsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainsResponse.Result.AntChains.Length"); i++) { AntChainsItem antChainsItem = new AntChainsItem(); antChainsItem.setExpireTime(_ctx.longValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].ExpireTime")); antChainsItem.setCreateTime(_ctx.longValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].CreateTime")); antChainsItem.setChainType(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].ChainType")); antChainsItem.setMemberStatus(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].MemberStatus")); antChainsItem.setMerkleTreeSuit(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].MerkleTreeSuit")); antChainsItem.setIsAdmin(_ctx.booleanValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].IsAdmin")); antChainsItem.setAntChainName(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].AntChainName")); antChainsItem.setRegionId(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].RegionId")); antChainsItem.setNetwork(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].Network")); antChainsItem.setTlsAlgo(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].TlsAlgo")); antChainsItem.setVersion(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].Version")); antChainsItem.setCipherSuit(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].CipherSuit")); antChainsItem.setResourceSize(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].ResourceSize")); antChainsItem.setNodeNum(_ctx.integerValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].NodeNum")); antChainsItem.setAntChainId(_ctx.stringValue("DescribeAntChainsResponse.Result.AntChains["+ i +"].AntChainId")); antChains.add(antChainsItem); } result.setAntChains(antChains); describeAntChainsResponse.setResult(result); return describeAntChainsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeAntChainsV2ResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsV2Response; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsV2Response.Result; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsV2Response.Result.AntChainsItem; import com.aliyuncs.baas.model.v20181221.DescribeAntChainsV2Response.Result.Pagination; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAntChainsV2ResponseUnmarshaller { public static DescribeAntChainsV2Response unmarshall(DescribeAntChainsV2Response describeAntChainsV2Response, UnmarshallerContext _ctx) { describeAntChainsV2Response.setRequestId(_ctx.stringValue("DescribeAntChainsV2Response.RequestId")); describeAntChainsV2Response.setHttpStatusCode(_ctx.stringValue("DescribeAntChainsV2Response.HttpStatusCode")); describeAntChainsV2Response.setSuccess(_ctx.booleanValue("DescribeAntChainsV2Response.Success")); describeAntChainsV2Response.setResultMessage(_ctx.stringValue("DescribeAntChainsV2Response.ResultMessage")); describeAntChainsV2Response.setCode(_ctx.stringValue("DescribeAntChainsV2Response.Code")); describeAntChainsV2Response.setMessage(_ctx.stringValue("DescribeAntChainsV2Response.Message")); describeAntChainsV2Response.setResultCode(_ctx.stringValue("DescribeAntChainsV2Response.ResultCode")); Result result = new Result(); result.setIsExist(_ctx.booleanValue("DescribeAntChainsV2Response.Result.IsExist")); Pagination pagination = new Pagination(); pagination.setPageSize(_ctx.integerValue("DescribeAntChainsV2Response.Result.Pagination.PageSize")); pagination.setPageNumber(_ctx.integerValue("DescribeAntChainsV2Response.Result.Pagination.PageNumber")); pagination.setTotalCount(_ctx.integerValue("DescribeAntChainsV2Response.Result.Pagination.TotalCount")); result.setPagination(pagination); List<AntChainsItem> antChains = new ArrayList<AntChainsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAntChainsV2Response.Result.AntChains.Length"); i++) { AntChainsItem antChainsItem = new AntChainsItem(); antChainsItem.setExpireTime(_ctx.longValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].ExpireTime")); antChainsItem.setCreateTime(_ctx.longValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].CreateTime")); antChainsItem.setRestStatus(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].RestStatus")); antChainsItem.setChainType(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].ChainType")); antChainsItem.setIsAdmin(_ctx.booleanValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].IsAdmin")); antChainsItem.setMerkleTreeSuit(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].MerkleTreeSuit")); antChainsItem.setMemberStatus(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].MemberStatus")); antChainsItem.setInstanceId(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].InstanceId")); antChainsItem.setRegionId(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].RegionId")); antChainsItem.setAntChainName(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].AntChainName")); antChainsItem.setNetwork(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].Network")); antChainsItem.setMonitorStatus(_ctx.booleanValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].MonitorStatus")); antChainsItem.setTlsAlgo(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].TlsAlgo")); antChainsItem.setVersion(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].Version")); antChainsItem.setCipherSuit(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].CipherSuit")); antChainsItem.setResourceSize(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].ResourceSize")); antChainsItem.setNodeNum(_ctx.integerValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].NodeNum")); antChainsItem.setAntChainId(_ctx.stringValue("DescribeAntChainsV2Response.Result.AntChains["+ i +"].AntChainId")); antChains.add(antChainsItem); } result.setAntChains(antChains); describeAntChainsV2Response.setResult(result); return describeAntChainsV2Response; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeEthereumDeletableResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeEthereumDeletableResponse; import com.aliyuncs.baas.model.v20181221.DescribeEthereumDeletableResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeEthereumDeletableResponseUnmarshaller { public static DescribeEthereumDeletableResponse unmarshall(DescribeEthereumDeletableResponse describeEthereumDeletableResponse, UnmarshallerContext _ctx) { describeEthereumDeletableResponse.setRequestId(_ctx.stringValue("DescribeEthereumDeletableResponse.RequestId")); describeEthereumDeletableResponse.setSuccess(_ctx.booleanValue("DescribeEthereumDeletableResponse.Success")); describeEthereumDeletableResponse.setErrorCode(_ctx.integerValue("DescribeEthereumDeletableResponse.ErrorCode")); Result result = new Result(); result.setEthereumId(_ctx.stringValue("DescribeEthereumDeletableResponse.Result.EthereumId")); result.setDeletable(_ctx.booleanValue("DescribeEthereumDeletableResponse.Result.Deletable")); describeEthereumDeletableResponse.setResult(result); return describeEthereumDeletableResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricCandidateOrganizationsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricCandidateOrganizationsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricCandidateOrganizationsResponse.DescribeCandidateOrganization; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricCandidateOrganizationsResponseUnmarshaller { public static DescribeFabricCandidateOrganizationsResponse unmarshall(DescribeFabricCandidateOrganizationsResponse describeFabricCandidateOrganizationsResponse, UnmarshallerContext _ctx) { describeFabricCandidateOrganizationsResponse.setRequestId(_ctx.stringValue("DescribeFabricCandidateOrganizationsResponse.RequestId")); describeFabricCandidateOrganizationsResponse.setSuccess(_ctx.booleanValue("DescribeFabricCandidateOrganizationsResponse.Success")); describeFabricCandidateOrganizationsResponse.setErrorCode(_ctx.integerValue("DescribeFabricCandidateOrganizationsResponse.ErrorCode")); List<DescribeCandidateOrganization> result = new ArrayList<DescribeCandidateOrganization>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricCandidateOrganizationsResponse.Result.Length"); i++) { DescribeCandidateOrganization describeCandidateOrganization = new DescribeCandidateOrganization(); describeCandidateOrganization.setServiceState(_ctx.stringValue("DescribeFabricCandidateOrganizationsResponse.Result["+ i +"].ServiceState")); describeCandidateOrganization.setOrganizationName(_ctx.stringValue("DescribeFabricCandidateOrganizationsResponse.Result["+ i +"].OrganizationName")); describeCandidateOrganization.setClusterState(_ctx.stringValue("DescribeFabricCandidateOrganizationsResponse.Result["+ i +"].ClusterState")); describeCandidateOrganization.setOrganizationId(_ctx.stringValue("DescribeFabricCandidateOrganizationsResponse.Result["+ i +"].OrganizationId")); result.add(describeCandidateOrganization); } describeFabricCandidateOrganizationsResponse.setResult(result); return describeFabricCandidateOrganizationsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricChaincodeDefinitionTaskResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricChaincodeDefinitionTaskResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricChaincodeDefinitionTaskResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeFabricChaincodeDefinitionTaskResponse.Result.Content; import com.aliyuncs.baas.model.v20181221.DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricChaincodeDefinitionTaskResponseUnmarshaller { public static DescribeFabricChaincodeDefinitionTaskResponse unmarshall(DescribeFabricChaincodeDefinitionTaskResponse describeFabricChaincodeDefinitionTaskResponse, UnmarshallerContext _ctx) { describeFabricChaincodeDefinitionTaskResponse.setRequestId(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.RequestId")); describeFabricChaincodeDefinitionTaskResponse.setSuccess(_ctx.booleanValue("DescribeFabricChaincodeDefinitionTaskResponse.Success")); describeFabricChaincodeDefinitionTaskResponse.setErrorCode(_ctx.integerValue("DescribeFabricChaincodeDefinitionTaskResponse.ErrorCode")); Result result = new Result(); result.setStatus(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Status")); result.setType(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Type")); result.setChannelName(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.ChannelName")); result.setDescription(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Description")); result.setCreateTime(_ctx.longValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.CreateTime")); result.setTaskId(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.TaskId")); result.setCreator(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Creator")); List<String> approvers = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Approvers.Length"); i++) { approvers.add(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Approvers["+ i +"]")); } result.setApprovers(approvers); Content content = new Content(); ChaincodeDefinition chaincodeDefinition = new ChaincodeDefinition(); chaincodeDefinition.setEndorsementPolicy(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.EndorsementPolicy")); chaincodeDefinition.setSequence(_ctx.longValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.Sequence")); chaincodeDefinition.setVersion(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.Version")); chaincodeDefinition.setChaincodePackageId(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.ChaincodePackageId")); chaincodeDefinition.setName(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.Name")); chaincodeDefinition.setInitRequired(_ctx.booleanValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.InitRequired")); chaincodeDefinition.setCollectionConfig(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.CollectionConfig")); chaincodeDefinition.setUid(_ctx.stringValue("DescribeFabricChaincodeDefinitionTaskResponse.Result.Content.ChaincodeDefinition.Uid")); content.setChaincodeDefinition(chaincodeDefinition); result.setContent(content); describeFabricChaincodeDefinitionTaskResponse.setResult(result); return describeFabricChaincodeDefinitionTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricChaincodeUploadPolicyResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricChaincodeUploadPolicyResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricChaincodeUploadPolicyResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricChaincodeUploadPolicyResponseUnmarshaller { public static DescribeFabricChaincodeUploadPolicyResponse unmarshall(DescribeFabricChaincodeUploadPolicyResponse describeFabricChaincodeUploadPolicyResponse, UnmarshallerContext _ctx) { describeFabricChaincodeUploadPolicyResponse.setRequestId(_ctx.stringValue("DescribeFabricChaincodeUploadPolicyResponse.RequestId")); describeFabricChaincodeUploadPolicyResponse.setSuccess(_ctx.booleanValue("DescribeFabricChaincodeUploadPolicyResponse.Success")); describeFabricChaincodeUploadPolicyResponse.setErrorCode(_ctx.integerValue("DescribeFabricChaincodeUploadPolicyResponse.ErrorCode")); Result result = new Result(); result.setSignature(_ctx.stringValue("DescribeFabricChaincodeUploadPolicyResponse.Result.Signature")); result.setHost(_ctx.stringValue("DescribeFabricChaincodeUploadPolicyResponse.Result.Host")); result.setPolicy(_ctx.stringValue("DescribeFabricChaincodeUploadPolicyResponse.Result.Policy")); result.setDir(_ctx.stringValue("DescribeFabricChaincodeUploadPolicyResponse.Result.Dir")); result.setAccessId(_ctx.stringValue("DescribeFabricChaincodeUploadPolicyResponse.Result.AccessId")); result.setExpire(_ctx.integerValue("DescribeFabricChaincodeUploadPolicyResponse.Result.Expire")); describeFabricChaincodeUploadPolicyResponse.setResult(result); return describeFabricChaincodeUploadPolicyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricChannelMembersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricChannelMembersResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricChannelMembersResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricChannelMembersResponseUnmarshaller { public static DescribeFabricChannelMembersResponse unmarshall(DescribeFabricChannelMembersResponse describeFabricChannelMembersResponse, UnmarshallerContext _ctx) { describeFabricChannelMembersResponse.setRequestId(_ctx.stringValue("DescribeFabricChannelMembersResponse.RequestId")); describeFabricChannelMembersResponse.setSuccess(_ctx.booleanValue("DescribeFabricChannelMembersResponse.Success")); describeFabricChannelMembersResponse.setErrorCode(_ctx.integerValue("DescribeFabricChannelMembersResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricChannelMembersResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setWithPeer(_ctx.booleanValue("DescribeFabricChannelMembersResponse.Result["+ i +"].WithPeer")); resultItem.setAcceptTime(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].AcceptTime")); resultItem.setOrganizationDomain(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].OrganizationDomain")); resultItem.setState(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].State")); resultItem.setInviteTime(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].InviteTime")); resultItem.setChannelId(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].ChannelId")); resultItem.setOrganizationName(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].OrganizationName")); resultItem.setOrganizationDescription(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].OrganizationDescription")); resultItem.setOrganizationId(_ctx.stringValue("DescribeFabricChannelMembersResponse.Result["+ i +"].OrganizationId")); result.add(resultItem); } describeFabricChannelMembersResponse.setResult(result); return describeFabricChannelMembersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumAdminStatusResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumAdminStatusResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumAdminStatusResponse.ConsortimeAdminStatus; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumAdminStatusResponseUnmarshaller { public static DescribeFabricConsortiumAdminStatusResponse unmarshall(DescribeFabricConsortiumAdminStatusResponse describeFabricConsortiumAdminStatusResponse, UnmarshallerContext _ctx) { describeFabricConsortiumAdminStatusResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumAdminStatusResponse.RequestId")); describeFabricConsortiumAdminStatusResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumAdminStatusResponse.Success")); describeFabricConsortiumAdminStatusResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumAdminStatusResponse.ErrorCode")); List<ConsortimeAdminStatus> result = new ArrayList<ConsortimeAdminStatus>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumAdminStatusResponse.Result.Length"); i++) { ConsortimeAdminStatus consortimeAdminStatus = new ConsortimeAdminStatus(); consortimeAdminStatus.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumAdminStatusResponse.Result["+ i +"].ConsortiumId")); consortimeAdminStatus.setConsortiumAdministrator(_ctx.booleanValue("DescribeFabricConsortiumAdminStatusResponse.Result["+ i +"].ConsortiumAdministrator")); result.add(consortimeAdminStatus); } describeFabricConsortiumAdminStatusResponse.setResult(result); return describeFabricConsortiumAdminStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumChaincodesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumChaincodesResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumChaincodesResponse.ChaincodeVO; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumChaincodesResponseUnmarshaller { public static DescribeFabricConsortiumChaincodesResponse unmarshall(DescribeFabricConsortiumChaincodesResponse describeFabricConsortiumChaincodesResponse, UnmarshallerContext _ctx) { describeFabricConsortiumChaincodesResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.RequestId")); describeFabricConsortiumChaincodesResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumChaincodesResponse.Success")); describeFabricConsortiumChaincodesResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumChaincodesResponse.ErrorCode")); List<ChaincodeVO> result = new ArrayList<ChaincodeVO>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumChaincodesResponse.Result.Length"); i++) { ChaincodeVO chaincodeVO = new ChaincodeVO(); chaincodeVO.setType(_ctx.integerValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].Type")); chaincodeVO.setEndorsePolicy(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].EndorsePolicy")); chaincodeVO.setState(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].State")); chaincodeVO.setCreateTime(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].CreateTime")); chaincodeVO.setChaincodeId(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ChaincodeId")); chaincodeVO.setProviderName(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ProviderName")); chaincodeVO.setMessage(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].Message")); chaincodeVO.setChaincodeName(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ChaincodeName")); chaincodeVO.setInstall(_ctx.booleanValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].Install")); chaincodeVO.setInput(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].Input")); chaincodeVO.setProviderId(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ProviderId")); chaincodeVO.setDeployTime(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].DeployTime")); chaincodeVO.setChaincodeVersion(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ChaincodeVersion")); chaincodeVO.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ConsortiumId")); chaincodeVO.setChannelName(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ChannelName")); chaincodeVO.setChannelId(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].ChannelId")); chaincodeVO.setPath(_ctx.stringValue("DescribeFabricConsortiumChaincodesResponse.Result["+ i +"].Path")); result.add(chaincodeVO); } describeFabricConsortiumChaincodesResponse.setResult(result); return describeFabricConsortiumChaincodesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumChannelsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumChannelsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumChannelsResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumChannelsResponseUnmarshaller { public static DescribeFabricConsortiumChannelsResponse unmarshall(DescribeFabricConsortiumChannelsResponse describeFabricConsortiumChannelsResponse, UnmarshallerContext _ctx) { describeFabricConsortiumChannelsResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.RequestId")); describeFabricConsortiumChannelsResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumChannelsResponse.Success")); describeFabricConsortiumChannelsResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumChannelsResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setBatchTimeout(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].BatchTimeout")); resultItem.setUpdateTime(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].UpdateTime")); resultItem.setChaincodeCount(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].ChaincodeCount")); resultItem.setPreferredMaxBytes(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].PreferredMaxBytes")); resultItem.setMemberJoinedCount(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].MemberJoinedCount")); resultItem.setState(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].State")); resultItem.setCreateTime(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].CreateTime")); resultItem.setSupportChannelConfig(_ctx.booleanValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].SupportChannelConfig")); resultItem.setOwnerName(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].OwnerName")); resultItem.setOwnerUid(_ctx.longValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].OwnerUid")); resultItem.setOwnerBid(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].OwnerBid")); resultItem.setMaxMessageCount(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].MaxMessageCount")); resultItem.setMemberCount(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].MemberCount")); resultItem.setNeedJoined(_ctx.booleanValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].NeedJoined")); resultItem.setRequestId(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].RequestId")); resultItem.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].ConsortiumId")); resultItem.setChannelName(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].ChannelName")); resultItem.setDeleteTime(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].DeleteTime")); resultItem.setChannelId(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].ChannelId")); resultItem.setConsortiumChannelId(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].ConsortiumChannelId")); resultItem.setDeleted(_ctx.booleanValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].Deleted")); resultItem.setConsortiumName(_ctx.stringValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].ConsortiumName")); resultItem.setBlockCount(_ctx.integerValue("DescribeFabricConsortiumChannelsResponse.Result["+ i +"].BlockCount")); result.add(resultItem); } describeFabricConsortiumChannelsResponse.setResult(result); return describeFabricConsortiumChannelsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumConfigResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumConfigResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumConfigResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumConfigResponseUnmarshaller { public static DescribeFabricConsortiumConfigResponse unmarshall(DescribeFabricConsortiumConfigResponse describeFabricConsortiumConfigResponse, UnmarshallerContext _ctx) { describeFabricConsortiumConfigResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumConfigResponse.RequestId")); describeFabricConsortiumConfigResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumConfigResponse.Success")); describeFabricConsortiumConfigResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumConfigResponse.ErrorCode")); Result result = new Result(); List<String> channelPolicy = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumConfigResponse.Result.ChannelPolicy.Length"); i++) { channelPolicy.add(_ctx.stringValue("DescribeFabricConsortiumConfigResponse.Result.ChannelPolicy["+ i +"]")); } result.setChannelPolicy(channelPolicy); List<String> ordererType = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumConfigResponse.Result.OrdererType.Length"); i++) { ordererType.add(_ctx.stringValue("DescribeFabricConsortiumConfigResponse.Result.OrdererType["+ i +"]")); } result.setOrdererType(ordererType); describeFabricConsortiumConfigResponse.setResult(result); return describeFabricConsortiumConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumDeletableResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumDeletableResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumDeletableResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumDeletableResponseUnmarshaller { public static DescribeFabricConsortiumDeletableResponse unmarshall(DescribeFabricConsortiumDeletableResponse describeFabricConsortiumDeletableResponse, UnmarshallerContext _ctx) { describeFabricConsortiumDeletableResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.RequestId")); describeFabricConsortiumDeletableResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumDeletableResponse.Success")); describeFabricConsortiumDeletableResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumDeletableResponse.ErrorCode")); Result result = new Result(); result.setDeletable(_ctx.booleanValue("DescribeFabricConsortiumDeletableResponse.Result.Deletable")); result.setDomain(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.Domain")); result.setDescription(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.Description")); result.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.ConsortiumId")); result.setState(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.State")); result.setZoneId(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.ZoneId")); result.setCodeName(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.CodeName")); result.setConsortiumName(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.ConsortiumName")); result.setRegionId(_ctx.stringValue("DescribeFabricConsortiumDeletableResponse.Result.RegionId")); describeFabricConsortiumDeletableResponse.setResult(result); return describeFabricConsortiumDeletableResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumMemberApprovalResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumMemberApprovalResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumMemberApprovalResponse.ConsortiumMemberApproval; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumMemberApprovalResponseUnmarshaller { public static DescribeFabricConsortiumMemberApprovalResponse unmarshall(DescribeFabricConsortiumMemberApprovalResponse describeFabricConsortiumMemberApprovalResponse, UnmarshallerContext _ctx) { describeFabricConsortiumMemberApprovalResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.RequestId")); describeFabricConsortiumMemberApprovalResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumMemberApprovalResponse.Success")); describeFabricConsortiumMemberApprovalResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumMemberApprovalResponse.ErrorCode")); List<ConsortiumMemberApproval> result = new ArrayList<ConsortiumMemberApproval>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumMemberApprovalResponse.Result.Length"); i++) { ConsortiumMemberApproval consortiumMemberApproval = new ConsortiumMemberApproval(); consortiumMemberApproval.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].ConsortiumId")); consortiumMemberApproval.setState(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].State")); consortiumMemberApproval.setChannelCreatePolicy(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].ChannelCreatePolicy")); consortiumMemberApproval.setConfirmTime(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].ConfirmTime")); consortiumMemberApproval.setOrganizationName(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].OrganizationName")); consortiumMemberApproval.setConsortiumName(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].ConsortiumName")); consortiumMemberApproval.setDomainName(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].DomainName")); consortiumMemberApproval.setOrganizationId(_ctx.stringValue("DescribeFabricConsortiumMemberApprovalResponse.Result["+ i +"].OrganizationId")); result.add(consortiumMemberApproval); } describeFabricConsortiumMemberApprovalResponse.setResult(result); return describeFabricConsortiumMemberApprovalResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumMembersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumMembersResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumMembersResponse.DescribeConsortiumMember; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumMembersResponseUnmarshaller { public static DescribeFabricConsortiumMembersResponse unmarshall(DescribeFabricConsortiumMembersResponse describeFabricConsortiumMembersResponse, UnmarshallerContext _ctx) { describeFabricConsortiumMembersResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.RequestId")); describeFabricConsortiumMembersResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumMembersResponse.Success")); describeFabricConsortiumMembersResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumMembersResponse.ErrorCode")); List<DescribeConsortiumMember> result = new ArrayList<DescribeConsortiumMember>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumMembersResponse.Result.Length"); i++) { DescribeConsortiumMember describeConsortiumMember = new DescribeConsortiumMember(); describeConsortiumMember.setDomain(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.Result["+ i +"].Domain")); describeConsortiumMember.setDescription(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.Result["+ i +"].Description")); describeConsortiumMember.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.Result["+ i +"].ConsortiumId")); describeConsortiumMember.setOrganizationName(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.Result["+ i +"].OrganizationName")); describeConsortiumMember.setJoinedTime(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.Result["+ i +"].JoinedTime")); describeConsortiumMember.setOrganizationId(_ctx.stringValue("DescribeFabricConsortiumMembersResponse.Result["+ i +"].OrganizationId")); result.add(describeConsortiumMember); } describeFabricConsortiumMembersResponse.setResult(result); return describeFabricConsortiumMembersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumOrderersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumOrderersResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumOrderersResponse.Orderer; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumOrderersResponseUnmarshaller { public static DescribeFabricConsortiumOrderersResponse unmarshall(DescribeFabricConsortiumOrderersResponse describeFabricConsortiumOrderersResponse, UnmarshallerContext _ctx) { describeFabricConsortiumOrderersResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumOrderersResponse.RequestId")); describeFabricConsortiumOrderersResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumOrderersResponse.Success")); describeFabricConsortiumOrderersResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumOrderersResponse.ErrorCode")); List<Orderer> result = new ArrayList<Orderer>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumOrderersResponse.Result.Length"); i++) { Orderer orderer = new Orderer(); orderer.setDomain(_ctx.stringValue("DescribeFabricConsortiumOrderersResponse.Result["+ i +"].Domain")); orderer.setUpdateTime(_ctx.stringValue("DescribeFabricConsortiumOrderersResponse.Result["+ i +"].UpdateTime")); orderer.setOrdererName(_ctx.stringValue("DescribeFabricConsortiumOrderersResponse.Result["+ i +"].OrdererName")); orderer.setCreateTime(_ctx.stringValue("DescribeFabricConsortiumOrderersResponse.Result["+ i +"].CreateTime")); orderer.setPort(_ctx.integerValue("DescribeFabricConsortiumOrderersResponse.Result["+ i +"].Port")); orderer.setInstanceType(_ctx.stringValue("DescribeFabricConsortiumOrderersResponse.Result["+ i +"].InstanceType")); result.add(orderer); } describeFabricConsortiumOrderersResponse.setResult(result); return describeFabricConsortiumOrderersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumSpecsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumSpecsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumSpecsResponse.ClusterSpec; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumSpecsResponseUnmarshaller { public static DescribeFabricConsortiumSpecsResponse unmarshall(DescribeFabricConsortiumSpecsResponse describeFabricConsortiumSpecsResponse, UnmarshallerContext _ctx) { describeFabricConsortiumSpecsResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumSpecsResponse.RequestId")); describeFabricConsortiumSpecsResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumSpecsResponse.Success")); describeFabricConsortiumSpecsResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumSpecsResponse.ErrorCode")); List<ClusterSpec> result = new ArrayList<ClusterSpec>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumSpecsResponse.Result.Length"); i++) { ClusterSpec clusterSpec = new ClusterSpec(); clusterSpec.setSpecName(_ctx.stringValue("DescribeFabricConsortiumSpecsResponse.Result["+ i +"].SpecName")); clusterSpec.setSpecTitle(_ctx.stringValue("DescribeFabricConsortiumSpecsResponse.Result["+ i +"].SpecTitle")); clusterSpec.setEnable(_ctx.booleanValue("DescribeFabricConsortiumSpecsResponse.Result["+ i +"].Enable")); result.add(clusterSpec); } describeFabricConsortiumSpecsResponse.setResult(result); return describeFabricConsortiumSpecsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricConsortiumsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumsResponse.ResultItem; import com.aliyuncs.baas.model.v20181221.DescribeFabricConsortiumsResponse.ResultItem.TagsItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricConsortiumsResponseUnmarshaller { public static DescribeFabricConsortiumsResponse unmarshall(DescribeFabricConsortiumsResponse describeFabricConsortiumsResponse, UnmarshallerContext _ctx) { describeFabricConsortiumsResponse.setRequestId(_ctx.stringValue("DescribeFabricConsortiumsResponse.RequestId")); describeFabricConsortiumsResponse.setErrorCode(_ctx.integerValue("DescribeFabricConsortiumsResponse.ErrorCode")); describeFabricConsortiumsResponse.setSuccess(_ctx.booleanValue("DescribeFabricConsortiumsResponse.Success")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricConsortiumsResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setChannelCount(_ctx.integerValue("DescribeFabricConsortiumsResponse.Result["+ i +"].ChannelCount")); resultItem.setDomain(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].Domain")); resultItem.setState(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].State")); resultItem.setCreateTime(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].CreateTime")); resultItem.setSpecName(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].SpecName")); resultItem.setSupportChannelConfig(_ctx.booleanValue("DescribeFabricConsortiumsResponse.Result["+ i +"].SupportChannelConfig")); resultItem.setOwnerName(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].OwnerName")); resultItem.setOwnerUid(_ctx.longValue("DescribeFabricConsortiumsResponse.Result["+ i +"].OwnerUid")); resultItem.setOwnerBid(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].OwnerBid")); resultItem.setCodeName(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].CodeName")); resultItem.setRegionId(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].RegionId")); resultItem.setChannelPolicy(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].ChannelPolicy")); resultItem.setRequestId(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].RequestId")); resultItem.setConsortiumId(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].ConsortiumId")); resultItem.setExpiredTime(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].ExpiredTime")); resultItem.setOrganizationCount(_ctx.integerValue("DescribeFabricConsortiumsResponse.Result["+ i +"].OrganizationCount")); resultItem.setConsortiumName(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].ConsortiumName")); resultItem.setMajorVersion(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].MajorVersion")); List<TagsItem> tags = new ArrayList<TagsItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeFabricConsortiumsResponse.Result["+ i +"].Tags.Length"); j++) { TagsItem tagsItem = new TagsItem(); tagsItem.setKey(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].Tags["+ j +"].Key")); tagsItem.setValue(_ctx.stringValue("DescribeFabricConsortiumsResponse.Result["+ i +"].Tags["+ j +"].Value")); tags.add(tagsItem); } resultItem.setTags(tags); result.add(resultItem); } describeFabricConsortiumsResponse.setResult(result); return describeFabricConsortiumsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricExplorerResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricExplorerResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricExplorerResponseUnmarshaller { public static DescribeFabricExplorerResponse unmarshall(DescribeFabricExplorerResponse describeFabricExplorerResponse, UnmarshallerContext _ctx) { describeFabricExplorerResponse.setRequestId(_ctx.stringValue("DescribeFabricExplorerResponse.RequestId")); describeFabricExplorerResponse.setResult(_ctx.stringValue("DescribeFabricExplorerResponse.Result")); describeFabricExplorerResponse.setSuccess(_ctx.booleanValue("DescribeFabricExplorerResponse.Success")); describeFabricExplorerResponse.setErrorCode(_ctx.integerValue("DescribeFabricExplorerResponse.ErrorCode")); describeFabricExplorerResponse.setDynamicMessage(_ctx.stringValue("DescribeFabricExplorerResponse.DynamicMessage")); describeFabricExplorerResponse.setDynamicCode(_ctx.stringValue("DescribeFabricExplorerResponse.DynamicCode")); return describeFabricExplorerResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricInvitationCodeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricInvitationCodeResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricInvitationCodeResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricInvitationCodeResponseUnmarshaller { public static DescribeFabricInvitationCodeResponse unmarshall(DescribeFabricInvitationCodeResponse describeFabricInvitationCodeResponse, UnmarshallerContext _ctx) { describeFabricInvitationCodeResponse.setRequestId(_ctx.stringValue("DescribeFabricInvitationCodeResponse.RequestId")); describeFabricInvitationCodeResponse.setDynamicMessage(_ctx.stringValue("DescribeFabricInvitationCodeResponse.DynamicMessage")); describeFabricInvitationCodeResponse.setErrorCode(_ctx.integerValue("DescribeFabricInvitationCodeResponse.ErrorCode")); describeFabricInvitationCodeResponse.setSuccess(_ctx.booleanValue("DescribeFabricInvitationCodeResponse.Success")); describeFabricInvitationCodeResponse.setDynamicCode(_ctx.stringValue("DescribeFabricInvitationCodeResponse.DynamicCode")); Result result = new Result(); result.setSenderId(_ctx.longValue("DescribeFabricInvitationCodeResponse.Result.SenderId")); result.setEmail(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.Email")); result.setSenderBid(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.SenderBid")); result.setExpireTime(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.ExpireTime")); result.setConsortiumId(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.ConsortiumId")); result.setInvitationId(_ctx.integerValue("DescribeFabricInvitationCodeResponse.Result.InvitationId")); result.setSenderName(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.SenderName")); result.setCode(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.Code")); result.setUrl(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.Url")); result.setAccepted(_ctx.booleanValue("DescribeFabricInvitationCodeResponse.Result.Accepted")); result.setSendTime(_ctx.stringValue("DescribeFabricInvitationCodeResponse.Result.SendTime")); describeFabricInvitationCodeResponse.setResult(result); return describeFabricInvitationCodeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricInviterResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricInviterResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricInviterResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricInviterResponseUnmarshaller { public static DescribeFabricInviterResponse unmarshall(DescribeFabricInviterResponse describeFabricInviterResponse, UnmarshallerContext _ctx) { describeFabricInviterResponse.setRequestId(_ctx.stringValue("DescribeFabricInviterResponse.RequestId")); describeFabricInviterResponse.setSuccess(_ctx.booleanValue("DescribeFabricInviterResponse.Success")); describeFabricInviterResponse.setErrorCode(_ctx.integerValue("DescribeFabricInviterResponse.ErrorCode")); Result result = new Result(); result.setInviterId(_ctx.longValue("DescribeFabricInviterResponse.Result.InviterId")); result.setExpireTime(_ctx.stringValue("DescribeFabricInviterResponse.Result.ExpireTime")); result.setConsortiumId(_ctx.stringValue("DescribeFabricInviterResponse.Result.ConsortiumId")); result.setConsortiumName(_ctx.stringValue("DescribeFabricInviterResponse.Result.ConsortiumName")); result.setInviterName(_ctx.stringValue("DescribeFabricInviterResponse.Result.InviterName")); describeFabricInviterResponse.setResult(result); return describeFabricInviterResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrdererLogsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrdererLogsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrdererLogsResponseUnmarshaller { public static DescribeFabricOrdererLogsResponse unmarshall(DescribeFabricOrdererLogsResponse describeFabricOrdererLogsResponse, UnmarshallerContext _ctx) { describeFabricOrdererLogsResponse.setRequestId(_ctx.stringValue("DescribeFabricOrdererLogsResponse.RequestId")); describeFabricOrdererLogsResponse.setResult(_ctx.stringValue("DescribeFabricOrdererLogsResponse.Result")); describeFabricOrdererLogsResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrdererLogsResponse.Success")); describeFabricOrdererLogsResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrdererLogsResponse.ErrorCode")); return describeFabricOrdererLogsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationChaincodePackageResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationChaincodePackageResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationChaincodePackageResponse.ChaincodePackages; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationChaincodePackageResponseUnmarshaller { public static DescribeFabricOrganizationChaincodePackageResponse unmarshall(DescribeFabricOrganizationChaincodePackageResponse describeFabricOrganizationChaincodePackageResponse, UnmarshallerContext _ctx) { describeFabricOrganizationChaincodePackageResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.RequestId")); describeFabricOrganizationChaincodePackageResponse.setMessage(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Message")); describeFabricOrganizationChaincodePackageResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationChaincodePackageResponse.Success")); describeFabricOrganizationChaincodePackageResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationChaincodePackageResponse.ErrorCode")); List<ChaincodePackages> result = new ArrayList<ChaincodePackages>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationChaincodePackageResponse.Result.Length"); i++) { ChaincodePackages chaincodePackages = new ChaincodePackages(); chaincodePackages.setOrganizationId(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].OrganizationId")); chaincodePackages.setLabel(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].Label")); chaincodePackages.setChecksum(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].Checksum")); chaincodePackages.setChaincodePackageId(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].ChaincodePackageId")); chaincodePackages.setMd5sum(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].Md5sum")); chaincodePackages.setProviderUid(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].ProviderUid")); chaincodePackages.setProviderBid(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].ProviderBid")); chaincodePackages.setType(_ctx.integerValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].Type")); chaincodePackages.setTypeName(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].TypeName")); chaincodePackages.setUploadTime(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].UploadTime")); chaincodePackages.setInstallTime(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].InstallTime")); chaincodePackages.setState(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].State")); chaincodePackages.setOssURL(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].OssURL")); chaincodePackages.setDeleteTime(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].DeleteTime")); chaincodePackages.setDeleted(_ctx.booleanValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].Deleted")); chaincodePackages.setMessage(_ctx.stringValue("DescribeFabricOrganizationChaincodePackageResponse.Result["+ i +"].Message")); result.add(chaincodePackages); } describeFabricOrganizationChaincodePackageResponse.setResult(result); return describeFabricOrganizationChaincodePackageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationChaincodesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationChaincodesResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationChaincodesResponse.OrganizationChaincode; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationChaincodesResponseUnmarshaller { public static DescribeFabricOrganizationChaincodesResponse unmarshall(DescribeFabricOrganizationChaincodesResponse describeFabricOrganizationChaincodesResponse, UnmarshallerContext _ctx) { describeFabricOrganizationChaincodesResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.RequestId")); describeFabricOrganizationChaincodesResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationChaincodesResponse.Success")); describeFabricOrganizationChaincodesResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationChaincodesResponse.ErrorCode")); List<OrganizationChaincode> result = new ArrayList<OrganizationChaincode>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationChaincodesResponse.Result.Length"); i++) { OrganizationChaincode organizationChaincode = new OrganizationChaincode(); organizationChaincode.setEndorsePolicy(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].EndorsePolicy")); organizationChaincode.setState(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].State")); organizationChaincode.setCreateTime(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].CreateTime")); organizationChaincode.setChaincodeId(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].ChaincodeId")); organizationChaincode.setMessage(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].Message")); organizationChaincode.setChaincodeName(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].ChaincodeName")); organizationChaincode.setInstalled(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].Installed")); organizationChaincode.setCreator(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].Creator")); organizationChaincode.setDeployTime(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].DeployTime")); organizationChaincode.setChaincodeVersion(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].ChaincodeVersion")); organizationChaincode.setConsortiumId(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].ConsortiumId")); organizationChaincode.setChannelName(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].ChannelName")); organizationChaincode.setChannelId(_ctx.stringValue("DescribeFabricOrganizationChaincodesResponse.Result["+ i +"].ChannelId")); result.add(organizationChaincode); } describeFabricOrganizationChaincodesResponse.setResult(result); return describeFabricOrganizationChaincodesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationChannelsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationChannelsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationChannelsResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationChannelsResponseUnmarshaller { public static DescribeFabricOrganizationChannelsResponse unmarshall(DescribeFabricOrganizationChannelsResponse describeFabricOrganizationChannelsResponse, UnmarshallerContext _ctx) { describeFabricOrganizationChannelsResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.RequestId")); describeFabricOrganizationChannelsResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationChannelsResponse.Success")); describeFabricOrganizationChannelsResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationChannelsResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setBatchTimeout(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].BatchTimeout")); resultItem.setUpdateTime(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].UpdateTime")); resultItem.setChaincodeCount(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].ChaincodeCount")); resultItem.setPreferredMaxBytes(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].PreferredMaxBytes")); resultItem.setState(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].State")); resultItem.setCreateTime(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].CreateTime")); resultItem.setSupportChannelConfig(_ctx.booleanValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].SupportChannelConfig")); resultItem.setOwnerName(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].OwnerName")); resultItem.setOwnerUid(_ctx.longValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].OwnerUid")); resultItem.setOwnerBid(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].OwnerBid")); resultItem.setMaxMessageCount(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].MaxMessageCount")); resultItem.setMemberCount(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].MemberCount")); resultItem.setRequestId(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].RequestId")); resultItem.setConsortiumId(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].ConsortiumId")); resultItem.setChannelName(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].ChannelName")); resultItem.setDeleteTime(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].DeleteTime")); resultItem.setChannelId(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].ChannelId")); resultItem.setDeleted(_ctx.booleanValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].Deleted")); resultItem.setConsortiumName(_ctx.stringValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].ConsortiumName")); resultItem.setBlockCount(_ctx.integerValue("DescribeFabricOrganizationChannelsResponse.Result["+ i +"].BlockCount")); result.add(resultItem); } describeFabricOrganizationChannelsResponse.setResult(result); return describeFabricOrganizationChannelsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationDeletableResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationDeletableResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationDeletableResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationDeletableResponseUnmarshaller { public static DescribeFabricOrganizationDeletableResponse unmarshall(DescribeFabricOrganizationDeletableResponse describeFabricOrganizationDeletableResponse, UnmarshallerContext _ctx) { describeFabricOrganizationDeletableResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.RequestId")); describeFabricOrganizationDeletableResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationDeletableResponse.Success")); describeFabricOrganizationDeletableResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationDeletableResponse.ErrorCode")); Result result = new Result(); result.setDeletable(_ctx.booleanValue("DescribeFabricOrganizationDeletableResponse.Result.Deletable")); result.setDomain(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.Domain")); result.setState(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.State")); result.setZoneId(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.ZoneId")); result.setOrganizationName(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.OrganizationName")); result.setCodeName(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.CodeName")); result.setOrganizationDescription(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.OrganizationDescription")); result.setRegionId(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.RegionId")); result.setOrganizationId(_ctx.stringValue("DescribeFabricOrganizationDeletableResponse.Result.OrganizationId")); describeFabricOrganizationDeletableResponse.setResult(result); return describeFabricOrganizationDeletableResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationMembersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationMembersResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationMembersResponse.DescribeOrganizationMembers; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationMembersResponseUnmarshaller { public static DescribeFabricOrganizationMembersResponse unmarshall(DescribeFabricOrganizationMembersResponse describeFabricOrganizationMembersResponse, UnmarshallerContext _ctx) { describeFabricOrganizationMembersResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.RequestId")); describeFabricOrganizationMembersResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationMembersResponse.Success")); describeFabricOrganizationMembersResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationMembersResponse.ErrorCode")); List<DescribeOrganizationMembers> result = new ArrayList<DescribeOrganizationMembers>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationMembersResponse.Result.Length"); i++) { DescribeOrganizationMembers describeOrganizationMembers = new DescribeOrganizationMembers(); describeOrganizationMembers.setDomain(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].Domain")); describeOrganizationMembers.setConsortiumId(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].ConsortiumId")); describeOrganizationMembers.setDescription(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].Description")); describeOrganizationMembers.setState(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].State")); describeOrganizationMembers.setOrganizationName(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].OrganizationName")); describeOrganizationMembers.setJoinedTime(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].JoinedTime")); describeOrganizationMembers.setConsortiumName(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].ConsortiumName")); describeOrganizationMembers.setOrganizationId(_ctx.stringValue("DescribeFabricOrganizationMembersResponse.Result["+ i +"].OrganizationId")); result.add(describeOrganizationMembers); } describeFabricOrganizationMembersResponse.setResult(result); return describeFabricOrganizationMembersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationPeersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationPeersResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationPeersResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationPeersResponseUnmarshaller { public static DescribeFabricOrganizationPeersResponse unmarshall(DescribeFabricOrganizationPeersResponse describeFabricOrganizationPeersResponse, UnmarshallerContext _ctx) { describeFabricOrganizationPeersResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.RequestId")); describeFabricOrganizationPeersResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationPeersResponse.Success")); describeFabricOrganizationPeersResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationPeersResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationPeersResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setUpdateTime(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].UpdateTime")); resultItem.setDomain(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].Domain")); resultItem.setInternetIp(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].InternetIp")); resultItem.setCreateTime(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].CreateTime")); resultItem.setIsAnchor(_ctx.booleanValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].IsAnchor")); resultItem.setInstanceType(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].InstanceType")); resultItem.setPort(_ctx.integerValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].Port")); resultItem.setOrganizationPeerName(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].OrganizationPeerName")); resultItem.setIntranetIp(_ctx.stringValue("DescribeFabricOrganizationPeersResponse.Result["+ i +"].IntranetIp")); result.add(resultItem); } describeFabricOrganizationPeersResponse.setResult(result); return describeFabricOrganizationPeersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationResponse.Result; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationResponse.Result.TagsItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationResponseUnmarshaller { public static DescribeFabricOrganizationResponse unmarshall(DescribeFabricOrganizationResponse describeFabricOrganizationResponse, UnmarshallerContext _ctx) { describeFabricOrganizationResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationResponse.RequestId")); describeFabricOrganizationResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationResponse.ErrorCode")); describeFabricOrganizationResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationResponse.Success")); Result result = new Result(); result.setDomain(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.Domain")); result.setPeerCount(_ctx.integerValue("DescribeFabricOrganizationResponse.Result.PeerCount")); result.setState(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.State")); result.setCreateTime(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.CreateTime")); result.setConsortiumCount(_ctx.integerValue("DescribeFabricOrganizationResponse.Result.ConsortiumCount")); result.setSpecName(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.SpecName")); result.setOwnerName(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.OwnerName")); result.setOwnerUid(_ctx.longValue("DescribeFabricOrganizationResponse.Result.OwnerUid")); result.setOwnerBid(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.OwnerBid")); result.setCodeName(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.CodeName")); result.setOrganizationDescription(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.OrganizationDescription")); result.setRegionId(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.RegionId")); result.setOrganizationId(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.OrganizationId")); result.setMSP(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.MSP")); result.setRequestId(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.RequestId")); result.setCAUrl(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.CAUrl")); result.setCANAME(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.CANAME")); result.setZoneId(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.ZoneId")); result.setUserCount(_ctx.integerValue("DescribeFabricOrganizationResponse.Result.UserCount")); result.setOrganizationName(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.OrganizationName")); List<TagsItem> tags = new ArrayList<TagsItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationResponse.Result.Tags.Length"); i++) { TagsItem tagsItem = new TagsItem(); tagsItem.setKey(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.Tags["+ i +"].Key")); tagsItem.setValue(_ctx.stringValue("DescribeFabricOrganizationResponse.Result.Tags["+ i +"].Value")); tags.add(tagsItem); } result.setTags(tags); describeFabricOrganizationResponse.setResult(result); return describeFabricOrganizationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationSpecsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationSpecsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationSpecsResponse.ClusterSpec; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationSpecsResponseUnmarshaller { public static DescribeFabricOrganizationSpecsResponse unmarshall(DescribeFabricOrganizationSpecsResponse describeFabricOrganizationSpecsResponse, UnmarshallerContext _ctx) { describeFabricOrganizationSpecsResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationSpecsResponse.RequestId")); describeFabricOrganizationSpecsResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationSpecsResponse.Success")); describeFabricOrganizationSpecsResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationSpecsResponse.ErrorCode")); List<ClusterSpec> result = new ArrayList<ClusterSpec>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationSpecsResponse.Result.Length"); i++) { ClusterSpec clusterSpec = new ClusterSpec(); clusterSpec.setTitle(_ctx.stringValue("DescribeFabricOrganizationSpecsResponse.Result["+ i +"].Title")); clusterSpec.setOrganizationSpecsName(_ctx.stringValue("DescribeFabricOrganizationSpecsResponse.Result["+ i +"].OrganizationSpecsName")); clusterSpec.setEnable(_ctx.booleanValue("DescribeFabricOrganizationSpecsResponse.Result["+ i +"].Enable")); result.add(clusterSpec); } describeFabricOrganizationSpecsResponse.setResult(result); return describeFabricOrganizationSpecsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationUsersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationUsersResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationUsersResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationUsersResponseUnmarshaller { public static DescribeFabricOrganizationUsersResponse unmarshall(DescribeFabricOrganizationUsersResponse describeFabricOrganizationUsersResponse, UnmarshallerContext _ctx) { describeFabricOrganizationUsersResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.RequestId")); describeFabricOrganizationUsersResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationUsersResponse.Success")); describeFabricOrganizationUsersResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationUsersResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationUsersResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setExpireTime(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].ExpireTime")); resultItem.setAttrs(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].Attrs")); resultItem.setCallerBid(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].CallerBid")); resultItem.setCreateTime(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].CreateTime")); resultItem.setFullName(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].FullName")); resultItem.setCallerUid(_ctx.longValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].CallerUid")); resultItem.setUsername(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].Username")); resultItem.setOrganizationId(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].OrganizationId")); resultItem.setRegionId(_ctx.stringValue("DescribeFabricOrganizationUsersResponse.Result["+ i +"].RegionId")); result.add(resultItem); } describeFabricOrganizationUsersResponse.setResult(result); return describeFabricOrganizationUsersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricOrganizationsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationsResponse; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationsResponse.ResultItem; import com.aliyuncs.baas.model.v20181221.DescribeFabricOrganizationsResponse.ResultItem.TagsItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricOrganizationsResponseUnmarshaller { public static DescribeFabricOrganizationsResponse unmarshall(DescribeFabricOrganizationsResponse describeFabricOrganizationsResponse, UnmarshallerContext _ctx) { describeFabricOrganizationsResponse.setRequestId(_ctx.stringValue("DescribeFabricOrganizationsResponse.RequestId")); describeFabricOrganizationsResponse.setErrorCode(_ctx.integerValue("DescribeFabricOrganizationsResponse.ErrorCode")); describeFabricOrganizationsResponse.setSuccess(_ctx.booleanValue("DescribeFabricOrganizationsResponse.Success")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeFabricOrganizationsResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setDomain(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].Domain")); resultItem.setPeerCount(_ctx.integerValue("DescribeFabricOrganizationsResponse.Result["+ i +"].PeerCount")); resultItem.setState(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].State")); resultItem.setCreateTime(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].CreateTime")); resultItem.setConsortiumCount(_ctx.integerValue("DescribeFabricOrganizationsResponse.Result["+ i +"].ConsortiumCount")); resultItem.setSpecName(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].SpecName")); resultItem.setOwnerName(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].OwnerName")); resultItem.setOwnerUid(_ctx.longValue("DescribeFabricOrganizationsResponse.Result["+ i +"].OwnerUid")); resultItem.setOwnerBid(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].OwnerBid")); resultItem.setCodeName(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].CodeName")); resultItem.setOrganizationDescription(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].OrganizationDescription")); resultItem.setRegionId(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].RegionId")); resultItem.setOrganizationId(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].OrganizationId")); resultItem.setRequestId(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].RequestId")); resultItem.setZoneId(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].ZoneId")); resultItem.setUserCount(_ctx.integerValue("DescribeFabricOrganizationsResponse.Result["+ i +"].UserCount")); resultItem.setOrganizationName(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].OrganizationName")); resultItem.setMajorVersion(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].MajorVersion")); List<TagsItem> tags = new ArrayList<TagsItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeFabricOrganizationsResponse.Result["+ i +"].Tags.Length"); j++) { TagsItem tagsItem = new TagsItem(); tagsItem.setKey(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].Tags["+ j +"].Key")); tagsItem.setValue(_ctx.stringValue("DescribeFabricOrganizationsResponse.Result["+ i +"].Tags["+ j +"].Value")); tags.add(tagsItem); } resultItem.setTags(tags); result.add(resultItem); } describeFabricOrganizationsResponse.setResult(result); return describeFabricOrganizationsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeFabricPeerLogsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeFabricPeerLogsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeFabricPeerLogsResponseUnmarshaller { public static DescribeFabricPeerLogsResponse unmarshall(DescribeFabricPeerLogsResponse describeFabricPeerLogsResponse, UnmarshallerContext _ctx) { describeFabricPeerLogsResponse.setRequestId(_ctx.stringValue("DescribeFabricPeerLogsResponse.RequestId")); describeFabricPeerLogsResponse.setResult(_ctx.stringValue("DescribeFabricPeerLogsResponse.Result")); describeFabricPeerLogsResponse.setSuccess(_ctx.booleanValue("DescribeFabricPeerLogsResponse.Success")); describeFabricPeerLogsResponse.setErrorCode(_ctx.integerValue("DescribeFabricPeerLogsResponse.ErrorCode")); return describeFabricPeerLogsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeRegionsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeRegionsResponse; import com.aliyuncs.baas.model.v20181221.DescribeRegionsResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeRegionsResponseUnmarshaller { public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) { describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId")); describeRegionsResponse.setSuccess(_ctx.booleanValue("DescribeRegionsResponse.Success")); describeRegionsResponse.setErrorCode(_ctx.integerValue("DescribeRegionsResponse.ErrorCode")); List<Result> regions = new ArrayList<Result>(); for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) { Result result = new Result(); result.setRegionEndpoint(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionEndpoint")); result.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName")); result.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId")); regions.add(result); } describeRegionsResponse.setRegions(regions); return describeRegionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeRootDomainResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.DescribeRootDomainResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeRootDomainResponseUnmarshaller { public static DescribeRootDomainResponse unmarshall(DescribeRootDomainResponse describeRootDomainResponse, UnmarshallerContext _ctx) { describeRootDomainResponse.setRequestId(_ctx.stringValue("DescribeRootDomainResponse.RequestId")); describeRootDomainResponse.setResult(_ctx.stringValue("DescribeRootDomainResponse.Result")); describeRootDomainResponse.setSuccess(_ctx.booleanValue("DescribeRootDomainResponse.Success")); describeRootDomainResponse.setErrorCode(_ctx.integerValue("DescribeRootDomainResponse.ErrorCode")); return describeRootDomainResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DescribeTasksResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DescribeTasksResponse; import com.aliyuncs.baas.model.v20181221.DescribeTasksResponse.Task; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeTasksResponseUnmarshaller { public static DescribeTasksResponse unmarshall(DescribeTasksResponse describeTasksResponse, UnmarshallerContext _ctx) { describeTasksResponse.setRequestId(_ctx.stringValue("DescribeTasksResponse.RequestId")); describeTasksResponse.setDynamicMessage(_ctx.stringValue("DescribeTasksResponse.DynamicMessage")); describeTasksResponse.setErrorCode(_ctx.integerValue("DescribeTasksResponse.ErrorCode")); describeTasksResponse.setSuccess(_ctx.booleanValue("DescribeTasksResponse.Success")); describeTasksResponse.setDynamicCode(_ctx.stringValue("DescribeTasksResponse.DynamicCode")); List<Task> result = new ArrayList<Task>(); for (int i = 0; i < _ctx.lengthValue("DescribeTasksResponse.Result.Length"); i++) { Task task = new Task(); task.setAction(_ctx.stringValue("DescribeTasksResponse.Result["+ i +"].Action")); task.setResult(_ctx.stringValue("DescribeTasksResponse.Result["+ i +"].Result")); task.setSender(_ctx.stringValue("DescribeTasksResponse.Result["+ i +"].Sender")); task.setOperationType(_ctx.stringValue("DescribeTasksResponse.Result["+ i +"].OperationType")); task.setHandled(_ctx.booleanValue("DescribeTasksResponse.Result["+ i +"].Handled")); task.setResponseTime(_ctx.stringValue("DescribeTasksResponse.Result["+ i +"].ResponseTime")); task.setTarget(_ctx.stringValue("DescribeTasksResponse.Result["+ i +"].Target")); task.setTaskId(_ctx.integerValue("DescribeTasksResponse.Result["+ i +"].TaskId")); task.setRequestTime(_ctx.longValue("DescribeTasksResponse.Result["+ i +"].RequestTime")); result.add(task); } describeTasksResponse.setResult(result); return describeTasksResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/DownloadFabricOrganizationSDKResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.DownloadFabricOrganizationSDKResponse; import com.aliyuncs.baas.model.v20181221.DownloadFabricOrganizationSDKResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class DownloadFabricOrganizationSDKResponseUnmarshaller { public static DownloadFabricOrganizationSDKResponse unmarshall(DownloadFabricOrganizationSDKResponse downloadFabricOrganizationSDKResponse, UnmarshallerContext _ctx) { downloadFabricOrganizationSDKResponse.setRequestId(_ctx.stringValue("DownloadFabricOrganizationSDKResponse.RequestId")); downloadFabricOrganizationSDKResponse.setSuccess(_ctx.booleanValue("DownloadFabricOrganizationSDKResponse.Success")); downloadFabricOrganizationSDKResponse.setErrorCode(_ctx.integerValue("DownloadFabricOrganizationSDKResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("DownloadFabricOrganizationSDKResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setPath(_ctx.stringValue("DownloadFabricOrganizationSDKResponse.Result["+ i +"].Path")); resultItem.setContent(_ctx.stringValue("DownloadFabricOrganizationSDKResponse.Result["+ i +"].Content")); result.add(resultItem); } downloadFabricOrganizationSDKResponse.setResult(result); return downloadFabricOrganizationSDKResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/FreezeAntChainAccountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.FreezeAntChainAccountResponse; import com.aliyuncs.transform.UnmarshallerContext; public class FreezeAntChainAccountResponseUnmarshaller { public static FreezeAntChainAccountResponse unmarshall(FreezeAntChainAccountResponse freezeAntChainAccountResponse, UnmarshallerContext _ctx) { freezeAntChainAccountResponse.setRequestId(_ctx.stringValue("FreezeAntChainAccountResponse.RequestId")); freezeAntChainAccountResponse.setResult(_ctx.stringValue("FreezeAntChainAccountResponse.Result")); return freezeAntChainAccountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/InstallFabricChaincodePackageResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.InstallFabricChaincodePackageResponse; import com.aliyuncs.baas.model.v20181221.InstallFabricChaincodePackageResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class InstallFabricChaincodePackageResponseUnmarshaller { public static InstallFabricChaincodePackageResponse unmarshall(InstallFabricChaincodePackageResponse installFabricChaincodePackageResponse, UnmarshallerContext _ctx) { installFabricChaincodePackageResponse.setRequestId(_ctx.stringValue("InstallFabricChaincodePackageResponse.RequestId")); installFabricChaincodePackageResponse.setMessage(_ctx.stringValue("InstallFabricChaincodePackageResponse.Message")); installFabricChaincodePackageResponse.setSuccess(_ctx.booleanValue("InstallFabricChaincodePackageResponse.Success")); installFabricChaincodePackageResponse.setErrorCode(_ctx.integerValue("InstallFabricChaincodePackageResponse.ErrorCode")); Result result = new Result(); result.setOrganizationId(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.OrganizationId")); result.setLabel(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.Label")); result.setChecksum(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.Checksum")); result.setChaincodePackageId(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.ChaincodePackageId")); result.setMd5sum(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.Md5sum")); result.setProviderUid(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.ProviderUid")); result.setProviderBid(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.ProviderBid")); result.setType(_ctx.integerValue("InstallFabricChaincodePackageResponse.Result.Type")); result.setTypeName(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.TypeName")); result.setUploadTime(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.UploadTime")); result.setInstallTime(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.InstallTime")); result.setState(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.State")); result.setOssURL(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.OssURL")); result.setDeleteTime(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.DeleteTime")); result.setDeleted(_ctx.booleanValue("InstallFabricChaincodePackageResponse.Result.Deleted")); result.setMessage(_ctx.stringValue("InstallFabricChaincodePackageResponse.Result.Message")); installFabricChaincodePackageResponse.setResult(result); return installFabricChaincodePackageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/InstallFabricChaincodeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.InstallFabricChaincodeResponse; import com.aliyuncs.baas.model.v20181221.InstallFabricChaincodeResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class InstallFabricChaincodeResponseUnmarshaller { public static InstallFabricChaincodeResponse unmarshall(InstallFabricChaincodeResponse installFabricChaincodeResponse, UnmarshallerContext _ctx) { installFabricChaincodeResponse.setRequestId(_ctx.stringValue("InstallFabricChaincodeResponse.RequestId")); installFabricChaincodeResponse.setSuccess(_ctx.booleanValue("InstallFabricChaincodeResponse.Success")); installFabricChaincodeResponse.setErrorCode(_ctx.integerValue("InstallFabricChaincodeResponse.ErrorCode")); Result result = new Result(); result.setType(_ctx.integerValue("InstallFabricChaincodeResponse.Result.Type")); result.setEndorsePolicy(_ctx.stringValue("InstallFabricChaincodeResponse.Result.EndorsePolicy")); result.setState(_ctx.stringValue("InstallFabricChaincodeResponse.Result.State")); result.setCreateTime(_ctx.stringValue("InstallFabricChaincodeResponse.Result.CreateTime")); result.setChaincodeId(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ChaincodeId")); result.setProviderName(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ProviderName")); result.setMessage(_ctx.stringValue("InstallFabricChaincodeResponse.Result.Message")); result.setChaincodeName(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ChaincodeName")); result.setInput(_ctx.stringValue("InstallFabricChaincodeResponse.Result.Input")); result.setInstall(_ctx.booleanValue("InstallFabricChaincodeResponse.Result.Install")); result.setProviderId(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ProviderId")); result.setDeployTime(_ctx.stringValue("InstallFabricChaincodeResponse.Result.DeployTime")); result.setChaincodeVersion(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ChaincodeVersion")); result.setConsortiumId(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ConsortiumId")); result.setChannelName(_ctx.stringValue("InstallFabricChaincodeResponse.Result.ChannelName")); result.setPath(_ctx.stringValue("InstallFabricChaincodeResponse.Result.Path")); installFabricChaincodeResponse.setResult(result); return installFabricChaincodeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/InstantiateFabricChaincodeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.InstantiateFabricChaincodeResponse; import com.aliyuncs.baas.model.v20181221.InstantiateFabricChaincodeResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class InstantiateFabricChaincodeResponseUnmarshaller { public static InstantiateFabricChaincodeResponse unmarshall(InstantiateFabricChaincodeResponse instantiateFabricChaincodeResponse, UnmarshallerContext _ctx) { instantiateFabricChaincodeResponse.setRequestId(_ctx.stringValue("InstantiateFabricChaincodeResponse.RequestId")); instantiateFabricChaincodeResponse.setSuccess(_ctx.booleanValue("InstantiateFabricChaincodeResponse.Success")); instantiateFabricChaincodeResponse.setErrorCode(_ctx.integerValue("InstantiateFabricChaincodeResponse.ErrorCode")); Result result = new Result(); result.setType(_ctx.integerValue("InstantiateFabricChaincodeResponse.Result.Type")); result.setEndorsePolicy(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.EndorsePolicy")); result.setState(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.State")); result.setCreateTime(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.CreateTime")); result.setChaincodeId(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ChaincodeId")); result.setProviderName(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ProviderName")); result.setMessage(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.Message")); result.setChaincodeName(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ChaincodeName")); result.setInput(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.Input")); result.setInstall(_ctx.booleanValue("InstantiateFabricChaincodeResponse.Result.Install")); result.setProviderId(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ProviderId")); result.setDeployTime(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.DeployTime")); result.setChaincodeVersion(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ChaincodeVersion")); result.setConsortiumId(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ConsortiumId")); result.setChannelName(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.ChannelName")); result.setPath(_ctx.stringValue("InstantiateFabricChaincodeResponse.Result.Path")); instantiateFabricChaincodeResponse.setResult(result); return instantiateFabricChaincodeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/JoinFabricChannelResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.JoinFabricChannelResponse; import com.aliyuncs.baas.model.v20181221.JoinFabricChannelResponse.ResultItem; import com.aliyuncs.transform.UnmarshallerContext; public class JoinFabricChannelResponseUnmarshaller { public static JoinFabricChannelResponse unmarshall(JoinFabricChannelResponse joinFabricChannelResponse, UnmarshallerContext _ctx) { joinFabricChannelResponse.setRequestId(_ctx.stringValue("JoinFabricChannelResponse.RequestId")); joinFabricChannelResponse.setSuccess(_ctx.booleanValue("JoinFabricChannelResponse.Success")); joinFabricChannelResponse.setErrorCode(_ctx.integerValue("JoinFabricChannelResponse.ErrorCode")); List<ResultItem> result = new ArrayList<ResultItem>(); for (int i = 0; i < _ctx.lengthValue("JoinFabricChannelResponse.Result.Length"); i++) { ResultItem resultItem = new ResultItem(); resultItem.setWithPeer(_ctx.booleanValue("JoinFabricChannelResponse.Result["+ i +"].WithPeer")); resultItem.setAcceptTime(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].AcceptTime")); resultItem.setState(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].State")); resultItem.setDestroyTime(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].DestroyTime")); resultItem.setInviteTime(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].InviteTime")); resultItem.setChannelId(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].ChannelId")); resultItem.setConfirmTime(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].ConfirmTime")); resultItem.setApproveTime(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].ApproveTime")); resultItem.setOrganizationId(_ctx.stringValue("JoinFabricChannelResponse.Result["+ i +"].OrganizationId")); result.add(resultItem); } joinFabricChannelResponse.setResult(result); return joinFabricChannelResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/ListTagResourcesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import java.util.ArrayList; import java.util.List; import com.aliyuncs.baas.model.v20181221.ListTagResourcesResponse; import com.aliyuncs.baas.model.v20181221.ListTagResourcesResponse.TagResource; import com.aliyuncs.transform.UnmarshallerContext; public class ListTagResourcesResponseUnmarshaller { public static ListTagResourcesResponse unmarshall(ListTagResourcesResponse listTagResourcesResponse, UnmarshallerContext _ctx) { listTagResourcesResponse.setRequestId(_ctx.stringValue("ListTagResourcesResponse.RequestId")); listTagResourcesResponse.setNextToken(_ctx.stringValue("ListTagResourcesResponse.NextToken")); List<TagResource> tagResources = new ArrayList<TagResource>(); for (int i = 0; i < _ctx.lengthValue("ListTagResourcesResponse.TagResources.Length"); i++) { TagResource tagResource = new TagResource(); tagResource.setTagValue(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagValue")); tagResource.setResourceType(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceType")); tagResource.setResourceId(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceId")); tagResource.setTagKey(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagKey")); tagResources.add(tagResource); } listTagResourcesResponse.setTagResources(tagResources); return listTagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/ResetAntChainCertificateResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.ResetAntChainCertificateResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ResetAntChainCertificateResponseUnmarshaller { public static ResetAntChainCertificateResponse unmarshall(ResetAntChainCertificateResponse resetAntChainCertificateResponse, UnmarshallerContext _ctx) { resetAntChainCertificateResponse.setRequestId(_ctx.stringValue("ResetAntChainCertificateResponse.RequestId")); resetAntChainCertificateResponse.setResult(_ctx.stringValue("ResetAntChainCertificateResponse.Result")); return resetAntChainCertificateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/ResetAntChainUserCertificateResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.ResetAntChainUserCertificateResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ResetAntChainUserCertificateResponseUnmarshaller { public static ResetAntChainUserCertificateResponse unmarshall(ResetAntChainUserCertificateResponse resetAntChainUserCertificateResponse, UnmarshallerContext _ctx) { resetAntChainUserCertificateResponse.setRequestId(_ctx.stringValue("ResetAntChainUserCertificateResponse.RequestId")); resetAntChainUserCertificateResponse.setResult(_ctx.stringValue("ResetAntChainUserCertificateResponse.Result")); return resetAntChainUserCertificateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/ResetFabricOrganizationUserPasswordResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.ResetFabricOrganizationUserPasswordResponse; import com.aliyuncs.baas.model.v20181221.ResetFabricOrganizationUserPasswordResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class ResetFabricOrganizationUserPasswordResponseUnmarshaller { public static ResetFabricOrganizationUserPasswordResponse unmarshall(ResetFabricOrganizationUserPasswordResponse resetFabricOrganizationUserPasswordResponse, UnmarshallerContext _ctx) { resetFabricOrganizationUserPasswordResponse.setRequestId(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.RequestId")); resetFabricOrganizationUserPasswordResponse.setSuccess(_ctx.booleanValue("ResetFabricOrganizationUserPasswordResponse.Success")); resetFabricOrganizationUserPasswordResponse.setErrorCode(_ctx.integerValue("ResetFabricOrganizationUserPasswordResponse.ErrorCode")); Result result = new Result(); result.setPassword(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.Result.Password")); result.setExpireTime(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.Result.ExpireTime")); result.setCreateTime(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.Result.CreateTime")); result.setOrganizationId(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.Result.OrganizationId")); result.setUsername(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.Result.Username")); result.setFullname(_ctx.stringValue("ResetFabricOrganizationUserPasswordResponse.Result.Fullname")); resetFabricOrganizationUserPasswordResponse.setResult(result); return resetFabricOrganizationUserPasswordResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/SubmitFabricChaincodeDefinitionResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.SubmitFabricChaincodeDefinitionResponse; import com.aliyuncs.baas.model.v20181221.SubmitFabricChaincodeDefinitionResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class SubmitFabricChaincodeDefinitionResponseUnmarshaller { public static SubmitFabricChaincodeDefinitionResponse unmarshall(SubmitFabricChaincodeDefinitionResponse submitFabricChaincodeDefinitionResponse, UnmarshallerContext _ctx) { submitFabricChaincodeDefinitionResponse.setRequestId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.RequestId")); submitFabricChaincodeDefinitionResponse.setMessage(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Message")); submitFabricChaincodeDefinitionResponse.setSuccess(_ctx.booleanValue("SubmitFabricChaincodeDefinitionResponse.Success")); submitFabricChaincodeDefinitionResponse.setErrorCode(_ctx.integerValue("SubmitFabricChaincodeDefinitionResponse.ErrorCode")); Result result = new Result(); result.setName(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.Name")); result.setVersion(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.Version")); result.setInput(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.Input")); result.setType(_ctx.integerValue("SubmitFabricChaincodeDefinitionResponse.Result.Type")); result.setState(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.State")); result.setPath(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.Path")); result.setChaincodeId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ChaincodeId")); result.setInstall(_ctx.booleanValue("SubmitFabricChaincodeDefinitionResponse.Result.Install")); result.setMessage(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.Message")); result.setCreateTime(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.CreateTime")); result.setDeployTime(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.DeployTime")); result.setChannelName(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ChannelName")); result.setEndorsePolicy(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.EndorsePolicy")); result.setConsortiumId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ConsortiumId")); result.setProviderId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ProviderId")); result.setProviderName(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ProviderName")); result.setChannelId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ChannelId")); result.setManagement(_ctx.booleanValue("SubmitFabricChaincodeDefinitionResponse.Result.Management")); result.setChaincodePackageId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ChaincodePackageId")); result.setInitRequired(_ctx.booleanValue("SubmitFabricChaincodeDefinitionResponse.Result.InitRequired")); result.setChaincodeDefinitionId(_ctx.stringValue("SubmitFabricChaincodeDefinitionResponse.Result.ChaincodeDefinitionId")); submitFabricChaincodeDefinitionResponse.setResult(result); return submitFabricChaincodeDefinitionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/SynchronizeFabricChaincodeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.SynchronizeFabricChaincodeResponse; import com.aliyuncs.baas.model.v20181221.SynchronizeFabricChaincodeResponse.Result; import com.aliyuncs.transform.UnmarshallerContext; public class SynchronizeFabricChaincodeResponseUnmarshaller { public static SynchronizeFabricChaincodeResponse unmarshall(SynchronizeFabricChaincodeResponse synchronizeFabricChaincodeResponse, UnmarshallerContext _ctx) { synchronizeFabricChaincodeResponse.setRequestId(_ctx.stringValue("SynchronizeFabricChaincodeResponse.RequestId")); synchronizeFabricChaincodeResponse.setSuccess(_ctx.booleanValue("SynchronizeFabricChaincodeResponse.Success")); synchronizeFabricChaincodeResponse.setErrorCode(_ctx.integerValue("SynchronizeFabricChaincodeResponse.ErrorCode")); Result result = new Result(); result.setType(_ctx.integerValue("SynchronizeFabricChaincodeResponse.Result.Type")); result.setEndorsePolicy(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.EndorsePolicy")); result.setState(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.State")); result.setCreateTime(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.CreateTime")); result.setChaincodeId(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ChaincodeId")); result.setProviderName(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ProviderName")); result.setMessage(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.Message")); result.setChaincodeName(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ChaincodeName")); result.setInput(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.Input")); result.setInstall(_ctx.booleanValue("SynchronizeFabricChaincodeResponse.Result.Install")); result.setProviderId(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ProviderId")); result.setDeployTime(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.DeployTime")); result.setChaincodeVersion(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ChaincodeVersion")); result.setConsortiumId(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ConsortiumId")); result.setChannelName(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.ChannelName")); result.setPath(_ctx.stringValue("SynchronizeFabricChaincodeResponse.Result.Path")); synchronizeFabricChaincodeResponse.setResult(result); return synchronizeFabricChaincodeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/TagResourcesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.TagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TagResourcesResponseUnmarshaller { public static TagResourcesResponse unmarshall(TagResourcesResponse tagResourcesResponse, UnmarshallerContext _ctx) { tagResourcesResponse.setRequestId(_ctx.stringValue("TagResourcesResponse.RequestId")); tagResourcesResponse.setResult(_ctx.booleanValue("TagResourcesResponse.Result")); tagResourcesResponse.setSuccess(_ctx.booleanValue("TagResourcesResponse.Success")); tagResourcesResponse.setErrorCode(_ctx.integerValue("TagResourcesResponse.ErrorCode")); return tagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/UnfreezeAntChainAccountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.UnfreezeAntChainAccountResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UnfreezeAntChainAccountResponseUnmarshaller { public static UnfreezeAntChainAccountResponse unmarshall(UnfreezeAntChainAccountResponse unfreezeAntChainAccountResponse, UnmarshallerContext _ctx) { unfreezeAntChainAccountResponse.setRequestId(_ctx.stringValue("UnfreezeAntChainAccountResponse.RequestId")); unfreezeAntChainAccountResponse.setResult(_ctx.stringValue("UnfreezeAntChainAccountResponse.Result")); return unfreezeAntChainAccountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/UntagResourcesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.UntagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UntagResourcesResponseUnmarshaller { public static UntagResourcesResponse unmarshall(UntagResourcesResponse untagResourcesResponse, UnmarshallerContext _ctx) { untagResourcesResponse.setRequestId(_ctx.stringValue("UntagResourcesResponse.RequestId")); untagResourcesResponse.setResult(_ctx.booleanValue("UntagResourcesResponse.Result")); untagResourcesResponse.setSuccess(_ctx.booleanValue("UntagResourcesResponse.Success")); untagResourcesResponse.setErrorCode(_ctx.integerValue("UntagResourcesResponse.ErrorCode")); return untagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/UpdateAntChainConsortiumResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.UpdateAntChainConsortiumResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateAntChainConsortiumResponseUnmarshaller { public static UpdateAntChainConsortiumResponse unmarshall(UpdateAntChainConsortiumResponse updateAntChainConsortiumResponse, UnmarshallerContext _ctx) { updateAntChainConsortiumResponse.setRequestId(_ctx.stringValue("UpdateAntChainConsortiumResponse.RequestId")); updateAntChainConsortiumResponse.setResult(_ctx.stringValue("UpdateAntChainConsortiumResponse.Result")); return updateAntChainConsortiumResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform
java-sources/com/aliyun/aliyun-java-sdk-baas/2.2.3/com/aliyuncs/baas/transform/v20181221/UpdateAntChainContractContentResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.baas.transform.v20181221; import com.aliyuncs.baas.model.v20181221.UpdateAntChainContractContentResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateAntChainContractContentResponseUnmarshaller { public static UpdateAntChainContractContentResponse unmarshall(UpdateAntChainContractContentResponse updateAntChainContractContentResponse, UnmarshallerContext _ctx) { updateAntChainContractContentResponse.setRequestId(_ctx.stringValue("UpdateAntChainContractContentResponse.RequestId")); updateAntChainContractContentResponse.setResult(_ctx.stringValue("UpdateAntChainContractContentResponse.Result")); return updateAntChainContractContentResponse; } }