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
161 lines
4.3 KiB
Markdown
Generated
161 lines
4.3 KiB
Markdown
Generated
# RelationQuery
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**Namespace** | Pointer to **string** | Namespace to query | [optional]
|
|
**Object** | Pointer to **string** | Object to query | [optional]
|
|
**Relation** | Pointer to **string** | Relation to query | [optional]
|
|
**SubjectId** | Pointer to **string** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional]
|
|
**SubjectSet** | Pointer to [**SubjectSet**](SubjectSet.md) | | [optional]
|
|
|
|
## Methods
|
|
|
|
### NewRelationQuery
|
|
|
|
`func NewRelationQuery() *RelationQuery`
|
|
|
|
NewRelationQuery instantiates a new RelationQuery 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
|
|
|
|
### NewRelationQueryWithDefaults
|
|
|
|
`func NewRelationQueryWithDefaults() *RelationQuery`
|
|
|
|
NewRelationQueryWithDefaults instantiates a new RelationQuery 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 *RelationQuery) GetNamespace() string`
|
|
|
|
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
|
|
|
|
### GetNamespaceOk
|
|
|
|
`func (o *RelationQuery) 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 *RelationQuery) SetNamespace(v string)`
|
|
|
|
SetNamespace sets Namespace field to given value.
|
|
|
|
### HasNamespace
|
|
|
|
`func (o *RelationQuery) HasNamespace() bool`
|
|
|
|
HasNamespace returns a boolean if a field has been set.
|
|
|
|
### GetObject
|
|
|
|
`func (o *RelationQuery) GetObject() string`
|
|
|
|
GetObject returns the Object field if non-nil, zero value otherwise.
|
|
|
|
### GetObjectOk
|
|
|
|
`func (o *RelationQuery) 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 *RelationQuery) SetObject(v string)`
|
|
|
|
SetObject sets Object field to given value.
|
|
|
|
### HasObject
|
|
|
|
`func (o *RelationQuery) HasObject() bool`
|
|
|
|
HasObject returns a boolean if a field has been set.
|
|
|
|
### GetRelation
|
|
|
|
`func (o *RelationQuery) GetRelation() string`
|
|
|
|
GetRelation returns the Relation field if non-nil, zero value otherwise.
|
|
|
|
### GetRelationOk
|
|
|
|
`func (o *RelationQuery) 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 *RelationQuery) SetRelation(v string)`
|
|
|
|
SetRelation sets Relation field to given value.
|
|
|
|
### HasRelation
|
|
|
|
`func (o *RelationQuery) HasRelation() bool`
|
|
|
|
HasRelation returns a boolean if a field has been set.
|
|
|
|
### GetSubjectId
|
|
|
|
`func (o *RelationQuery) GetSubjectId() string`
|
|
|
|
GetSubjectId returns the SubjectId field if non-nil, zero value otherwise.
|
|
|
|
### GetSubjectIdOk
|
|
|
|
`func (o *RelationQuery) 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 *RelationQuery) SetSubjectId(v string)`
|
|
|
|
SetSubjectId sets SubjectId field to given value.
|
|
|
|
### HasSubjectId
|
|
|
|
`func (o *RelationQuery) HasSubjectId() bool`
|
|
|
|
HasSubjectId returns a boolean if a field has been set.
|
|
|
|
### GetSubjectSet
|
|
|
|
`func (o *RelationQuery) GetSubjectSet() SubjectSet`
|
|
|
|
GetSubjectSet returns the SubjectSet field if non-nil, zero value otherwise.
|
|
|
|
### GetSubjectSetOk
|
|
|
|
`func (o *RelationQuery) 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 *RelationQuery) SetSubjectSet(v SubjectSet)`
|
|
|
|
SetSubjectSet sets SubjectSet field to given value.
|
|
|
|
### HasSubjectSet
|
|
|
|
`func (o *RelationQuery) HasSubjectSet() bool`
|
|
|
|
HasSubjectSet returns a boolean if a field has been set.
|
|
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|