Skip to content

Latest commit

 

History

History
275 lines (148 loc) · 8.69 KB

Slimcampaign.md

File metadata and controls

275 lines (148 loc) · 8.69 KB

Slimcampaign

Properties

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]

Methods

NewSlimcampaign

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

NewSlimcampaignWithDefaults

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

GetId

func (o *Slimcampaign) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Slimcampaign) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Slimcampaign) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *Slimcampaign) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Slimcampaign) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *Slimcampaign) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *Slimcampaign) SetDescription(v string)

SetDescription sets Description field to given value.

GetDeadline

func (o *Slimcampaign) GetDeadline() time.Time

GetDeadline returns the Deadline field if non-nil, zero value otherwise.

GetDeadlineOk

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.

SetDeadline

func (o *Slimcampaign) SetDeadline(v time.Time)

SetDeadline sets Deadline field to given value.

HasDeadline

func (o *Slimcampaign) HasDeadline() bool

HasDeadline returns a boolean if a field has been set.

GetType

func (o *Slimcampaign) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *Slimcampaign) SetType(v string)

SetType sets Type field to given value.

GetEmailNotificationEnabled

func (o *Slimcampaign) GetEmailNotificationEnabled() bool

GetEmailNotificationEnabled returns the EmailNotificationEnabled field if non-nil, zero value otherwise.

GetEmailNotificationEnabledOk

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.

SetEmailNotificationEnabled

func (o *Slimcampaign) SetEmailNotificationEnabled(v bool)

SetEmailNotificationEnabled sets EmailNotificationEnabled field to given value.

HasEmailNotificationEnabled

func (o *Slimcampaign) HasEmailNotificationEnabled() bool

HasEmailNotificationEnabled returns a boolean if a field has been set.

GetAutoRevokeAllowed

func (o *Slimcampaign) GetAutoRevokeAllowed() bool

GetAutoRevokeAllowed returns the AutoRevokeAllowed field if non-nil, zero value otherwise.

GetAutoRevokeAllowedOk

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.

SetAutoRevokeAllowed

func (o *Slimcampaign) SetAutoRevokeAllowed(v bool)

SetAutoRevokeAllowed sets AutoRevokeAllowed field to given value.

HasAutoRevokeAllowed

func (o *Slimcampaign) HasAutoRevokeAllowed() bool

HasAutoRevokeAllowed returns a boolean if a field has been set.

GetRecommendationsEnabled

func (o *Slimcampaign) GetRecommendationsEnabled() bool

GetRecommendationsEnabled returns the RecommendationsEnabled field if non-nil, zero value otherwise.

GetRecommendationsEnabledOk

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.

SetRecommendationsEnabled

func (o *Slimcampaign) SetRecommendationsEnabled(v bool)

SetRecommendationsEnabled sets RecommendationsEnabled field to given value.

HasRecommendationsEnabled

func (o *Slimcampaign) HasRecommendationsEnabled() bool

HasRecommendationsEnabled returns a boolean if a field has been set.

GetStatus

func (o *Slimcampaign) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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.

SetStatus

func (o *Slimcampaign) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *Slimcampaign) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetCorrelatedStatus

func (o *Slimcampaign) GetCorrelatedStatus() string

GetCorrelatedStatus returns the CorrelatedStatus field if non-nil, zero value otherwise.

GetCorrelatedStatusOk

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.

SetCorrelatedStatus

func (o *Slimcampaign) SetCorrelatedStatus(v string)

SetCorrelatedStatus sets CorrelatedStatus field to given value.

HasCorrelatedStatus

func (o *Slimcampaign) HasCorrelatedStatus() bool

HasCorrelatedStatus returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]