Skip to content

Commit b42ecaa

Browse files
committed
Auto-generate SDK for FinFeedAPI Stock API REST Historical
1 parent c22204f commit b42ecaa

117 files changed

Lines changed: 6022 additions & 244 deletions

File tree

Some content is hidden

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

finfeedapi/stock-api-rest/sdk/ada/src/model/-models.adb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,15 @@ package body .Models is
882882
Into.Write_Entity ("name", Value.Name);
883883
Into.Write_Entity ("date", Value.Date);
884884
Into.Write_Entity ("asset_class", Value.Asset_Class);
885+
Into.Write_Entity ("cfi_code", Value.Cfi_Code);
886+
Into.Write_Entity ("cfi_category", Value.Cfi_Category);
887+
Into.Write_Entity ("cfi_group", Value.Cfi_Group);
888+
Into.Write_Entity ("cfi_attribute1", Value.Cfi_Attribute_1);
889+
Into.Write_Entity ("cfi_attribute2", Value.Cfi_Attribute_2);
890+
Into.Write_Entity ("cfi_attribute3", Value.Cfi_Attribute_3);
891+
Into.Write_Entity ("cfi_attribute4", Value.Cfi_Attribute_4);
892+
Into.Write_Entity ("cfi_category_desc", Value.Cfi_Category_Desc);
893+
Into.Write_Entity ("cfi_group_desc", Value.Cfi_Group_Desc);
885894
Into.End_Entity (Name);
886895
end Serialize;
887896

@@ -908,6 +917,15 @@ package body .Models is
908917
Swagger.Streams.Deserialize (Object, "name", Value.Name);
909918
Swagger.Streams.Deserialize (Object, "date", Value.Date);
910919
Swagger.Streams.Deserialize (Object, "asset_class", Value.Asset_Class);
920+
Swagger.Streams.Deserialize (Object, "cfi_code", Value.Cfi_Code);
921+
Swagger.Streams.Deserialize (Object, "cfi_category", Value.Cfi_Category);
922+
Swagger.Streams.Deserialize (Object, "cfi_group", Value.Cfi_Group);
923+
Swagger.Streams.Deserialize (Object, "cfi_attribute1", Value.Cfi_Attribute_1);
924+
Swagger.Streams.Deserialize (Object, "cfi_attribute2", Value.Cfi_Attribute_2);
925+
Swagger.Streams.Deserialize (Object, "cfi_attribute3", Value.Cfi_Attribute_3);
926+
Swagger.Streams.Deserialize (Object, "cfi_attribute4", Value.Cfi_Attribute_4);
927+
Swagger.Streams.Deserialize (Object, "cfi_category_desc", Value.Cfi_Category_Desc);
928+
Swagger.Streams.Deserialize (Object, "cfi_group_desc", Value.Cfi_Group_Desc);
911929
end Deserialize;
912930

