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. |
func NewResourceUser(resourceId string, userId string, accessLevel ResourceAccessLevel, fullName string, email string, expirationDate NullableTime, ) *ResourceUser
NewResourceUser instantiates a new ResourceUser 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 NewResourceUserWithDefaults() *ResourceUser
NewResourceUserWithDefaults instantiates a new ResourceUser 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 *ResourceUser) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *ResourceUser) 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 *ResourceUser) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *ResourceUser) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *ResourceUser) 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 *ResourceUser) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *ResourceUser) GetAccessLevel() ResourceAccessLevel
GetAccessLevel returns the AccessLevel field if non-nil, zero value otherwise.
func (o *ResourceUser) 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 *ResourceUser) SetAccessLevel(v ResourceAccessLevel)
SetAccessLevel sets AccessLevel field to given value.
func (o *ResourceUser) GetFullName() string
GetFullName returns the FullName field if non-nil, zero value otherwise.
func (o *ResourceUser) 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 *ResourceUser) SetFullName(v string)
SetFullName sets FullName field to given value.
func (o *ResourceUser) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *ResourceUser) 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 *ResourceUser) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *ResourceUser) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field if non-nil, zero value otherwise.
func (o *ResourceUser) 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 *ResourceUser) SetExpirationDate(v time.Time)
SetExpirationDate sets ExpirationDate field to given value.
func (o *ResourceUser) SetExpirationDateNil(b bool)
SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil
func (o *ResourceUser) UnsetExpirationDate()
UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil