Files
upstream-ory-keto/internal/httpclient/docs/Relationship.md
upstream-mirror 9456a4e922
Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
snapshot of https://github.com/ory/keto.git (master, 2026-09-16; blobs > 131072B omitted)
2026-09-16 01:08:34 +05:00

3.9 KiB
Generated

Relationship

Properties

Name Type Description Notes
Namespace string Namespace of the Relation Tuple
Object string Object of the Relation Tuple
Relation string Relation of the Relation Tuple
SubjectId Pointer to string SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. [optional]
SubjectSet Pointer to SubjectSet [optional]

Methods

NewRelationship

func NewRelationship(namespace string, object string, relation string, ) *Relationship

NewRelationship instantiates a new Relationship 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

NewRelationshipWithDefaults

func NewRelationshipWithDefaults() *Relationship

NewRelationshipWithDefaults instantiates a new Relationship 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 *Relationship) GetNamespace() string

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

GetNamespaceOk

func (o *Relationship) 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 *Relationship) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

GetObject

func (o *Relationship) GetObject() string

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

GetObjectOk

func (o *Relationship) 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 *Relationship) SetObject(v string)

SetObject sets Object field to given value.

GetRelation

func (o *Relationship) GetRelation() string

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

GetRelationOk

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

SetRelation sets Relation field to given value.

GetSubjectId

func (o *Relationship) GetSubjectId() string

GetSubjectId returns the SubjectId field if non-nil, zero value otherwise.

GetSubjectIdOk

func (o *Relationship) GetSubjectIdOk() (*string, bool)

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

SetSubjectId

func (o *Relationship) SetSubjectId(v string)

SetSubjectId sets SubjectId field to given value.

HasSubjectId

func (o *Relationship) HasSubjectId() bool

HasSubjectId returns a boolean if a field has been set.

GetSubjectSet

func (o *Relationship) GetSubjectSet() SubjectSet

GetSubjectSet returns the SubjectSet field if non-nil, zero value otherwise.

GetSubjectSetOk

func (o *Relationship) GetSubjectSetOk() (*SubjectSet, bool)

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

SetSubjectSet

func (o *Relationship) SetSubjectSet(v SubjectSet)

SetSubjectSet sets SubjectSet field to given value.

HasSubjectSet

func (o *Relationship) HasSubjectSet() bool

HasSubjectSet returns a boolean if a field has been set.

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