Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.55 KB

ModelsCollectionRolePermissions.md

File metadata and controls

82 lines (45 loc) · 2.55 KB

ModelsCollectionRolePermissions

Properties

Name Type Description Notes
RoleId Pointer to int32 [optional]
Permissions Pointer to []string [optional]

Methods

NewModelsCollectionRolePermissions

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

NewModelsCollectionRolePermissionsWithDefaults

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

GetRoleId

func (o *ModelsCollectionRolePermissions) GetRoleId() int32

GetRoleId returns the RoleId field if non-nil, zero value otherwise.

GetRoleIdOk

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.

SetRoleId

func (o *ModelsCollectionRolePermissions) SetRoleId(v int32)

SetRoleId sets RoleId field to given value.

HasRoleId

func (o *ModelsCollectionRolePermissions) HasRoleId() bool

HasRoleId returns a boolean if a field has been set.

GetPermissions

func (o *ModelsCollectionRolePermissions) GetPermissions() []string

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

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.

SetPermissions

func (o *ModelsCollectionRolePermissions) SetPermissions(v []string)

SetPermissions sets Permissions field to given value.

HasPermissions

func (o *ModelsCollectionRolePermissions) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]