RoleBriefVO
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 string | Role Name | [optional] |
| Source | Pointer to int32 | Role created resource. It should be a value as follows: 0: default; 1:create by standard controller or customer controller; 2: create by MSP | [optional] |
| Type | Pointer to int32 | Role Type should be a value as follows: 0: standard; 1: customer; 2: msp. | [optional] |
Methods
NewRoleBriefVO
func NewRoleBriefVO() *RoleBriefVO
NewRoleBriefVO instantiates a new RoleBriefVO 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
NewRoleBriefVOWithDefaults
func NewRoleBriefVOWithDefaults() *RoleBriefVO
NewRoleBriefVOWithDefaults instantiates a new RoleBriefVO 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 *RoleBriefVO) GetDefaultRole() bool
GetDefaultRole returns the DefaultRole field if non-nil, zero value otherwise.
GetDefaultRoleOk
func (o *RoleBriefVO) 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 *RoleBriefVO) SetDefaultRole(v bool)
SetDefaultRole sets DefaultRole field to given value.
HasDefaultRole
func (o *RoleBriefVO) HasDefaultRole() bool
HasDefaultRole returns a boolean if a field has been set.
GetId
func (o *RoleBriefVO) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *RoleBriefVO) 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 *RoleBriefVO) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *RoleBriefVO) HasId() bool
HasId returns a boolean if a field has been set.
GetName
func (o *RoleBriefVO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *RoleBriefVO) 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 *RoleBriefVO) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *RoleBriefVO) HasName() bool
HasName returns a boolean if a field has been set.
GetSource
func (o *RoleBriefVO) GetSource() int32
GetSource returns the Source field if non-nil, zero value otherwise.
GetSourceOk
func (o *RoleBriefVO) GetSourceOk() (*int32, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSource
func (o *RoleBriefVO) SetSource(v int32)
SetSource sets Source field to given value.
HasSource
func (o *RoleBriefVO) HasSource() bool
HasSource returns a boolean if a field has been set.
GetType
func (o *RoleBriefVO) GetType() int32
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *RoleBriefVO) GetTypeOk() (*int32, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *RoleBriefVO) SetType(v int32)
SetType sets Type field to given value.
HasType
func (o *RoleBriefVO) HasType() bool
HasType returns a boolean if a field has been set.