Skip to content

Commit 84a2420

Browse files
committed
v1.10.4
1 parent 572e385 commit 84a2420

File tree

7 files changed

+109
-6
lines changed

7 files changed

+109
-6
lines changed

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.9.0-SNAPSHOT
1+
7.10.0-SNAPSHOT

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
77

88
- API version: 1.0
99
- Package version: 1.0.0
10-
- Generator version: 7.9.0-SNAPSHOT
10+
- Generator version: 7.10.0-SNAPSHOT
1111
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1212
For more information, please visit [https://discord.gg/3k83Przqk8](https://discord.gg/3k83Przqk8)
1313

api/openapi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,6 +2185,11 @@ paths:
21852185
- size
21862186
- fee
21872187
type: string
2188+
- description: Comma-separated rollup category list
2189+
in: query
2190+
name: category
2191+
schema:
2192+
type: string
21882193
responses:
21892194
"200":
21902195
content:
@@ -2267,6 +2272,11 @@ paths:
22672272
- pfb_count
22682273
- mb_price
22692274
type: string
2275+
- description: Comma-separated rollup category list
2276+
in: query
2277+
name: category
2278+
schema:
2279+
type: string
22702280
responses:
22712281
"200":
22722282
content:
@@ -4870,10 +4880,17 @@ components:
48704880
message_type:
48714881
- message_type
48724882
- message_type
4883+
categories:
4884+
- categories
4885+
- categories
48734886
status:
48744887
- status
48754888
- status
48764889
properties:
4890+
categories:
4891+
items:
4892+
type: string
4893+
type: array
48774894
event_type:
48784895
items:
48794896
type: string

api_rollup.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ResponsesEnums.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**Categories** | Pointer to **[]string** | | [optional]
78
**EventType** | Pointer to **[]string** | | [optional]
89
**MessageType** | Pointer to **[]string** | | [optional]
910
**Status** | Pointer to **[]string** | | [optional]
@@ -27,6 +28,31 @@ NewResponsesEnumsWithDefaults instantiates a new ResponsesEnums object
2728
This constructor will only assign default values to properties that have it defined,
2829
but it doesn't guarantee that properties required by API are set
2930

31+
### GetCategories
32+
33+
`func (o *ResponsesEnums) GetCategories() []string`
34+
35+
GetCategories returns the Categories field if non-nil, zero value otherwise.
36+
37+
### GetCategoriesOk
38+
39+
`func (o *ResponsesEnums) GetCategoriesOk() (*[]string, bool)`
40+
41+
GetCategoriesOk returns a tuple with the Categories field if it's non-nil, zero value otherwise
42+
and a boolean to check if the value has been set.
43+
44+
### SetCategories
45+
46+
`func (o *ResponsesEnums) SetCategories(v []string)`
47+
48+
SetCategories sets Categories field to given value.
49+
50+
### HasCategories
51+
52+
`func (o *ResponsesEnums) HasCategories() bool`
53+
54+
HasCategories returns a boolean if a field has been set.
55+
3056
### GetEventType
3157

3258
`func (o *ResponsesEnums) GetEventType() []string`

docs/RollupAPI.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ No authorization required
592592

593593
## ListRollup
594594

595-
> []ResponsesRollupWithStats ListRollup(ctx).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Execute()
595+
> []ResponsesRollupWithStats ListRollup(ctx).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Category(category).Execute()
596596
597597
List rollups info
598598

@@ -615,10 +615,11 @@ func main() {
615615
offset := int32(56) // int32 | Offset (optional)
616616
sort := "sort_example" // string | Sort order. Default: desc (optional)
617617
sortBy := "sortBy_example" // string | Sort field. Default: size (optional)
618+
category := "category_example" // string | Comma-separated rollup category list (optional)
618619

619620
configuration := openapiclient.NewConfiguration()
620621
apiClient := openapiclient.NewAPIClient(configuration)
621-
resp, r, err := apiClient.RollupAPI.ListRollup(context.Background()).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Execute()
622+
resp, r, err := apiClient.RollupAPI.ListRollup(context.Background()).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Category(category).Execute()
622623
if err != nil {
623624
fmt.Fprintf(os.Stderr, "Error when calling `RollupAPI.ListRollup``: %v\n", err)
624625
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -643,6 +644,7 @@ Name | Type | Description | Notes
643644
**offset** | **int32** | Offset |
644645
**sort** | **string** | Sort order. Default: desc |
645646
**sortBy** | **string** | Sort field. Default: size |
647+
**category** | **string** | Comma-separated rollup category list |
646648

647649
### Return type
648650

@@ -664,7 +666,7 @@ No authorization required
664666

665667
## ListRollup24h
666668

667-
> []ResponsesRollupWithDayStats ListRollup24h(ctx).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Execute()
669+
> []ResponsesRollupWithDayStats ListRollup24h(ctx).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Category(category).Execute()
668670
669671
List rollups info with stats by previous 24 hours
670672

@@ -687,10 +689,11 @@ func main() {
687689
offset := int32(56) // int32 | Offset (optional)
688690
sort := "sort_example" // string | Sort order. Default: desc (optional)
689691
sortBy := "sortBy_example" // string | Sort field. Default: mb_price (optional)
692+
category := "category_example" // string | Comma-separated rollup category list (optional)
690693

691694
configuration := openapiclient.NewConfiguration()
692695
apiClient := openapiclient.NewAPIClient(configuration)
693-
resp, r, err := apiClient.RollupAPI.ListRollup24h(context.Background()).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Execute()
696+
resp, r, err := apiClient.RollupAPI.ListRollup24h(context.Background()).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Category(category).Execute()
694697
if err != nil {
695698
fmt.Fprintf(os.Stderr, "Error when calling `RollupAPI.ListRollup24h``: %v\n", err)
696699
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -715,6 +718,7 @@ Name | Type | Description | Notes
715718
**offset** | **int32** | Offset |
716719
**sort** | **string** | Sort order. Default: desc |
717720
**sortBy** | **string** | Sort field. Default: mb_price |
721+
**category** | **string** | Comma-separated rollup category list |
718722

719723
### Return type
720724

model_responses_enums.go

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)