Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.18 KB

Role.md

File metadata and controls

93 lines (50 loc) · 2.18 KB

Role

Properties

Name Type Description Notes
Role string
Project string Project ID
User string User ID

Methods

NewRole

func NewRole(role string, project string, user 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

GetRole

func (o *Role) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *Role) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRole

func (o *Role) SetRole(v string)

SetRole sets Role field to given value.

GetProject

func (o *Role) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *Role) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProject

func (o *Role) SetProject(v string)

SetProject sets Project field to given value.

GetUser

func (o *Role) GetUser() string

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *Role) GetUserOk() (*string, 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.

SetUser

func (o *Role) SetUser(v string)

SetUser sets User field to given value.

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