Name | Type | Description | Notes |
---|---|---|---|
RoleID | Pointer to int32 | ID of role. | |
UserID | Pointer to int32 | ID of User. |
func (o *RoleMembership) GetRoleID() int32
GetRoleID returns the RoleID field if non-nil, zero value otherwise.
func (o *RoleMembership) GetRoleIDOk() (int32, bool)
GetRoleIDOk returns a tuple with the RoleID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoleMembership) HasRoleID() bool
HasRoleID returns a boolean if a field has been set.
func (o *RoleMembership) SetRoleID(v int32)
SetRoleID gets a reference to the given int32 and assigns it to the RoleID field.
func (o *RoleMembership) GetUserID() int32
GetUserID returns the UserID field if non-nil, zero value otherwise.
func (o *RoleMembership) GetUserIDOk() (int32, 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 *RoleMembership) HasUserID() bool
HasUserID returns a boolean if a field has been set.
func (o *RoleMembership) SetUserID(v int32)
SetUserID gets a reference to the given int32 and assigns it to the UserID field.