diff --git a/README.md b/README.md
index e3a9d95da0e..080aa7680df 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ This code is automatically generated by the [OpenAPI Generator](https://openapi-
## Versions
-- API version: 0.11.7057
+- API version: 0.11.7058
- SDK version: 2.0.0
## Requirements
diff --git a/sdk/Lusid.Sdk/Client/Configuration.cs b/sdk/Lusid.Sdk/Client/Configuration.cs
index 21e8cd7baf4..364d5214cf0 100644
--- a/sdk/Lusid.Sdk/Client/Configuration.cs
+++ b/sdk/Lusid.Sdk/Client/Configuration.cs
@@ -599,7 +599,7 @@ public static string ToDebugReport()
string report = "C# SDK (Lusid.Sdk) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
- report += " Version of the API: 0.11.7057\n";
+ report += " Version of the API: 0.11.7058\n";
report += " SDK Package Version: 2.0.0\n";
return report;
diff --git a/sdk/Lusid.Sdk/Model/ContributionToNonPassingRuleDetail.cs b/sdk/Lusid.Sdk/Model/ContributionToNonPassingRuleDetail.cs
new file mode 100644
index 00000000000..4a2ec4dc31d
--- /dev/null
+++ b/sdk/Lusid.Sdk/Model/ContributionToNonPassingRuleDetail.cs
@@ -0,0 +1,178 @@
+/*
+ * LUSID API
+ *
+ * Contact: info@finbourne.com
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using OpenAPIDateConverter = Lusid.Sdk.Client.OpenAPIDateConverter;
+
+namespace Lusid.Sdk.Model
+{
+ ///
+ /// ContributionToNonPassingRuleDetail
+ ///
+ [DataContract(Name = "ContributionToNonPassingRuleDetail")]
+ public partial class ContributionToNonPassingRuleDetail : IEquatable, IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// ruleId.
+ /// The status of the non-passing rule..
+ /// The task ids associated with the compliance breach for this order's groups (if failing)..
+ /// Whether this order is deemed as a likely contributor to the non-passing rule for this group..
+ public ContributionToNonPassingRuleDetail(ResourceId ruleId = default(ResourceId), string ruleStatus = default(string), List breachTaskIds = default(List), bool likelyResponsibleForStatus = default(bool))
+ {
+ this.RuleId = ruleId;
+ this.RuleStatus = ruleStatus;
+ this.BreachTaskIds = breachTaskIds;
+ this.LikelyResponsibleForStatus = likelyResponsibleForStatus;
+ }
+
+ ///
+ /// Gets or Sets RuleId
+ ///
+ [DataMember(Name = "ruleId", EmitDefaultValue = false)]
+ public ResourceId RuleId { get; set; }
+
+ ///
+ /// The status of the non-passing rule.
+ ///
+ /// The status of the non-passing rule.
+ [DataMember(Name = "ruleStatus", EmitDefaultValue = true)]
+ public string RuleStatus { get; set; }
+
+ ///
+ /// The task ids associated with the compliance breach for this order's groups (if failing).
+ ///
+ /// The task ids associated with the compliance breach for this order's groups (if failing).
+ [DataMember(Name = "breachTaskIds", EmitDefaultValue = true)]
+ public List BreachTaskIds { get; set; }
+
+ ///
+ /// Whether this order is deemed as a likely contributor to the non-passing rule for this group.
+ ///
+ /// Whether this order is deemed as a likely contributor to the non-passing rule for this group.
+ [DataMember(Name = "likelyResponsibleForStatus", EmitDefaultValue = true)]
+ public bool LikelyResponsibleForStatus { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class ContributionToNonPassingRuleDetail {\n");
+ sb.Append(" RuleId: ").Append(RuleId).Append("\n");
+ sb.Append(" RuleStatus: ").Append(RuleStatus).Append("\n");
+ sb.Append(" BreachTaskIds: ").Append(BreachTaskIds).Append("\n");
+ sb.Append(" LikelyResponsibleForStatus: ").Append(LikelyResponsibleForStatus).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ /// Object to be compared
+ /// Boolean
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ContributionToNonPassingRuleDetail);
+ }
+
+ ///
+ /// Returns true if ContributionToNonPassingRuleDetail instances are equal
+ ///
+ /// Instance of ContributionToNonPassingRuleDetail to be compared
+ /// Boolean
+ public bool Equals(ContributionToNonPassingRuleDetail input)
+ {
+ if (input == null)
+ {
+ return false;
+ }
+ return
+ (
+ this.RuleId == input.RuleId ||
+ (this.RuleId != null &&
+ this.RuleId.Equals(input.RuleId))
+ ) &&
+ (
+ this.RuleStatus == input.RuleStatus ||
+ (this.RuleStatus != null &&
+ this.RuleStatus.Equals(input.RuleStatus))
+ ) &&
+ (
+ this.BreachTaskIds == input.BreachTaskIds ||
+ this.BreachTaskIds != null &&
+ input.BreachTaskIds != null &&
+ this.BreachTaskIds.SequenceEqual(input.BreachTaskIds)
+ ) &&
+ (
+ this.LikelyResponsibleForStatus == input.LikelyResponsibleForStatus ||
+ this.LikelyResponsibleForStatus.Equals(input.LikelyResponsibleForStatus)
+ );
+ }
+
+ ///
+ /// Gets the hash code
+ ///
+ /// Hash code
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.RuleId != null)
+ {
+ hashCode = (hashCode * 59) + this.RuleId.GetHashCode();
+ }
+ if (this.RuleStatus != null)
+ {
+ hashCode = (hashCode * 59) + this.RuleStatus.GetHashCode();
+ }
+ if (this.BreachTaskIds != null)
+ {
+ hashCode = (hashCode * 59) + this.BreachTaskIds.GetHashCode();
+ }
+ hashCode = (hashCode * 59) + this.LikelyResponsibleForStatus.GetHashCode();
+ return hashCode;
+ }
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+}
diff --git a/sdk/Lusid.Sdk/Model/OrderGraphBlockOrderDetail.cs b/sdk/Lusid.Sdk/Model/OrderGraphBlockOrderDetail.cs
index 63330cdb9a0..cbb2f5854f4 100644
--- a/sdk/Lusid.Sdk/Model/OrderGraphBlockOrderDetail.cs
+++ b/sdk/Lusid.Sdk/Model/OrderGraphBlockOrderDetail.cs
@@ -43,7 +43,8 @@ protected OrderGraphBlockOrderDetail() { }
/// The name of the order's referenced Portfolio..
/// The task id associated with the approval state of the order..
/// orderApprovalTaskDefinitionId.
- public OrderGraphBlockOrderDetail(ResourceId id = default(ResourceId), string complianceState = default(string), string approvalState = default(string), ResourceId portfolioId = default(ResourceId), string portfolioName = default(string), string orderApprovalTaskId = default(string), ResourceId orderApprovalTaskDefinitionId = default(ResourceId))
+ /// The details of compliance rules in non-passing states..
+ public OrderGraphBlockOrderDetail(ResourceId id = default(ResourceId), string complianceState = default(string), string approvalState = default(string), ResourceId portfolioId = default(ResourceId), string portfolioName = default(string), string orderApprovalTaskId = default(string), ResourceId orderApprovalTaskDefinitionId = default(ResourceId), List nonPassingComplianceRuleResults = default(List))
{
// to ensure "id" is required (not null)
if (id == null)
@@ -67,6 +68,7 @@ protected OrderGraphBlockOrderDetail() { }
this.PortfolioName = portfolioName;
this.OrderApprovalTaskId = orderApprovalTaskId;
this.OrderApprovalTaskDefinitionId = orderApprovalTaskDefinitionId;
+ this.NonPassingComplianceRuleResults = nonPassingComplianceRuleResults;
}
///
@@ -115,6 +117,13 @@ protected OrderGraphBlockOrderDetail() { }
[DataMember(Name = "orderApprovalTaskDefinitionId", EmitDefaultValue = false)]
public ResourceId OrderApprovalTaskDefinitionId { get; set; }
+ ///
+ /// The details of compliance rules in non-passing states.
+ ///
+ /// The details of compliance rules in non-passing states.
+ [DataMember(Name = "nonPassingComplianceRuleResults", EmitDefaultValue = true)]
+ public List NonPassingComplianceRuleResults { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -130,6 +139,7 @@ public override string ToString()
sb.Append(" PortfolioName: ").Append(PortfolioName).Append("\n");
sb.Append(" OrderApprovalTaskId: ").Append(OrderApprovalTaskId).Append("\n");
sb.Append(" OrderApprovalTaskDefinitionId: ").Append(OrderApprovalTaskDefinitionId).Append("\n");
+ sb.Append(" NonPassingComplianceRuleResults: ").Append(NonPassingComplianceRuleResults).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -199,6 +209,12 @@ public bool Equals(OrderGraphBlockOrderDetail input)
this.OrderApprovalTaskDefinitionId == input.OrderApprovalTaskDefinitionId ||
(this.OrderApprovalTaskDefinitionId != null &&
this.OrderApprovalTaskDefinitionId.Equals(input.OrderApprovalTaskDefinitionId))
+ ) &&
+ (
+ this.NonPassingComplianceRuleResults == input.NonPassingComplianceRuleResults ||
+ this.NonPassingComplianceRuleResults != null &&
+ input.NonPassingComplianceRuleResults != null &&
+ this.NonPassingComplianceRuleResults.SequenceEqual(input.NonPassingComplianceRuleResults)
);
}
@@ -239,6 +255,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.OrderApprovalTaskDefinitionId.GetHashCode();
}
+ if (this.NonPassingComplianceRuleResults != null)
+ {
+ hashCode = (hashCode * 59) + this.NonPassingComplianceRuleResults.GetHashCode();
+ }
return hashCode;
}
}
diff --git a/sdk/README.md b/sdk/README.md
index a9ab81cfe22..58d89bf873d 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -830,6 +830,7 @@ Class | Method | HTTP request | Description
- [ConstituentsAdjustmentHeader](docs/ConstituentsAdjustmentHeader.md)
- [ContractForDifference](docs/ContractForDifference.md)
- [ContractForDifferenceAllOf](docs/ContractForDifferenceAllOf.md)
+ - [ContributionToNonPassingRuleDetail](docs/ContributionToNonPassingRuleDetail.md)
- [CorporateAction](docs/CorporateAction.md)
- [CorporateActionSource](docs/CorporateActionSource.md)
- [CorporateActionTransition](docs/CorporateActionTransition.md)
diff --git a/sdk/docs/ContributionToNonPassingRuleDetail.md b/sdk/docs/ContributionToNonPassingRuleDetail.md
new file mode 100644
index 00000000000..f55ccfc6582
--- /dev/null
+++ b/sdk/docs/ContributionToNonPassingRuleDetail.md
@@ -0,0 +1,13 @@
+# Lusid.Sdk.Model.ContributionToNonPassingRuleDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RuleId** | [**ResourceId**](ResourceId.md) | | [optional]
+**RuleStatus** | **string** | The status of the non-passing rule. | [optional]
+**BreachTaskIds** | **List<string>** | The task ids associated with the compliance breach for this order's groups (if failing). | [optional]
+**LikelyResponsibleForStatus** | **bool** | Whether this order is deemed as a likely contributor to the non-passing rule for this group. | [optional]
+
+[Back to Model list](../README.md#documentation-for-models) • [Back to API list](../README.md#documentation-for-api-endpoints) • [Back to README](../README.md)
+
diff --git a/sdk/docs/OrderGraphBlockOrderDetail.md b/sdk/docs/OrderGraphBlockOrderDetail.md
index b8d124bb475..df7f550a2b5 100644
--- a/sdk/docs/OrderGraphBlockOrderDetail.md
+++ b/sdk/docs/OrderGraphBlockOrderDetail.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**PortfolioName** | **string** | The name of the order's referenced Portfolio. | [optional]
**OrderApprovalTaskId** | **string** | The task id associated with the approval state of the order. | [optional]
**OrderApprovalTaskDefinitionId** | [**ResourceId**](ResourceId.md) | | [optional]
+**NonPassingComplianceRuleResults** | [**List<ContributionToNonPassingRuleDetail>**](ContributionToNonPassingRuleDetail.md) | The details of compliance rules in non-passing states. | [optional]
[Back to Model list](../README.md#documentation-for-models) • [Back to API list](../README.md#documentation-for-api-endpoints) • [Back to README](../README.md)