Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 1.57 KB

RoleMembership.md

File metadata and controls

65 lines (34 loc) · 1.57 KB

RoleMembership

Properties

Name Type Description Notes
RoleID Pointer to int32 ID of role.
UserID Pointer to int32 ID of User.

Methods

GetRoleID

func (o *RoleMembership) GetRoleID() int32

GetRoleID returns the RoleID field if non-nil, zero value otherwise.

GetRoleIDOk

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.

HasRoleID

func (o *RoleMembership) HasRoleID() bool

HasRoleID returns a boolean if a field has been set.

SetRoleID

func (o *RoleMembership) SetRoleID(v int32)

SetRoleID gets a reference to the given int32 and assigns it to the RoleID field.

GetUserID

func (o *RoleMembership) GetUserID() int32

GetUserID returns the UserID field if non-nil, zero value otherwise.

GetUserIDOk

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.

HasUserID

func (o *RoleMembership) HasUserID() bool

HasUserID returns a boolean if a field has been set.

SetUserID

func (o *RoleMembership) SetUserID(v int32)

SetUserID gets a reference to the given int32 and assigns it to the UserID field.

[Back to Model list] [Back to API list] [Back to README]