Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3 KB

TupleKey.md

File metadata and controls

119 lines (64 loc) · 3 KB

TupleKey

Properties

Name Type Description Notes
User string
Relation string
Object string
Condition Pointer to RelationshipCondition [optional]

Methods

NewTupleKey

func NewTupleKey(user string, relation string, object string, ) *TupleKey

NewTupleKey instantiates a new TupleKey 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

NewTupleKeyWithDefaults

func NewTupleKeyWithDefaults() *TupleKey

NewTupleKeyWithDefaults instantiates a new TupleKey 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

GetUser

func (o *TupleKey) GetUser() string

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *TupleKey) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUser

func (o *TupleKey) SetUser(v string)

SetUser sets User field to given value.

GetRelation

func (o *TupleKey) GetRelation() string

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

GetRelationOk

func (o *TupleKey) 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 *TupleKey) SetRelation(v string)

SetRelation sets Relation field to given value.

GetObject

func (o *TupleKey) GetObject() string

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

func (o *TupleKey) GetObjectOk() (*string, bool)

GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetObject

func (o *TupleKey) SetObject(v string)

SetObject sets Object field to given value.

GetCondition

func (o *TupleKey) GetCondition() RelationshipCondition

GetCondition returns the Condition field if non-nil, zero value otherwise.

GetConditionOk

func (o *TupleKey) GetConditionOk() (*RelationshipCondition, bool)

GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCondition

func (o *TupleKey) SetCondition(v RelationshipCondition)

SetCondition sets Condition field to given value.

HasCondition

func (o *TupleKey) HasCondition() bool

HasCondition returns a boolean if a field has been set.

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