mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
fix: rename sdk to match repo & introduce git subtree
This commit is contained in:
338
sdk/go/docs/AuthAPI.md
Normal file
338
sdk/go/docs/AuthAPI.md
Normal file
@@ -0,0 +1,338 @@
|
||||
# \AuthAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AuthCallback**](AuthAPI.md#AuthCallback) | **Get** /auth/{provider}/callback | Handle social login callback
|
||||
[**AuthStart**](AuthAPI.md#AuthStart) | **Post** /auth/{provider}/start | Begin social login
|
||||
[**GetJWKS**](AuthAPI.md#GetJWKS) | **Get** /.well-known/jwks.json | Get JWKS
|
||||
[**Logout**](AuthAPI.md#Logout) | **Post** /auth/logout | Revoke refresh token family (logout everywhere)
|
||||
[**Refresh**](AuthAPI.md#Refresh) | **Post** /auth/refresh | Rotate refresh token
|
||||
|
||||
|
||||
|
||||
## AuthCallback
|
||||
|
||||
> DtoTokenPair AuthCallback(ctx, provider).Execute()
|
||||
|
||||
Handle social login callback
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
provider := "provider_example" // string | google|github
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AuthAPI.AuthCallback(context.Background(), provider).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.AuthCallback``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AuthCallback`: DtoTokenPair
|
||||
fmt.Fprintf(os.Stdout, "Response from `AuthAPI.AuthCallback`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**provider** | **string** | google|github |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAuthCallbackRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoTokenPair**](DtoTokenPair.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## AuthStart
|
||||
|
||||
> DtoAuthStartResponse AuthStart(ctx, provider).Execute()
|
||||
|
||||
Begin social login
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
provider := "provider_example" // string | google|github
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AuthAPI.AuthStart(context.Background(), provider).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.AuthStart``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AuthStart`: DtoAuthStartResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AuthAPI.AuthStart`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**provider** | **string** | google|github |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAuthStartRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoAuthStartResponse**](DtoAuthStartResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetJWKS
|
||||
|
||||
> DtoJWKS GetJWKS(ctx).Execute()
|
||||
|
||||
Get JWKS
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AuthAPI.GetJWKS(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.GetJWKS``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetJWKS`: DtoJWKS
|
||||
fmt.Fprintf(os.Stdout, "Response from `AuthAPI.GetJWKS`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetJWKSRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoJWKS**](DtoJWKS.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## Logout
|
||||
|
||||
> Logout(ctx).Body(body).Execute()
|
||||
|
||||
Revoke refresh token family (logout everywhere)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewDtoLogoutRequest() // DtoLogoutRequest | Refresh token
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.AuthAPI.Logout(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.Logout``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiLogoutRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**DtoLogoutRequest**](DtoLogoutRequest.md) | Refresh token |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## Refresh
|
||||
|
||||
> DtoTokenPair Refresh(ctx).Body(body).Execute()
|
||||
|
||||
Rotate refresh token
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewDtoRefreshRequest() // DtoRefreshRequest | Refresh token
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AuthAPI.Refresh(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AuthAPI.Refresh``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `Refresh`: DtoTokenPair
|
||||
fmt.Fprintf(os.Stdout, "Response from `AuthAPI.Refresh`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiRefreshRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**DtoRefreshRequest**](DtoRefreshRequest.md) | Refresh token |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoTokenPair**](DtoTokenPair.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
56
sdk/go/docs/DtoAuthStartResponse.md
Normal file
56
sdk/go/docs/DtoAuthStartResponse.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# DtoAuthStartResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AuthUrl** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoAuthStartResponse
|
||||
|
||||
`func NewDtoAuthStartResponse() *DtoAuthStartResponse`
|
||||
|
||||
NewDtoAuthStartResponse instantiates a new DtoAuthStartResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoAuthStartResponseWithDefaults
|
||||
|
||||
`func NewDtoAuthStartResponseWithDefaults() *DtoAuthStartResponse`
|
||||
|
||||
NewDtoAuthStartResponseWithDefaults instantiates a new DtoAuthStartResponse 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
|
||||
|
||||
### GetAuthUrl
|
||||
|
||||
`func (o *DtoAuthStartResponse) GetAuthUrl() string`
|
||||
|
||||
GetAuthUrl returns the AuthUrl field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAuthUrlOk
|
||||
|
||||
`func (o *DtoAuthStartResponse) GetAuthUrlOk() (*string, bool)`
|
||||
|
||||
GetAuthUrlOk returns a tuple with the AuthUrl field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAuthUrl
|
||||
|
||||
`func (o *DtoAuthStartResponse) SetAuthUrl(v string)`
|
||||
|
||||
SetAuthUrl sets AuthUrl field to given value.
|
||||
|
||||
### HasAuthUrl
|
||||
|
||||
`func (o *DtoAuthStartResponse) HasAuthUrl() bool`
|
||||
|
||||
HasAuthUrl 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/DtoCreateLabelRequest.md
Normal file
82
sdk/go/docs/DtoCreateLabelRequest.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# DtoCreateLabelRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Key** | Pointer to **string** | | [optional]
|
||||
**Value** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoCreateLabelRequest
|
||||
|
||||
`func NewDtoCreateLabelRequest() *DtoCreateLabelRequest`
|
||||
|
||||
NewDtoCreateLabelRequest instantiates a new DtoCreateLabelRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoCreateLabelRequestWithDefaults
|
||||
|
||||
`func NewDtoCreateLabelRequestWithDefaults() *DtoCreateLabelRequest`
|
||||
|
||||
NewDtoCreateLabelRequestWithDefaults instantiates a new DtoCreateLabelRequest 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
|
||||
|
||||
### GetKey
|
||||
|
||||
`func (o *DtoCreateLabelRequest) GetKey() string`
|
||||
|
||||
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeyOk
|
||||
|
||||
`func (o *DtoCreateLabelRequest) GetKeyOk() (*string, bool)`
|
||||
|
||||
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKey
|
||||
|
||||
`func (o *DtoCreateLabelRequest) SetKey(v string)`
|
||||
|
||||
SetKey sets Key field to given value.
|
||||
|
||||
### HasKey
|
||||
|
||||
`func (o *DtoCreateLabelRequest) HasKey() bool`
|
||||
|
||||
HasKey returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *DtoCreateLabelRequest) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *DtoCreateLabelRequest) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *DtoCreateLabelRequest) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *DtoCreateLabelRequest) HasValue() bool`
|
||||
|
||||
HasValue 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)
|
||||
|
||||
|
||||
134
sdk/go/docs/DtoCreateSSHRequest.md
Normal file
134
sdk/go/docs/DtoCreateSSHRequest.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# DtoCreateSSHRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Bits** | Pointer to **int32** | Only for RSA | [optional]
|
||||
**Comment** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**Type** | Pointer to **string** | \"rsa\" (default) or \"ed25519\" | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoCreateSSHRequest
|
||||
|
||||
`func NewDtoCreateSSHRequest() *DtoCreateSSHRequest`
|
||||
|
||||
NewDtoCreateSSHRequest instantiates a new DtoCreateSSHRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoCreateSSHRequestWithDefaults
|
||||
|
||||
`func NewDtoCreateSSHRequestWithDefaults() *DtoCreateSSHRequest`
|
||||
|
||||
NewDtoCreateSSHRequestWithDefaults instantiates a new DtoCreateSSHRequest 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
|
||||
|
||||
### GetBits
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetBits() int32`
|
||||
|
||||
GetBits returns the Bits field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBitsOk
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetBitsOk() (*int32, bool)`
|
||||
|
||||
GetBitsOk returns a tuple with the Bits field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBits
|
||||
|
||||
`func (o *DtoCreateSSHRequest) SetBits(v int32)`
|
||||
|
||||
SetBits sets Bits field to given value.
|
||||
|
||||
### HasBits
|
||||
|
||||
`func (o *DtoCreateSSHRequest) HasBits() bool`
|
||||
|
||||
HasBits returns a boolean if a field has been set.
|
||||
|
||||
### GetComment
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetCommentOk() (*string, bool)`
|
||||
|
||||
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetComment
|
||||
|
||||
`func (o *DtoCreateSSHRequest) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *DtoCreateSSHRequest) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *DtoCreateSSHRequest) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *DtoCreateSSHRequest) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *DtoCreateSSHRequest) GetTypeOk() (*string, bool)`
|
||||
|
||||
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetType
|
||||
|
||||
`func (o *DtoCreateSSHRequest) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *DtoCreateSSHRequest) HasType() bool`
|
||||
|
||||
HasType 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/DtoCreateServerRequest.md
Normal file
212
sdk/go/docs/DtoCreateServerRequest.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# DtoCreateServerRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Hostname** | Pointer to **string** | | [optional]
|
||||
**PrivateIpAddress** | Pointer to **string** | | [optional]
|
||||
**PublicIpAddress** | Pointer to **string** | | [optional]
|
||||
**Role** | Pointer to **string** | | [optional]
|
||||
**SshKeyId** | Pointer to **string** | | [optional]
|
||||
**SshUser** | Pointer to **string** | | [optional]
|
||||
**Status** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoCreateServerRequest
|
||||
|
||||
`func NewDtoCreateServerRequest() *DtoCreateServerRequest`
|
||||
|
||||
NewDtoCreateServerRequest instantiates a new DtoCreateServerRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoCreateServerRequestWithDefaults
|
||||
|
||||
`func NewDtoCreateServerRequestWithDefaults() *DtoCreateServerRequest`
|
||||
|
||||
NewDtoCreateServerRequestWithDefaults instantiates a new DtoCreateServerRequest 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
|
||||
|
||||
### GetHostname
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetHostname() string`
|
||||
|
||||
GetHostname returns the Hostname field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHostnameOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetHostnameOk() (*string, bool)`
|
||||
|
||||
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHostname
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetHostname(v string)`
|
||||
|
||||
SetHostname sets Hostname field to given value.
|
||||
|
||||
### HasHostname
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasHostname() bool`
|
||||
|
||||
HasHostname returns a boolean if a field has been set.
|
||||
|
||||
### GetPrivateIpAddress
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetPrivateIpAddress() string`
|
||||
|
||||
GetPrivateIpAddress returns the PrivateIpAddress field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrivateIpAddressOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetPrivateIpAddressOk() (*string, bool)`
|
||||
|
||||
GetPrivateIpAddressOk returns a tuple with the PrivateIpAddress field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrivateIpAddress
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetPrivateIpAddress(v string)`
|
||||
|
||||
SetPrivateIpAddress sets PrivateIpAddress field to given value.
|
||||
|
||||
### HasPrivateIpAddress
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasPrivateIpAddress() bool`
|
||||
|
||||
HasPrivateIpAddress returns a boolean if a field has been set.
|
||||
|
||||
### GetPublicIpAddress
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetPublicIpAddress() string`
|
||||
|
||||
GetPublicIpAddress returns the PublicIpAddress field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPublicIpAddressOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetPublicIpAddressOk() (*string, bool)`
|
||||
|
||||
GetPublicIpAddressOk returns a tuple with the PublicIpAddress field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPublicIpAddress
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetPublicIpAddress(v string)`
|
||||
|
||||
SetPublicIpAddress sets PublicIpAddress field to given value.
|
||||
|
||||
### HasPublicIpAddress
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasPublicIpAddress() bool`
|
||||
|
||||
HasPublicIpAddress returns a boolean if a field has been set.
|
||||
|
||||
### GetRole
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetRole() string`
|
||||
|
||||
GetRole returns the Role field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRoleOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetRoleOk() (*string, bool)`
|
||||
|
||||
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRole
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetRole(v string)`
|
||||
|
||||
SetRole sets Role field to given value.
|
||||
|
||||
### HasRole
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasRole() bool`
|
||||
|
||||
HasRole returns a boolean if a field has been set.
|
||||
|
||||
### GetSshKeyId
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetSshKeyId() string`
|
||||
|
||||
GetSshKeyId returns the SshKeyId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSshKeyIdOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetSshKeyIdOk() (*string, bool)`
|
||||
|
||||
GetSshKeyIdOk returns a tuple with the SshKeyId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSshKeyId
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetSshKeyId(v string)`
|
||||
|
||||
SetSshKeyId sets SshKeyId field to given value.
|
||||
|
||||
### HasSshKeyId
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasSshKeyId() bool`
|
||||
|
||||
HasSshKeyId returns a boolean if a field has been set.
|
||||
|
||||
### GetSshUser
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetSshUser() string`
|
||||
|
||||
GetSshUser returns the SshUser field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSshUserOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetSshUserOk() (*string, bool)`
|
||||
|
||||
GetSshUserOk returns a tuple with the SshUser field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSshUser
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetSshUser(v string)`
|
||||
|
||||
SetSshUser sets SshUser field to given value.
|
||||
|
||||
### HasSshUser
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasSshUser() bool`
|
||||
|
||||
HasSshUser returns a boolean if a field has been set.
|
||||
|
||||
### GetStatus
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetStatus() string`
|
||||
|
||||
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatusOk
|
||||
|
||||
`func (o *DtoCreateServerRequest) GetStatusOk() (*string, bool)`
|
||||
|
||||
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStatus
|
||||
|
||||
`func (o *DtoCreateServerRequest) SetStatus(v string)`
|
||||
|
||||
SetStatus sets Status field to given value.
|
||||
|
||||
### HasStatus
|
||||
|
||||
`func (o *DtoCreateServerRequest) HasStatus() bool`
|
||||
|
||||
HasStatus 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)
|
||||
|
||||
|
||||
108
sdk/go/docs/DtoCreateTaintRequest.md
Normal file
108
sdk/go/docs/DtoCreateTaintRequest.md
Normal file
@@ -0,0 +1,108 @@
|
||||
# DtoCreateTaintRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Effect** | Pointer to **string** | | [optional]
|
||||
**Key** | Pointer to **string** | | [optional]
|
||||
**Value** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoCreateTaintRequest
|
||||
|
||||
`func NewDtoCreateTaintRequest() *DtoCreateTaintRequest`
|
||||
|
||||
NewDtoCreateTaintRequest instantiates a new DtoCreateTaintRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoCreateTaintRequestWithDefaults
|
||||
|
||||
`func NewDtoCreateTaintRequestWithDefaults() *DtoCreateTaintRequest`
|
||||
|
||||
NewDtoCreateTaintRequestWithDefaults instantiates a new DtoCreateTaintRequest 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
|
||||
|
||||
### GetEffect
|
||||
|
||||
`func (o *DtoCreateTaintRequest) GetEffect() string`
|
||||
|
||||
GetEffect returns the Effect field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEffectOk
|
||||
|
||||
`func (o *DtoCreateTaintRequest) GetEffectOk() (*string, bool)`
|
||||
|
||||
GetEffectOk returns a tuple with the Effect field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEffect
|
||||
|
||||
`func (o *DtoCreateTaintRequest) SetEffect(v string)`
|
||||
|
||||
SetEffect sets Effect field to given value.
|
||||
|
||||
### HasEffect
|
||||
|
||||
`func (o *DtoCreateTaintRequest) HasEffect() bool`
|
||||
|
||||
HasEffect returns a boolean if a field has been set.
|
||||
|
||||
### GetKey
|
||||
|
||||
`func (o *DtoCreateTaintRequest) GetKey() string`
|
||||
|
||||
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeyOk
|
||||
|
||||
`func (o *DtoCreateTaintRequest) GetKeyOk() (*string, bool)`
|
||||
|
||||
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKey
|
||||
|
||||
`func (o *DtoCreateTaintRequest) SetKey(v string)`
|
||||
|
||||
SetKey sets Key field to given value.
|
||||
|
||||
### HasKey
|
||||
|
||||
`func (o *DtoCreateTaintRequest) HasKey() bool`
|
||||
|
||||
HasKey returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *DtoCreateTaintRequest) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *DtoCreateTaintRequest) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *DtoCreateTaintRequest) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *DtoCreateTaintRequest) HasValue() bool`
|
||||
|
||||
HasValue 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/DtoJWK.md
Normal file
212
sdk/go/docs/DtoJWK.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# DtoJWK
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Alg** | Pointer to **string** | | [optional]
|
||||
**E** | Pointer to **string** | | [optional]
|
||||
**Kid** | Pointer to **string** | | [optional]
|
||||
**Kty** | Pointer to **string** | | [optional]
|
||||
**N** | Pointer to **string** | | [optional]
|
||||
**Use** | Pointer to **string** | | [optional]
|
||||
**X** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoJWK
|
||||
|
||||
`func NewDtoJWK() *DtoJWK`
|
||||
|
||||
NewDtoJWK instantiates a new DtoJWK object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoJWKWithDefaults
|
||||
|
||||
`func NewDtoJWKWithDefaults() *DtoJWK`
|
||||
|
||||
NewDtoJWKWithDefaults instantiates a new DtoJWK 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
|
||||
|
||||
### GetAlg
|
||||
|
||||
`func (o *DtoJWK) GetAlg() string`
|
||||
|
||||
GetAlg returns the Alg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAlgOk
|
||||
|
||||
`func (o *DtoJWK) GetAlgOk() (*string, bool)`
|
||||
|
||||
GetAlgOk returns a tuple with the Alg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAlg
|
||||
|
||||
`func (o *DtoJWK) SetAlg(v string)`
|
||||
|
||||
SetAlg sets Alg field to given value.
|
||||
|
||||
### HasAlg
|
||||
|
||||
`func (o *DtoJWK) HasAlg() bool`
|
||||
|
||||
HasAlg returns a boolean if a field has been set.
|
||||
|
||||
### GetE
|
||||
|
||||
`func (o *DtoJWK) GetE() string`
|
||||
|
||||
GetE returns the E field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEOk
|
||||
|
||||
`func (o *DtoJWK) GetEOk() (*string, bool)`
|
||||
|
||||
GetEOk returns a tuple with the E field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetE
|
||||
|
||||
`func (o *DtoJWK) SetE(v string)`
|
||||
|
||||
SetE sets E field to given value.
|
||||
|
||||
### HasE
|
||||
|
||||
`func (o *DtoJWK) HasE() bool`
|
||||
|
||||
HasE returns a boolean if a field has been set.
|
||||
|
||||
### GetKid
|
||||
|
||||
`func (o *DtoJWK) GetKid() string`
|
||||
|
||||
GetKid returns the Kid field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKidOk
|
||||
|
||||
`func (o *DtoJWK) GetKidOk() (*string, bool)`
|
||||
|
||||
GetKidOk returns a tuple with the Kid field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKid
|
||||
|
||||
`func (o *DtoJWK) SetKid(v string)`
|
||||
|
||||
SetKid sets Kid field to given value.
|
||||
|
||||
### HasKid
|
||||
|
||||
`func (o *DtoJWK) HasKid() bool`
|
||||
|
||||
HasKid returns a boolean if a field has been set.
|
||||
|
||||
### GetKty
|
||||
|
||||
`func (o *DtoJWK) GetKty() string`
|
||||
|
||||
GetKty returns the Kty field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKtyOk
|
||||
|
||||
`func (o *DtoJWK) GetKtyOk() (*string, bool)`
|
||||
|
||||
GetKtyOk returns a tuple with the Kty field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKty
|
||||
|
||||
`func (o *DtoJWK) SetKty(v string)`
|
||||
|
||||
SetKty sets Kty field to given value.
|
||||
|
||||
### HasKty
|
||||
|
||||
`func (o *DtoJWK) HasKty() bool`
|
||||
|
||||
HasKty returns a boolean if a field has been set.
|
||||
|
||||
### GetN
|
||||
|
||||
`func (o *DtoJWK) GetN() string`
|
||||
|
||||
GetN returns the N field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNOk
|
||||
|
||||
`func (o *DtoJWK) GetNOk() (*string, bool)`
|
||||
|
||||
GetNOk returns a tuple with the N field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetN
|
||||
|
||||
`func (o *DtoJWK) SetN(v string)`
|
||||
|
||||
SetN sets N field to given value.
|
||||
|
||||
### HasN
|
||||
|
||||
`func (o *DtoJWK) HasN() bool`
|
||||
|
||||
HasN returns a boolean if a field has been set.
|
||||
|
||||
### GetUse
|
||||
|
||||
`func (o *DtoJWK) GetUse() string`
|
||||
|
||||
GetUse returns the Use field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUseOk
|
||||
|
||||
`func (o *DtoJWK) GetUseOk() (*string, bool)`
|
||||
|
||||
GetUseOk returns a tuple with the Use field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUse
|
||||
|
||||
`func (o *DtoJWK) SetUse(v string)`
|
||||
|
||||
SetUse sets Use field to given value.
|
||||
|
||||
### HasUse
|
||||
|
||||
`func (o *DtoJWK) HasUse() bool`
|
||||
|
||||
HasUse returns a boolean if a field has been set.
|
||||
|
||||
### GetX
|
||||
|
||||
`func (o *DtoJWK) GetX() string`
|
||||
|
||||
GetX returns the X field if non-nil, zero value otherwise.
|
||||
|
||||
### GetXOk
|
||||
|
||||
`func (o *DtoJWK) GetXOk() (*string, bool)`
|
||||
|
||||
GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetX
|
||||
|
||||
`func (o *DtoJWK) SetX(v string)`
|
||||
|
||||
SetX sets X field to given value.
|
||||
|
||||
### HasX
|
||||
|
||||
`func (o *DtoJWK) HasX() bool`
|
||||
|
||||
HasX 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)
|
||||
|
||||
|
||||
56
sdk/go/docs/DtoJWKS.md
Normal file
56
sdk/go/docs/DtoJWKS.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# DtoJWKS
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Keys** | Pointer to [**[]DtoJWK**](DtoJWK.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoJWKS
|
||||
|
||||
`func NewDtoJWKS() *DtoJWKS`
|
||||
|
||||
NewDtoJWKS instantiates a new DtoJWKS object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoJWKSWithDefaults
|
||||
|
||||
`func NewDtoJWKSWithDefaults() *DtoJWKS`
|
||||
|
||||
NewDtoJWKSWithDefaults instantiates a new DtoJWKS 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
|
||||
|
||||
### GetKeys
|
||||
|
||||
`func (o *DtoJWKS) GetKeys() []DtoJWK`
|
||||
|
||||
GetKeys returns the Keys field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeysOk
|
||||
|
||||
`func (o *DtoJWKS) GetKeysOk() (*[]DtoJWK, bool)`
|
||||
|
||||
GetKeysOk returns a tuple with the Keys field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKeys
|
||||
|
||||
`func (o *DtoJWKS) SetKeys(v []DtoJWK)`
|
||||
|
||||
SetKeys sets Keys field to given value.
|
||||
|
||||
### HasKeys
|
||||
|
||||
`func (o *DtoJWKS) HasKeys() bool`
|
||||
|
||||
HasKeys 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)
|
||||
|
||||
|
||||
108
sdk/go/docs/DtoLabelResponse.md
Normal file
108
sdk/go/docs/DtoLabelResponse.md
Normal file
@@ -0,0 +1,108 @@
|
||||
# DtoLabelResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**Key** | Pointer to **string** | | [optional]
|
||||
**Value** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoLabelResponse
|
||||
|
||||
`func NewDtoLabelResponse() *DtoLabelResponse`
|
||||
|
||||
NewDtoLabelResponse instantiates a new DtoLabelResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoLabelResponseWithDefaults
|
||||
|
||||
`func NewDtoLabelResponseWithDefaults() *DtoLabelResponse`
|
||||
|
||||
NewDtoLabelResponseWithDefaults instantiates a new DtoLabelResponse 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
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DtoLabelResponse) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *DtoLabelResponse) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *DtoLabelResponse) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *DtoLabelResponse) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetKey
|
||||
|
||||
`func (o *DtoLabelResponse) GetKey() string`
|
||||
|
||||
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeyOk
|
||||
|
||||
`func (o *DtoLabelResponse) GetKeyOk() (*string, bool)`
|
||||
|
||||
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKey
|
||||
|
||||
`func (o *DtoLabelResponse) SetKey(v string)`
|
||||
|
||||
SetKey sets Key field to given value.
|
||||
|
||||
### HasKey
|
||||
|
||||
`func (o *DtoLabelResponse) HasKey() bool`
|
||||
|
||||
HasKey returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *DtoLabelResponse) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *DtoLabelResponse) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *DtoLabelResponse) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *DtoLabelResponse) HasValue() bool`
|
||||
|
||||
HasValue 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)
|
||||
|
||||
|
||||
56
sdk/go/docs/DtoLogoutRequest.md
Normal file
56
sdk/go/docs/DtoLogoutRequest.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# DtoLogoutRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**RefreshToken** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoLogoutRequest
|
||||
|
||||
`func NewDtoLogoutRequest() *DtoLogoutRequest`
|
||||
|
||||
NewDtoLogoutRequest instantiates a new DtoLogoutRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoLogoutRequestWithDefaults
|
||||
|
||||
`func NewDtoLogoutRequestWithDefaults() *DtoLogoutRequest`
|
||||
|
||||
NewDtoLogoutRequestWithDefaults instantiates a new DtoLogoutRequest 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
|
||||
|
||||
### GetRefreshToken
|
||||
|
||||
`func (o *DtoLogoutRequest) GetRefreshToken() string`
|
||||
|
||||
GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRefreshTokenOk
|
||||
|
||||
`func (o *DtoLogoutRequest) GetRefreshTokenOk() (*string, bool)`
|
||||
|
||||
GetRefreshTokenOk returns a tuple with the RefreshToken field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRefreshToken
|
||||
|
||||
`func (o *DtoLogoutRequest) SetRefreshToken(v string)`
|
||||
|
||||
SetRefreshToken sets RefreshToken field to given value.
|
||||
|
||||
### HasRefreshToken
|
||||
|
||||
`func (o *DtoLogoutRequest) HasRefreshToken() bool`
|
||||
|
||||
HasRefreshToken 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)
|
||||
|
||||
|
||||
56
sdk/go/docs/DtoRefreshRequest.md
Normal file
56
sdk/go/docs/DtoRefreshRequest.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# DtoRefreshRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**RefreshToken** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoRefreshRequest
|
||||
|
||||
`func NewDtoRefreshRequest() *DtoRefreshRequest`
|
||||
|
||||
NewDtoRefreshRequest instantiates a new DtoRefreshRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoRefreshRequestWithDefaults
|
||||
|
||||
`func NewDtoRefreshRequestWithDefaults() *DtoRefreshRequest`
|
||||
|
||||
NewDtoRefreshRequestWithDefaults instantiates a new DtoRefreshRequest 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
|
||||
|
||||
### GetRefreshToken
|
||||
|
||||
`func (o *DtoRefreshRequest) GetRefreshToken() string`
|
||||
|
||||
GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRefreshTokenOk
|
||||
|
||||
`func (o *DtoRefreshRequest) GetRefreshTokenOk() (*string, bool)`
|
||||
|
||||
GetRefreshTokenOk returns a tuple with the RefreshToken field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRefreshToken
|
||||
|
||||
`func (o *DtoRefreshRequest) SetRefreshToken(v string)`
|
||||
|
||||
SetRefreshToken sets RefreshToken field to given value.
|
||||
|
||||
### HasRefreshToken
|
||||
|
||||
`func (o *DtoRefreshRequest) HasRefreshToken() bool`
|
||||
|
||||
HasRefreshToken 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)
|
||||
|
||||
|
||||
316
sdk/go/docs/DtoServerResponse.md
Normal file
316
sdk/go/docs/DtoServerResponse.md
Normal file
@@ -0,0 +1,316 @@
|
||||
# DtoServerResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **string** | | [optional]
|
||||
**Hostname** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**OrganizationId** | Pointer to **string** | | [optional]
|
||||
**PrivateIpAddress** | Pointer to **string** | | [optional]
|
||||
**PublicIpAddress** | Pointer to **string** | | [optional]
|
||||
**Role** | Pointer to **string** | | [optional]
|
||||
**SshKeyId** | Pointer to **string** | | [optional]
|
||||
**SshUser** | Pointer to **string** | | [optional]
|
||||
**Status** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoServerResponse
|
||||
|
||||
`func NewDtoServerResponse() *DtoServerResponse`
|
||||
|
||||
NewDtoServerResponse instantiates a new DtoServerResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoServerResponseWithDefaults
|
||||
|
||||
`func NewDtoServerResponseWithDefaults() *DtoServerResponse`
|
||||
|
||||
NewDtoServerResponseWithDefaults instantiates a new DtoServerResponse 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *DtoServerResponse) GetCreatedAt() string`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *DtoServerResponse) GetCreatedAtOk() (*string, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *DtoServerResponse) SetCreatedAt(v string)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *DtoServerResponse) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetHostname
|
||||
|
||||
`func (o *DtoServerResponse) GetHostname() string`
|
||||
|
||||
GetHostname returns the Hostname field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHostnameOk
|
||||
|
||||
`func (o *DtoServerResponse) GetHostnameOk() (*string, bool)`
|
||||
|
||||
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHostname
|
||||
|
||||
`func (o *DtoServerResponse) SetHostname(v string)`
|
||||
|
||||
SetHostname sets Hostname field to given value.
|
||||
|
||||
### HasHostname
|
||||
|
||||
`func (o *DtoServerResponse) HasHostname() bool`
|
||||
|
||||
HasHostname returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DtoServerResponse) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *DtoServerResponse) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *DtoServerResponse) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *DtoServerResponse) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetOrganizationId
|
||||
|
||||
`func (o *DtoServerResponse) GetOrganizationId() string`
|
||||
|
||||
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrganizationIdOk
|
||||
|
||||
`func (o *DtoServerResponse) GetOrganizationIdOk() (*string, bool)`
|
||||
|
||||
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrganizationId
|
||||
|
||||
`func (o *DtoServerResponse) SetOrganizationId(v string)`
|
||||
|
||||
SetOrganizationId sets OrganizationId field to given value.
|
||||
|
||||
### HasOrganizationId
|
||||
|
||||
`func (o *DtoServerResponse) HasOrganizationId() bool`
|
||||
|
||||
HasOrganizationId returns a boolean if a field has been set.
|
||||
|
||||
### GetPrivateIpAddress
|
||||
|
||||
`func (o *DtoServerResponse) GetPrivateIpAddress() string`
|
||||
|
||||
GetPrivateIpAddress returns the PrivateIpAddress field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrivateIpAddressOk
|
||||
|
||||
`func (o *DtoServerResponse) GetPrivateIpAddressOk() (*string, bool)`
|
||||
|
||||
GetPrivateIpAddressOk returns a tuple with the PrivateIpAddress field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrivateIpAddress
|
||||
|
||||
`func (o *DtoServerResponse) SetPrivateIpAddress(v string)`
|
||||
|
||||
SetPrivateIpAddress sets PrivateIpAddress field to given value.
|
||||
|
||||
### HasPrivateIpAddress
|
||||
|
||||
`func (o *DtoServerResponse) HasPrivateIpAddress() bool`
|
||||
|
||||
HasPrivateIpAddress returns a boolean if a field has been set.
|
||||
|
||||
### GetPublicIpAddress
|
||||
|
||||
`func (o *DtoServerResponse) GetPublicIpAddress() string`
|
||||
|
||||
GetPublicIpAddress returns the PublicIpAddress field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPublicIpAddressOk
|
||||
|
||||
`func (o *DtoServerResponse) GetPublicIpAddressOk() (*string, bool)`
|
||||
|
||||
GetPublicIpAddressOk returns a tuple with the PublicIpAddress field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPublicIpAddress
|
||||
|
||||
`func (o *DtoServerResponse) SetPublicIpAddress(v string)`
|
||||
|
||||
SetPublicIpAddress sets PublicIpAddress field to given value.
|
||||
|
||||
### HasPublicIpAddress
|
||||
|
||||
`func (o *DtoServerResponse) HasPublicIpAddress() bool`
|
||||
|
||||
HasPublicIpAddress returns a boolean if a field has been set.
|
||||
|
||||
### GetRole
|
||||
|
||||
`func (o *DtoServerResponse) GetRole() string`
|
||||
|
||||
GetRole returns the Role field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRoleOk
|
||||
|
||||
`func (o *DtoServerResponse) GetRoleOk() (*string, bool)`
|
||||
|
||||
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRole
|
||||
|
||||
`func (o *DtoServerResponse) SetRole(v string)`
|
||||
|
||||
SetRole sets Role field to given value.
|
||||
|
||||
### HasRole
|
||||
|
||||
`func (o *DtoServerResponse) HasRole() bool`
|
||||
|
||||
HasRole returns a boolean if a field has been set.
|
||||
|
||||
### GetSshKeyId
|
||||
|
||||
`func (o *DtoServerResponse) GetSshKeyId() string`
|
||||
|
||||
GetSshKeyId returns the SshKeyId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSshKeyIdOk
|
||||
|
||||
`func (o *DtoServerResponse) GetSshKeyIdOk() (*string, bool)`
|
||||
|
||||
GetSshKeyIdOk returns a tuple with the SshKeyId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSshKeyId
|
||||
|
||||
`func (o *DtoServerResponse) SetSshKeyId(v string)`
|
||||
|
||||
SetSshKeyId sets SshKeyId field to given value.
|
||||
|
||||
### HasSshKeyId
|
||||
|
||||
`func (o *DtoServerResponse) HasSshKeyId() bool`
|
||||
|
||||
HasSshKeyId returns a boolean if a field has been set.
|
||||
|
||||
### GetSshUser
|
||||
|
||||
`func (o *DtoServerResponse) GetSshUser() string`
|
||||
|
||||
GetSshUser returns the SshUser field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSshUserOk
|
||||
|
||||
`func (o *DtoServerResponse) GetSshUserOk() (*string, bool)`
|
||||
|
||||
GetSshUserOk returns a tuple with the SshUser field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSshUser
|
||||
|
||||
`func (o *DtoServerResponse) SetSshUser(v string)`
|
||||
|
||||
SetSshUser sets SshUser field to given value.
|
||||
|
||||
### HasSshUser
|
||||
|
||||
`func (o *DtoServerResponse) HasSshUser() bool`
|
||||
|
||||
HasSshUser returns a boolean if a field has been set.
|
||||
|
||||
### GetStatus
|
||||
|
||||
`func (o *DtoServerResponse) GetStatus() string`
|
||||
|
||||
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatusOk
|
||||
|
||||
`func (o *DtoServerResponse) GetStatusOk() (*string, bool)`
|
||||
|
||||
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStatus
|
||||
|
||||
`func (o *DtoServerResponse) SetStatus(v string)`
|
||||
|
||||
SetStatus sets Status field to given value.
|
||||
|
||||
### HasStatus
|
||||
|
||||
`func (o *DtoServerResponse) HasStatus() bool`
|
||||
|
||||
HasStatus returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *DtoServerResponse) GetUpdatedAt() string`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *DtoServerResponse) GetUpdatedAtOk() (*string, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *DtoServerResponse) SetUpdatedAt(v string)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *DtoServerResponse) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/DtoSshResponse.md
Normal file
212
sdk/go/docs/DtoSshResponse.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# DtoSshResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **string** | | [optional]
|
||||
**Fingerprint** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**OrganizationId** | Pointer to **string** | | [optional]
|
||||
**PublicKey** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoSshResponse
|
||||
|
||||
`func NewDtoSshResponse() *DtoSshResponse`
|
||||
|
||||
NewDtoSshResponse instantiates a new DtoSshResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoSshResponseWithDefaults
|
||||
|
||||
`func NewDtoSshResponseWithDefaults() *DtoSshResponse`
|
||||
|
||||
NewDtoSshResponseWithDefaults instantiates a new DtoSshResponse 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *DtoSshResponse) GetCreatedAt() string`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *DtoSshResponse) GetCreatedAtOk() (*string, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *DtoSshResponse) SetCreatedAt(v string)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *DtoSshResponse) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetFingerprint
|
||||
|
||||
`func (o *DtoSshResponse) GetFingerprint() string`
|
||||
|
||||
GetFingerprint returns the Fingerprint field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFingerprintOk
|
||||
|
||||
`func (o *DtoSshResponse) GetFingerprintOk() (*string, bool)`
|
||||
|
||||
GetFingerprintOk returns a tuple with the Fingerprint field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFingerprint
|
||||
|
||||
`func (o *DtoSshResponse) SetFingerprint(v string)`
|
||||
|
||||
SetFingerprint sets Fingerprint field to given value.
|
||||
|
||||
### HasFingerprint
|
||||
|
||||
`func (o *DtoSshResponse) HasFingerprint() bool`
|
||||
|
||||
HasFingerprint returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DtoSshResponse) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *DtoSshResponse) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *DtoSshResponse) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *DtoSshResponse) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *DtoSshResponse) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *DtoSshResponse) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *DtoSshResponse) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *DtoSshResponse) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetOrganizationId
|
||||
|
||||
`func (o *DtoSshResponse) GetOrganizationId() string`
|
||||
|
||||
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrganizationIdOk
|
||||
|
||||
`func (o *DtoSshResponse) GetOrganizationIdOk() (*string, bool)`
|
||||
|
||||
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrganizationId
|
||||
|
||||
`func (o *DtoSshResponse) SetOrganizationId(v string)`
|
||||
|
||||
SetOrganizationId sets OrganizationId field to given value.
|
||||
|
||||
### HasOrganizationId
|
||||
|
||||
`func (o *DtoSshResponse) HasOrganizationId() bool`
|
||||
|
||||
HasOrganizationId returns a boolean if a field has been set.
|
||||
|
||||
### GetPublicKey
|
||||
|
||||
`func (o *DtoSshResponse) GetPublicKey() string`
|
||||
|
||||
GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPublicKeyOk
|
||||
|
||||
`func (o *DtoSshResponse) GetPublicKeyOk() (*string, bool)`
|
||||
|
||||
GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPublicKey
|
||||
|
||||
`func (o *DtoSshResponse) SetPublicKey(v string)`
|
||||
|
||||
SetPublicKey sets PublicKey field to given value.
|
||||
|
||||
### HasPublicKey
|
||||
|
||||
`func (o *DtoSshResponse) HasPublicKey() bool`
|
||||
|
||||
HasPublicKey returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *DtoSshResponse) GetUpdatedAt() string`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *DtoSshResponse) GetUpdatedAtOk() (*string, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *DtoSshResponse) SetUpdatedAt(v string)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *DtoSshResponse) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt 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)
|
||||
|
||||
|
||||
238
sdk/go/docs/DtoSshRevealResponse.md
Normal file
238
sdk/go/docs/DtoSshRevealResponse.md
Normal file
@@ -0,0 +1,238 @@
|
||||
# DtoSshRevealResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **string** | | [optional]
|
||||
**Fingerprint** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**OrganizationId** | Pointer to **string** | | [optional]
|
||||
**PrivateKey** | Pointer to **string** | | [optional]
|
||||
**PublicKey** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoSshRevealResponse
|
||||
|
||||
`func NewDtoSshRevealResponse() *DtoSshRevealResponse`
|
||||
|
||||
NewDtoSshRevealResponse instantiates a new DtoSshRevealResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoSshRevealResponseWithDefaults
|
||||
|
||||
`func NewDtoSshRevealResponseWithDefaults() *DtoSshRevealResponse`
|
||||
|
||||
NewDtoSshRevealResponseWithDefaults instantiates a new DtoSshRevealResponse 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetCreatedAt() string`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetCreatedAtOk() (*string, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetCreatedAt(v string)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetFingerprint
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetFingerprint() string`
|
||||
|
||||
GetFingerprint returns the Fingerprint field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFingerprintOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetFingerprintOk() (*string, bool)`
|
||||
|
||||
GetFingerprintOk returns a tuple with the Fingerprint field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFingerprint
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetFingerprint(v string)`
|
||||
|
||||
SetFingerprint sets Fingerprint field to given value.
|
||||
|
||||
### HasFingerprint
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasFingerprint() bool`
|
||||
|
||||
HasFingerprint returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetOrganizationId
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetOrganizationId() string`
|
||||
|
||||
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrganizationIdOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetOrganizationIdOk() (*string, bool)`
|
||||
|
||||
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrganizationId
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetOrganizationId(v string)`
|
||||
|
||||
SetOrganizationId sets OrganizationId field to given value.
|
||||
|
||||
### HasOrganizationId
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasOrganizationId() bool`
|
||||
|
||||
HasOrganizationId returns a boolean if a field has been set.
|
||||
|
||||
### GetPrivateKey
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetPrivateKey() string`
|
||||
|
||||
GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrivateKeyOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetPrivateKeyOk() (*string, bool)`
|
||||
|
||||
GetPrivateKeyOk returns a tuple with the PrivateKey field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrivateKey
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetPrivateKey(v string)`
|
||||
|
||||
SetPrivateKey sets PrivateKey field to given value.
|
||||
|
||||
### HasPrivateKey
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasPrivateKey() bool`
|
||||
|
||||
HasPrivateKey returns a boolean if a field has been set.
|
||||
|
||||
### GetPublicKey
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetPublicKey() string`
|
||||
|
||||
GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPublicKeyOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetPublicKeyOk() (*string, bool)`
|
||||
|
||||
GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPublicKey
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetPublicKey(v string)`
|
||||
|
||||
SetPublicKey sets PublicKey field to given value.
|
||||
|
||||
### HasPublicKey
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasPublicKey() bool`
|
||||
|
||||
HasPublicKey returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetUpdatedAt() string`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *DtoSshRevealResponse) GetUpdatedAtOk() (*string, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *DtoSshRevealResponse) SetUpdatedAt(v string)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *DtoSshRevealResponse) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt 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)
|
||||
|
||||
|
||||
134
sdk/go/docs/DtoTaintResponse.md
Normal file
134
sdk/go/docs/DtoTaintResponse.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# DtoTaintResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Effect** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**Key** | Pointer to **string** | | [optional]
|
||||
**Value** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoTaintResponse
|
||||
|
||||
`func NewDtoTaintResponse() *DtoTaintResponse`
|
||||
|
||||
NewDtoTaintResponse instantiates a new DtoTaintResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoTaintResponseWithDefaults
|
||||
|
||||
`func NewDtoTaintResponseWithDefaults() *DtoTaintResponse`
|
||||
|
||||
NewDtoTaintResponseWithDefaults instantiates a new DtoTaintResponse 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
|
||||
|
||||
### GetEffect
|
||||
|
||||
`func (o *DtoTaintResponse) GetEffect() string`
|
||||
|
||||
GetEffect returns the Effect field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEffectOk
|
||||
|
||||
`func (o *DtoTaintResponse) GetEffectOk() (*string, bool)`
|
||||
|
||||
GetEffectOk returns a tuple with the Effect field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEffect
|
||||
|
||||
`func (o *DtoTaintResponse) SetEffect(v string)`
|
||||
|
||||
SetEffect sets Effect field to given value.
|
||||
|
||||
### HasEffect
|
||||
|
||||
`func (o *DtoTaintResponse) HasEffect() bool`
|
||||
|
||||
HasEffect returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *DtoTaintResponse) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *DtoTaintResponse) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *DtoTaintResponse) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *DtoTaintResponse) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetKey
|
||||
|
||||
`func (o *DtoTaintResponse) GetKey() string`
|
||||
|
||||
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeyOk
|
||||
|
||||
`func (o *DtoTaintResponse) GetKeyOk() (*string, bool)`
|
||||
|
||||
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKey
|
||||
|
||||
`func (o *DtoTaintResponse) SetKey(v string)`
|
||||
|
||||
SetKey sets Key field to given value.
|
||||
|
||||
### HasKey
|
||||
|
||||
`func (o *DtoTaintResponse) HasKey() bool`
|
||||
|
||||
HasKey returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *DtoTaintResponse) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *DtoTaintResponse) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *DtoTaintResponse) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *DtoTaintResponse) HasValue() bool`
|
||||
|
||||
HasValue 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)
|
||||
|
||||
|
||||
134
sdk/go/docs/DtoTokenPair.md
Normal file
134
sdk/go/docs/DtoTokenPair.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# DtoTokenPair
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AccessToken** | Pointer to **string** | | [optional]
|
||||
**ExpiresIn** | Pointer to **int32** | | [optional]
|
||||
**RefreshToken** | Pointer to **string** | | [optional]
|
||||
**TokenType** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoTokenPair
|
||||
|
||||
`func NewDtoTokenPair() *DtoTokenPair`
|
||||
|
||||
NewDtoTokenPair instantiates a new DtoTokenPair object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoTokenPairWithDefaults
|
||||
|
||||
`func NewDtoTokenPairWithDefaults() *DtoTokenPair`
|
||||
|
||||
NewDtoTokenPairWithDefaults instantiates a new DtoTokenPair 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
|
||||
|
||||
### GetAccessToken
|
||||
|
||||
`func (o *DtoTokenPair) GetAccessToken() string`
|
||||
|
||||
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAccessTokenOk
|
||||
|
||||
`func (o *DtoTokenPair) GetAccessTokenOk() (*string, bool)`
|
||||
|
||||
GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAccessToken
|
||||
|
||||
`func (o *DtoTokenPair) SetAccessToken(v string)`
|
||||
|
||||
SetAccessToken sets AccessToken field to given value.
|
||||
|
||||
### HasAccessToken
|
||||
|
||||
`func (o *DtoTokenPair) HasAccessToken() bool`
|
||||
|
||||
HasAccessToken returns a boolean if a field has been set.
|
||||
|
||||
### GetExpiresIn
|
||||
|
||||
`func (o *DtoTokenPair) GetExpiresIn() int32`
|
||||
|
||||
GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.
|
||||
|
||||
### GetExpiresInOk
|
||||
|
||||
`func (o *DtoTokenPair) GetExpiresInOk() (*int32, bool)`
|
||||
|
||||
GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetExpiresIn
|
||||
|
||||
`func (o *DtoTokenPair) SetExpiresIn(v int32)`
|
||||
|
||||
SetExpiresIn sets ExpiresIn field to given value.
|
||||
|
||||
### HasExpiresIn
|
||||
|
||||
`func (o *DtoTokenPair) HasExpiresIn() bool`
|
||||
|
||||
HasExpiresIn returns a boolean if a field has been set.
|
||||
|
||||
### GetRefreshToken
|
||||
|
||||
`func (o *DtoTokenPair) GetRefreshToken() string`
|
||||
|
||||
GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRefreshTokenOk
|
||||
|
||||
`func (o *DtoTokenPair) GetRefreshTokenOk() (*string, bool)`
|
||||
|
||||
GetRefreshTokenOk returns a tuple with the RefreshToken field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRefreshToken
|
||||
|
||||
`func (o *DtoTokenPair) SetRefreshToken(v string)`
|
||||
|
||||
SetRefreshToken sets RefreshToken field to given value.
|
||||
|
||||
### HasRefreshToken
|
||||
|
||||
`func (o *DtoTokenPair) HasRefreshToken() bool`
|
||||
|
||||
HasRefreshToken returns a boolean if a field has been set.
|
||||
|
||||
### GetTokenType
|
||||
|
||||
`func (o *DtoTokenPair) GetTokenType() string`
|
||||
|
||||
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTokenTypeOk
|
||||
|
||||
`func (o *DtoTokenPair) GetTokenTypeOk() (*string, bool)`
|
||||
|
||||
GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTokenType
|
||||
|
||||
`func (o *DtoTokenPair) SetTokenType(v string)`
|
||||
|
||||
SetTokenType sets TokenType field to given value.
|
||||
|
||||
### HasTokenType
|
||||
|
||||
`func (o *DtoTokenPair) HasTokenType() bool`
|
||||
|
||||
HasTokenType 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/DtoUpdateLabelRequest.md
Normal file
82
sdk/go/docs/DtoUpdateLabelRequest.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# DtoUpdateLabelRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Key** | Pointer to **string** | | [optional]
|
||||
**Value** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoUpdateLabelRequest
|
||||
|
||||
`func NewDtoUpdateLabelRequest() *DtoUpdateLabelRequest`
|
||||
|
||||
NewDtoUpdateLabelRequest instantiates a new DtoUpdateLabelRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoUpdateLabelRequestWithDefaults
|
||||
|
||||
`func NewDtoUpdateLabelRequestWithDefaults() *DtoUpdateLabelRequest`
|
||||
|
||||
NewDtoUpdateLabelRequestWithDefaults instantiates a new DtoUpdateLabelRequest 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
|
||||
|
||||
### GetKey
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) GetKey() string`
|
||||
|
||||
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeyOk
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) GetKeyOk() (*string, bool)`
|
||||
|
||||
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKey
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) SetKey(v string)`
|
||||
|
||||
SetKey sets Key field to given value.
|
||||
|
||||
### HasKey
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) HasKey() bool`
|
||||
|
||||
HasKey returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *DtoUpdateLabelRequest) HasValue() bool`
|
||||
|
||||
HasValue 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/DtoUpdateServerRequest.md
Normal file
212
sdk/go/docs/DtoUpdateServerRequest.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# DtoUpdateServerRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Hostname** | Pointer to **string** | | [optional]
|
||||
**PrivateIpAddress** | Pointer to **string** | | [optional]
|
||||
**PublicIpAddress** | Pointer to **string** | | [optional]
|
||||
**Role** | Pointer to **string** | | [optional]
|
||||
**SshKeyId** | Pointer to **string** | | [optional]
|
||||
**SshUser** | Pointer to **string** | | [optional]
|
||||
**Status** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoUpdateServerRequest
|
||||
|
||||
`func NewDtoUpdateServerRequest() *DtoUpdateServerRequest`
|
||||
|
||||
NewDtoUpdateServerRequest instantiates a new DtoUpdateServerRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoUpdateServerRequestWithDefaults
|
||||
|
||||
`func NewDtoUpdateServerRequestWithDefaults() *DtoUpdateServerRequest`
|
||||
|
||||
NewDtoUpdateServerRequestWithDefaults instantiates a new DtoUpdateServerRequest 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
|
||||
|
||||
### GetHostname
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetHostname() string`
|
||||
|
||||
GetHostname returns the Hostname field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHostnameOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetHostnameOk() (*string, bool)`
|
||||
|
||||
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHostname
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetHostname(v string)`
|
||||
|
||||
SetHostname sets Hostname field to given value.
|
||||
|
||||
### HasHostname
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasHostname() bool`
|
||||
|
||||
HasHostname returns a boolean if a field has been set.
|
||||
|
||||
### GetPrivateIpAddress
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetPrivateIpAddress() string`
|
||||
|
||||
GetPrivateIpAddress returns the PrivateIpAddress field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrivateIpAddressOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetPrivateIpAddressOk() (*string, bool)`
|
||||
|
||||
GetPrivateIpAddressOk returns a tuple with the PrivateIpAddress field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrivateIpAddress
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetPrivateIpAddress(v string)`
|
||||
|
||||
SetPrivateIpAddress sets PrivateIpAddress field to given value.
|
||||
|
||||
### HasPrivateIpAddress
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasPrivateIpAddress() bool`
|
||||
|
||||
HasPrivateIpAddress returns a boolean if a field has been set.
|
||||
|
||||
### GetPublicIpAddress
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetPublicIpAddress() string`
|
||||
|
||||
GetPublicIpAddress returns the PublicIpAddress field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPublicIpAddressOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetPublicIpAddressOk() (*string, bool)`
|
||||
|
||||
GetPublicIpAddressOk returns a tuple with the PublicIpAddress field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPublicIpAddress
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetPublicIpAddress(v string)`
|
||||
|
||||
SetPublicIpAddress sets PublicIpAddress field to given value.
|
||||
|
||||
### HasPublicIpAddress
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasPublicIpAddress() bool`
|
||||
|
||||
HasPublicIpAddress returns a boolean if a field has been set.
|
||||
|
||||
### GetRole
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetRole() string`
|
||||
|
||||
GetRole returns the Role field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRoleOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetRoleOk() (*string, bool)`
|
||||
|
||||
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRole
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetRole(v string)`
|
||||
|
||||
SetRole sets Role field to given value.
|
||||
|
||||
### HasRole
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasRole() bool`
|
||||
|
||||
HasRole returns a boolean if a field has been set.
|
||||
|
||||
### GetSshKeyId
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetSshKeyId() string`
|
||||
|
||||
GetSshKeyId returns the SshKeyId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSshKeyIdOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetSshKeyIdOk() (*string, bool)`
|
||||
|
||||
GetSshKeyIdOk returns a tuple with the SshKeyId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSshKeyId
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetSshKeyId(v string)`
|
||||
|
||||
SetSshKeyId sets SshKeyId field to given value.
|
||||
|
||||
### HasSshKeyId
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasSshKeyId() bool`
|
||||
|
||||
HasSshKeyId returns a boolean if a field has been set.
|
||||
|
||||
### GetSshUser
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetSshUser() string`
|
||||
|
||||
GetSshUser returns the SshUser field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSshUserOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetSshUserOk() (*string, bool)`
|
||||
|
||||
GetSshUserOk returns a tuple with the SshUser field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSshUser
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetSshUser(v string)`
|
||||
|
||||
SetSshUser sets SshUser field to given value.
|
||||
|
||||
### HasSshUser
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasSshUser() bool`
|
||||
|
||||
HasSshUser returns a boolean if a field has been set.
|
||||
|
||||
### GetStatus
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetStatus() string`
|
||||
|
||||
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatusOk
|
||||
|
||||
`func (o *DtoUpdateServerRequest) GetStatusOk() (*string, bool)`
|
||||
|
||||
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStatus
|
||||
|
||||
`func (o *DtoUpdateServerRequest) SetStatus(v string)`
|
||||
|
||||
SetStatus sets Status field to given value.
|
||||
|
||||
### HasStatus
|
||||
|
||||
`func (o *DtoUpdateServerRequest) HasStatus() bool`
|
||||
|
||||
HasStatus 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)
|
||||
|
||||
|
||||
108
sdk/go/docs/DtoUpdateTaintRequest.md
Normal file
108
sdk/go/docs/DtoUpdateTaintRequest.md
Normal file
@@ -0,0 +1,108 @@
|
||||
# DtoUpdateTaintRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Effect** | Pointer to **string** | | [optional]
|
||||
**Key** | Pointer to **string** | | [optional]
|
||||
**Value** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewDtoUpdateTaintRequest
|
||||
|
||||
`func NewDtoUpdateTaintRequest() *DtoUpdateTaintRequest`
|
||||
|
||||
NewDtoUpdateTaintRequest instantiates a new DtoUpdateTaintRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewDtoUpdateTaintRequestWithDefaults
|
||||
|
||||
`func NewDtoUpdateTaintRequestWithDefaults() *DtoUpdateTaintRequest`
|
||||
|
||||
NewDtoUpdateTaintRequestWithDefaults instantiates a new DtoUpdateTaintRequest 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
|
||||
|
||||
### GetEffect
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) GetEffect() string`
|
||||
|
||||
GetEffect returns the Effect field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEffectOk
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) GetEffectOk() (*string, bool)`
|
||||
|
||||
GetEffectOk returns a tuple with the Effect field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEffect
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) SetEffect(v string)`
|
||||
|
||||
SetEffect sets Effect field to given value.
|
||||
|
||||
### HasEffect
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) HasEffect() bool`
|
||||
|
||||
HasEffect returns a boolean if a field has been set.
|
||||
|
||||
### GetKey
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) GetKey() string`
|
||||
|
||||
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||
|
||||
### GetKeyOk
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) GetKeyOk() (*string, bool)`
|
||||
|
||||
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetKey
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) SetKey(v string)`
|
||||
|
||||
SetKey sets Key field to given value.
|
||||
|
||||
### HasKey
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) HasKey() bool`
|
||||
|
||||
HasKey returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *DtoUpdateTaintRequest) HasValue() bool`
|
||||
|
||||
HasValue 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/HandlersCreateUserKeyRequest.md
Normal file
82
sdk/go/docs/HandlersCreateUserKeyRequest.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# HandlersCreateUserKeyRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ExpiresInHours** | Pointer to **int32** | optional TTL | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersCreateUserKeyRequest
|
||||
|
||||
`func NewHandlersCreateUserKeyRequest() *HandlersCreateUserKeyRequest`
|
||||
|
||||
NewHandlersCreateUserKeyRequest instantiates a new HandlersCreateUserKeyRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersCreateUserKeyRequestWithDefaults
|
||||
|
||||
`func NewHandlersCreateUserKeyRequestWithDefaults() *HandlersCreateUserKeyRequest`
|
||||
|
||||
NewHandlersCreateUserKeyRequestWithDefaults instantiates a new HandlersCreateUserKeyRequest 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
|
||||
|
||||
### GetExpiresInHours
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) GetExpiresInHours() int32`
|
||||
|
||||
GetExpiresInHours returns the ExpiresInHours field if non-nil, zero value otherwise.
|
||||
|
||||
### GetExpiresInHoursOk
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) GetExpiresInHoursOk() (*int32, bool)`
|
||||
|
||||
GetExpiresInHoursOk returns a tuple with the ExpiresInHours field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetExpiresInHours
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) SetExpiresInHours(v int32)`
|
||||
|
||||
SetExpiresInHours sets ExpiresInHours field to given value.
|
||||
|
||||
### HasExpiresInHours
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) HasExpiresInHours() bool`
|
||||
|
||||
HasExpiresInHours returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *HandlersCreateUserKeyRequest) HasName() bool`
|
||||
|
||||
HasName 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)
|
||||
|
||||
|
||||
264
sdk/go/docs/HandlersMeResponse.md
Normal file
264
sdk/go/docs/HandlersMeResponse.md
Normal file
@@ -0,0 +1,264 @@
|
||||
# HandlersMeResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AvatarUrl** | Pointer to **string** | | [optional]
|
||||
**CreatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**DisplayName** | Pointer to **string** | | [optional]
|
||||
**Emails** | Pointer to [**[]ModelsUserEmail**](ModelsUserEmail.md) | | [optional]
|
||||
**Id** | Pointer to **string** | example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 | [optional]
|
||||
**IsDisabled** | Pointer to **bool** | | [optional]
|
||||
**Organizations** | Pointer to [**[]ModelsOrganization**](ModelsOrganization.md) | | [optional]
|
||||
**PrimaryEmail** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **time.Time** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersMeResponse
|
||||
|
||||
`func NewHandlersMeResponse() *HandlersMeResponse`
|
||||
|
||||
NewHandlersMeResponse instantiates a new HandlersMeResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersMeResponseWithDefaults
|
||||
|
||||
`func NewHandlersMeResponseWithDefaults() *HandlersMeResponse`
|
||||
|
||||
NewHandlersMeResponseWithDefaults instantiates a new HandlersMeResponse 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
|
||||
|
||||
### GetAvatarUrl
|
||||
|
||||
`func (o *HandlersMeResponse) GetAvatarUrl() string`
|
||||
|
||||
GetAvatarUrl returns the AvatarUrl field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAvatarUrlOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetAvatarUrlOk() (*string, bool)`
|
||||
|
||||
GetAvatarUrlOk returns a tuple with the AvatarUrl field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAvatarUrl
|
||||
|
||||
`func (o *HandlersMeResponse) SetAvatarUrl(v string)`
|
||||
|
||||
SetAvatarUrl sets AvatarUrl field to given value.
|
||||
|
||||
### HasAvatarUrl
|
||||
|
||||
`func (o *HandlersMeResponse) HasAvatarUrl() bool`
|
||||
|
||||
HasAvatarUrl returns a boolean if a field has been set.
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *HandlersMeResponse) GetCreatedAt() time.Time`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetCreatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *HandlersMeResponse) SetCreatedAt(v time.Time)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *HandlersMeResponse) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetDisplayName
|
||||
|
||||
`func (o *HandlersMeResponse) GetDisplayName() string`
|
||||
|
||||
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisplayNameOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetDisplayNameOk() (*string, bool)`
|
||||
|
||||
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisplayName
|
||||
|
||||
`func (o *HandlersMeResponse) SetDisplayName(v string)`
|
||||
|
||||
SetDisplayName sets DisplayName field to given value.
|
||||
|
||||
### HasDisplayName
|
||||
|
||||
`func (o *HandlersMeResponse) HasDisplayName() bool`
|
||||
|
||||
HasDisplayName returns a boolean if a field has been set.
|
||||
|
||||
### GetEmails
|
||||
|
||||
`func (o *HandlersMeResponse) GetEmails() []ModelsUserEmail`
|
||||
|
||||
GetEmails returns the Emails field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailsOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetEmailsOk() (*[]ModelsUserEmail, bool)`
|
||||
|
||||
GetEmailsOk returns a tuple with the Emails field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEmails
|
||||
|
||||
`func (o *HandlersMeResponse) SetEmails(v []ModelsUserEmail)`
|
||||
|
||||
SetEmails sets Emails field to given value.
|
||||
|
||||
### HasEmails
|
||||
|
||||
`func (o *HandlersMeResponse) HasEmails() bool`
|
||||
|
||||
HasEmails returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *HandlersMeResponse) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *HandlersMeResponse) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *HandlersMeResponse) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetIsDisabled
|
||||
|
||||
`func (o *HandlersMeResponse) GetIsDisabled() bool`
|
||||
|
||||
GetIsDisabled returns the IsDisabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIsDisabledOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetIsDisabledOk() (*bool, bool)`
|
||||
|
||||
GetIsDisabledOk returns a tuple with the IsDisabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIsDisabled
|
||||
|
||||
`func (o *HandlersMeResponse) SetIsDisabled(v bool)`
|
||||
|
||||
SetIsDisabled sets IsDisabled field to given value.
|
||||
|
||||
### HasIsDisabled
|
||||
|
||||
`func (o *HandlersMeResponse) HasIsDisabled() bool`
|
||||
|
||||
HasIsDisabled returns a boolean if a field has been set.
|
||||
|
||||
### GetOrganizations
|
||||
|
||||
`func (o *HandlersMeResponse) GetOrganizations() []ModelsOrganization`
|
||||
|
||||
GetOrganizations returns the Organizations field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrganizationsOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetOrganizationsOk() (*[]ModelsOrganization, bool)`
|
||||
|
||||
GetOrganizationsOk returns a tuple with the Organizations field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrganizations
|
||||
|
||||
`func (o *HandlersMeResponse) SetOrganizations(v []ModelsOrganization)`
|
||||
|
||||
SetOrganizations sets Organizations field to given value.
|
||||
|
||||
### HasOrganizations
|
||||
|
||||
`func (o *HandlersMeResponse) HasOrganizations() bool`
|
||||
|
||||
HasOrganizations returns a boolean if a field has been set.
|
||||
|
||||
### GetPrimaryEmail
|
||||
|
||||
`func (o *HandlersMeResponse) GetPrimaryEmail() string`
|
||||
|
||||
GetPrimaryEmail returns the PrimaryEmail field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrimaryEmailOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetPrimaryEmailOk() (*string, bool)`
|
||||
|
||||
GetPrimaryEmailOk returns a tuple with the PrimaryEmail field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrimaryEmail
|
||||
|
||||
`func (o *HandlersMeResponse) SetPrimaryEmail(v string)`
|
||||
|
||||
SetPrimaryEmail sets PrimaryEmail field to given value.
|
||||
|
||||
### HasPrimaryEmail
|
||||
|
||||
`func (o *HandlersMeResponse) HasPrimaryEmail() bool`
|
||||
|
||||
HasPrimaryEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *HandlersMeResponse) GetUpdatedAt() time.Time`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *HandlersMeResponse) GetUpdatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *HandlersMeResponse) SetUpdatedAt(v time.Time)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *HandlersMeResponse) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt 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)
|
||||
|
||||
|
||||
108
sdk/go/docs/HandlersMemberOut.md
Normal file
108
sdk/go/docs/HandlersMemberOut.md
Normal file
@@ -0,0 +1,108 @@
|
||||
# HandlersMemberOut
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Email** | Pointer to **string** | | [optional]
|
||||
**Role** | Pointer to **string** | owner/admin/member | [optional]
|
||||
**UserId** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersMemberOut
|
||||
|
||||
`func NewHandlersMemberOut() *HandlersMemberOut`
|
||||
|
||||
NewHandlersMemberOut instantiates a new HandlersMemberOut object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersMemberOutWithDefaults
|
||||
|
||||
`func NewHandlersMemberOutWithDefaults() *HandlersMemberOut`
|
||||
|
||||
NewHandlersMemberOutWithDefaults instantiates a new HandlersMemberOut 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
|
||||
|
||||
### GetEmail
|
||||
|
||||
`func (o *HandlersMemberOut) GetEmail() string`
|
||||
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *HandlersMemberOut) GetEmailOk() (*string, bool)`
|
||||
|
||||
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEmail
|
||||
|
||||
`func (o *HandlersMemberOut) SetEmail(v string)`
|
||||
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasEmail
|
||||
|
||||
`func (o *HandlersMemberOut) HasEmail() bool`
|
||||
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetRole
|
||||
|
||||
`func (o *HandlersMemberOut) GetRole() string`
|
||||
|
||||
GetRole returns the Role field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRoleOk
|
||||
|
||||
`func (o *HandlersMemberOut) GetRoleOk() (*string, bool)`
|
||||
|
||||
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRole
|
||||
|
||||
`func (o *HandlersMemberOut) SetRole(v string)`
|
||||
|
||||
SetRole sets Role field to given value.
|
||||
|
||||
### HasRole
|
||||
|
||||
`func (o *HandlersMemberOut) HasRole() bool`
|
||||
|
||||
HasRole returns a boolean if a field has been set.
|
||||
|
||||
### GetUserId
|
||||
|
||||
`func (o *HandlersMemberOut) GetUserId() string`
|
||||
|
||||
GetUserId returns the UserId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUserIdOk
|
||||
|
||||
`func (o *HandlersMemberOut) GetUserIdOk() (*string, bool)`
|
||||
|
||||
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUserId
|
||||
|
||||
`func (o *HandlersMemberOut) SetUserId(v string)`
|
||||
|
||||
SetUserId sets UserId field to given value.
|
||||
|
||||
### HasUserId
|
||||
|
||||
`func (o *HandlersMemberOut) HasUserId() bool`
|
||||
|
||||
HasUserId 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/HandlersMemberUpsertReq.md
Normal file
82
sdk/go/docs/HandlersMemberUpsertReq.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# HandlersMemberUpsertReq
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Role** | Pointer to **string** | | [optional]
|
||||
**UserId** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersMemberUpsertReq
|
||||
|
||||
`func NewHandlersMemberUpsertReq() *HandlersMemberUpsertReq`
|
||||
|
||||
NewHandlersMemberUpsertReq instantiates a new HandlersMemberUpsertReq object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersMemberUpsertReqWithDefaults
|
||||
|
||||
`func NewHandlersMemberUpsertReqWithDefaults() *HandlersMemberUpsertReq`
|
||||
|
||||
NewHandlersMemberUpsertReqWithDefaults instantiates a new HandlersMemberUpsertReq 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
|
||||
|
||||
### GetRole
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) GetRole() string`
|
||||
|
||||
GetRole returns the Role field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRoleOk
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) GetRoleOk() (*string, bool)`
|
||||
|
||||
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRole
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) SetRole(v string)`
|
||||
|
||||
SetRole sets Role field to given value.
|
||||
|
||||
### HasRole
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) HasRole() bool`
|
||||
|
||||
HasRole returns a boolean if a field has been set.
|
||||
|
||||
### GetUserId
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) GetUserId() string`
|
||||
|
||||
GetUserId returns the UserId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUserIdOk
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) GetUserIdOk() (*string, bool)`
|
||||
|
||||
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUserId
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) SetUserId(v string)`
|
||||
|
||||
SetUserId sets UserId field to given value.
|
||||
|
||||
### HasUserId
|
||||
|
||||
`func (o *HandlersMemberUpsertReq) HasUserId() bool`
|
||||
|
||||
HasUserId 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/HandlersOrgCreateReq.md
Normal file
82
sdk/go/docs/HandlersOrgCreateReq.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# HandlersOrgCreateReq
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Domain** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersOrgCreateReq
|
||||
|
||||
`func NewHandlersOrgCreateReq() *HandlersOrgCreateReq`
|
||||
|
||||
NewHandlersOrgCreateReq instantiates a new HandlersOrgCreateReq object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersOrgCreateReqWithDefaults
|
||||
|
||||
`func NewHandlersOrgCreateReqWithDefaults() *HandlersOrgCreateReq`
|
||||
|
||||
NewHandlersOrgCreateReqWithDefaults instantiates a new HandlersOrgCreateReq 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
|
||||
|
||||
### GetDomain
|
||||
|
||||
`func (o *HandlersOrgCreateReq) GetDomain() string`
|
||||
|
||||
GetDomain returns the Domain field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDomainOk
|
||||
|
||||
`func (o *HandlersOrgCreateReq) GetDomainOk() (*string, bool)`
|
||||
|
||||
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDomain
|
||||
|
||||
`func (o *HandlersOrgCreateReq) SetDomain(v string)`
|
||||
|
||||
SetDomain sets Domain field to given value.
|
||||
|
||||
### HasDomain
|
||||
|
||||
`func (o *HandlersOrgCreateReq) HasDomain() bool`
|
||||
|
||||
HasDomain returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *HandlersOrgCreateReq) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *HandlersOrgCreateReq) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *HandlersOrgCreateReq) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *HandlersOrgCreateReq) HasName() bool`
|
||||
|
||||
HasName 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/HandlersOrgKeyCreateReq.md
Normal file
82
sdk/go/docs/HandlersOrgKeyCreateReq.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# HandlersOrgKeyCreateReq
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ExpiresInHours** | Pointer to **int32** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersOrgKeyCreateReq
|
||||
|
||||
`func NewHandlersOrgKeyCreateReq() *HandlersOrgKeyCreateReq`
|
||||
|
||||
NewHandlersOrgKeyCreateReq instantiates a new HandlersOrgKeyCreateReq object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersOrgKeyCreateReqWithDefaults
|
||||
|
||||
`func NewHandlersOrgKeyCreateReqWithDefaults() *HandlersOrgKeyCreateReq`
|
||||
|
||||
NewHandlersOrgKeyCreateReqWithDefaults instantiates a new HandlersOrgKeyCreateReq 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
|
||||
|
||||
### GetExpiresInHours
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) GetExpiresInHours() int32`
|
||||
|
||||
GetExpiresInHours returns the ExpiresInHours field if non-nil, zero value otherwise.
|
||||
|
||||
### GetExpiresInHoursOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) GetExpiresInHoursOk() (*int32, bool)`
|
||||
|
||||
GetExpiresInHoursOk returns a tuple with the ExpiresInHours field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetExpiresInHours
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) SetExpiresInHours(v int32)`
|
||||
|
||||
SetExpiresInHours sets ExpiresInHours field to given value.
|
||||
|
||||
### HasExpiresInHours
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) HasExpiresInHours() bool`
|
||||
|
||||
HasExpiresInHours returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *HandlersOrgKeyCreateReq) HasName() bool`
|
||||
|
||||
HasName 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/HandlersOrgKeyCreateResp.md
Normal file
212
sdk/go/docs/HandlersOrgKeyCreateResp.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# HandlersOrgKeyCreateResp
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **string** | | [optional]
|
||||
**ExpiresAt** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**OrgKey** | Pointer to **string** | shown once: | [optional]
|
||||
**OrgSecret** | Pointer to **string** | shown once: | [optional]
|
||||
**Scope** | Pointer to **string** | \"org\" | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersOrgKeyCreateResp
|
||||
|
||||
`func NewHandlersOrgKeyCreateResp() *HandlersOrgKeyCreateResp`
|
||||
|
||||
NewHandlersOrgKeyCreateResp instantiates a new HandlersOrgKeyCreateResp object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersOrgKeyCreateRespWithDefaults
|
||||
|
||||
`func NewHandlersOrgKeyCreateRespWithDefaults() *HandlersOrgKeyCreateResp`
|
||||
|
||||
NewHandlersOrgKeyCreateRespWithDefaults instantiates a new HandlersOrgKeyCreateResp 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetCreatedAt() string`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetCreatedAtOk() (*string, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetCreatedAt(v string)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetExpiresAt
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetExpiresAt() string`
|
||||
|
||||
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetExpiresAtOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetExpiresAtOk() (*string, bool)`
|
||||
|
||||
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetExpiresAt
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetExpiresAt(v string)`
|
||||
|
||||
SetExpiresAt sets ExpiresAt field to given value.
|
||||
|
||||
### HasExpiresAt
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasExpiresAt() bool`
|
||||
|
||||
HasExpiresAt returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetOrgKey
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetOrgKey() string`
|
||||
|
||||
GetOrgKey returns the OrgKey field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrgKeyOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetOrgKeyOk() (*string, bool)`
|
||||
|
||||
GetOrgKeyOk returns a tuple with the OrgKey field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrgKey
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetOrgKey(v string)`
|
||||
|
||||
SetOrgKey sets OrgKey field to given value.
|
||||
|
||||
### HasOrgKey
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasOrgKey() bool`
|
||||
|
||||
HasOrgKey returns a boolean if a field has been set.
|
||||
|
||||
### GetOrgSecret
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetOrgSecret() string`
|
||||
|
||||
GetOrgSecret returns the OrgSecret field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrgSecretOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetOrgSecretOk() (*string, bool)`
|
||||
|
||||
GetOrgSecretOk returns a tuple with the OrgSecret field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrgSecret
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetOrgSecret(v string)`
|
||||
|
||||
SetOrgSecret sets OrgSecret field to given value.
|
||||
|
||||
### HasOrgSecret
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasOrgSecret() bool`
|
||||
|
||||
HasOrgSecret returns a boolean if a field has been set.
|
||||
|
||||
### GetScope
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetScope() string`
|
||||
|
||||
GetScope returns the Scope field if non-nil, zero value otherwise.
|
||||
|
||||
### GetScopeOk
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) GetScopeOk() (*string, bool)`
|
||||
|
||||
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetScope
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) SetScope(v string)`
|
||||
|
||||
SetScope sets Scope field to given value.
|
||||
|
||||
### HasScope
|
||||
|
||||
`func (o *HandlersOrgKeyCreateResp) HasScope() bool`
|
||||
|
||||
HasScope 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)
|
||||
|
||||
|
||||
82
sdk/go/docs/HandlersOrgUpdateReq.md
Normal file
82
sdk/go/docs/HandlersOrgUpdateReq.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# HandlersOrgUpdateReq
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Domain** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersOrgUpdateReq
|
||||
|
||||
`func NewHandlersOrgUpdateReq() *HandlersOrgUpdateReq`
|
||||
|
||||
NewHandlersOrgUpdateReq instantiates a new HandlersOrgUpdateReq object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersOrgUpdateReqWithDefaults
|
||||
|
||||
`func NewHandlersOrgUpdateReqWithDefaults() *HandlersOrgUpdateReq`
|
||||
|
||||
NewHandlersOrgUpdateReqWithDefaults instantiates a new HandlersOrgUpdateReq 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
|
||||
|
||||
### GetDomain
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) GetDomain() string`
|
||||
|
||||
GetDomain returns the Domain field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDomainOk
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) GetDomainOk() (*string, bool)`
|
||||
|
||||
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDomain
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) SetDomain(v string)`
|
||||
|
||||
SetDomain sets Domain field to given value.
|
||||
|
||||
### HasDomain
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) HasDomain() bool`
|
||||
|
||||
HasDomain returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *HandlersOrgUpdateReq) HasName() bool`
|
||||
|
||||
HasName 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)
|
||||
|
||||
|
||||
56
sdk/go/docs/HandlersUpdateMeRequest.md
Normal file
56
sdk/go/docs/HandlersUpdateMeRequest.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# HandlersUpdateMeRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**DisplayName** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersUpdateMeRequest
|
||||
|
||||
`func NewHandlersUpdateMeRequest() *HandlersUpdateMeRequest`
|
||||
|
||||
NewHandlersUpdateMeRequest instantiates a new HandlersUpdateMeRequest object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersUpdateMeRequestWithDefaults
|
||||
|
||||
`func NewHandlersUpdateMeRequestWithDefaults() *HandlersUpdateMeRequest`
|
||||
|
||||
NewHandlersUpdateMeRequestWithDefaults instantiates a new HandlersUpdateMeRequest 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
|
||||
|
||||
### GetDisplayName
|
||||
|
||||
`func (o *HandlersUpdateMeRequest) GetDisplayName() string`
|
||||
|
||||
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisplayNameOk
|
||||
|
||||
`func (o *HandlersUpdateMeRequest) GetDisplayNameOk() (*string, bool)`
|
||||
|
||||
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisplayName
|
||||
|
||||
`func (o *HandlersUpdateMeRequest) SetDisplayName(v string)`
|
||||
|
||||
SetDisplayName sets DisplayName field to given value.
|
||||
|
||||
### HasDisplayName
|
||||
|
||||
`func (o *HandlersUpdateMeRequest) HasDisplayName() bool`
|
||||
|
||||
HasDisplayName 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/HandlersUserAPIKeyOut.md
Normal file
212
sdk/go/docs/HandlersUserAPIKeyOut.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# HandlersUserAPIKeyOut
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **string** | | [optional]
|
||||
**ExpiresAt** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**LastUsedAt** | Pointer to **string** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**Plain** | Pointer to **string** | Shown only on create: | [optional]
|
||||
**Scope** | Pointer to **string** | \"user\" | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewHandlersUserAPIKeyOut
|
||||
|
||||
`func NewHandlersUserAPIKeyOut() *HandlersUserAPIKeyOut`
|
||||
|
||||
NewHandlersUserAPIKeyOut instantiates a new HandlersUserAPIKeyOut object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewHandlersUserAPIKeyOutWithDefaults
|
||||
|
||||
`func NewHandlersUserAPIKeyOutWithDefaults() *HandlersUserAPIKeyOut`
|
||||
|
||||
NewHandlersUserAPIKeyOutWithDefaults instantiates a new HandlersUserAPIKeyOut 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetCreatedAt() string`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetCreatedAtOk() (*string, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetCreatedAt(v string)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetExpiresAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetExpiresAt() string`
|
||||
|
||||
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetExpiresAtOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetExpiresAtOk() (*string, bool)`
|
||||
|
||||
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetExpiresAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetExpiresAt(v string)`
|
||||
|
||||
SetExpiresAt sets ExpiresAt field to given value.
|
||||
|
||||
### HasExpiresAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasExpiresAt() bool`
|
||||
|
||||
HasExpiresAt returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetLastUsedAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetLastUsedAt() string`
|
||||
|
||||
GetLastUsedAt returns the LastUsedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLastUsedAtOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetLastUsedAtOk() (*string, bool)`
|
||||
|
||||
GetLastUsedAtOk returns a tuple with the LastUsedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetLastUsedAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetLastUsedAt(v string)`
|
||||
|
||||
SetLastUsedAt sets LastUsedAt field to given value.
|
||||
|
||||
### HasLastUsedAt
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasLastUsedAt() bool`
|
||||
|
||||
HasLastUsedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetPlain
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetPlain() string`
|
||||
|
||||
GetPlain returns the Plain field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPlainOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetPlainOk() (*string, bool)`
|
||||
|
||||
GetPlainOk returns a tuple with the Plain field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPlain
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetPlain(v string)`
|
||||
|
||||
SetPlain sets Plain field to given value.
|
||||
|
||||
### HasPlain
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasPlain() bool`
|
||||
|
||||
HasPlain returns a boolean if a field has been set.
|
||||
|
||||
### GetScope
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetScope() string`
|
||||
|
||||
GetScope returns the Scope field if non-nil, zero value otherwise.
|
||||
|
||||
### GetScopeOk
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) GetScopeOk() (*string, bool)`
|
||||
|
||||
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetScope
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) SetScope(v string)`
|
||||
|
||||
SetScope sets Scope field to given value.
|
||||
|
||||
### HasScope
|
||||
|
||||
`func (o *HandlersUserAPIKeyOut) HasScope() bool`
|
||||
|
||||
HasScope 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)
|
||||
|
||||
|
||||
371
sdk/go/docs/LabelsAPI.md
Normal file
371
sdk/go/docs/LabelsAPI.md
Normal file
@@ -0,0 +1,371 @@
|
||||
# \LabelsAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateLabel**](LabelsAPI.md#CreateLabel) | **Post** /labels | Create label (org scoped)
|
||||
[**DeleteLabel**](LabelsAPI.md#DeleteLabel) | **Delete** /labels/{id} | Delete label (org scoped)
|
||||
[**GetLabel**](LabelsAPI.md#GetLabel) | **Get** /labels/{id} | Get label by ID (org scoped)
|
||||
[**ListLabels**](LabelsAPI.md#ListLabels) | **Get** /labels | List node labels (org scoped)
|
||||
[**UpdateLabel**](LabelsAPI.md#UpdateLabel) | **Patch** /labels/{id} | Update label (org scoped)
|
||||
|
||||
|
||||
|
||||
## CreateLabel
|
||||
|
||||
> DtoLabelResponse CreateLabel(ctx).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Create label (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewDtoCreateLabelRequest() // DtoCreateLabelRequest | Label payload
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.LabelsAPI.CreateLabel(context.Background()).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LabelsAPI.CreateLabel``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateLabel`: DtoLabelResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `LabelsAPI.CreateLabel`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateLabelRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**DtoCreateLabelRequest**](DtoCreateLabelRequest.md) | Label payload |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoLabelResponse**](DtoLabelResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteLabel
|
||||
|
||||
> string DeleteLabel(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Delete label (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Label ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.LabelsAPI.DeleteLabel(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LabelsAPI.DeleteLabel``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteLabel`: string
|
||||
fmt.Fprintf(os.Stdout, "Response from `LabelsAPI.DeleteLabel`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Label ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteLabelRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
**string**
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetLabel
|
||||
|
||||
> DtoLabelResponse GetLabel(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Get label by ID (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Label ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.LabelsAPI.GetLabel(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LabelsAPI.GetLabel``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetLabel`: DtoLabelResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `LabelsAPI.GetLabel`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Label ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetLabelRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoLabelResponse**](DtoLabelResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListLabels
|
||||
|
||||
> []DtoLabelResponse ListLabels(ctx).XOrgID(xOrgID).Key(key).Value(value).Q(q).Execute()
|
||||
|
||||
List node labels (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
key := "key_example" // string | Exact key (optional)
|
||||
value := "value_example" // string | Exact value (optional)
|
||||
q := "q_example" // string | Key contains (case-insensitive) (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.LabelsAPI.ListLabels(context.Background()).XOrgID(xOrgID).Key(key).Value(value).Q(q).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LabelsAPI.ListLabels``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListLabels`: []DtoLabelResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `LabelsAPI.ListLabels`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListLabelsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
**key** | **string** | Exact key |
|
||||
**value** | **string** | Exact value |
|
||||
**q** | **string** | Key contains (case-insensitive) |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]DtoLabelResponse**](DtoLabelResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UpdateLabel
|
||||
|
||||
> DtoLabelResponse UpdateLabel(ctx, id).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Update label (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Label ID (UUID)
|
||||
body := *openapiclient.NewDtoUpdateLabelRequest() // DtoUpdateLabelRequest | Fields to update
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.LabelsAPI.UpdateLabel(context.Background(), id).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LabelsAPI.UpdateLabel``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateLabel`: DtoLabelResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `LabelsAPI.UpdateLabel`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Label ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateLabelRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**body** | [**DtoUpdateLabelRequest**](DtoUpdateLabelRequest.md) | Fields to update |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoLabelResponse**](DtoLabelResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
133
sdk/go/docs/MeAPI.md
Normal file
133
sdk/go/docs/MeAPI.md
Normal file
@@ -0,0 +1,133 @@
|
||||
# \MeAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**GetMe**](MeAPI.md#GetMe) | **Get** /me | Get current user profile
|
||||
[**UpdateMe**](MeAPI.md#UpdateMe) | **Patch** /me | Update current user profile
|
||||
|
||||
|
||||
|
||||
## GetMe
|
||||
|
||||
> HandlersMeResponse GetMe(ctx).Execute()
|
||||
|
||||
Get current user profile
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.MeAPI.GetMe(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MeAPI.GetMe``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetMe`: HandlersMeResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `MeAPI.GetMe`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetMeRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**HandlersMeResponse**](HandlersMeResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UpdateMe
|
||||
|
||||
> ModelsUser UpdateMe(ctx).Body(body).Execute()
|
||||
|
||||
Update current user profile
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewHandlersUpdateMeRequest() // HandlersUpdateMeRequest | Patch profile
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.MeAPI.UpdateMe(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MeAPI.UpdateMe``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateMe`: ModelsUser
|
||||
fmt.Fprintf(os.Stdout, "Response from `MeAPI.UpdateMe`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateMeRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**HandlersUpdateMeRequest**](HandlersUpdateMeRequest.md) | Patch profile |
|
||||
|
||||
### Return type
|
||||
|
||||
[**ModelsUser**](ModelsUser.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
202
sdk/go/docs/MeAPIKeysAPI.md
Normal file
202
sdk/go/docs/MeAPIKeysAPI.md
Normal file
@@ -0,0 +1,202 @@
|
||||
# \MeAPIKeysAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateUserAPIKey**](MeAPIKeysAPI.md#CreateUserAPIKey) | **Post** /me/api-keys | Create a new user API key
|
||||
[**DeleteUserAPIKey**](MeAPIKeysAPI.md#DeleteUserAPIKey) | **Delete** /me/api-keys/{id} | Delete a user API key
|
||||
[**ListUserAPIKeys**](MeAPIKeysAPI.md#ListUserAPIKeys) | **Get** /me/api-keys | List my API keys
|
||||
|
||||
|
||||
|
||||
## CreateUserAPIKey
|
||||
|
||||
> HandlersUserAPIKeyOut CreateUserAPIKey(ctx).Body(body).Execute()
|
||||
|
||||
Create a new user API key
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewHandlersCreateUserKeyRequest() // HandlersCreateUserKeyRequest | Key options
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.MeAPIKeysAPI.CreateUserAPIKey(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MeAPIKeysAPI.CreateUserAPIKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateUserAPIKey`: HandlersUserAPIKeyOut
|
||||
fmt.Fprintf(os.Stdout, "Response from `MeAPIKeysAPI.CreateUserAPIKey`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateUserAPIKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**HandlersCreateUserKeyRequest**](HandlersCreateUserKeyRequest.md) | Key options |
|
||||
|
||||
### Return type
|
||||
|
||||
[**HandlersUserAPIKeyOut**](HandlersUserAPIKeyOut.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteUserAPIKey
|
||||
|
||||
> DeleteUserAPIKey(ctx, id).Execute()
|
||||
|
||||
Delete a user API key
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Key ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.MeAPIKeysAPI.DeleteUserAPIKey(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MeAPIKeysAPI.DeleteUserAPIKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Key ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteUserAPIKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListUserAPIKeys
|
||||
|
||||
> []HandlersUserAPIKeyOut ListUserAPIKeys(ctx).Execute()
|
||||
|
||||
List my API keys
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.MeAPIKeysAPI.ListUserAPIKeys(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MeAPIKeysAPI.ListUserAPIKeys``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListUserAPIKeys`: []HandlersUserAPIKeyOut
|
||||
fmt.Fprintf(os.Stdout, "Response from `MeAPIKeysAPI.ListUserAPIKeys`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListUserAPIKeysRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]HandlersUserAPIKeyOut**](HandlersUserAPIKeyOut.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
316
sdk/go/docs/ModelsAPIKey.md
Normal file
316
sdk/go/docs/ModelsAPIKey.md
Normal file
@@ -0,0 +1,316 @@
|
||||
# ModelsAPIKey
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**ExpiresAt** | Pointer to **time.Time** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**LastUsedAt** | Pointer to **time.Time** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**OrgId** | Pointer to **string** | | [optional]
|
||||
**Prefix** | Pointer to **string** | | [optional]
|
||||
**Revoked** | Pointer to **bool** | | [optional]
|
||||
**Scope** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**UserId** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewModelsAPIKey
|
||||
|
||||
`func NewModelsAPIKey() *ModelsAPIKey`
|
||||
|
||||
NewModelsAPIKey instantiates a new ModelsAPIKey object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewModelsAPIKeyWithDefaults
|
||||
|
||||
`func NewModelsAPIKeyWithDefaults() *ModelsAPIKey`
|
||||
|
||||
NewModelsAPIKeyWithDefaults instantiates a new ModelsAPIKey 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *ModelsAPIKey) GetCreatedAt() time.Time`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetCreatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *ModelsAPIKey) SetCreatedAt(v time.Time)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *ModelsAPIKey) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetExpiresAt
|
||||
|
||||
`func (o *ModelsAPIKey) GetExpiresAt() time.Time`
|
||||
|
||||
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetExpiresAtOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetExpiresAtOk() (*time.Time, bool)`
|
||||
|
||||
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetExpiresAt
|
||||
|
||||
`func (o *ModelsAPIKey) SetExpiresAt(v time.Time)`
|
||||
|
||||
SetExpiresAt sets ExpiresAt field to given value.
|
||||
|
||||
### HasExpiresAt
|
||||
|
||||
`func (o *ModelsAPIKey) HasExpiresAt() bool`
|
||||
|
||||
HasExpiresAt returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ModelsAPIKey) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *ModelsAPIKey) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ModelsAPIKey) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetLastUsedAt
|
||||
|
||||
`func (o *ModelsAPIKey) GetLastUsedAt() time.Time`
|
||||
|
||||
GetLastUsedAt returns the LastUsedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLastUsedAtOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetLastUsedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetLastUsedAtOk returns a tuple with the LastUsedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetLastUsedAt
|
||||
|
||||
`func (o *ModelsAPIKey) SetLastUsedAt(v time.Time)`
|
||||
|
||||
SetLastUsedAt sets LastUsedAt field to given value.
|
||||
|
||||
### HasLastUsedAt
|
||||
|
||||
`func (o *ModelsAPIKey) HasLastUsedAt() bool`
|
||||
|
||||
HasLastUsedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ModelsAPIKey) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *ModelsAPIKey) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ModelsAPIKey) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetOrgId
|
||||
|
||||
`func (o *ModelsAPIKey) GetOrgId() string`
|
||||
|
||||
GetOrgId returns the OrgId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOrgIdOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetOrgIdOk() (*string, bool)`
|
||||
|
||||
GetOrgIdOk returns a tuple with the OrgId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOrgId
|
||||
|
||||
`func (o *ModelsAPIKey) SetOrgId(v string)`
|
||||
|
||||
SetOrgId sets OrgId field to given value.
|
||||
|
||||
### HasOrgId
|
||||
|
||||
`func (o *ModelsAPIKey) HasOrgId() bool`
|
||||
|
||||
HasOrgId returns a boolean if a field has been set.
|
||||
|
||||
### GetPrefix
|
||||
|
||||
`func (o *ModelsAPIKey) GetPrefix() string`
|
||||
|
||||
GetPrefix returns the Prefix field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrefixOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetPrefixOk() (*string, bool)`
|
||||
|
||||
GetPrefixOk returns a tuple with the Prefix field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrefix
|
||||
|
||||
`func (o *ModelsAPIKey) SetPrefix(v string)`
|
||||
|
||||
SetPrefix sets Prefix field to given value.
|
||||
|
||||
### HasPrefix
|
||||
|
||||
`func (o *ModelsAPIKey) HasPrefix() bool`
|
||||
|
||||
HasPrefix returns a boolean if a field has been set.
|
||||
|
||||
### GetRevoked
|
||||
|
||||
`func (o *ModelsAPIKey) GetRevoked() bool`
|
||||
|
||||
GetRevoked returns the Revoked field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRevokedOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetRevokedOk() (*bool, bool)`
|
||||
|
||||
GetRevokedOk returns a tuple with the Revoked field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRevoked
|
||||
|
||||
`func (o *ModelsAPIKey) SetRevoked(v bool)`
|
||||
|
||||
SetRevoked sets Revoked field to given value.
|
||||
|
||||
### HasRevoked
|
||||
|
||||
`func (o *ModelsAPIKey) HasRevoked() bool`
|
||||
|
||||
HasRevoked returns a boolean if a field has been set.
|
||||
|
||||
### GetScope
|
||||
|
||||
`func (o *ModelsAPIKey) GetScope() string`
|
||||
|
||||
GetScope returns the Scope field if non-nil, zero value otherwise.
|
||||
|
||||
### GetScopeOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetScopeOk() (*string, bool)`
|
||||
|
||||
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetScope
|
||||
|
||||
`func (o *ModelsAPIKey) SetScope(v string)`
|
||||
|
||||
SetScope sets Scope field to given value.
|
||||
|
||||
### HasScope
|
||||
|
||||
`func (o *ModelsAPIKey) HasScope() bool`
|
||||
|
||||
HasScope returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *ModelsAPIKey) GetUpdatedAt() time.Time`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetUpdatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *ModelsAPIKey) SetUpdatedAt(v time.Time)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *ModelsAPIKey) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetUserId
|
||||
|
||||
`func (o *ModelsAPIKey) GetUserId() string`
|
||||
|
||||
GetUserId returns the UserId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUserIdOk
|
||||
|
||||
`func (o *ModelsAPIKey) GetUserIdOk() (*string, bool)`
|
||||
|
||||
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUserId
|
||||
|
||||
`func (o *ModelsAPIKey) SetUserId(v string)`
|
||||
|
||||
SetUserId sets UserId field to given value.
|
||||
|
||||
### HasUserId
|
||||
|
||||
`func (o *ModelsAPIKey) HasUserId() bool`
|
||||
|
||||
HasUserId 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)
|
||||
|
||||
|
||||
160
sdk/go/docs/ModelsOrganization.md
Normal file
160
sdk/go/docs/ModelsOrganization.md
Normal file
@@ -0,0 +1,160 @@
|
||||
# ModelsOrganization
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**Domain** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **time.Time** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewModelsOrganization
|
||||
|
||||
`func NewModelsOrganization() *ModelsOrganization`
|
||||
|
||||
NewModelsOrganization instantiates a new ModelsOrganization object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewModelsOrganizationWithDefaults
|
||||
|
||||
`func NewModelsOrganizationWithDefaults() *ModelsOrganization`
|
||||
|
||||
NewModelsOrganizationWithDefaults instantiates a new ModelsOrganization 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *ModelsOrganization) GetCreatedAt() time.Time`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *ModelsOrganization) GetCreatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *ModelsOrganization) SetCreatedAt(v time.Time)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *ModelsOrganization) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetDomain
|
||||
|
||||
`func (o *ModelsOrganization) GetDomain() string`
|
||||
|
||||
GetDomain returns the Domain field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDomainOk
|
||||
|
||||
`func (o *ModelsOrganization) GetDomainOk() (*string, bool)`
|
||||
|
||||
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDomain
|
||||
|
||||
`func (o *ModelsOrganization) SetDomain(v string)`
|
||||
|
||||
SetDomain sets Domain field to given value.
|
||||
|
||||
### HasDomain
|
||||
|
||||
`func (o *ModelsOrganization) HasDomain() bool`
|
||||
|
||||
HasDomain returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ModelsOrganization) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ModelsOrganization) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *ModelsOrganization) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ModelsOrganization) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ModelsOrganization) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ModelsOrganization) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *ModelsOrganization) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ModelsOrganization) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *ModelsOrganization) GetUpdatedAt() time.Time`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *ModelsOrganization) GetUpdatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *ModelsOrganization) SetUpdatedAt(v time.Time)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *ModelsOrganization) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt 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)
|
||||
|
||||
|
||||
212
sdk/go/docs/ModelsUser.md
Normal file
212
sdk/go/docs/ModelsUser.md
Normal file
@@ -0,0 +1,212 @@
|
||||
# ModelsUser
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AvatarUrl** | Pointer to **string** | | [optional]
|
||||
**CreatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**DisplayName** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 | [optional]
|
||||
**IsDisabled** | Pointer to **bool** | | [optional]
|
||||
**PrimaryEmail** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **time.Time** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewModelsUser
|
||||
|
||||
`func NewModelsUser() *ModelsUser`
|
||||
|
||||
NewModelsUser instantiates a new ModelsUser object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewModelsUserWithDefaults
|
||||
|
||||
`func NewModelsUserWithDefaults() *ModelsUser`
|
||||
|
||||
NewModelsUserWithDefaults instantiates a new ModelsUser 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
|
||||
|
||||
### GetAvatarUrl
|
||||
|
||||
`func (o *ModelsUser) GetAvatarUrl() string`
|
||||
|
||||
GetAvatarUrl returns the AvatarUrl field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAvatarUrlOk
|
||||
|
||||
`func (o *ModelsUser) GetAvatarUrlOk() (*string, bool)`
|
||||
|
||||
GetAvatarUrlOk returns a tuple with the AvatarUrl field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAvatarUrl
|
||||
|
||||
`func (o *ModelsUser) SetAvatarUrl(v string)`
|
||||
|
||||
SetAvatarUrl sets AvatarUrl field to given value.
|
||||
|
||||
### HasAvatarUrl
|
||||
|
||||
`func (o *ModelsUser) HasAvatarUrl() bool`
|
||||
|
||||
HasAvatarUrl returns a boolean if a field has been set.
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *ModelsUser) GetCreatedAt() time.Time`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *ModelsUser) GetCreatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *ModelsUser) SetCreatedAt(v time.Time)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *ModelsUser) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetDisplayName
|
||||
|
||||
`func (o *ModelsUser) GetDisplayName() string`
|
||||
|
||||
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisplayNameOk
|
||||
|
||||
`func (o *ModelsUser) GetDisplayNameOk() (*string, bool)`
|
||||
|
||||
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisplayName
|
||||
|
||||
`func (o *ModelsUser) SetDisplayName(v string)`
|
||||
|
||||
SetDisplayName sets DisplayName field to given value.
|
||||
|
||||
### HasDisplayName
|
||||
|
||||
`func (o *ModelsUser) HasDisplayName() bool`
|
||||
|
||||
HasDisplayName returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ModelsUser) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ModelsUser) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *ModelsUser) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ModelsUser) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetIsDisabled
|
||||
|
||||
`func (o *ModelsUser) GetIsDisabled() bool`
|
||||
|
||||
GetIsDisabled returns the IsDisabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIsDisabledOk
|
||||
|
||||
`func (o *ModelsUser) GetIsDisabledOk() (*bool, bool)`
|
||||
|
||||
GetIsDisabledOk returns a tuple with the IsDisabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIsDisabled
|
||||
|
||||
`func (o *ModelsUser) SetIsDisabled(v bool)`
|
||||
|
||||
SetIsDisabled sets IsDisabled field to given value.
|
||||
|
||||
### HasIsDisabled
|
||||
|
||||
`func (o *ModelsUser) HasIsDisabled() bool`
|
||||
|
||||
HasIsDisabled returns a boolean if a field has been set.
|
||||
|
||||
### GetPrimaryEmail
|
||||
|
||||
`func (o *ModelsUser) GetPrimaryEmail() string`
|
||||
|
||||
GetPrimaryEmail returns the PrimaryEmail field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPrimaryEmailOk
|
||||
|
||||
`func (o *ModelsUser) GetPrimaryEmailOk() (*string, bool)`
|
||||
|
||||
GetPrimaryEmailOk returns a tuple with the PrimaryEmail field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPrimaryEmail
|
||||
|
||||
`func (o *ModelsUser) SetPrimaryEmail(v string)`
|
||||
|
||||
SetPrimaryEmail sets PrimaryEmail field to given value.
|
||||
|
||||
### HasPrimaryEmail
|
||||
|
||||
`func (o *ModelsUser) HasPrimaryEmail() bool`
|
||||
|
||||
HasPrimaryEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *ModelsUser) GetUpdatedAt() time.Time`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *ModelsUser) GetUpdatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *ModelsUser) SetUpdatedAt(v time.Time)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *ModelsUser) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt 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)
|
||||
|
||||
|
||||
238
sdk/go/docs/ModelsUserEmail.md
Normal file
238
sdk/go/docs/ModelsUserEmail.md
Normal file
@@ -0,0 +1,238 @@
|
||||
# ModelsUserEmail
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CreatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**Email** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | example: 3fa85f64-5717-4562-b3fc-2c963f66afa6 | [optional]
|
||||
**IsPrimary** | Pointer to **bool** | | [optional]
|
||||
**IsVerified** | Pointer to **bool** | | [optional]
|
||||
**UpdatedAt** | Pointer to **time.Time** | | [optional]
|
||||
**User** | Pointer to [**ModelsUser**](ModelsUser.md) | | [optional]
|
||||
**UserId** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewModelsUserEmail
|
||||
|
||||
`func NewModelsUserEmail() *ModelsUserEmail`
|
||||
|
||||
NewModelsUserEmail instantiates a new ModelsUserEmail object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewModelsUserEmailWithDefaults
|
||||
|
||||
`func NewModelsUserEmailWithDefaults() *ModelsUserEmail`
|
||||
|
||||
NewModelsUserEmailWithDefaults instantiates a new ModelsUserEmail 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
|
||||
|
||||
### GetCreatedAt
|
||||
|
||||
`func (o *ModelsUserEmail) GetCreatedAt() time.Time`
|
||||
|
||||
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedAtOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetCreatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedAt
|
||||
|
||||
`func (o *ModelsUserEmail) SetCreatedAt(v time.Time)`
|
||||
|
||||
SetCreatedAt sets CreatedAt field to given value.
|
||||
|
||||
### HasCreatedAt
|
||||
|
||||
`func (o *ModelsUserEmail) HasCreatedAt() bool`
|
||||
|
||||
HasCreatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetEmail
|
||||
|
||||
`func (o *ModelsUserEmail) GetEmail() string`
|
||||
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetEmailOk() (*string, bool)`
|
||||
|
||||
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEmail
|
||||
|
||||
`func (o *ModelsUserEmail) SetEmail(v string)`
|
||||
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasEmail
|
||||
|
||||
`func (o *ModelsUserEmail) HasEmail() bool`
|
||||
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ModelsUserEmail) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetIdOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
|
||||
`func (o *ModelsUserEmail) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ModelsUserEmail) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetIsPrimary
|
||||
|
||||
`func (o *ModelsUserEmail) GetIsPrimary() bool`
|
||||
|
||||
GetIsPrimary returns the IsPrimary field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIsPrimaryOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetIsPrimaryOk() (*bool, bool)`
|
||||
|
||||
GetIsPrimaryOk returns a tuple with the IsPrimary field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIsPrimary
|
||||
|
||||
`func (o *ModelsUserEmail) SetIsPrimary(v bool)`
|
||||
|
||||
SetIsPrimary sets IsPrimary field to given value.
|
||||
|
||||
### HasIsPrimary
|
||||
|
||||
`func (o *ModelsUserEmail) HasIsPrimary() bool`
|
||||
|
||||
HasIsPrimary returns a boolean if a field has been set.
|
||||
|
||||
### GetIsVerified
|
||||
|
||||
`func (o *ModelsUserEmail) GetIsVerified() bool`
|
||||
|
||||
GetIsVerified returns the IsVerified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIsVerifiedOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetIsVerifiedOk() (*bool, bool)`
|
||||
|
||||
GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIsVerified
|
||||
|
||||
`func (o *ModelsUserEmail) SetIsVerified(v bool)`
|
||||
|
||||
SetIsVerified sets IsVerified field to given value.
|
||||
|
||||
### HasIsVerified
|
||||
|
||||
`func (o *ModelsUserEmail) HasIsVerified() bool`
|
||||
|
||||
HasIsVerified returns a boolean if a field has been set.
|
||||
|
||||
### GetUpdatedAt
|
||||
|
||||
`func (o *ModelsUserEmail) GetUpdatedAt() time.Time`
|
||||
|
||||
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUpdatedAtOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetUpdatedAtOk() (*time.Time, bool)`
|
||||
|
||||
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUpdatedAt
|
||||
|
||||
`func (o *ModelsUserEmail) SetUpdatedAt(v time.Time)`
|
||||
|
||||
SetUpdatedAt sets UpdatedAt field to given value.
|
||||
|
||||
### HasUpdatedAt
|
||||
|
||||
`func (o *ModelsUserEmail) HasUpdatedAt() bool`
|
||||
|
||||
HasUpdatedAt returns a boolean if a field has been set.
|
||||
|
||||
### GetUser
|
||||
|
||||
`func (o *ModelsUserEmail) GetUser() ModelsUser`
|
||||
|
||||
GetUser returns the User field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUserOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetUserOk() (*ModelsUser, bool)`
|
||||
|
||||
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUser
|
||||
|
||||
`func (o *ModelsUserEmail) SetUser(v ModelsUser)`
|
||||
|
||||
SetUser sets User field to given value.
|
||||
|
||||
### HasUser
|
||||
|
||||
`func (o *ModelsUserEmail) HasUser() bool`
|
||||
|
||||
HasUser returns a boolean if a field has been set.
|
||||
|
||||
### GetUserId
|
||||
|
||||
`func (o *ModelsUserEmail) GetUserId() string`
|
||||
|
||||
GetUserId returns the UserId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUserIdOk
|
||||
|
||||
`func (o *ModelsUserEmail) GetUserIdOk() (*string, bool)`
|
||||
|
||||
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUserId
|
||||
|
||||
`func (o *ModelsUserEmail) SetUserId(v string)`
|
||||
|
||||
SetUserId sets UserId field to given value.
|
||||
|
||||
### HasUserId
|
||||
|
||||
`func (o *ModelsUserEmail) HasUserId() bool`
|
||||
|
||||
HasUserId 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)
|
||||
|
||||
|
||||
760
sdk/go/docs/OrgsAPI.md
Normal file
760
sdk/go/docs/OrgsAPI.md
Normal file
@@ -0,0 +1,760 @@
|
||||
# \OrgsAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AddOrUpdateMember**](OrgsAPI.md#AddOrUpdateMember) | **Post** /orgs/{id}/members | Add or update a member (owner/admin)
|
||||
[**CreateOrg**](OrgsAPI.md#CreateOrg) | **Post** /orgs | Create organization
|
||||
[**CreateOrgKey**](OrgsAPI.md#CreateOrgKey) | **Post** /orgs/{id}/api-keys | Create org key/secret pair (owner/admin)
|
||||
[**DeleteOrg**](OrgsAPI.md#DeleteOrg) | **Delete** /orgs/{id} | Delete organization (owner)
|
||||
[**DeleteOrgKey**](OrgsAPI.md#DeleteOrgKey) | **Delete** /orgs/{id}/api-keys/{key_id} | Delete org key (owner/admin)
|
||||
[**GetOrg**](OrgsAPI.md#GetOrg) | **Get** /orgs/{id} | Get organization
|
||||
[**ListMembers**](OrgsAPI.md#ListMembers) | **Get** /orgs/{id}/members | List members in org
|
||||
[**ListMyOrgs**](OrgsAPI.md#ListMyOrgs) | **Get** /orgs | List organizations I belong to
|
||||
[**ListOrgKeys**](OrgsAPI.md#ListOrgKeys) | **Get** /orgs/{id}/api-keys | List org-scoped API keys (no secrets)
|
||||
[**RemoveMember**](OrgsAPI.md#RemoveMember) | **Delete** /orgs/{id}/members/{user_id} | Remove a member (owner/admin)
|
||||
[**UpdateOrg**](OrgsAPI.md#UpdateOrg) | **Patch** /orgs/{id} | Update organization (owner/admin)
|
||||
|
||||
|
||||
|
||||
## AddOrUpdateMember
|
||||
|
||||
> HandlersMemberOut AddOrUpdateMember(ctx, id).Body(body).Execute()
|
||||
|
||||
Add or update a member (owner/admin)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
body := *openapiclient.NewHandlersMemberUpsertReq() // HandlersMemberUpsertReq | User & role
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.AddOrUpdateMember(context.Background(), id).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.AddOrUpdateMember``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AddOrUpdateMember`: HandlersMemberOut
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.AddOrUpdateMember`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAddOrUpdateMemberRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**body** | [**HandlersMemberUpsertReq**](HandlersMemberUpsertReq.md) | User & role |
|
||||
|
||||
### Return type
|
||||
|
||||
[**HandlersMemberOut**](HandlersMemberOut.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## CreateOrg
|
||||
|
||||
> ModelsOrganization CreateOrg(ctx).Body(body).Execute()
|
||||
|
||||
Create organization
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewHandlersOrgCreateReq() // HandlersOrgCreateReq | Org payload
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.CreateOrg(context.Background()).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.CreateOrg``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateOrg`: ModelsOrganization
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.CreateOrg`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateOrgRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**HandlersOrgCreateReq**](HandlersOrgCreateReq.md) | Org payload |
|
||||
|
||||
### Return type
|
||||
|
||||
[**ModelsOrganization**](ModelsOrganization.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## CreateOrgKey
|
||||
|
||||
> HandlersOrgKeyCreateResp CreateOrgKey(ctx, id).Body(body).Execute()
|
||||
|
||||
Create org key/secret pair (owner/admin)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
body := *openapiclient.NewHandlersOrgKeyCreateReq() // HandlersOrgKeyCreateReq | Key name + optional expiry
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.CreateOrgKey(context.Background(), id).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.CreateOrgKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateOrgKey`: HandlersOrgKeyCreateResp
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.CreateOrgKey`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateOrgKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**body** | [**HandlersOrgKeyCreateReq**](HandlersOrgKeyCreateReq.md) | Key name + optional expiry |
|
||||
|
||||
### Return type
|
||||
|
||||
[**HandlersOrgKeyCreateResp**](HandlersOrgKeyCreateResp.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteOrg
|
||||
|
||||
> DeleteOrg(ctx, id).Execute()
|
||||
|
||||
Delete organization (owner)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OrgsAPI.DeleteOrg(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.DeleteOrg``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteOrgRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteOrgKey
|
||||
|
||||
> DeleteOrgKey(ctx, id, keyId).Execute()
|
||||
|
||||
Delete org key (owner/admin)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
keyId := "keyId_example" // string | Key ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OrgsAPI.DeleteOrgKey(context.Background(), id, keyId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.DeleteOrgKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
**keyId** | **string** | Key ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteOrgKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetOrg
|
||||
|
||||
> ModelsOrganization GetOrg(ctx, id).Execute()
|
||||
|
||||
Get organization
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.GetOrg(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.GetOrg``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetOrg`: ModelsOrganization
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.GetOrg`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetOrgRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**ModelsOrganization**](ModelsOrganization.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListMembers
|
||||
|
||||
> []HandlersMemberOut ListMembers(ctx, id).Execute()
|
||||
|
||||
List members in org
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.ListMembers(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.ListMembers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListMembers`: []HandlersMemberOut
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.ListMembers`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListMembersRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]HandlersMemberOut**](HandlersMemberOut.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListMyOrgs
|
||||
|
||||
> []ModelsOrganization ListMyOrgs(ctx).Execute()
|
||||
|
||||
List organizations I belong to
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.ListMyOrgs(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.ListMyOrgs``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListMyOrgs`: []ModelsOrganization
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.ListMyOrgs`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListMyOrgsRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]ModelsOrganization**](ModelsOrganization.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListOrgKeys
|
||||
|
||||
> []ModelsAPIKey ListOrgKeys(ctx, id).Execute()
|
||||
|
||||
List org-scoped API keys (no secrets)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.ListOrgKeys(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.ListOrgKeys``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListOrgKeys`: []ModelsAPIKey
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.ListOrgKeys`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListOrgKeysRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]ModelsAPIKey**](ModelsAPIKey.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## RemoveMember
|
||||
|
||||
> RemoveMember(ctx, id, userId).Execute()
|
||||
|
||||
Remove a member (owner/admin)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
userId := "userId_example" // string | User ID (UUID)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OrgsAPI.RemoveMember(context.Background(), id, userId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.RemoveMember``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
**userId** | **string** | User ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiRemoveMemberRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UpdateOrg
|
||||
|
||||
> ModelsOrganization UpdateOrg(ctx, id).Body(body).Execute()
|
||||
|
||||
Update organization (owner/admin)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Org ID (UUID)
|
||||
body := *openapiclient.NewHandlersOrgUpdateReq() // HandlersOrgUpdateReq | Update payload
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.OrgsAPI.UpdateOrg(context.Background(), id).Body(body).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgsAPI.UpdateOrg``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateOrg`: ModelsOrganization
|
||||
fmt.Fprintf(os.Stdout, "Response from `OrgsAPI.UpdateOrg`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Org ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateOrgRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**body** | [**HandlersOrgUpdateReq**](HandlersOrgUpdateReq.md) | Update payload |
|
||||
|
||||
### Return type
|
||||
|
||||
[**ModelsOrganization**](ModelsOrganization.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
369
sdk/go/docs/ServersAPI.md
Normal file
369
sdk/go/docs/ServersAPI.md
Normal file
@@ -0,0 +1,369 @@
|
||||
# \ServersAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateServer**](ServersAPI.md#CreateServer) | **Post** /servers | Create server (org scoped)
|
||||
[**DeleteServer**](ServersAPI.md#DeleteServer) | **Delete** /servers/{id} | Delete server (org scoped)
|
||||
[**GetServer**](ServersAPI.md#GetServer) | **Get** /servers/{id} | Get server by ID (org scoped)
|
||||
[**ListServers**](ServersAPI.md#ListServers) | **Get** /servers | List servers (org scoped)
|
||||
[**UpdateServer**](ServersAPI.md#UpdateServer) | **Patch** /servers/{id} | Update server (org scoped)
|
||||
|
||||
|
||||
|
||||
## CreateServer
|
||||
|
||||
> DtoServerResponse CreateServer(ctx).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Create server (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewDtoCreateServerRequest() // DtoCreateServerRequest | Server payload
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ServersAPI.CreateServer(context.Background()).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServersAPI.CreateServer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateServer`: DtoServerResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `ServersAPI.CreateServer`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateServerRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**DtoCreateServerRequest**](DtoCreateServerRequest.md) | Server payload |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoServerResponse**](DtoServerResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteServer
|
||||
|
||||
> string DeleteServer(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Delete server (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Server ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ServersAPI.DeleteServer(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServersAPI.DeleteServer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteServer`: string
|
||||
fmt.Fprintf(os.Stdout, "Response from `ServersAPI.DeleteServer`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Server ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteServerRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
**string**
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetServer
|
||||
|
||||
> DtoServerResponse GetServer(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Get server by ID (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Server ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ServersAPI.GetServer(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServersAPI.GetServer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetServer`: DtoServerResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `ServersAPI.GetServer`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Server ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetServerRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoServerResponse**](DtoServerResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListServers
|
||||
|
||||
> []DtoServerResponse ListServers(ctx).XOrgID(xOrgID).Status(status).Role(role).Execute()
|
||||
|
||||
List servers (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
status := "status_example" // string | Filter by status (pending|provisioning|ready|failed) (optional)
|
||||
role := "role_example" // string | Filter by role (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ServersAPI.ListServers(context.Background()).XOrgID(xOrgID).Status(status).Role(role).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServersAPI.ListServers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListServers`: []DtoServerResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `ServersAPI.ListServers`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListServersRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
**status** | **string** | Filter by status (pending|provisioning|ready|failed) |
|
||||
**role** | **string** | Filter by role |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]DtoServerResponse**](DtoServerResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UpdateServer
|
||||
|
||||
> DtoServerResponse UpdateServer(ctx, id).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Update server (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Server ID (UUID)
|
||||
body := *openapiclient.NewDtoUpdateServerRequest() // DtoUpdateServerRequest | Fields to update
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ServersAPI.UpdateServer(context.Background(), id).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ServersAPI.UpdateServer``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateServer`: DtoServerResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `ServersAPI.UpdateServer`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Server ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateServerRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**body** | [**DtoUpdateServerRequest**](DtoUpdateServerRequest.md) | Fields to update |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoServerResponse**](DtoServerResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
367
sdk/go/docs/SshAPI.md
Normal file
367
sdk/go/docs/SshAPI.md
Normal file
@@ -0,0 +1,367 @@
|
||||
# \SshAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateSSHKey**](SshAPI.md#CreateSSHKey) | **Post** /ssh | Create ssh keypair (org scoped)
|
||||
[**DeleteSSHKey**](SshAPI.md#DeleteSSHKey) | **Delete** /ssh/{id} | Delete ssh keypair (org scoped)
|
||||
[**DownloadSSHKey**](SshAPI.md#DownloadSSHKey) | **Get** /ssh/{id}/download | Download ssh key files by ID (org scoped)
|
||||
[**GetSSHKey**](SshAPI.md#GetSSHKey) | **Get** /ssh/{id} | Get ssh key by ID (org scoped)
|
||||
[**ListPublicSshKeys**](SshAPI.md#ListPublicSshKeys) | **Get** /ssh | List ssh keys (org scoped)
|
||||
|
||||
|
||||
|
||||
## CreateSSHKey
|
||||
|
||||
> DtoSshResponse CreateSSHKey(ctx).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Create ssh keypair (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewDtoCreateSSHRequest() // DtoCreateSSHRequest | Key generation options
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SshAPI.CreateSSHKey(context.Background()).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SshAPI.CreateSSHKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateSSHKey`: DtoSshResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SshAPI.CreateSSHKey`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateSSHKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**DtoCreateSSHRequest**](DtoCreateSSHRequest.md) | Key generation options |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoSshResponse**](DtoSshResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteSSHKey
|
||||
|
||||
> string DeleteSSHKey(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Delete ssh keypair (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | SSH Key ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SshAPI.DeleteSSHKey(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SshAPI.DeleteSSHKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteSSHKey`: string
|
||||
fmt.Fprintf(os.Stdout, "Response from `SshAPI.DeleteSSHKey`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | SSH Key ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteSSHKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
**string**
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DownloadSSHKey
|
||||
|
||||
> string DownloadSSHKey(ctx, id).XOrgID(xOrgID).Part(part).Execute()
|
||||
|
||||
Download ssh key files by ID (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID
|
||||
id := "id_example" // string | SSH Key ID (UUID)
|
||||
part := "part_example" // string | Which part to download
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SshAPI.DownloadSSHKey(context.Background(), id).XOrgID(xOrgID).Part(part).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SshAPI.DownloadSSHKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DownloadSSHKey`: string
|
||||
fmt.Fprintf(os.Stdout, "Response from `SshAPI.DownloadSSHKey`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | SSH Key ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDownloadSSHKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
**part** | **string** | Which part to download |
|
||||
|
||||
### Return type
|
||||
|
||||
**string**
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetSSHKey
|
||||
|
||||
> DtoSshRevealResponse GetSSHKey(ctx, id).XOrgID(xOrgID).Reveal(reveal).Execute()
|
||||
|
||||
Get ssh key by ID (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | SSH Key ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
reveal := true // bool | Reveal private key PEM (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SshAPI.GetSSHKey(context.Background(), id).XOrgID(xOrgID).Reveal(reveal).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SshAPI.GetSSHKey``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetSSHKey`: DtoSshRevealResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SshAPI.GetSSHKey`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | SSH Key ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetSSHKeyRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
**reveal** | **bool** | Reveal private key PEM |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoSshRevealResponse**](DtoSshRevealResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListPublicSshKeys
|
||||
|
||||
> []DtoSshResponse ListPublicSshKeys(ctx).XOrgID(xOrgID).Execute()
|
||||
|
||||
List ssh keys (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SshAPI.ListPublicSshKeys(context.Background()).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SshAPI.ListPublicSshKeys``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListPublicSshKeys`: []DtoSshResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SshAPI.ListPublicSshKeys`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListPublicSshKeysRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]DtoSshResponse**](DtoSshResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
369
sdk/go/docs/TaintsAPI.md
Normal file
369
sdk/go/docs/TaintsAPI.md
Normal file
@@ -0,0 +1,369 @@
|
||||
# \TaintsAPI
|
||||
|
||||
All URIs are relative to *http://localhost:8080/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateTaint**](TaintsAPI.md#CreateTaint) | **Post** /taints | Create node taint (org scoped)
|
||||
[**DeleteTaint**](TaintsAPI.md#DeleteTaint) | **Delete** /taints/{id} | Delete taint (org scoped)
|
||||
[**GetTaint**](TaintsAPI.md#GetTaint) | **Get** /taints/{id} | Get node taint by ID (org scoped)
|
||||
[**ListTaints**](TaintsAPI.md#ListTaints) | **Get** /taints | List node pool taints (org scoped)
|
||||
[**UpdateTaint**](TaintsAPI.md#UpdateTaint) | **Patch** /taints/{id} | Update node taint (org scoped)
|
||||
|
||||
|
||||
|
||||
## CreateTaint
|
||||
|
||||
> DtoTaintResponse CreateTaint(ctx).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Create node taint (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := *openapiclient.NewDtoCreateTaintRequest() // DtoCreateTaintRequest | Taint payload
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TaintsAPI.CreateTaint(context.Background()).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaintsAPI.CreateTaint``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateTaint`: DtoTaintResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `TaintsAPI.CreateTaint`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateTaintRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**body** | [**DtoCreateTaintRequest**](DtoCreateTaintRequest.md) | Taint payload |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoTaintResponse**](DtoTaintResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteTaint
|
||||
|
||||
> string DeleteTaint(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Delete taint (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Node Taint ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TaintsAPI.DeleteTaint(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaintsAPI.DeleteTaint``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteTaint`: string
|
||||
fmt.Fprintf(os.Stdout, "Response from `TaintsAPI.DeleteTaint`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Node Taint ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteTaintRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
**string**
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetTaint
|
||||
|
||||
> DtoTaintResponse GetTaint(ctx, id).XOrgID(xOrgID).Execute()
|
||||
|
||||
Get node taint by ID (org scoped)
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Node Taint ID (UUID)
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TaintsAPI.GetTaint(context.Background(), id).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaintsAPI.GetTaint``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetTaint`: DtoTaintResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `TaintsAPI.GetTaint`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Node Taint ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetTaintRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoTaintResponse**](DtoTaintResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListTaints
|
||||
|
||||
> []DtoTaintResponse ListTaints(ctx).XOrgID(xOrgID).Key(key).Value(value).Q(q).Execute()
|
||||
|
||||
List node pool taints (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
key := "key_example" // string | Exact key (optional)
|
||||
value := "value_example" // string | Exact value (optional)
|
||||
q := "q_example" // string | key contains (case-insensitive) (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TaintsAPI.ListTaints(context.Background()).XOrgID(xOrgID).Key(key).Value(value).Q(q).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaintsAPI.ListTaints``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListTaints`: []DtoTaintResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `TaintsAPI.ListTaints`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListTaintsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
**key** | **string** | Exact key |
|
||||
**value** | **string** | Exact value |
|
||||
**q** | **string** | key contains (case-insensitive) |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]DtoTaintResponse**](DtoTaintResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UpdateTaint
|
||||
|
||||
> DtoTaintResponse UpdateTaint(ctx, id).Body(body).XOrgID(xOrgID).Execute()
|
||||
|
||||
Update node taint (org scoped)
|
||||
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/glueops/autoglue-sdk-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := "id_example" // string | Node Taint ID (UUID)
|
||||
body := *openapiclient.NewDtoUpdateTaintRequest() // DtoUpdateTaintRequest | Fields to update
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TaintsAPI.UpdateTaint(context.Background(), id).Body(body).XOrgID(xOrgID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TaintsAPI.UpdateTaint``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateTaint`: DtoTaintResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `TaintsAPI.UpdateTaint`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Node Taint ID (UUID) |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateTaintRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**body** | [**DtoUpdateTaintRequest**](DtoUpdateTaintRequest.md) | Fields to update |
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
|
||||
### Return type
|
||||
|
||||
[**DtoTaintResponse**](DtoTaintResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OrgKeyAuth](../README.md#OrgKeyAuth), [OrgSecretAuth](../README.md#OrgSecretAuth), [BearerAuth](../README.md#BearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
82
sdk/go/docs/UtilsErrorResponse.md
Normal file
82
sdk/go/docs/UtilsErrorResponse.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# UtilsErrorResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **string** | A machine-readable error code, e.g. \"validation_error\" example: validation_error | [optional]
|
||||
**Message** | Pointer to **string** | Human-readable message example: slug is required | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewUtilsErrorResponse
|
||||
|
||||
`func NewUtilsErrorResponse() *UtilsErrorResponse`
|
||||
|
||||
NewUtilsErrorResponse instantiates a new UtilsErrorResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewUtilsErrorResponseWithDefaults
|
||||
|
||||
`func NewUtilsErrorResponseWithDefaults() *UtilsErrorResponse`
|
||||
|
||||
NewUtilsErrorResponseWithDefaults instantiates a new UtilsErrorResponse 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
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *UtilsErrorResponse) GetCode() string`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *UtilsErrorResponse) GetCodeOk() (*string, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *UtilsErrorResponse) SetCode(v string)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *UtilsErrorResponse) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetMessage
|
||||
|
||||
`func (o *UtilsErrorResponse) GetMessage() string`
|
||||
|
||||
GetMessage returns the Message field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMessageOk
|
||||
|
||||
`func (o *UtilsErrorResponse) GetMessageOk() (*string, bool)`
|
||||
|
||||
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMessage
|
||||
|
||||
`func (o *UtilsErrorResponse) SetMessage(v string)`
|
||||
|
||||
SetMessage sets Message field to given value.
|
||||
|
||||
### HasMessage
|
||||
|
||||
`func (o *UtilsErrorResponse) HasMessage() bool`
|
||||
|
||||
HasMessage 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user