Name | Type | Description | Notes |
---|---|---|---|
ResourceId | string | The ID of the resource. | |
UserId | string | The ID of the user. | |
AccessLevel | Pointer to ResourceAccessLevel | [optional] | |
Status | ResourceUserAccessStatusEnum | ||
ExpirationDate | NullableTime | The day and time the user's access will expire. |
func NewResourceUserAccessStatus(resourceId string, userId string, status ResourceUserAccessStatusEnum, expirationDate NullableTime, ) *ResourceUserAccessStatus
NewResourceUserAccessStatus instantiates a new ResourceUserAccessStatus 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 NewResourceUserAccessStatusWithDefaults() *ResourceUserAccessStatus
NewResourceUserAccessStatusWithDefaults instantiates a new ResourceUserAccessStatus 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 *ResourceUserAccessStatus) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *ResourceUserAccessStatus) 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 *ResourceUserAccessStatus) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *ResourceUserAccessStatus) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *ResourceUserAccessStatus) 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 *ResourceUserAccessStatus) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *ResourceUserAccessStatus) GetAccessLevel() ResourceAccessLevel
GetAccessLevel returns the AccessLevel field if non-nil, zero value otherwise.
func (o *ResourceUserAccessStatus) 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 *ResourceUserAccessStatus) SetAccessLevel(v ResourceAccessLevel)
SetAccessLevel sets AccessLevel field to given value.
func (o *ResourceUserAccessStatus) HasAccessLevel() bool
HasAccessLevel returns a boolean if a field has been set.
func (o *ResourceUserAccessStatus) GetStatus() ResourceUserAccessStatusEnum
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *ResourceUserAccessStatus) GetStatusOk() (*ResourceUserAccessStatusEnum, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceUserAccessStatus) SetStatus(v ResourceUserAccessStatusEnum)
SetStatus sets Status field to given value.
func (o *ResourceUserAccessStatus) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field if non-nil, zero value otherwise.
func (o *ResourceUserAccessStatus) 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 *ResourceUserAccessStatus) SetExpirationDate(v time.Time)
SetExpirationDate sets ExpirationDate field to given value.
func (o *ResourceUserAccessStatus) SetExpirationDateNil(b bool)
SetExpirationDateNil sets the value for ExpirationDate to be an explicit nil
func (o *ResourceUserAccessStatus) UnsetExpirationDate()
UnsetExpirationDate ensures that no value is present for ExpirationDate, not even an explicit nil