Name | Type | Description | Notes |
---|---|---|---|
AppPrivateKeyData | Pointer to string | Base64 encoded PEM of the connected app private key (relevant for JWT auth only) | [optional] |
AuthFlow | string | type of the auth flow ('jwt' / 'user-password') | |
CaCertData | Pointer to string | Base64 encoded PEM cert to use when uploading a new key to Salesforce | [optional] |
CaCertName | Pointer to string | name of the certificate in Salesforce tenant to use when uploading new key | [optional] |
ClientId | string | Client ID of the oauth2 app to use for connecting to Salesforce | |
ClientSecret | Pointer to string | Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow) | [optional] |
Comment | Pointer to string | Deprecated - use description | [optional] |
Description | Pointer to string | Description of the object | [optional] |
string | The email of the user attached to the oauth2 app used for connecting to Salesforce | ||
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] |
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] |
Password | Pointer to string | The password of the user attached to the oauth2 app used for connecting to Salesforce (required for user-password flow) | [optional] |
SecurityToken | Pointer to string | The security token of the user attached to the oauth2 app used for connecting to Salesforce (required for user-password flow) | [optional] |
TenantUrl | string | Url of the Salesforce tenant | |
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] |
func NewUpdateSalesforceTarget(authFlow string, clientId string, email string, name string, tenantUrl string, ) *UpdateSalesforceTarget
NewUpdateSalesforceTarget instantiates a new UpdateSalesforceTarget 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 NewUpdateSalesforceTargetWithDefaults() *UpdateSalesforceTarget
NewUpdateSalesforceTargetWithDefaults instantiates a new UpdateSalesforceTarget 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 *UpdateSalesforceTarget) GetAppPrivateKeyData() string
GetAppPrivateKeyData returns the AppPrivateKeyData field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetAppPrivateKeyDataOk() (*string, bool)
GetAppPrivateKeyDataOk returns a tuple with the AppPrivateKeyData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetAppPrivateKeyData(v string)
SetAppPrivateKeyData sets AppPrivateKeyData field to given value.
func (o *UpdateSalesforceTarget) HasAppPrivateKeyData() bool
HasAppPrivateKeyData returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetAuthFlow() string
GetAuthFlow returns the AuthFlow field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetAuthFlowOk() (*string, bool)
GetAuthFlowOk returns a tuple with the AuthFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetAuthFlow(v string)
SetAuthFlow sets AuthFlow field to given value.
func (o *UpdateSalesforceTarget) GetCaCertData() string
GetCaCertData returns the CaCertData field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetCaCertDataOk() (*string, bool)
GetCaCertDataOk returns a tuple with the CaCertData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetCaCertData(v string)
SetCaCertData sets CaCertData field to given value.
func (o *UpdateSalesforceTarget) HasCaCertData() bool
HasCaCertData returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetCaCertName() string
GetCaCertName returns the CaCertName field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetCaCertNameOk() (*string, bool)
GetCaCertNameOk returns a tuple with the CaCertName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetCaCertName(v string)
SetCaCertName sets CaCertName field to given value.
func (o *UpdateSalesforceTarget) HasCaCertName() bool
HasCaCertName returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetClientId() string
GetClientId returns the ClientId field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetClientId(v string)
SetClientId sets ClientId field to given value.
func (o *UpdateSalesforceTarget) GetClientSecret() string
GetClientSecret returns the ClientSecret field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetClientSecretOk() (*string, bool)
GetClientSecretOk returns a tuple with the ClientSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetClientSecret(v string)
SetClientSecret sets ClientSecret field to given value.
func (o *UpdateSalesforceTarget) HasClientSecret() bool
HasClientSecret returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetComment(v string)
SetComment sets Comment field to given value.
func (o *UpdateSalesforceTarget) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UpdateSalesforceTarget) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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.
func (o *UpdateSalesforceTarget) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *UpdateSalesforceTarget) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateSalesforceTarget) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *UpdateSalesforceTarget) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetKey(v string)
SetKey sets Key field to given value.
func (o *UpdateSalesforceTarget) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *UpdateSalesforceTarget) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateSalesforceTarget) GetNewName() string
GetNewName returns the NewName field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetNewName(v string)
SetNewName sets NewName field to given value.
func (o *UpdateSalesforceTarget) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *UpdateSalesforceTarget) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetSecurityToken() string
GetSecurityToken returns the SecurityToken field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetSecurityTokenOk() (*string, bool)
GetSecurityTokenOk returns a tuple with the SecurityToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetSecurityToken(v string)
SetSecurityToken sets SecurityToken field to given value.
func (o *UpdateSalesforceTarget) HasSecurityToken() bool
HasSecurityToken returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetTenantUrl() string
GetTenantUrl returns the TenantUrl field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) GetTenantUrlOk() (*string, bool)
GetTenantUrlOk returns a tuple with the TenantUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateSalesforceTarget) SetTenantUrl(v string)
SetTenantUrl sets TenantUrl field to given value.
func (o *UpdateSalesforceTarget) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateSalesforceTarget) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateSalesforceTarget) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *UpdateSalesforceTarget) GetUpdateVersion() bool
GetUpdateVersion returns the UpdateVersion field if non-nil, zero value otherwise.
func (o *UpdateSalesforceTarget) 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 *UpdateSalesforceTarget) SetUpdateVersion(v bool)
SetUpdateVersion sets UpdateVersion field to given value.
func (o *UpdateSalesforceTarget) HasUpdateVersion() bool
HasUpdateVersion returns a boolean if a field has been set.