RoleCollection

Properties

NameTypeDescriptionNotes
RolesPointer to []Role[optional]
TotalEntriesPointer to int32Count of objects in the current result set.[optional]

Methods

NewRoleCollection

func NewRoleCollection() *RoleCollection

NewRoleCollection instantiates a new RoleCollection 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

NewRoleCollectionWithDefaults

func NewRoleCollectionWithDefaults() *RoleCollection

NewRoleCollectionWithDefaults instantiates a new RoleCollection 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

GetRoles

func (o *RoleCollection) GetRoles() []Role

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

func (o *RoleCollection) GetRolesOk() (*[]Role, bool)

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

SetRoles

func (o *RoleCollection) SetRoles(v []Role)

SetRoles sets Roles field to given value.

HasRoles

func (o *RoleCollection) HasRoles() bool

HasRoles returns a boolean if a field has been set.

GetTotalEntries

func (o *RoleCollection) GetTotalEntries() int32

GetTotalEntries returns the TotalEntries field if non-nil, zero value otherwise.

GetTotalEntriesOk

func (o *RoleCollection) GetTotalEntriesOk() (*int32, bool)

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

SetTotalEntries

func (o *RoleCollection) SetTotalEntries(v int32)

SetTotalEntries sets TotalEntries field to given value.

HasTotalEntries

func (o *RoleCollection) HasTotalEntries() bool

HasTotalEntries returns a boolean if a field has been set.

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