Name | Type | Description | Notes |
---|---|---|---|
DbType | Pointer to string | [optional] | |
HostName | Pointer to string | [optional] | |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
KeepPrevVersion | Pointer to string | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
MongoDbName | Pointer to string | [optional] | |
MongoUri | Pointer to string | [optional] | |
Name | string | Target name | |
NewVersion | Pointer to bool | Deprecated | [optional] |
Port | Pointer to string | [optional] | |
ProtectionKey | 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] |
Pwd | Pointer to string | [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] |
UserName | Pointer to string | [optional] |
func NewUpdateDBTargetDetails(name string, ) *UpdateDBTargetDetails
NewUpdateDBTargetDetails instantiates a new UpdateDBTargetDetails 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 NewUpdateDBTargetDetailsWithDefaults() *UpdateDBTargetDetails
NewUpdateDBTargetDetailsWithDefaults instantiates a new UpdateDBTargetDetails 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 *UpdateDBTargetDetails) GetDbType() string
GetDbType returns the DbType field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetDbTypeOk() (*string, bool)
GetDbTypeOk returns a tuple with the DbType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetDbType(v string)
SetDbType sets DbType field to given value.
func (o *UpdateDBTargetDetails) HasDbType() bool
HasDbType returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetHostName() string
GetHostName returns the HostName field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) 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.
func (o *UpdateDBTargetDetails) SetHostName(v string)
SetHostName sets HostName field to given value.
func (o *UpdateDBTargetDetails) HasHostName() bool
HasHostName returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) 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 *UpdateDBTargetDetails) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateDBTargetDetails) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) 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 *UpdateDBTargetDetails) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *UpdateDBTargetDetails) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetMongoDbName() string
GetMongoDbName returns the MongoDbName field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetMongoDbNameOk() (*string, bool)
GetMongoDbNameOk returns a tuple with the MongoDbName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetMongoDbName(v string)
SetMongoDbName sets MongoDbName field to given value.
func (o *UpdateDBTargetDetails) HasMongoDbName() bool
HasMongoDbName returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetMongoUri() string
GetMongoUri returns the MongoUri field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetMongoUriOk() (*string, bool)
GetMongoUriOk returns a tuple with the MongoUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetMongoUri(v string)
SetMongoUri sets MongoUri field to given value.
func (o *UpdateDBTargetDetails) HasMongoUri() bool
HasMongoUri returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) 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 *UpdateDBTargetDetails) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateDBTargetDetails) GetNewVersion() bool
GetNewVersion returns the NewVersion field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetNewVersionOk() (*bool, bool)
GetNewVersionOk returns a tuple with the NewVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetNewVersion(v bool)
SetNewVersion sets NewVersion field to given value.
func (o *UpdateDBTargetDetails) HasNewVersion() bool
HasNewVersion returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetPort() string
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetPortOk() (*string, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetPort(v string)
SetPort sets Port field to given value.
func (o *UpdateDBTargetDetails) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetProtectionKey() string
GetProtectionKey returns the ProtectionKey field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetProtectionKeyOk() (*string, bool)
GetProtectionKeyOk returns a tuple with the ProtectionKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetProtectionKey(v string)
SetProtectionKey sets ProtectionKey field to given value.
func (o *UpdateDBTargetDetails) HasProtectionKey() bool
HasProtectionKey returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetPwd() string
GetPwd returns the Pwd field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetPwdOk() (*string, bool)
GetPwdOk returns a tuple with the Pwd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetPwd(v string)
SetPwd sets Pwd field to given value.
func (o *UpdateDBTargetDetails) HasPwd() bool
HasPwd returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) 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 *UpdateDBTargetDetails) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateDBTargetDetails) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) 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 *UpdateDBTargetDetails) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateDBTargetDetails) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *UpdateDBTargetDetails) GetUserName() string
GetUserName returns the UserName field if non-nil, zero value otherwise.
func (o *UpdateDBTargetDetails) GetUserNameOk() (*string, bool)
GetUserNameOk returns a tuple with the UserName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDBTargetDetails) SetUserName(v string)
SetUserName sets UserName field to given value.
func (o *UpdateDBTargetDetails) HasUserName() bool
HasUserName returns a boolean if a field has been set.