Skip to content

Commit 75bd365

Browse files
committed
feat(discovery): add size enum
1 parent 2fcd561 commit 75bd365

File tree

1 file changed

+94
-0
lines changed

1 file changed

+94
-0
lines changed

Scripts/Services/Discovery/v1/DataModels.cs

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,105 @@ public class Environment
7171
/// </summary>
7272
public bool read_only { get; set; }
7373
/// <summary>
74+
/// Size of the environment. = ['XS', 'S', 'MS', 'M', 'ML', 'L', 'XL', 'XXL', 'XXXL'].
75+
/// </summary>
76+
public SizeEnum? size { get; set; }
77+
/// <summary>
7478
/// Disk and memory usage.
7579
/// </summary>
7680
public IndexCapacity index_capacity { get; set; }
7781
}
7882

83+
/// <summary>
84+
/// An object that defines an environment name and optional description. The fields in this object are
85+
/// not approved for personal information and cannot be deleted based on customer ID.
86+
/// </summary>
87+
[fsObject]
88+
public class CreateEnvironmentRequest
89+
{
90+
/// <summary>
91+
/// Name that identifies the environment.
92+
/// </summary>
93+
[fsProperty("name")]
94+
public string Name { get; set; }
95+
/// <summary>
96+
/// Description of the environment.
97+
/// </summary>
98+
[fsProperty("description")]
99+
public string Description { get; set; }
100+
/// <summary>
101+
/// Size of the environment. = ['XS', 'S', 'MS', 'M', 'ML', 'L', 'XL', 'XXL', 'XXXL'].
102+
/// </summary>
103+
[fsProperty("size")]
104+
public SizeEnum? Size { get; set; }
105+
}
106+
107+
/// <summary>
108+
/// Size of the environment.
109+
/// </summary>
110+
/// <value>
111+
/// Size of the environment.
112+
/// </value>
113+
public enum SizeEnum
114+
{
115+
116+
/// <summary>
117+
/// Enum XS for XS
118+
/// </summary>
119+
[EnumMember(Value = "XS")]
120+
XS,
121+
122+
/// <summary>
123+
/// Enum S for S
124+
/// </summary>
125+
[EnumMember(Value = "S")]
126+
S,
127+
128+
/// <summary>
129+
/// Enum MS for MS
130+
/// </summary>
131+
[EnumMember(Value = "MS")]
132+
MS,
133+
134+
/// <summary>
135+
/// Enum M for M
136+
/// </summary>
137+
[EnumMember(Value = "M")]
138+
M,
139+
140+
/// <summary>
141+
/// Enum ML for ML
142+
/// </summary>
143+
[EnumMember(Value = "ML")]
144+
ML,
145+
146+
/// <summary>
147+
/// Enum L for L
148+
/// </summary>
149+
[EnumMember(Value = "L")]
150+
L,
151+
152+
/// <summary>
153+
/// Enum XL for XL
154+
/// </summary>
155+
[EnumMember(Value = "XL")]
156+
XL,
157+
158+
/// <summary>
159+
/// Enum XXL for XXL
160+
/// </summary>
161+
[EnumMember(Value = "XXL")]
162+
XXL,
163+
164+
/// <summary>
165+
/// Enum XXXL for XXXL
166+
/// </summary>
167+
[EnumMember(Value = "XXXL")]
168+
XXXL
169+
}
170+
171+
172+
79173
/// <summary>
80174
/// The disk and memory usage.
81175
/// </summary>

0 commit comments

Comments
 (0)