Skip to content

Commit 962418f

Browse files
Updated entities based on latest GraphQL schema (2023-09-16)
1 parent c62459a commit 962418f

File tree

141 files changed

+2360
-2293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+2360
-2293
lines changed

Scr/Sdk4me.GraphQL.Tests/ServiceLevelAgreementTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public void Get()
1313
.SelectAll()
1414
.SelectCustomerRepresentatives(new PersonQuery()
1515
.SelectAll())
16-
.SelectEffortClassChargeIDs(new EffortClassChargeIDQuery()
16+
.SelectEffortClassRateIDs(new EffortClassRateIDQuery()
1717
.SelectAll())
1818
.SelectInvoices(new InvoiceQuery()
1919
.SelectAll())

Scr/Sdk4me.GraphQL/Entities/AgileBoardCreateInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ public class AgileBoardCreateInput : PropertyChangeSet
1111
private string? description;
1212
private List<AttachmentInput>? descriptionAttachments;
1313
private bool? disabled;
14-
private string? name;
1514
private string? managerId;
1615
private List<AgileBoardColumnInput>? newColumns;
1716
private string? clientMutationId;
17+
private string? name;
1818

1919
/// <summary>
2020
/// An identifier for the client application submitting the resource or the name of an external system.
@@ -76,16 +76,6 @@ public bool? Disabled
7676
set => disabled = Set("disabled", value);
7777
}
7878

79-
/// <summary>
80-
/// Name of the agile board.
81-
/// </summary>
82-
[JsonProperty("name")]
83-
public string? Name
84-
{
85-
get => name;
86-
set => name = Set("name", value);
87-
}
88-
8979
/// <summary>
9080
/// Identifier of the manager of the agile board.
9181
/// </summary>
@@ -115,5 +105,15 @@ public string? ClientMutationId
115105
get => clientMutationId;
116106
set => clientMutationId = Set("clientMutationId", value);
117107
}
108+
109+
/// <summary>
110+
/// Name of the agile board.
111+
/// </summary>
112+
[JsonProperty("name")]
113+
public string? Name
114+
{
115+
get => name;
116+
set => name = Set("name", value);
117+
}
118118
}
119119
}

Scr/Sdk4me.GraphQL/Entities/AgileBoardUpdateInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public class AgileBoardUpdateInput : PropertyChangeSet
1414
private string? name;
1515
private string? managerId;
1616
private List<AgileBoardColumnInput>? newColumns;
17+
private string? clientMutationId;
1718
private string? id;
1819
private List<string>? columnsToDelete;
19-
private string? clientMutationId;
2020

2121
/// <summary>
2222
/// An identifier for the client application submitting the resource or the name of an external system.
@@ -108,6 +108,16 @@ public List<AgileBoardColumnInput>? NewColumns
108108
set => newColumns = Set("newColumns", value);
109109
}
110110

111+
/// <summary>
112+
/// A unique identifier for the client performing the mutation.
113+
/// </summary>
114+
[JsonProperty("clientMutationId")]
115+
public string? ClientMutationId
116+
{
117+
get => clientMutationId;
118+
set => clientMutationId = Set("clientMutationId", value);
119+
}
120+
111121
/// <summary>
112122
/// The node ID of the record to update.
113123
/// </summary>
@@ -127,15 +137,5 @@ public List<string>? ColumnsToDelete
127137
get => columnsToDelete;
128138
set => columnsToDelete = Set("columnsToDelete", value);
129139
}
130-
131-
/// <summary>
132-
/// A unique identifier for the client performing the mutation.
133-
/// </summary>
134-
[JsonProperty("clientMutationId")]
135-
public string? ClientMutationId
136-
{
137-
get => clientMutationId;
138-
set => clientMutationId = Set("clientMutationId", value);
139-
}
140140
}
141141
}

Scr/Sdk4me.GraphQL/Entities/AppInstanceCreateInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ public class AppInstanceCreateInput : PropertyChangeSet
1212
private bool? enabledByCustomer;
1313
private bool? suspended;
1414
private string? suspensionComment;
15+
private string? clientMutationId;
1516
private string? customerAccountId;
1617
private string? appOfferingId;
17-
private string? clientMutationId;
1818

1919
/// <summary>
2020
/// Values for custom fields to be used by the UI Extension that is linked to the record.
@@ -86,6 +86,16 @@ public string? SuspensionComment
8686
set => suspensionComment = Set("suspensionComment", value);
8787
}
8888

