Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Enabled | Pointer to bool | [optional] [default to false] | |
Description | Pointer to string | [optional] [default to ""] | |
Status | Pointer to TaskStatus | [optional] | |
StatusMessage | Pointer to string | [optional] [default to ""] | |
LastRun | Pointer to NullableTime | [optional] | |
Frequency | Pointer to NullableString | [optional] | |
ActsOn | Pointer to []string | [optional] [default to []] | |
Type | Pointer to string | [optional] [default to "analytics"] | |
Id | string | [readonly] |
func NewAnalyticsTask(name string, id string, ) *AnalyticsTask
NewAnalyticsTask instantiates a new AnalyticsTask 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 NewAnalyticsTaskWithDefaults() *AnalyticsTask
NewAnalyticsTaskWithDefaults instantiates a new AnalyticsTask 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 *AnalyticsTask) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AnalyticsTask) 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 *AnalyticsTask) SetName(v string)
SetName sets Name field to given value.
func (o *AnalyticsTask) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *AnalyticsTask) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AnalyticsTask) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *AnalyticsTask) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *AnalyticsTask) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *AnalyticsTask) 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 *AnalyticsTask) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *AnalyticsTask) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *AnalyticsTask) GetStatus() TaskStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *AnalyticsTask) GetStatusOk() (*TaskStatus, 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 *AnalyticsTask) SetStatus(v TaskStatus)
SetStatus sets Status field to given value.
func (o *AnalyticsTask) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *AnalyticsTask) GetStatusMessage() string
GetStatusMessage returns the StatusMessage field if non-nil, zero value otherwise.
func (o *AnalyticsTask) GetStatusMessageOk() (*string, bool)
GetStatusMessageOk returns a tuple with the StatusMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AnalyticsTask) SetStatusMessage(v string)
SetStatusMessage sets StatusMessage field to given value.
func (o *AnalyticsTask) HasStatusMessage() bool
HasStatusMessage returns a boolean if a field has been set.
func (o *AnalyticsTask) GetLastRun() time.Time
GetLastRun returns the LastRun field if non-nil, zero value otherwise.
func (o *AnalyticsTask) GetLastRunOk() (*time.Time, bool)
GetLastRunOk returns a tuple with the LastRun field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AnalyticsTask) SetLastRun(v time.Time)
SetLastRun sets LastRun field to given value.
func (o *AnalyticsTask) HasLastRun() bool
HasLastRun returns a boolean if a field has been set.
func (o *AnalyticsTask) SetLastRunNil(b bool)
SetLastRunNil sets the value for LastRun to be an explicit nil
func (o *AnalyticsTask) UnsetLastRun()
UnsetLastRun ensures that no value is present for LastRun, not even an explicit nil
func (o *AnalyticsTask) GetFrequency() string
GetFrequency returns the Frequency field if non-nil, zero value otherwise.
func (o *AnalyticsTask) GetFrequencyOk() (*string, bool)
GetFrequencyOk returns a tuple with the Frequency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AnalyticsTask) SetFrequency(v string)
SetFrequency sets Frequency field to given value.
func (o *AnalyticsTask) HasFrequency() bool
HasFrequency returns a boolean if a field has been set.
func (o *AnalyticsTask) SetFrequencyNil(b bool)
SetFrequencyNil sets the value for Frequency to be an explicit nil
func (o *AnalyticsTask) UnsetFrequency()
UnsetFrequency ensures that no value is present for Frequency, not even an explicit nil
func (o *AnalyticsTask) GetActsOn() []string
GetActsOn returns the ActsOn field if non-nil, zero value otherwise.
func (o *AnalyticsTask) GetActsOnOk() (*[]string, bool)
GetActsOnOk returns a tuple with the ActsOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AnalyticsTask) SetActsOn(v []string)
SetActsOn sets ActsOn field to given value.
func (o *AnalyticsTask) HasActsOn() bool
HasActsOn returns a boolean if a field has been set.
func (o *AnalyticsTask) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *AnalyticsTask) 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 *AnalyticsTask) SetType(v string)
SetType sets Type field to given value.
func (o *AnalyticsTask) HasType() bool
HasType returns a boolean if a field has been set.
func (o *AnalyticsTask) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *AnalyticsTask) 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 *AnalyticsTask) SetId(v string)
SetId sets Id field to given value.