Skip to content

Commit 0d3acc1

Browse files
Updated entities based on latest GraphQL schema (2024-07-13)
1 parent 02459ca commit 0d3acc1

File tree

8 files changed

+40
-7
lines changed

8 files changed

+40
-7
lines changed

Scr/Sdk4me.GraphQL/Entities/ConfigurationItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public DataList<Problem>? Problems
211211
/// The amount of RAM (in GB) of this configuration item.
212212
/// </summary>
213213
[JsonProperty("ramAmount")]
214-
public long? RamAmount { get; internal set; }
214+
public decimal? RamAmount { get; internal set; }
215215

216216
/// <summary>
217217
/// Recurrence for maintenance of the configuration item.

Scr/Sdk4me.GraphQL/Entities/ConfigurationItemCreateInput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class ConfigurationItemCreateInput : PropertyChangeSet
4646
private string productId;
4747
private decimal? purchaseValue;
4848
private string? purchaseValueCurrency;
49-
private long? ramAmount;
49+
private decimal? ramAmount;
5050
private RecurrenceInput? recurrence;
5151
private string? remarks;
5252
private List<AttachmentInput>? remarksAttachments;
@@ -339,7 +339,7 @@ public string? PurchaseValueCurrency
339339
/// The amount of RAM (in GB) of this configuration item.
340340
/// </summary>
341341
[JsonProperty("ramAmount")]
342-
public long? RamAmount
342+
public decimal? RamAmount
343343
{
344344
get => ramAmount;
345345
set => ramAmount = Set("ramAmount", value);

Scr/Sdk4me.GraphQL/Entities/ConfigurationItemUpdateInput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class ConfigurationItemUpdateInput : PropertyChangeSet
4848
private string? productId;
4949
private decimal? purchaseValue;
5050
private string? purchaseValueCurrency;
51-
private long? ramAmount;
51+
private decimal? ramAmount;
5252
private RecurrenceInput? recurrence;
5353
private string? remarks;
5454
private List<AttachmentInput>? remarksAttachments;
@@ -361,7 +361,7 @@ public string? PurchaseValueCurrency
361361
/// The amount of RAM (in GB) of this configuration item.
362362
/// </summary>
363363
[JsonProperty("ramAmount")]
364-
public long? RamAmount
364+
public decimal? RamAmount
365365
{
366366
get => ramAmount;
367367
set => ramAmount = Set("ramAmount", value);

Scr/Sdk4me.GraphQL/Entities/DiscoveredCiInput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class DiscoveredCiInput : PropertyChangeSet
3232
private string? operatingSystemId;
3333
private decimal? purchaseValue;
3434
private string? purchaseValueCurrency;
35-
private long? ramAmount;
35+
private decimal? ramAmount;
3636
private string? remarks;
3737
private string? serialNr;
3838
private string? service;
@@ -209,7 +209,7 @@ public string? PurchaseValueCurrency
209209
/// The amount of RAM (in GB) of this configuration item.
210210
/// </summary>
211211
[JsonProperty("ramAmount")]
212-
public long? RamAmount
212+
public decimal? RamAmount
213213
{
214214
get => ramAmount;
215215
set => ramAmount = Set("ramAmount", value);

Scr/Sdk4me.GraphQL/Entities/Organization.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ public DataList<Attachment>? CustomFieldsAttachments
100100
[JsonProperty("disabled"), Sdk4meField(IsDefaultQueryProperty = true)]
101101
public bool? Disabled { get; internal set; }
102102

103+
/// <summary>
104+
/// Whether end users from this organization should be prevented from seeing information of other end users.
105+
/// </summary>
106+
[JsonProperty("endUserPrivacy")]
107+
public bool? EndUserPrivacy { get; internal set; }
108+
103109
/// <summary>
104110
/// The unique identifier by which the organization is known in the financial system.
105111
/// </summary>

Scr/Sdk4me.GraphQL/Entities/OrganizationCreateInput.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public class OrganizationCreateInput : PropertyChangeSet
1414
private CustomFieldCollection? customFields;
1515
private List<AttachmentInput>? customFieldsAttachments;
1616
private bool? disabled;
17+
private bool? endUserPrivacy;
1718
private string? financialID;
1819
private string? managerId;
1920
private string name;
@@ -90,6 +91,16 @@ public bool? Disabled
9091
set => disabled = Set("disabled", value);
9192
}
9293

94+
/// <summary>
95+
/// Whether end users from this organization should be prevented from seeing information of other end users.
96+
/// </summary>
97+
[JsonProperty("endUserPrivacy")]
98+
public bool? EndUserPrivacy
99+
{
100+
get => endUserPrivacy;
101+
set => endUserPrivacy = Set("endUserPrivacy", value);
102+
}
103+
93104
/// <summary>
94105
/// The unique identifier by which the organization is known in the financial system.
95106
/// </summary>

Scr/Sdk4me.GraphQL/Entities/OrganizationUpdateInput.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class OrganizationUpdateInput : PropertyChangeSet
1616
private CustomFieldCollection? customFields;
1717
private List<AttachmentInput>? customFieldsAttachments;
1818
private bool? disabled;
19+
private bool? endUserPrivacy;
1920
private string? financialID;
2021
private string id;
2122
private string? managerId;
@@ -113,6 +114,16 @@ public bool? Disabled
113114
set => disabled = Set("disabled", value);
114115
}
115116

117+
/// <summary>
118+
/// Whether end users from this organization should be prevented from seeing information of other end users.
119+
/// </summary>
120+
[JsonProperty("endUserPrivacy")]
121+
public bool? EndUserPrivacy
122+
{
123+
get => endUserPrivacy;
124+
set => endUserPrivacy = Set("endUserPrivacy", value);
125+
}
126+
116127
/// <summary>
117128
/// The unique identifier by which the organization is known in the financial system.
118129
/// </summary>

Scr/Sdk4me.GraphQL/Enumerators/FieldEnumerators.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3084,6 +3084,11 @@ public enum OrganizationField
30843084
[EnumMember(Value = "disabled")]
30853085
Disabled,
30863086
/// <summary>
3087+
/// The end user privacy field.
3088+
/// </summary>
3089+
[EnumMember(Value = "endUserPrivacy")]
3090+
EndUserPrivacy,
3091+
/// <summary>
30873092
/// The financial id field.
30883093
/// </summary>
30893094
[EnumMember(Value = "financialID")]

0 commit comments

Comments
 (0)