Skip to content

Commit bd2d178

Browse files
committed
Auto-generate SDK for CoinAPI Market Data API REST Historical
1 parent 560f55f commit bd2d178

File tree

120 files changed

+499
-499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+499
-499
lines changed

coinapi/market-data-api-rest/sdk/ada/src/model/-models.adb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ package body .Models is
939939
Serialize (Into, "size_precision", Value.Size_Precision);
940940
Serialize (Into, "raw_kvp", Value.Raw_Kvp);
941941
Serialize (Into, "volume_to_usd", Value.Volume_To_Usd);
942-
Into.Write_Entity ("symbol_id_integer", Value.Symbol_Id_Integer);
942+
Into.Write_Entity ("symbol_id_int", Value.Symbol_Id_Int);
943943
Into.End_Entity (Name);
944944
end Serialize;
945945

@@ -1005,7 +1005,7 @@ package body .Models is
10051005
Swagger.Streams.Deserialize (Object, "size_precision", Value.Size_Precision);
10061006
Swagger.Streams.Deserialize (Object, "raw_kvp", Value.Raw_Kvp);
10071007
Swagger.Streams.Deserialize (Object, "volume_to_usd", Value.Volume_To_Usd);
1008-
Swagger.Streams.Deserialize (Object, "symbol_id_integer", Value.Symbol_Id_Integer);
1008+
Swagger.Streams.Deserialize (Object, "symbol_id_int", Value.Symbol_Id_Int);
10091009
end Deserialize;
10101010

10111011
procedure Deserialize (From : in Swagger.Value_Type;

coinapi/market-data-api-rest/sdk/ada/src/model/-models.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ package .Models is
535535
Size_Precision : Swagger.Number;
536536
Raw_Kvp : Swagger.UString_Map;
537537
Volume_To_Usd : Swagger.Number;
538-
Symbol_Id_Integer : Swagger.Nullable_Integer;
538+
Symbol_Id_Int : Swagger.Nullable_Integer;
539539
end record;
540540

541541

coinapi/market-data-api-rest/sdk/android/docs/V1Symbol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
5151
**sizePrecision** | **Double** | The size precision. | [optional]
5252
**rawKvp** | **Map<String, String>** | Not normalized raw kvp data. | [optional]
5353
**volumeToUsd** | **Double** | Volume unit in USD. | [optional]
54-
**symbolIdInteger** | **Integer** | The symbol identifier in integer immutable format, used to correlate data across different APIs. | [optional] [readonly]
54+
**symbolIdInt** | **Integer** | The symbol identifier in integer immutable format, used to correlate data across different APIs. | [optional] [readonly]
5555

5656

5757

coinapi/market-data-api-rest/sdk/android/src/main/java/org/openapitools/client/model/V1Symbol.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public class V1Symbol {
113113
private Map<String, String> rawKvp = null;
114114
@SerializedName("volume_to_usd")
115115
private Double volumeToUsd = null;
116-
@SerializedName("symbol_id_integer")
117-
private Integer symbolIdInteger = null;
116+
@SerializedName("symbol_id_int")
117+
private Integer symbolIdInt = null;
118118

119119
/**
120120
* The symbol identifier.
@@ -613,11 +613,11 @@ public void setVolumeToUsd(Double volumeToUsd) {
613613
* The symbol identifier in integer immutable format, used to correlate data across different APIs.
614614
**/
615615
@ApiModelProperty(value = "The symbol identifier in integer immutable format, used to correlate data across different APIs.")
616-
public Integer getSymbolIdInteger() {
617-
return symbolIdInteger;
616+
public Integer getSymbolIdInt() {
617+
return symbolIdInt;
618618
}
619-
public void setSymbolIdInteger(Integer symbolIdInteger) {
620-
this.symbolIdInteger = symbolIdInteger;
619+
public void setSymbolIdInt(Integer symbolIdInt) {
620+
this.symbolIdInt = symbolIdInt;
621621
}
622622

623623

@@ -675,7 +675,7 @@ public boolean equals(Object o) {
675675
(this.sizePrecision == null ? v1Symbol.sizePrecision == null : this.sizePrecision.equals(v1Symbol.sizePrecision)) &&
676676
(this.rawKvp == null ? v1Symbol.rawKvp == null : this.rawKvp.equals(v1Symbol.rawKvp)) &&
677677
(this.volumeToUsd == null ? v1Symbol.volumeToUsd == null : this.volumeToUsd.equals(v1Symbol.volumeToUsd)) &&
678-
(this.symbolIdInteger == null ? v1Symbol.symbolIdInteger == null : this.symbolIdInteger.equals(v1Symbol.symbolIdInteger));
678+
(this.symbolIdInt == null ? v1Symbol.symbolIdInt == null : this.symbolIdInt.equals(v1Symbol.symbolIdInt));
679679
}
680680

681681
@Override
@@ -726,7 +726,7 @@ public int hashCode() {
726726
result = 31 * result + (this.sizePrecision == null ? 0: this.sizePrecision.hashCode());
727727
result = 31 * result + (this.rawKvp == null ? 0: this.rawKvp.hashCode());
728728
result = 31 * result + (this.volumeToUsd == null ? 0: this.volumeToUsd.hashCode());
729-
result = 31 * result + (this.symbolIdInteger == null ? 0: this.symbolIdInteger.hashCode());
729+
result = 31 * result + (this.symbolIdInt == null ? 0: this.symbolIdInt.hashCode());
730730
return result;
731731
}
732732

@@ -780,7 +780,7 @@ public String toString() {
780780
sb.append(" sizePrecision: ").append(sizePrecision).append("\n");
781781
sb.append(" rawKvp: ").append(rawKvp).append("\n");
782782
sb.append(" volumeToUsd: ").append(volumeToUsd).append("\n");
783-
sb.append(" symbolIdInteger: ").append(symbolIdInteger).append("\n");
783+
sb.append(" symbolIdInt: ").append(symbolIdInt).append("\n");
784784
sb.append("}\n");
785785
return sb.toString();
786786
}

0 commit comments

Comments
 (0)