Skip to content

MspRoleDetailVO

Properties

Name Type Description Notes
DefaultRole Pointer to bool Whether role is default role [optional]
Id Pointer to string Role ID [optional]
Name Pointer to int32 Role type [optional]
Privilege Pointer to MspRoleVO [optional]

Methods

NewMspRoleDetailVO

func NewMspRoleDetailVO() *MspRoleDetailVO

NewMspRoleDetailVO instantiates a new MspRoleDetailVO 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

NewMspRoleDetailVOWithDefaults

func NewMspRoleDetailVOWithDefaults() *MspRoleDetailVO

NewMspRoleDetailVOWithDefaults instantiates a new MspRoleDetailVO 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

GetDefaultRole

func (o *MspRoleDetailVO) GetDefaultRole() bool

GetDefaultRole returns the DefaultRole field if non-nil, zero value otherwise.

GetDefaultRoleOk

func (o *MspRoleDetailVO) GetDefaultRoleOk() (*bool, bool)

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

SetDefaultRole

func (o *MspRoleDetailVO) SetDefaultRole(v bool)

SetDefaultRole sets DefaultRole field to given value.

HasDefaultRole

func (o *MspRoleDetailVO) HasDefaultRole() bool

HasDefaultRole returns a boolean if a field has been set.

GetId

func (o *MspRoleDetailVO) GetId() string

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

GetIdOk

func (o *MspRoleDetailVO) 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 *MspRoleDetailVO) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *MspRoleDetailVO) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *MspRoleDetailVO) GetName() int32

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

GetNameOk

func (o *MspRoleDetailVO) GetNameOk() (*int32, 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 *MspRoleDetailVO) SetName(v int32)

SetName sets Name field to given value.

HasName

func (o *MspRoleDetailVO) HasName() bool

HasName returns a boolean if a field has been set.

GetPrivilege

func (o *MspRoleDetailVO) GetPrivilege() MspRoleVO

GetPrivilege returns the Privilege field if non-nil, zero value otherwise.

GetPrivilegeOk

func (o *MspRoleDetailVO) GetPrivilegeOk() (*MspRoleVO, bool)

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

SetPrivilege

func (o *MspRoleDetailVO) SetPrivilege(v MspRoleVO)

SetPrivilege sets Privilege field to given value.

HasPrivilege

func (o *MspRoleDetailVO) HasPrivilege() bool

HasPrivilege returns a boolean if a field has been set.

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