Name | Type | Description | Notes |
---|---|---|---|
Phone | Pointer to string | Phone number to send test message to. If this is set, email will be ignored. | [optional] |
Pointer to string | Email address to send test message to. If phone is set, this will be ignored. | [optional] | |
Config | map[string]interface{} | Connector configuration object for testing. |
func NewCreateConnectorTestRequest(config map[string]interface{}, ) *CreateConnectorTestRequest
NewCreateConnectorTestRequest instantiates a new CreateConnectorTestRequest 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 NewCreateConnectorTestRequestWithDefaults() *CreateConnectorTestRequest
NewCreateConnectorTestRequestWithDefaults instantiates a new CreateConnectorTestRequest 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 *CreateConnectorTestRequest) GetPhone() string
GetPhone returns the Phone field if non-nil, zero value otherwise.
func (o *CreateConnectorTestRequest) GetPhoneOk() (*string, bool)
GetPhoneOk returns a tuple with the Phone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateConnectorTestRequest) SetPhone(v string)
SetPhone sets Phone field to given value.
func (o *CreateConnectorTestRequest) HasPhone() bool
HasPhone returns a boolean if a field has been set.
func (o *CreateConnectorTestRequest) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *CreateConnectorTestRequest) 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 *CreateConnectorTestRequest) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *CreateConnectorTestRequest) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *CreateConnectorTestRequest) GetConfig() map[string]interface{}
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *CreateConnectorTestRequest) GetConfigOk() (*map[string]interface{}, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateConnectorTestRequest) SetConfig(v map[string]interface{})
SetConfig sets Config field to given value.