-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70288e1
commit 02c7c2b
Showing
20 changed files
with
295 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "engineHash": "bd1adff", "specHash": "b2f7568", "version": "0.3.0" } | ||
{ "engineHash": "3d3d072", "specHash": "d50ab5f", "version": "0.3.0" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
Box.Sdk.Gen/Managers/Workflows/StartWorkflowRequestBodyOutcomesField.cs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
Box.Sdk.Gen/Managers/Workflows/StartWorkflowRequestBodyOutcomesTypeField.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using Unions; | ||
using System.Text.Json.Serialization; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class CollaboratorVariable { | ||
/// <summary> | ||
/// Collaborator | ||
/// object type. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("type")] | ||
public CollaboratorVariableTypeField Type { get; set; } | ||
|
||
/// <summary> | ||
/// Variable type | ||
/// for the Collaborator | ||
/// object. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("variable_type")] | ||
public CollaboratorVariableVariableTypeField VariableType { get; set; } | ||
|
||
/// <summary> | ||
/// A list of user IDs. | ||
/// </summary> | ||
[JsonPropertyName("variable_value")] | ||
public IReadOnlyList<CollaboratorVariableVariableValueField> VariableValue { get; set; } | ||
|
||
public CollaboratorVariable(CollaboratorVariableTypeField type, CollaboratorVariableVariableTypeField variableType, IReadOnlyList<CollaboratorVariableVariableValueField> variableValue) { | ||
Type = type; | ||
VariableType = variableType; | ||
VariableValue = variableValue; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<CollaboratorVariableTypeField>))] | ||
public enum CollaboratorVariableTypeField { | ||
[Description("variable")] | ||
Variable | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Box.Sdk.Gen/Schemas/CollaboratorVariableVariableTypeField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<CollaboratorVariableVariableTypeField>))] | ||
public enum CollaboratorVariableVariableTypeField { | ||
[Description("user_list")] | ||
UserList | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
Box.Sdk.Gen/Schemas/CollaboratorVariableVariableValueField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Unions; | ||
using System.Text.Json.Serialization; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class CollaboratorVariableVariableValueField { | ||
/// <summary> | ||
/// The object type. | ||
/// </summary> | ||
[JsonPropertyName("type")] | ||
public CollaboratorVariableVariableValueTypeField Type { get; set; } | ||
|
||
/// <summary> | ||
/// User's ID. | ||
/// </summary> | ||
[JsonPropertyName("id")] | ||
public string Id { get; set; } | ||
|
||
public CollaboratorVariableVariableValueField(CollaboratorVariableVariableValueTypeField type, string id) { | ||
Type = type; | ||
Id = id; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Box.Sdk.Gen/Schemas/CollaboratorVariableVariableValueTypeField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<CollaboratorVariableVariableValueTypeField>))] | ||
public enum CollaboratorVariableVariableValueTypeField { | ||
[Description("user")] | ||
User | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using Unions; | ||
using System.Text.Json.Serialization; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class CompletionRuleVariable { | ||
/// <summary> | ||
/// Completion | ||
/// Rule object type. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("type")] | ||
public CompletionRuleVariableTypeField Type { get; set; } | ||
|
||
/// <summary> | ||
/// Variable type | ||
/// for the Completion | ||
/// Rule object. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("variable_type")] | ||
public CompletionRuleVariableVariableTypeField VariableType { get; set; } | ||
|
||
/// <summary> | ||
/// Variable | ||
/// values for a completion | ||
/// rule. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("variable_value")] | ||
public CompletionRuleVariableVariableValueField VariableValue { get; set; } | ||
|
||
public CompletionRuleVariable(CompletionRuleVariableTypeField type, CompletionRuleVariableVariableTypeField variableType, CompletionRuleVariableVariableValueField variableValue) { | ||
Type = type; | ||
VariableType = variableType; | ||
VariableValue = variableValue; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<CompletionRuleVariableTypeField>))] | ||
public enum CompletionRuleVariableTypeField { | ||
[Description("variable")] | ||
Variable | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Box.Sdk.Gen/Schemas/CompletionRuleVariableVariableTypeField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<CompletionRuleVariableVariableTypeField>))] | ||
public enum CompletionRuleVariableVariableTypeField { | ||
[Description("task_completion_rule")] | ||
TaskCompletionRule | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Box.Sdk.Gen/Schemas/CompletionRuleVariableVariableValueField.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<CompletionRuleVariableVariableValueField>))] | ||
public enum CompletionRuleVariableVariableValueField { | ||
[Description("all_assignees")] | ||
AllAssignees, | ||
[Description("any_assignees")] | ||
AnyAssignees | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using Unions; | ||
using System.Text.Json.Serialization; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class Outcome { | ||
/// <summary> | ||
/// ID of a specific outcome | ||
/// </summary> | ||
[JsonPropertyName("id")] | ||
public string Id { get; set; } | ||
|
||
[JsonPropertyName("collaborators")] | ||
public CollaboratorVariable? Collaborators { get; set; } = default; | ||
|
||
[JsonPropertyName("completion_rule")] | ||
public CompletionRuleVariable? CompletionRule { get; set; } = default; | ||
|
||
[JsonPropertyName("file_collaborator_role")] | ||
public RoleVariable? FileCollaboratorRole { get; set; } = default; | ||
|
||
[JsonPropertyName("task_collaborators")] | ||
public CollaboratorVariable? TaskCollaborators { get; set; } = default; | ||
|
||
[JsonPropertyName("role")] | ||
public RoleVariable? Role { get; set; } = default; | ||
|
||
public Outcome(string id) { | ||
Id = id; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using Unions; | ||
using System.Text.Json.Serialization; | ||
using System; | ||
using System.Collections.ObjectModel; | ||
using System.Collections.Generic; | ||
using System.Text.Json; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
public class RoleVariable { | ||
/// <summary> | ||
/// Role object type. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("type")] | ||
public RoleVariableTypeField Type { get; set; } | ||
|
||
/// <summary> | ||
/// The variable type used | ||
/// by the object. | ||
/// | ||
/// </summary> | ||
[JsonPropertyName("variable_type")] | ||
public RoleVariableVariableTypeField VariableType { get; set; } | ||
|
||
[JsonPropertyName("variable_value")] | ||
public RoleVariableVariableValueField VariableValue { get; set; } | ||
|
||
public RoleVariable(RoleVariableTypeField type, RoleVariableVariableTypeField variableType, RoleVariableVariableValueField variableValue) { | ||
Type = type; | ||
VariableType = variableType; | ||
VariableValue = variableValue; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<RoleVariableTypeField>))] | ||
public enum RoleVariableTypeField { | ||
[Description("variable")] | ||
Variable | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.ComponentModel; | ||
using Serializer; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Box.Sdk.Gen.Schemas { | ||
[JsonConverter(typeof(StringEnumConverter<RoleVariableVariableTypeField>))] | ||
public enum RoleVariableVariableTypeField { | ||
[Description("collaborator_role")] | ||
CollaboratorRole | ||
} | ||
} |
Oops, something went wrong.