Skip to content

Commit

Permalink
chore(all): re-generate OpenAPI client(s) (#157)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <[email protected]>
  • Loading branch information
app-services-ci and app-services-ci authored Jun 24, 2021
1 parent 5e3de3b commit 9b333e7
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 293 deletions.
13 changes: 8 additions & 5 deletions kafkainstance/apiv1internal/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,10 +693,12 @@ components:
description: number of entries per page
type: integer
offset:
description: Deprecated offset of the topic list
deprecated: true
description: Offset of the topic list
type: integer
limit:
description: Deprecated maximum of returned topics
deprecated: true
description: Maximum of returned topics
type: integer
total:
description: Total number of topics
Expand Down Expand Up @@ -883,10 +885,12 @@ components:
description: The page
type: integer
offset:
description: Deprecated offset of the topic list
deprecated: true
description: Offset of the topic list
type: integer
limit:
description: Deprecated maximum of returned topics
deprecated: true
description: Maximum of returned topics
type: integer
type: object
UpdateTopicInput:
Expand Down Expand Up @@ -932,7 +936,6 @@ components:
type: array
required:
- offset
- value
title: Root Type for ConsumerGroupResetOffsetParameters
type: object
TopicsToResetOffset:
Expand Down
54 changes: 0 additions & 54 deletions kafkainstance/apiv1internal/client/docs/ConsumerGroupList.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Name | Type | Description | Notes
**Total** | Pointer to **float32** | The total number of consumer groups. | [optional]
**Size** | Pointer to **float32** | The number of consumer groups per page. | [optional]
**Page** | Pointer to **int32** | The page | [optional]
**Offset** | Pointer to **int32** | Deprecated offset of the topic list | [optional]
**Limit** | Pointer to **int32** | Deprecated maximum of returned topics | [optional]


## Methods
Expand Down Expand Up @@ -136,58 +134,6 @@ SetPage sets Page field to given value.
HasPage returns a boolean if a field has been set.


### GetOffset

`func (o *ConsumerGroupList) GetOffset() int32`

GetOffset returns the Offset field if non-nil, zero value otherwise.

### GetOffsetOk

`func (o *ConsumerGroupList) GetOffsetOk() (*int32, bool)`

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

### SetOffset

`func (o *ConsumerGroupList) SetOffset(v int32)`

SetOffset sets Offset field to given value.

### HasOffset

`func (o *ConsumerGroupList) HasOffset() bool`

HasOffset returns a boolean if a field has been set.


### GetLimit

`func (o *ConsumerGroupList) GetLimit() int32`

GetLimit returns the Limit field if non-nil, zero value otherwise.

### GetLimitOk

`func (o *ConsumerGroupList) GetLimitOk() (*int32, bool)`

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

### SetLimit

`func (o *ConsumerGroupList) SetLimit(v int32)`

SetLimit sets Limit field to given value.

### HasLimit

`func (o *ConsumerGroupList) HasLimit() bool`

HasLimit returns a boolean if a field has been set.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Value** | **string** | |
**Value** | Pointer to **string** | | [optional]
**Offset** | **string** | |
**Topics** | Pointer to [**[]TopicsToResetOffset**](TopicsToResetOffset.md) | | [optional]

Expand All @@ -13,7 +13,7 @@ Name | Type | Description | Notes

### NewConsumerGroupResetOffsetParameters

`func NewConsumerGroupResetOffsetParameters(value string, offset string, ) *ConsumerGroupResetOffsetParameters`
`func NewConsumerGroupResetOffsetParameters(offset string, ) *ConsumerGroupResetOffsetParameters`

NewConsumerGroupResetOffsetParameters instantiates a new ConsumerGroupResetOffsetParameters object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -48,6 +48,11 @@ and a boolean to check if the value has been set.

SetValue sets Value field to given value.

### HasValue

`func (o *ConsumerGroupResetOffsetParameters) HasValue() bool`

HasValue returns a boolean if a field has been set.


### GetOffset
Expand Down
2 changes: 1 addition & 1 deletion kafkainstance/apiv1internal/client/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ import (

func main() {
consumerGroupId := "consumerGroupId_example" // string | The ID of the consumer group.
consumerGroupResetOffsetParameters := *openapiclient.NewConsumerGroupResetOffsetParameters("Value_example", "Offset_example") // ConsumerGroupResetOffsetParameters |
consumerGroupResetOffsetParameters := *openapiclient.NewConsumerGroupResetOffsetParameters("Offset_example") // ConsumerGroupResetOffsetParameters |

configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
Expand Down
54 changes: 0 additions & 54 deletions kafkainstance/apiv1internal/client/docs/TopicsList.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Page** | Pointer to **int32** | The page | [optional]
**Size** | Pointer to **int32** | number of entries per page | [optional]
**Offset** | Pointer to **int32** | Deprecated offset of the topic list | [optional]
**Limit** | Pointer to **int32** | Deprecated maximum of returned topics | [optional]
**Total** | Pointer to **int32** | Total number of topics | [optional]
**Items** | Pointer to [**[]Topic**](Topic.md) | List of topics | [optional]

Expand Down Expand Up @@ -84,58 +82,6 @@ SetSize sets Size field to given value.
HasSize returns a boolean if a field has been set.


### GetOffset

`func (o *TopicsList) GetOffset() int32`

GetOffset returns the Offset field if non-nil, zero value otherwise.

### GetOffsetOk

`func (o *TopicsList) GetOffsetOk() (*int32, bool)`

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

### SetOffset

`func (o *TopicsList) SetOffset(v int32)`

SetOffset sets Offset field to given value.

### HasOffset

`func (o *TopicsList) HasOffset() bool`

HasOffset returns a boolean if a field has been set.


### GetLimit

`func (o *TopicsList) GetLimit() int32`

GetLimit returns the Limit field if non-nil, zero value otherwise.

### GetLimitOk

`func (o *TopicsList) GetLimitOk() (*int32, bool)`

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

### SetLimit

`func (o *TopicsList) SetLimit(v int32)`

SetLimit sets Limit field to given value.

### HasLimit

`func (o *TopicsList) HasLimit() bool`

HasLimit returns a boolean if a field has been set.


### GetTotal

`func (o *TopicsList) GetTotal() int32`
Expand Down
82 changes: 0 additions & 82 deletions kafkainstance/apiv1internal/client/model_consumer_group_list.go

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

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

Loading

0 comments on commit 9b333e7

Please sign in to comment.