Name | Type | Description | Notes |
---|---|---|---|
Account | Pointer to PermissionCollectionAccount | [optional] | |
UserId | UserId | ||
Resources | Pointer to []Resource | A list of the resources the user has some permission to. | [optional] |
Pagination | Pointer to Pagination | [optional] | |
Links | CollectionLinks |
func NewUserResourcesCollection(userId UserId, links CollectionLinks, ) *UserResourcesCollection
NewUserResourcesCollection instantiates a new UserResourcesCollection 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 NewUserResourcesCollectionWithDefaults() *UserResourcesCollection
NewUserResourcesCollectionWithDefaults instantiates a new UserResourcesCollection 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 *UserResourcesCollection) GetAccount() PermissionCollectionAccount
GetAccount returns the Account field if non-nil, zero value otherwise.
func (o *UserResourcesCollection) GetAccountOk() (*PermissionCollectionAccount, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResourcesCollection) SetAccount(v PermissionCollectionAccount)
SetAccount sets Account field to given value.
func (o *UserResourcesCollection) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (o *UserResourcesCollection) GetUserId() UserId
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *UserResourcesCollection) GetUserIdOk() (*UserId, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResourcesCollection) SetUserId(v UserId)
SetUserId sets UserId field to given value.
func (o *UserResourcesCollection) GetResources() []Resource
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *UserResourcesCollection) GetResourcesOk() (*[]Resource, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResourcesCollection) SetResources(v []Resource)
SetResources sets Resources field to given value.
func (o *UserResourcesCollection) HasResources() bool
HasResources returns a boolean if a field has been set.
func (o *UserResourcesCollection) GetPagination() Pagination
GetPagination returns the Pagination field if non-nil, zero value otherwise.
func (o *UserResourcesCollection) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResourcesCollection) SetPagination(v Pagination)
SetPagination sets Pagination field to given value.
func (o *UserResourcesCollection) HasPagination() bool
HasPagination returns a boolean if a field has been set.
func (o *UserResourcesCollection) GetLinks() CollectionLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *UserResourcesCollection) GetLinksOk() (*CollectionLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserResourcesCollection) SetLinks(v CollectionLinks)
SetLinks sets Links field to given value.