Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.77 KB

Constraint.md

File metadata and controls

108 lines (59 loc) · 2.77 KB

Constraint

Properties

Name Type Description Notes
Namespace Pointer to string [optional]
Relation Pointer to string [optional]
Subject Pointer to []string [optional]

Methods

NewConstraint

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

NewConstraintWithDefaults

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

GetNamespace

func (o *Constraint) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

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.

SetNamespace

func (o *Constraint) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *Constraint) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetRelation

func (o *Constraint) GetRelation() string

GetRelation returns the Relation field if non-nil, zero value otherwise.

GetRelationOk

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.

SetRelation

func (o *Constraint) SetRelation(v string)

SetRelation sets Relation field to given value.

HasRelation

func (o *Constraint) HasRelation() bool

HasRelation returns a boolean if a field has been set.

GetSubject

func (o *Constraint) GetSubject() []string

GetSubject returns the Subject field if non-nil, zero value otherwise.

GetSubjectOk

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.

SetSubject

func (o *Constraint) SetSubject(v []string)

SetSubject sets Subject field to given value.

HasSubject

func (o *Constraint) HasSubject() bool

HasSubject returns a boolean if a field has been set.

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