Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
Modified | Pointer to time.Time | The time this entity was last modified. | |
AccountId | Pointer to int32 | The ID of the account that owns this entity. | |
CampaignGroupID | Pointer to int32 | The ID of the Campaign Group this role was created for. | [optional] |
Name | Pointer to string | Name of the role. | |
Description | Pointer to string | Description of the role. | [optional] |
Members | Pointer to []int32 | A list of user identifiers assigned to this role. | [optional] |
Acl | Pointer to map[string]interface{} | The `Access Control List` json defining the role of the user. This represents the access control on the user level. |
func (o *Role) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Role) GetIdOk() (int32, 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 *Role) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Role) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *Role) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Role) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Role) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *Role) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *Role) GetModifiedOk() (time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *Role) SetModified(v time.Time)
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (o *Role) GetAccountId() int32
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *Role) GetAccountIdOk() (int32, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (o *Role) SetAccountId(v int32)
SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.
func (o *Role) GetCampaignGroupID() int32
GetCampaignGroupID returns the CampaignGroupID field if non-nil, zero value otherwise.
func (o *Role) GetCampaignGroupIDOk() (int32, bool)
GetCampaignGroupIDOk returns a tuple with the CampaignGroupID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) HasCampaignGroupID() bool
HasCampaignGroupID returns a boolean if a field has been set.
func (o *Role) SetCampaignGroupID(v int32)
SetCampaignGroupID gets a reference to the given int32 and assigns it to the CampaignGroupID field.
func (o *Role) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Role) 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 *Role) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Role) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *Role) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Role) 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 *Role) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Role) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *Role) GetMembers() []int32
GetMembers returns the Members field if non-nil, zero value otherwise.
func (o *Role) GetMembersOk() ([]int32, bool)
GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (o *Role) SetMembers(v []int32)
SetMembers gets a reference to the given []int32 and assigns it to the Members field.
func (o *Role) GetAcl() map[string]interface{}
GetAcl returns the Acl field if non-nil, zero value otherwise.
func (o *Role) GetAclOk() (map[string]interface{}, bool)
GetAclOk returns a tuple with the Acl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (o *Role) SetAcl(v map[string]interface{})
SetAcl gets a reference to the given map[string]interface{} and assigns it to the Acl field.