-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathMetadata.cs
35 lines (32 loc) · 1.19 KB
/
Metadata.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System.Collections.Generic;
namespace Pulumi.Experimental.Provider
{
public class Metadata
{
public string Name { get; set; } = "";
public string Version { get; set; } = "";
public string? DisplayName { get; set; }
}
public class PropertyDefinition
{
public string? Description { get; set; }
public string? Type { get; set; }
public string? Ref { get; set; }
public bool Optional { get; set; }
}
public class TypeDefinition
{
public string Name { get; set; } = "";
public string? Description { get; set; }
public Dictionary<string, PropertyDefinition> Properties { get; set; } = new();
public Dictionary<string, string> PropertiesMapping { get; set; } = new();
}
public class ComponentDefinition
{
public string? Description { get; set; }
public Dictionary<string, PropertyDefinition> Inputs { get; set; } = new();
public Dictionary<string, string> InputsMapping { get; set; } = new();
public Dictionary<string, PropertyDefinition> Outputs { get; set; } = new();
public Dictionary<string, string> OutputsMapping { get; set; } = new();
}
}