Skip to content

Commit

Permalink
v1.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 17, 2024
1 parent 572e385 commit 84a2420
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.9.0-SNAPSHOT
7.10.0-SNAPSHOT
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

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

Expand Down
17 changes: 17 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2185,6 +2185,11 @@ paths:
- size
- fee
type: string
- description: Comma-separated rollup category list
in: query
name: category
schema:
type: string
responses:
"200":
content:
Expand Down Expand Up @@ -2267,6 +2272,11 @@ paths:
- pfb_count
- mb_price
type: string
- description: Comma-separated rollup category list
in: query
name: category
schema:
type: string
responses:
"200":
content:
Expand Down Expand Up @@ -4870,10 +4880,17 @@ components:
message_type:
- message_type
- message_type
categories:
- categories
- categories
status:
- status
- status
properties:
categories:
items:
type: string
type: array
event_type:
items:
type: string
Expand Down
20 changes: 20 additions & 0 deletions api_rollup.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions docs/ResponsesEnums.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

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

### GetCategories

`func (o *ResponsesEnums) GetCategories() []string`

GetCategories returns the Categories field if non-nil, zero value otherwise.

### GetCategoriesOk

`func (o *ResponsesEnums) GetCategoriesOk() (*[]string, bool)`

GetCategoriesOk returns a tuple with the Categories field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCategories

`func (o *ResponsesEnums) SetCategories(v []string)`

SetCategories sets Categories field to given value.

### HasCategories

`func (o *ResponsesEnums) HasCategories() bool`

HasCategories returns a boolean if a field has been set.

### GetEventType

`func (o *ResponsesEnums) GetEventType() []string`
Expand Down
12 changes: 8 additions & 4 deletions docs/RollupAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ No authorization required

## ListRollup

> []ResponsesRollupWithStats ListRollup(ctx).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Execute()
> []ResponsesRollupWithStats ListRollup(ctx).Limit(limit).Offset(offset).Sort(sort).SortBy(sortBy).Category(category).Execute()
List rollups info

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

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

### Return type

Expand All @@ -664,7 +666,7 @@ No authorization required

## ListRollup24h

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

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

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

### Return type

Expand Down
36 changes: 36 additions & 0 deletions model_responses_enums.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84a2420

Please sign in to comment.