ListObjectsRequest
August 23, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AuthorizationModelId | Pointer to string | [optional] | |
| Type | string | ||
| Relation | string | ||
| User | string | ||
| ContextualTuples | Pointer to ContextualTupleKeys | [optional] | |
| Context | Pointer to map[string]interface{} | Additional request context that will be used to evaluate any ABAC conditions encountered in the query evaluation. | [optional] |
| Consistency | Pointer to ConsistencyPreference | [optional] [default to CONSISTENCYPREFERENCE_UNSPECIFIED] |
Methods
NewListObjectsRequest
func NewListObjectsRequest(type_ string, relation string, user string, ) *ListObjectsRequest
NewListObjectsRequest instantiates a new ListObjectsRequest 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
NewListObjectsRequestWithDefaults
func NewListObjectsRequestWithDefaults() *ListObjectsRequest
NewListObjectsRequestWithDefaults instantiates a new ListObjectsRequest 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
GetAuthorizationModelId
func (o *ListObjectsRequest) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field if non-nil, zero value otherwise.
GetAuthorizationModelIdOk
func (o *ListObjectsRequest) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAuthorizationModelId
func (o *ListObjectsRequest) SetAuthorizationModelId(v string)
SetAuthorizationModelId sets AuthorizationModelId field to given value.
HasAuthorizationModelId
func (o *ListObjectsRequest) HasAuthorizationModelId() bool
HasAuthorizationModelId returns a boolean if a field has been set.
GetType
func (o *ListObjectsRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *ListObjectsRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *ListObjectsRequest) SetType(v string)
SetType sets Type field to given value.
GetRelation
func (o *ListObjectsRequest) GetRelation() string
GetRelation returns the Relation field if non-nil, zero value otherwise.
GetRelationOk
func (o *ListObjectsRequest) 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 *ListObjectsRequest) SetRelation(v string)
SetRelation sets Relation field to given value.
GetUser
func (o *ListObjectsRequest) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
GetUserOk
func (o *ListObjectsRequest) 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 *ListObjectsRequest) SetUser(v string)
SetUser sets User field to given value.
GetContextualTuples
func (o *ListObjectsRequest) GetContextualTuples() ContextualTupleKeys
GetContextualTuples returns the ContextualTuples field if non-nil, zero value otherwise.
GetContextualTuplesOk
func (o *ListObjectsRequest) GetContextualTuplesOk() (*ContextualTupleKeys, bool)
GetContextualTuplesOk returns a tuple with the ContextualTuples field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContextualTuples
func (o *ListObjectsRequest) SetContextualTuples(v ContextualTupleKeys)
SetContextualTuples sets ContextualTuples field to given value.
HasContextualTuples
func (o *ListObjectsRequest) HasContextualTuples() bool
HasContextualTuples returns a boolean if a field has been set.
GetContext
func (o *ListObjectsRequest) GetContext() map[string]interface{}
GetContext returns the Context field if non-nil, zero value otherwise.
GetContextOk
func (o *ListObjectsRequest) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContext
func (o *ListObjectsRequest) SetContext(v map[string]interface{})
SetContext sets Context field to given value.
HasContext
func (o *ListObjectsRequest) HasContext() bool
HasContext returns a boolean if a field has been set.
GetConsistency
func (o *ListObjectsRequest) GetConsistency() ConsistencyPreference
GetConsistency returns the Consistency field if non-nil, zero value otherwise.
GetConsistencyOk
func (o *ListObjectsRequest) GetConsistencyOk() (*ConsistencyPreference, bool)
GetConsistencyOk returns a tuple with the Consistency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetConsistency
func (o *ListObjectsRequest) SetConsistency(v ConsistencyPreference)
SetConsistency sets Consistency field to given value.
HasConsistency
func (o *ListObjectsRequest) HasConsistency() bool
HasConsistency returns a boolean if a field has been set.