Skip to content

Commit

Permalink
Updates for v2.0.451
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Feb 1, 2024
1 parent 6d3d0e4 commit d08ec1e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
5 changes: 2 additions & 3 deletions sdk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ info:
| <a name="883">883</a>|Cannot update the shared fields of a block with associated orders.| |
termsOfService: https://www.finbourne.com/legal/terms-conditions
title: LUSID API
version: 0.11.6233
version: 0.11.6236
x-logo:
url: https://www.lusid.com/app/assets/logo_white.png
backgroundColor: '#415464'
Expand Down Expand Up @@ -85691,7 +85691,7 @@ components:
description: "This allows users to specify whether this a protected Account\
\ that prevents direct manual journal adjustment. Can have the values:\
\ System/ManualIt will default to “Manual”."
minLength: 1
nullable: true
type: string
properties:
additionalProperties:
Expand All @@ -85701,7 +85701,6 @@ components:
type: object
required:
- code
- control
- status
- type
type: object
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/Account.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ An account
|**description** | **String** | A description for the Account. | [optional] |
|**type** | **String** | The Account type. Can have the values: Asset/Liabilities/Income/Expense/Capital/Revenue. | |
|**status** | [**StatusEnum**](#StatusEnum) | The Account status. Can be Active, Inactive or Deleted. Defaults to Active. The available values are: Active, Inactive, Deleted | |
|**control** | **String** | This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”. | |
|**control** | **String** | This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”. | [optional] |
|**properties** | [**Map&lt;String, Property&gt;**](Property.md) | A set of properties for the Account. | [optional] |


Expand Down
2 changes: 1 addition & 1 deletion sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>lusid-sdk</artifactId>
<packaging>jar</packaging>
<name>lusid-sdk</name>
<version>2.0.448</version>
<version>2.0.451</version>
<url>https://github.com/finbourne/lusid-sdk-java</url>
<description>lusid</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/main/java/com/finbourne/lusid/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/2.0.448/java");
setUserAgent("OpenAPI-Generator/2.0.451/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/main/java/com/finbourne/lusid/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
public static final String VERSION = "2.0.448";
public static final String VERSION = "2.0.451";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
5 changes: 2 additions & 3 deletions sdk/src/main/java/com/finbourne/lusid/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public Account control(String control) {
* This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”.
* @return control
**/
@jakarta.annotation.Nonnull
@jakarta.annotation.Nullable
public String getControl() {
return control;
}
Expand Down Expand Up @@ -341,7 +341,6 @@ private String toIndentedString(Object o) {
openapiRequiredFields.add("code");
openapiRequiredFields.add("type");
openapiRequiredFields.add("status");
openapiRequiredFields.add("control");
}

/**
Expand Down Expand Up @@ -376,7 +375,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
if (!jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `status` to be a primitive type in the JSON string but got `%s`", jsonObj.get("status").toString()));
}
if (!jsonObj.get("control").isJsonPrimitive()) {
if ((jsonObj.get("control") != null && !jsonObj.get("control").isJsonNull()) && !jsonObj.get("control").isJsonPrimitive()) {
throw new IllegalArgumentException(String.format("Expected the field `control` to be a primitive type in the JSON string but got `%s`", jsonObj.get("control").toString()));
}
}
Expand Down

0 comments on commit d08ec1e

Please sign in to comment.