Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.36 KB

ApiRole.md

File metadata and controls

93 lines (50 loc) · 2.36 KB

ApiRole

Properties

Name Type Description Notes
Id string [readonly]
DisplayName string
Privileges []string

Methods

NewApiRole

func NewApiRole(id string, displayName string, privileges []string, ) *ApiRole

NewApiRole instantiates a new ApiRole 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

NewApiRoleWithDefaults

func NewApiRoleWithDefaults() *ApiRole

NewApiRoleWithDefaults instantiates a new ApiRole 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

GetId

func (o *ApiRole) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ApiRole) GetIdOk() (*string, bool)

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

SetId

func (o *ApiRole) SetId(v string)

SetId sets Id field to given value.

GetDisplayName

func (o *ApiRole) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *ApiRole) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *ApiRole) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

GetPrivileges

func (o *ApiRole) GetPrivileges() []string

GetPrivileges returns the Privileges field if non-nil, zero value otherwise.

GetPrivilegesOk

func (o *ApiRole) GetPrivilegesOk() (*[]string, bool)

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

SetPrivileges

func (o *ApiRole) SetPrivileges(v []string)

SetPrivileges sets Privileges field to given value.

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