913931
procedure Deserialize (From : in Swagger.Value_Type;

finfeedapi/stock-api-rest/sdk/ada/src/model/-models.ads

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,15 @@ package .Models is
402402
Name : Swagger.Nullable_UString;
403403
Date : Swagger.Nullable_UString;
404404
Asset_Class : Swagger.Nullable_UString;
405+
Cfi_Code : Swagger.Nullable_UString;
406+
Cfi_Category : Swagger.Nullable_UString;
407+
Cfi_Group : Swagger.Nullable_UString;
408+
Cfi_Attribute_1 : Swagger.Nullable_UString;
409+
Cfi_Attribute_2 : Swagger.Nullable_UString;
410+
Cfi_Attribute_3 : Swagger.Nullable_UString;
411+
Cfi_Attribute_4 : Swagger.Nullable_UString;
412+
Cfi_Category_Desc : Swagger.Nullable_UString;
413+
Cfi_Group_Desc : Swagger.Nullable_UString;
405414
end record;
406415

407416

finfeedapi/stock-api-rest/sdk/android/docs/FinFeedAPISymbolModel.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Name | Type | Description | Notes
1212
**name** | **String** | | [optional]
1313
**date** | **String** | | [optional]
1414
**assetClass** | **String** | | [optional]
15+
**cfiCode** | **String** | | [optional]
16+
**cfiCategory** | **String** | | [optional] [readonly]
17+
**cfiGroup** | **String** | | [optional] [readonly]
18+
**cfiAttribute1** | **String** | | [optional] [readonly]
19+
**cfiAttribute2** | **String** | | [optional] [readonly]
20+
**cfiAttribute3** | **String** | | [optional] [readonly]
21+
**cfiAttribute4** | **String** | | [optional] [readonly]
22+
**cfiCategoryDesc** | **String** | | [optional] [readonly]
23+
**cfiGroupDesc** | **String** | | [optional] [readonly]
1524

1625

1726

finfeedapi/stock-api-rest/sdk/android/src/main/java/org/openapitools/client/model/FinFeedAPISymbolModel.java

Lines changed: 136 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ public class FinFeedAPISymbolModel extends HashMap<String, OasAnyTypeNotMapped>
3333
private String date = null;
3434
@SerializedName("asset_class")
3535
private String assetClass = null;
36+
@SerializedName("cfi_code")
37+
private String cfiCode = null;
38+
@SerializedName("cfi_category")
39+
private String cfiCategory = null;
40+
@SerializedName("cfi_group")
41+
private String cfiGroup = null;
42+
@SerializedName("cfi_attribute1")
43+
private String cfiAttribute1 = null;
44+
@SerializedName("cfi_attribute2")
45+
private String cfiAttribute2 = null;
46+
@SerializedName("cfi_attribute3")
47+
private String cfiAttribute3 = null;
48+
@SerializedName("cfi_attribute4")
49+
private String cfiAttribute4 = null;
50+
@SerializedName("cfi_category_desc")
51+
private String cfiCategoryDesc = null;
52+
@SerializedName("cfi_group_desc")
53+
private String cfiGroupDesc = null;
3654

3755
/**
3856
**/
@@ -94,6 +112,96 @@ public void setAssetClass(String assetClass) {
94112
this.assetClass = assetClass;
95113
}
96114

115+
/**
116+
**/
117+
@ApiModelProperty(value = "")
118+
public String getCfiCode() {
119+
return cfiCode;
120+
}
121+
public void setCfiCode(String cfiCode) {
122+
this.cfiCode = cfiCode;
123+
}
124+
125+
/**
126+
**/
127+
@ApiModelProperty(value = "")
128+
public String getCfiCategory() {
129+
return cfiCategory;
130+
}
131+
public void setCfiCategory(String cfiCategory) {
132+
this.cfiCategory = cfiCategory;
133+
}
134+
135+
/**
136+
**/
137+
@ApiModelProperty(value = "")
138+
public String getCfiGroup() {
139+
return cfiGroup;
140+
}
141+
public void setCfiGroup(String cfiGroup) {
142+
this.cfiGroup = cfiGroup;
143+
}
144+
145+
/**
146+
**/
147+
@ApiModelProperty(value = "")
148+
public String getCfiAttribute1() {
149+
return cfiAttribute1;
150+
}
151+
public void setCfiAttribute1(String cfiAttribute1) {
152+
this.cfiAttribute1 = cfiAttribute1;
153+
}
154+
155+
/**
156+
**/
157+
@ApiModelProperty(value = "")
158+
public String getCfiAttribute2() {
159+
return cfiAttribute2;
160+
}
161+
public void setCfiAttribute2(String cfiAttribute2) {
162+
this.cfiAttribute2 = cfiAttribute2;
163+
}
164+
165+
/**
166+
**/
167+
@ApiModelProperty(value = "")
168+
public String getCfiAttribute3() {
169+
return cfiAttribute3;
170+
}
171+
public void setCfiAttribute3(String cfiAttribute3) {
172+
this.cfiAttribute3 = cfiAttribute3;
173+
}
174+
175+
/**
176+
**/
177+
@ApiModelProperty(value = "")
178+
public String getCfiAttribute4() {
179+
return cfiAttribute4;
180+
}
181+
public void setCfiAttribute4(String cfiAttribute4) {
182+
this.cfiAttribute4 = cfiAttribute4;
183+
}
184+
185+
/**
186+
**/
187+
@ApiModelProperty(value = "")
188+
public String getCfiCategoryDesc() {
189+
return cfiCategoryDesc;
190+
}
191+
public void setCfiCategoryDesc(String cfiCategoryDesc) {
192+
this.cfiCategoryDesc = cfiCategoryDesc;
193+
}
194+
195+
/**
196+
**/
197+
@ApiModelProperty(value = "")
198+
public String getCfiGroupDesc() {
199+
return cfiGroupDesc;
200+
}
201+
public void setCfiGroupDesc(String cfiGroupDesc) {
202+
this.cfiGroupDesc = cfiGroupDesc;
203+
}
204+
97205

98206
@Override
99207
public boolean equals(Object o) {
@@ -109,7 +217,16 @@ public boolean equals(Object o) {
109217
(this.securityCategory == null ? finFeedAPISymbolModel.securityCategory == null : this.securityCategory.equals(finFeedAPISymbolModel.securityCategory)) &&
110218
(this.name == null ? finFeedAPISymbolModel.name == null : this.name.equals(finFeedAPISymbolModel.name)) &&
111219
(this.date == null ? finFeedAPISymbolModel.date == null : this.date.equals(finFeedAPISymbolModel.date)) &&
112-
(this.assetClass == null ? finFeedAPISymbolModel.assetClass == null : this.assetClass.equals(finFeedAPISymbolModel.assetClass));
220+
(this.assetClass == null ? finFeedAPISymbolModel.assetClass == null : this.assetClass.equals(finFeedAPISymbolModel.assetClass)) &&
221+
(this.cfiCode == null ? finFeedAPISymbolModel.cfiCode == null : this.cfiCode.equals(finFeedAPISymbolModel.cfiCode)) &&
222+
(this.cfiCategory == null ? finFeedAPISymbolModel.cfiCategory == null : this.cfiCategory.equals(finFeedAPISymbolModel.cfiCategory)) &&
223+
(this.cfiGroup == null ? finFeedAPISymbolModel.cfiGroup == null : this.cfiGroup.equals(finFeedAPISymbolModel.cfiGroup)) &&
224+
(this.cfiAttribute1 == null ? finFeedAPISymbolModel.cfiAttribute1 == null : this.cfiAttribute1.equals(finFeedAPISymbolModel.cfiAttribute1)) &&
225+
(this.cfiAttribute2 == null ? finFeedAPISymbolModel.cfiAttribute2 == null : this.cfiAttribute2.equals(finFeedAPISymbolModel.cfiAttribute2)) &&
226+
(this.cfiAttribute3 == null ? finFeedAPISymbolModel.cfiAttribute3 == null : this.cfiAttribute3.equals(finFeedAPISymbolModel.cfiAttribute3)) &&
227+
(this.cfiAttribute4 == null ? finFeedAPISymbolModel.cfiAttribute4 == null : this.cfiAttribute4.equals(finFeedAPISymbolModel.cfiAttribute4)) &&
228+
(this.cfiCategoryDesc == null ? finFeedAPISymbolModel.cfiCategoryDesc == null : this.cfiCategoryDesc.equals(finFeedAPISymbolModel.cfiCategoryDesc)) &&
229+
(this.cfiGroupDesc == null ? finFeedAPISymbolModel.cfiGroupDesc == null : this.cfiGroupDesc.equals(finFeedAPISymbolModel.cfiGroupDesc));
113230
}
114231

115232
@Override
@@ -121,6 +238,15 @@ public int hashCode() {
121238
result = 31 * result + (this.name == null ? 0: this.name.hashCode());
122239
result = 31 * result + (this.date == null ? 0: this.date.hashCode());
123240
result = 31 * result + (this.assetClass == null ? 0: this.assetClass.hashCode());
241+
result = 31 * result + (this.cfiCode == null ? 0: this.cfiCode.hashCode());
242+
result = 31 * result + (this.cfiCategory == null ? 0: this.cfiCategory.hashCode());
243+
result = 31 * result + (this.cfiGroup == null ? 0: this.cfiGroup.hashCode());
244+
result = 31 * result + (this.cfiAttribute1 == null ? 0: this.cfiAttribute1.hashCode());
245+
result = 31 * result + (this.cfiAttribute2 == null ? 0: this.cfiAttribute2.hashCode());
246+
result = 31 * result + (this.cfiAttribute3 == null ? 0: this.cfiAttribute3.hashCode());
247+
result = 31 * result + (this.cfiAttribute4 == null ? 0: this.cfiAttribute4.hashCode());
248+
result = 31 * result + (this.cfiCategoryDesc == null ? 0: this.cfiCategoryDesc.hashCode());
249+
result = 31 * result + (this.cfiGroupDesc == null ? 0: this.cfiGroupDesc.hashCode());
124250
return result;
125251
}
126252

@@ -135,6 +261,15 @@ public String toString() {
135261
sb.append(" name: ").append(name).append("\n");
136262
sb.append(" date: ").append(date).append("\n");
137263
sb.append(" assetClass: ").append(assetClass).append("\n");
264+
sb.append(" cfiCode: ").append(cfiCode).append("\n");
265+
sb.append(" cfiCategory: ").append(cfiCategory).append("\n");
266+
sb.append(" cfiGroup: ").append(cfiGroup).append("\n");
267+
sb.append(" cfiAttribute1: ").append(cfiAttribute1).append("\n");
268+
sb.append(" cfiAttribute2: ").append(cfiAttribute2).append("\n");
269+
sb.append(" cfiAttribute3: ").append(cfiAttribute3).append("\n");
270+
sb.append(" cfiAttribute4: ").append(cfiAttribute4).append("\n");
271+
sb.append(" cfiCategoryDesc: ").append(cfiCategoryDesc).append("\n");
272+
sb.append(" cfiGroupDesc: ").append(cfiGroupDesc).append("\n");
138273
sb.append("}\n");
139274
return sb.toString();
140275
}

0 commit comments

Comments
 (0)