index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/openapi/sdk
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/openapi/sdk/entity/Tag.java
|
package com.aliyuncs.cloudapi.openapi.sdk.entity;
/**
*/
public class Tag {
private String value;
private String key;
public Tag() {
}
public Tag(String key, String value) {
this.value = value;
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AbolishApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AbolishApiResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AbolishApiResponseUnmarshaller {
public static AbolishApiResponse unmarshall(AbolishApiResponse abolishApiResponse, UnmarshallerContext context) {
abolishApiResponse.setRequestId(context.stringValue("AbolishApiResponse.RequestId"));
return abolishApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AcquireGatewayTokenUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AbolishApiResponse;
import com.aliyuncs.cloudapi.model.v20160714.AcquireGatewayTokenResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AcquireGatewayTokenUnmarshaller {
public static AcquireGatewayTokenResponse unmarshall(AcquireGatewayTokenResponse acquireGatewayTokenResponse, UnmarshallerContext context) {
acquireGatewayTokenResponse.setRequestId(context.stringValue("AcquireGatewayTokenResponse.RequestId"));
acquireGatewayTokenResponse.setToken(context.stringValue("AcquireGatewayTokenResponse.Token"));
return acquireGatewayTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AddCatalogRelationResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AddCatalogRelationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddCatalogRelationResponseUnmarshaller {
public static AddCatalogRelationResponse unmarshall(AddCatalogRelationResponse addCatalogRelationResponse, UnmarshallerContext context) {
addCatalogRelationResponse.setRequestId(context.stringValue("AddCatalogRelationResponse.RequestId"));
return addCatalogRelationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AddCatalogRelationsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AddCatalogRelationsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddCatalogRelationsResponseUnmarshaller {
public static AddCatalogRelationsResponse unmarshall(AddCatalogRelationsResponse addCatalogRelationsResponse, UnmarshallerContext context) {
addCatalogRelationsResponse.setRequestId(context.stringValue("AddCatalogRelationsResponse.RequestId"));
return addCatalogRelationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AddIpControlPolicyItemResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AddIpControlPolicyItemResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddIpControlPolicyItemResponseUnmarshaller {
public static AddIpControlPolicyItemResponse unmarshall(AddIpControlPolicyItemResponse addIpControlPolicyItemResponse, UnmarshallerContext context) {
addIpControlPolicyItemResponse.setRequestId(context.stringValue("AddIpControlPolicyItemResponse.RequestId"));
addIpControlPolicyItemResponse.setPolicyItemId(context.stringValue("AddIpControlPolicyItemResponse.PolicyItemId"));
return addIpControlPolicyItemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AddTrafficSpecialControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AddTrafficSpecialControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddTrafficSpecialControlResponseUnmarshaller {
public static AddTrafficSpecialControlResponse unmarshall(AddTrafficSpecialControlResponse addTrafficSpecialControlResponse, UnmarshallerContext context) {
addTrafficSpecialControlResponse.setRequestId(context.stringValue("AddTrafficSpecialControlResponse.RequestId"));
return addTrafficSpecialControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/AttachPluginResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AttachPluginResponse;
import com.aliyuncs.cloudapi.model.v20160714.CreatePluginResponse;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
*/
public class AttachPluginResponseUnmarshaller {
public static AttachPluginResponse unmarshall(AttachPluginResponse attachPluginResponse, UnmarshallerContext context) {
attachPluginResponse.setRequestId(context.stringValue("AttachPluginResponse.RequestId"));
return attachPluginResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ClearCatalogRelationsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ClearCatalogRelationsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ClearCatalogRelationsResponseUnmarshaller {
public static ClearCatalogRelationsResponse unmarshall(ClearCatalogRelationsResponse clearCatalogRelationsResponse, UnmarshallerContext context) {
clearCatalogRelationsResponse.setRequestId(context.stringValue("ClearCatalogRelationsResponse.RequestId"));
return clearCatalogRelationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateApiGroupResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateApiGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateApiGroupResponseUnmarshaller {
public static CreateApiGroupResponse unmarshall(CreateApiGroupResponse createApiGroupResponse, UnmarshallerContext context) {
createApiGroupResponse.setRequestId(context.stringValue("CreateApiGroupResponse.RequestId"));
createApiGroupResponse.setGroupId(context.stringValue("CreateApiGroupResponse.GroupId"));
createApiGroupResponse.setGroupName(context.stringValue("CreateApiGroupResponse.GroupName"));
createApiGroupResponse.setSubDomain(context.stringValue("CreateApiGroupResponse.SubDomain"));
createApiGroupResponse.setDescription(context.stringValue("CreateApiGroupResponse.Description"));
return createApiGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateApiResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateApiResponseUnmarshaller {
public static CreateApiResponse unmarshall(CreateApiResponse createApiResponse, UnmarshallerContext context) {
createApiResponse.setRequestId(context.stringValue("CreateApiResponse.RequestId"));
createApiResponse.setApiId(context.stringValue("CreateApiResponse.ApiId"));
return createApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateApiStageVariableResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateApiStageVariableResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateApiStageVariableResponseUnmarshaller {
public static CreateApiStageVariableResponse unmarshall(CreateApiStageVariableResponse createApiStageVariableResponse, UnmarshallerContext context) {
createApiStageVariableResponse.setRequestId(context.stringValue("CreateApiStageVariableResponse.RequestId"));
return createApiStageVariableResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateAppResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAppResponseUnmarshaller {
public static CreateAppResponse unmarshall(CreateAppResponse createAppResponse, UnmarshallerContext context) {
createAppResponse.setRequestId(context.stringValue("CreateAppResponse.RequestId"));
createAppResponse.setAppId(context.longValue("CreateAppResponse.AppId"));
return createAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateCatalogResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateCatalogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateCatalogResponseUnmarshaller {
public static CreateCatalogResponse unmarshall(CreateCatalogResponse createCatalogResponse, UnmarshallerContext context) {
createCatalogResponse.setRequestId(context.stringValue("CreateCatalogResponse.RequestId"));
createCatalogResponse.setCatalogId(context.stringValue("CreateCatalogResponse.CatalogId"));
return createCatalogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateInstanceResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateInstanceResponseUnmarshaller {
public static CreateInstanceResponse unmarshall(CreateInstanceResponse createInstanceResponse, UnmarshallerContext context) {
createInstanceResponse.setRequestId(context.stringValue("CreateInstanceResponse.RequestId"));
createInstanceResponse.setInstanceId(context.stringValue("CreateInstanceResponse.InstanceId"));
return createInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateIntranetDomainResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateIntranetDomainResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateIntranetDomainResponseUnmarshaller {
public static CreateIntranetDomainResponse unmarshall(CreateIntranetDomainResponse createIntranetDomainResponse, UnmarshallerContext context) {
createIntranetDomainResponse.setRequestId(context.stringValue("CreateIntranetDomainResponse.RequestId"));
createIntranetDomainResponse.setDomainName(context.stringValue("CreateIntranetDomainResponse.DomainName"));
return createIntranetDomainResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateIpControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateIpControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateIpControlResponseUnmarshaller {
public static CreateIpControlResponse unmarshall(CreateIpControlResponse createIpControlResponse, UnmarshallerContext context) {
createIpControlResponse.setRequestId(context.stringValue("CreateIpControlResponse.RequestId"));
createIpControlResponse.setIpControlId(context.stringValue("CreateIpControlResponse.IpControlId"));
return createIpControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateLogConfigResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateLogConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateLogConfigResponseUnmarshaller {
public static CreateLogConfigResponse unmarshall(CreateLogConfigResponse createLogConfigResponse, UnmarshallerContext context) {
createLogConfigResponse.setRequestId(context.stringValue("CreateLogConfigResponse.RequestId"));
return createLogConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateModelResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateModelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateModelResponseUnmarshaller {
public static CreateModelResponse unmarshall(CreateModelResponse createModelResponse, UnmarshallerContext context) {
createModelResponse.setRequestId(context.stringValue("CreateModelResponse.RequestId"));
createModelResponse.setModelId(context.stringValue("CreateModelResponse.ModelId"));
createModelResponse.setModelRef(context.stringValue("CreateModelResponse.ModelRef"));
createModelResponse.setModelName(context.stringValue("CreateModelResponse.ModelName"));
createModelResponse.setGroupId(context.stringValue("CreateModelResponse.GroupId"));
createModelResponse.setSchema(context.stringValue("CreateModelResponse.Schema"));
createModelResponse.setRegionId(context.stringValue("CreateModelResponse.RegionId"));
createModelResponse.setDescription(context.stringValue("CreateModelResponse.Description"));
createModelResponse.setCreatedTime(context.stringValue("CreateModelResponse.CreatedTime"));
createModelResponse.setModifiedTime(context.stringValue("CreateModelResponse.ModifiedTime"));
return createModelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreatePluginResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreatePluginResponse;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
*
*/
public class CreatePluginResponseUnmarshaller {
public static CreatePluginResponse unmarshall(CreatePluginResponse createPluginResponse, UnmarshallerContext context) {
createPluginResponse.setRequestId(context.stringValue("CreatePluginResponse.RequestId"));
createPluginResponse.setPluginId(context.stringValue("CreatePluginResponse.PluginId"));
return createPluginResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateSignatureResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateSignatureResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateSignatureResponseUnmarshaller {
public static CreateSignatureResponse unmarshall(CreateSignatureResponse createSignatureResponse, UnmarshallerContext context) {
createSignatureResponse.setRequestId(context.stringValue("CreateSignatureResponse.RequestId"));
createSignatureResponse.setSignatureId(context.stringValue("CreateSignatureResponse.SignatureId"));
createSignatureResponse.setSignatureName(context.stringValue("CreateSignatureResponse.SignatureName"));
return createSignatureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/CreateTrafficControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.CreateTrafficControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTrafficControlResponseUnmarshaller {
public static CreateTrafficControlResponse unmarshall(CreateTrafficControlResponse createTrafficControlResponse, UnmarshallerContext context) {
createTrafficControlResponse.setRequestId(context.stringValue("CreateTrafficControlResponse.RequestId"));
createTrafficControlResponse.setTrafficControlId(context.stringValue("CreateTrafficControlResponse.TrafficControlId"));
return createTrafficControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteAllTrafficSpecialControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteAllTrafficSpecialControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAllTrafficSpecialControlResponseUnmarshaller {
public static DeleteAllTrafficSpecialControlResponse unmarshall(DeleteAllTrafficSpecialControlResponse deleteAllTrafficSpecialControlResponse, UnmarshallerContext context) {
deleteAllTrafficSpecialControlResponse.setRequestId(context.stringValue("DeleteAllTrafficSpecialControlResponse.RequestId"));
return deleteAllTrafficSpecialControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteApiGroupResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteApiGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteApiGroupResponseUnmarshaller {
public static DeleteApiGroupResponse unmarshall(DeleteApiGroupResponse deleteApiGroupResponse, UnmarshallerContext context) {
deleteApiGroupResponse.setRequestId(context.stringValue("DeleteApiGroupResponse.RequestId"));
return deleteApiGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteApiResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteApiResponseUnmarshaller {
public static DeleteApiResponse unmarshall(DeleteApiResponse deleteApiResponse, UnmarshallerContext context) {
deleteApiResponse.setRequestId(context.stringValue("DeleteApiResponse.RequestId"));
return deleteApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteApiStageVariableResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteApiStageVariableResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteApiStageVariableResponseUnmarshaller {
public static DeleteApiStageVariableResponse unmarshall(DeleteApiStageVariableResponse deleteApiStageVariableResponse, UnmarshallerContext context) {
deleteApiStageVariableResponse.setRequestId(context.stringValue("DeleteApiStageVariableResponse.RequestId"));
return deleteApiStageVariableResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteAppResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAppResponseUnmarshaller {
public static DeleteAppResponse unmarshall(DeleteAppResponse deleteAppResponse, UnmarshallerContext context) {
deleteAppResponse.setRequestId(context.stringValue("DeleteAppResponse.RequestId"));
return deleteAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteCatalogResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteCatalogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteCatalogResponseUnmarshaller {
public static DeleteCatalogResponse unmarshall(DeleteCatalogResponse deleteCatalogResponse, UnmarshallerContext context) {
deleteCatalogResponse.setRequestId(context.stringValue("DeleteCatalogResponse.RequestId"));
return deleteCatalogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteDomainCertificateResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteDomainCertificateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDomainCertificateResponseUnmarshaller {
public static DeleteDomainCertificateResponse unmarshall(DeleteDomainCertificateResponse deleteDomainCertificateResponse, UnmarshallerContext context) {
deleteDomainCertificateResponse.setRequestId(context.stringValue("DeleteDomainCertificateResponse.RequestId"));
return deleteDomainCertificateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteDomainResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteDomainResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDomainResponseUnmarshaller {
public static DeleteDomainResponse unmarshall(DeleteDomainResponse deleteDomainResponse, UnmarshallerContext context) {
deleteDomainResponse.setRequestId(context.stringValue("DeleteDomainResponse.RequestId"));
return deleteDomainResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteInstanceResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteInstanceResponseUnmarshaller {
public static DeleteInstanceResponse unmarshall(DeleteInstanceResponse deleteInstanceResponse, UnmarshallerContext context) {
deleteInstanceResponse.setRequestId(context.stringValue("DeleteInstanceResponse.RequestId"));
return deleteInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteIpControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteIpControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteIpControlResponseUnmarshaller {
public static DeleteIpControlResponse unmarshall(DeleteIpControlResponse deleteIpControlResponse, UnmarshallerContext context) {
deleteIpControlResponse.setRequestId(context.stringValue("DeleteIpControlResponse.RequestId"));
return deleteIpControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteLogConfigResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteLogConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteLogConfigResponseUnmarshaller {
public static DeleteLogConfigResponse unmarshall(DeleteLogConfigResponse deleteLogConfigResponse, UnmarshallerContext context) {
deleteLogConfigResponse.setRequestId(context.stringValue("DeleteLogConfigResponse.RequestId"));
return deleteLogConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteModelResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteModelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteModelResponseUnmarshaller {
public static DeleteModelResponse unmarshall(DeleteModelResponse deleteModelResponse, UnmarshallerContext context) {
deleteModelResponse.setRequestId(context.stringValue("DeleteModelResponse.RequestId"));
return deleteModelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeletePluginResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AttachPluginResponse;
import com.aliyuncs.cloudapi.model.v20160714.DeletePluginResponse;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
*
*/
public class DeletePluginResponseUnmarshaller {
public static DeletePluginResponse unmarshall(DeletePluginResponse deletePluginResponse, UnmarshallerContext context) {
deletePluginResponse.setRequestId(context.stringValue("DeletePluginResponse.RequestId"));
return deletePluginResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteSignatureResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteSignatureResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteSignatureResponseUnmarshaller {
public static DeleteSignatureResponse unmarshall(DeleteSignatureResponse deleteSignatureResponse, UnmarshallerContext context) {
deleteSignatureResponse.setRequestId(context.stringValue("DeleteSignatureResponse.RequestId"));
return deleteSignatureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteTrafficControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteTrafficControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteTrafficControlResponseUnmarshaller {
public static DeleteTrafficControlResponse unmarshall(DeleteTrafficControlResponse deleteTrafficControlResponse, UnmarshallerContext context) {
deleteTrafficControlResponse.setRequestId(context.stringValue("DeleteTrafficControlResponse.RequestId"));
return deleteTrafficControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeleteTrafficSpecialControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeleteTrafficSpecialControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteTrafficSpecialControlResponseUnmarshaller {
public static DeleteTrafficSpecialControlResponse unmarshall(DeleteTrafficSpecialControlResponse deleteTrafficSpecialControlResponse, UnmarshallerContext context) {
deleteTrafficSpecialControlResponse.setRequestId(context.stringValue("DeleteTrafficSpecialControlResponse.RequestId"));
return deleteTrafficSpecialControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DeployApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeployApiResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeployApiResponseUnmarshaller {
public static DeployApiResponse unmarshall(DeployApiResponse deployApiResponse, UnmarshallerContext context) {
deployApiResponse.setRequestId(context.stringValue("DeployApiResponse.RequestId"));
return deployApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiDocResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiDocResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse.ErrorCodeSample;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse.RequestConfig;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse.RequestParameter;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiDocResponseUnmarshaller {
public static DescribeApiDocResponse unmarshall(DescribeApiDocResponse describeApiDocResponse, UnmarshallerContext context) {
describeApiDocResponse.setRequestId(context.stringValue("DescribeApiDocResponse.RequestId"));
describeApiDocResponse.setRegionId(context.stringValue("DescribeApiDocResponse.RegionId"));
describeApiDocResponse.setGroupId(context.stringValue("DescribeApiDocResponse.GroupId"));
describeApiDocResponse.setGroupName(context.stringValue("DescribeApiDocResponse.GroupName"));
describeApiDocResponse.setStageName(context.stringValue("DescribeApiDocResponse.StageName"));
describeApiDocResponse.setApiId(context.stringValue("DescribeApiDocResponse.ApiId"));
describeApiDocResponse.setApiName(context.stringValue("DescribeApiDocResponse.ApiName"));
describeApiDocResponse.setDescription(context.stringValue("DescribeApiDocResponse.Description"));
describeApiDocResponse.setVisibility(context.stringValue("DescribeApiDocResponse.Visibility"));
describeApiDocResponse.setAuthType(context.stringValue("DescribeApiDocResponse.AuthType"));
describeApiDocResponse.setForceNonceCheck(context.booleanValue("DescribeApiDocResponse.ForceNonceCheck"));
describeApiDocResponse.setDisableInternet(context.booleanValue("DescribeApiDocResponse.DisableInternet"));
describeApiDocResponse.setResultType(context.stringValue("DescribeApiDocResponse.ResultType"));
describeApiDocResponse.setResultSample(context.stringValue("DescribeApiDocResponse.ResultSample"));
describeApiDocResponse.setFailResultSample(context.stringValue("DescribeApiDocResponse.FailResultSample"));
describeApiDocResponse.setDeployedTime(context.stringValue("DescribeApiDocResponse.DeployedTime"));
RequestConfig requestConfig = new RequestConfig();
requestConfig.setRequestProtocol(context.stringValue("DescribeApiDocResponse.RequestConfig.RequestProtocol"));
requestConfig.setRequestHttpMethod(context.stringValue("DescribeApiDocResponse.RequestConfig.RequestHttpMethod"));
requestConfig.setRequestPath(context.stringValue("DescribeApiDocResponse.RequestConfig.RequestPath"));
requestConfig.setBodyFormat(context.stringValue("DescribeApiDocResponse.RequestConfig.BodyFormat"));
requestConfig.setPostBodyDescription(context.stringValue("DescribeApiDocResponse.RequestConfig.PostBodyDescription"));
requestConfig.setRequestMode(context.stringValue("DescribeApiDocResponse.RequestConfig.RequestMode"));
describeApiDocResponse.setRequestConfig(requestConfig);
List<RequestParameter> requestParameters = new ArrayList<RequestParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiDocResponse.RequestParameters.Length"); i++) {
RequestParameter requestParameter = new RequestParameter();
requestParameter.setApiParameterName(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].ApiParameterName"));
requestParameter.setLocation(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].Location"));
requestParameter.setParameterType(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].ParameterType"));
requestParameter.setRequired(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].Required"));
requestParameter.setDefaultValue(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].DefaultValue"));
requestParameter.setDemoValue(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].DemoValue"));
requestParameter.setMaxValue(context.longValue("DescribeApiDocResponse.RequestParameters["+ i +"].MaxValue"));
requestParameter.setMinValue(context.longValue("DescribeApiDocResponse.RequestParameters["+ i +"].MinValue"));
requestParameter.setMaxLength(context.longValue("DescribeApiDocResponse.RequestParameters["+ i +"].MaxLength"));
requestParameter.setMinLength(context.longValue("DescribeApiDocResponse.RequestParameters["+ i +"].MinLength"));
requestParameter.setRegularExpression(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].RegularExpression"));
requestParameter.setJsonScheme(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].JsonScheme"));
requestParameter.setEnumValue(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].EnumValue"));
requestParameter.setDocShow(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].DocShow"));
requestParameter.setDocOrder(context.integerValue("DescribeApiDocResponse.RequestParameters["+ i +"].DocOrder"));
requestParameter.setDescription(context.stringValue("DescribeApiDocResponse.RequestParameters["+ i +"].Description"));
requestParameters.add(requestParameter);
}
describeApiDocResponse.setRequestParameters(requestParameters);
List<ErrorCodeSample> errorCodeSamples = new ArrayList<ErrorCodeSample>();
for (int i = 0; i < context.lengthValue("DescribeApiDocResponse.ErrorCodeSamples.Length"); i++) {
ErrorCodeSample errorCodeSample = new ErrorCodeSample();
errorCodeSample.setCode(context.stringValue("DescribeApiDocResponse.ErrorCodeSamples["+ i +"].Code"));
errorCodeSample.setMessage(context.stringValue("DescribeApiDocResponse.ErrorCodeSamples["+ i +"].Message"));
errorCodeSample.setDescription(context.stringValue("DescribeApiDocResponse.ErrorCodeSamples["+ i +"].Description"));
errorCodeSamples.add(errorCodeSample);
}
describeApiDocResponse.setErrorCodeSamples(errorCodeSamples);
return describeApiDocResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiErrorDataResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiErrorDataResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiErrorDataResponse.MonitorItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiErrorDataResponseUnmarshaller {
public static DescribeApiErrorDataResponse unmarshall(DescribeApiErrorDataResponse describeApiErrorDataResponse, UnmarshallerContext context) {
describeApiErrorDataResponse.setRequestId(context.stringValue("DescribeApiErrorDataResponse.RequestId"));
List<MonitorItem> clientErrors = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiErrorDataResponse.ClientErrors.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiErrorDataResponse.ClientErrors["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiErrorDataResponse.ClientErrors["+ i +"].ItemValue"));
clientErrors.add(monitorItem);
}
describeApiErrorDataResponse.setClientErrors(clientErrors);
List<MonitorItem> serverErrors = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiErrorDataResponse.ServerErrors.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiErrorDataResponse.ServerErrors["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiErrorDataResponse.ServerErrors["+ i +"].ItemValue"));
serverErrors.add(monitorItem);
}
describeApiErrorDataResponse.setServerErrors(serverErrors);
return describeApiErrorDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiGroupResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupResponse.DomainItem;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupResponse.StageInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiGroupResponseUnmarshaller {
public static DescribeApiGroupResponse unmarshall(DescribeApiGroupResponse describeApiGroupResponse,
UnmarshallerContext context) {
describeApiGroupResponse.setRequestId(context.stringValue("DescribeApiGroupResponse.RequestId"));
describeApiGroupResponse.setGroupId(context.stringValue("DescribeApiGroupResponse.GroupId"));
describeApiGroupResponse.setGroupName(context.stringValue("DescribeApiGroupResponse.GroupName"));
describeApiGroupResponse.setBasePath(context.stringValue("DescribeApiGroupResponse.BasePath"));
describeApiGroupResponse.setSubDomain(context.stringValue("DescribeApiGroupResponse.SubDomain"));
describeApiGroupResponse.setDescription(context.stringValue("DescribeApiGroupResponse.Description"));
describeApiGroupResponse.setCreatedTime(context.stringValue("DescribeApiGroupResponse.CreatedTime"));
describeApiGroupResponse.setModifiedTime(context.stringValue("DescribeApiGroupResponse.ModifiedTime"));
describeApiGroupResponse.setRegionId(context.stringValue("DescribeApiGroupResponse.RegionId"));
describeApiGroupResponse.setStatus(context.stringValue("DescribeApiGroupResponse.Status"));
describeApiGroupResponse.setBillingStatus(context.stringValue("DescribeApiGroupResponse.BillingStatus"));
describeApiGroupResponse.setIllegalStatus(context.stringValue("DescribeApiGroupResponse.IllegalStatus"));
describeApiGroupResponse.setTrafficLimit(context.integerValue("DescribeApiGroupResponse.TrafficLimit"));
describeApiGroupResponse.setVpcDomain(context.stringValue("DescribeApiGroupResponse.VpcDomain"));
describeApiGroupResponse.setInstanceId(context.stringValue("DescribeApiGroupResponse.InstanceId"));
describeApiGroupResponse.setHttpsPolicy(context.stringValue("DescribeApiGroupResponse.HttpsPolicy"));
describeApiGroupResponse.setDefaultDomain(context.stringValue("DescribeApiGroupResponse.DefaultDomain"));
List<DomainItem> customDomains = new ArrayList<DomainItem>();
for (int i = 0; i < context.lengthValue("DescribeApiGroupResponse.CustomDomains.Length"); i++) {
DomainItem domainItem = new DomainItem();
domainItem.setDomainName(context
.stringValue("DescribeApiGroupResponse.CustomDomains[" + i + "].DomainName"));
domainItem.setCertificateId(context.stringValue("DescribeApiGroupResponse.CustomDomains[" + i
+ "].CertificateId"));
domainItem.setCertificateName(context.stringValue("DescribeApiGroupResponse.CustomDomains[" + i
+ "].CertificateName"));
domainItem.setDomainCNAMEStatus(context.stringValue("DescribeApiGroupResponse.CustomDomains[" + i
+ "].DomainCNAMEStatus"));
domainItem.setDomainBindingStatus(context.stringValue("DescribeApiGroupResponse.CustomDomains[" + i
+ "].DomainBindingStatus"));
domainItem.setDomainLegalStatus(context.stringValue("DescribeApiGroupResponse.CustomDomains[" + i
+ "].DomainLegalStatus"));
domainItem.setDomainRemark(context.stringValue("DescribeApiGroupResponse.CustomDomains[" + i
+ "].DomainRemark"));
customDomains.add(domainItem);
}
describeApiGroupResponse.setCustomDomains(customDomains);
List<StageInfo> stageItems = new ArrayList<StageInfo>();
for (int i = 0; i < context.lengthValue("DescribeApiGroupResponse.StageItems.Length"); i++) {
StageInfo stageInfo = new StageInfo();
stageInfo.setStageId(context.stringValue("DescribeApiGroupResponse.StageItems[" + i + "].StageId"));
stageInfo.setStageName(context.stringValue("DescribeApiGroupResponse.StageItems[" + i + "].StageName"));
stageInfo.setDescription(context.stringValue("DescribeApiGroupResponse.StageItems[" + i + "].Description"));
stageItems.add(stageInfo);
}
describeApiGroupResponse.setStageItems(stageItems);
return describeApiGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiGroupsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupsResponse.ApiGroupAttribute;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupsResponse.ApiGroupAttribute.BillingStatus;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiGroupsResponse.ApiGroupAttribute.IllegalStatus;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiGroupsResponseUnmarshaller {
public static DescribeApiGroupsResponse unmarshall(DescribeApiGroupsResponse describeApiGroupsResponse, UnmarshallerContext context) {
describeApiGroupsResponse.setRequestId(context.stringValue("DescribeApiGroupsResponse.RequestId"));
describeApiGroupsResponse.setTotalCount(context.integerValue("DescribeApiGroupsResponse.TotalCount"));
describeApiGroupsResponse.setPageSize(context.integerValue("DescribeApiGroupsResponse.PageSize"));
describeApiGroupsResponse.setPageNumber(context.integerValue("DescribeApiGroupsResponse.PageNumber"));
List<ApiGroupAttribute> apiGroupAttributes = new ArrayList<ApiGroupAttribute>();
for (int i = 0; i < context.lengthValue("DescribeApiGroupsResponse.ApiGroupAttributes.Length"); i++) {
ApiGroupAttribute apiGroupAttribute = new ApiGroupAttribute();
apiGroupAttribute.setGroupId(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].GroupId"));
apiGroupAttribute.setGroupName(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].GroupName"));
apiGroupAttribute.setBasePath(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].BasePath"));
apiGroupAttribute.setSubDomain(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].SubDomain"));
apiGroupAttribute.setDescription(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].Description"));
apiGroupAttribute.setCreatedTime(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].CreatedTime"));
apiGroupAttribute.setModifiedTime(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].ModifiedTime"));
apiGroupAttribute.setRegionId(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].RegionId"));
apiGroupAttribute.setTrafficLimit(context.integerValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].TrafficLimit"));
apiGroupAttribute.setBillingStatus(BillingStatus.getEnum(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes[" + i + "].BillingStatus")));
apiGroupAttribute.setIllegalStatus(IllegalStatus.getEnum(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes[" + i + "].IllegalStatus")));
apiGroupAttribute.setInstanceId(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].InstanceId"));
apiGroupAttribute.setHttpsPolicy(context.stringValue("DescribeApiGroupsResponse.ApiGroupAttributes["+ i +"].HttpsPolicy"));
apiGroupAttributes.add(apiGroupAttribute);
}
describeApiGroupsResponse.setApiGroupAttributes(apiGroupAttributes);
return describeApiGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiHistoriesResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiHistoriesResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiHistoriesResponse.ApiHisItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeApiHistoriesResponseUnmarshaller {
public static DescribeApiHistoriesResponse unmarshall(DescribeApiHistoriesResponse describeApiHistoriesResponse, UnmarshallerContext context) {
describeApiHistoriesResponse.setRequestId(context.stringValue("DescribeApiHistoriesResponse.RequestId"));
describeApiHistoriesResponse.setTotalCount(context.integerValue("DescribeApiHistoriesResponse.TotalCount"));
describeApiHistoriesResponse.setPageSize(context.integerValue("DescribeApiHistoriesResponse.PageSize"));
describeApiHistoriesResponse.setPageNumber(context.integerValue("DescribeApiHistoriesResponse.PageNumber"));
List<ApiHisItem> apiHisItems = new ArrayList<ApiHisItem>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoriesResponse.ApiHisItems.Length"); i++) {
ApiHisItem apiHisItem = new ApiHisItem();
apiHisItem.setRegionId(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].RegionId"));
apiHisItem.setApiId(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].ApiId"));
apiHisItem.setApiName(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].ApiName"));
apiHisItem.setGroupId(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].GroupId"));
apiHisItem.setGroupName(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].GroupName"));
apiHisItem.setStageName(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].StageName"));
apiHisItem.setHistoryVersion(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].HistoryVersion"));
apiHisItem.setStatus(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].Status"));
apiHisItem.setDescription(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].Description"));
apiHisItem.setDeployedTime(context.stringValue("DescribeApiHistoriesResponse.ApiHisItems["+ i +"].DeployedTime"));
apiHisItems.add(apiHisItem);
}
describeApiHistoriesResponse.setApiHisItems(apiHisItems);
return describeApiHistoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiHistoryResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiHistoryResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse.*;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiHistoryResponseUnmarshaller {
public static DescribeApiHistoryResponse unmarshall(DescribeApiHistoryResponse describeApiHistoryResponse, UnmarshallerContext context) {
describeApiHistoryResponse.setRequestId(context.stringValue("DescribeApiHistoryResponse.RequestId"));
describeApiHistoryResponse.setRegionId(context.stringValue("DescribeApiHistoryResponse.RegionId"));
describeApiHistoryResponse.setGroupId(context.stringValue("DescribeApiHistoryResponse.GroupId"));
describeApiHistoryResponse.setGroupName(context.stringValue("DescribeApiHistoryResponse.GroupName"));
describeApiHistoryResponse.setStageName(context.stringValue("DescribeApiHistoryResponse.StageName"));
describeApiHistoryResponse.setApiId(context.stringValue("DescribeApiHistoryResponse.ApiId"));
describeApiHistoryResponse.setApiName(context.stringValue("DescribeApiHistoryResponse.ApiName"));
describeApiHistoryResponse.setDescription(context.stringValue("DescribeApiHistoryResponse.Description"));
describeApiHistoryResponse.setHistoryVersion(context.stringValue("DescribeApiHistoryResponse.HistoryVersion"));
describeApiHistoryResponse.setStatus(context.stringValue("DescribeApiHistoryResponse.Status"));
describeApiHistoryResponse.setVisibility(context.stringValue("DescribeApiHistoryResponse.Visibility"));
describeApiHistoryResponse.setAuthType(context.stringValue("DescribeApiHistoryResponse.AuthType"));
describeApiHistoryResponse.setForceNonceCheck(context.booleanValue("DescribeApiHistoryResponse.ForceNonceCheck"));
describeApiHistoryResponse.setDisableInternet(context.booleanValue("DescribeApiHistoryResponse.DisableInternet"));
describeApiHistoryResponse.setResultType(context.stringValue("DescribeApiHistoryResponse.ResultType"));
describeApiHistoryResponse.setResultSample(context.stringValue("DescribeApiHistoryResponse.ResultSample"));
describeApiHistoryResponse.setFailResultSample(context.stringValue("DescribeApiHistoryResponse.FailResultSample"));
describeApiHistoryResponse.setDeployedTime(context.stringValue("DescribeApiHistoryResponse.DeployedTime"));
describeApiHistoryResponse.setAllowSignatureMethod(context.stringValue("DescribeApiHistoryResponse.AllowSignatureMethod"));
describeApiHistoryResponse.setResultBodyModel(context.stringValue("DescribeApiHistoryResponse.ResultBodyModel"));
RequestConfig requestConfig = new RequestConfig();
requestConfig.setRequestProtocol(context.stringValue("DescribeApiHistoryResponse.RequestConfig.RequestProtocol"));
requestConfig.setRequestHttpMethod(context.stringValue("DescribeApiHistoryResponse.RequestConfig.RequestHttpMethod"));
requestConfig.setRequestPath(context.stringValue("DescribeApiHistoryResponse.RequestConfig.RequestPath"));
requestConfig.setBodyFormat(context.stringValue("DescribeApiHistoryResponse.RequestConfig.BodyFormat"));
requestConfig.setPostBodyDescription(context.stringValue("DescribeApiHistoryResponse.RequestConfig.PostBodyDescription"));
requestConfig.setRequestMode(context.stringValue("DescribeApiHistoryResponse.RequestConfig.RequestMode"));
requestConfig.setBodyModel(context.stringValue("DescribeApiHistoryResponse.RequestConfig.BodyModel"));
describeApiHistoryResponse.setRequestConfig(requestConfig);
ServiceConfig serviceConfig = new ServiceConfig();
serviceConfig.setServiceProtocol(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.ServiceProtocol"));
serviceConfig.setServiceAddress(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.ServiceAddress"));
serviceConfig.setServiceHttpMethod(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.ServiceHttpMethod"));
serviceConfig.setServicePath(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.ServicePath"));
serviceConfig.setServiceTimeout(context.integerValue("DescribeApiHistoryResponse.ServiceConfig.ServiceTimeout"));
serviceConfig.setMock(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.Mock"));
serviceConfig.setMockResult(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.MockResult"));
serviceConfig.setServiceVpcEnable(context.booleanValue("DescribeApiHistoryResponse.ServiceConfig.ServiceVpcEnable"));
VpcConfig vpcConfig = new VpcConfig();
vpcConfig.setVpcId(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.VpcConfig.VpcId"));
vpcConfig.setInstanceId(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.VpcConfig.InstanceId"));
vpcConfig.setPort(context.integerValue("DescribeApiHistoryResponse.ServiceConfig.VpcConfig.Port"));
serviceConfig.setVpcConfig(vpcConfig);
FunctionComputeConfig functionComputeConfig = new FunctionComputeConfig();
functionComputeConfig.setFcRegionId("DescribeApiHistoryResponse.ServiceConfig.FunctionComputeConfig.RegionId");
functionComputeConfig.setFunctionName("DescribeApiHistoryResponse.ServiceConfig.FunctionComputeConfig.FunctionName");
functionComputeConfig.setRoleArn("DescribeApiHistoryResponse.ServiceConfig.FunctionComputeConfig.RoleArn");
functionComputeConfig.setServiceName("DescribeApiHistoryResponse.ServiceConfig.FunctionComputeConfig.ServiceName");
serviceConfig.setFunctionComputeConfig(functionComputeConfig);
serviceConfig.setMockStatusCode(context.integerValue("DescribeApiHistoryResponse.ServiceConfig.MockStatusCode"));
List<MockHeader> mockHeaders=new ArrayList<MockHeader>();
for(int i=0;i<context.lengthValue("DescribeApiHistoryResponse.ServiceConfig.MockHeaders.Length");i++){
MockHeader mockHeader=new MockHeader();
mockHeader.setHeaderName(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.MockHeaders["+ i +"].HeaderName"));
mockHeader.setHeaderValue(context.stringValue("DescribeApiHistoryResponse.ServiceConfig.MockHeaders["+ i +"].HeaderValue"));
mockHeaders.add(mockHeader);
}
serviceConfig.setMockHeaders(mockHeaders);
describeApiHistoryResponse.setServiceConfig(serviceConfig);
OpenIdConnectConfig openIdConnectConfig = new OpenIdConnectConfig();
openIdConnectConfig.setIdTokenParamName(context.stringValue("DescribeApiHistoryResponse.OpenIdConnectConfig.IdTokenParamName"));
openIdConnectConfig.setOpenIdApiType(context.stringValue("DescribeApiHistoryResponse.OpenIdConnectConfig.OpenIdApiType"));
openIdConnectConfig.setPublicKey(context.stringValue("DescribeApiHistoryResponse.OpenIdConnectConfig.PublicKey"));
openIdConnectConfig.setPublicKeyId(context.stringValue("DescribeApiHistoryResponse.OpenIdConnectConfig.PublicKeyId"));
describeApiHistoryResponse.setOpenIdConnectConfig(openIdConnectConfig);
List<SystemParameter> systemParameters = new ArrayList<SystemParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.SystemParameters.Length"); i++) {
SystemParameter systemParameter = new SystemParameter();
systemParameter.setParameterName(context.stringValue("DescribeApiHistoryResponse.SystemParameters["+ i +"].ParameterName"));
systemParameter.setServiceParameterName(context.stringValue("DescribeApiHistoryResponse.SystemParameters["+ i +"].ServiceParameterName"));
systemParameter.setLocation(context.stringValue("DescribeApiHistoryResponse.SystemParameters["+ i +"].Location"));
systemParameter.setDemoValue(context.stringValue("DescribeApiHistoryResponse.SystemParameters["+ i +"].DemoValue"));
systemParameter.setDescription(context.stringValue("DescribeApiHistoryResponse.SystemParameters["+ i +"].Description"));
systemParameters.add(systemParameter);
}
describeApiHistoryResponse.setSystemParameters(systemParameters);
List<SystemParameter> customSystemParameters = new ArrayList<SystemParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.CustomSystemParameters.Length"); i++) {
SystemParameter customSystemParameter = new SystemParameter();
customSystemParameter.setParameterName(context.stringValue("DescribeApiHistoryResponse.CustomSystemParameters["+ i +"].ParameterName"));
customSystemParameter.setServiceParameterName(context.stringValue("DescribeApiHistoryResponse.CustomSystemParameters["+ i +"].ServiceParameterName"));
customSystemParameter.setLocation(context.stringValue("DescribeApiHistoryResponse.CustomSystemParameters["+ i +"].Location"));
customSystemParameter.setDemoValue(context.stringValue("DescribeApiHistoryResponse.CustomSystemParameters["+ i +"].DemoValue"));
customSystemParameter.setDescription(context.stringValue("DescribeApiHistoryResponse.CustomSystemParameters["+ i +"].Description"));
customSystemParameters.add(customSystemParameter);
}
describeApiHistoryResponse.setCustomSystemParameters(customSystemParameters);
List<ConstantParameter> constantParameters = new ArrayList<ConstantParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.ConstantParameters.Length"); i++) {
ConstantParameter constantParameter = new ConstantParameter();
constantParameter.setServiceParameterName(context.stringValue("DescribeApiHistoryResponse.ConstantParameters["+ i +"].ServiceParameterName"));
constantParameter.setConstantValue(context.stringValue("DescribeApiHistoryResponse.ConstantParameters["+ i +"].ConstantValue"));
constantParameter.setLocation(context.stringValue("DescribeApiHistoryResponse.ConstantParameters["+ i +"].Location"));
constantParameter.setDescription(context.stringValue("DescribeApiHistoryResponse.ConstantParameters["+ i +"].Description"));
constantParameters.add(constantParameter);
}
describeApiHistoryResponse.setConstantParameters(constantParameters);
List<RequestParameter> requestParameters = new ArrayList<RequestParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.RequestParameters.Length"); i++) {
RequestParameter requestParameter = new RequestParameter();
requestParameter.setApiParameterName(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].ApiParameterName"));
requestParameter.setLocation(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].Location"));
requestParameter.setParameterType(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].ParameterType"));
requestParameter.setRequired(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].Required"));
requestParameter.setDefaultValue(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].DefaultValue"));
requestParameter.setDemoValue(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].DemoValue"));
requestParameter.setMaxValue(context.longValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].MaxValue"));
requestParameter.setMinValue(context.longValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].MinValue"));
requestParameter.setMaxLength(context.longValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].MaxLength"));
requestParameter.setMinLength(context.longValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].MinLength"));
requestParameter.setRegularExpression(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].RegularExpression"));
requestParameter.setJsonScheme(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].JsonScheme"));
requestParameter.setEnumValue(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].EnumValue"));
requestParameter.setDocShow(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].DocShow"));
requestParameter.setDocOrder(context.integerValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].DocOrder"));
requestParameter.setDescription(context.stringValue("DescribeApiHistoryResponse.RequestParameters["+ i +"].Description"));
requestParameters.add(requestParameter);
}
describeApiHistoryResponse.setRequestParameters(requestParameters);
List<ServiceParameter> serviceParameters = new ArrayList<ServiceParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.ServiceParameters.Length"); i++) {
ServiceParameter serviceParameter = new ServiceParameter();
serviceParameter.setServiceParameterName(context.stringValue("DescribeApiHistoryResponse.ServiceParameters["+ i +"].ServiceParameterName"));
serviceParameter.setLocation(context.stringValue("DescribeApiHistoryResponse.ServiceParameters["+ i +"].Location"));
serviceParameter.setParameterType(context.stringValue("DescribeApiHistoryResponse.ServiceParameters["+ i +"].ParameterType"));
serviceParameters.add(serviceParameter);
}
describeApiHistoryResponse.setServiceParameters(serviceParameters);
List<ServiceParameterMap> serviceParametersMap = new ArrayList<ServiceParameterMap>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.ServiceParametersMap.Length"); i++) {
ServiceParameterMap serviceParameterMap = new ServiceParameterMap();
serviceParameterMap.setServiceParameterName(context.stringValue("DescribeApiHistoryResponse.ServiceParametersMap["+ i +"].ServiceParameterName"));
serviceParameterMap.setRequestParameterName(context.stringValue("DescribeApiHistoryResponse.ServiceParametersMap["+ i +"].RequestParameterName"));
serviceParametersMap.add(serviceParameterMap);
}
describeApiHistoryResponse.setServiceParametersMap(serviceParametersMap);
List<ErrorCodeSample> errorCodeSamples = new ArrayList<ErrorCodeSample>();
for (int i = 0; i < context.lengthValue("DescribeApiHistoryResponse.ErrorCodeSamples.Length"); i++) {
ErrorCodeSample errorCodeSample = new ErrorCodeSample();
errorCodeSample.setCode(context.stringValue("DescribeApiHistoryResponse.ErrorCodeSamples["+ i +"].Code"));
errorCodeSample.setMessage(context.stringValue("DescribeApiHistoryResponse.ErrorCodeSamples["+ i +"].Message"));
errorCodeSample.setDescription(context.stringValue("DescribeApiHistoryResponse.ErrorCodeSamples["+ i +"].Description"));
errorCodeSamples.add(errorCodeSample);
}
describeApiHistoryResponse.setErrorCodeSamples(errorCodeSamples);
return describeApiHistoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiIpControlsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiIpControlsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiIpControlsResponse.ApiIpControlItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiIpControlsResponseUnmarshaller {
public static DescribeApiIpControlsResponse unmarshall(DescribeApiIpControlsResponse describeApiIpControlsResponse, UnmarshallerContext context) {
describeApiIpControlsResponse.setRequestId(context.stringValue("DescribeApiIpControlsResponse.RequestId"));
describeApiIpControlsResponse.setTotalCount(context.integerValue("DescribeApiIpControlsResponse.TotalCount"));
describeApiIpControlsResponse.setPageSize(context.integerValue("DescribeApiIpControlsResponse.PageSize"));
describeApiIpControlsResponse.setPageNumber(context.integerValue("DescribeApiIpControlsResponse.PageNumber"));
List<ApiIpControlItem> apiIpControls = new ArrayList<ApiIpControlItem>();
for (int i = 0; i < context.lengthValue("DescribeApiIpControlsResponse.ApiIpControls.Length"); i++) {
ApiIpControlItem apiIpControlItem = new ApiIpControlItem();
apiIpControlItem.setApiId(context.stringValue("DescribeApiIpControlsResponse.ApiIpControls["+ i +"].ApiId"));
apiIpControlItem.setApiName(context.stringValue("DescribeApiIpControlsResponse.ApiIpControls["+ i +"].ApiName"));
apiIpControlItem.setIpControlId(context.stringValue("DescribeApiIpControlsResponse.ApiIpControls["+ i +"].IpControlId"));
apiIpControlItem.setIpControlName(context.stringValue("DescribeApiIpControlsResponse.ApiIpControls["+ i +"].IpControlName"));
apiIpControlItem.setBoundTime(context.stringValue("DescribeApiIpControlsResponse.ApiIpControls["+ i +"].BoundTime"));
apiIpControls.add(apiIpControlItem);
}
describeApiIpControlsResponse.setApiIpControls(apiIpControls);
return describeApiIpControlsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiLatencyDataResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiLatencyDataResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiLatencyDataResponse.MonitorItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiLatencyDataResponseUnmarshaller {
public static DescribeApiLatencyDataResponse unmarshall(DescribeApiLatencyDataResponse describeApiLatencyDataResponse, UnmarshallerContext context) {
describeApiLatencyDataResponse.setRequestId(context.stringValue("DescribeApiLatencyDataResponse.RequestId"));
List<MonitorItem> callLatencys = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiLatencyDataResponse.CallLatencys.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiLatencyDataResponse.CallLatencys["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiLatencyDataResponse.CallLatencys["+ i +"].ItemValue"));
callLatencys.add(monitorItem);
}
describeApiLatencyDataResponse.setCallLatencys(callLatencys);
return describeApiLatencyDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiQpsDataResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiQpsDataResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiQpsDataResponse.MonitorItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiQpsDataResponseUnmarshaller {
public static DescribeApiQpsDataResponse unmarshall(DescribeApiQpsDataResponse describeApiQpsDataResponse, UnmarshallerContext context) {
describeApiQpsDataResponse.setRequestId(context.stringValue("DescribeApiQpsDataResponse.RequestId"));
List<MonitorItem> callSuccesses = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiQpsDataResponse.CallSuccesses.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiQpsDataResponse.CallSuccesses["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiQpsDataResponse.CallSuccesses["+ i +"].ItemValue"));
callSuccesses.add(monitorItem);
}
describeApiQpsDataResponse.setCallSuccesses(callSuccesses);
List<MonitorItem> callFails = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiQpsDataResponse.CallFails.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiQpsDataResponse.CallFails["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiQpsDataResponse.CallFails["+ i +"].ItemValue"));
callFails.add(monitorItem);
}
describeApiQpsDataResponse.setCallFails(callFails);
return describeApiQpsDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse.*;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiResponseUnmarshaller {
public static DescribeApiResponse unmarshall(DescribeApiResponse describeApiResponse, UnmarshallerContext context) {
describeApiResponse.setRequestId(context.stringValue("DescribeApiResponse.RequestId"));
describeApiResponse.setRegionId(context.stringValue("DescribeApiResponse.RegionId"));
describeApiResponse.setApiId(context.stringValue("DescribeApiResponse.ApiId"));
describeApiResponse.setApiName(context.stringValue("DescribeApiResponse.ApiName"));
describeApiResponse.setGroupId(context.stringValue("DescribeApiResponse.GroupId"));
describeApiResponse.setGroupName(context.stringValue("DescribeApiResponse.GroupName"));
describeApiResponse.setVisibility(context.stringValue("DescribeApiResponse.Visibility"));
describeApiResponse.setAuthType(context.stringValue("DescribeApiResponse.AuthType"));
describeApiResponse.setForceNonceCheck(context.booleanValue("DescribeApiResponse.ForceNonceCheck"));
describeApiResponse.setDisableInternet(context.booleanValue("DescribeApiResponse.DisableInternet"));
describeApiResponse.setResultType(context.stringValue("DescribeApiResponse.ResultType"));
describeApiResponse.setResultSample(context.stringValue("DescribeApiResponse.ResultSample"));
describeApiResponse.setFailResultSample(context.stringValue("DescribeApiResponse.FailResultSample"));
describeApiResponse.setCreatedTime(context.stringValue("DescribeApiResponse.CreatedTime"));
describeApiResponse.setModifiedTime(context.stringValue("DescribeApiResponse.ModifiedTime"));
describeApiResponse.setDescription(context.stringValue("DescribeApiResponse.Description"));
describeApiResponse.setAllowSignatureMethod(context.stringValue("DescribeApiResponse.AllowSignatureMethod"));
describeApiResponse.setResultBodyModel(context.stringValue("DescribeApiResponse.ResultBodyModel"));
describeApiResponse.setWebSocketApiType(context.stringValue("DescribeApiResponse.WebSocketApiType"));
RequestConfig requestConfig = new RequestConfig();
requestConfig.setRequestProtocol(context.stringValue("DescribeApiResponse.RequestConfig.RequestProtocol"));
requestConfig.setRequestHttpMethod(context.stringValue("DescribeApiResponse.RequestConfig.RequestHttpMethod"));
requestConfig.setRequestPath(context.stringValue("DescribeApiResponse.RequestConfig.RequestPath"));
requestConfig.setBodyFormat(context.stringValue("DescribeApiResponse.RequestConfig.BodyFormat"));
requestConfig.setPostBodyDescription(context.stringValue("DescribeApiResponse.RequestConfig.PostBodyDescription"));
requestConfig.setRequestMode(context.stringValue("DescribeApiResponse.RequestConfig.RequestMode"));
requestConfig.setBodyModel(context.stringValue("DescribeApiResponse.RequestConfig.BodyModel"));
describeApiResponse.setRequestConfig(requestConfig);
ServiceConfig serviceConfig = new ServiceConfig();
serviceConfig.setServiceProtocol(context.stringValue("DescribeApiResponse.ServiceConfig.ServiceProtocol"));
serviceConfig.setServiceAddress(context.stringValue("DescribeApiResponse.ServiceConfig.ServiceAddress"));
serviceConfig.setServiceHttpMethod(context.stringValue("DescribeApiResponse.ServiceConfig.ServiceHttpMethod"));
serviceConfig.setServicePath(context.stringValue("DescribeApiResponse.ServiceConfig.ServicePath"));
serviceConfig.setServiceTimeout(context.integerValue("DescribeApiResponse.ServiceConfig.ServiceTimeout"));
serviceConfig.setMock(context.stringValue("DescribeApiResponse.ServiceConfig.Mock"));
serviceConfig.setMockResult(context.stringValue("DescribeApiResponse.ServiceConfig.MockResult"));
serviceConfig.setServiceVpcEnable(context.booleanValue("DescribeApiResponse.ServiceConfig.ServiceVpcEnable"));
VpcConfig vpcConfig = new VpcConfig();
vpcConfig.setVpcId(context.stringValue("DescribeApiResponse.ServiceConfig.VpcConfig.VpcId"));
vpcConfig.setInstanceId(context.stringValue("DescribeApiResponse.ServiceConfig.VpcConfig.InstanceId"));
vpcConfig.setPort(context.integerValue("DescribeApiResponse.ServiceConfig.VpcConfig.Port"));
vpcConfig.setName(context.stringValue("DescribeApiResponse.ServiceConfig.VpcConfig.Name"));
serviceConfig.setVpcConfig(vpcConfig);
serviceConfig.setContentTypeCatagory(context.stringValue("DescribeApiResponse.ServiceConfig.ContentTypeCatagory"));
serviceConfig.setContentTypeValue(context.stringValue("DescribeApiResponse.ServiceConfig.ContentTypeValue"));
serviceConfig.setMockStatusCode(context.integerValue("DescribeApiResponse.ServiceConfig.MockStatusCode"));
FunctionComputeConfig functionComputeConfig = new FunctionComputeConfig();
functionComputeConfig.setFcRegionId("DescribeApiResponse.ServiceConfig.FunctionComputeConfig.RegionId");
functionComputeConfig.setFunctionName("DescribeApiResponse.ServiceConfig.FunctionComputeConfig.FunctionName");
functionComputeConfig.setServiceName("DescribeApiResponse.ServiceConfig.FunctionComputeConfig.ServiceName");
functionComputeConfig.setRoleArn("DescribeApiResponse.ServiceConfig.FunctionComputeConfig.RoleArn");
serviceConfig.setFunctionComputeConfig(functionComputeConfig);
List<MockHeader> mockHeaders=new ArrayList<MockHeader>();
for(int i=0;i<context.lengthValue("DescribeApiResponse.ServiceConfig.MockHeaders.Length");i++){
MockHeader mockHeader=new MockHeader();
mockHeader.setHeaderName(context.stringValue("DescribeApiResponse.ServiceConfig.MockHeaders["+ i +"]"
+ ".HeaderName"));
mockHeader.setHeaderValue(context.stringValue("DescribeApiResponse.ServiceConfig.MockHeaders["+ i +"]"
+ ".HeaderValue"));
mockHeaders.add(mockHeader);
}
serviceConfig.setMockHeaders(mockHeaders);
describeApiResponse.setServiceConfig(serviceConfig);
OpenIdConnectConfig openIdConnectConfig = new OpenIdConnectConfig();
openIdConnectConfig.setIdTokenParamName(context.stringValue("DescribeApiResponse.OpenIdConnectConfig.IdTokenParamName"));
openIdConnectConfig.setOpenIdApiType(context.stringValue("DescribeApiResponse.OpenIdConnectConfig.OpenIdApiType"));
openIdConnectConfig.setPublicKey(context.stringValue("DescribeApiResponse.OpenIdConnectConfig.PublicKey"));
openIdConnectConfig.setPublicKeyId(context.stringValue("DescribeApiResponse.OpenIdConnectConfig.PublicKeyId"));
describeApiResponse.setOpenIdConnectConfig(openIdConnectConfig);
List<SystemParameter> systemParameters = new ArrayList<SystemParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.SystemParameters.Length"); i++) {
SystemParameter systemParameter = new SystemParameter();
systemParameter.setParameterName(context.stringValue("DescribeApiResponse.SystemParameters["+ i +"].ParameterName"));
systemParameter.setServiceParameterName(context.stringValue("DescribeApiResponse.SystemParameters["+ i +"].ServiceParameterName"));
systemParameter.setLocation(context.stringValue("DescribeApiResponse.SystemParameters["+ i +"].Location"));
systemParameter.setDemoValue(context.stringValue("DescribeApiResponse.SystemParameters["+ i +"].DemoValue"));
systemParameter.setDescription(context.stringValue("DescribeApiResponse.SystemParameters["+ i +"].Description"));
systemParameters.add(systemParameter);
}
describeApiResponse.setSystemParameters(systemParameters);
List<SystemParameter> customSystemParameters = new ArrayList<SystemParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.CustomSystemParameters.Length"); i++) {
SystemParameter customSystemParameter = new SystemParameter();
customSystemParameter.setParameterName(context.stringValue("DescribeApiResponse.CustomSystemParameters["+ i +"].ParameterName"));
customSystemParameter.setServiceParameterName(context.stringValue("DescribeApiResponse.CustomSystemParameters["+ i +"].ServiceParameterName"));
customSystemParameter.setLocation(context.stringValue("DescribeApiResponse.CustomSystemParameters["+ i +"].Location"));
customSystemParameter.setDemoValue(context.stringValue("DescribeApiResponse.CustomSystemParameters["+ i +"].DemoValue"));
customSystemParameter.setDescription(context.stringValue("DescribeApiResponse.CustomSystemParameters["+ i +"].Description"));
customSystemParameters.add(customSystemParameter);
}
describeApiResponse.setCustomSystemParameters(customSystemParameters);
List<ConstantParameter> constantParameters = new ArrayList<ConstantParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.ConstantParameters.Length"); i++) {
ConstantParameter constantParameter = new ConstantParameter();
constantParameter.setServiceParameterName(context.stringValue("DescribeApiResponse.ConstantParameters["+ i +"].ServiceParameterName"));
constantParameter.setConstantValue(context.stringValue("DescribeApiResponse.ConstantParameters["+ i +"].ConstantValue"));
constantParameter.setLocation(context.stringValue("DescribeApiResponse.ConstantParameters["+ i +"].Location"));
constantParameter.setDescription(context.stringValue("DescribeApiResponse.ConstantParameters["+ i +"].Description"));
constantParameters.add(constantParameter);
}
describeApiResponse.setConstantParameters(constantParameters);
List<RequestParameter> requestParameters = new ArrayList<RequestParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.RequestParameters.Length"); i++) {
RequestParameter requestParameter = new RequestParameter();
requestParameter.setApiParameterName(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].ApiParameterName"));
requestParameter.setLocation(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].Location"));
requestParameter.setParameterType(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].ParameterType"));
requestParameter.setRequired(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].Required"));
requestParameter.setDefaultValue(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].DefaultValue"));
requestParameter.setDemoValue(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].DemoValue"));
requestParameter.setMaxValue(context.longValue("DescribeApiResponse.RequestParameters["+ i +"].MaxValue"));
requestParameter.setMinValue(context.longValue("DescribeApiResponse.RequestParameters["+ i +"].MinValue"));
requestParameter.setMaxLength(context.longValue("DescribeApiResponse.RequestParameters["+ i +"].MaxLength"));
requestParameter.setMinLength(context.longValue("DescribeApiResponse.RequestParameters["+ i +"].MinLength"));
requestParameter.setRegularExpression(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].RegularExpression"));
requestParameter.setJsonScheme(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].JsonScheme"));
requestParameter.setEnumValue(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].EnumValue"));
requestParameter.setDocShow(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].DocShow"));
requestParameter.setDocOrder(context.integerValue("DescribeApiResponse.RequestParameters["+ i +"].DocOrder"));
requestParameter.setDescription(context.stringValue("DescribeApiResponse.RequestParameters["+ i +"].Description"));
requestParameters.add(requestParameter);
}
describeApiResponse.setRequestParameters(requestParameters);
List<ServiceParameter> serviceParameters = new ArrayList<ServiceParameter>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.ServiceParameters.Length"); i++) {
ServiceParameter serviceParameter = new ServiceParameter();
serviceParameter.setServiceParameterName(context.stringValue("DescribeApiResponse.ServiceParameters["+ i +"].ServiceParameterName"));
serviceParameter.setLocation(context.stringValue("DescribeApiResponse.ServiceParameters["+ i +"].Location"));
serviceParameter.setParameterType(context.stringValue("DescribeApiResponse.ServiceParameters["+ i +"].ParameterType"));
serviceParameter.setParameterCatalog(context.stringValue("DescribeApiResponse.ServiceParameters["+ i +"].ParameterCatalog"));
serviceParameters.add(serviceParameter);
}
describeApiResponse.setServiceParameters(serviceParameters);
List<ServiceParameterMap> serviceParametersMap = new ArrayList<ServiceParameterMap>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.ServiceParametersMap.Length"); i++) {
ServiceParameterMap serviceParameterMap = new ServiceParameterMap();
serviceParameterMap.setServiceParameterName(context.stringValue("DescribeApiResponse.ServiceParametersMap["+ i +"].ServiceParameterName"));
serviceParameterMap.setRequestParameterName(context.stringValue("DescribeApiResponse.ServiceParametersMap["+ i +"].RequestParameterName"));
serviceParametersMap.add(serviceParameterMap);
}
describeApiResponse.setServiceParametersMap(serviceParametersMap);
List<DeployedInfo> deployedInfos = new ArrayList<DeployedInfo>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.DeployedInfos.Length"); i++) {
DeployedInfo deployedInfo = new DeployedInfo();
deployedInfo.setStageName(context.stringValue("DescribeApiResponse.DeployedInfos["+ i +"].StageName"));
deployedInfo.setEffectiveVersion(context.stringValue("DescribeApiResponse.DeployedInfos["+ i +"].EffectiveVersion"));
deployedInfo.setDeployedStatus(context.stringValue("DescribeApiResponse.DeployedInfos["+ i +"].DeployedStatus"));
deployedInfos.add(deployedInfo);
}
describeApiResponse.setDeployedInfos(deployedInfos);
List<ErrorCodeSample> errorCodeSamples = new ArrayList<ErrorCodeSample>();
for (int i = 0; i < context.lengthValue("DescribeApiResponse.ErrorCodeSamples.Length"); i++) {
ErrorCodeSample errorCodeSample = new ErrorCodeSample();
errorCodeSample.setCode(context.stringValue("DescribeApiResponse.ErrorCodeSamples["+ i +"].Code"));
errorCodeSample.setMessage(context.stringValue("DescribeApiResponse.ErrorCodeSamples["+ i +"].Message"));
errorCodeSample.setDescription(context.stringValue("DescribeApiResponse.ErrorCodeSamples["+ i +"].Description"));
errorCodeSample.setModel(context.stringValue("DescribeApiResponse.ErrorCodeSamples["+ i +"].Model"));
errorCodeSamples.add(errorCodeSample);
}
describeApiResponse.setErrorCodeSamples(errorCodeSamples);
return describeApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiSignaturesResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiSignaturesResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiSignaturesResponse.ApiSignatureItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiSignaturesResponseUnmarshaller {
public static DescribeApiSignaturesResponse unmarshall(DescribeApiSignaturesResponse describeApiSignaturesResponse, UnmarshallerContext context) {
describeApiSignaturesResponse.setRequestId(context.stringValue("DescribeApiSignaturesResponse.RequestId"));
describeApiSignaturesResponse.setTotalCount(context.integerValue("DescribeApiSignaturesResponse.TotalCount"));
describeApiSignaturesResponse.setPageSize(context.integerValue("DescribeApiSignaturesResponse.PageSize"));
describeApiSignaturesResponse.setPageNumber(context.integerValue("DescribeApiSignaturesResponse.PageNumber"));
List<ApiSignatureItem> apiSignatures = new ArrayList<ApiSignatureItem>();
for (int i = 0; i < context.lengthValue("DescribeApiSignaturesResponse.ApiSignatures.Length"); i++) {
ApiSignatureItem apiSignatureItem = new ApiSignatureItem();
apiSignatureItem.setApiId(context.stringValue("DescribeApiSignaturesResponse.ApiSignatures["+ i +"].ApiId"));
apiSignatureItem.setApiName(context.stringValue("DescribeApiSignaturesResponse.ApiSignatures["+ i +"].ApiName"));
apiSignatureItem.setSignatureId(context.stringValue("DescribeApiSignaturesResponse.ApiSignatures["+ i +"].SignatureId"));
apiSignatureItem.setSignatureName(context.stringValue("DescribeApiSignaturesResponse.ApiSignatures["+ i +"].SignatureName"));
apiSignatureItem.setBoundTime(context.stringValue("DescribeApiSignaturesResponse.ApiSignatures["+ i +"].BoundTime"));
apiSignatures.add(apiSignatureItem);
}
describeApiSignaturesResponse.setApiSignatures(apiSignatures);
return describeApiSignaturesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiStageResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiStageResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiStageResponse.VariableItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiStageResponseUnmarshaller {
public static DescribeApiStageResponse unmarshall(DescribeApiStageResponse describeApiStageResponse, UnmarshallerContext context) {
describeApiStageResponse.setRequestId(context.stringValue("DescribeApiStageResponse.RequestId"));
describeApiStageResponse.setGroupId(context.stringValue("DescribeApiStageResponse.GroupId"));
describeApiStageResponse.setStageId(context.stringValue("DescribeApiStageResponse.StageId"));
describeApiStageResponse.setStageName(context.stringValue("DescribeApiStageResponse.StageName"));
describeApiStageResponse.setDescription(context.stringValue("DescribeApiStageResponse.Description"));
describeApiStageResponse.setCreatedTime(context.stringValue("DescribeApiStageResponse.CreatedTime"));
describeApiStageResponse.setModifiedTime(context.stringValue("DescribeApiStageResponse.ModifiedTime"));
List<VariableItem> variables = new ArrayList<VariableItem>();
for (int i = 0; i < context.lengthValue("DescribeApiStageResponse.Variables.Length"); i++) {
VariableItem variableItem = new VariableItem();
variableItem.setVariableName(context.stringValue("DescribeApiStageResponse.Variables["+ i +"].VariableName"));
variableItem.setVariableValue(context.stringValue("DescribeApiStageResponse.Variables["+ i +"].VariableValue"));
variables.add(variableItem);
}
describeApiStageResponse.setVariables(variables);
return describeApiStageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiTrafficControlsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiTrafficControlsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiTrafficControlsResponse.ApiTrafficControlItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiTrafficControlsResponseUnmarshaller {
public static DescribeApiTrafficControlsResponse unmarshall(DescribeApiTrafficControlsResponse describeApiTrafficControlsResponse, UnmarshallerContext context) {
describeApiTrafficControlsResponse.setRequestId(context.stringValue("DescribeApiTrafficControlsResponse.RequestId"));
describeApiTrafficControlsResponse.setTotalCount(context.integerValue("DescribeApiTrafficControlsResponse.TotalCount"));
describeApiTrafficControlsResponse.setPageSize(context.integerValue("DescribeApiTrafficControlsResponse.PageSize"));
describeApiTrafficControlsResponse.setPageNumber(context.integerValue("DescribeApiTrafficControlsResponse.PageNumber"));
List<ApiTrafficControlItem> apiTrafficControls = new ArrayList<ApiTrafficControlItem>();
for (int i = 0; i < context.lengthValue("DescribeApiTrafficControlsResponse.ApiTrafficControls.Length"); i++) {
ApiTrafficControlItem apiTrafficControlItem = new ApiTrafficControlItem();
apiTrafficControlItem.setApiId(context.stringValue("DescribeApiTrafficControlsResponse.ApiTrafficControls["+ i +"].ApiId"));
apiTrafficControlItem.setApiName(context.stringValue("DescribeApiTrafficControlsResponse.ApiTrafficControls["+ i +"].ApiName"));
apiTrafficControlItem.setTrafficControlId(context.stringValue("DescribeApiTrafficControlsResponse.ApiTrafficControls["+ i +"].TrafficControlId"));
apiTrafficControlItem.setTrafficControlName(context.stringValue("DescribeApiTrafficControlsResponse.ApiTrafficControls["+ i +"].TrafficControlName"));
apiTrafficControlItem.setBoundTime(context.stringValue("DescribeApiTrafficControlsResponse.ApiTrafficControls["+ i +"].BoundTime"));
apiTrafficControls.add(apiTrafficControlItem);
}
describeApiTrafficControlsResponse.setApiTrafficControls(apiTrafficControls);
return describeApiTrafficControlsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApiTrafficDataResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiTrafficDataResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiTrafficDataResponse.MonitorItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApiTrafficDataResponseUnmarshaller {
public static DescribeApiTrafficDataResponse unmarshall(DescribeApiTrafficDataResponse describeApiTrafficDataResponse, UnmarshallerContext context) {
describeApiTrafficDataResponse.setRequestId(context.stringValue("DescribeApiTrafficDataResponse.RequestId"));
List<MonitorItem> callUploads = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiTrafficDataResponse.CallUploads.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiTrafficDataResponse.CallUploads["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiTrafficDataResponse.CallUploads["+ i +"].ItemValue"));
callUploads.add(monitorItem);
}
describeApiTrafficDataResponse.setCallUploads(callUploads);
List<MonitorItem> callDownloads = new ArrayList<MonitorItem>();
for (int i = 0; i < context.lengthValue("DescribeApiTrafficDataResponse.CallDownloads.Length"); i++) {
MonitorItem monitorItem = new MonitorItem();
monitorItem.setItemTime(context.stringValue("DescribeApiTrafficDataResponse.CallDownloads["+ i +"].ItemTime"));
monitorItem.setItemValue(context.stringValue("DescribeApiTrafficDataResponse.CallDownloads["+ i +"].ItemValue"));
callDownloads.add(monitorItem);
}
describeApiTrafficDataResponse.setCallDownloads(callDownloads);
return describeApiTrafficDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisByAppResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisByAppResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisByAppResponse.AppApiRelationInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeApisByAppResponseUnmarshaller {
public static DescribeApisByAppResponse unmarshall(DescribeApisByAppResponse describeApisByAppResponse, UnmarshallerContext context) {
describeApisByAppResponse.setRequestId(context.stringValue("DescribeApisByAppResponse.RequestId"));
describeApisByAppResponse.setTotalCount(context.integerValue("DescribeApisByAppResponse.TotalCount"));
describeApisByAppResponse.setPageSize(context.integerValue("DescribeApisByAppResponse.PageSize"));
describeApisByAppResponse.setPageNumber(context.integerValue("DescribeApisByAppResponse.PageNumber"));
List<AppApiRelationInfo> appApiRelationInfos = new ArrayList<AppApiRelationInfo>();
for (int i = 0; i < context.lengthValue("DescribeApisByAppResponse.AppApiRelationInfos.Length"); i++) {
AppApiRelationInfo appApiRelationInfo = new AppApiRelationInfo();
appApiRelationInfo.setRegionId(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].RegionId"));
appApiRelationInfo.setGroupId(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].GroupId"));
appApiRelationInfo.setGroupName(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].GroupName"));
appApiRelationInfo.setStageName(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].StageName"));
appApiRelationInfo.setOperator(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].Operator"));
appApiRelationInfo.setApiId(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].ApiId"));
appApiRelationInfo.setApiName(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].ApiName"));
appApiRelationInfo.setAuthorizationSource(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].AuthorizationSource"));
appApiRelationInfo.setDescription(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].Description"));
appApiRelationInfo.setCreatedTime(context.stringValue("DescribeApisByAppResponse.AppApiRelationInfos["+ i +"].CreatedTime"));
appApiRelationInfos.add(appApiRelationInfo);
}
describeApisByAppResponse.setAppApiRelationInfos(appApiRelationInfos);
return describeApisByAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisByIpControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisByIpControlResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisByIpControlResponse.ApiInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApisByIpControlResponseUnmarshaller {
public static DescribeApisByIpControlResponse unmarshall(DescribeApisByIpControlResponse describeApisByIpControlResponse, UnmarshallerContext context) {
describeApisByIpControlResponse.setRequestId(context.stringValue("DescribeApisByIpControlResponse.RequestId"));
describeApisByIpControlResponse.setTotalCount(context.integerValue("DescribeApisByIpControlResponse.TotalCount"));
describeApisByIpControlResponse.setPageSize(context.integerValue("DescribeApisByIpControlResponse.PageSize"));
describeApisByIpControlResponse.setPageNumber(context.integerValue("DescribeApisByIpControlResponse.PageNumber"));
List<ApiInfo> apiInfos = new ArrayList<ApiInfo>();
for (int i = 0; i < context.lengthValue("DescribeApisByIpControlResponse.ApiInfos.Length"); i++) {
ApiInfo apiInfo = new ApiInfo();
apiInfo.setRegionId(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].RegionId"));
apiInfo.setGroupId(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].GroupId"));
apiInfo.setGroupName(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].GroupName"));
apiInfo.setStageName(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].StageName"));
apiInfo.setApiId(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].ApiId"));
apiInfo.setApiName(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].ApiName"));
apiInfo.setDescription(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].Description"));
apiInfo.setVisibility(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].Visibility"));
apiInfo.setBoundTime(context.stringValue("DescribeApisByIpControlResponse.ApiInfos["+ i +"].BoundTime"));
apiInfos.add(apiInfo);
}
describeApisByIpControlResponse.setApiInfos(apiInfos);
return describeApisByIpControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisBySignatureResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisBySignatureResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisBySignatureResponse.ApiInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApisBySignatureResponseUnmarshaller {
public static DescribeApisBySignatureResponse unmarshall(DescribeApisBySignatureResponse describeApisBySignatureResponse, UnmarshallerContext context) {
describeApisBySignatureResponse.setRequestId(context.stringValue("DescribeApisBySignatureResponse.RequestId"));
describeApisBySignatureResponse.setTotalCount(context.integerValue("DescribeApisBySignatureResponse.TotalCount"));
describeApisBySignatureResponse.setPageSize(context.integerValue("DescribeApisBySignatureResponse.PageSize"));
describeApisBySignatureResponse.setPageNumber(context.integerValue("DescribeApisBySignatureResponse.PageNumber"));
List<ApiInfo> apiInfos = new ArrayList<ApiInfo>();
for (int i = 0; i < context.lengthValue("DescribeApisBySignatureResponse.ApiInfos.Length"); i++) {
ApiInfo apiInfo = new ApiInfo();
apiInfo.setRegionId(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].RegionId"));
apiInfo.setGroupId(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].GroupId"));
apiInfo.setGroupName(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].GroupName"));
apiInfo.setStageName(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].StageName"));
apiInfo.setApiId(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].ApiId"));
apiInfo.setApiName(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].ApiName"));
apiInfo.setDescription(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].Description"));
apiInfo.setVisibility(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].Visibility"));
apiInfo.setBoundTime(context.stringValue("DescribeApisBySignatureResponse.ApiInfos["+ i +"].BoundTime"));
apiInfos.add(apiInfo);
}
describeApisBySignatureResponse.setApiInfos(apiInfos);
return describeApisBySignatureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisByTrafficControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisByTrafficControlResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisByTrafficControlResponse.ApiInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApisByTrafficControlResponseUnmarshaller {
public static DescribeApisByTrafficControlResponse unmarshall(DescribeApisByTrafficControlResponse describeApisByTrafficControlResponse, UnmarshallerContext context) {
describeApisByTrafficControlResponse.setRequestId(context.stringValue("DescribeApisByTrafficControlResponse.RequestId"));
describeApisByTrafficControlResponse.setTotalCount(context.integerValue("DescribeApisByTrafficControlResponse.TotalCount"));
describeApisByTrafficControlResponse.setPageSize(context.integerValue("DescribeApisByTrafficControlResponse.PageSize"));
describeApisByTrafficControlResponse.setPageNumber(context.integerValue("DescribeApisByTrafficControlResponse.PageNumber"));
List<ApiInfo> apiInfos = new ArrayList<ApiInfo>();
for (int i = 0; i < context.lengthValue("DescribeApisByTrafficControlResponse.ApiInfos.Length"); i++) {
ApiInfo apiInfo = new ApiInfo();
apiInfo.setRegionId(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].RegionId"));
apiInfo.setGroupId(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].GroupId"));
apiInfo.setGroupName(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].GroupName"));
apiInfo.setStageName(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].StageName"));
apiInfo.setApiId(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].ApiId"));
apiInfo.setApiName(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].ApiName"));
apiInfo.setDescription(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].Description"));
apiInfo.setVisibility(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].Visibility"));
apiInfo.setBoundTime(context.stringValue("DescribeApisByTrafficControlResponse.ApiInfos["+ i +"].BoundTime"));
apiInfos.add(apiInfo);
}
describeApisByTrafficControlResponse.setApiInfos(apiInfos);
return describeApisByTrafficControlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeApisResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApisResponse.ApiSummary;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeApisResponseUnmarshaller {
public static DescribeApisResponse unmarshall(DescribeApisResponse describeApisResponse, UnmarshallerContext context) {
describeApisResponse.setRequestId(context.stringValue("DescribeApisResponse.RequestId"));
describeApisResponse.setTotalCount(context.integerValue("DescribeApisResponse.TotalCount"));
describeApisResponse.setPageSize(context.integerValue("DescribeApisResponse.PageSize"));
describeApisResponse.setPageNumber(context.integerValue("DescribeApisResponse.PageNumber"));
List<ApiSummary> apiSummarys = new ArrayList<ApiSummary>();
for (int i = 0; i < context.lengthValue("DescribeApisResponse.ApiSummarys.Length"); i++) {
ApiSummary apiSummary = new ApiSummary();
apiSummary.setRegionId(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].RegionId"));
apiSummary.setGroupId(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].GroupId"));
apiSummary.setGroupName(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].GroupName"));
apiSummary.setApiId(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].ApiId"));
apiSummary.setApiName(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].ApiName"));
apiSummary.setVisibility(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].Visibility"));
apiSummary.setDescription(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].Description"));
apiSummary.setCreatedTime(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].CreatedTime"));
apiSummary.setModifiedTime(context.stringValue("DescribeApisResponse.ApiSummarys["+ i +"].ModifiedTime"));
apiSummarys.add(apiSummary);
}
describeApisResponse.setApiSummarys(apiSummarys);
return describeApisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppAttributesResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAppAttributesResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAppAttributesResponse.AppAttribute;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeAppAttributesResponseUnmarshaller {
public static DescribeAppAttributesResponse unmarshall(DescribeAppAttributesResponse describeAppAttributesResponse, UnmarshallerContext context) {
describeAppAttributesResponse.setRequestId(context.stringValue("DescribeAppAttributesResponse.RequestId"));
describeAppAttributesResponse.setTotalCount(context.integerValue("DescribeAppAttributesResponse.TotalCount"));
describeAppAttributesResponse.setPageSize(context.integerValue("DescribeAppAttributesResponse.PageSize"));
describeAppAttributesResponse.setPageNumber(context.integerValue("DescribeAppAttributesResponse.PageNumber"));
List<AppAttribute> apps = new ArrayList<AppAttribute>();
for (int i = 0; i < context.lengthValue("DescribeAppAttributesResponse.Apps.Length"); i++) {
AppAttribute appAttribute = new AppAttribute();
appAttribute.setAppId(context.longValue("DescribeAppAttributesResponse.Apps["+ i +"].AppId"));
appAttribute.setAppName(context.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].AppName"));
appAttribute.setDescription(context.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].Description"));
appAttribute.setCreatedTime(context.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].CreatedTime"));
appAttribute.setModifiedTime(context.stringValue("DescribeAppAttributesResponse.Apps["+ i +"].ModifiedTime"));
apps.add(appAttribute);
}
describeAppAttributesResponse.setApps(apps);
return describeAppAttributesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppSecurityResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAppSecurityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAppSecurityResponseUnmarshaller {
public static DescribeAppSecurityResponse unmarshall(DescribeAppSecurityResponse describeAppSecurityResponse, UnmarshallerContext context) {
describeAppSecurityResponse.setRequestId(context.stringValue("DescribeAppSecurityResponse.RequestId"));
describeAppSecurityResponse.setAppKey(context.stringValue("DescribeAppSecurityResponse.AppKey"));
describeAppSecurityResponse.setAppSecret(context.stringValue("DescribeAppSecurityResponse.AppSecret"));
describeAppSecurityResponse.setCreatedTime(context.stringValue("DescribeAppSecurityResponse.CreatedTime"));
describeAppSecurityResponse.setModifiedTime(context.stringValue("DescribeAppSecurityResponse.ModifiedTime"));
describeAppSecurityResponse.setAppCode(context.stringValue("DescribeAppSecurityResponse.AppCode"));
return describeAppSecurityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeAppsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAppsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAppsResponse.AppItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeAppsResponseUnmarshaller {
public static DescribeAppsResponse unmarshall(DescribeAppsResponse describeAppsResponse, UnmarshallerContext context) {
describeAppsResponse.setRequestId(context.stringValue("DescribeAppsResponse.RequestId"));
describeAppsResponse.setTotalCount(context.integerValue("DescribeAppsResponse.TotalCount"));
describeAppsResponse.setPageSize(context.integerValue("DescribeAppsResponse.PageSize"));
describeAppsResponse.setPageNumber(context.integerValue("DescribeAppsResponse.PageNumber"));
List<AppItem> apps = new ArrayList<AppItem>();
for (int i = 0; i < context.lengthValue("DescribeAppsResponse.Apps.Length"); i++) {
AppItem appItem = new AppItem();
appItem.setAppId(context.longValue("DescribeAppsResponse.Apps["+ i +"].AppId"));
appItem.setAppName(context.stringValue("DescribeAppsResponse.Apps["+ i +"].AppName"));
appItem.setDescription(context.stringValue("DescribeAppsResponse.Apps["+ i +"].Description"));
apps.add(appItem);
}
describeAppsResponse.setApps(apps);
return describeAppsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeAuthorizedApisResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAuthorizedApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAuthorizedApisResponse.AuthorizedApi;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeAuthorizedApisResponseUnmarshaller {
public static DescribeAuthorizedApisResponse unmarshall(DescribeAuthorizedApisResponse describeAuthorizedApisResponse, UnmarshallerContext context) {
describeAuthorizedApisResponse.setRequestId(context.stringValue("DescribeAuthorizedApisResponse.RequestId"));
describeAuthorizedApisResponse.setTotalCount(context.integerValue("DescribeAuthorizedApisResponse.TotalCount"));
describeAuthorizedApisResponse.setPageSize(context.integerValue("DescribeAuthorizedApisResponse.PageSize"));
describeAuthorizedApisResponse.setPageNumber(context.integerValue("DescribeAuthorizedApisResponse.PageNumber"));
List<AuthorizedApi> authorizedApis = new ArrayList<AuthorizedApi>();
for (int i = 0; i < context.lengthValue("DescribeAuthorizedApisResponse.AuthorizedApis.Length"); i++) {
AuthorizedApi authorizedApi = new AuthorizedApi();
authorizedApi.setRegionId(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].RegionId"));
authorizedApi.setGroupId(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].GroupId"));
authorizedApi.setGroupName(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].GroupName"));
authorizedApi.setStageName(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].StageName"));
authorizedApi.setOperator(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].Operator"));
authorizedApi.setApiId(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].ApiId"));
authorizedApi.setApiName(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].ApiName"));
authorizedApi.setAuthorizationSource(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].AuthorizationSource"));
authorizedApi.setDescription(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].Description"));
authorizedApi.setAuthorizedTime(context.stringValue("DescribeAuthorizedApisResponse.AuthorizedApis["+ i +"].AuthorizedTime"));
authorizedApis.add(authorizedApi);
}
describeAuthorizedApisResponse.setAuthorizedApis(authorizedApis);
return describeAuthorizedApisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeAuthorizedAppsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAuthorizedAppsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeAuthorizedAppsResponse.AuthorizedApp;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeAuthorizedAppsResponseUnmarshaller {
public static DescribeAuthorizedAppsResponse unmarshall(DescribeAuthorizedAppsResponse describeAuthorizedAppsResponse, UnmarshallerContext context) {
describeAuthorizedAppsResponse.setRequestId(context.stringValue("DescribeAuthorizedAppsResponse.RequestId"));
describeAuthorizedAppsResponse.setTotalCount(context.integerValue("DescribeAuthorizedAppsResponse.TotalCount"));
describeAuthorizedAppsResponse.setPageSize(context.integerValue("DescribeAuthorizedAppsResponse.PageSize"));
describeAuthorizedAppsResponse.setPageNumber(context.integerValue("DescribeAuthorizedAppsResponse.PageNumber"));
List<AuthorizedApp> authorizedApps = new ArrayList<AuthorizedApp>();
for (int i = 0; i < context.lengthValue("DescribeAuthorizedAppsResponse.AuthorizedApps.Length"); i++) {
AuthorizedApp authorizedApp = new AuthorizedApp();
authorizedApp.setStageName(context.stringValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].StageName"));
authorizedApp.setAppId(context.longValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].AppId"));
authorizedApp.setAppName(context.stringValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].AppName"));
authorizedApp.setOperator(context.stringValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].Operator"));
authorizedApp.setAuthorizationSource(context.stringValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].AuthorizationSource"));
authorizedApp.setDescription(context.stringValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].Description"));
authorizedApp.setAuthorizedTime(context.stringValue("DescribeAuthorizedAppsResponse.AuthorizedApps["+ i +"].AuthorizedTime"));
authorizedApps.add(authorizedApp);
}
describeAuthorizedAppsResponse.setAuthorizedApps(authorizedApps);
return describeAuthorizedAppsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeCatalogResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeCatalogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeCatalogResponseUnmarshaller {
public static DescribeCatalogResponse unmarshall(DescribeCatalogResponse describeCatalogResponse, UnmarshallerContext context) {
describeCatalogResponse.setRequestId(context.stringValue("DescribeCatalogResponse.RequestId"));
describeCatalogResponse.setCatalogId(context.stringValue("DescribeCatalogResponse.CatalogId"));
describeCatalogResponse.setCatalogName(context.stringValue("DescribeCatalogResponse.CatalogName"));
describeCatalogResponse.setDescription(context.stringValue("DescribeCatalogResponse.Description"));
describeCatalogResponse.setParentId(context.stringValue("DescribeCatalogResponse.ParentId"));
describeCatalogResponse.setCreatedTime(context.stringValue("DescribeCatalogResponse.CreatedTime"));
describeCatalogResponse.setModifiedTime(context.stringValue("DescribeCatalogResponse.ModifiedTime"));
describeCatalogResponse.setRegionId(context.stringValue("DescribeCatalogResponse.RegionId"));
List<String> apiIds = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeCatalogResponse.ApiIds.Length"); i++) {
apiIds.add(context.stringValue("DescribeCatalogResponse.ApiIds["+ i +"]"));
}
describeCatalogResponse.setApiIds(apiIds);
return describeCatalogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeCatalogsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeCatalogsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeCatalogsResponse.CatalogAttribute;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeCatalogsResponseUnmarshaller {
public static DescribeCatalogsResponse unmarshall(DescribeCatalogsResponse describeCatalogsResponse, UnmarshallerContext context) {
describeCatalogsResponse.setRequestId(context.stringValue("DescribeCatalogsResponse.RequestId"));
describeCatalogsResponse.setTotalCount(context.integerValue("DescribeCatalogsResponse.TotalCount"));
describeCatalogsResponse.setPageSize(context.integerValue("DescribeCatalogsResponse.PageSize"));
describeCatalogsResponse.setPageNumber(context.integerValue("DescribeCatalogsResponse.PageNumber"));
List<CatalogAttribute> catalogAttributes = new ArrayList<CatalogAttribute>();
for (int i = 0; i < context.lengthValue("DescribeCatalogsResponse.CatalogAttributes.Length"); i++) {
CatalogAttribute catalogAttribute = new CatalogAttribute();
catalogAttribute.setCatalogId(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].CatalogId"));
catalogAttribute.setCatalogName(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].CatalogName"));
catalogAttribute.setDescription(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].Description"));
catalogAttribute.setParentId(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].ParentId"));
catalogAttribute.setCreatedTime(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].CreatedTime"));
catalogAttribute.setModifiedTime(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].ModifiedTime"));
catalogAttribute.setRegionId(context.stringValue("DescribeCatalogsResponse.CatalogAttributes["+ i +"].RegionId"));
catalogAttributes.add(catalogAttribute);
}
describeCatalogsResponse.setCatalogAttributes(catalogAttributes);
return describeCatalogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeDeployedApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeApiResponse.*;
import com.aliyuncs.cloudapi.model.v20160714.DescribeDeployedApiResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeDeployedApiResponseUnmarshaller {
public static DescribeDeployedApiResponse unmarshall(DescribeDeployedApiResponse describeDeployedApiResponse, UnmarshallerContext context) {
describeDeployedApiResponse.setRequestId(context.stringValue("DescribeDeployedApiResponse.RequestId"));
describeDeployedApiResponse.setRegionId(context.stringValue("DescribeDeployedApiResponse.RegionId"));
describeDeployedApiResponse.setGroupId(context.stringValue("DescribeDeployedApiResponse.GroupId"));
describeDeployedApiResponse.setGroupName(context.stringValue("DescribeDeployedApiResponse.GroupName"));
describeDeployedApiResponse.setStageName(context.stringValue("DescribeDeployedApiResponse.StageName"));
describeDeployedApiResponse.setApiId(context.stringValue("DescribeDeployedApiResponse.ApiId"));
describeDeployedApiResponse.setApiName(context.stringValue("DescribeDeployedApiResponse.ApiName"));
describeDeployedApiResponse.setDescription(context.stringValue("DescribeDeployedApiResponse.Description"));
describeDeployedApiResponse.setVisibility(context.stringValue("DescribeDeployedApiResponse.Visibility"));
describeDeployedApiResponse.setAuthType(context.stringValue("DescribeDeployedApiResponse.AuthType"));
describeDeployedApiResponse.setDisableInternet(context.booleanValue("DescribeDeployedApiResponse.DisableInternet"));
describeDeployedApiResponse.setForceNonceCheck(context.booleanValue("DescribeDeployedApiResponse.ForceNonceCheck"));
describeDeployedApiResponse.setResultType(context.stringValue("DescribeDeployedApiResponse.ResultType"));
describeDeployedApiResponse.setResultSample(context.stringValue("DescribeDeployedApiResponse.ResultSample"));
describeDeployedApiResponse.setFailResultSample(context.stringValue("DescribeDeployedApiResponse.FailResultSample"));
describeDeployedApiResponse.setDeployedTime(context.stringValue("DescribeDeployedApiResponse.DeployedTime"));
describeDeployedApiResponse.setAllowSignatureMethod(context.stringValue("DescribeDeployedApiResponse.AllowSignatureMethod"));
describeDeployedApiResponse.setResultBodyModel(context.stringValue("DescribeDeployedApiResponse.ResultBodyModel"));
RequestConfig requestConfig = new RequestConfig();
requestConfig.setRequestProtocol(context.stringValue("DescribeDeployedApiResponse.RequestConfig.RequestProtocol"));
requestConfig.setRequestHttpMethod(context.stringValue("DescribeDeployedApiResponse.RequestConfig.RequestHttpMethod"));
requestConfig.setRequestPath(context.stringValue("DescribeDeployedApiResponse.RequestConfig.RequestPath"));
requestConfig.setBodyFormat(context.stringValue("DescribeDeployedApiResponse.RequestConfig.BodyFormat"));
requestConfig.setPostBodyDescription(context.stringValue("DescribeDeployedApiResponse.RequestConfig.PostBodyDescription"));
requestConfig.setRequestMode(context.stringValue("DescribeDeployedApiResponse.RequestConfig.RequestMode"));
requestConfig.setBodyModel(context.stringValue("DescribeDeployedApiResponse.RequestConfig.BodyModel"));
describeDeployedApiResponse.setRequestConfig(requestConfig);
ServiceConfig serviceConfig = new ServiceConfig();
serviceConfig.setServiceProtocol(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.ServiceProtocol"));
serviceConfig.setServiceAddress(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.ServiceAddress"));
serviceConfig.setServiceHttpMethod(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.ServiceHttpMethod"));
serviceConfig.setServicePath(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.ServicePath"));
serviceConfig.setServiceTimeout(context.integerValue("DescribeDeployedApiResponse.ServiceConfig.ServiceTimeout"));
serviceConfig.setMock(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.Mock"));
serviceConfig.setMockResult(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.MockResult"));
serviceConfig.setServiceVpcEnable(context.booleanValue("DescribeDeployedApiResponse.ServiceConfig.ServiceVpcEnable"));
VpcConfig vpcConfig = new VpcConfig();
vpcConfig.setVpcId(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.VpcConfig.VpcId"));
vpcConfig.setInstanceId(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.VpcConfig.InstanceId"));
vpcConfig.setPort(context.integerValue("DescribeDeployedApiResponse.ServiceConfig.VpcConfig.Port"));
serviceConfig.setVpcConfig(vpcConfig);
FunctionComputeConfig functionComputeConfig = new FunctionComputeConfig();
functionComputeConfig.setFcRegionId("DescribeDeployedApiResponse.ServiceConfig.FunctionComputeConfig.RegionId");
functionComputeConfig.setFunctionName("DescribeDeployedApiResponse.ServiceConfig.FunctionComputeConfig.FunctionName");
functionComputeConfig.setServiceName("DescribeDeployedApiResponse.ServiceConfig.FunctionComputeConfig.ServiceName");
functionComputeConfig.setRoleArn("DescribeDeployedApiResponse.ServiceConfig.FunctionComputeConfig.RoleArn");
serviceConfig.setFunctionComputeConfig(functionComputeConfig);
serviceConfig.setMockStatusCode(context.integerValue("DescribeDeployedApiResponse.ServiceConfig.MockStatusCode"));
List<MockHeader> mockHeaders=new ArrayList<MockHeader>();
for(int i=0;i<context.lengthValue("DescribeDeployedApiResponse.ServiceConfig.MockHeaders.Length");i++){
MockHeader mockHeader=new MockHeader();
mockHeader.setHeaderName(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.MockHeaders["+ i +"].HeaderName"));
mockHeader.setHeaderValue(context.stringValue("DescribeDeployedApiResponse.ServiceConfig.MockHeaders["+ i +"].HeaderValue"));
mockHeaders.add(mockHeader);
}
serviceConfig.setMockHeaders(mockHeaders);
describeDeployedApiResponse.setServiceConfig(serviceConfig);
OpenIdConnectConfig openIdConnectConfig = new OpenIdConnectConfig();
openIdConnectConfig.setIdTokenParamName(context.stringValue("DescribeDeployedApiResponse.OpenIdConnectConfig.IdTokenParamName"));
openIdConnectConfig.setOpenIdApiType(context.stringValue("DescribeDeployedApiResponse.OpenIdConnectConfig.OpenIdApiType"));
openIdConnectConfig.setPublicKey(context.stringValue("DescribeDeployedApiResponse.OpenIdConnectConfig.PublicKey"));
openIdConnectConfig.setPublicKeyId(context.stringValue("DescribeDeployedApiResponse.OpenIdConnectConfig.PublicKeyId"));
describeDeployedApiResponse.setOpenIdConnectConfig(openIdConnectConfig);
List<SystemParameter> systemParameters = new ArrayList<SystemParameter>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.SystemParameters.Length"); i++) {
SystemParameter systemParameter = new SystemParameter();
systemParameter.setParameterName(context.stringValue("DescribeDeployedApiResponse.SystemParameters["+ i +"].ParameterName"));
systemParameter.setServiceParameterName(context.stringValue("DescribeDeployedApiResponse.SystemParameters["+ i +"].ServiceParameterName"));
systemParameter.setLocation(context.stringValue("DescribeDeployedApiResponse.SystemParameters["+ i +"].Location"));
systemParameter.setDemoValue(context.stringValue("DescribeDeployedApiResponse.SystemParameters["+ i +"].DemoValue"));
systemParameter.setDescription(context.stringValue("DescribeDeployedApiResponse.SystemParameters["+ i +"].Description"));
systemParameters.add(systemParameter);
}
describeDeployedApiResponse.setSystemParameters(systemParameters);
List<SystemParameter> customSystemParameters = new ArrayList<SystemParameter>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.CustomSystemParameters.Length"); i++) {
SystemParameter customSystemParameter = new SystemParameter();
customSystemParameter.setParameterName(context.stringValue("DescribeDeployedApiResponse.CustomSystemParameters["+ i +"].ParameterName"));
customSystemParameter.setServiceParameterName(context.stringValue("DescribeDeployedApiResponse.CustomSystemParameters["+ i +"].ServiceParameterName"));
customSystemParameter.setLocation(context.stringValue("DescribeDeployedApiResponse.CustomSystemParameters["+ i +"].Location"));
customSystemParameter.setDemoValue(context.stringValue("DescribeDeployedApiResponse.CustomSystemParameters["+ i +"].DemoValue"));
customSystemParameter.setDescription(context.stringValue("DescribeDeployedApiResponse.CustomSystemParameters["+ i +"].Description"));
customSystemParameters.add(customSystemParameter);
}
describeDeployedApiResponse.setCustomSystemParameters(customSystemParameters);
List<ConstantParameter> constantParameters = new ArrayList<ConstantParameter>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.ConstantParameters.Length"); i++) {
ConstantParameter constantParameter = new ConstantParameter();
constantParameter.setServiceParameterName(context.stringValue("DescribeDeployedApiResponse.ConstantParameters["+ i +"].ServiceParameterName"));
constantParameter.setConstantValue(context.stringValue("DescribeDeployedApiResponse.ConstantParameters["+ i +"].ConstantValue"));
constantParameter.setLocation(context.stringValue("DescribeDeployedApiResponse.ConstantParameters["+ i +"].Location"));
constantParameter.setDescription(context.stringValue("DescribeDeployedApiResponse.ConstantParameters["+ i +"].Description"));
constantParameters.add(constantParameter);
}
describeDeployedApiResponse.setConstantParameters(constantParameters);
List<RequestParameter> requestParameters = new ArrayList<RequestParameter>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.RequestParameters.Length"); i++) {
RequestParameter requestParameter = new RequestParameter();
requestParameter.setApiParameterName(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].ApiParameterName"));
requestParameter.setLocation(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].Location"));
requestParameter.setParameterType(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].ParameterType"));
requestParameter.setRequired(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].Required"));
requestParameter.setDefaultValue(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].DefaultValue"));
requestParameter.setDemoValue(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].DemoValue"));
requestParameter.setMaxValue(context.longValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].MaxValue"));
requestParameter.setMinValue(context.longValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].MinValue"));
requestParameter.setMaxLength(context.longValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].MaxLength"));
requestParameter.setMinLength(context.longValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].MinLength"));
requestParameter.setRegularExpression(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].RegularExpression"));
requestParameter.setJsonScheme(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].JsonScheme"));
requestParameter.setEnumValue(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].EnumValue"));
requestParameter.setDocShow(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].DocShow"));
requestParameter.setDocOrder(context.integerValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].DocOrder"));
requestParameter.setDescription(context.stringValue("DescribeDeployedApiResponse.RequestParameters["+ i +"].Description"));
requestParameters.add(requestParameter);
}
describeDeployedApiResponse.setRequestParameters(requestParameters);
List<ServiceParameter> serviceParameters = new ArrayList<ServiceParameter>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.ServiceParameters.Length"); i++) {
ServiceParameter serviceParameter = new ServiceParameter();
serviceParameter.setServiceParameterName(context.stringValue("DescribeDeployedApiResponse.ServiceParameters["+ i +"].ServiceParameterName"));
serviceParameter.setLocation(context.stringValue("DescribeDeployedApiResponse.ServiceParameters["+ i +"].Location"));
serviceParameter.setParameterType(context.stringValue("DescribeDeployedApiResponse.ServiceParameters["+ i +"].ParameterType"));
serviceParameters.add(serviceParameter);
}
describeDeployedApiResponse.setServiceParameters(serviceParameters);
List<ServiceParameterMap> serviceParametersMap = new ArrayList<ServiceParameterMap>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.ServiceParametersMap.Length"); i++) {
ServiceParameterMap serviceParameterMap = new ServiceParameterMap();
serviceParameterMap.setServiceParameterName(context.stringValue("DescribeDeployedApiResponse.ServiceParametersMap["+ i +"].ServiceParameterName"));
serviceParameterMap.setRequestParameterName(context.stringValue("DescribeDeployedApiResponse.ServiceParametersMap["+ i +"].RequestParameterName"));
serviceParametersMap.add(serviceParameterMap);
}
describeDeployedApiResponse.setServiceParametersMap(serviceParametersMap);
List<ErrorCodeSample> errorCodeSamples = new ArrayList<ErrorCodeSample>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApiResponse.ErrorCodeSamples.Length"); i++) {
ErrorCodeSample errorCodeSample = new ErrorCodeSample();
errorCodeSample.setCode(context.stringValue("DescribeDeployedApiResponse.ErrorCodeSamples["+ i +"].Code"));
errorCodeSample.setMessage(context.stringValue("DescribeDeployedApiResponse.ErrorCodeSamples["+ i +"].Message"));
errorCodeSample.setDescription(context.stringValue("DescribeDeployedApiResponse.ErrorCodeSamples["+ i +"].Description"));
errorCodeSamples.add(errorCodeSample);
}
describeDeployedApiResponse.setErrorCodeSamples(errorCodeSamples);
return describeDeployedApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeDeployedApisResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeDeployedApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeDeployedApisResponse.DeployedApiItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeDeployedApisResponseUnmarshaller {
public static DescribeDeployedApisResponse unmarshall(DescribeDeployedApisResponse describeDeployedApisResponse, UnmarshallerContext context) {
describeDeployedApisResponse.setRequestId(context.stringValue("DescribeDeployedApisResponse.RequestId"));
describeDeployedApisResponse.setTotalCount(context.integerValue("DescribeDeployedApisResponse.TotalCount"));
describeDeployedApisResponse.setPageSize(context.integerValue("DescribeDeployedApisResponse.PageSize"));
describeDeployedApisResponse.setPageNumber(context.integerValue("DescribeDeployedApisResponse.PageNumber"));
List<DeployedApiItem> deployedApis = new ArrayList<DeployedApiItem>();
for (int i = 0; i < context.lengthValue("DescribeDeployedApisResponse.DeployedApis.Length"); i++) {
DeployedApiItem deployedApiItem = new DeployedApiItem();
deployedApiItem.setRegionId(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].RegionId"));
deployedApiItem.setApiId(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].ApiId"));
deployedApiItem.setApiName(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].ApiName"));
deployedApiItem.setGroupId(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].GroupId"));
deployedApiItem.setGroupName(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].GroupName"));
deployedApiItem.setStageName(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].StageName"));
deployedApiItem.setVisibility(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].Visibility"));
deployedApiItem.setDescription(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].Description"));
deployedApiItem.setDeployedTime(context.stringValue("DescribeDeployedApisResponse.DeployedApis["+ i +"].DeployedTime"));
deployedApis.add(deployedApiItem);
}
describeDeployedApisResponse.setDeployedApis(deployedApis);
return describeDeployedApisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeDomainResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeDomainResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDomainResponseUnmarshaller {
public static DescribeDomainResponse unmarshall(DescribeDomainResponse describeDomainResponse, UnmarshallerContext context) {
describeDomainResponse.setRequestId(context.stringValue("DescribeDomainResponse.RequestId"));
describeDomainResponse.setGroupId(context.stringValue("DescribeDomainResponse.GroupId"));
describeDomainResponse.setDomainName(context.stringValue("DescribeDomainResponse.DomainName"));
describeDomainResponse.setSubDomain(context.stringValue("DescribeDomainResponse.SubDomain"));
describeDomainResponse.setCertificateId(context.stringValue("DescribeDomainResponse.CertificateId"));
describeDomainResponse.setCertificateName(context.stringValue("DescribeDomainResponse.CertificateName"));
describeDomainResponse.setCertificateBody(context.stringValue("DescribeDomainResponse.CertificateBody"));
describeDomainResponse.setCertificatePrivateKey(context.stringValue("DescribeDomainResponse.CertificatePrivateKey"));
describeDomainResponse.setDomainBindingStatus(context.stringValue("DescribeDomainResponse.DomainBindingStatus"));
describeDomainResponse.setDomainCNAMEStatus(context.stringValue("DescribeDomainResponse.DomainCNAMEStatus"));
describeDomainResponse.setDomainLegalStatus(context.stringValue("DescribeDomainResponse.DomainLegalStatus"));
describeDomainResponse.setDomainRemark(context.stringValue("DescribeDomainResponse.DomainRemark"));
return describeDomainResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeDomainsResolutionResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeDomainsResolutionResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeDomainsResolutionResponse.DomainResolution;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeDomainsResolutionResponseUnmarshaller {
public static DescribeDomainsResolutionResponse unmarshall(DescribeDomainsResolutionResponse describeDomainsResolutionResponse, UnmarshallerContext context) {
describeDomainsResolutionResponse.setRequestId(context.stringValue("DescribeDomainsResolutionResponse.RequestId"));
describeDomainsResolutionResponse.setGroupId(context.stringValue("DescribeDomainsResolutionResponse.GroupId"));
List<DomainResolution> domainResolutions = new ArrayList<DomainResolution>();
for (int i = 0; i < context.lengthValue("DescribeDomainsResolutionResponse.DomainResolutions.Length"); i++) {
DomainResolution domainResolution = new DomainResolution();
domainResolution.setDomainName(context.stringValue("DescribeDomainsResolutionResponse.DomainResolutions["+ i +"].DomainName"));
domainResolution.setDomainResolutionStatus(context.stringValue("DescribeDomainsResolutionResponse.DomainResolutions["+ i +"].DomainResolutionStatus"));
domainResolutions.add(domainResolution);
}
describeDomainsResolutionResponse.setDomainResolutions(domainResolutions);
return describeDomainsResolutionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeHistoryApisResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeHistoryApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeHistoryApisResponse.ApiHisItem;
import com.aliyuncs.cloudapi.model.v20160714.DescribeHistoryApisResponse.ApiHisItem.Status;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeHistoryApisResponseUnmarshaller {
public static DescribeHistoryApisResponse unmarshall(DescribeHistoryApisResponse describeHistoryApisResponse, UnmarshallerContext context) {
describeHistoryApisResponse.setRequestId(context.stringValue("DescribeHistoryApisResponse.RequestId"));
describeHistoryApisResponse.setTotalCount(context.integerValue("DescribeHistoryApisResponse.TotalCount"));
describeHistoryApisResponse.setPageSize(context.integerValue("DescribeHistoryApisResponse.PageSize"));
describeHistoryApisResponse.setPageNumber(context.integerValue("DescribeHistoryApisResponse.PageNumber"));
List<ApiHisItem> apiHisItems = new ArrayList<ApiHisItem>();
for (int i = 0; i < context.lengthValue("DescribeHistoryApisResponse.ApiHisItems.Length"); i++) {
ApiHisItem apiHisItem = new ApiHisItem();
apiHisItem.setRegionId(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].RegionId"));
apiHisItem.setApiId(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].ApiId"));
apiHisItem.setApiName(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].ApiName"));
apiHisItem.setGroupId(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].GroupId"));
apiHisItem.setGroupName(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].GroupName"));
apiHisItem.setStageName(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].StageName"));
apiHisItem.setHistoryVersion(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].HistoryVersion"));
apiHisItem.setStatus(Status.getEnum(context.stringValue("DescribeHistoryApisResponse.ApiHisItems[" + i + "].Status")));
apiHisItem.setDescription(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].Description"));
apiHisItem.setDeployedTime(context.stringValue("DescribeHistoryApisResponse.ApiHisItems["+ i +"].DeployedTime"));
apiHisItems.add(apiHisItem);
}
describeHistoryApisResponse.setApiHisItems(apiHisItems);
return describeHistoryApisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeInstancesResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeHistoryApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeHistoryApisResponse.ApiHisItem;
import com.aliyuncs.cloudapi.model.v20160714.DescribeHistoryApisResponse.ApiHisItem.Status;
import com.aliyuncs.cloudapi.model.v20160714.DescribeInstancesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeInstancesResponseUnmarshaller {
public static DescribeInstancesResponse unmarshall(DescribeInstancesResponse describeInstancesResponse,
UnmarshallerContext context) {
describeInstancesResponse.setRequestId(context.stringValue("DescribeInstancesResponse.RequestId"));
describeInstancesResponse.setTotalCount(context.integerValue("DescribeInstancesResponse.TotalCount"));
describeInstancesResponse.setPageSize(context.integerValue("DescribeInstancesResponse.PageSize"));
describeInstancesResponse.setPageNumber(context.integerValue("DescribeInstancesResponse.PageNumber"));
List<DescribeInstancesResponse.InstanceAttribute> instanceAttributes
= new ArrayList<DescribeInstancesResponse.InstanceAttribute>();
for (int i = 0; i < context.lengthValue("DescribeInstancesResponse.Instances.Length"); i++) {
DescribeInstancesResponse.InstanceAttribute instanceAttribute = new DescribeInstancesResponse
.InstanceAttribute();
instanceAttribute.setInstanceId(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].InstanceId"));
instanceAttribute.setInstanceName(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].InstanceName"));
instanceAttribute.setInstanceType(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].InstanceType"));
instanceAttribute.setInstanceSpec(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].InstanceSpec"));
instanceAttribute.setClassicEgressAddress(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].ClassicEgressAddress"));
instanceAttribute.setInternetEgressAddress(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].InternetEgressAddress"));
instanceAttribute.setVpcEgressAddress(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].VpcEgressAddress"));
instanceAttribute.setCreatedTime(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].CreatedTime"));
instanceAttribute.setExpiredTime(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].ExpiredTime"));
instanceAttribute.setStatus(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].Status"));
instanceAttribute.setHttpsPolicy(context.stringValue("DescribeInstancesResponse.Instances[" + i + "].HttpsPolicy"));
instanceAttributes.add(instanceAttribute);
}
describeInstancesResponse.setInstances(instanceAttributes);
return describeInstancesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeIpControlPolicyItemsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeIpControlPolicyItemsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeIpControlPolicyItemsResponse.IpControlPolicyItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeIpControlPolicyItemsResponseUnmarshaller {
public static DescribeIpControlPolicyItemsResponse unmarshall(DescribeIpControlPolicyItemsResponse describeIpControlPolicyItemsResponse, UnmarshallerContext context) {
describeIpControlPolicyItemsResponse.setRequestId(context.stringValue("DescribeIpControlPolicyItemsResponse.RequestId"));
describeIpControlPolicyItemsResponse.setTotalCount(context.integerValue("DescribeIpControlPolicyItemsResponse.TotalCount"));
describeIpControlPolicyItemsResponse.setPageSize(context.integerValue("DescribeIpControlPolicyItemsResponse.PageSize"));
describeIpControlPolicyItemsResponse.setPageNumber(context.integerValue("DescribeIpControlPolicyItemsResponse.PageNumber"));
List<IpControlPolicyItem> ipControlPolicyItems = new ArrayList<IpControlPolicyItem>();
for (int i = 0; i < context.lengthValue("DescribeIpControlPolicyItemsResponse.IpControlPolicyItems.Length"); i++) {
IpControlPolicyItem ipControlPolicyItem = new IpControlPolicyItem();
ipControlPolicyItem.setAppId(context.stringValue("DescribeIpControlPolicyItemsResponse.IpControlPolicyItems["+ i +"].AppId"));
ipControlPolicyItem.setCidrIp(context.stringValue("DescribeIpControlPolicyItemsResponse.IpControlPolicyItems["+ i +"].CidrIp"));
ipControlPolicyItem.setPolicyItemId(context.stringValue("DescribeIpControlPolicyItemsResponse.IpControlPolicyItems["+ i +"].PolicyItemId"));
ipControlPolicyItem.setCreateTime(context.stringValue("DescribeIpControlPolicyItemsResponse.IpControlPolicyItems["+ i +"].CreateTime"));
ipControlPolicyItem.setModifiedTime(context.stringValue("DescribeIpControlPolicyItemsResponse.IpControlPolicyItems["+ i +"].ModifiedTime"));
ipControlPolicyItems.add(ipControlPolicyItem);
}
describeIpControlPolicyItemsResponse.setIpControlPolicyItems(ipControlPolicyItems);
return describeIpControlPolicyItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeIpControlsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeIpControlsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeIpControlsResponse.IpControlInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeIpControlsResponseUnmarshaller {
public static DescribeIpControlsResponse unmarshall(DescribeIpControlsResponse describeIpControlsResponse, UnmarshallerContext context) {
describeIpControlsResponse.setRequestId(context.stringValue("DescribeIpControlsResponse.RequestId"));
describeIpControlsResponse.setTotalCount(context.integerValue("DescribeIpControlsResponse.TotalCount"));
describeIpControlsResponse.setPageSize(context.integerValue("DescribeIpControlsResponse.PageSize"));
describeIpControlsResponse.setPageNumber(context.integerValue("DescribeIpControlsResponse.PageNumber"));
List<IpControlInfo> ipControlInfos = new ArrayList<IpControlInfo>();
for (int i = 0; i < context.lengthValue("DescribeIpControlsResponse.IpControlInfos.Length"); i++) {
IpControlInfo ipControlInfo = new IpControlInfo();
ipControlInfo.setIpControlId(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].IpControlId"));
ipControlInfo.setIpControlName(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].IpControlName"));
ipControlInfo.setIpControlType(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].IpControlType"));
ipControlInfo.setDescription(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].Description"));
ipControlInfo.setCreateTime(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].CreateTime"));
ipControlInfo.setModifiedTime(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].ModifiedTime"));
ipControlInfo.setRegionId(context.stringValue("DescribeIpControlsResponse.IpControlInfos["+ i +"].RegionId"));
ipControlInfos.add(ipControlInfo);
}
describeIpControlsResponse.setIpControlInfos(ipControlInfos);
return describeIpControlsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeLogConfigResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeLogConfigResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeLogConfigResponse.LogInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeLogConfigResponseUnmarshaller {
public static DescribeLogConfigResponse unmarshall(DescribeLogConfigResponse describeLogConfigResponse, UnmarshallerContext context) {
describeLogConfigResponse.setRequestId(context.stringValue("DescribeLogConfigResponse.RequestId"));
List<LogInfo> logInfos = new ArrayList<LogInfo>();
for (int i = 0; i < context.lengthValue("DescribeLogConfigResponse.LogInfos.Length"); i++) {
LogInfo logInfo = new LogInfo();
logInfo.setRegionId(context.stringValue("DescribeLogConfigResponse.LogInfos["+ i +"].RegionId"));
logInfo.setSlsProject(context.stringValue("DescribeLogConfigResponse.LogInfos["+ i +"].SlsProject"));
logInfo.setSlsLogStore(context.stringValue("DescribeLogConfigResponse.LogInfos["+ i +"].SlsLogStore"));
logInfo.setLogType(context.stringValue("DescribeLogConfigResponse.LogInfos["+ i +"].LogType"));
logInfos.add(logInfo);
}
describeLogConfigResponse.setLogInfos(logInfos);
return describeLogConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeModelsResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeModelsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeModelsResponse.ModelDetail;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeModelsResponseUnmarshaller {
public static DescribeModelsResponse unmarshall(DescribeModelsResponse describeModelsResponse, UnmarshallerContext context) {
describeModelsResponse.setRequestId(context.stringValue("DescribeModelsResponse.RequestId"));
describeModelsResponse.setTotalCount(context.integerValue("DescribeModelsResponse.TotalCount"));
describeModelsResponse.setPageSize(context.integerValue("DescribeModelsResponse.PageSize"));
describeModelsResponse.setPageNumber(context.integerValue("DescribeModelsResponse.PageNumber"));
List<ModelDetail> modelDetails = new ArrayList<ModelDetail>();
for (int i = 0; i < context.lengthValue("DescribeModelsResponse.ModelDetails.Length"); i++) {
ModelDetail modelDetail = new ModelDetail();
modelDetail.setGroupId(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].GroupId"));
modelDetail.setModelId(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].ModelId"));
modelDetail.setModelName(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].ModelName"));
modelDetail.setSchema(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].Schema"));
modelDetail.setDescription(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].Description"));
modelDetail.setCreatedTime(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].CreatedTime"));
modelDetail.setModifiedTime(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].ModifiedTime"));
modelDetail.setModelRef(context.stringValue("DescribeModelsResponse.ModelDetails["+ i +"].ModelRef"));
modelDetails.add(modelDetail);
}
describeModelsResponse.setModelDetails(modelDetails);
return describeModelsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribePluginApisResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AttachPluginResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeIpControlsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePluginApisResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
/**
* @author auto create
*
*/
public class DescribePluginApisResponseUnmarshaller {
public static DescribePluginApisResponse unmarshall(DescribePluginApisResponse describePluginApisResponse, UnmarshallerContext context) {
describePluginApisResponse.setRequestId(context.stringValue("DescribePluginApisResponse.RequestId"));
describePluginApisResponse.setTotalCount(context.integerValue("DescribePluginApisResponse.TotalCount"));
describePluginApisResponse.setPageSize(context.integerValue("DescribePluginApisResponse.PageSize"));
describePluginApisResponse.setPageNumber(context.integerValue("DescribePluginApisResponse.PageNumber"));
List<DescribePluginApisResponse.ApiPluginSummary>
apiSummaries = new ArrayList<DescribePluginApisResponse.ApiPluginSummary>();
for (int i = 0; i < context.lengthValue("DescribePluginApisResponse.ApiSummarys.Length"); i++) {
DescribePluginApisResponse.ApiPluginSummary apiSummary = new DescribePluginApisResponse.ApiPluginSummary();
apiSummary.setRegionId(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].RegionId"));
apiSummary.setGroupId(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].GroupId"));
apiSummary.setGroupName(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].GroupName"));
apiSummary.setStageName(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].StageName"));
apiSummary.setApiId(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].ApiId"));
apiSummary.setApiName(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].ApiName"));
apiSummary.setDescription(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].Description"));
apiSummary.setPath(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].Path"));
apiSummary.setMethod(context.stringValue("DescribePluginApisResponse.ApiSummarys["+ i +"].Method"));
apiSummaries.add(apiSummary);
}
describePluginApisResponse.setApiPluginSummaries(apiSummaries);
return describePluginApisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribePluginsByApiResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeletePluginResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePluginsByApiResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePluginsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
/**
* @author auto create
*
*/
public class DescribePluginsByApiResponseUnmarshaller {
public static DescribePluginsByApiResponse unmarshall(DescribePluginsByApiResponse describePluginsByApiResponse, UnmarshallerContext context) {
describePluginsByApiResponse.setRequestId(context.stringValue("DescribePluginsByApiResponse.RequestId"));
describePluginsByApiResponse.setTotalCount(context.integerValue("DescribePluginsByApiResponse.TotalCount"));
describePluginsByApiResponse.setPageSize(context.integerValue("DescribePluginsByApiResponse.PageSize"));
describePluginsByApiResponse.setPageNumber(context.integerValue("DescribePluginsByApiResponse.PageNumber"));
List<DescribePluginsResponse.PluginAttribute>
pluginAttributes = new ArrayList<DescribePluginsResponse.PluginAttribute>();
for (int i = 0; i < context.lengthValue("DescribePluginsByApiResponse.Plugins.Length"); i++) {
DescribePluginsResponse.PluginAttribute pluginAttribute = new DescribePluginsResponse.PluginAttribute();
pluginAttribute.setRegionId(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].RegionId"));
pluginAttribute.setPluginId(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].PluginId"));
pluginAttribute.setPluginType(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].PluginType"));
pluginAttribute.setPluginName(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].PluginName"));
pluginAttribute.setPluginData(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].PluginData"));
pluginAttribute.setDescription(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].Description"));
pluginAttribute.setCreatedTime(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].CreatedTime"));
pluginAttribute.setModifiedTime(context.stringValue("DescribePluginsByApiResponse.Plugins["+ i +"].ModifiedTime"));
pluginAttributes.add(pluginAttribute);
}
describePluginsByApiResponse.setPlugins(pluginAttributes);
return describePluginsByApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribePluginsResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.AttachPluginResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePluginApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePluginsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
/**
* @author auto create
*
*/
public class DescribePluginsResponseUnmarshaller {
public static DescribePluginsResponse unmarshall(DescribePluginsResponse describePluginsResponse, UnmarshallerContext context) {
describePluginsResponse.setRequestId(context.stringValue("DescribePluginsResponse.RequestId"));
describePluginsResponse.setTotalCount(context.integerValue("DescribePluginsResponse.TotalCount"));
describePluginsResponse.setPageSize(context.integerValue("DescribePluginsResponse.PageSize"));
describePluginsResponse.setPageNumber(context.integerValue("DescribePluginsResponse.PageNumber"));
List<DescribePluginsResponse.PluginAttribute>
pluginAttributes = new ArrayList <DescribePluginsResponse.PluginAttribute>();
for (int i = 0; i < context.lengthValue("DescribePluginsResponse.Plugins.Length"); i++) {
DescribePluginsResponse.PluginAttribute pluginAttribute = new DescribePluginsResponse.PluginAttribute();
pluginAttribute.setRegionId(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].RegionId"));
pluginAttribute.setPluginId(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].PluginId"));
pluginAttribute.setPluginType(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].PluginType"));
pluginAttribute.setPluginName(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].PluginName"));
pluginAttribute.setPluginData(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].PluginData"));
pluginAttribute.setDescription(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].Description"));
pluginAttribute.setCreatedTime(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].CreatedTime"));
pluginAttribute.setModifiedTime(context.stringValue("DescribePluginsResponse.Plugins["+ i +"].ModifiedTime"));
pluginAttributes.add(pluginAttribute);
}
describePluginsResponse.setPlugins(pluginAttributes);
return describePluginsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribePurchasedApiGroupResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudapi.model.v20160714.DescribePurchasedApiGroupResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePurchasedApiGroupResponse.DomainItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePurchasedApiGroupResponseUnmarshaller {
public static DescribePurchasedApiGroupResponse unmarshall(DescribePurchasedApiGroupResponse describePurchasedApiGroupResponse, UnmarshallerContext context) {
describePurchasedApiGroupResponse.setRequestId(context.stringValue("DescribePurchasedApiGroupResponse.RequestId"));
describePurchasedApiGroupResponse.setGroupId(context.stringValue("DescribePurchasedApiGroupResponse.GroupId"));
describePurchasedApiGroupResponse.setGroupName(context.stringValue("DescribePurchasedApiGroupResponse.GroupName"));
describePurchasedApiGroupResponse.setDescription(context.stringValue("DescribePurchasedApiGroupResponse.Description"));
describePurchasedApiGroupResponse.setPurchasedTime(context.stringValue("DescribePurchasedApiGroupResponse.PurchasedTime"));
describePurchasedApiGroupResponse.setRegionId(context.stringValue("DescribePurchasedApiGroupResponse.RegionId"));
describePurchasedApiGroupResponse.setStatus(context.stringValue("DescribePurchasedApiGroupResponse.Status"));
List<DomainItem> domains = new ArrayList<DomainItem>();
for (int i = 0; i < context.lengthValue("DescribePurchasedApiGroupResponse.Domains.Length"); i++) {
DomainItem domainItem = new DomainItem();
domainItem.setDomainName(context.stringValue("DescribePurchasedApiGroupResponse.Domains["+ i +"].DomainName"));
domains.add(domainItem);
}
describePurchasedApiGroupResponse.setDomains(domains);
return describePurchasedApiGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribePurchasedApiGroupsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudapi.model.v20160714.DescribePurchasedApiGroupsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttribute;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePurchasedApiGroupsResponseUnmarshaller {
public static DescribePurchasedApiGroupsResponse unmarshall(DescribePurchasedApiGroupsResponse describePurchasedApiGroupsResponse, UnmarshallerContext context) {
describePurchasedApiGroupsResponse.setRequestId(context.stringValue("DescribePurchasedApiGroupsResponse.RequestId"));
describePurchasedApiGroupsResponse.setTotalCount(context.integerValue("DescribePurchasedApiGroupsResponse.TotalCount"));
describePurchasedApiGroupsResponse.setPageSize(context.integerValue("DescribePurchasedApiGroupsResponse.PageSize"));
describePurchasedApiGroupsResponse.setPageNumber(context.integerValue("DescribePurchasedApiGroupsResponse.PageNumber"));
List<PurchasedApiGroupAttribute> purchasedApiGroupAttributes = new ArrayList<PurchasedApiGroupAttribute>();
for (int i = 0; i < context.lengthValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes.Length"); i++) {
PurchasedApiGroupAttribute purchasedApiGroupAttribute = new PurchasedApiGroupAttribute();
purchasedApiGroupAttribute.setGroupId(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].GroupId"));
purchasedApiGroupAttribute.setGroupName(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].GroupName"));
purchasedApiGroupAttribute.setDescription(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].Description"));
purchasedApiGroupAttribute.setPurchasedTime(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].PurchasedTime"));
purchasedApiGroupAttribute.setExpireTime(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].ExpireTime"));
purchasedApiGroupAttribute.setRegionId(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].RegionId"));
purchasedApiGroupAttribute.setBillingType(context.stringValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].BillingType"));
purchasedApiGroupAttribute.setInvokeTimesMax(context.longValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].InvokeTimesMax"));
purchasedApiGroupAttribute.setInvokeTimesNow(context.longValue("DescribePurchasedApiGroupsResponse.PurchasedApiGroupAttributes["+ i +"].InvokeTimesNow"));
purchasedApiGroupAttributes.add(purchasedApiGroupAttribute);
}
describePurchasedApiGroupsResponse.setPurchasedApiGroupAttributes(purchasedApiGroupAttributes);
return describePurchasedApiGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribePurchasedApisResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudapi.model.v20160714.DescribePurchasedApisResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribePurchasedApisResponse.PurchasedApi;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePurchasedApisResponseUnmarshaller {
public static DescribePurchasedApisResponse unmarshall(DescribePurchasedApisResponse describePurchasedApisResponse, UnmarshallerContext context) {
describePurchasedApisResponse.setRequestId(context.stringValue("DescribePurchasedApisResponse.RequestId"));
describePurchasedApisResponse.setTotalCount(context.integerValue("DescribePurchasedApisResponse.TotalCount"));
describePurchasedApisResponse.setPageSize(context.integerValue("DescribePurchasedApisResponse.PageSize"));
describePurchasedApisResponse.setPageNumber(context.integerValue("DescribePurchasedApisResponse.PageNumber"));
List<PurchasedApi> purchasedApis = new ArrayList<PurchasedApi>();
for (int i = 0; i < context.lengthValue("DescribePurchasedApisResponse.PurchasedApis.Length"); i++) {
PurchasedApi purchasedApi = new PurchasedApi();
purchasedApi.setRegionId(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].RegionId"));
purchasedApi.setGroupId(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].GroupId"));
purchasedApi.setGroupName(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].GroupName"));
purchasedApi.setApiId(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].ApiId"));
purchasedApi.setApiName(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].ApiName"));
purchasedApi.setStageName(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].StageName"));
purchasedApi.setDescription(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].Description"));
purchasedApi.setPurchasedTime(context.stringValue("DescribePurchasedApisResponse.PurchasedApis["+ i +"].PurchasedTime"));
purchasedApis.add(purchasedApi);
}
describePurchasedApisResponse.setPurchasedApis(purchasedApis);
return describePurchasedApisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeRegionsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeRegionsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeRegionsResponse.Region;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeRegionsResponseUnmarshaller {
public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext context) {
describeRegionsResponse.setRequestId(context.stringValue("DescribeRegionsResponse.RequestId"));
List<Region> regions = new ArrayList<Region>();
for (int i = 0; i < context.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) {
Region region = new Region();
region.setRegionId(context.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId"));
region.setLocalName(context.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName"));
region.setEndPoint(context.stringValue("DescribeRegionsResponse.Regions["+ i +"].EndPoint"));
regions.add(region);
}
describeRegionsResponse.setRegions(regions);
return describeRegionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeSignaturesByApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeSignaturesByApiResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeSignaturesByApiResponse.SignatureItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeSignaturesByApiResponseUnmarshaller {
public static DescribeSignaturesByApiResponse unmarshall(DescribeSignaturesByApiResponse describeSignaturesByApiResponse, UnmarshallerContext context) {
describeSignaturesByApiResponse.setRequestId(context.stringValue("DescribeSignaturesByApiResponse.RequestId"));
List<SignatureItem> signatures = new ArrayList<SignatureItem>();
for (int i = 0; i < context.lengthValue("DescribeSignaturesByApiResponse.Signatures.Length"); i++) {
SignatureItem signatureItem = new SignatureItem();
signatureItem.setSignatureId(context.stringValue("DescribeSignaturesByApiResponse.Signatures["+ i +"].SignatureId"));
signatureItem.setSignatureName(context.stringValue("DescribeSignaturesByApiResponse.Signatures["+ i +"].SignatureName"));
signatureItem.setBoundTime(context.stringValue("DescribeSignaturesByApiResponse.Signatures["+ i +"].BoundTime"));
signatures.add(signatureItem);
}
describeSignaturesByApiResponse.setSignatures(signatures);
return describeSignaturesByApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeSignaturesResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeSignaturesResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeSignaturesResponse.SignatureInfo;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeSignaturesResponseUnmarshaller {
public static DescribeSignaturesResponse unmarshall(DescribeSignaturesResponse describeSignaturesResponse, UnmarshallerContext context) {
describeSignaturesResponse.setRequestId(context.stringValue("DescribeSignaturesResponse.RequestId"));
describeSignaturesResponse.setTotalCount(context.integerValue("DescribeSignaturesResponse.TotalCount"));
describeSignaturesResponse.setPageSize(context.integerValue("DescribeSignaturesResponse.PageSize"));
describeSignaturesResponse.setPageNumber(context.integerValue("DescribeSignaturesResponse.PageNumber"));
List<SignatureInfo> signatureInfos = new ArrayList<SignatureInfo>();
for (int i = 0; i < context.lengthValue("DescribeSignaturesResponse.SignatureInfos.Length"); i++) {
SignatureInfo signatureInfo = new SignatureInfo();
signatureInfo.setRegionId(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].RegionId"));
signatureInfo.setSignatureId(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].SignatureId"));
signatureInfo.setSignatureName(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].SignatureName"));
signatureInfo.setSignatureKey(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].SignatureKey"));
signatureInfo.setSignatureSecret(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].SignatureSecret"));
signatureInfo.setCreatedTime(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].CreatedTime"));
signatureInfo.setModifiedTime(context.stringValue("DescribeSignaturesResponse.SignatureInfos["+ i +"].ModifiedTime"));
signatureInfos.add(signatureInfo);
}
describeSignaturesResponse.setSignatureInfos(signatureInfos);
return describeSignaturesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeSystemParametersResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeSystemParametersResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeSystemParametersResponse.SystemParamItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeSystemParametersResponseUnmarshaller {
public static DescribeSystemParametersResponse unmarshall(DescribeSystemParametersResponse describeSystemParametersResponse, UnmarshallerContext context) {
describeSystemParametersResponse.setRequestId(context.stringValue("DescribeSystemParametersResponse.RequestId"));
List<SystemParamItem> systemParams = new ArrayList<SystemParamItem>();
for (int i = 0; i < context.lengthValue("DescribeSystemParametersResponse.SystemParams.Length"); i++) {
SystemParamItem systemParamItem = new SystemParamItem();
systemParamItem.setParamName(context.stringValue("DescribeSystemParametersResponse.SystemParams["+ i +"].ParamName"));
systemParamItem.setParamType(context.stringValue("DescribeSystemParametersResponse.SystemParams["+ i +"].ParamType"));
systemParamItem.setDemoValue(context.stringValue("DescribeSystemParametersResponse.SystemParams["+ i +"].DemoValue"));
systemParamItem.setDescription(context.stringValue("DescribeSystemParametersResponse.SystemParams["+ i +"].Description"));
systemParams.add(systemParamItem);
}
describeSystemParametersResponse.setSystemParams(systemParams);
return describeSystemParametersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeTrafficControlsByApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeTrafficControlsByApiResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeTrafficControlsByApiResponse.TrafficControlItem;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeTrafficControlsByApiResponseUnmarshaller {
public static DescribeTrafficControlsByApiResponse unmarshall(DescribeTrafficControlsByApiResponse describeTrafficControlsByApiResponse, UnmarshallerContext context) {
describeTrafficControlsByApiResponse.setRequestId(context.stringValue("DescribeTrafficControlsByApiResponse.RequestId"));
List<TrafficControlItem> trafficControlItems = new ArrayList<TrafficControlItem>();
for (int i = 0; i < context.lengthValue("DescribeTrafficControlsByApiResponse.TrafficControlItems.Length"); i++) {
TrafficControlItem trafficControlItem = new TrafficControlItem();
trafficControlItem.setTrafficControlItemId(context.stringValue("DescribeTrafficControlsByApiResponse.TrafficControlItems["+ i +"].TrafficControlItemId"));
trafficControlItem.setTrafficControlItemName(context.stringValue("DescribeTrafficControlsByApiResponse.TrafficControlItems["+ i +"].TrafficControlItemName"));
trafficControlItem.setBoundTime(context.stringValue("DescribeTrafficControlsByApiResponse.TrafficControlItems["+ i +"].BoundTime"));
trafficControlItems.add(trafficControlItem);
}
describeTrafficControlsByApiResponse.setTrafficControlItems(trafficControlItems);
return describeTrafficControlsByApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeTrafficControlsResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeTrafficControlsResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeTrafficControlsResponse.TrafficControl;
import com.aliyuncs.cloudapi.model.v20160714.DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy;
import com.aliyuncs.cloudapi.model.v20160714.DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy.Special;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeTrafficControlsResponseUnmarshaller {
public static DescribeTrafficControlsResponse unmarshall(DescribeTrafficControlsResponse describeTrafficControlsResponse, UnmarshallerContext context) {
describeTrafficControlsResponse.setRequestId(context.stringValue("DescribeTrafficControlsResponse.RequestId"));
describeTrafficControlsResponse.setTotalCount(context.integerValue("DescribeTrafficControlsResponse.TotalCount"));
describeTrafficControlsResponse.setPageSize(context.integerValue("DescribeTrafficControlsResponse.PageSize"));
describeTrafficControlsResponse.setPageNumber(context.integerValue("DescribeTrafficControlsResponse.PageNumber"));
List<TrafficControl> trafficControls = new ArrayList<TrafficControl>();
for (int i = 0; i < context.lengthValue("DescribeTrafficControlsResponse.TrafficControls.Length"); i++) {
TrafficControl trafficControl = new TrafficControl();
trafficControl.setTrafficControlId(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].TrafficControlId"));
trafficControl.setTrafficControlName(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].TrafficControlName"));
trafficControl.setDescription(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].Description"));
trafficControl.setTrafficControlUnit(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].TrafficControlUnit"));
trafficControl.setApiDefault(context.integerValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].ApiDefault"));
trafficControl.setUserDefault(context.integerValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].UserDefault"));
trafficControl.setAppDefault(context.integerValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].AppDefault"));
trafficControl.setCreatedTime(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].CreatedTime"));
trafficControl.setModifiedTime(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].ModifiedTime"));
List<SpecialPolicy> specialPolicies = new ArrayList<SpecialPolicy>();
for (int j = 0; j < context.lengthValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].SpecialPolicies.Length"); j++) {
SpecialPolicy specialPolicy = new SpecialPolicy();
specialPolicy.setSpecialType(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].SpecialPolicies["+ j +"].SpecialType"));
List<Special> specials = new ArrayList<Special>();
for (int k = 0; k < context.lengthValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].SpecialPolicies["+ j +"].Specials.Length"); k++) {
Special special = new Special();
special.setSpecialKey(context.stringValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].SpecialPolicies["+ j +"].Specials["+ k +"].SpecialKey"));
special.setTrafficValue(context.integerValue("DescribeTrafficControlsResponse.TrafficControls["+ i +"].SpecialPolicies["+ j +"].Specials["+ k +"].TrafficValue"));
specials.add(special);
}
specialPolicy.setSpecials(specials);
specialPolicies.add(specialPolicy);
}
trafficControl.setSpecialPolicies(specialPolicies);
trafficControls.add(trafficControl);
}
describeTrafficControlsResponse.setTrafficControls(trafficControls);
return describeTrafficControlsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeVpcAccessesResponseUnmarshaller.java
|
/*
* Copyright 2017 Aliyun.com All right reserved. This software is the
* confidential and proprietary information of Aliyun.com ("Confidential
* Information"). You shall not disclose such Confidential Information and shall
* use it only in accordance with the terms of the license agreement you entered
* into with Aliyun.com .
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeVpcAccessesResponse;
import com.aliyuncs.cloudapi.model.v20160714.DescribeVpcAccessesResponse.VpcAccessAttribute;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeVpcAccessesResponseUnmarshaller {
public static DescribeVpcAccessesResponse unmarshall(DescribeVpcAccessesResponse describeVpcAccessesResponseResponse, UnmarshallerContext context) {
describeVpcAccessesResponseResponse.setRequestId(context.stringValue("DescribeVpcAccessesResponse.RequestId"));
describeVpcAccessesResponseResponse.setTotalCount(context.integerValue("DescribeVpcAccessesResponse.TotalCount"));
describeVpcAccessesResponseResponse.setPageSize(context.integerValue("DescribeVpcAccessesResponse.PageSize"));
describeVpcAccessesResponseResponse.setPageNumber(context.integerValue("DescribeVpcAccessesResponse.PageNumber"));
List<VpcAccessAttribute> vpcAccessAttributes = new ArrayList<VpcAccessAttribute>();
for (int i = 0; i < context.lengthValue("DescribeVpcAccessesResponse.VpcAccessAttributes.Length"); i++) {
VpcAccessAttribute vpcAccessAttribute = new VpcAccessAttribute();
vpcAccessAttribute.setVpcId(context.stringValue("DescribeVpcAccessesResponse.VpcAccessAttributes["+ i +"].VpcId"));
vpcAccessAttribute.setInstanceId(context.stringValue("DescribeVpcAccessesResponse.VpcAccessAttributes["+ i +"].InstanceId"));
vpcAccessAttribute.setPort(context.integerValue("DescribeVpcAccessesResponse.VpcAccessAttributes["+ i +"].Port"));
vpcAccessAttribute.setName(context.stringValue("DescribeVpcAccessesResponse.VpcAccessAttributes["+ i +"].Name"));
vpcAccessAttribute.setCreatedTime(context.stringValue("DescribeVpcAccessesResponse.VpcAccessAttributes["+ i +"].CreatedTime"));
vpcAccessAttributes.add(vpcAccessAttribute);
}
describeVpcAccessesResponseResponse.setVpcAccessAttributes(vpcAccessAttributes);
return describeVpcAccessesResponseResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DescribeZonesResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DescribeZonesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
public class DescribeZonesResponseUnmarshaller {
public static DescribeZonesResponse unmarshall(DescribeZonesResponse describeZonesResponse, UnmarshallerContext context) {
describeZonesResponse.setRequestId(context.stringValue("DescribeZonesResponse.RequestId"));
List<DescribeZonesResponse.Zone> zones = new ArrayList<DescribeZonesResponse.Zone>();
for (int i = 0; i < context.lengthValue("DescribeZonesResponse.Zones.Length"); i++) {
DescribeZonesResponse.Zone zone = new DescribeZonesResponse.Zone();
zone.setZoneId(context.stringValue("DescribeZonesResponse.Zones["+ i +"].ZoneId"));
zone.setLocalName(context.stringValue("DescribeZonesResponse.Zones["+ i +"].LocalName"));
zones.add(zone);
}
describeZonesResponse.setZones(zones);
return describeZonesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/DetachPluginResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.DeletePluginResponse;
import com.aliyuncs.cloudapi.model.v20160714.DetachPluginResponse;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
*
*/
public class DetachPluginResponseUnmarshaller {
public static DetachPluginResponse unmarshall(DetachPluginResponse detachPluginResponse, UnmarshallerContext context) {
detachPluginResponse.setRequestId(context.stringValue("DetachPluginResponse.RequestId"));
return detachPluginResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ImportSwaggerResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ImportSwaggerResponse;
import com.aliyuncs.cloudapi.model.v20160714.ImportSwaggerResponse.ApiImportSwaggerFailed;
import com.aliyuncs.cloudapi.model.v20160714.ImportSwaggerResponse.ApiImportSwaggerSuccess;
import com.aliyuncs.transform.UnmarshallerContext;
import java.util.ArrayList;
import java.util.List;
/**
* @author auto create
*
*/
public class ImportSwaggerResponseUnmarshaller {
public static ImportSwaggerResponse unmarshall(ImportSwaggerResponse importSwaggerResponse,
UnmarshallerContext context) {
importSwaggerResponse.setRequestId(context.stringValue("ImportSwaggerResponse.RequestId"));
List<ApiImportSwaggerSuccess> apiImportSwaggerSuccessList = new ArrayList<ApiImportSwaggerSuccess>();
for (int i = 0; i < context.lengthValue("ImportSwaggerResponse.Success.Length"); i++) {
ApiImportSwaggerSuccess apiImportSwaggerSuccess = new ApiImportSwaggerSuccess();
apiImportSwaggerSuccess.setApiUid(
context.stringValue("ImportSwaggerResponse.Success[" + i + "].ApiUid"));
apiImportSwaggerSuccess.setPath(
context.stringValue("ImportSwaggerResponse.Success[" + i + "].Path"));
apiImportSwaggerSuccess.setApiOperation(
context.stringValue("ImportSwaggerResponse.Success[" + i + "].ApiOperation"));
apiImportSwaggerSuccess.setHttpMethod(
context.stringValue("ImportSwaggerResponse.Success[" + i + "].HttpMethod"));
apiImportSwaggerSuccessList.add(apiImportSwaggerSuccess);
}
importSwaggerResponse.setSuccess(apiImportSwaggerSuccessList);
List<ApiImportSwaggerFailed> apiImportSwaggerFaileds = new ArrayList<ApiImportSwaggerFailed>();
for (int i = 0; i < context.lengthValue("ImportSwaggerResponse.Failed.Length"); i++) {
ApiImportSwaggerFailed apiImportSwaggerFailed = new ApiImportSwaggerFailed();
apiImportSwaggerFailed.setErrorMsg(
context.stringValue("ImportSwaggerResponse.Failed[" + i + "].ErrorMsg"));
apiImportSwaggerFailed.setPath(
context.stringValue("ImportSwaggerResponse.Failed[" + i + "].Path"));
apiImportSwaggerFailed.setHttpMethod(
context.stringValue("ImportSwaggerResponse.Failed[" + i + "].HttpMethod"));
apiImportSwaggerFaileds.add(apiImportSwaggerFailed);
}
importSwaggerResponse.setFailed(apiImportSwaggerFaileds);
return importSwaggerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ListTagResourcesResponseUnmarshaller.java
|
package com.aliyuncs.cloudapi.transform.v20160714;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudapi.model.v20160714.ListTagResourcesResponse;
import com.aliyuncs.cloudapi.model.v20160714.ListTagResourcesResponse.TagResource;
import com.aliyuncs.transform.UnmarshallerContext;
/**
*
*/
public class ListTagResourcesResponseUnmarshaller {
public static ListTagResourcesResponse unmarshall(ListTagResourcesResponse listTagResourcesResponse, UnmarshallerContext context) {
listTagResourcesResponse.setRequestId(context.stringValue("ListTagResourcesResponse.RequestId"));
listTagResourcesResponse.setNextToken(context.stringValue("ListTagResourcesResponse.NextToken"));
List<TagResource> list = new ArrayList<TagResource>();
for(int i = 0; i < context.lengthValue("ListTagResourcesResponse.TagResources.Length"); i++){
TagResource tagResource = new TagResource();
tagResource.setResourceId("ListTagResourcesResponse.TagResources["+ i +"].ResourceId");
tagResource.setResourceType("ListTagResourcesResponse.TagResources["+ i +"].ResourceType");
tagResource.setTagKey("ListTagResourcesResponse.TagResources["+ i +"].TagKey");
tagResource.setTagValue("ListTagResourcesResponse.TagResources["+ i +"].TagValue");
list.add(tagResource);
}
listTagResourcesResponse.setTagResources(list);
return listTagResourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyApiGroupInstanceResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyApiGroupInstanceResponse;
import com.aliyuncs.cloudapi.model.v20160714.ModifyApiGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyApiGroupInstanceResponseUnmarshaller {
public static ModifyApiGroupInstanceResponse unmarshall(ModifyApiGroupInstanceResponse modifyApiGroupInstanceResponse, UnmarshallerContext context) {
modifyApiGroupInstanceResponse.setRequestId(context.stringValue("ModifyApiGroupInstanceResponse.RequestId"));
return modifyApiGroupInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyApiGroupNetworkPolicyResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyApiGroupInstanceResponse;
import com.aliyuncs.cloudapi.model.v20160714.ModifyApiGroupNetworkPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyApiGroupNetworkPolicyResponseUnmarshaller {
public static ModifyApiGroupNetworkPolicyResponse unmarshall(ModifyApiGroupNetworkPolicyResponse modifyApiGroupNetworkPolicyResponse, UnmarshallerContext context) {
modifyApiGroupNetworkPolicyResponse.setRequestId(context.stringValue("ModifyApiGroupNetworkPolicyResponse.RequestId"));
return modifyApiGroupNetworkPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyApiGroupResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyApiGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyApiGroupResponseUnmarshaller {
public static ModifyApiGroupResponse unmarshall(ModifyApiGroupResponse modifyApiGroupResponse, UnmarshallerContext context) {
modifyApiGroupResponse.setRequestId(context.stringValue("ModifyApiGroupResponse.RequestId"));
modifyApiGroupResponse.setGroupId(context.stringValue("ModifyApiGroupResponse.GroupId"));
modifyApiGroupResponse.setGroupName(context.stringValue("ModifyApiGroupResponse.GroupName"));
modifyApiGroupResponse.setSubDomain(context.stringValue("ModifyApiGroupResponse.SubDomain"));
modifyApiGroupResponse.setDescription(context.stringValue("ModifyApiGroupResponse.Description"));
return modifyApiGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyApiResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyApiResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyApiResponseUnmarshaller {
public static ModifyApiResponse unmarshall(ModifyApiResponse modifyApiResponse, UnmarshallerContext context) {
modifyApiResponse.setRequestId(context.stringValue("ModifyApiResponse.RequestId"));
return modifyApiResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyAppResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyAppResponseUnmarshaller {
public static ModifyAppResponse unmarshall(ModifyAppResponse modifyAppResponse, UnmarshallerContext context) {
modifyAppResponse.setRequestId(context.stringValue("ModifyAppResponse.RequestId"));
return modifyAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyCatalogResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyCatalogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyCatalogResponseUnmarshaller {
public static ModifyCatalogResponse unmarshall(ModifyCatalogResponse modifyCatalogResponse, UnmarshallerContext context) {
modifyCatalogResponse.setRequestId(context.stringValue("ModifyCatalogResponse.RequestId"));
return modifyCatalogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyIpControlPolicyItemResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyIpControlPolicyItemResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyIpControlPolicyItemResponseUnmarshaller {
public static ModifyIpControlPolicyItemResponse unmarshall(ModifyIpControlPolicyItemResponse modifyIpControlPolicyItemResponse, UnmarshallerContext context) {
modifyIpControlPolicyItemResponse.setRequestId(context.stringValue("ModifyIpControlPolicyItemResponse.RequestId"));
return modifyIpControlPolicyItemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudapi/4.10.0/com/aliyuncs/cloudapi/transform/v20160714/ModifyIpControlResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudapi.transform.v20160714;
import com.aliyuncs.cloudapi.model.v20160714.ModifyIpControlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyIpControlResponseUnmarshaller {
public static ModifyIpControlResponse unmarshall(ModifyIpControlResponse modifyIpControlResponse, UnmarshallerContext context) {
modifyIpControlResponse.setRequestId(context.stringValue("ModifyIpControlResponse.RequestId"));
return modifyIpControlResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.