Skip to main content

TemplateSlackCustomFields

Properties​

NameTypeDescriptionNotes
RequestTypePointer to NullableStringThe type of request[optional]
ContainsDenyPointer to NullableStringWhether the request contains a deny action[optional]
CampaignIdPointer to NullableStringThe campaign ID[optional]
CampaignStatusPointer to NullableStringThe campaign status[optional]

Methods​

NewTemplateSlackCustomFields​

func NewTemplateSlackCustomFields() *TemplateSlackCustomFields

NewTemplateSlackCustomFields instantiates a new TemplateSlackCustomFields 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

NewTemplateSlackCustomFieldsWithDefaults​

func NewTemplateSlackCustomFieldsWithDefaults() *TemplateSlackCustomFields

NewTemplateSlackCustomFieldsWithDefaults instantiates a new TemplateSlackCustomFields 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

GetRequestType​

func (o *TemplateSlackCustomFields) GetRequestType() string

GetRequestType returns the RequestType field if non-nil, zero value otherwise.

GetRequestTypeOk​

func (o *TemplateSlackCustomFields) GetRequestTypeOk() (*string, bool)

GetRequestTypeOk returns a tuple with the RequestType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRequestType​

func (o *TemplateSlackCustomFields) SetRequestType(v string)

SetRequestType sets RequestType field to given value.

HasRequestType​

func (o *TemplateSlackCustomFields) HasRequestType() bool

HasRequestType returns a boolean if a field has been set.

SetRequestTypeNil​

func (o *TemplateSlackCustomFields) SetRequestTypeNil(b bool)

SetRequestTypeNil sets the value for RequestType to be an explicit nil

UnsetRequestType​

func (o *TemplateSlackCustomFields) UnsetRequestType()

UnsetRequestType ensures that no value is present for RequestType, not even an explicit nil

GetContainsDeny​

func (o *TemplateSlackCustomFields) GetContainsDeny() string

GetContainsDeny returns the ContainsDeny field if non-nil, zero value otherwise.

GetContainsDenyOk​

func (o *TemplateSlackCustomFields) GetContainsDenyOk() (*string, bool)

GetContainsDenyOk returns a tuple with the ContainsDeny field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetContainsDeny​

func (o *TemplateSlackCustomFields) SetContainsDeny(v string)

SetContainsDeny sets ContainsDeny field to given value.

HasContainsDeny​

func (o *TemplateSlackCustomFields) HasContainsDeny() bool

HasContainsDeny returns a boolean if a field has been set.

SetContainsDenyNil​

func (o *TemplateSlackCustomFields) SetContainsDenyNil(b bool)

SetContainsDenyNil sets the value for ContainsDeny to be an explicit nil

UnsetContainsDeny​

func (o *TemplateSlackCustomFields) UnsetContainsDeny()

UnsetContainsDeny ensures that no value is present for ContainsDeny, not even an explicit nil

GetCampaignId​

func (o *TemplateSlackCustomFields) GetCampaignId() string

GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.

GetCampaignIdOk​

func (o *TemplateSlackCustomFields) GetCampaignIdOk() (*string, bool)

GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCampaignId​

func (o *TemplateSlackCustomFields) SetCampaignId(v string)

SetCampaignId sets CampaignId field to given value.

HasCampaignId​

func (o *TemplateSlackCustomFields) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

SetCampaignIdNil​

func (o *TemplateSlackCustomFields) SetCampaignIdNil(b bool)

SetCampaignIdNil sets the value for CampaignId to be an explicit nil

UnsetCampaignId​

func (o *TemplateSlackCustomFields) UnsetCampaignId()

UnsetCampaignId ensures that no value is present for CampaignId, not even an explicit nil

GetCampaignStatus​

func (o *TemplateSlackCustomFields) GetCampaignStatus() string

GetCampaignStatus returns the CampaignStatus field if non-nil, zero value otherwise.

GetCampaignStatusOk​

func (o *TemplateSlackCustomFields) GetCampaignStatusOk() (*string, bool)

GetCampaignStatusOk returns a tuple with the CampaignStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCampaignStatus​

func (o *TemplateSlackCustomFields) SetCampaignStatus(v string)

SetCampaignStatus sets CampaignStatus field to given value.

HasCampaignStatus​

func (o *TemplateSlackCustomFields) HasCampaignStatus() bool

HasCampaignStatus returns a boolean if a field has been set.

SetCampaignStatusNil​

func (o *TemplateSlackCustomFields) SetCampaignStatusNil(b bool)

SetCampaignStatusNil sets the value for CampaignStatus to be an explicit nil

UnsetCampaignStatus​

func (o *TemplateSlackCustomFields) UnsetCampaignStatus()

UnsetCampaignStatus ensures that no value is present for CampaignStatus, not even an explicit nil