Name | Type | Description | Notes |
---|---|---|---|
User | string | ||
Relation | string | ||
Object | string | ||
Condition | Pointer to RelationshipCondition | [optional] |
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
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
func (o *TupleKey) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
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.
func (o *TupleKey) SetUser(v string)
SetUser sets User field to given value.
func (o *TupleKey) GetRelation() string
GetRelation returns the Relation field if non-nil, zero value otherwise.
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.
func (o *TupleKey) SetRelation(v string)
SetRelation sets Relation field to given value.
func (o *TupleKey) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
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.
func (o *TupleKey) SetObject(v string)
SetObject sets Object field to given value.
func (o *TupleKey) GetCondition() RelationshipCondition
GetCondition returns the Condition field if non-nil, zero value otherwise.
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.
func (o *TupleKey) SetCondition(v RelationshipCondition)
SetCondition sets Condition field to given value.
func (o *TupleKey) HasCondition() bool
HasCondition returns a boolean if a field has been set.