Name | Type | Description | Notes |
---|---|---|---|
Comment | Pointer to string | Deprecated - use description | [optional] |
Description | Pointer to string | Description of the object | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
K8sAuthType | Pointer to string | K8S auth type [token/certificate] | [optional] [default to "token"] |
K8sClientCertificate | Pointer to string | Content of the k8 client certificate (PEM format) in a Base64 format | [optional] |
K8sClientKey | Pointer to string | Content of the k8 client private key (PEM format) in a Base64 format | [optional] |
K8sClusterCaCert | string | K8S cluster CA certificate | [default to "dummy_val"] |
K8sClusterEndpoint | string | K8S cluster URL endpoint | [default to "dummy_val"] |
K8sClusterName | Pointer to string | K8S cluster name | [optional] |
K8sClusterToken | string | K8S cluster Bearer token | [default to "dummy_val"] |
KeepPrevVersion | Pointer to string | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
Key | Pointer to string | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
MaxVersions | Pointer to string | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
Name | string | Target name | |
NewName | Pointer to string | New target name | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
UpdateVersion | Pointer to bool | Deprecated | [optional] |
UseGwServiceAccount | Pointer to bool | Use the GW's service account | [optional] |
func NewUpdateNativeK8STarget(k8sClusterCaCert string, k8sClusterEndpoint string, k8sClusterToken string, name string, ) *UpdateNativeK8STarget
NewUpdateNativeK8STarget instantiates a new UpdateNativeK8STarget 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
func NewUpdateNativeK8STargetWithDefaults() *UpdateNativeK8STarget
NewUpdateNativeK8STargetWithDefaults instantiates a new UpdateNativeK8STarget 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
func (o *UpdateNativeK8STarget) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) 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.
func (o *UpdateNativeK8STarget) SetComment(v string)
SetComment sets Comment field to given value.
func (o *UpdateNativeK8STarget) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UpdateNativeK8STarget) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateNativeK8STarget) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetK8sAuthType() string
GetK8sAuthType returns the K8sAuthType field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sAuthTypeOk() (*string, bool)
GetK8sAuthTypeOk returns a tuple with the K8sAuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sAuthType(v string)
SetK8sAuthType sets K8sAuthType field to given value.
func (o *UpdateNativeK8STarget) HasK8sAuthType() bool
HasK8sAuthType returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetK8sClientCertificate() string
GetK8sClientCertificate returns the K8sClientCertificate field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sClientCertificateOk() (*string, bool)
GetK8sClientCertificateOk returns a tuple with the K8sClientCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sClientCertificate(v string)
SetK8sClientCertificate sets K8sClientCertificate field to given value.
func (o *UpdateNativeK8STarget) HasK8sClientCertificate() bool
HasK8sClientCertificate returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetK8sClientKey() string
GetK8sClientKey returns the K8sClientKey field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sClientKeyOk() (*string, bool)
GetK8sClientKeyOk returns a tuple with the K8sClientKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sClientKey(v string)
SetK8sClientKey sets K8sClientKey field to given value.
func (o *UpdateNativeK8STarget) HasK8sClientKey() bool
HasK8sClientKey returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetK8sClusterCaCert() string
GetK8sClusterCaCert returns the K8sClusterCaCert field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sClusterCaCertOk() (*string, bool)
GetK8sClusterCaCertOk returns a tuple with the K8sClusterCaCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sClusterCaCert(v string)
SetK8sClusterCaCert sets K8sClusterCaCert field to given value.
func (o *UpdateNativeK8STarget) GetK8sClusterEndpoint() string
GetK8sClusterEndpoint returns the K8sClusterEndpoint field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sClusterEndpointOk() (*string, bool)
GetK8sClusterEndpointOk returns a tuple with the K8sClusterEndpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sClusterEndpoint(v string)
SetK8sClusterEndpoint sets K8sClusterEndpoint field to given value.
func (o *UpdateNativeK8STarget) GetK8sClusterName() string
GetK8sClusterName returns the K8sClusterName field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sClusterNameOk() (*string, bool)
GetK8sClusterNameOk returns a tuple with the K8sClusterName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sClusterName(v string)
SetK8sClusterName sets K8sClusterName field to given value.
func (o *UpdateNativeK8STarget) HasK8sClusterName() bool
HasK8sClusterName returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetK8sClusterToken() string
GetK8sClusterToken returns the K8sClusterToken field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetK8sClusterTokenOk() (*string, bool)
GetK8sClusterTokenOk returns a tuple with the K8sClusterToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetK8sClusterToken(v string)
SetK8sClusterToken sets K8sClusterToken field to given value.
func (o *UpdateNativeK8STarget) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetKeepPrevVersionOk() (*string, bool)
GetKeepPrevVersionOk returns a tuple with the KeepPrevVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *UpdateNativeK8STarget) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) 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.
func (o *UpdateNativeK8STarget) SetKey(v string)
SetKey sets Key field to given value.
func (o *UpdateNativeK8STarget) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetMaxVersionsOk() (*string, bool)
GetMaxVersionsOk returns a tuple with the MaxVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *UpdateNativeK8STarget) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) 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.
func (o *UpdateNativeK8STarget) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateNativeK8STarget) GetNewName() string
GetNewName returns the NewName field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetNewNameOk() (*string, bool)
GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetNewName(v string)
SetNewName sets NewName field to given value.
func (o *UpdateNativeK8STarget) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateNativeK8STarget) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateNativeK8STarget) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetUpdateVersion() bool
GetUpdateVersion returns the UpdateVersion field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetUpdateVersionOk() (*bool, bool)
GetUpdateVersionOk returns a tuple with the UpdateVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetUpdateVersion(v bool)
SetUpdateVersion sets UpdateVersion field to given value.
func (o *UpdateNativeK8STarget) HasUpdateVersion() bool
HasUpdateVersion returns a boolean if a field has been set.
func (o *UpdateNativeK8STarget) GetUseGwServiceAccount() bool
GetUseGwServiceAccount returns the UseGwServiceAccount field if non-nil, zero value otherwise.
func (o *UpdateNativeK8STarget) GetUseGwServiceAccountOk() (*bool, bool)
GetUseGwServiceAccountOk returns a tuple with the UseGwServiceAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateNativeK8STarget) SetUseGwServiceAccount(v bool)
SetUseGwServiceAccount sets UseGwServiceAccount field to given value.
func (o *UpdateNativeK8STarget) HasUseGwServiceAccount() bool
HasUseGwServiceAccount returns a boolean if a field has been set.