public static DescribeKeyResponse Unmarshall(UnmarshallerContext context) { DescribeKeyResponse describeKeyResponse = new DescribeKeyResponse(); describeKeyResponse.HttpResponse = context.HttpResponse; describeKeyResponse.RequestId = context.StringValue("DescribeKey.RequestId"); DescribeKeyResponse.KeyMetadata_ keyMetadata = new DescribeKeyResponse.KeyMetadata_(); keyMetadata.KeyId = context.StringValue("DescribeKey.KeyMetadata.KeyId"); keyMetadata.KeyState = context.StringValue("DescribeKey.KeyMetadata.KeyState"); keyMetadata.KeyUsage = context.StringValue("DescribeKey.KeyMetadata.KeyUsage"); keyMetadata.Description = context.StringValue("DescribeKey.KeyMetadata.Description"); describeKeyResponse.KeyMetadata = keyMetadata; return(describeKeyResponse); }
public static DescribeKeyResponse Unmarshall(UnmarshallerContext context) { DescribeKeyResponse describeKeyResponse = new DescribeKeyResponse() { HttpResponse = context.HttpResponse, RequestId = context.StringValue("DescribeKey.RequestId") }; DescribeKeyResponse.KeyMetadata_ keyMetadata = new DescribeKeyResponse.KeyMetadata_() { CreationDate = context.StringValue("DescribeKey.KeyMetadata.CreationDate"), Description = context.StringValue("DescribeKey.KeyMetadata.Description"), KeyId = context.StringValue("DescribeKey.KeyMetadata.KeyId"), KeyState = context.StringValue("DescribeKey.KeyMetadata.KeyState"), KeyUsage = context.StringValue("DescribeKey.KeyMetadata.KeyUsage"), DeleteDate = context.StringValue("DescribeKey.KeyMetadata.DeleteDate"), Creator = context.StringValue("DescribeKey.KeyMetadata.Creator") }; describeKeyResponse.KeyMetadata = keyMetadata; return(describeKeyResponse); }