Skip to content

Commit 10c7177

Browse files
Updated entities based on latest GraphQL schema (2023-09-02)
1 parent b8ff1bf commit 10c7177

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

Scr/Sdk4me.GraphQL/Entities/StandardServiceRequest.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public class StandardServiceRequest : Node
4242
[JsonProperty("resolutionTarget")]
4343
public long? ResolutionTarget { get; internal set; }
4444

45+
/// <summary>
46+
/// Resolution target is Best Effort when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
47+
/// </summary>
48+
[JsonProperty("resolutionTargetBestEffort")]
49+
public bool? ResolutionTargetBestEffort { get; internal set; }
50+
4551
/// <summary>
4652
/// Number of business days within which a request needs to have been completed when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
4753
/// </summary>
@@ -54,6 +60,12 @@ public class StandardServiceRequest : Node
5460
[JsonProperty("responseTarget")]
5561
public long? ResponseTarget { get; internal set; }
5662

63+
/// <summary>
64+
/// Response target is Best Effort when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
65+
/// </summary>
66+
[JsonProperty("responseTargetBestEffort")]
67+
public bool? ResponseTargetBestEffort { get; internal set; }
68+
5769
/// <summary>
5870
/// Number of business days within which a response needs to have been provided for a request to which the request template has been applied and which requester is covered by an SLA that is based on the service offering.
5971
/// </summary>

Scr/Sdk4me.GraphQL/Entities/StandardServiceRequestInput.cs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ public class StandardServiceRequestInput : PropertyChangeSet
88
private string? id;
99
private string? requestTemplateId;
1010
private long? responseTarget;
11+
private long? responseTargetInDays;
12+
private bool? responseTargetBestEffort;
1113
private long? resolutionTarget;
14+
private long? resolutionTargetInDays;
15+
private bool? resolutionTargetBestEffort;
1216
private string? supportHoursId;
1317
private string? slaNotificationSchemeId;
1418
private ServiceOfferingChargeType? chargeType;
@@ -45,6 +49,26 @@ public long? ResponseTarget
4549
set => responseTarget = Set("responseTarget", value);
4650
}
4751

52+
/// <summary>
53+
/// Number of business days within which a response needs to have been provided for a request to which the request template has been applied and which requester is covered by an SLA that is based on the service offering.
54+
/// </summary>
55+
[JsonProperty("responseTargetInDays")]
56+
public long? ResponseTargetInDays
57+
{
58+
get => responseTargetInDays;
59+
set => responseTargetInDays = Set("responseTargetInDays", value);
60+
}
61+
62+
/// <summary>
63+
/// Set response target to Best Effort when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
64+
/// </summary>
65+
[JsonProperty("responseTargetBestEffort")]
66+
public bool? ResponseTargetBestEffort
67+
{
68+
get => responseTargetBestEffort;
69+
set => responseTargetBestEffort = Set("responseTargetBestEffort", value);
70+
}
71+
4872
/// <summary>
4973
/// Number of minutes within which a request needs to have been completed when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
5074
/// </summary>
@@ -55,6 +79,26 @@ public long? ResolutionTarget
5579
set => resolutionTarget = Set("resolutionTarget", value);
5680
}
5781

82+
/// <summary>
83+
/// Number of business days within which a request needs to have been completed when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
84+
/// </summary>
85+
[JsonProperty("resolutionTargetInDays")]
86+
public long? ResolutionTargetInDays
87+
{
88+
get => resolutionTargetInDays;
89+
set => resolutionTargetInDays = Set("resolutionTargetInDays", value);
90+
}
91+
92+
/// <summary>
93+
/// Set the resolution target to Best Effort when the request template has been applied to the request and the requester is covered by an SLA that is based on the service offering.
94+
/// </summary>
95+
[JsonProperty("resolutionTargetBestEffort")]
96+
public bool? ResolutionTargetBestEffort
97+
{
98+
get => resolutionTargetBestEffort;
99+
set => resolutionTargetBestEffort = Set("resolutionTargetBestEffort", value);
100+
}
101+
58102
/// <summary>
59103
/// Identifier of the calendar that defines the support hours for a request to which the request template has been applied and which requester is covered by an SLA that is based on the service offering.
60104
/// </summary>

Scr/Sdk4me.GraphQL/Enumerators/FieldEnumerators.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8250,6 +8250,11 @@ public enum StandardServiceRequestField
82508250
[EnumMember(Value = "resolutionTarget")]
82518251
ResolutionTarget,
82528252
/// <summary>
8253+
/// The resolution target best effort field.
8254+
/// </summary>
8255+
[EnumMember(Value = "resolutionTargetBestEffort")]
8256+
ResolutionTargetBestEffort,
8257+
/// <summary>
82538258
/// The resolution target in days field.
82548259
/// </summary>
82558260
[EnumMember(Value = "resolutionTargetInDays")]
@@ -8260,6 +8265,11 @@ public enum StandardServiceRequestField
82608265
[EnumMember(Value = "responseTarget")]
82618266
ResponseTarget,
82628267
/// <summary>
8268+
/// The response target best effort field.
8269+
/// </summary>
8270+
[EnumMember(Value = "responseTargetBestEffort")]
8271+
ResponseTargetBestEffort,
8272+
/// <summary>
82638273
/// The response target in days field.
82648274
/// </summary>
82658275
[EnumMember(Value = "responseTargetInDays")]

0 commit comments

Comments
 (0)