Skip to content

Commit 131d468

Browse files
committed
ci: Generate code
1 parent 0a689c1 commit 131d468

11 files changed

+1374
-1140
lines changed

output/csharp/src/Seam/Model/AccessCode.cs

+255-221
Large diffs are not rendered by default.

output/csharp/src/Seam/Model/AcsCredential.cs

+42-33
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public AcsCredential(
3939
string? parentAcsCredentialId = default,
4040
string? startsAt = default,
4141
AcsCredentialVisionlineMetadata? visionlineMetadata = default,
42-
List<Warnings> warnings = default,
42+
List<AcsCredentialWarnings> warnings = default,
4343
string workspaceId = default
4444
)
4545
{
@@ -116,32 +116,41 @@ public enum ExternalTypeEnum
116116
}
117117

118118
[JsonConverter(typeof(JsonSubtypes), "warning_code")]
119-
[JsonSubtypes.KnownSubType(typeof(WarningsNeedsToBeReissued), "needs_to_be_reissued")]
120119
[JsonSubtypes.KnownSubType(
121-
typeof(WarningsUnknownIssueWithAcsCredential),
120+
typeof(AcsCredentialWarningsNeedsToBeReissued),
121+
"needs_to_be_reissued"
122+
)]
123+
[JsonSubtypes.KnownSubType(
124+
typeof(AcsCredentialWarningsUnknownIssueWithAcsCredential),
122125
"unknown_issue_with_acs_credential"
123126
)]
124-
[JsonSubtypes.KnownSubType(typeof(WarningsBeingDeleted), "being_deleted")]
125-
[JsonSubtypes.KnownSubType(typeof(WarningsScheduleModified), "schedule_modified")]
127+
[JsonSubtypes.KnownSubType(typeof(AcsCredentialWarningsBeingDeleted), "being_deleted")]
128+
[JsonSubtypes.KnownSubType(
129+
typeof(AcsCredentialWarningsScheduleModified),
130+
"schedule_modified"
131+
)]
126132
[JsonSubtypes.KnownSubType(
127-
typeof(WarningsScheduleExternallyModified),
133+
typeof(AcsCredentialWarningsScheduleExternallyModified),
128134
"schedule_externally_modified"
129135
)]
130-
[JsonSubtypes.KnownSubType(typeof(WarningsWaitingToBeIssued), "waiting_to_be_issued")]
131-
public abstract class Warnings
136+
[JsonSubtypes.KnownSubType(
137+
typeof(AcsCredentialWarningsWaitingToBeIssued),
138+
"waiting_to_be_issued"
139+
)]
140+
public abstract class AcsCredentialWarnings
132141
{
133142
public abstract string WarningCode { get; }
134143

135144
public abstract override string ToString();
136145
}
137146

