Skip to content

Commit

Permalink
auto-generated version v5.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ionoscloudsdk committed Dec 14, 2021
1 parent cc687e3 commit 56b4a8d
Show file tree
Hide file tree
Showing 10 changed files with 104 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,6 +6,7 @@
# Folders
_obj
_test
.idea/

# Architecture specific extensions/prefixes
*.[568vq]
Expand Down
6 changes: 5 additions & 1 deletion api/openapi.yaml
Expand Up @@ -27327,6 +27327,7 @@ components:
UserPropertiesPut:
example:
firstname: firstname
password: password
administrator: true
active: true
forceSecAuth: true
Expand All @@ -27343,6 +27344,9 @@ components:
email:
description: email address of the user
type: string
password:
description: password of the user
type: string
administrator:
description: indicates if the user has admin rights or not
type: boolean
Expand Down Expand Up @@ -27505,6 +27509,7 @@ components:
id: 15f67991-0f51-4efc-a8ad-ef1fb31a480c
properties:
firstname: firstname
password: password
administrator: true
active: true
forceSecAuth: true
Expand Down Expand Up @@ -32662,7 +32667,6 @@ components:
type: string
type: array
required:
- name
- nodeCount
type: object
KubernetesNodePool:
Expand Down
19 changes: 11 additions & 8 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.

2 changes: 1 addition & 1 deletion docs/api/KubernetesApi.md
Expand Up @@ -959,7 +959,7 @@ import (
func main() {
k8sClusterId := "k8sClusterId_example" // string | The unique ID of the Kubernetes Cluster
nodepoolId := "nodepoolId_example" // string | The unique ID of the Kubernetes Node Pool
kubernetesNodePool := *openapiclient.NewKubernetesNodePoolForPut(*openapiclient.NewKubernetesNodePoolPropertiesForPut("k8s-node-pool", int32(2))) // KubernetesNodePoolForPut | Details of the Kubernetes Node Pool
kubernetesNodePool := *openapiclient.NewKubernetesNodePoolForPut(*openapiclient.NewKubernetesNodePoolPropertiesForPut(int32(2))) // KubernetesNodePoolForPut | Details of the Kubernetes Node Pool
pretty := true // bool | Controls whether response is pretty-printed (with indentation and new lines) (optional) (default to true)
depth := int32(56) // int32 | Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on (optional) (default to 0)
xContractNumber := int32(56) // int32 | Users having more than 1 contract need to provide contract number, against which all API requests should be executed (optional)
Expand Down
9 changes: 7 additions & 2 deletions docs/models/KubernetesNodePoolPropertiesForPut.md
Expand Up @@ -4,7 +4,7 @@

|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**Name** | **string** | A Kubernetes Node Pool Name. Valid Kubernetes Node Pool name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. | |
|**Name** | Pointer to **string** | A Kubernetes Node Pool Name. Valid Kubernetes Node Pool name must be 63 characters or less and must be empty or begin and end with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. | [optional] |
|**NodeCount** | **int32** | Number of nodes part of the Node Pool | |
|**K8sVersion** | Pointer to **string** | The kubernetes version in which a nodepool is running. This imposes restrictions on what kubernetes versions can be run in a cluster's nodepools. Additionally, not all kubernetes versions are viable upgrade targets for all prior versions. | [optional] |
|**MaintenanceWindow** | Pointer to [**KubernetesMaintenanceWindow**](KubernetesMaintenanceWindow.md) | | [optional] |
Expand All @@ -18,7 +18,7 @@

### NewKubernetesNodePoolPropertiesForPut

`func NewKubernetesNodePoolPropertiesForPut(name string, nodeCount int32, ) *KubernetesNodePoolPropertiesForPut`
`func NewKubernetesNodePoolPropertiesForPut(nodeCount int32, ) *KubernetesNodePoolPropertiesForPut`

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

SetName sets Name field to given value.

### HasName

`func (o *KubernetesNodePoolPropertiesForPut) HasName() bool`

HasName returns a boolean if a field has been set.

### GetNodeCount

Expand Down
26 changes: 26 additions & 0 deletions docs/models/UserPropertiesPut.md
Expand Up @@ -7,6 +7,7 @@
|**Firstname** | Pointer to **string** | first name of the user | [optional] |
|**Lastname** | Pointer to **string** | last name of the user | [optional] |
|**Email** | Pointer to **string** | email address of the user | [optional] |
|**Password** | Pointer to **string** | password of the user | [optional] |
|**Administrator** | Pointer to **bool** | indicates if the user has admin rights or not | [optional] |
|**ForceSecAuth** | Pointer to **bool** | indicates if secure authentication should be forced on the user or not | [optional] |
|**SecAuthActive** | Pointer to **bool** | indicates if secure authentication is active for the user or not | [optional] |
Expand Down Expand Up @@ -106,6 +107,31 @@ SetEmail sets Email field to given value.

HasEmail returns a boolean if a field has been set.

### GetPassword

`func (o *UserPropertiesPut) GetPassword() string`

GetPassword returns the Password field if non-nil, zero value otherwise.

### GetPasswordOk

`func (o *UserPropertiesPut) GetPasswordOk() (*string, bool)`

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

### SetPassword

`func (o *UserPropertiesPut) SetPassword(v string)`

SetPassword sets Password field to given value.

### HasPassword

`func (o *UserPropertiesPut) HasPassword() bool`

HasPassword returns a boolean if a field has been set.

### GetAdministrator

`func (o *UserPropertiesPut) GetAdministrator() bool`
Expand Down
8 changes: 6 additions & 2 deletions go.mod
@@ -1,7 +1,11 @@
module github.com/ionos-cloud/sdk-go/v5

go 1.13
go 1.17

require golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45

require (
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
github.com/golang/protobuf v1.2.0 // indirect
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e // indirect
google.golang.org/appengine v1.4.0 // indirect
)
2 changes: 1 addition & 1 deletion model_kubernetes_node_pool_properties_for_put.go

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

44 changes: 44 additions & 0 deletions model_user_properties_put.go

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

0 comments on commit 56b4a8d

Please sign in to comment.