Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Id of the campaign | [optional] [readonly] |
Name | string | The campaign name. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | |
Description | string | The campaign description. If this object is part of a template, special formatting applies; see the `/campaign-templates/{id}/generate` endpoint documentation for details. | |
Deadline | Pointer to time.Time | The campaign's completion deadline. This date must be in the future in order to activate the campaign. If you try to activate a campaign with a deadline of today or in the past, you will receive a 400 error response. | [optional] |
Type | string | The type of campaign. Could be extended in the future. | |
EmailNotificationEnabled | Pointer to bool | Enables email notification for this campaign | [optional] [default to false] |
AutoRevokeAllowed | Pointer to bool | Allows auto revoke for this campaign | [optional] [default to false] |
RecommendationsEnabled | Pointer to bool | Enables IAI for this campaign. Accepts true even if the IAI product feature is off. If IAI is turned off then campaigns generated from this template will indicate false. The real value will then be returned if IAI is ever enabled for the org in the future. | [optional] [default to false] |
Status | Pointer to string | The campaign's current status. | [optional] [readonly] |
CorrelatedStatus | Pointer to string | The correlatedStatus of the campaign. Only SOURCE_OWNER campaigns can be Uncorrelated. An Uncorrelated certification campaign only includes Uncorrelated identities (An identity is uncorrelated if it has no accounts on an authoritative source). | [optional] |
func NewSlimcampaign(name string, description string, type_ string, ) *Slimcampaign
NewSlimcampaign instantiates a new Slimcampaign 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 NewSlimcampaignWithDefaults() *Slimcampaign
NewSlimcampaignWithDefaults instantiates a new Slimcampaign 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 *Slimcampaign) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetId(v string)
SetId sets Id field to given value.
func (o *Slimcampaign) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Slimcampaign) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Slimcampaign) 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 *Slimcampaign) SetName(v string)
SetName sets Name field to given value.
func (o *Slimcampaign) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Slimcampaign) 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 *Slimcampaign) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Slimcampaign) GetDeadline() time.Time
GetDeadline returns the Deadline field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetDeadlineOk() (*time.Time, bool)
GetDeadlineOk returns a tuple with the Deadline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetDeadline(v time.Time)
SetDeadline sets Deadline field to given value.
func (o *Slimcampaign) HasDeadline() bool
HasDeadline returns a boolean if a field has been set.
func (o *Slimcampaign) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetType(v string)
SetType sets Type field to given value.
func (o *Slimcampaign) GetEmailNotificationEnabled() bool
GetEmailNotificationEnabled returns the EmailNotificationEnabled field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetEmailNotificationEnabledOk() (*bool, bool)
GetEmailNotificationEnabledOk returns a tuple with the EmailNotificationEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetEmailNotificationEnabled(v bool)
SetEmailNotificationEnabled sets EmailNotificationEnabled field to given value.
func (o *Slimcampaign) HasEmailNotificationEnabled() bool
HasEmailNotificationEnabled returns a boolean if a field has been set.
func (o *Slimcampaign) GetAutoRevokeAllowed() bool
GetAutoRevokeAllowed returns the AutoRevokeAllowed field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetAutoRevokeAllowedOk() (*bool, bool)
GetAutoRevokeAllowedOk returns a tuple with the AutoRevokeAllowed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetAutoRevokeAllowed(v bool)
SetAutoRevokeAllowed sets AutoRevokeAllowed field to given value.
func (o *Slimcampaign) HasAutoRevokeAllowed() bool
HasAutoRevokeAllowed returns a boolean if a field has been set.
func (o *Slimcampaign) GetRecommendationsEnabled() bool
GetRecommendationsEnabled returns the RecommendationsEnabled field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetRecommendationsEnabledOk() (*bool, bool)
GetRecommendationsEnabledOk returns a tuple with the RecommendationsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetRecommendationsEnabled(v bool)
SetRecommendationsEnabled sets RecommendationsEnabled field to given value.
func (o *Slimcampaign) HasRecommendationsEnabled() bool
HasRecommendationsEnabled returns a boolean if a field has been set.
func (o *Slimcampaign) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Slimcampaign) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *Slimcampaign) GetCorrelatedStatus() string
GetCorrelatedStatus returns the CorrelatedStatus field if non-nil, zero value otherwise.
func (o *Slimcampaign) GetCorrelatedStatusOk() (*string, bool)
GetCorrelatedStatusOk returns a tuple with the CorrelatedStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Slimcampaign) SetCorrelatedStatus(v string)
SetCorrelatedStatus sets CorrelatedStatus field to given value.
func (o *Slimcampaign) HasCorrelatedStatus() bool
HasCorrelatedStatus returns a boolean if a field has been set.