89+
/// <summary>
90+
/// A unique identifier for the client performing the mutation.
91+
/// </summary>
92+
[JsonProperty("clientMutationId")]
93+
public string? ClientMutationId
94+
{
95+
get => clientMutationId;
96+
set => clientMutationId = Set("clientMutationId", value);
97+
}
98+
8999
/// <summary>
90100
/// Identifier of the account this app instance is for.
91101
/// </summary>
@@ -105,15 +115,5 @@ public string? AppOfferingId
105115
get => appOfferingId;
106116
set => appOfferingId = Set("appOfferingId", value);
107117
}
108-
109-
/// <summary>
110-
/// A unique identifier for the client performing the mutation.
111-
/// </summary>
112-
[JsonProperty("clientMutationId")]
113-
public string? ClientMutationId
114-
{
115-
get => clientMutationId;
116-
set => clientMutationId = Set("clientMutationId", value);
117-
}
118118
}
119119
}

Scr/Sdk4me.GraphQL/Entities/AppInstanceUpdateInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ public class AppInstanceUpdateInput : PropertyChangeSet
1212
private bool? enabledByCustomer;
1313
private bool? suspended;
1414
private string? suspensionComment;
15-
private string? id;
1615
private string? clientMutationId;
16+
private string? id;
1717

1818
/// <summary>
1919
/// Values for custom fields to be used by the UI Extension that is linked to the record.
@@ -85,16 +85,6 @@ public string? SuspensionComment
8585
set => suspensionComment = Set("suspensionComment", value);
8686
}
8787

88-
/// <summary>
89-
/// The node ID of the record to update.
90-
/// </summary>
91-
[JsonProperty("id")]
92-
public string? ID
93-
{
94-
get => id;
95-
set => id = Set("id", value);
96-
}
97-
9888
/// <summary>
9989
/// A unique identifier for the client performing the mutation.
10090
/// </summary>
@@ -104,5 +94,15 @@ public string? ClientMutationId
10494
get => clientMutationId;
10595
set => clientMutationId = Set("clientMutationId", value);
10696
}
97+
98+
/// <summary>
99+
/// The node ID of the record to update.
100+
/// </summary>
101+
[JsonProperty("id")]
102+
public string? ID
103+
{
104+
get => id;
105+
set => id = Set("id", value);
106+
}
107107
}
108108
}

Scr/Sdk4me.GraphQL/Entities/AppOfferingAutomationRuleCreateInput.cs

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -5,69 +5,69 @@
55
/// </summary>
66
public class AppOfferingAutomationRuleCreateInput : PropertyChangeSet
77
{
8-
private List<AutomationRuleActionInput>? actions;
9-
private string? condition;
108
private string? description;
11-
private List<AutomationRuleExpressionInput>? expressions;
129
private string? generic;
13-
private string? name;
1410
private long? position;
15-
private string? trigger;
16-
private string? appOfferingId;
1711
private string? clientMutationId;
12+
private string? appOfferingId;
13+
private string? name;
14+
private string? trigger;
15+
private List<AutomationRuleExpressionInput>? expressions;
16+
private string? condition;
17+
private List<AutomationRuleActionInput>? actions;
1818

1919
/// <summary>
20-
/// The Actions field is used to define actions that should be executed when the condition of the automation rule is met.
20+
/// A high-level description of the automation rule's function.
2121
/// </summary>
22-
[JsonProperty("actions")]
23-
public List<AutomationRuleActionInput>? Actions
22+
[JsonProperty("description")]
23+
public string? Description
2424
{
25-
get => actions;
26-
set => actions = Set("actions", value);
25+
get => description;
26+
set => description = Set("description", value);
2727
}
2828

2929
/// <summary>
30-
/// The Condition field is used to define the condition that needs to be met in order for the update action(s) of the rule to be performed. For example: <c>is_assigned and !badge</c>.
30+
/// <br>The record type this rule is linked to.</br>
31+
/// <br>Valid values are:</br>
32+
/// <br>• <c>request</c></br>
33+
/// <br>• <c>task</c></br>
34+
/// <br>• <c>ci</c></br>
3135
/// </summary>
32-
[JsonProperty("condition")]
33-
public string? Condition
36+
[JsonProperty("generic")]
37+
public string? Generic
3438
{
35-
get => condition;
36-
set => condition = Set("condition", value);
39+
get => generic;
40+
set => generic = Set("generic", value);
3741
}
3842

3943
/// <summary>
40-
/// A high-level description of the automation rule's function.
44+
/// The Position field dictates the order in which the automation rule is executed.
4145
/// </summary>
42-
[JsonProperty("description")]
43-
public string? Description
46+
[JsonProperty("position")]
47+
public long? Position
4448
{
45-
get => description;
46-
set => description = Set("description", value);
49+
get => position;
50+
set => position = Set("position", value);
4751
}
4852

4953
/// <summary>
50-
/// The Expressions field is used to define expressions that can subsequently be used to define the rule's conditions and the update action(s) that the rule is to perform.
54+
/// A unique identifier for the client performing the mutation.
5155
/// </summary>
52-
[JsonProperty("expressions")]
53-
public List<AutomationRuleExpressionInput>? Expressions
56+
[JsonProperty("clientMutationId")]
57+
public string? ClientMutationId
5458
{
55-
get => expressions;
56-
set => expressions = Set("expressions", value);
59+
get => clientMutationId;
60+
set => clientMutationId = Set("clientMutationId", value);
5761
}
5862

5963
/// <summary>
60-
/// <br>The record type this rule is linked to.</br>
61-
/// <br>Valid values are:</br>
62-
/// <br>• <c>request</c></br>
63-
/// <br>• <c>task</c></br>
64-
/// <br>• <c>ci</c></br>
64+
/// Identifier of the app offering the rule belongs to.
6565
/// </summary>
66-
[JsonProperty("generic")]
67-
public string? Generic
66+
[JsonProperty("appOfferingId")]
67+
public string? AppOfferingId
6868
{
69-
get => generic;
70-
set => generic = Set("generic", value);
69+
get => appOfferingId;
70+
set => appOfferingId = Set("appOfferingId", value);
7171
}
7272

7373
/// <summary>
@@ -80,16 +80,6 @@ public string? Name
8080
set => name = Set("name", value);
8181
}
8282

