--- id: beta-role-mining-potential-role-source-usage title: RoleMiningPotentialRoleSourceUsage pagination_label: RoleMiningPotentialRoleSourceUsage sidebar_label: RoleMiningPotentialRoleSourceUsage sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'RoleMiningPotentialRoleSourceUsage', 'BetaRoleMiningPotentialRoleSourceUsage'] slug: /tools/sdk/go/beta/models/role-mining-potential-role-source-usage tags: ['SDK', 'Software Development Kit', 'RoleMiningPotentialRoleSourceUsage', 'BetaRoleMiningPotentialRoleSourceUsage'] --- # RoleMiningPotentialRoleSourceUsage ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | Pointer to **string** | The identity ID | [optional] **DisplayName** | Pointer to **string** | Display name for the identity | [optional] **Email** | Pointer to **string** | Email address for the identity | [optional] **UsageCount** | Pointer to **int32** | The number of days there has been usage of the source by the identity. | [optional] ## Methods ### NewRoleMiningPotentialRoleSourceUsage `func NewRoleMiningPotentialRoleSourceUsage() *RoleMiningPotentialRoleSourceUsage` NewRoleMiningPotentialRoleSourceUsage instantiates a new RoleMiningPotentialRoleSourceUsage 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 ### NewRoleMiningPotentialRoleSourceUsageWithDefaults `func NewRoleMiningPotentialRoleSourceUsageWithDefaults() *RoleMiningPotentialRoleSourceUsage` NewRoleMiningPotentialRoleSourceUsageWithDefaults instantiates a new RoleMiningPotentialRoleSourceUsage 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 *RoleMiningPotentialRoleSourceUsage) GetId() string` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk `func (o *RoleMiningPotentialRoleSourceUsage) 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 *RoleMiningPotentialRoleSourceUsage) SetId(v string)` SetId sets Id field to given value. ### HasId `func (o *RoleMiningPotentialRoleSourceUsage) HasId() bool` HasId returns a boolean if a field has been set. ### GetDisplayName `func (o *RoleMiningPotentialRoleSourceUsage) GetDisplayName() string` GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. ### GetDisplayNameOk `func (o *RoleMiningPotentialRoleSourceUsage) GetDisplayNameOk() (*string, bool)` GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDisplayName `func (o *RoleMiningPotentialRoleSourceUsage) SetDisplayName(v string)` SetDisplayName sets DisplayName field to given value. ### HasDisplayName `func (o *RoleMiningPotentialRoleSourceUsage) HasDisplayName() bool` HasDisplayName returns a boolean if a field has been set. ### GetEmail `func (o *RoleMiningPotentialRoleSourceUsage) GetEmail() string` GetEmail returns the Email field if non-nil, zero value otherwise. ### GetEmailOk `func (o *RoleMiningPotentialRoleSourceUsage) GetEmailOk() (*string, bool)` GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEmail `func (o *RoleMiningPotentialRoleSourceUsage) SetEmail(v string)` SetEmail sets Email field to given value. ### HasEmail `func (o *RoleMiningPotentialRoleSourceUsage) HasEmail() bool` HasEmail returns a boolean if a field has been set. ### GetUsageCount `func (o *RoleMiningPotentialRoleSourceUsage) GetUsageCount() int32` GetUsageCount returns the UsageCount field if non-nil, zero value otherwise. ### GetUsageCountOk `func (o *RoleMiningPotentialRoleSourceUsage) GetUsageCountOk() (*int32, bool)` GetUsageCountOk returns a tuple with the UsageCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUsageCount `func (o *RoleMiningPotentialRoleSourceUsage) SetUsageCount(v int32)` SetUsageCount sets UsageCount field to given value. ### HasUsageCount `func (o *RoleMiningPotentialRoleSourceUsage) HasUsageCount() bool` HasUsageCount returns a boolean if a field has been set.