---
id: v2024-role-insights-role
title: RoleInsightsRole
pagination_label: RoleInsightsRole
sidebar_label: RoleInsightsRole
sidebar_class_name: gosdk
keywords: ['go', 'Golang', 'sdk', 'RoleInsightsRole', 'V2024RoleInsightsRole'] 
slug: /tools/sdk/go/v2024/models/role-insights-role
tags: ['SDK', 'Software Development Kit', 'RoleInsightsRole', 'V2024RoleInsightsRole']
---

# RoleInsightsRole

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** | Role name | [optional] 
**Id** | Pointer to **string** | Role id | [optional] 
**Description** | Pointer to **string** | Role description | [optional] 
**OwnerName** | Pointer to **string** | Role owner name | [optional] 
**OwnerId** | Pointer to **string** | Role owner id | [optional] 

## Methods

### NewRoleInsightsRole

`func NewRoleInsightsRole() *RoleInsightsRole`

NewRoleInsightsRole instantiates a new RoleInsightsRole 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

### NewRoleInsightsRoleWithDefaults

`func NewRoleInsightsRoleWithDefaults() *RoleInsightsRole`

NewRoleInsightsRoleWithDefaults instantiates a new RoleInsightsRole 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

### GetName

`func (o *RoleInsightsRole) GetName() string`

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

### GetNameOk

`func (o *RoleInsightsRole) 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 *RoleInsightsRole) SetName(v string)`

SetName sets Name field to given value.

### HasName

`func (o *RoleInsightsRole) HasName() bool`

HasName returns a boolean if a field has been set.

### GetId

`func (o *RoleInsightsRole) GetId() string`

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

### GetIdOk

`func (o *RoleInsightsRole) 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 *RoleInsightsRole) SetId(v string)`

SetId sets Id field to given value.

### HasId

`func (o *RoleInsightsRole) HasId() bool`

HasId returns a boolean if a field has been set.

### GetDescription

`func (o *RoleInsightsRole) GetDescription() string`

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

### GetDescriptionOk

`func (o *RoleInsightsRole) 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 *RoleInsightsRole) SetDescription(v string)`

SetDescription sets Description field to given value.

### HasDescription

`func (o *RoleInsightsRole) HasDescription() bool`

HasDescription returns a boolean if a field has been set.

### GetOwnerName

`func (o *RoleInsightsRole) GetOwnerName() string`

GetOwnerName returns the OwnerName field if non-nil, zero value otherwise.

### GetOwnerNameOk

`func (o *RoleInsightsRole) GetOwnerNameOk() (*string, bool)`

GetOwnerNameOk returns a tuple with the OwnerName field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOwnerName

`func (o *RoleInsightsRole) SetOwnerName(v string)`

SetOwnerName sets OwnerName field to given value.

### HasOwnerName

`func (o *RoleInsightsRole) HasOwnerName() bool`

HasOwnerName returns a boolean if a field has been set.

### GetOwnerId

`func (o *RoleInsightsRole) GetOwnerId() string`

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

### GetOwnerIdOk

`func (o *RoleInsightsRole) GetOwnerIdOk() (*string, bool)`

GetOwnerIdOk returns a tuple with the OwnerId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOwnerId

`func (o *RoleInsightsRole) SetOwnerId(v string)`

SetOwnerId sets OwnerId field to given value.

### HasOwnerId

`func (o *RoleInsightsRole) HasOwnerId() bool`

HasOwnerId returns a boolean if a field has been set.


