Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.68 KB

Role.md

File metadata and controls

72 lines (39 loc) · 1.68 KB

Role

Properties

Name Type Description Notes
Pk string [readonly]
Name string

Methods

NewRole

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

NewRoleWithDefaults

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

GetPk

func (o *Role) GetPk() string

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

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.

SetPk

func (o *Role) SetPk(v string)

SetPk sets Pk field to given value.

GetName

func (o *Role) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Role) SetName(v string)

SetName sets Name field to given value.

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