Name | Type | Description | Notes |
---|---|---|---|
ResourceId | string | The ID of the resource. | |
UserId | string | The ID of the user. | |
AccessLevel | ResourceAccessLevel | ||
FullName | string | The user's full name. | |
string | The user's email. | ||
ExpirationDate | NullableTime | The day and time the user's access will expire. | |
HasDirectAccess | bool | The user has direct access to this resources (vs. indirectly, like through a group). | |
NumAccessPaths | int32 | The number of ways in which the user has access through this resource (directly and indirectly). |
func NewResourceAccessUser(resourceId string, userId string, accessLevel ResourceAccessLevel, fullName string, email string, expirationDate NullableTime, hasDirectAccess bool, numAccessPaths int32, ) *ResourceAccessUser
NewResourceAccessUser instantiates a new ResourceAccessUser 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 NewResourceAccessUserWithDefaults() *ResourceAccessUser
NewResourceAccessUserWithDefaults instantiates a new ResourceAccessUser 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 *ResourceAccessUser) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *ResourceAccessUser) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetUserIdOk() (*string, 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 *ResourceAccessUser) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *ResourceAccessUser) GetAccessLevel() ResourceAccessLevel
GetAccessLevel returns the AccessLevel field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetAccessLevelOk() (*ResourceAccessLevel, bool)
GetAccessLevelOk returns a tuple with the AccessLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetAccessLevel(v ResourceAccessLevel)
SetAccessLevel sets AccessLevel field to given value.
func (o *ResourceAccessUser) GetFullName() string
GetFullName returns the FullName field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetFullNameOk() (*string, bool)
GetFullNameOk returns a tuple with the FullName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetFullName(v string)
SetFullName sets FullName field to given value.
func (o *ResourceAccessUser) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *ResourceAccessUser) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetExpirationDateOk() (*time.Time, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetExpirationDate(v time.Time)
SetExpirationDate sets ExpirationDate field to given value.
func (o *ResourceAccessUser) SetExpirationDateNil(b bool)
SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil
func (o *ResourceAccessUser) UnsetExpirationDate()
UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil
func (o *ResourceAccessUser) GetHasDirectAccess() bool
GetHasDirectAccess returns the HasDirectAccess field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetHasDirectAccessOk() (*bool, bool)
GetHasDirectAccessOk returns a tuple with the HasDirectAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetHasDirectAccess(v bool)
SetHasDirectAccess sets HasDirectAccess field to given value.
func (o *ResourceAccessUser) GetNumAccessPaths() int32
GetNumAccessPaths returns the NumAccessPaths field if non-nil, zero value otherwise.
func (o *ResourceAccessUser) GetNumAccessPathsOk() (*int32, bool)
GetNumAccessPathsOk returns a tuple with the NumAccessPaths field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceAccessUser) SetNumAccessPaths(v int32)
SetNumAccessPaths sets NumAccessPaths field to given value.