Name | Type | Description | Notes |
---|---|---|---|
Permission | MemberRole | ||
User | User |
func NewUserContentPermission(permission MemberRole, user User, ) *UserContentPermission
NewUserContentPermission instantiates a new UserContentPermission 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 NewUserContentPermissionWithDefaults() *UserContentPermission
NewUserContentPermissionWithDefaults instantiates a new UserContentPermission 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 *UserContentPermission) GetPermission() MemberRole
GetPermission returns the Permission field if non-nil, zero value otherwise.
func (o *UserContentPermission) GetPermissionOk() (*MemberRole, bool)
GetPermissionOk returns a tuple with the Permission field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserContentPermission) SetPermission(v MemberRole)
SetPermission sets Permission field to given value.
func (o *UserContentPermission) GetUser() User
GetUser returns the User field if non-nil, zero value otherwise.
func (o *UserContentPermission) GetUserOk() (*User, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserContentPermission) SetUser(v User)
SetUser sets User field to given value.