Name | Type | Description | Notes |
---|---|---|---|
Namespace | Pointer to string | [optional] | |
Relation | Pointer to string | [optional] | |
Subject | Pointer to []string | [optional] |
func NewConstraint() *Constraint
NewConstraint instantiates a new Constraint 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 NewConstraintWithDefaults() *Constraint
NewConstraintWithDefaults instantiates a new Constraint 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 *Constraint) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
func (o *Constraint) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Constraint) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
func (o *Constraint) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (o *Constraint) GetRelation() string
GetRelation returns the Relation field if non-nil, zero value otherwise.
func (o *Constraint) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Constraint) SetRelation(v string)
SetRelation sets Relation field to given value.
func (o *Constraint) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (o *Constraint) GetSubject() []string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *Constraint) GetSubjectOk() (*[]string, bool)
GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Constraint) SetSubject(v []string)
SetSubject sets Subject field to given value.
func (o *Constraint) HasSubject() bool
HasSubject returns a boolean if a field has been set.