Skip to content

Commit

Permalink
auto-generated version 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ionoscloudsdk committed Mar 6, 2023
1 parent c4b02f8 commit 40ec5a1
Show file tree
Hide file tree
Showing 64 changed files with 271 additions and 2,007 deletions.
1,834 changes: 0 additions & 1,834 deletions api/openapi.yaml

This file was deleted.

18 changes: 17 additions & 1 deletion api_clusters.go

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

2 changes: 1 addition & 1 deletion api_logs.go

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

2 changes: 1 addition & 1 deletion api_metadata.go

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

2 changes: 1 addition & 1 deletion api_restores.go

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

19 changes: 18 additions & 1 deletion api_snapshots.go

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

19 changes: 18 additions & 1 deletion api_templates.go

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

19 changes: 18 additions & 1 deletion api_users.go

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

4 changes: 2 additions & 2 deletions client.go

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

4 changes: 2 additions & 2 deletions configuration.go

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

22 changes: 14 additions & 8 deletions docs/api/ClustersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Other parameters are passed through a pointer to an apiClustersDeleteRequest str

### Return type

[**ClusterResponse**](ClusterResponse.md)
[**ClusterResponse**](../models/ClusterResponse.md)

### HTTP request headers

Expand Down Expand Up @@ -135,7 +135,7 @@ Other parameters are passed through a pointer to an apiClustersFindByIdRequest s

### Return type

[**ClusterResponse**](ClusterResponse.md)
[**ClusterResponse**](../models/ClusterResponse.md)

### HTTP request headers

Expand All @@ -148,6 +148,8 @@ Other parameters are passed through a pointer to an apiClustersFindByIdRequest s

```go
var result ClusterList = ClustersGet(ctx)
.Limit(limit)
.Offset(offset)
.FilterName(filterName)
.Execute()
```
Expand All @@ -170,11 +172,13 @@ import (
)

func main() {
limit := int32(100) // int32 | The maximum number of elements to return. Use together with 'offset' for pagination. (optional) (default to 100)
offset := int32(200) // int32 | The first element to return. Use together with 'limit' for pagination. (optional) (default to 0)
filterName := "filterName_example" // string | Response filter to list only the MongoDB clusters that contain the specified name. The value is case insensitive and matched on the 'displayName' field. (optional)

configuration := ionoscloud.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := ionoscloud.NewAPIClient(configuration)
resource, resp, err := apiClient.ClustersApi.ClustersGet(context.Background()).FilterName(filterName).Execute()
resource, resp, err := apiClient.ClustersApi.ClustersGet(context.Background()).Limit(limit).Offset(offset).FilterName(filterName).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClustersApi.ClustersGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
Expand All @@ -195,11 +199,13 @@ Other parameters are passed through a pointer to an apiClustersGetRequest struct

|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **limit** | **int32** | The maximum number of elements to return. Use together with 'offset' for pagination. | [default to 100]|
| **offset** | **int32** | The first element to return. Use together with 'limit' for pagination. | [default to 0]|
| **filterName** | **string** | Response filter to list only the MongoDB clusters that contain the specified name. The value is case insensitive and matched on the 'displayName' field. | |

### Return type

[**ClusterList**](ClusterList.md)
[**ClusterList**](../models/ClusterList.md)

### HTTP request headers

Expand Down Expand Up @@ -264,11 +270,11 @@ Other parameters are passed through a pointer to an apiClustersPatchRequest stru

|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **patchClusterRequest** | [**PatchClusterRequest**](PatchClusterRequest.md) | Part of the cluster which should be modified. | |
| **patchClusterRequest** | [**PatchClusterRequest**](../models/PatchClusterRequest.md) | Part of the cluster which should be modified. | |

### Return type

[**ClusterResponse**](ClusterResponse.md)
[**ClusterResponse**](../models/ClusterResponse.md)

### HTTP request headers

Expand Down Expand Up @@ -328,11 +334,11 @@ Other parameters are passed through a pointer to an apiClustersPostRequest struc

|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **createClusterRequest** | [**CreateClusterRequest**](CreateClusterRequest.md) | The cluster to be created. | |
| **createClusterRequest** | [**CreateClusterRequest**](../models/CreateClusterRequest.md) | The cluster to be created. | |

### Return type

[**ClusterResponse**](ClusterResponse.md)
[**ClusterResponse**](../models/ClusterResponse.md)

### HTTP request headers

Expand Down
2 changes: 1 addition & 1 deletion docs/api/LogsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Other parameters are passed through a pointer to an apiClustersLogsGetRequest st

### Return type

[**ClusterLogs**](ClusterLogs.md)
[**ClusterLogs**](../models/ClusterLogs.md)

### HTTP request headers

Expand Down
Loading

0 comments on commit 40ec5a1

Please sign in to comment.