Name | Type | Description | Notes |
---|---|---|---|
RoleId | Pointer to int32 | [optional] | |
Permissions | Pointer to []string | [optional] |
func NewModelsCollectionRolePermissions() *ModelsCollectionRolePermissions
NewModelsCollectionRolePermissions instantiates a new ModelsCollectionRolePermissions 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 NewModelsCollectionRolePermissionsWithDefaults() *ModelsCollectionRolePermissions
NewModelsCollectionRolePermissionsWithDefaults instantiates a new ModelsCollectionRolePermissions 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 *ModelsCollectionRolePermissions) GetRoleId() int32
GetRoleId returns the RoleId field if non-nil, zero value otherwise.
func (o *ModelsCollectionRolePermissions) GetRoleIdOk() (*int32, bool)
GetRoleIdOk returns a tuple with the RoleId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsCollectionRolePermissions) SetRoleId(v int32)
SetRoleId sets RoleId field to given value.
func (o *ModelsCollectionRolePermissions) HasRoleId() bool
HasRoleId returns a boolean if a field has been set.
func (o *ModelsCollectionRolePermissions) GetPermissions() []string
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *ModelsCollectionRolePermissions) GetPermissionsOk() (*[]string, bool)
GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsCollectionRolePermissions) SetPermissions(v []string)
SetPermissions sets Permissions field to given value.
func (o *ModelsCollectionRolePermissions) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.