Name | Type | Description | Notes |
---|---|---|---|
Admin | Pointer to bool | Is admin | [optional] |
PathRules | Pointer to []PathRule | The path the rules refers to | [optional] |
func NewRules() *Rules
NewRules instantiates a new Rules 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 NewRulesWithDefaults() *Rules
NewRulesWithDefaults instantiates a new Rules 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 *Rules) GetAdmin() bool
GetAdmin returns the Admin field if non-nil, zero value otherwise.
func (o *Rules) GetAdminOk() (*bool, bool)
GetAdminOk returns a tuple with the Admin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Rules) SetAdmin(v bool)
SetAdmin sets Admin field to given value.
func (o *Rules) HasAdmin() bool
HasAdmin returns a boolean if a field has been set.
func (o *Rules) GetPathRules() []PathRule
GetPathRules returns the PathRules field if non-nil, zero value otherwise.
func (o *Rules) GetPathRulesOk() (*[]PathRule, bool)
GetPathRulesOk returns a tuple with the PathRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Rules) SetPathRules(v []PathRule)
SetPathRules sets PathRules field to given value.
func (o *Rules) HasPathRules() bool
HasPathRules returns a boolean if a field has been set.