com.aliyuncs.oos.transform.v20190601.CreateSecretParameterResponseUnmarshaller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-oos Show documentation
Show all versions of aliyun-java-sdk-oos Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.oos.transform.v20190601;
import com.aliyuncs.oos.model.v20190601.CreateSecretParameterResponse;
import com.aliyuncs.oos.model.v20190601.CreateSecretParameterResponse.Parameter;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateSecretParameterResponseUnmarshaller {
public static CreateSecretParameterResponse unmarshall(CreateSecretParameterResponse createSecretParameterResponse, UnmarshallerContext _ctx) {
createSecretParameterResponse.setRequestId(_ctx.stringValue("CreateSecretParameterResponse.RequestId"));
Parameter parameter = new Parameter();
parameter.setType(_ctx.stringValue("CreateSecretParameterResponse.Parameter.Type"));
parameter.setUpdatedDate(_ctx.stringValue("CreateSecretParameterResponse.Parameter.UpdatedDate"));
parameter.setUpdatedBy(_ctx.stringValue("CreateSecretParameterResponse.Parameter.UpdatedBy"));
parameter.setKeyId(_ctx.stringValue("CreateSecretParameterResponse.Parameter.KeyId"));
parameter.setTags(_ctx.mapValue("CreateSecretParameterResponse.Parameter.Tags"));
parameter.setDescription(_ctx.stringValue("CreateSecretParameterResponse.Parameter.Description"));
parameter.setConstraints(_ctx.stringValue("CreateSecretParameterResponse.Parameter.Constraints"));
parameter.setResourceGroupId(_ctx.stringValue("CreateSecretParameterResponse.Parameter.ResourceGroupId"));
parameter.setCreatedBy(_ctx.stringValue("CreateSecretParameterResponse.Parameter.CreatedBy"));
parameter.setCreatedDate(_ctx.stringValue("CreateSecretParameterResponse.Parameter.CreatedDate"));
parameter.setParameterVersion(_ctx.integerValue("CreateSecretParameterResponse.Parameter.ParameterVersion"));
parameter.setName(_ctx.stringValue("CreateSecretParameterResponse.Parameter.Name"));
parameter.setId(_ctx.stringValue("CreateSecretParameterResponse.Parameter.Id"));
parameter.setShareType(_ctx.stringValue("CreateSecretParameterResponse.Parameter.ShareType"));
createSecretParameterResponse.setParameter(parameter);
return createSecretParameterResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy