mirror of https://github.com/pulumi/pulumi.git
18 lines
449 B
C#
18 lines
449 B
C#
// Copyright 2016-2021, Pulumi Corporation
|
|
|
|
using Pulumi.Automation.Serialization.Json;
|
|
|
|
namespace Pulumi.Automation.Serialization
|
|
{
|
|
// necessary for constructor deserialization
|
|
internal class ConfigValueModel : IJsonModel<ConfigValue>
|
|
{
|
|
public string Value { get; set; } = null!;
|
|
|
|
public bool Secret { get; set; }
|
|
|
|
public ConfigValue Convert()
|
|
=> new ConfigValue(this.Value, this.Secret);
|
|
}
|
|
}
|