Skip to content

Commit

Permalink
Updates for v2.0.1282
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Dec 13, 2024
1 parent b809d7e commit 39e4b28
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 29 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ This code is automatically generated by the [OpenAPI Generator](https://openapi-

## Versions

- API version: 0.11.7201
- SDK version: 2.0.1281
- API version: 0.11.7203
- SDK version: 2.0.1282

## Requirements

Expand All @@ -47,7 +47,7 @@ Add this dependency to your pom.xml
<dependency>
<groupId>com.finbourne</groupId>
<artifactId>lusid-sdk</artifactId>
<version>2.0.1281</version>
<version>2.0.1282</version>
</dependency>
```

Expand All @@ -61,7 +61,7 @@ Add this dependency to your build.gradle
}
dependencies {
implementation "com.finbourne:lusid-sdk:2.0.1281"
implementation "com.finbourne:lusid-sdk:2.0.1282"
}
```

Expand Down
15 changes: 10 additions & 5 deletions sdk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ info:
| <a name="938">938</a>|The new Closed Period would cause the Timeline to have non-contiguous Closed Periods| |
termsOfService: https://www.finbourne.com/legal/terms-conditions
title: LUSID API
version: 0.11.7201
version: 0.11.7203
x-logo:
url: https://www.lusid.com/app/assets/logo_white.png
backgroundColor: '#415464'
Expand Down Expand Up @@ -125093,11 +125093,12 @@ components:
type: boolean
type:
description: "The type of the portfolio. The available values are: Transaction,\
\ Reference, DerivedTransaction"
\ Reference, DerivedTransaction, SimplePosition"
enum:
- Transaction
- Reference
- DerivedTransaction
- SimplePosition
type: string
version:
$ref: '#/components/schemas/Version'
Expand Down Expand Up @@ -169730,11 +169731,12 @@ components:
$ref: '#/components/schemas/ResourceId'
type:
description: "The type of the portfolio. The available values are: Transaction,\
\ Reference, DerivedTransaction"
\ Reference, DerivedTransaction, SimplePosition"
enum:
- Transaction
- Reference
- DerivedTransaction
- SimplePosition
type: string
displayName:
description: The name of the portfolio.
Expand Down Expand Up @@ -172408,11 +172410,12 @@ components:
$ref: '#/components/schemas/ResourceId'
type:
description: "The type of the portfolio. The available values are: Transaction,\
\ Reference, DerivedTransaction"
\ Reference, DerivedTransaction, SimplePosition"
enum:
- Transaction
- Reference
- DerivedTransaction
- SimplePosition
type: string
href:
description: The specific Uniform Resource Identifier (URI) for this resource
Expand Down Expand Up @@ -172587,6 +172590,7 @@ components:
- Transaction
- Reference
- DerivedTransaction
- SimplePosition
type: string
PortfolioWithoutHref:
additionalProperties: false
Expand Down Expand Up @@ -172767,11 +172771,12 @@ components:
$ref: '#/components/schemas/ResourceId'
type:
description: "The type of the portfolio. The available values are: Transaction,\
\ Reference, DerivedTransaction"
\ Reference, DerivedTransaction, SimplePosition"
enum:
- Transaction
- Reference
- DerivedTransaction
- SimplePosition
type: string
displayName:
description: The name of the portfolio.
Expand Down
3 changes: 2 additions & 1 deletion sdk/docs/CompletePortfolio.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
|**created** | **OffsetDateTime** | The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. | [optional] |
|**parentPortfolioId** | [**ResourceId**](ResourceId.md) | | [optional] |
|**isDerived** | **Boolean** | Whether or not this is a derived portfolio. | [optional] [readonly] |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction | [optional] |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition | [optional] |
|**version** | [**Version**](Version.md) | | |
|**properties** | [**List&lt;Property&gt;**](Property.md) | The requested portfolio properties. These will be from the &#39;Portfolio&#39; domain. | [optional] |
|**baseCurrency** | **String** | If the portfolio is a transaction portfolio or derived transaction portfolio, this is the base currency of the portfolio. | [optional] |
Expand All @@ -30,6 +30,7 @@
| TRANSACTION | &quot;Transaction&quot; |
| REFERENCE | &quot;Reference&quot; |
| DERIVEDTRANSACTION | &quot;DerivedTransaction&quot; |
| SIMPLEPOSITION | &quot;SimplePosition&quot; |



Expand Down
3 changes: 2 additions & 1 deletion sdk/docs/Portfolio.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A list of portfolios.
|------------ | ------------- | ------------- | -------------|
|**href** | **URI** | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. | [optional] |
|**id** | [**ResourceId**](ResourceId.md) | | |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction | |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition | |
|**displayName** | **String** | The name of the portfolio. | |
|**description** | **String** | The long form description of the portfolio. | [optional] |
|**created** | **OffsetDateTime** | The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. | |
Expand Down Expand Up @@ -39,6 +39,7 @@ A list of portfolios.
| TRANSACTION | &quot;Transaction&quot; |
| REFERENCE | &quot;Reference&quot; |
| DERIVEDTRANSACTION | &quot;DerivedTransaction&quot; |
| SIMPLEPOSITION | &quot;SimplePosition&quot; |



Expand Down
3 changes: 2 additions & 1 deletion sdk/docs/PortfolioSearchResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A list of portfolios.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | [**ResourceId**](ResourceId.md) | | |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction | |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition | |
|**href** | **URI** | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. | [optional] |
|**description** | **String** | The long form description of the portfolio. | [optional] |
|**displayName** | **String** | The name of the portfolio. | |
Expand All @@ -29,6 +29,7 @@ A list of portfolios.
| TRANSACTION | &quot;Transaction&quot; |
| REFERENCE | &quot;Reference&quot; |
| DERIVEDTRANSACTION | &quot;DerivedTransaction&quot; |
| SIMPLEPOSITION | &quot;SimplePosition&quot; |



Expand Down
2 changes: 2 additions & 0 deletions sdk/docs/PortfolioType.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

* `DERIVEDTRANSACTION` (value: `"DerivedTransaction"`)

* `SIMPLEPOSITION` (value: `"SimplePosition"`)



[Back to Model list](../README.md#documentation-for-models) &#8226; [Back to API list](../README.md#documentation-for-api-endpoints) &#8226; [Back to README](../README.md)
Expand Down
3 changes: 2 additions & 1 deletion sdk/docs/PortfolioWithoutHref.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A list of portfolios.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | [**ResourceId**](ResourceId.md) | | |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction | |
|**type** | [**TypeEnum**](#TypeEnum) | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition | |
|**displayName** | **String** | The name of the portfolio. | |
|**description** | **String** | The long form description of the portfolio. | [optional] |
|**created** | **OffsetDateTime** | The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. | |
Expand Down Expand Up @@ -38,6 +38,7 @@ A list of portfolios.
| TRANSACTION | &quot;Transaction&quot; |
| REFERENCE | &quot;Reference&quot; |
| DERIVEDTRANSACTION | &quot;DerivedTransaction&quot; |
| SIMPLEPOSITION | &quot;SimplePosition&quot; |



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.1281</version>
<version>2.0.1282</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 @@ -212,7 +212,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/2.0.1281/java");
setUserAgent("OpenAPI-Generator/2.0.1282/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.1281";
public static final String VERSION = "2.0.1282";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,17 @@ public class CompletePortfolio {
private Boolean isDerived;

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
*/
@JsonAdapter(TypeEnum.Adapter.class)
public enum TypeEnum {
TRANSACTION("Transaction"),

REFERENCE("Reference"),

DERIVEDTRANSACTION("DerivedTransaction");
DERIVEDTRANSACTION("DerivedTransaction"),

SIMPLEPOSITION("SimplePosition");

private String value;

Expand Down Expand Up @@ -315,7 +317,7 @@ public CompletePortfolio type(TypeEnum type) {
}

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
* @return type
**/
@jakarta.annotation.Nullable
Expand Down
8 changes: 5 additions & 3 deletions sdk/src/main/java/com/finbourne/lusid/model/Portfolio.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,17 @@ public class Portfolio {
private ResourceId id;

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
*/
@JsonAdapter(TypeEnum.Adapter.class)
public enum TypeEnum {
TRANSACTION("Transaction"),

REFERENCE("Reference"),

DERIVEDTRANSACTION("DerivedTransaction");
DERIVEDTRANSACTION("DerivedTransaction"),

SIMPLEPOSITION("SimplePosition");

private String value;

Expand Down Expand Up @@ -323,7 +325,7 @@ public Portfolio type(TypeEnum type) {
}

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
* @return type
**/
@jakarta.annotation.Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,17 @@ public class PortfolioSearchResult {
private ResourceId id;

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
*/
@JsonAdapter(TypeEnum.Adapter.class)
public enum TypeEnum {
TRANSACTION("Transaction"),

REFERENCE("Reference"),

DERIVEDTRANSACTION("DerivedTransaction");
DERIVEDTRANSACTION("DerivedTransaction"),

SIMPLEPOSITION("SimplePosition");

private String value;

Expand Down Expand Up @@ -189,7 +191,7 @@ public PortfolioSearchResult type(TypeEnum type) {
}

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
* @return type
**/
@jakarta.annotation.Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ public enum PortfolioType {

REFERENCE("Reference"),

DERIVEDTRANSACTION("DerivedTransaction");
DERIVEDTRANSACTION("DerivedTransaction"),

SIMPLEPOSITION("SimplePosition");

private String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,17 @@ public class PortfolioWithoutHref {
private ResourceId id;

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
*/
@JsonAdapter(TypeEnum.Adapter.class)
public enum TypeEnum {
TRANSACTION("Transaction"),

REFERENCE("Reference"),

DERIVEDTRANSACTION("DerivedTransaction");
DERIVEDTRANSACTION("DerivedTransaction"),

SIMPLEPOSITION("SimplePosition");

private String value;

Expand Down Expand Up @@ -297,7 +299,7 @@ public PortfolioWithoutHref type(TypeEnum type) {
}

/**
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
* The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction, SimplePosition
* @return type
**/
@jakarta.annotation.Nonnull
Expand Down

0 comments on commit 39e4b28

Please sign in to comment.