Skip to content

Commit

Permalink
Updates for v2.0.477
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Feb 9, 2024
1 parent 5959124 commit 2824989
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 5 deletions.
9 changes: 8 additions & 1 deletion 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.6260
version: 0.11.6262
x-logo:
url: https://www.lusid.com/app/assets/logo_white.png
backgroundColor: '#415464'
Expand Down Expand Up @@ -101045,6 +101045,13 @@ components:
domCcy:
description: The domestic currency of the instrument.
type: string
lotSize:
description: "Equity LotSize, the minimum number of shares that can be\
\ bought at once.\r\nOptional, if set must be non-negative, if not set\
\ defaults to 1.\r\n\r\nNote this property does not impact valuation.\
\ From a LUSID analytics perspective, it is purely informational."
format: int32
type: integer
instrumentType:
description: "The available values are: QuotedSecurity, InterestRateSwap,\
\ FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap,\
Expand Down
1 change: 1 addition & 0 deletions sdk/docs/Equity.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LUSID representation of an Equity.
|------------ | ------------- | ------------- | -------------|
|**identifiers** | [**EquityAllOfIdentifiers**](EquityAllOfIdentifiers.md) | | [optional] |
|**domCcy** | **String** | The domestic currency of the instrument. | |
|**lotSize** | **Integer** | Equity LotSize, the minimum number of shares that can be bought at once. Optional, if set must be non-negative, if not set defaults to 1. Note this property does not impact valuation. From a LUSID analytics perspective, it is purely informational. | [optional] |



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.475</version>
<version>2.0.477</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.475/java");
setUserAgent("OpenAPI-Generator/2.0.477/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.475";
public static final String VERSION = "2.0.477";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
30 changes: 29 additions & 1 deletion sdk/src/main/java/com/finbourne/lusid/model/Equity.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public class Equity extends LusidInstrument {
@SerializedName(SERIALIZED_NAME_DOM_CCY)
private String domCcy;

public static final String SERIALIZED_NAME_LOT_SIZE = "lotSize";
@SerializedName(SERIALIZED_NAME_LOT_SIZE)
private Integer lotSize;

public Equity() {
// this.instrumentType = this.getClass().getSimpleName();
}
Expand Down Expand Up @@ -106,6 +110,27 @@ public void setDomCcy(String domCcy) {
}


public Equity lotSize(Integer lotSize) {

this.lotSize = lotSize;
return this;
}

/**
* Equity LotSize, the minimum number of shares that can be bought at once. Optional, if set must be non-negative, if not set defaults to 1. Note this property does not impact valuation. From a LUSID analytics perspective, it is purely informational.
* @return lotSize
**/
@jakarta.annotation.Nullable
public Integer getLotSize() {
return lotSize;
}


public void setLotSize(Integer lotSize) {
this.lotSize = lotSize;
}



@Override
public boolean equals(Object o) {
Expand All @@ -118,6 +143,7 @@ public boolean equals(Object o) {
Equity equity = (Equity) o;
return Objects.equals(this.identifiers, equity.identifiers) &&
Objects.equals(this.domCcy, equity.domCcy) &&
Objects.equals(this.lotSize, equity.lotSize) &&
super.equals(o);
}

Expand All @@ -127,7 +153,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)

@Override
public int hashCode() {
return Objects.hash(identifiers, domCcy, super.hashCode());
return Objects.hash(identifiers, domCcy, lotSize, super.hashCode());
}

private static <T> int hashCodeNullable(JsonNullable<T> a) {
Expand All @@ -144,6 +170,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" identifiers: ").append(toIndentedString(identifiers)).append("\n");
sb.append(" domCcy: ").append(toIndentedString(domCcy)).append("\n");
sb.append(" lotSize: ").append(toIndentedString(lotSize)).append("\n");
sb.append("}");
return sb.toString();
}
Expand All @@ -169,6 +196,7 @@ private String toIndentedString(Object o) {
openapiFields.add("instrumentType");
openapiFields.add("identifiers");
openapiFields.add("domCcy");
openapiFields.add("lotSize");

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
Expand Down

0 comments on commit 2824989

Please sign in to comment.