138-
[DataContract(Name = "seamModel_warningsWaitingToBeIssued_model")]
139-
public class WarningsWaitingToBeIssued : Warnings
147+
[DataContract(Name = "seamModel_acsCredentialWarningsWaitingToBeIssued_model")]
148+
public class AcsCredentialWarningsWaitingToBeIssued : AcsCredentialWarnings
140149
{
141150
[JsonConstructorAttribute]
142-
protected WarningsWaitingToBeIssued() { }
151+
protected AcsCredentialWarningsWaitingToBeIssued() { }
143152

144-
public WarningsWaitingToBeIssued(
153+
public AcsCredentialWarningsWaitingToBeIssued(
145154
string createdAt = default,
146155
string message = default,
147156
string warningCode = default
@@ -181,13 +190,13 @@ public override string ToString()
181190
}
182191
}
183192

184-
[DataContract(Name = "seamModel_warningsScheduleExternallyModified_model")]
185-
public class WarningsScheduleExternallyModified : Warnings
193+
[DataContract(Name = "seamModel_acsCredentialWarningsScheduleExternallyModified_model")]
194+
public class AcsCredentialWarningsScheduleExternallyModified : AcsCredentialWarnings
186195
{
187196
[JsonConstructorAttribute]
188-
protected WarningsScheduleExternallyModified() { }
197+
protected AcsCredentialWarningsScheduleExternallyModified() { }
189198

190-
public WarningsScheduleExternallyModified(
199+
public AcsCredentialWarningsScheduleExternallyModified(
191200
string createdAt = default,
192201
string message = default,
193202
string warningCode = default
@@ -227,13 +236,13 @@ public override string ToString()
227236
}
228237
}
229238

230-
[DataContract(Name = "seamModel_warningsScheduleModified_model")]
231-
public class WarningsScheduleModified : Warnings
239+
[DataContract(Name = "seamModel_acsCredentialWarningsScheduleModified_model")]
240+
public class AcsCredentialWarningsScheduleModified : AcsCredentialWarnings
232241
{
233242
[JsonConstructorAttribute]
234-
protected WarningsScheduleModified() { }
243+
protected AcsCredentialWarningsScheduleModified() { }
235244

236-
public WarningsScheduleModified(
245+
public AcsCredentialWarningsScheduleModified(
237246
string createdAt = default,
238247
string message = default,
239248
string warningCode = default
@@ -273,13 +282,13 @@ public override string ToString()
273282
}
274283
}
275284

276-
[DataContract(Name = "seamModel_warningsBeingDeleted_model")]
277-
public class WarningsBeingDeleted : Warnings
285+
[DataContract(Name = "seamModel_acsCredentialWarningsBeingDeleted_model")]
286+
public class AcsCredentialWarningsBeingDeleted : AcsCredentialWarnings
278287
{
279288
[JsonConstructorAttribute]
280-
protected WarningsBeingDeleted() { }
289+
protected AcsCredentialWarningsBeingDeleted() { }
281290

282-
public WarningsBeingDeleted(
291+
public AcsCredentialWarningsBeingDeleted(
283292
string createdAt = default,
284293
string message = default,
285294
string warningCode = default
@@ -319,13 +328,13 @@ public override string ToString()
319328
}
320329
}
321330

322-
[DataContract(Name = "seamModel_warningsUnknownIssueWithAcsCredential_model")]
323-
public class WarningsUnknownIssueWithAcsCredential : Warnings
331+
[DataContract(Name = "seamModel_acsCredentialWarningsUnknownIssueWithAcsCredential_model")]
332+
public class AcsCredentialWarningsUnknownIssueWithAcsCredential : AcsCredentialWarnings
324333
{
325334
[JsonConstructorAttribute]
326-
protected WarningsUnknownIssueWithAcsCredential() { }
335+
protected AcsCredentialWarningsUnknownIssueWithAcsCredential() { }
327336

328-
public WarningsUnknownIssueWithAcsCredential(
337+
public AcsCredentialWarningsUnknownIssueWithAcsCredential(
329338
string createdAt = default,
330339
string message = default,
331340
string warningCode = default
@@ -365,13 +374,13 @@ public override string ToString()
365374
}
366375
}
367376

368-
[DataContract(Name = "seamModel_warningsNeedsToBeReissued_model")]
369-
public class WarningsNeedsToBeReissued : Warnings
377+
[DataContract(Name = "seamModel_acsCredentialWarningsNeedsToBeReissued_model")]
378+
public class AcsCredentialWarningsNeedsToBeReissued : AcsCredentialWarnings
370379
{
371380
[JsonConstructorAttribute]
372-
protected WarningsNeedsToBeReissued() { }
381+
protected AcsCredentialWarningsNeedsToBeReissued() { }
373382

374-
public WarningsNeedsToBeReissued(
383+
public AcsCredentialWarningsNeedsToBeReissued(
375384
string createdAt = default,
376385
string message = default,
377386
string warningCode = default
@@ -508,7 +517,7 @@ public override string ToString()
508517
public AcsCredentialVisionlineMetadata? VisionlineMetadata { get; set; }
509518

510519
[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = false)]
511-
public List<Warnings> Warnings { get; set; }
520+
public List<AcsCredentialWarnings> Warnings { get; set; }
512521

513522
[DataMember(Name = "workspace_id", IsRequired = true, EmitDefaultValue = false)]
514523
public string WorkspaceId { get; set; }

output/csharp/src/Seam/Model/AcsSystem.cs

+54-46
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public AcsSystem(
2424
List<string> connectedAccountIds = default,
2525
string createdAt = default,
2626
string? defaultCredentialManagerAcsSystemId = default,
27-
List<Errors> errors = default,
27+
List<AcsSystemErrors> errors = default,
2828
AcsSystem.ExternalTypeEnum? externalType = default,
2929
string? externalTypeDisplayName = default,
3030
string imageAltText = default,
@@ -35,7 +35,7 @@ public AcsSystem(
3535
AcsSystem.SystemTypeEnum? systemType = default,
3636
string? systemTypeDisplayName = default,
3737
AcsSystemVisionlineMetadata? visionlineMetadata = default,
38-
List<Warnings> warnings = default,
38+
List<AcsSystemWarnings> warnings = default,
3939
string workspaceId = default
4040
)
4141
{
@@ -65,37 +65,43 @@ public AcsSystem(
6565

6666
[JsonConverter(typeof(JsonSubtypes), "error_code")]
6767
[JsonSubtypes.KnownSubType(
68-
typeof(ErrorsSaltoKsCertificationExpired),
68+
typeof(AcsSystemErrorsSaltoKsCertificationExpired),
6969
"salto_ks_certification_expired"
7070
)]
71-
[JsonSubtypes.KnownSubType(typeof(ErrorsAccountDisconnected), "account_disconnected")]
72-
[JsonSubtypes.KnownSubType(typeof(ErrorsAcsSystemDisconnected), "acs_system_disconnected")]
7371
[JsonSubtypes.KnownSubType(
74-
typeof(ErrorsSaltoKsSubscriptionLimitExceeded),
72+
typeof(AcsSystemErrorsAccountDisconnected),
73+
"account_disconnected"
74+
)]
75+
[JsonSubtypes.KnownSubType(
76+
typeof(AcsSystemErrorsAcsSystemDisconnected),
77+
"acs_system_disconnected"
78+
)]
79+
[JsonSubtypes.KnownSubType(
80+
typeof(AcsSystemErrorsSaltoKsSubscriptionLimitExceeded),
7581
"salto_ks_subscription_limit_exceeded"
7682
)]
7783
[JsonSubtypes.KnownSubType(
78-
typeof(ErrorsVisionlineInstanceUnreachable),
84+
typeof(AcsSystemErrorsVisionlineInstanceUnreachable),
7985
"visionline_instance_unreachable"
8086
)]
8187
[JsonSubtypes.KnownSubType(
82-
typeof(ErrorsSeamBridgeDisconnected),
88+
typeof(AcsSystemErrorsSeamBridgeDisconnected),
8389
"seam_bridge_disconnected"
8490
)]
85-
public abstract class Errors
91+
public abstract class AcsSystemErrors
8692
{
8793
public abstract string ErrorCode { get; }
8894

8995
public abstract override string ToString();
9096
}
9197

92-
[DataContract(Name = "seamModel_errorsSeamBridgeDisconnected_model")]
93-
public class ErrorsSeamBridgeDisconnected : Errors
98+
[DataContract(Name = "seamModel_acsSystemErrorsSeamBridgeDisconnected_model")]
99+
public class AcsSystemErrorsSeamBridgeDisconnected : AcsSystemErrors
94100
{
95101
[JsonConstructorAttribute]
96-
protected ErrorsSeamBridgeDisconnected() { }
102+
protected AcsSystemErrorsSeamBridgeDisconnected() { }
97103

98-
public ErrorsSeamBridgeDisconnected(
104+
public AcsSystemErrorsSeamBridgeDisconnected(
99105
string createdAt = default,
100106
string errorCode = default,
101107
string message = default
@@ -135,13 +141,13 @@ public override string ToString()
135141
}
136142
}
137143

138-
[DataContract(Name = "seamModel_errorsVisionlineInstanceUnreachable_model")]
139-
public class ErrorsVisionlineInstanceUnreachable : Errors
144+
[DataContract(Name = "seamModel_acsSystemErrorsVisionlineInstanceUnreachable_model")]
145+
public class AcsSystemErrorsVisionlineInstanceUnreachable : AcsSystemErrors
140146
{
141147
[JsonConstructorAttribute]
142-
protected ErrorsVisionlineInstanceUnreachable() { }
148+
protected AcsSystemErrorsVisionlineInstanceUnreachable() { }
143149

144-
public ErrorsVisionlineInstanceUnreachable(
150+
public AcsSystemErrorsVisionlineInstanceUnreachable(
145151
string createdAt = default,
146152
string errorCode = default,
147153
string message = default
@@ -181,13 +187,13 @@ public override string ToString()
181187
}
182188
}
183189

184-
[DataContract(Name = "seamModel_errorsSaltoKsSubscriptionLimitExceeded_model")]
185-
public class ErrorsSaltoKsSubscriptionLimitExceeded : Errors
190+
[DataContract(Name = "seamModel_acsSystemErrorsSaltoKsSubscriptionLimitExceeded_model")]
191+
public class AcsSystemErrorsSaltoKsSubscriptionLimitExceeded : AcsSystemErrors
186192
{
187193
[JsonConstructorAttribute]
188-
protected ErrorsSaltoKsSubscriptionLimitExceeded() { }
194+
protected AcsSystemErrorsSaltoKsSubscriptionLimitExceeded() { }
189195

190-
public ErrorsSaltoKsSubscriptionLimitExceeded(
196+
public AcsSystemErrorsSaltoKsSubscriptionLimitExceeded(
191197
string createdAt = default,
192198
string errorCode = default,
193199
string message = default
@@ -227,13 +233,13 @@ public override string ToString()
227233
}
228234
}
229235

230-
[DataContract(Name = "seamModel_errorsAcsSystemDisconnected_model")]
231-
public class ErrorsAcsSystemDisconnected : Errors
236+
[DataContract(Name = "seamModel_acsSystemErrorsAcsSystemDisconnected_model")]
237+
public class AcsSystemErrorsAcsSystemDisconnected : AcsSystemErrors
232238
{
233239
[JsonConstructorAttribute]
234-
protected ErrorsAcsSystemDisconnected() { }
240+
protected AcsSystemErrorsAcsSystemDisconnected() { }
235241

236-
public ErrorsAcsSystemDisconnected(
242+
public AcsSystemErrorsAcsSystemDisconnected(
237243
string createdAt = default,
238244
string errorCode = default,
239245
string message = default
@@ -273,13 +279,13 @@ public override string ToString()
273279
}
274280
}
275281

276-
[DataContract(Name = "seamModel_errorsAccountDisconnected_model")]
277-
public class ErrorsAccountDisconnected : Errors
282+
[DataContract(Name = "seamModel_acsSystemErrorsAccountDisconnected_model")]
283+
public class AcsSystemErrorsAccountDisconnected : AcsSystemErrors
278284
{
279285
[JsonConstructorAttribute]
280-
protected ErrorsAccountDisconnected() { }
286+
protected AcsSystemErrorsAccountDisconnected() { }
281287

282-
public ErrorsAccountDisconnected(
288+
public AcsSystemErrorsAccountDisconnected(
283289
string createdAt = default,
284290
string errorCode = default,
285291
string message = default
@@ -319,13 +325,13 @@ public override string ToString()
319325
}
320326
}
321327

322-
[DataContract(Name = "seamModel_errorsSaltoKsCertificationExpired_model")]
323-
public class ErrorsSaltoKsCertificationExpired : Errors
328+
[DataContract(Name = "seamModel_acsSystemErrorsSaltoKsCertificationExpired_model")]
329+
public class AcsSystemErrorsSaltoKsCertificationExpired : AcsSystemErrors
324330
{
325331
[JsonConstructorAttribute]
326-
protected ErrorsSaltoKsCertificationExpired() { }
332+
protected AcsSystemErrorsSaltoKsCertificationExpired() { }
327333

328-
public ErrorsSaltoKsCertificationExpired(
334+
public AcsSystemErrorsSaltoKsCertificationExpired(
329335
string createdAt = default,
330336
string errorCode = default,
331337
string message = default
@@ -459,27 +465,29 @@ public enum SystemTypeEnum
459465

460466
[JsonConverter(typeof(JsonSubtypes), "warning_code")]
461467
[JsonSubtypes.KnownSubType(
462-
typeof(WarningsTimeZoneDoesNotMatchLocation),
468+
typeof(AcsSystemWarningsTimeZoneDoesNotMatchLocation),
463469
"time_zone_does_not_match_location"
464470
)]
465471
[JsonSubtypes.KnownSubType(
466-
typeof(WarningsSaltoKsSubscriptionLimitAlmostReached),
472+
typeof(AcsSystemWarningsSaltoKsSubscriptionLimitAlmostReached),
467473
"salto_ks_subscription_limit_almost_reached"
468474
)]
469-
public abstract class Warnings
475+
public abstract class AcsSystemWarnings
470476
{
471477
public abstract string WarningCode { get; }
472478

473479
public abstract override string ToString();
474480
}
475481

476-
[DataContract(Name = "seamModel_warningsSaltoKsSubscriptionLimitAlmostReached_model")]
477-
public class WarningsSaltoKsSubscriptionLimitAlmostReached : Warnings
482+
[DataContract(
483+
Name = "seamModel_acsSystemWarningsSaltoKsSubscriptionLimitAlmostReached_model"
484+
)]
485+
public class AcsSystemWarningsSaltoKsSubscriptionLimitAlmostReached : AcsSystemWarnings
478486
{
479487
[JsonConstructorAttribute]
480-
protected WarningsSaltoKsSubscriptionLimitAlmostReached() { }
488+
protected AcsSystemWarningsSaltoKsSubscriptionLimitAlmostReached() { }
481489

482-
public WarningsSaltoKsSubscriptionLimitAlmostReached(
490+
public AcsSystemWarningsSaltoKsSubscriptionLimitAlmostReached(
483491
string createdAt = default,
484492
string message = default,
485493
string warningCode = default
@@ -520,13 +528,13 @@ public override string ToString()
520528
}
521529
}
522530

523-
[DataContract(Name = "seamModel_warningsTimeZoneDoesNotMatchLocation_model")]
524-
public class WarningsTimeZoneDoesNotMatchLocation : Warnings
531+
[DataContract(Name = "seamModel_acsSystemWarningsTimeZoneDoesNotMatchLocation_model")]
532+
public class AcsSystemWarningsTimeZoneDoesNotMatchLocation : AcsSystemWarnings
525533
{
526534
[JsonConstructorAttribute]
527-
protected WarningsTimeZoneDoesNotMatchLocation() { }
535+
protected AcsSystemWarningsTimeZoneDoesNotMatchLocation() { }
528536

529-
public WarningsTimeZoneDoesNotMatchLocation(
537+
public AcsSystemWarningsTimeZoneDoesNotMatchLocation(
530538
string createdAt = default,
531539
string message = default,
532540
List<string>? misconfiguredAcsEntranceIds = default,
@@ -619,7 +627,7 @@ public override string ToString()
619627
public string? DefaultCredentialManagerAcsSystemId { get; set; }
620628

621629
[DataMember(Name = "errors", IsRequired = true, EmitDefaultValue = false)]
622-
public List<Errors> Errors { get; set; }
630+
public List<AcsSystemErrors> Errors { get; set; }
623631

624632
[DataMember(Name = "external_type", IsRequired = false, EmitDefaultValue = false)]
625633
public AcsSystem.ExternalTypeEnum? ExternalType { get; set; }
@@ -660,7 +668,7 @@ public override string ToString()
660668
public AcsSystemVisionlineMetadata? VisionlineMetadata { get; set; }
661669

662670
[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = false)]
663-
public List<Warnings> Warnings { get; set; }
671+
public List<AcsSystemWarnings> Warnings { get; set; }
664672

665673
[DataMember(Name = "workspace_id", IsRequired = true, EmitDefaultValue = false)]
666674
public string WorkspaceId { get; set; }

0 commit comments

Comments
 (0)