83-
/// <summary>
84-
/// The Position field dictates the order in which the automation rule is executed.
85-
/// </summary>
86-
[JsonProperty("position")]
87-
public long? Position
88-
{
89-
get => position;
90-
set => position = Set("position", value);
91-
}
92-
9383
/// <summary>
9484
/// The Trigger field is used to specify when the automation rule is to be triggered, for example <c>on status update</c> or <c>on note added</c>.
9585
/// </summary>
@@ -101,23 +91,33 @@ public string? Trigger
10191
}
10292

10393
/// <summary>
104-
/// Identifier of the app offering the rule belongs to.
94+
/// The Expressions field is used to define expressions that can subsequently be used to define the rule's conditions and the update action(s) that the rule is to perform.
10595
/// </summary>
106-
[JsonProperty("appOfferingId")]
107-
public string? AppOfferingId
96+
[JsonProperty("expressions")]
97+
public List<AutomationRuleExpressionInput>? Expressions
10898
{
109-
get => appOfferingId;
110-
set => appOfferingId = Set("appOfferingId", value);
99+
get => expressions;
100+
set => expressions = Set("expressions", value);
111101
}
112102

113103
/// <summary>
114-
/// A unique identifier for the client performing the mutation.
104+
/// The Condition field is used to define the condition that needs to be met in order for the update action(s) of the rule to be performed. For example: <c>is_assigned and !badge</c>.
115105
/// </summary>
116-
[JsonProperty("clientMutationId")]
117-
public string? ClientMutationId
106+
[JsonProperty("condition")]
107+
public string? Condition
118108
{
119-
get => clientMutationId;
120-
set => clientMutationId = Set("clientMutationId", value);
109+
get => condition;
110+
set => condition = Set("condition", value);
111+
}
112+
113+
/// <summary>
114+
/// The Actions field is used to define actions that should be executed when the condition of the automation rule is met.
115+
/// </summary>
116+
[JsonProperty("actions")]
117+
public List<AutomationRuleActionInput>? Actions
118+
{
119+
get => actions;
120+
set => actions = Set("actions", value);
121121
}
122122
}
123123
}

Scr/Sdk4me.GraphQL/Entities/AppOfferingAutomationRuleUpdateInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public class AppOfferingAutomationRuleUpdateInput : PropertyChangeSet
1313
private string? name;
1414
private long? position;
1515
private string? trigger;
16-
private string? id;
1716
private string? clientMutationId;
17+
private string? id;
1818

1919
/// <summary>
2020
/// The Actions field is used to define actions that should be executed when the condition of the automation rule is met.
@@ -100,16 +100,6 @@ public string? Trigger
100100
set => trigger = Set("trigger", value);
101101
}
102102

103-
/// <summary>
104-
/// The node ID of the record to update.
105-
/// </summary>
106-
[JsonProperty("id")]
107-
public string? ID
108-
{
109-
get => id;
110-
set => id = Set("id", value);
111-
}
112-
113103
/// <summary>
114104
/// A unique identifier for the client performing the mutation.
115105
/// </summary>
@@ -119,5 +109,15 @@ public string? ClientMutationId
119109
get => clientMutationId;
120110
set => clientMutationId = Set("clientMutationId", value);
121111
}
112+
113+
/// <summary>
114+
/// The node ID of the record to update.
115+
/// </summary>
116+
[JsonProperty("id")]
117+
public string? ID
118+
{
119+
get => id;
120+
set => id = Set("id", value);
121+
}
122122
}
123123
}

0 commit comments

Comments
 (0)