Name | Type | Description | Notes |
---|---|---|---|
Rights | Pointer to []string | All the rights (e.g. actions) that this permission allows on the target | [optional] [readonly] |
Target | Pointer to string | The target the permission would grants rights on. | [optional] [readonly] |
func NewPermissionDto() *PermissionDto
NewPermissionDto instantiates a new PermissionDto 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
func NewPermissionDtoWithDefaults() *PermissionDto
NewPermissionDtoWithDefaults instantiates a new PermissionDto 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
func (o *PermissionDto) GetRights() []string
GetRights returns the Rights field if non-nil, zero value otherwise.
func (o *PermissionDto) GetRightsOk() (*[]string, bool)
GetRightsOk returns a tuple with the Rights field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PermissionDto) SetRights(v []string)
SetRights sets Rights field to given value.
func (o *PermissionDto) HasRights() bool
HasRights returns a boolean if a field has been set.
func (o *PermissionDto) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *PermissionDto) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PermissionDto) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *PermissionDto) HasTarget() bool
HasTarget returns a boolean if a field has been set.