Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: name in join token should be optional #27

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions infra_provision/docs/HostactivationJoinToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**ExpiresAt** | Pointer to **time.Time** | | [optional]
**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**LastUsedAt** | Pointer to **time.Time** | | [optional] [readonly]
**Name** | **string** | |
**Name** | Pointer to **string** | | [optional]
**Status** | Pointer to [**JoinTokenJoinTokenStatus**](JoinTokenJoinTokenStatus.md) | | [optional] [default to JOINTOKENJOINTOKENSTATUS_UNKNOWN]
**Tags** | Pointer to **map[string]interface{}** | | [optional]
**TokenId** | Pointer to **string** | first half of the token. | [optional] [readonly]
Expand All @@ -19,7 +19,7 @@ Name | Type | Description | Notes

### NewHostactivationJoinToken

`func NewHostactivationJoinToken(name string, ) *HostactivationJoinToken`
`func NewHostactivationJoinToken() *HostactivationJoinToken`

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

SetName sets Name field to given value.

### HasName

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

HasName returns a boolean if a field has been set.

### GetStatus

Expand Down
4 changes: 2 additions & 2 deletions infra_provision/docs/UIJoinTokenAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
)

func main() {
body := *openapiclient.NewHostactivationJoinToken("Name_example") // HostactivationJoinToken |
body := *openapiclient.NewHostactivationJoinToken() // HostactivationJoinToken |

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
Expand Down Expand Up @@ -377,7 +377,7 @@ import (

func main() {
id := "id_example" // string | An application specific resource identity of a resource
body := *openapiclient.NewHostactivationJoinToken("Name_example") // HostactivationJoinToken |
body := *openapiclient.NewHostactivationJoinToken() // HostactivationJoinToken |

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
Expand Down
35 changes: 22 additions & 13 deletions infra_provision/model_hostactivation_join_token.go

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

Loading