Name | Type | Description | Notes |
---|---|---|---|
Pk | string | [readonly] | |
Name | string |
func NewRole(pk string, name string, ) *Role
NewRole instantiates a new Role 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 NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role 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 *Role) GetPk() string
GetPk returns the Pk field if non-nil, zero value otherwise.
func (o *Role) GetPkOk() (*string, bool)
GetPkOk returns a tuple with the Pk field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetPk(v string)
SetPk sets Pk field to given value.
func (o *Role) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Role) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Role) SetName(v string)
SetName sets Name field to given value.