Name | Type | Description | Notes |
---|---|---|---|
CampaignId | Pointer to int32 | ID of the campaign, to which the achievement belongs to | |
UserId | Pointer to int32 | ID of the user that created this achievement. | |
CreatedBy | Pointer to string | Name of the user that created the achievement. Note: This is not available if the user has been deleted. | |
HasProgress | Pointer to bool | Indicates if a customer has made progress in the achievement. | [optional] |
func (o *AchievementAdditionalProperties) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *AchievementAdditionalProperties) GetCampaignIdOk() (int32, 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.
func (o *AchievementAdditionalProperties) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *AchievementAdditionalProperties) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *AchievementAdditionalProperties) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *AchievementAdditionalProperties) GetUserIdOk() (int32, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AchievementAdditionalProperties) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *AchievementAdditionalProperties) SetUserId(v int32)
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (o *AchievementAdditionalProperties) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *AchievementAdditionalProperties) GetCreatedByOk() (string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AchievementAdditionalProperties) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *AchievementAdditionalProperties) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (o *AchievementAdditionalProperties) GetHasProgress() bool
GetHasProgress returns the HasProgress field if non-nil, zero value otherwise.
func (o *AchievementAdditionalProperties) GetHasProgressOk() (bool, bool)
GetHasProgressOk returns a tuple with the HasProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AchievementAdditionalProperties) HasHasProgress() bool
HasHasProgress returns a boolean if a field has been set.
func (o *AchievementAdditionalProperties) SetHasProgress(v bool)
SetHasProgress gets a reference to the given bool and assigns it to the HasProgress field.