Documentation ¶
Index ¶
- Constants
- func CacheExpires(r *http.Response) time.Time
- func GetSdkUserAgent() string
- func IsWellFormedUri(uriString string) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type AbortedMessageResponse
- func (o *AbortedMessageResponse) GetCode() string
- func (o *AbortedMessageResponse) GetCodeOk() (*string, bool)
- func (o *AbortedMessageResponse) GetMessage() string
- func (o *AbortedMessageResponse) GetMessageOk() (*string, bool)
- func (o *AbortedMessageResponse) HasCode() bool
- func (o *AbortedMessageResponse) HasMessage() bool
- func (o AbortedMessageResponse) MarshalJSON() ([]byte, error)
- func (o *AbortedMessageResponse) SetCode(v string)
- func (o *AbortedMessageResponse) SetMessage(v string)
- type Any
- type ApiCheckRequest
- type ApiCreateStoreRequest
- type ApiDeleteStoreRequest
- type ApiExpandRequest
- type ApiGetStoreRequest
- type ApiListObjectsRequest
- type ApiListStoresRequest
- type ApiListUsersRequest
- type ApiReadAssertionsRequest
- type ApiReadAuthorizationModelRequest
- type ApiReadAuthorizationModelsRequest
- func (r ApiReadAuthorizationModelsRequest) ContinuationToken(continuationToken string) ApiReadAuthorizationModelsRequest
- func (r ApiReadAuthorizationModelsRequest) Execute() (ReadAuthorizationModelsResponse, *_nethttp.Response, error)
- func (r ApiReadAuthorizationModelsRequest) PageSize(pageSize int32) ApiReadAuthorizationModelsRequest
- type ApiReadChangesRequest
- func (r ApiReadChangesRequest) ContinuationToken(continuationToken string) ApiReadChangesRequest
- func (r ApiReadChangesRequest) Execute() (ReadChangesResponse, *_nethttp.Response, error)
- func (r ApiReadChangesRequest) PageSize(pageSize int32) ApiReadChangesRequest
- func (r ApiReadChangesRequest) Type_(type_ string) ApiReadChangesRequest
- type ApiReadRequest
- type ApiWriteAssertionsRequest
- type ApiWriteAuthorizationModelRequest
- type ApiWriteRequest
- type Assertion
- func (o *Assertion) GetExpectation() bool
- func (o *Assertion) GetExpectationOk() (*bool, bool)
- func (o *Assertion) GetTupleKey() AssertionTupleKey
- func (o *Assertion) GetTupleKeyOk() (*AssertionTupleKey, bool)
- func (o Assertion) MarshalJSON() ([]byte, error)
- func (o *Assertion) SetExpectation(v bool)
- func (o *Assertion) SetTupleKey(v AssertionTupleKey)
- type AssertionTupleKey
- func (o *AssertionTupleKey) GetObject() string
- func (o *AssertionTupleKey) GetObjectOk() (*string, bool)
- func (o *AssertionTupleKey) GetRelation() string
- func (o *AssertionTupleKey) GetRelationOk() (*string, bool)
- func (o *AssertionTupleKey) GetUser() string
- func (o *AssertionTupleKey) GetUserOk() (*string, bool)
- func (o AssertionTupleKey) MarshalJSON() ([]byte, error)
- func (o *AssertionTupleKey) SetObject(v string)
- func (o *AssertionTupleKey) SetRelation(v string)
- func (o *AssertionTupleKey) SetUser(v string)
- type AuthorizationModel
- func (o *AuthorizationModel) GetConditions() map[string]Condition
- func (o *AuthorizationModel) GetConditionsOk() (*map[string]Condition, bool)
- func (o *AuthorizationModel) GetId() string
- func (o *AuthorizationModel) GetIdOk() (*string, bool)
- func (o *AuthorizationModel) GetSchemaVersion() string
- func (o *AuthorizationModel) GetSchemaVersionOk() (*string, bool)
- func (o *AuthorizationModel) GetTypeDefinitions() []TypeDefinition
- func (o *AuthorizationModel) GetTypeDefinitionsOk() (*[]TypeDefinition, bool)
- func (o *AuthorizationModel) HasConditions() bool
- func (o AuthorizationModel) MarshalJSON() ([]byte, error)
- func (o *AuthorizationModel) SetConditions(v map[string]Condition)
- func (o *AuthorizationModel) SetId(v string)
- func (o *AuthorizationModel) SetSchemaVersion(v string)
- func (o *AuthorizationModel) SetTypeDefinitions(v []TypeDefinition)
- type CheckRequest
- func (o *CheckRequest) GetAuthorizationModelId() string
- func (o *CheckRequest) GetAuthorizationModelIdOk() (*string, bool)
- func (o *CheckRequest) GetContext() map[string]interface{}
- func (o *CheckRequest) GetContextOk() (*map[string]interface{}, bool)
- func (o *CheckRequest) GetContextualTuples() ContextualTupleKeys
- func (o *CheckRequest) GetContextualTuplesOk() (*ContextualTupleKeys, bool)
- func (o *CheckRequest) GetTrace() bool
- func (o *CheckRequest) GetTraceOk() (*bool, bool)
- func (o *CheckRequest) GetTupleKey() CheckRequestTupleKey
- func (o *CheckRequest) GetTupleKeyOk() (*CheckRequestTupleKey, bool)
- func (o *CheckRequest) HasAuthorizationModelId() bool
- func (o *CheckRequest) HasContext() bool
- func (o *CheckRequest) HasContextualTuples() bool
- func (o *CheckRequest) HasTrace() bool
- func (o CheckRequest) MarshalJSON() ([]byte, error)
- func (o *CheckRequest) SetAuthorizationModelId(v string)
- func (o *CheckRequest) SetContext(v map[string]interface{})
- func (o *CheckRequest) SetContextualTuples(v ContextualTupleKeys)
- func (o *CheckRequest) SetTrace(v bool)
- func (o *CheckRequest) SetTupleKey(v CheckRequestTupleKey)
- type CheckRequestTupleKey
- func (o *CheckRequestTupleKey) GetObject() string
- func (o *CheckRequestTupleKey) GetObjectOk() (*string, bool)
- func (o *CheckRequestTupleKey) GetRelation() string
- func (o *CheckRequestTupleKey) GetRelationOk() (*string, bool)
- func (o *CheckRequestTupleKey) GetUser() string
- func (o *CheckRequestTupleKey) GetUserOk() (*string, bool)
- func (o CheckRequestTupleKey) MarshalJSON() ([]byte, error)
- func (o *CheckRequestTupleKey) SetObject(v string)
- func (o *CheckRequestTupleKey) SetRelation(v string)
- func (o *CheckRequestTupleKey) SetUser(v string)
- type CheckResponse
- func (o *CheckResponse) GetAllowed() bool
- func (o *CheckResponse) GetAllowedOk() (*bool, bool)
- func (o *CheckResponse) GetResolution() string
- func (o *CheckResponse) GetResolutionOk() (*string, bool)
- func (o *CheckResponse) HasAllowed() bool
- func (o *CheckResponse) HasResolution() bool
- func (o CheckResponse) MarshalJSON() ([]byte, error)
- func (o *CheckResponse) SetAllowed(v bool)
- func (o *CheckResponse) SetResolution(v string)
- type Computed
- type Condition
- func (o *Condition) GetExpression() string
- func (o *Condition) GetExpressionOk() (*string, bool)
- func (o *Condition) GetMetadata() ConditionMetadata
- func (o *Condition) GetMetadataOk() (*ConditionMetadata, bool)
- func (o *Condition) GetName() string
- func (o *Condition) GetNameOk() (*string, bool)
- func (o *Condition) GetParameters() map[string]ConditionParamTypeRef
- func (o *Condition) GetParametersOk() (*map[string]ConditionParamTypeRef, bool)
- func (o *Condition) HasMetadata() bool
- func (o *Condition) HasParameters() bool
- func (o Condition) MarshalJSON() ([]byte, error)
- func (o *Condition) SetExpression(v string)
- func (o *Condition) SetMetadata(v ConditionMetadata)
- func (o *Condition) SetName(v string)
- func (o *Condition) SetParameters(v map[string]ConditionParamTypeRef)
- type ConditionMetadata
- func (o *ConditionMetadata) GetModule() string
- func (o *ConditionMetadata) GetModuleOk() (*string, bool)
- func (o *ConditionMetadata) GetSourceInfo() SourceInfo
- func (o *ConditionMetadata) GetSourceInfoOk() (*SourceInfo, bool)
- func (o *ConditionMetadata) HasModule() bool
- func (o *ConditionMetadata) HasSourceInfo() bool
- func (o ConditionMetadata) MarshalJSON() ([]byte, error)
- func (o *ConditionMetadata) SetModule(v string)
- func (o *ConditionMetadata) SetSourceInfo(v SourceInfo)
- type ConditionParamTypeRef
- func (o *ConditionParamTypeRef) GetGenericTypes() []ConditionParamTypeRef
- func (o *ConditionParamTypeRef) GetGenericTypesOk() (*[]ConditionParamTypeRef, bool)
- func (o *ConditionParamTypeRef) GetTypeName() TypeName
- func (o *ConditionParamTypeRef) GetTypeNameOk() (*TypeName, bool)
- func (o *ConditionParamTypeRef) HasGenericTypes() bool
- func (o ConditionParamTypeRef) MarshalJSON() ([]byte, error)
- func (o *ConditionParamTypeRef) SetGenericTypes(v []ConditionParamTypeRef)
- func (o *ConditionParamTypeRef) SetTypeName(v TypeName)
- type Configuration
- type ContextualTupleKeys
- type CreateStoreRequest
- type CreateStoreResponse
- func (o *CreateStoreResponse) GetCreatedAt() time.Time
- func (o *CreateStoreResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateStoreResponse) GetId() string
- func (o *CreateStoreResponse) GetIdOk() (*string, bool)
- func (o *CreateStoreResponse) GetName() string
- func (o *CreateStoreResponse) GetNameOk() (*string, bool)
- func (o *CreateStoreResponse) GetUpdatedAt() time.Time
- func (o *CreateStoreResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o CreateStoreResponse) MarshalJSON() ([]byte, error)
- func (o *CreateStoreResponse) SetCreatedAt(v time.Time)
- func (o *CreateStoreResponse) SetId(v string)
- func (o *CreateStoreResponse) SetName(v string)
- func (o *CreateStoreResponse) SetUpdatedAt(v time.Time)
- type Difference
- func (o *Difference) GetBase() Userset
- func (o *Difference) GetBaseOk() (*Userset, bool)
- func (o *Difference) GetSubtract() Userset
- func (o *Difference) GetSubtractOk() (*Userset, bool)
- func (o Difference) MarshalJSON() ([]byte, error)
- func (o *Difference) SetBase(v Userset)
- func (o *Difference) SetSubtract(v Userset)
- type ErrorCode
- type ErrorResponse
- type ExpandRequest
- func (o *ExpandRequest) GetAuthorizationModelId() string
- func (o *ExpandRequest) GetAuthorizationModelIdOk() (*string, bool)
- func (o *ExpandRequest) GetTupleKey() ExpandRequestTupleKey
- func (o *ExpandRequest) GetTupleKeyOk() (*ExpandRequestTupleKey, bool)
- func (o *ExpandRequest) HasAuthorizationModelId() bool
- func (o ExpandRequest) MarshalJSON() ([]byte, error)
- func (o *ExpandRequest) SetAuthorizationModelId(v string)
- func (o *ExpandRequest) SetTupleKey(v ExpandRequestTupleKey)
- type ExpandRequestTupleKey
- func (o *ExpandRequestTupleKey) GetObject() string
- func (o *ExpandRequestTupleKey) GetObjectOk() (*string, bool)
- func (o *ExpandRequestTupleKey) GetRelation() string
- func (o *ExpandRequestTupleKey) GetRelationOk() (*string, bool)
- func (o ExpandRequestTupleKey) MarshalJSON() ([]byte, error)
- func (o *ExpandRequestTupleKey) SetObject(v string)
- func (o *ExpandRequestTupleKey) SetRelation(v string)
- type ExpandResponse
- type FgaApiAuthenticationError
- func (e FgaApiAuthenticationError) Body() []byte
- func (e FgaApiAuthenticationError) EndpointCategory() string
- func (e FgaApiAuthenticationError) Error() string
- func (e FgaApiAuthenticationError) Model() interface{}
- func (e FgaApiAuthenticationError) ModelDecodeError() error
- func (e FgaApiAuthenticationError) RequestId() string
- func (e FgaApiAuthenticationError) ResponseCode() string
- func (e FgaApiAuthenticationError) ResponseHeader() http.Header
- func (e FgaApiAuthenticationError) ResponseStatusCode() int
- func (e FgaApiAuthenticationError) StoreId() string
- type FgaApiError
- func (e FgaApiError) Body() []byte
- func (e FgaApiError) EndpointCategory() string
- func (e FgaApiError) Error() string
- func (e FgaApiError) Model() interface{}
- func (e FgaApiError) ModelDecodeError() error
- func (e FgaApiError) RequestBody() interface{}
- func (e FgaApiError) RequestId() string
- func (e FgaApiError) RequestMethod() string
- func (e FgaApiError) ResponseCode() string
- func (e FgaApiError) ResponseHeader() http.Header
- func (e FgaApiError) ResponseStatusCode() int
- func (e FgaApiError) StoreId() string
- type FgaApiInternalError
- func (e FgaApiInternalError) Body() []byte
- func (e FgaApiInternalError) EndpointCategory() string
- func (e FgaApiInternalError) Error() string
- func (e FgaApiInternalError) Model() interface{}
- func (e FgaApiInternalError) ModelDecodeError() error
- func (e FgaApiInternalError) RequestBody() interface{}
- func (e FgaApiInternalError) RequestId() string
- func (e FgaApiInternalError) RequestMethod() string
- func (e FgaApiInternalError) ResponseCode() InternalErrorCode
- func (e FgaApiInternalError) ResponseHeader() http.Header
- func (e FgaApiInternalError) ResponseStatusCode() int
- func (e FgaApiInternalError) StoreId() string
- type FgaApiNotFoundError
- func (e FgaApiNotFoundError) Body() []byte
- func (e FgaApiNotFoundError) EndpointCategory() string
- func (e FgaApiNotFoundError) Error() string
- func (e FgaApiNotFoundError) Model() interface{}
- func (e FgaApiNotFoundError) ModelDecodeError() error
- func (e FgaApiNotFoundError) RequestBody() interface{}
- func (e FgaApiNotFoundError) RequestId() string
- func (e FgaApiNotFoundError) RequestMethod() string
- func (e FgaApiNotFoundError) ResponseCode() NotFoundErrorCode
- func (e FgaApiNotFoundError) ResponseHeader() http.Header
- func (e FgaApiNotFoundError) ResponseStatusCode() int
- func (e FgaApiNotFoundError) StoreId() string
- type FgaApiRateLimitExceededError
- func (e FgaApiRateLimitExceededError) Body() []byte
- func (e FgaApiRateLimitExceededError) EndpointCategory() string
- func (e FgaApiRateLimitExceededError) Error() string
- func (e FgaApiRateLimitExceededError) Model() interface{}
- func (e FgaApiRateLimitExceededError) ModelDecodeError() error
- func (e FgaApiRateLimitExceededError) RateLimit() int
- func (e FgaApiRateLimitExceededError) RateLimitResetEpoch() string
- func (e FgaApiRateLimitExceededError) RateUnit() string
- func (e FgaApiRateLimitExceededError) RequestBody() interface{}
- func (e FgaApiRateLimitExceededError) RequestId() string
- func (e FgaApiRateLimitExceededError) RequestMethod() string
- func (e FgaApiRateLimitExceededError) ResponseCode() string
- func (e FgaApiRateLimitExceededError) ResponseHeader() http.Header
- func (e FgaApiRateLimitExceededError) ResponseStatusCode() int
- func (e FgaApiRateLimitExceededError) StoreId() string
- type FgaApiValidationError
- func (e FgaApiValidationError) Body() []byte
- func (e FgaApiValidationError) EndpointCategory() string
- func (e FgaApiValidationError) Error() string
- func (e FgaApiValidationError) Model() interface{}
- func (e FgaApiValidationError) ModelDecodeError() error
- func (e FgaApiValidationError) RequestBody() interface{}
- func (e FgaApiValidationError) RequestId() string
- func (e FgaApiValidationError) RequestMethod() string
- func (e FgaApiValidationError) ResponseCode() ErrorCode
- func (e FgaApiValidationError) ResponseHeader() http.Header
- func (e FgaApiValidationError) ResponseStatusCode() int
- func (e FgaApiValidationError) StoreId() string
- type FgaObject
- type GenericOpenAPIError
- type GetStoreResponse
- func (o *GetStoreResponse) GetCreatedAt() time.Time
- func (o *GetStoreResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *GetStoreResponse) GetDeletedAt() time.Time
- func (o *GetStoreResponse) GetDeletedAtOk() (*time.Time, bool)
- func (o *GetStoreResponse) GetId() string
- func (o *GetStoreResponse) GetIdOk() (*string, bool)
- func (o *GetStoreResponse) GetName() string
- func (o *GetStoreResponse) GetNameOk() (*string, bool)
- func (o *GetStoreResponse) GetUpdatedAt() time.Time
- func (o *GetStoreResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o *GetStoreResponse) HasDeletedAt() bool
- func (o GetStoreResponse) MarshalJSON() ([]byte, error)
- func (o *GetStoreResponse) SetCreatedAt(v time.Time)
- func (o *GetStoreResponse) SetDeletedAt(v time.Time)
- func (o *GetStoreResponse) SetId(v string)
- func (o *GetStoreResponse) SetName(v string)
- func (o *GetStoreResponse) SetUpdatedAt(v time.Time)
- type InternalErrorCode
- type InternalErrorMessageResponse
- func (o *InternalErrorMessageResponse) GetCode() InternalErrorCode
- func (o *InternalErrorMessageResponse) GetCodeOk() (*InternalErrorCode, bool)
- func (o *InternalErrorMessageResponse) GetMessage() string
- func (o *InternalErrorMessageResponse) GetMessageOk() (*string, bool)
- func (o *InternalErrorMessageResponse) HasCode() bool
- func (o *InternalErrorMessageResponse) HasMessage() bool
- func (o InternalErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (o *InternalErrorMessageResponse) SetCode(v InternalErrorCode)
- func (o *InternalErrorMessageResponse) SetMessage(v string)
- type Leaf
- func (o *Leaf) GetComputed() Computed
- func (o *Leaf) GetComputedOk() (*Computed, bool)
- func (o *Leaf) GetTupleToUserset() UsersetTreeTupleToUserset
- func (o *Leaf) GetTupleToUsersetOk() (*UsersetTreeTupleToUserset, bool)
- func (o *Leaf) GetUsers() Users
- func (o *Leaf) GetUsersOk() (*Users, bool)
- func (o *Leaf) HasComputed() bool
- func (o *Leaf) HasTupleToUserset() bool
- func (o *Leaf) HasUsers() bool
- func (o Leaf) MarshalJSON() ([]byte, error)
- func (o *Leaf) SetComputed(v Computed)
- func (o *Leaf) SetTupleToUserset(v UsersetTreeTupleToUserset)
- func (o *Leaf) SetUsers(v Users)
- type ListObjectsRequest
- func (o *ListObjectsRequest) GetAuthorizationModelId() string
- func (o *ListObjectsRequest) GetAuthorizationModelIdOk() (*string, bool)
- func (o *ListObjectsRequest) GetContext() map[string]interface{}
- func (o *ListObjectsRequest) GetContextOk() (*map[string]interface{}, bool)
- func (o *ListObjectsRequest) GetContextualTuples() ContextualTupleKeys
- func (o *ListObjectsRequest) GetContextualTuplesOk() (*ContextualTupleKeys, bool)
- func (o *ListObjectsRequest) GetRelation() string
- func (o *ListObjectsRequest) GetRelationOk() (*string, bool)
- func (o *ListObjectsRequest) GetType() string
- func (o *ListObjectsRequest) GetTypeOk() (*string, bool)
- func (o *ListObjectsRequest) GetUser() string
- func (o *ListObjectsRequest) GetUserOk() (*string, bool)
- func (o *ListObjectsRequest) HasAuthorizationModelId() bool
- func (o *ListObjectsRequest) HasContext() bool
- func (o *ListObjectsRequest) HasContextualTuples() bool
- func (o ListObjectsRequest) MarshalJSON() ([]byte, error)
- func (o *ListObjectsRequest) SetAuthorizationModelId(v string)
- func (o *ListObjectsRequest) SetContext(v map[string]interface{})
- func (o *ListObjectsRequest) SetContextualTuples(v ContextualTupleKeys)
- func (o *ListObjectsRequest) SetRelation(v string)
- func (o *ListObjectsRequest) SetType(v string)
- func (o *ListObjectsRequest) SetUser(v string)
- type ListObjectsResponse
- type ListStoresResponse
- func (o *ListStoresResponse) GetContinuationToken() string
- func (o *ListStoresResponse) GetContinuationTokenOk() (*string, bool)
- func (o *ListStoresResponse) GetStores() []Store
- func (o *ListStoresResponse) GetStoresOk() (*[]Store, bool)
- func (o ListStoresResponse) MarshalJSON() ([]byte, error)
- func (o *ListStoresResponse) SetContinuationToken(v string)
- func (o *ListStoresResponse) SetStores(v []Store)
- type ListUsersRequest
- func (o *ListUsersRequest) GetAuthorizationModelId() string
- func (o *ListUsersRequest) GetAuthorizationModelIdOk() (*string, bool)
- func (o *ListUsersRequest) GetContext() map[string]interface{}
- func (o *ListUsersRequest) GetContextOk() (*map[string]interface{}, bool)
- func (o *ListUsersRequest) GetContextualTuples() []TupleKey
- func (o *ListUsersRequest) GetContextualTuplesOk() (*[]TupleKey, bool)
- func (o *ListUsersRequest) GetObject() FgaObject
- func (o *ListUsersRequest) GetObjectOk() (*FgaObject, bool)
- func (o *ListUsersRequest) GetRelation() string
- func (o *ListUsersRequest) GetRelationOk() (*string, bool)
- func (o *ListUsersRequest) GetUserFilters() []UserTypeFilter
- func (o *ListUsersRequest) GetUserFiltersOk() (*[]UserTypeFilter, bool)
- func (o *ListUsersRequest) HasAuthorizationModelId() bool
- func (o *ListUsersRequest) HasContext() bool
- func (o *ListUsersRequest) HasContextualTuples() bool
- func (o ListUsersRequest) MarshalJSON() ([]byte, error)
- func (o *ListUsersRequest) SetAuthorizationModelId(v string)
- func (o *ListUsersRequest) SetContext(v map[string]interface{})
- func (o *ListUsersRequest) SetContextualTuples(v []TupleKey)
- func (o *ListUsersRequest) SetObject(v FgaObject)
- func (o *ListUsersRequest) SetRelation(v string)
- func (o *ListUsersRequest) SetUserFilters(v []UserTypeFilter)
- type ListUsersResponse
- func (o *ListUsersResponse) GetExcludedUsers() []ObjectOrUserset
- func (o *ListUsersResponse) GetExcludedUsersOk() (*[]ObjectOrUserset, bool)
- func (o *ListUsersResponse) GetUsers() []User
- func (o *ListUsersResponse) GetUsersOk() (*[]User, bool)
- func (o ListUsersResponse) MarshalJSON() ([]byte, error)
- func (o *ListUsersResponse) SetExcludedUsers(v []ObjectOrUserset)
- func (o *ListUsersResponse) SetUsers(v []User)
- type Metadata
- func (o *Metadata) GetModule() string
- func (o *Metadata) GetModuleOk() (*string, bool)
- func (o *Metadata) GetRelations() map[string]RelationMetadata
- func (o *Metadata) GetRelationsOk() (*map[string]RelationMetadata, bool)
- func (o *Metadata) GetSourceInfo() SourceInfo
- func (o *Metadata) GetSourceInfoOk() (*SourceInfo, bool)
- func (o *Metadata) HasModule() bool
- func (o *Metadata) HasRelations() bool
- func (o *Metadata) HasSourceInfo() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetModule(v string)
- func (o *Metadata) SetRelations(v map[string]RelationMetadata)
- func (o *Metadata) SetSourceInfo(v SourceInfo)
- type Node
- func (o *Node) GetDifference() UsersetTreeDifference
- func (o *Node) GetDifferenceOk() (*UsersetTreeDifference, bool)
- func (o *Node) GetIntersection() Nodes
- func (o *Node) GetIntersectionOk() (*Nodes, bool)
- func (o *Node) GetLeaf() Leaf
- func (o *Node) GetLeafOk() (*Leaf, bool)
- func (o *Node) GetName() string
- func (o *Node) GetNameOk() (*string, bool)
- func (o *Node) GetUnion() Nodes
- func (o *Node) GetUnionOk() (*Nodes, bool)
- func (o *Node) HasDifference() bool
- func (o *Node) HasIntersection() bool
- func (o *Node) HasLeaf() bool
- func (o *Node) HasUnion() bool
- func (o Node) MarshalJSON() ([]byte, error)
- func (o *Node) SetDifference(v UsersetTreeDifference)
- func (o *Node) SetIntersection(v Nodes)
- func (o *Node) SetLeaf(v Leaf)
- func (o *Node) SetName(v string)
- func (o *Node) SetUnion(v Nodes)
- type Nodes
- type NotFoundErrorCode
- type NullValue
- type NullableAbortedMessageResponse
- func (v NullableAbortedMessageResponse) Get() *AbortedMessageResponse
- func (v NullableAbortedMessageResponse) IsSet() bool
- func (v NullableAbortedMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAbortedMessageResponse) Set(val *AbortedMessageResponse)
- func (v *NullableAbortedMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAbortedMessageResponse) Unset()
- type NullableAny
- type NullableAssertion
- type NullableAssertionTupleKey
- func (v NullableAssertionTupleKey) Get() *AssertionTupleKey
- func (v NullableAssertionTupleKey) IsSet() bool
- func (v NullableAssertionTupleKey) MarshalJSON() ([]byte, error)
- func (v *NullableAssertionTupleKey) Set(val *AssertionTupleKey)
- func (v *NullableAssertionTupleKey) UnmarshalJSON(src []byte) error
- func (v *NullableAssertionTupleKey) Unset()
- type NullableAuthorizationModel
- func (v NullableAuthorizationModel) Get() *AuthorizationModel
- func (v NullableAuthorizationModel) IsSet() bool
- func (v NullableAuthorizationModel) MarshalJSON() ([]byte, error)
- func (v *NullableAuthorizationModel) Set(val *AuthorizationModel)
- func (v *NullableAuthorizationModel) UnmarshalJSON(src []byte) error
- func (v *NullableAuthorizationModel) Unset()
- type NullableBool
- type NullableCheckRequest
- func (v NullableCheckRequest) Get() *CheckRequest
- func (v NullableCheckRequest) IsSet() bool
- func (v NullableCheckRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCheckRequest) Set(val *CheckRequest)
- func (v *NullableCheckRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCheckRequest) Unset()
- type NullableCheckRequestTupleKey
- func (v NullableCheckRequestTupleKey) Get() *CheckRequestTupleKey
- func (v NullableCheckRequestTupleKey) IsSet() bool
- func (v NullableCheckRequestTupleKey) MarshalJSON() ([]byte, error)
- func (v *NullableCheckRequestTupleKey) Set(val *CheckRequestTupleKey)
- func (v *NullableCheckRequestTupleKey) UnmarshalJSON(src []byte) error
- func (v *NullableCheckRequestTupleKey) Unset()
- type NullableCheckResponse
- func (v NullableCheckResponse) Get() *CheckResponse
- func (v NullableCheckResponse) IsSet() bool
- func (v NullableCheckResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCheckResponse) Set(val *CheckResponse)
- func (v *NullableCheckResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCheckResponse) Unset()
- type NullableComputed
- type NullableCondition
- type NullableConditionMetadata
- func (v NullableConditionMetadata) Get() *ConditionMetadata
- func (v NullableConditionMetadata) IsSet() bool
- func (v NullableConditionMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableConditionMetadata) Set(val *ConditionMetadata)
- func (v *NullableConditionMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableConditionMetadata) Unset()
- type NullableConditionParamTypeRef
- func (v NullableConditionParamTypeRef) Get() *ConditionParamTypeRef
- func (v NullableConditionParamTypeRef) IsSet() bool
- func (v NullableConditionParamTypeRef) MarshalJSON() ([]byte, error)
- func (v *NullableConditionParamTypeRef) Set(val *ConditionParamTypeRef)
- func (v *NullableConditionParamTypeRef) UnmarshalJSON(src []byte) error
- func (v *NullableConditionParamTypeRef) Unset()
- type NullableContextualTupleKeys
- func (v NullableContextualTupleKeys) Get() *ContextualTupleKeys
- func (v NullableContextualTupleKeys) IsSet() bool
- func (v NullableContextualTupleKeys) MarshalJSON() ([]byte, error)
- func (v *NullableContextualTupleKeys) Set(val *ContextualTupleKeys)
- func (v *NullableContextualTupleKeys) UnmarshalJSON(src []byte) error
- func (v *NullableContextualTupleKeys) Unset()
- type NullableCreateStoreRequest
- func (v NullableCreateStoreRequest) Get() *CreateStoreRequest
- func (v NullableCreateStoreRequest) IsSet() bool
- func (v NullableCreateStoreRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateStoreRequest) Set(val *CreateStoreRequest)
- func (v *NullableCreateStoreRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateStoreRequest) Unset()
- type NullableCreateStoreResponse
- func (v NullableCreateStoreResponse) Get() *CreateStoreResponse
- func (v NullableCreateStoreResponse) IsSet() bool
- func (v NullableCreateStoreResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateStoreResponse) Set(val *CreateStoreResponse)
- func (v *NullableCreateStoreResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateStoreResponse) Unset()
- type NullableDifference
- type NullableErrorCode
- type NullableExpandRequest
- func (v NullableExpandRequest) Get() *ExpandRequest
- func (v NullableExpandRequest) IsSet() bool
- func (v NullableExpandRequest) MarshalJSON() ([]byte, error)
- func (v *NullableExpandRequest) Set(val *ExpandRequest)
- func (v *NullableExpandRequest) UnmarshalJSON(src []byte) error
- func (v *NullableExpandRequest) Unset()
- type NullableExpandRequestTupleKey
- func (v NullableExpandRequestTupleKey) Get() *ExpandRequestTupleKey
- func (v NullableExpandRequestTupleKey) IsSet() bool
- func (v NullableExpandRequestTupleKey) MarshalJSON() ([]byte, error)
- func (v *NullableExpandRequestTupleKey) Set(val *ExpandRequestTupleKey)
- func (v *NullableExpandRequestTupleKey) UnmarshalJSON(src []byte) error
- func (v *NullableExpandRequestTupleKey) Unset()
- type NullableExpandResponse
- func (v NullableExpandResponse) Get() *ExpandResponse
- func (v NullableExpandResponse) IsSet() bool
- func (v NullableExpandResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExpandResponse) Set(val *ExpandResponse)
- func (v *NullableExpandResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExpandResponse) Unset()
- type NullableFgaObject
- type NullableFloat32
- type NullableFloat64
- type NullableGetStoreResponse
- func (v NullableGetStoreResponse) Get() *GetStoreResponse
- func (v NullableGetStoreResponse) IsSet() bool
- func (v NullableGetStoreResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetStoreResponse) Set(val *GetStoreResponse)
- func (v *NullableGetStoreResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetStoreResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInternalErrorCode
- func (v NullableInternalErrorCode) Get() *InternalErrorCode
- func (v NullableInternalErrorCode) IsSet() bool
- func (v NullableInternalErrorCode) MarshalJSON() ([]byte, error)
- func (v *NullableInternalErrorCode) Set(val *InternalErrorCode)
- func (v *NullableInternalErrorCode) UnmarshalJSON(src []byte) error
- func (v *NullableInternalErrorCode) Unset()
- type NullableInternalErrorMessageResponse
- func (v NullableInternalErrorMessageResponse) Get() *InternalErrorMessageResponse
- func (v NullableInternalErrorMessageResponse) IsSet() bool
- func (v NullableInternalErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInternalErrorMessageResponse) Set(val *InternalErrorMessageResponse)
- func (v *NullableInternalErrorMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInternalErrorMessageResponse) Unset()
- type NullableLeaf
- type NullableListObjectsRequest
- func (v NullableListObjectsRequest) Get() *ListObjectsRequest
- func (v NullableListObjectsRequest) IsSet() bool
- func (v NullableListObjectsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableListObjectsRequest) Set(val *ListObjectsRequest)
- func (v *NullableListObjectsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableListObjectsRequest) Unset()
- type NullableListObjectsResponse
- func (v NullableListObjectsResponse) Get() *ListObjectsResponse
- func (v NullableListObjectsResponse) IsSet() bool
- func (v NullableListObjectsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListObjectsResponse) Set(val *ListObjectsResponse)
- func (v *NullableListObjectsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListObjectsResponse) Unset()
- type NullableListStoresResponse
- func (v NullableListStoresResponse) Get() *ListStoresResponse
- func (v NullableListStoresResponse) IsSet() bool
- func (v NullableListStoresResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListStoresResponse) Set(val *ListStoresResponse)
- func (v *NullableListStoresResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListStoresResponse) Unset()
- type NullableListUsersRequest
- func (v NullableListUsersRequest) Get() *ListUsersRequest
- func (v NullableListUsersRequest) IsSet() bool
- func (v NullableListUsersRequest) MarshalJSON() ([]byte, error)
- func (v *NullableListUsersRequest) Set(val *ListUsersRequest)
- func (v *NullableListUsersRequest) UnmarshalJSON(src []byte) error
- func (v *NullableListUsersRequest) Unset()
- type NullableListUsersResponse
- func (v NullableListUsersResponse) Get() *ListUsersResponse
- func (v NullableListUsersResponse) IsSet() bool
- func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
- func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListUsersResponse) Unset()
- type NullableMetadata
- type NullableNode
- type NullableNodes
- type NullableNotFoundErrorCode
- func (v NullableNotFoundErrorCode) Get() *NotFoundErrorCode
- func (v NullableNotFoundErrorCode) IsSet() bool
- func (v NullableNotFoundErrorCode) MarshalJSON() ([]byte, error)
- func (v *NullableNotFoundErrorCode) Set(val *NotFoundErrorCode)
- func (v *NullableNotFoundErrorCode) UnmarshalJSON(src []byte) error
- func (v *NullableNotFoundErrorCode) Unset()
- type NullableNullValue
- type NullableObjectOrUserset
- func (v NullableObjectOrUserset) Get() *ObjectOrUserset
- func (v NullableObjectOrUserset) IsSet() bool
- func (v NullableObjectOrUserset) MarshalJSON() ([]byte, error)
- func (v *NullableObjectOrUserset) Set(val *ObjectOrUserset)
- func (v *NullableObjectOrUserset) UnmarshalJSON(src []byte) error
- func (v *NullableObjectOrUserset) Unset()
- type NullableObjectRelation
- func (v NullableObjectRelation) Get() *ObjectRelation
- func (v NullableObjectRelation) IsSet() bool
- func (v NullableObjectRelation) MarshalJSON() ([]byte, error)
- func (v *NullableObjectRelation) Set(val *ObjectRelation)
- func (v *NullableObjectRelation) UnmarshalJSON(src []byte) error
- func (v *NullableObjectRelation) Unset()
- type NullablePathUnknownErrorMessageResponse
- func (v NullablePathUnknownErrorMessageResponse) Get() *PathUnknownErrorMessageResponse
- func (v NullablePathUnknownErrorMessageResponse) IsSet() bool
- func (v NullablePathUnknownErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePathUnknownErrorMessageResponse) Set(val *PathUnknownErrorMessageResponse)
- func (v *NullablePathUnknownErrorMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePathUnknownErrorMessageResponse) Unset()
- type NullableReadAssertionsResponse
- func (v NullableReadAssertionsResponse) Get() *ReadAssertionsResponse
- func (v NullableReadAssertionsResponse) IsSet() bool
- func (v NullableReadAssertionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadAssertionsResponse) Set(val *ReadAssertionsResponse)
- func (v *NullableReadAssertionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadAssertionsResponse) Unset()
- type NullableReadAuthorizationModelResponse
- func (v NullableReadAuthorizationModelResponse) Get() *ReadAuthorizationModelResponse
- func (v NullableReadAuthorizationModelResponse) IsSet() bool
- func (v NullableReadAuthorizationModelResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadAuthorizationModelResponse) Set(val *ReadAuthorizationModelResponse)
- func (v *NullableReadAuthorizationModelResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadAuthorizationModelResponse) Unset()
- type NullableReadAuthorizationModelsResponse
- func (v NullableReadAuthorizationModelsResponse) Get() *ReadAuthorizationModelsResponse
- func (v NullableReadAuthorizationModelsResponse) IsSet() bool
- func (v NullableReadAuthorizationModelsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadAuthorizationModelsResponse) Set(val *ReadAuthorizationModelsResponse)
- func (v *NullableReadAuthorizationModelsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadAuthorizationModelsResponse) Unset()
- type NullableReadChangesResponse
- func (v NullableReadChangesResponse) Get() *ReadChangesResponse
- func (v NullableReadChangesResponse) IsSet() bool
- func (v NullableReadChangesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadChangesResponse) Set(val *ReadChangesResponse)
- func (v *NullableReadChangesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadChangesResponse) Unset()
- type NullableReadRequest
- func (v NullableReadRequest) Get() *ReadRequest
- func (v NullableReadRequest) IsSet() bool
- func (v NullableReadRequest) MarshalJSON() ([]byte, error)
- func (v *NullableReadRequest) Set(val *ReadRequest)
- func (v *NullableReadRequest) UnmarshalJSON(src []byte) error
- func (v *NullableReadRequest) Unset()
- type NullableReadRequestTupleKey
- func (v NullableReadRequestTupleKey) Get() *ReadRequestTupleKey
- func (v NullableReadRequestTupleKey) IsSet() bool
- func (v NullableReadRequestTupleKey) MarshalJSON() ([]byte, error)
- func (v *NullableReadRequestTupleKey) Set(val *ReadRequestTupleKey)
- func (v *NullableReadRequestTupleKey) UnmarshalJSON(src []byte) error
- func (v *NullableReadRequestTupleKey) Unset()
- type NullableReadResponse
- func (v NullableReadResponse) Get() *ReadResponse
- func (v NullableReadResponse) IsSet() bool
- func (v NullableReadResponse) MarshalJSON() ([]byte, error)
- func (v *NullableReadResponse) Set(val *ReadResponse)
- func (v *NullableReadResponse) UnmarshalJSON(src []byte) error
- func (v *NullableReadResponse) Unset()
- type NullableRelationMetadata
- func (v NullableRelationMetadata) Get() *RelationMetadata
- func (v NullableRelationMetadata) IsSet() bool
- func (v NullableRelationMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableRelationMetadata) Set(val *RelationMetadata)
- func (v *NullableRelationMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableRelationMetadata) Unset()
- type NullableRelationReference
- func (v NullableRelationReference) Get() *RelationReference
- func (v NullableRelationReference) IsSet() bool
- func (v NullableRelationReference) MarshalJSON() ([]byte, error)
- func (v *NullableRelationReference) Set(val *RelationReference)
- func (v *NullableRelationReference) UnmarshalJSON(src []byte) error
- func (v *NullableRelationReference) Unset()
- type NullableRelationshipCondition
- func (v NullableRelationshipCondition) Get() *RelationshipCondition
- func (v NullableRelationshipCondition) IsSet() bool
- func (v NullableRelationshipCondition) MarshalJSON() ([]byte, error)
- func (v *NullableRelationshipCondition) Set(val *RelationshipCondition)
- func (v *NullableRelationshipCondition) UnmarshalJSON(src []byte) error
- func (v *NullableRelationshipCondition) Unset()
- type NullableSourceInfo
- type NullableStatus
- type NullableStore
- type NullableString
- type NullableTime
- type NullableTuple
- type NullableTupleChange
- func (v NullableTupleChange) Get() *TupleChange
- func (v NullableTupleChange) IsSet() bool
- func (v NullableTupleChange) MarshalJSON() ([]byte, error)
- func (v *NullableTupleChange) Set(val *TupleChange)
- func (v *NullableTupleChange) UnmarshalJSON(src []byte) error
- func (v *NullableTupleChange) Unset()
- type NullableTupleKey
- type NullableTupleKeyWithoutCondition
- func (v NullableTupleKeyWithoutCondition) Get() *TupleKeyWithoutCondition
- func (v NullableTupleKeyWithoutCondition) IsSet() bool
- func (v NullableTupleKeyWithoutCondition) MarshalJSON() ([]byte, error)
- func (v *NullableTupleKeyWithoutCondition) Set(val *TupleKeyWithoutCondition)
- func (v *NullableTupleKeyWithoutCondition) UnmarshalJSON(src []byte) error
- func (v *NullableTupleKeyWithoutCondition) Unset()
- type NullableTupleOperation
- func (v NullableTupleOperation) Get() *TupleOperation
- func (v NullableTupleOperation) IsSet() bool
- func (v NullableTupleOperation) MarshalJSON() ([]byte, error)
- func (v *NullableTupleOperation) Set(val *TupleOperation)
- func (v *NullableTupleOperation) UnmarshalJSON(src []byte) error
- func (v *NullableTupleOperation) Unset()
- type NullableTupleToUserset
- func (v NullableTupleToUserset) Get() *TupleToUserset
- func (v NullableTupleToUserset) IsSet() bool
- func (v NullableTupleToUserset) MarshalJSON() ([]byte, error)
- func (v *NullableTupleToUserset) Set(val *TupleToUserset)
- func (v *NullableTupleToUserset) UnmarshalJSON(src []byte) error
- func (v *NullableTupleToUserset) Unset()
- type NullableTypeDefinition
- func (v NullableTypeDefinition) Get() *TypeDefinition
- func (v NullableTypeDefinition) IsSet() bool
- func (v NullableTypeDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableTypeDefinition) Set(val *TypeDefinition)
- func (v *NullableTypeDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableTypeDefinition) Unset()
- type NullableTypeName
- type NullableTypedWildcard
- func (v NullableTypedWildcard) Get() *TypedWildcard
- func (v NullableTypedWildcard) IsSet() bool
- func (v NullableTypedWildcard) MarshalJSON() ([]byte, error)
- func (v *NullableTypedWildcard) Set(val *TypedWildcard)
- func (v *NullableTypedWildcard) UnmarshalJSON(src []byte) error
- func (v *NullableTypedWildcard) Unset()
- type NullableUnprocessableContentErrorCode
- func (v NullableUnprocessableContentErrorCode) Get() *UnprocessableContentErrorCode
- func (v NullableUnprocessableContentErrorCode) IsSet() bool
- func (v NullableUnprocessableContentErrorCode) MarshalJSON() ([]byte, error)
- func (v *NullableUnprocessableContentErrorCode) Set(val *UnprocessableContentErrorCode)
- func (v *NullableUnprocessableContentErrorCode) UnmarshalJSON(src []byte) error
- func (v *NullableUnprocessableContentErrorCode) Unset()
- type NullableUnprocessableContentMessageResponse
- func (v NullableUnprocessableContentMessageResponse) Get() *UnprocessableContentMessageResponse
- func (v NullableUnprocessableContentMessageResponse) IsSet() bool
- func (v NullableUnprocessableContentMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUnprocessableContentMessageResponse) Set(val *UnprocessableContentMessageResponse)
- func (v *NullableUnprocessableContentMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUnprocessableContentMessageResponse) Unset()
- type NullableUser
- type NullableUserTypeFilter
- func (v NullableUserTypeFilter) Get() *UserTypeFilter
- func (v NullableUserTypeFilter) IsSet() bool
- func (v NullableUserTypeFilter) MarshalJSON() ([]byte, error)
- func (v *NullableUserTypeFilter) Set(val *UserTypeFilter)
- func (v *NullableUserTypeFilter) UnmarshalJSON(src []byte) error
- func (v *NullableUserTypeFilter) Unset()
- type NullableUsers
- type NullableUserset
- type NullableUsersetTree
- func (v NullableUsersetTree) Get() *UsersetTree
- func (v NullableUsersetTree) IsSet() bool
- func (v NullableUsersetTree) MarshalJSON() ([]byte, error)
- func (v *NullableUsersetTree) Set(val *UsersetTree)
- func (v *NullableUsersetTree) UnmarshalJSON(src []byte) error
- func (v *NullableUsersetTree) Unset()
- type NullableUsersetTreeDifference
- func (v NullableUsersetTreeDifference) Get() *UsersetTreeDifference
- func (v NullableUsersetTreeDifference) IsSet() bool
- func (v NullableUsersetTreeDifference) MarshalJSON() ([]byte, error)
- func (v *NullableUsersetTreeDifference) Set(val *UsersetTreeDifference)
- func (v *NullableUsersetTreeDifference) UnmarshalJSON(src []byte) error
- func (v *NullableUsersetTreeDifference) Unset()
- type NullableUsersetTreeTupleToUserset
- func (v NullableUsersetTreeTupleToUserset) Get() *UsersetTreeTupleToUserset
- func (v NullableUsersetTreeTupleToUserset) IsSet() bool
- func (v NullableUsersetTreeTupleToUserset) MarshalJSON() ([]byte, error)
- func (v *NullableUsersetTreeTupleToUserset) Set(val *UsersetTreeTupleToUserset)
- func (v *NullableUsersetTreeTupleToUserset) UnmarshalJSON(src []byte) error
- func (v *NullableUsersetTreeTupleToUserset) Unset()
- type NullableUsersetUser
- func (v NullableUsersetUser) Get() *UsersetUser
- func (v NullableUsersetUser) IsSet() bool
- func (v NullableUsersetUser) MarshalJSON() ([]byte, error)
- func (v *NullableUsersetUser) Set(val *UsersetUser)
- func (v *NullableUsersetUser) UnmarshalJSON(src []byte) error
- func (v *NullableUsersetUser) Unset()
- type NullableUsersets
- type NullableValidationErrorMessageResponse
- func (v NullableValidationErrorMessageResponse) Get() *ValidationErrorMessageResponse
- func (v NullableValidationErrorMessageResponse) IsSet() bool
- func (v NullableValidationErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorMessageResponse) Set(val *ValidationErrorMessageResponse)
- func (v *NullableValidationErrorMessageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorMessageResponse) Unset()
- type NullableWriteAssertionsRequest
- func (v NullableWriteAssertionsRequest) Get() *WriteAssertionsRequest
- func (v NullableWriteAssertionsRequest) IsSet() bool
- func (v NullableWriteAssertionsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWriteAssertionsRequest) Set(val *WriteAssertionsRequest)
- func (v *NullableWriteAssertionsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWriteAssertionsRequest) Unset()
- type NullableWriteAuthorizationModelRequest
- func (v NullableWriteAuthorizationModelRequest) Get() *WriteAuthorizationModelRequest
- func (v NullableWriteAuthorizationModelRequest) IsSet() bool
- func (v NullableWriteAuthorizationModelRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWriteAuthorizationModelRequest) Set(val *WriteAuthorizationModelRequest)
- func (v *NullableWriteAuthorizationModelRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWriteAuthorizationModelRequest) Unset()
- type NullableWriteAuthorizationModelResponse
- func (v NullableWriteAuthorizationModelResponse) Get() *WriteAuthorizationModelResponse
- func (v NullableWriteAuthorizationModelResponse) IsSet() bool
- func (v NullableWriteAuthorizationModelResponse) MarshalJSON() ([]byte, error)
- func (v *NullableWriteAuthorizationModelResponse) Set(val *WriteAuthorizationModelResponse)
- func (v *NullableWriteAuthorizationModelResponse) UnmarshalJSON(src []byte) error
- func (v *NullableWriteAuthorizationModelResponse) Unset()
- type NullableWriteRequest
- func (v NullableWriteRequest) Get() *WriteRequest
- func (v NullableWriteRequest) IsSet() bool
- func (v NullableWriteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableWriteRequest) Set(val *WriteRequest)
- func (v *NullableWriteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableWriteRequest) Unset()
- type NullableWriteRequestDeletes
- func (v NullableWriteRequestDeletes) Get() *WriteRequestDeletes
- func (v NullableWriteRequestDeletes) IsSet() bool
- func (v NullableWriteRequestDeletes) MarshalJSON() ([]byte, error)
- func (v *NullableWriteRequestDeletes) Set(val *WriteRequestDeletes)
- func (v *NullableWriteRequestDeletes) UnmarshalJSON(src []byte) error
- func (v *NullableWriteRequestDeletes) Unset()
- type NullableWriteRequestWrites
- func (v NullableWriteRequestWrites) Get() *WriteRequestWrites
- func (v NullableWriteRequestWrites) IsSet() bool
- func (v NullableWriteRequestWrites) MarshalJSON() ([]byte, error)
- func (v *NullableWriteRequestWrites) Set(val *WriteRequestWrites)
- func (v *NullableWriteRequestWrites) UnmarshalJSON(src []byte) error
- func (v *NullableWriteRequestWrites) Unset()
- type ObjectOrUserset
- func (o *ObjectOrUserset) GetObject() FgaObject
- func (o *ObjectOrUserset) GetObjectOk() (*FgaObject, bool)
- func (o *ObjectOrUserset) GetUserset() UsersetUser
- func (o *ObjectOrUserset) GetUsersetOk() (*UsersetUser, bool)
- func (o *ObjectOrUserset) HasObject() bool
- func (o *ObjectOrUserset) HasUserset() bool
- func (o ObjectOrUserset) MarshalJSON() ([]byte, error)
- func (o *ObjectOrUserset) SetObject(v FgaObject)
- func (o *ObjectOrUserset) SetUserset(v UsersetUser)
- type ObjectRelation
- func (o *ObjectRelation) GetObject() string
- func (o *ObjectRelation) GetObjectOk() (*string, bool)
- func (o *ObjectRelation) GetRelation() string
- func (o *ObjectRelation) GetRelationOk() (*string, bool)
- func (o *ObjectRelation) HasObject() bool
- func (o *ObjectRelation) HasRelation() bool
- func (o ObjectRelation) MarshalJSON() ([]byte, error)
- func (o *ObjectRelation) SetObject(v string)
- func (o *ObjectRelation) SetRelation(v string)
- type OpenFgaApi
- type OpenFgaApiService
- func (a *OpenFgaApiService) Check(ctx _context.Context) ApiCheckRequest
- func (a *OpenFgaApiService) CheckExecute(r ApiCheckRequest) (CheckResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) CreateStore(ctx _context.Context) ApiCreateStoreRequest
- func (a *OpenFgaApiService) CreateStoreExecute(r ApiCreateStoreRequest) (CreateStoreResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) DeleteStore(ctx _context.Context) ApiDeleteStoreRequest
- func (a *OpenFgaApiService) DeleteStoreExecute(r ApiDeleteStoreRequest) (*_nethttp.Response, error)
- func (a *OpenFgaApiService) Expand(ctx _context.Context) ApiExpandRequest
- func (a *OpenFgaApiService) ExpandExecute(r ApiExpandRequest) (ExpandResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) GetStore(ctx _context.Context) ApiGetStoreRequest
- func (a *OpenFgaApiService) GetStoreExecute(r ApiGetStoreRequest) (GetStoreResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ListObjects(ctx _context.Context) ApiListObjectsRequest
- func (a *OpenFgaApiService) ListObjectsExecute(r ApiListObjectsRequest) (ListObjectsResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ListStores(ctx _context.Context) ApiListStoresRequest
- func (a *OpenFgaApiService) ListStoresExecute(r ApiListStoresRequest) (ListStoresResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ListUsers(ctx _context.Context) ApiListUsersRequest
- func (a *OpenFgaApiService) ListUsersExecute(r ApiListUsersRequest) (ListUsersResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) Read(ctx _context.Context) ApiReadRequest
- func (a *OpenFgaApiService) ReadAssertions(ctx _context.Context, authorizationModelId string) ApiReadAssertionsRequest
- func (a *OpenFgaApiService) ReadAssertionsExecute(r ApiReadAssertionsRequest) (ReadAssertionsResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ReadAuthorizationModel(ctx _context.Context, id string) ApiReadAuthorizationModelRequest
- func (a *OpenFgaApiService) ReadAuthorizationModelExecute(r ApiReadAuthorizationModelRequest) (ReadAuthorizationModelResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ReadAuthorizationModels(ctx _context.Context) ApiReadAuthorizationModelsRequest
- func (a *OpenFgaApiService) ReadAuthorizationModelsExecute(r ApiReadAuthorizationModelsRequest) (ReadAuthorizationModelsResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ReadChanges(ctx _context.Context) ApiReadChangesRequest
- func (a *OpenFgaApiService) ReadChangesExecute(r ApiReadChangesRequest) (ReadChangesResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) ReadExecute(r ApiReadRequest) (ReadResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) Write(ctx _context.Context) ApiWriteRequest
- func (a *OpenFgaApiService) WriteAssertions(ctx _context.Context, authorizationModelId string) ApiWriteAssertionsRequest
- func (a *OpenFgaApiService) WriteAssertionsExecute(r ApiWriteAssertionsRequest) (*_nethttp.Response, error)
- func (a *OpenFgaApiService) WriteAuthorizationModel(ctx _context.Context) ApiWriteAuthorizationModelRequest
- func (a *OpenFgaApiService) WriteAuthorizationModelExecute(r ApiWriteAuthorizationModelRequest) (WriteAuthorizationModelResponse, *_nethttp.Response, error)
- func (a *OpenFgaApiService) WriteExecute(r ApiWriteRequest) (map[string]interface{}, *_nethttp.Response, error)
- type PathUnknownErrorMessageResponse
- func (o *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
- func (o *PathUnknownErrorMessageResponse) GetCodeOk() (*NotFoundErrorCode, bool)
- func (o *PathUnknownErrorMessageResponse) GetMessage() string
- func (o *PathUnknownErrorMessageResponse) GetMessageOk() (*string, bool)
- func (o *PathUnknownErrorMessageResponse) HasCode() bool
- func (o *PathUnknownErrorMessageResponse) HasMessage() bool
- func (o PathUnknownErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (o *PathUnknownErrorMessageResponse) SetCode(v NotFoundErrorCode)
- func (o *PathUnknownErrorMessageResponse) SetMessage(v string)
- type ReadAssertionsResponse
- func (o *ReadAssertionsResponse) GetAssertions() []Assertion
- func (o *ReadAssertionsResponse) GetAssertionsOk() (*[]Assertion, bool)
- func (o *ReadAssertionsResponse) GetAuthorizationModelId() string
- func (o *ReadAssertionsResponse) GetAuthorizationModelIdOk() (*string, bool)
- func (o *ReadAssertionsResponse) HasAssertions() bool
- func (o ReadAssertionsResponse) MarshalJSON() ([]byte, error)
- func (o *ReadAssertionsResponse) SetAssertions(v []Assertion)
- func (o *ReadAssertionsResponse) SetAuthorizationModelId(v string)
- type ReadAuthorizationModelResponse
- func (o *ReadAuthorizationModelResponse) GetAuthorizationModel() AuthorizationModel
- func (o *ReadAuthorizationModelResponse) GetAuthorizationModelOk() (*AuthorizationModel, bool)
- func (o *ReadAuthorizationModelResponse) HasAuthorizationModel() bool
- func (o ReadAuthorizationModelResponse) MarshalJSON() ([]byte, error)
- func (o *ReadAuthorizationModelResponse) SetAuthorizationModel(v AuthorizationModel)
- type ReadAuthorizationModelsResponse
- func (o *ReadAuthorizationModelsResponse) GetAuthorizationModels() []AuthorizationModel
- func (o *ReadAuthorizationModelsResponse) GetAuthorizationModelsOk() (*[]AuthorizationModel, bool)
- func (o *ReadAuthorizationModelsResponse) GetContinuationToken() string
- func (o *ReadAuthorizationModelsResponse) GetContinuationTokenOk() (*string, bool)
- func (o *ReadAuthorizationModelsResponse) HasContinuationToken() bool
- func (o ReadAuthorizationModelsResponse) MarshalJSON() ([]byte, error)
- func (o *ReadAuthorizationModelsResponse) SetAuthorizationModels(v []AuthorizationModel)
- func (o *ReadAuthorizationModelsResponse) SetContinuationToken(v string)
- type ReadChangesResponse
- func (o *ReadChangesResponse) GetChanges() []TupleChange
- func (o *ReadChangesResponse) GetChangesOk() (*[]TupleChange, bool)
- func (o *ReadChangesResponse) GetContinuationToken() string
- func (o *ReadChangesResponse) GetContinuationTokenOk() (*string, bool)
- func (o *ReadChangesResponse) HasContinuationToken() bool
- func (o ReadChangesResponse) MarshalJSON() ([]byte, error)
- func (o *ReadChangesResponse) SetChanges(v []TupleChange)
- func (o *ReadChangesResponse) SetContinuationToken(v string)
- type ReadRequest
- func (o *ReadRequest) GetContinuationToken() string
- func (o *ReadRequest) GetContinuationTokenOk() (*string, bool)
- func (o *ReadRequest) GetPageSize() int32
- func (o *ReadRequest) GetPageSizeOk() (*int32, bool)
- func (o *ReadRequest) GetTupleKey() ReadRequestTupleKey
- func (o *ReadRequest) GetTupleKeyOk() (*ReadRequestTupleKey, bool)
- func (o *ReadRequest) HasContinuationToken() bool
- func (o *ReadRequest) HasPageSize() bool
- func (o *ReadRequest) HasTupleKey() bool
- func (o ReadRequest) MarshalJSON() ([]byte, error)
- func (o *ReadRequest) SetContinuationToken(v string)
- func (o *ReadRequest) SetPageSize(v int32)
- func (o *ReadRequest) SetTupleKey(v ReadRequestTupleKey)
- type ReadRequestTupleKey
- func (o *ReadRequestTupleKey) GetObject() string
- func (o *ReadRequestTupleKey) GetObjectOk() (*string, bool)
- func (o *ReadRequestTupleKey) GetRelation() string
- func (o *ReadRequestTupleKey) GetRelationOk() (*string, bool)
- func (o *ReadRequestTupleKey) GetUser() string
- func (o *ReadRequestTupleKey) GetUserOk() (*string, bool)
- func (o *ReadRequestTupleKey) HasObject() bool
- func (o *ReadRequestTupleKey) HasRelation() bool
- func (o *ReadRequestTupleKey) HasUser() bool
- func (o ReadRequestTupleKey) MarshalJSON() ([]byte, error)
- func (o *ReadRequestTupleKey) SetObject(v string)
- func (o *ReadRequestTupleKey) SetRelation(v string)
- func (o *ReadRequestTupleKey) SetUser(v string)
- type ReadResponse
- func (o *ReadResponse) GetContinuationToken() string
- func (o *ReadResponse) GetContinuationTokenOk() (*string, bool)
- func (o *ReadResponse) GetTuples() []Tuple
- func (o *ReadResponse) GetTuplesOk() (*[]Tuple, bool)
- func (o ReadResponse) MarshalJSON() ([]byte, error)
- func (o *ReadResponse) SetContinuationToken(v string)
- func (o *ReadResponse) SetTuples(v []Tuple)
- type RelationMetadata
- func (o *RelationMetadata) GetDirectlyRelatedUserTypes() []RelationReference
- func (o *RelationMetadata) GetDirectlyRelatedUserTypesOk() (*[]RelationReference, bool)
- func (o *RelationMetadata) GetModule() string
- func (o *RelationMetadata) GetModuleOk() (*string, bool)
- func (o *RelationMetadata) GetSourceInfo() SourceInfo
- func (o *RelationMetadata) GetSourceInfoOk() (*SourceInfo, bool)
- func (o *RelationMetadata) HasDirectlyRelatedUserTypes() bool
- func (o *RelationMetadata) HasModule() bool
- func (o *RelationMetadata) HasSourceInfo() bool
- func (o RelationMetadata) MarshalJSON() ([]byte, error)
- func (o *RelationMetadata) SetDirectlyRelatedUserTypes(v []RelationReference)
- func (o *RelationMetadata) SetModule(v string)
- func (o *RelationMetadata) SetSourceInfo(v SourceInfo)
- type RelationReference
- func (o *RelationReference) GetCondition() string
- func (o *RelationReference) GetConditionOk() (*string, bool)
- func (o *RelationReference) GetRelation() string
- func (o *RelationReference) GetRelationOk() (*string, bool)
- func (o *RelationReference) GetType() string
- func (o *RelationReference) GetTypeOk() (*string, bool)
- func (o *RelationReference) GetWildcard() map[string]interface{}
- func (o *RelationReference) GetWildcardOk() (*map[string]interface{}, bool)
- func (o *RelationReference) HasCondition() bool
- func (o *RelationReference) HasRelation() bool
- func (o *RelationReference) HasWildcard() bool
- func (o RelationReference) MarshalJSON() ([]byte, error)
- func (o *RelationReference) SetCondition(v string)
- func (o *RelationReference) SetRelation(v string)
- func (o *RelationReference) SetType(v string)
- func (o *RelationReference) SetWildcard(v map[string]interface{})
- type RelationshipCondition
- func (o *RelationshipCondition) GetContext() map[string]interface{}
- func (o *RelationshipCondition) GetContextOk() (*map[string]interface{}, bool)
- func (o *RelationshipCondition) GetName() string
- func (o *RelationshipCondition) GetNameOk() (*string, bool)
- func (o *RelationshipCondition) HasContext() bool
- func (o RelationshipCondition) MarshalJSON() ([]byte, error)
- func (o *RelationshipCondition) SetContext(v map[string]interface{})
- func (o *RelationshipCondition) SetName(v string)
- type RetryParams
- type SourceInfo
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []Any
- func (o *Status) GetDetailsOk() (*[]Any, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []Any)
- func (o *Status) SetMessage(v string)
- type Store
- func (o *Store) GetCreatedAt() time.Time
- func (o *Store) GetCreatedAtOk() (*time.Time, bool)
- func (o *Store) GetDeletedAt() time.Time
- func (o *Store) GetDeletedAtOk() (*time.Time, bool)
- func (o *Store) GetId() string
- func (o *Store) GetIdOk() (*string, bool)
- func (o *Store) GetName() string
- func (o *Store) GetNameOk() (*string, bool)
- func (o *Store) GetUpdatedAt() time.Time
- func (o *Store) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Store) HasDeletedAt() bool
- func (o Store) MarshalJSON() ([]byte, error)
- func (o *Store) SetCreatedAt(v time.Time)
- func (o *Store) SetDeletedAt(v time.Time)
- func (o *Store) SetId(v string)
- func (o *Store) SetName(v string)
- func (o *Store) SetUpdatedAt(v time.Time)
- type Tuple
- type TupleChange
- func (o *TupleChange) GetOperation() TupleOperation
- func (o *TupleChange) GetOperationOk() (*TupleOperation, bool)
- func (o *TupleChange) GetTimestamp() time.Time
- func (o *TupleChange) GetTimestampOk() (*time.Time, bool)
- func (o *TupleChange) GetTupleKey() TupleKey
- func (o *TupleChange) GetTupleKeyOk() (*TupleKey, bool)
- func (o TupleChange) MarshalJSON() ([]byte, error)
- func (o *TupleChange) SetOperation(v TupleOperation)
- func (o *TupleChange) SetTimestamp(v time.Time)
- func (o *TupleChange) SetTupleKey(v TupleKey)
- type TupleKey
- func (o *TupleKey) GetCondition() RelationshipCondition
- func (o *TupleKey) GetConditionOk() (*RelationshipCondition, bool)
- func (o *TupleKey) GetObject() string
- func (o *TupleKey) GetObjectOk() (*string, bool)
- func (o *TupleKey) GetRelation() string
- func (o *TupleKey) GetRelationOk() (*string, bool)
- func (o *TupleKey) GetUser() string
- func (o *TupleKey) GetUserOk() (*string, bool)
- func (o *TupleKey) HasCondition() bool
- func (o TupleKey) MarshalJSON() ([]byte, error)
- func (o *TupleKey) SetCondition(v RelationshipCondition)
- func (o *TupleKey) SetObject(v string)
- func (o *TupleKey) SetRelation(v string)
- func (o *TupleKey) SetUser(v string)
- type TupleKeyWithoutCondition
- func (o *TupleKeyWithoutCondition) GetObject() string
- func (o *TupleKeyWithoutCondition) GetObjectOk() (*string, bool)
- func (o *TupleKeyWithoutCondition) GetRelation() string
- func (o *TupleKeyWithoutCondition) GetRelationOk() (*string, bool)
- func (o *TupleKeyWithoutCondition) GetUser() string
- func (o *TupleKeyWithoutCondition) GetUserOk() (*string, bool)
- func (o TupleKeyWithoutCondition) MarshalJSON() ([]byte, error)
- func (o *TupleKeyWithoutCondition) SetObject(v string)
- func (o *TupleKeyWithoutCondition) SetRelation(v string)
- func (o *TupleKeyWithoutCondition) SetUser(v string)
- type TupleOperation
- type TupleToUserset
- func (o *TupleToUserset) GetComputedUserset() ObjectRelation
- func (o *TupleToUserset) GetComputedUsersetOk() (*ObjectRelation, bool)
- func (o *TupleToUserset) GetTupleset() ObjectRelation
- func (o *TupleToUserset) GetTuplesetOk() (*ObjectRelation, bool)
- func (o TupleToUserset) MarshalJSON() ([]byte, error)
- func (o *TupleToUserset) SetComputedUserset(v ObjectRelation)
- func (o *TupleToUserset) SetTupleset(v ObjectRelation)
- type TypeDefinition
- func (o *TypeDefinition) GetMetadata() Metadata
- func (o *TypeDefinition) GetMetadataOk() (*Metadata, bool)
- func (o *TypeDefinition) GetRelations() map[string]Userset
- func (o *TypeDefinition) GetRelationsOk() (*map[string]Userset, bool)
- func (o *TypeDefinition) GetType() string
- func (o *TypeDefinition) GetTypeOk() (*string, bool)
- func (o *TypeDefinition) HasMetadata() bool
- func (o *TypeDefinition) HasRelations() bool
- func (o TypeDefinition) MarshalJSON() ([]byte, error)
- func (o *TypeDefinition) SetMetadata(v Metadata)
- func (o *TypeDefinition) SetRelations(v map[string]Userset)
- func (o *TypeDefinition) SetType(v string)
- type TypeName
- type TypedWildcard
- type UnprocessableContentErrorCode
- type UnprocessableContentMessageResponse
- func (o *UnprocessableContentMessageResponse) GetCode() UnprocessableContentErrorCode
- func (o *UnprocessableContentMessageResponse) GetCodeOk() (*UnprocessableContentErrorCode, bool)
- func (o *UnprocessableContentMessageResponse) GetMessage() string
- func (o *UnprocessableContentMessageResponse) GetMessageOk() (*string, bool)
- func (o *UnprocessableContentMessageResponse) HasCode() bool
- func (o *UnprocessableContentMessageResponse) HasMessage() bool
- func (o UnprocessableContentMessageResponse) MarshalJSON() ([]byte, error)
- func (o *UnprocessableContentMessageResponse) SetCode(v UnprocessableContentErrorCode)
- func (o *UnprocessableContentMessageResponse) SetMessage(v string)
- type User
- func (o *User) GetObject() FgaObject
- func (o *User) GetObjectOk() (*FgaObject, bool)
- func (o *User) GetUserset() UsersetUser
- func (o *User) GetUsersetOk() (*UsersetUser, bool)
- func (o *User) GetWildcard() TypedWildcard
- func (o *User) GetWildcardOk() (*TypedWildcard, bool)
- func (o *User) HasObject() bool
- func (o *User) HasUserset() bool
- func (o *User) HasWildcard() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetObject(v FgaObject)
- func (o *User) SetUserset(v UsersetUser)
- func (o *User) SetWildcard(v TypedWildcard)
- type UserTypeFilter
- func (o *UserTypeFilter) GetRelation() string
- func (o *UserTypeFilter) GetRelationOk() (*string, bool)
- func (o *UserTypeFilter) GetType() string
- func (o *UserTypeFilter) GetTypeOk() (*string, bool)
- func (o *UserTypeFilter) HasRelation() bool
- func (o UserTypeFilter) MarshalJSON() ([]byte, error)
- func (o *UserTypeFilter) SetRelation(v string)
- func (o *UserTypeFilter) SetType(v string)
- type Users
- type Userset
- func (o *Userset) GetComputedUserset() ObjectRelation
- func (o *Userset) GetComputedUsersetOk() (*ObjectRelation, bool)
- func (o *Userset) GetDifference() Difference
- func (o *Userset) GetDifferenceOk() (*Difference, bool)
- func (o *Userset) GetIntersection() Usersets
- func (o *Userset) GetIntersectionOk() (*Usersets, bool)
- func (o *Userset) GetThis() map[string]interface{}
- func (o *Userset) GetThisOk() (*map[string]interface{}, bool)
- func (o *Userset) GetTupleToUserset() TupleToUserset
- func (o *Userset) GetTupleToUsersetOk() (*TupleToUserset, bool)
- func (o *Userset) GetUnion() Usersets
- func (o *Userset) GetUnionOk() (*Usersets, bool)
- func (o *Userset) HasComputedUserset() bool
- func (o *Userset) HasDifference() bool
- func (o *Userset) HasIntersection() bool
- func (o *Userset) HasThis() bool
- func (o *Userset) HasTupleToUserset() bool
- func (o *Userset) HasUnion() bool
- func (o Userset) MarshalJSON() ([]byte, error)
- func (o *Userset) SetComputedUserset(v ObjectRelation)
- func (o *Userset) SetDifference(v Difference)
- func (o *Userset) SetIntersection(v Usersets)
- func (o *Userset) SetThis(v map[string]interface{})
- func (o *Userset) SetTupleToUserset(v TupleToUserset)
- func (o *Userset) SetUnion(v Usersets)
- type UsersetTree
- type UsersetTreeDifference
- func (o *UsersetTreeDifference) GetBase() Node
- func (o *UsersetTreeDifference) GetBaseOk() (*Node, bool)
- func (o *UsersetTreeDifference) GetSubtract() Node
- func (o *UsersetTreeDifference) GetSubtractOk() (*Node, bool)
- func (o UsersetTreeDifference) MarshalJSON() ([]byte, error)
- func (o *UsersetTreeDifference) SetBase(v Node)
- func (o *UsersetTreeDifference) SetSubtract(v Node)
- type UsersetTreeTupleToUserset
- func (o *UsersetTreeTupleToUserset) GetComputed() []Computed
- func (o *UsersetTreeTupleToUserset) GetComputedOk() (*[]Computed, bool)
- func (o *UsersetTreeTupleToUserset) GetTupleset() string
- func (o *UsersetTreeTupleToUserset) GetTuplesetOk() (*string, bool)
- func (o UsersetTreeTupleToUserset) MarshalJSON() ([]byte, error)
- func (o *UsersetTreeTupleToUserset) SetComputed(v []Computed)
- func (o *UsersetTreeTupleToUserset) SetTupleset(v string)
- type UsersetUser
- func (o *UsersetUser) GetId() string
- func (o *UsersetUser) GetIdOk() (*string, bool)
- func (o *UsersetUser) GetRelation() string
- func (o *UsersetUser) GetRelationOk() (*string, bool)
- func (o *UsersetUser) GetType() string
- func (o *UsersetUser) GetTypeOk() (*string, bool)
- func (o UsersetUser) MarshalJSON() ([]byte, error)
- func (o *UsersetUser) SetId(v string)
- func (o *UsersetUser) SetRelation(v string)
- func (o *UsersetUser) SetType(v string)
- type Usersets
- type ValidationErrorMessageResponse
- func (o *ValidationErrorMessageResponse) GetCode() ErrorCode
- func (o *ValidationErrorMessageResponse) GetCodeOk() (*ErrorCode, bool)
- func (o *ValidationErrorMessageResponse) GetMessage() string
- func (o *ValidationErrorMessageResponse) GetMessageOk() (*string, bool)
- func (o *ValidationErrorMessageResponse) HasCode() bool
- func (o *ValidationErrorMessageResponse) HasMessage() bool
- func (o ValidationErrorMessageResponse) MarshalJSON() ([]byte, error)
- func (o *ValidationErrorMessageResponse) SetCode(v ErrorCode)
- func (o *ValidationErrorMessageResponse) SetMessage(v string)
- type WriteAssertionsRequest
- type WriteAuthorizationModelRequest
- func (o *WriteAuthorizationModelRequest) GetConditions() map[string]Condition
- func (o *WriteAuthorizationModelRequest) GetConditionsOk() (*map[string]Condition, bool)
- func (o *WriteAuthorizationModelRequest) GetSchemaVersion() string
- func (o *WriteAuthorizationModelRequest) GetSchemaVersionOk() (*string, bool)
- func (o *WriteAuthorizationModelRequest) GetTypeDefinitions() []TypeDefinition
- func (o *WriteAuthorizationModelRequest) GetTypeDefinitionsOk() (*[]TypeDefinition, bool)
- func (o *WriteAuthorizationModelRequest) HasConditions() bool
- func (o WriteAuthorizationModelRequest) MarshalJSON() ([]byte, error)
- func (o *WriteAuthorizationModelRequest) SetConditions(v map[string]Condition)
- func (o *WriteAuthorizationModelRequest) SetSchemaVersion(v string)
- func (o *WriteAuthorizationModelRequest) SetTypeDefinitions(v []TypeDefinition)
- type WriteAuthorizationModelResponse
- func (o *WriteAuthorizationModelResponse) GetAuthorizationModelId() string
- func (o *WriteAuthorizationModelResponse) GetAuthorizationModelIdOk() (*string, bool)
- func (o WriteAuthorizationModelResponse) MarshalJSON() ([]byte, error)
- func (o *WriteAuthorizationModelResponse) SetAuthorizationModelId(v string)
- type WriteRequest
- func (o *WriteRequest) GetAuthorizationModelId() string
- func (o *WriteRequest) GetAuthorizationModelIdOk() (*string, bool)
- func (o *WriteRequest) GetDeletes() WriteRequestDeletes
- func (o *WriteRequest) GetDeletesOk() (*WriteRequestDeletes, bool)
- func (o *WriteRequest) GetWrites() WriteRequestWrites
- func (o *WriteRequest) GetWritesOk() (*WriteRequestWrites, bool)
- func (o *WriteRequest) HasAuthorizationModelId() bool
- func (o *WriteRequest) HasDeletes() bool
- func (o *WriteRequest) HasWrites() bool
- func (o WriteRequest) MarshalJSON() ([]byte, error)
- func (o *WriteRequest) SetAuthorizationModelId(v string)
- func (o *WriteRequest) SetDeletes(v WriteRequestDeletes)
- func (o *WriteRequest) SetWrites(v WriteRequestWrites)
- type WriteRequestDeletes
- type WriteRequestWrites
Constants ¶
const (
SdkVersion = "0.3.7"
)
Variables ¶
This section is empty.
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func GetSdkUserAgent ¶
func GetSdkUserAgent() string
func IsWellFormedUri ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { OpenFgaApi OpenFgaApi // contains filtered or unexported fields }
APIClient manages communication with the OpenFGA API v0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (APIClient) GetStoreId ¶
func (APIClient) SetStoreId ¶
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AbortedMessageResponse ¶ added in v0.3.2
type AbortedMessageResponse struct { Code *string `json:"code,omitempty"yaml:"code,omitempty"` Message *string `json:"message,omitempty"yaml:"message,omitempty"` }
AbortedMessageResponse struct for AbortedMessageResponse
func NewAbortedMessageResponse ¶ added in v0.3.2
func NewAbortedMessageResponse() *AbortedMessageResponse
NewAbortedMessageResponse instantiates a new AbortedMessageResponse 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 NewAbortedMessageResponseWithDefaults ¶ added in v0.3.2
func NewAbortedMessageResponseWithDefaults() *AbortedMessageResponse
NewAbortedMessageResponseWithDefaults instantiates a new AbortedMessageResponse 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 (*AbortedMessageResponse) GetCode ¶ added in v0.3.2
func (o *AbortedMessageResponse) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*AbortedMessageResponse) GetCodeOk ¶ added in v0.3.2
func (o *AbortedMessageResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AbortedMessageResponse) GetMessage ¶ added in v0.3.2
func (o *AbortedMessageResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*AbortedMessageResponse) GetMessageOk ¶ added in v0.3.2
func (o *AbortedMessageResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AbortedMessageResponse) HasCode ¶ added in v0.3.2
func (o *AbortedMessageResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*AbortedMessageResponse) HasMessage ¶ added in v0.3.2
func (o *AbortedMessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (AbortedMessageResponse) MarshalJSON ¶ added in v0.3.2
func (o AbortedMessageResponse) MarshalJSON() ([]byte, error)
func (*AbortedMessageResponse) SetCode ¶ added in v0.3.2
func (o *AbortedMessageResponse) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*AbortedMessageResponse) SetMessage ¶ added in v0.3.2
func (o *AbortedMessageResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type Any ¶
type Any struct {
Type *string `json:"@type,omitempty"yaml:"@type,omitempty"`
}
Any struct for Any
func NewAny ¶
func NewAny() *Any
NewAny instantiates a new Any 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 NewAnyWithDefaults ¶
func NewAnyWithDefaults() *Any
NewAnyWithDefaults instantiates a new Any 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 (*Any) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Any) MarshalJSON ¶
type ApiCheckRequest ¶
type ApiCheckRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiCheckRequest) Body ¶
func (r ApiCheckRequest) Body(body CheckRequest) ApiCheckRequest
func (ApiCheckRequest) Execute ¶
func (r ApiCheckRequest) Execute() (CheckResponse, *_nethttp.Response, error)
type ApiCreateStoreRequest ¶
type ApiCreateStoreRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiCreateStoreRequest) Body ¶
func (r ApiCreateStoreRequest) Body(body CreateStoreRequest) ApiCreateStoreRequest
func (ApiCreateStoreRequest) Execute ¶
func (r ApiCreateStoreRequest) Execute() (CreateStoreResponse, *_nethttp.Response, error)
type ApiDeleteStoreRequest ¶
type ApiDeleteStoreRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
type ApiExpandRequest ¶
type ApiExpandRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiExpandRequest) Body ¶
func (r ApiExpandRequest) Body(body ExpandRequest) ApiExpandRequest
func (ApiExpandRequest) Execute ¶
func (r ApiExpandRequest) Execute() (ExpandResponse, *_nethttp.Response, error)
type ApiGetStoreRequest ¶
type ApiGetStoreRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiGetStoreRequest) Execute ¶
func (r ApiGetStoreRequest) Execute() (GetStoreResponse, *_nethttp.Response, error)
type ApiListObjectsRequest ¶ added in v0.0.2
type ApiListObjectsRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiListObjectsRequest) Body ¶ added in v0.0.2
func (r ApiListObjectsRequest) Body(body ListObjectsRequest) ApiListObjectsRequest
func (ApiListObjectsRequest) Execute ¶ added in v0.0.2
func (r ApiListObjectsRequest) Execute() (ListObjectsResponse, *_nethttp.Response, error)
type ApiListStoresRequest ¶
type ApiListStoresRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiListStoresRequest) ContinuationToken ¶
func (r ApiListStoresRequest) ContinuationToken(continuationToken string) ApiListStoresRequest
func (ApiListStoresRequest) Execute ¶
func (r ApiListStoresRequest) Execute() (ListStoresResponse, *_nethttp.Response, error)
func (ApiListStoresRequest) PageSize ¶
func (r ApiListStoresRequest) PageSize(pageSize int32) ApiListStoresRequest
type ApiListUsersRequest ¶ added in v0.3.6
type ApiListUsersRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiListUsersRequest) Body ¶ added in v0.3.6
func (r ApiListUsersRequest) Body(body ListUsersRequest) ApiListUsersRequest
func (ApiListUsersRequest) Execute ¶ added in v0.3.6
func (r ApiListUsersRequest) Execute() (ListUsersResponse, *_nethttp.Response, error)
type ApiReadAssertionsRequest ¶
type ApiReadAssertionsRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiReadAssertionsRequest) Execute ¶
func (r ApiReadAssertionsRequest) Execute() (ReadAssertionsResponse, *_nethttp.Response, error)
type ApiReadAuthorizationModelRequest ¶
type ApiReadAuthorizationModelRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiReadAuthorizationModelRequest) Execute ¶
func (r ApiReadAuthorizationModelRequest) Execute() (ReadAuthorizationModelResponse, *_nethttp.Response, error)
type ApiReadAuthorizationModelsRequest ¶
type ApiReadAuthorizationModelsRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiReadAuthorizationModelsRequest) ContinuationToken ¶
func (r ApiReadAuthorizationModelsRequest) ContinuationToken(continuationToken string) ApiReadAuthorizationModelsRequest
func (ApiReadAuthorizationModelsRequest) Execute ¶
func (r ApiReadAuthorizationModelsRequest) Execute() (ReadAuthorizationModelsResponse, *_nethttp.Response, error)
func (ApiReadAuthorizationModelsRequest) PageSize ¶
func (r ApiReadAuthorizationModelsRequest) PageSize(pageSize int32) ApiReadAuthorizationModelsRequest
type ApiReadChangesRequest ¶
type ApiReadChangesRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiReadChangesRequest) ContinuationToken ¶
func (r ApiReadChangesRequest) ContinuationToken(continuationToken string) ApiReadChangesRequest
func (ApiReadChangesRequest) Execute ¶
func (r ApiReadChangesRequest) Execute() (ReadChangesResponse, *_nethttp.Response, error)
func (ApiReadChangesRequest) PageSize ¶
func (r ApiReadChangesRequest) PageSize(pageSize int32) ApiReadChangesRequest
func (ApiReadChangesRequest) Type_ ¶
func (r ApiReadChangesRequest) Type_(type_ string) ApiReadChangesRequest
type ApiReadRequest ¶
type ApiReadRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiReadRequest) Body ¶
func (r ApiReadRequest) Body(body ReadRequest) ApiReadRequest
func (ApiReadRequest) Execute ¶
func (r ApiReadRequest) Execute() (ReadResponse, *_nethttp.Response, error)
type ApiWriteAssertionsRequest ¶
type ApiWriteAssertionsRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiWriteAssertionsRequest) Body ¶
func (r ApiWriteAssertionsRequest) Body(body WriteAssertionsRequest) ApiWriteAssertionsRequest
type ApiWriteAuthorizationModelRequest ¶
type ApiWriteAuthorizationModelRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiWriteAuthorizationModelRequest) Execute ¶
func (r ApiWriteAuthorizationModelRequest) Execute() (WriteAuthorizationModelResponse, *_nethttp.Response, error)
type ApiWriteRequest ¶
type ApiWriteRequest struct { ApiService OpenFgaApi // contains filtered or unexported fields }
func (ApiWriteRequest) Body ¶
func (r ApiWriteRequest) Body(body WriteRequest) ApiWriteRequest
type Assertion ¶
type Assertion struct { TupleKey AssertionTupleKey `json:"tuple_key"yaml:"tuple_key"` Expectation bool `json:"expectation"yaml:"expectation"` }
Assertion struct for Assertion
func NewAssertion ¶
func NewAssertion(tupleKey AssertionTupleKey, expectation bool) *Assertion
NewAssertion instantiates a new Assertion 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 NewAssertionWithDefaults ¶
func NewAssertionWithDefaults() *Assertion
NewAssertionWithDefaults instantiates a new Assertion 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 (*Assertion) GetExpectation ¶
GetExpectation returns the Expectation field value
func (*Assertion) GetExpectationOk ¶
GetExpectationOk returns a tuple with the Expectation field value and a boolean to check if the value has been set.
func (*Assertion) GetTupleKey ¶
func (o *Assertion) GetTupleKey() AssertionTupleKey
GetTupleKey returns the TupleKey field value
func (*Assertion) GetTupleKeyOk ¶
func (o *Assertion) GetTupleKeyOk() (*AssertionTupleKey, bool)
GetTupleKeyOk returns a tuple with the TupleKey field value and a boolean to check if the value has been set.
func (Assertion) MarshalJSON ¶
func (*Assertion) SetExpectation ¶
SetExpectation sets field value
func (*Assertion) SetTupleKey ¶
func (o *Assertion) SetTupleKey(v AssertionTupleKey)
SetTupleKey sets field value
type AssertionTupleKey ¶ added in v0.3.0
type AssertionTupleKey struct { Object string `json:"object"yaml:"object"` Relation string `json:"relation"yaml:"relation"` User string `json:"user"yaml:"user"` }
AssertionTupleKey struct for AssertionTupleKey
func NewAssertionTupleKey ¶ added in v0.3.0
func NewAssertionTupleKey(object string, relation string, user string) *AssertionTupleKey
NewAssertionTupleKey instantiates a new AssertionTupleKey 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 NewAssertionTupleKeyWithDefaults ¶ added in v0.3.0
func NewAssertionTupleKeyWithDefaults() *AssertionTupleKey
NewAssertionTupleKeyWithDefaults instantiates a new AssertionTupleKey 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 (*AssertionTupleKey) GetObject ¶ added in v0.3.0
func (o *AssertionTupleKey) GetObject() string
GetObject returns the Object field value
func (*AssertionTupleKey) GetObjectOk ¶ added in v0.3.0
func (o *AssertionTupleKey) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*AssertionTupleKey) GetRelation ¶ added in v0.3.0
func (o *AssertionTupleKey) GetRelation() string
GetRelation returns the Relation field value
func (*AssertionTupleKey) GetRelationOk ¶ added in v0.3.0
func (o *AssertionTupleKey) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*AssertionTupleKey) GetUser ¶ added in v0.3.0
func (o *AssertionTupleKey) GetUser() string
GetUser returns the User field value
func (*AssertionTupleKey) GetUserOk ¶ added in v0.3.0
func (o *AssertionTupleKey) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (AssertionTupleKey) MarshalJSON ¶ added in v0.3.0
func (o AssertionTupleKey) MarshalJSON() ([]byte, error)
func (*AssertionTupleKey) SetObject ¶ added in v0.3.0
func (o *AssertionTupleKey) SetObject(v string)
SetObject sets field value
func (*AssertionTupleKey) SetRelation ¶ added in v0.3.0
func (o *AssertionTupleKey) SetRelation(v string)
SetRelation sets field value
func (*AssertionTupleKey) SetUser ¶ added in v0.3.0
func (o *AssertionTupleKey) SetUser(v string)
SetUser sets field value
type AuthorizationModel ¶
type AuthorizationModel struct { Id string `json:"id"yaml:"id"` SchemaVersion string `json:"schema_version"yaml:"schema_version"` TypeDefinitions []TypeDefinition `json:"type_definitions"yaml:"type_definitions"` Conditions *map[string]Condition `json:"conditions,omitempty"yaml:"conditions,omitempty"` }
AuthorizationModel struct for AuthorizationModel
func NewAuthorizationModel ¶
func NewAuthorizationModel(id string, schemaVersion string, typeDefinitions []TypeDefinition) *AuthorizationModel
NewAuthorizationModel instantiates a new AuthorizationModel 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 NewAuthorizationModelWithDefaults ¶
func NewAuthorizationModelWithDefaults() *AuthorizationModel
NewAuthorizationModelWithDefaults instantiates a new AuthorizationModel 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 (*AuthorizationModel) GetConditions ¶ added in v0.3.0
func (o *AuthorizationModel) GetConditions() map[string]Condition
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*AuthorizationModel) GetConditionsOk ¶ added in v0.3.0
func (o *AuthorizationModel) GetConditionsOk() (*map[string]Condition, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AuthorizationModel) GetId ¶
func (o *AuthorizationModel) GetId() string
GetId returns the Id field value
func (*AuthorizationModel) GetIdOk ¶
func (o *AuthorizationModel) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AuthorizationModel) GetSchemaVersion ¶ added in v0.1.0
func (o *AuthorizationModel) GetSchemaVersion() string
GetSchemaVersion returns the SchemaVersion field value
func (*AuthorizationModel) GetSchemaVersionOk ¶ added in v0.1.0
func (o *AuthorizationModel) GetSchemaVersionOk() (*string, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value and a boolean to check if the value has been set.
func (*AuthorizationModel) GetTypeDefinitions ¶
func (o *AuthorizationModel) GetTypeDefinitions() []TypeDefinition
GetTypeDefinitions returns the TypeDefinitions field value
func (*AuthorizationModel) GetTypeDefinitionsOk ¶
func (o *AuthorizationModel) GetTypeDefinitionsOk() (*[]TypeDefinition, bool)
GetTypeDefinitionsOk returns a tuple with the TypeDefinitions field value and a boolean to check if the value has been set.
func (*AuthorizationModel) HasConditions ¶ added in v0.3.0
func (o *AuthorizationModel) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (AuthorizationModel) MarshalJSON ¶
func (o AuthorizationModel) MarshalJSON() ([]byte, error)
func (*AuthorizationModel) SetConditions ¶ added in v0.3.0
func (o *AuthorizationModel) SetConditions(v map[string]Condition)
SetConditions gets a reference to the given map[string]Condition and assigns it to the Conditions field.
func (*AuthorizationModel) SetId ¶
func (o *AuthorizationModel) SetId(v string)
SetId sets field value
func (*AuthorizationModel) SetSchemaVersion ¶ added in v0.1.0
func (o *AuthorizationModel) SetSchemaVersion(v string)
SetSchemaVersion sets field value
func (*AuthorizationModel) SetTypeDefinitions ¶
func (o *AuthorizationModel) SetTypeDefinitions(v []TypeDefinition)
SetTypeDefinitions sets field value
type CheckRequest ¶
type CheckRequest struct { TupleKey CheckRequestTupleKey `json:"tuple_key"yaml:"tuple_key"` ContextualTuples *ContextualTupleKeys `json:"contextual_tuples,omitempty"yaml:"contextual_tuples,omitempty"` AuthorizationModelId *string `json:"authorization_model_id,omitempty"yaml:"authorization_model_id,omitempty"` // Defaults to false. Making it true has performance implications. Trace *bool `json:"trace,omitempty"yaml:"trace,omitempty"` // Additional request context that will be used to evaluate any ABAC conditions encountered in the query evaluation. Context *map[string]interface{} `json:"context,omitempty"yaml:"context,omitempty"` }
CheckRequest struct for CheckRequest
func NewCheckRequest ¶
func NewCheckRequest(tupleKey CheckRequestTupleKey) *CheckRequest
NewCheckRequest instantiates a new CheckRequest 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 NewCheckRequestWithDefaults ¶
func NewCheckRequestWithDefaults() *CheckRequest
NewCheckRequestWithDefaults instantiates a new CheckRequest 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 (*CheckRequest) GetAuthorizationModelId ¶
func (o *CheckRequest) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value if set, zero value otherwise.
func (*CheckRequest) GetAuthorizationModelIdOk ¶
func (o *CheckRequest) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRequest) GetContext ¶ added in v0.3.0
func (o *CheckRequest) GetContext() map[string]interface{}
GetContext returns the Context field value if set, zero value otherwise.
func (*CheckRequest) GetContextOk ¶ added in v0.3.0
func (o *CheckRequest) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRequest) GetContextualTuples ¶
func (o *CheckRequest) GetContextualTuples() ContextualTupleKeys
GetContextualTuples returns the ContextualTuples field value if set, zero value otherwise.
func (*CheckRequest) GetContextualTuplesOk ¶
func (o *CheckRequest) GetContextualTuplesOk() (*ContextualTupleKeys, bool)
GetContextualTuplesOk returns a tuple with the ContextualTuples field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRequest) GetTrace ¶
func (o *CheckRequest) GetTrace() bool
GetTrace returns the Trace field value if set, zero value otherwise.
func (*CheckRequest) GetTraceOk ¶
func (o *CheckRequest) GetTraceOk() (*bool, bool)
GetTraceOk returns a tuple with the Trace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckRequest) GetTupleKey ¶
func (o *CheckRequest) GetTupleKey() CheckRequestTupleKey
GetTupleKey returns the TupleKey field value
func (*CheckRequest) GetTupleKeyOk ¶
func (o *CheckRequest) GetTupleKeyOk() (*CheckRequestTupleKey, bool)
GetTupleKeyOk returns a tuple with the TupleKey field value and a boolean to check if the value has been set.
func (*CheckRequest) HasAuthorizationModelId ¶
func (o *CheckRequest) HasAuthorizationModelId() bool
HasAuthorizationModelId returns a boolean if a field has been set.
func (*CheckRequest) HasContext ¶ added in v0.3.0
func (o *CheckRequest) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*CheckRequest) HasContextualTuples ¶
func (o *CheckRequest) HasContextualTuples() bool
HasContextualTuples returns a boolean if a field has been set.
func (*CheckRequest) HasTrace ¶
func (o *CheckRequest) HasTrace() bool
HasTrace returns a boolean if a field has been set.
func (CheckRequest) MarshalJSON ¶
func (o CheckRequest) MarshalJSON() ([]byte, error)
func (*CheckRequest) SetAuthorizationModelId ¶
func (o *CheckRequest) SetAuthorizationModelId(v string)
SetAuthorizationModelId gets a reference to the given string and assigns it to the AuthorizationModelId field.
func (*CheckRequest) SetContext ¶ added in v0.3.0
func (o *CheckRequest) SetContext(v map[string]interface{})
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
func (*CheckRequest) SetContextualTuples ¶
func (o *CheckRequest) SetContextualTuples(v ContextualTupleKeys)
SetContextualTuples gets a reference to the given ContextualTupleKeys and assigns it to the ContextualTuples field.
func (*CheckRequest) SetTrace ¶
func (o *CheckRequest) SetTrace(v bool)
SetTrace gets a reference to the given bool and assigns it to the Trace field.
func (*CheckRequest) SetTupleKey ¶
func (o *CheckRequest) SetTupleKey(v CheckRequestTupleKey)
SetTupleKey sets field value
type CheckRequestTupleKey ¶ added in v0.3.0
type CheckRequestTupleKey struct { User string `json:"user"yaml:"user"` Relation string `json:"relation"yaml:"relation"` Object string `json:"object"yaml:"object"` }
CheckRequestTupleKey struct for CheckRequestTupleKey
func NewCheckRequestTupleKey ¶ added in v0.3.0
func NewCheckRequestTupleKey(user string, relation string, object string) *CheckRequestTupleKey
NewCheckRequestTupleKey instantiates a new CheckRequestTupleKey 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 NewCheckRequestTupleKeyWithDefaults ¶ added in v0.3.0
func NewCheckRequestTupleKeyWithDefaults() *CheckRequestTupleKey
NewCheckRequestTupleKeyWithDefaults instantiates a new CheckRequestTupleKey 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 (*CheckRequestTupleKey) GetObject ¶ added in v0.3.0
func (o *CheckRequestTupleKey) GetObject() string
GetObject returns the Object field value
func (*CheckRequestTupleKey) GetObjectOk ¶ added in v0.3.0
func (o *CheckRequestTupleKey) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*CheckRequestTupleKey) GetRelation ¶ added in v0.3.0
func (o *CheckRequestTupleKey) GetRelation() string
GetRelation returns the Relation field value
func (*CheckRequestTupleKey) GetRelationOk ¶ added in v0.3.0
func (o *CheckRequestTupleKey) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*CheckRequestTupleKey) GetUser ¶ added in v0.3.0
func (o *CheckRequestTupleKey) GetUser() string
GetUser returns the User field value
func (*CheckRequestTupleKey) GetUserOk ¶ added in v0.3.0
func (o *CheckRequestTupleKey) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (CheckRequestTupleKey) MarshalJSON ¶ added in v0.3.0
func (o CheckRequestTupleKey) MarshalJSON() ([]byte, error)
func (*CheckRequestTupleKey) SetObject ¶ added in v0.3.0
func (o *CheckRequestTupleKey) SetObject(v string)
SetObject sets field value
func (*CheckRequestTupleKey) SetRelation ¶ added in v0.3.0
func (o *CheckRequestTupleKey) SetRelation(v string)
SetRelation sets field value
func (*CheckRequestTupleKey) SetUser ¶ added in v0.3.0
func (o *CheckRequestTupleKey) SetUser(v string)
SetUser sets field value
type CheckResponse ¶
type CheckResponse struct { Allowed *bool `json:"allowed,omitempty"yaml:"allowed,omitempty"` // For internal use only. Resolution *string `json:"resolution,omitempty"yaml:"resolution,omitempty"` }
CheckResponse struct for CheckResponse
func NewCheckResponse ¶
func NewCheckResponse() *CheckResponse
NewCheckResponse instantiates a new CheckResponse 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 NewCheckResponseWithDefaults ¶
func NewCheckResponseWithDefaults() *CheckResponse
NewCheckResponseWithDefaults instantiates a new CheckResponse 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 (*CheckResponse) GetAllowed ¶
func (o *CheckResponse) GetAllowed() bool
GetAllowed returns the Allowed field value if set, zero value otherwise.
func (*CheckResponse) GetAllowedOk ¶
func (o *CheckResponse) GetAllowedOk() (*bool, bool)
GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckResponse) GetResolution ¶
func (o *CheckResponse) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*CheckResponse) GetResolutionOk ¶
func (o *CheckResponse) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CheckResponse) HasAllowed ¶
func (o *CheckResponse) HasAllowed() bool
HasAllowed returns a boolean if a field has been set.
func (*CheckResponse) HasResolution ¶
func (o *CheckResponse) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (CheckResponse) MarshalJSON ¶
func (o CheckResponse) MarshalJSON() ([]byte, error)
func (*CheckResponse) SetAllowed ¶
func (o *CheckResponse) SetAllowed(v bool)
SetAllowed gets a reference to the given bool and assigns it to the Allowed field.
func (*CheckResponse) SetResolution ¶
func (o *CheckResponse) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
type Computed ¶
type Computed struct {
Userset string `json:"userset"yaml:"userset"`
}
Computed struct for Computed
func NewComputed ¶
NewComputed instantiates a new Computed 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 NewComputedWithDefaults ¶
func NewComputedWithDefaults() *Computed
NewComputedWithDefaults instantiates a new Computed 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 (*Computed) GetUserset ¶
GetUserset returns the Userset field value
func (*Computed) GetUsersetOk ¶
GetUsersetOk returns a tuple with the Userset field value and a boolean to check if the value has been set.
func (Computed) MarshalJSON ¶
type Condition ¶ added in v0.3.0
type Condition struct { Name string `json:"name"yaml:"name"` // A Google CEL expression, expressed as a string. Expression string `json:"expression"yaml:"expression"` // A map of parameter names to the parameter's defined type reference. Parameters *map[string]ConditionParamTypeRef `json:"parameters,omitempty"yaml:"parameters,omitempty"` Metadata *ConditionMetadata `json:"metadata,omitempty"yaml:"metadata,omitempty"` }
Condition struct for Condition
func NewCondition ¶ added in v0.3.0
NewCondition instantiates a new Condition 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 NewConditionWithDefaults ¶ added in v0.3.0
func NewConditionWithDefaults() *Condition
NewConditionWithDefaults instantiates a new Condition 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 (*Condition) GetExpression ¶ added in v0.3.0
GetExpression returns the Expression field value
func (*Condition) GetExpressionOk ¶ added in v0.3.0
GetExpressionOk returns a tuple with the Expression field value and a boolean to check if the value has been set.
func (*Condition) GetMetadata ¶ added in v0.3.6
func (o *Condition) GetMetadata() ConditionMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Condition) GetMetadataOk ¶ added in v0.3.6
func (o *Condition) GetMetadataOk() (*ConditionMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) GetNameOk ¶ added in v0.3.0
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Condition) GetParameters ¶ added in v0.3.0
func (o *Condition) GetParameters() map[string]ConditionParamTypeRef
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*Condition) GetParametersOk ¶ added in v0.3.0
func (o *Condition) GetParametersOk() (*map[string]ConditionParamTypeRef, bool)
GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) HasMetadata ¶ added in v0.3.6
HasMetadata returns a boolean if a field has been set.
func (*Condition) HasParameters ¶ added in v0.3.0
HasParameters returns a boolean if a field has been set.
func (Condition) MarshalJSON ¶ added in v0.3.0
func (*Condition) SetExpression ¶ added in v0.3.0
SetExpression sets field value
func (*Condition) SetMetadata ¶ added in v0.3.6
func (o *Condition) SetMetadata(v ConditionMetadata)
SetMetadata gets a reference to the given ConditionMetadata and assigns it to the Metadata field.
func (*Condition) SetParameters ¶ added in v0.3.0
func (o *Condition) SetParameters(v map[string]ConditionParamTypeRef)
SetParameters gets a reference to the given map[string]ConditionParamTypeRef and assigns it to the Parameters field.
type ConditionMetadata ¶ added in v0.3.6
type ConditionMetadata struct { Module *string `json:"module,omitempty"yaml:"module,omitempty"` SourceInfo *SourceInfo `json:"source_info,omitempty"yaml:"source_info,omitempty"` }
ConditionMetadata struct for ConditionMetadata
func NewConditionMetadata ¶ added in v0.3.6
func NewConditionMetadata() *ConditionMetadata
NewConditionMetadata instantiates a new ConditionMetadata 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 NewConditionMetadataWithDefaults ¶ added in v0.3.6
func NewConditionMetadataWithDefaults() *ConditionMetadata
NewConditionMetadataWithDefaults instantiates a new ConditionMetadata 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 (*ConditionMetadata) GetModule ¶ added in v0.3.6
func (o *ConditionMetadata) GetModule() string
GetModule returns the Module field value if set, zero value otherwise.
func (*ConditionMetadata) GetModuleOk ¶ added in v0.3.6
func (o *ConditionMetadata) GetModuleOk() (*string, bool)
GetModuleOk returns a tuple with the Module field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionMetadata) GetSourceInfo ¶ added in v0.3.6
func (o *ConditionMetadata) GetSourceInfo() SourceInfo
GetSourceInfo returns the SourceInfo field value if set, zero value otherwise.
func (*ConditionMetadata) GetSourceInfoOk ¶ added in v0.3.6
func (o *ConditionMetadata) GetSourceInfoOk() (*SourceInfo, bool)
GetSourceInfoOk returns a tuple with the SourceInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionMetadata) HasModule ¶ added in v0.3.6
func (o *ConditionMetadata) HasModule() bool
HasModule returns a boolean if a field has been set.
func (*ConditionMetadata) HasSourceInfo ¶ added in v0.3.6
func (o *ConditionMetadata) HasSourceInfo() bool
HasSourceInfo returns a boolean if a field has been set.
func (ConditionMetadata) MarshalJSON ¶ added in v0.3.6
func (o ConditionMetadata) MarshalJSON() ([]byte, error)
func (*ConditionMetadata) SetModule ¶ added in v0.3.6
func (o *ConditionMetadata) SetModule(v string)
SetModule gets a reference to the given string and assigns it to the Module field.
func (*ConditionMetadata) SetSourceInfo ¶ added in v0.3.6
func (o *ConditionMetadata) SetSourceInfo(v SourceInfo)
SetSourceInfo gets a reference to the given SourceInfo and assigns it to the SourceInfo field.
type ConditionParamTypeRef ¶ added in v0.3.0
type ConditionParamTypeRef struct { TypeName TypeName `json:"type_name"yaml:"type_name"` GenericTypes *[]ConditionParamTypeRef `json:"generic_types,omitempty"yaml:"generic_types,omitempty"` }
ConditionParamTypeRef struct for ConditionParamTypeRef
func NewConditionParamTypeRef ¶ added in v0.3.0
func NewConditionParamTypeRef(typeName TypeName) *ConditionParamTypeRef
NewConditionParamTypeRef instantiates a new ConditionParamTypeRef 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 NewConditionParamTypeRefWithDefaults ¶ added in v0.3.0
func NewConditionParamTypeRefWithDefaults() *ConditionParamTypeRef
NewConditionParamTypeRefWithDefaults instantiates a new ConditionParamTypeRef 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 (*ConditionParamTypeRef) GetGenericTypes ¶ added in v0.3.0
func (o *ConditionParamTypeRef) GetGenericTypes() []ConditionParamTypeRef
GetGenericTypes returns the GenericTypes field value if set, zero value otherwise.
func (*ConditionParamTypeRef) GetGenericTypesOk ¶ added in v0.3.0
func (o *ConditionParamTypeRef) GetGenericTypesOk() (*[]ConditionParamTypeRef, bool)
GetGenericTypesOk returns a tuple with the GenericTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionParamTypeRef) GetTypeName ¶ added in v0.3.0
func (o *ConditionParamTypeRef) GetTypeName() TypeName
GetTypeName returns the TypeName field value
func (*ConditionParamTypeRef) GetTypeNameOk ¶ added in v0.3.0
func (o *ConditionParamTypeRef) GetTypeNameOk() (*TypeName, bool)
GetTypeNameOk returns a tuple with the TypeName field value and a boolean to check if the value has been set.
func (*ConditionParamTypeRef) HasGenericTypes ¶ added in v0.3.0
func (o *ConditionParamTypeRef) HasGenericTypes() bool
HasGenericTypes returns a boolean if a field has been set.
func (ConditionParamTypeRef) MarshalJSON ¶ added in v0.3.0
func (o ConditionParamTypeRef) MarshalJSON() ([]byte, error)
func (*ConditionParamTypeRef) SetGenericTypes ¶ added in v0.3.0
func (o *ConditionParamTypeRef) SetGenericTypes(v []ConditionParamTypeRef)
SetGenericTypes gets a reference to the given []ConditionParamTypeRef and assigns it to the GenericTypes field.
func (*ConditionParamTypeRef) SetTypeName ¶ added in v0.3.0
func (o *ConditionParamTypeRef) SetTypeName(v TypeName)
SetTypeName sets field value
type Configuration ¶
type Configuration struct { // ApiScheme - defines the scheme for the API: http or https // Deprecated: use ApiUrl instead of ApiScheme and ApiHost ApiScheme string `json:"api_scheme,omitempty"` // ApiHost - defines the host for the API without the scheme e.g. (api.fga.example) // Deprecated: use ApiUrl instead of ApiScheme and ApiHost ApiHost string `json:"api_host,omitempty"` ApiUrl string `json:"api_url,omitempty"` StoreId string `json:"store_id,omitempty"` Credentials *credentials.Credentials `json:"credentials,omitempty"` DefaultHeaders map[string]string `json:"default_headers,omitempty"` UserAgent string `json:"user_agent,omitempty"` Debug bool `json:"debug,omitempty"` HTTPClient *http.Client RetryParams *RetryParams }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration(config Configuration) (*Configuration, error)
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ValidateConfig ¶
func (c *Configuration) ValidateConfig() error
ValidateConfig ensures that the given configuration is valid
type ContextualTupleKeys ¶
type ContextualTupleKeys struct {
TupleKeys []TupleKey `json:"tuple_keys"yaml:"tuple_keys"`
}
ContextualTupleKeys struct for ContextualTupleKeys
func NewContextualTupleKeys ¶
func NewContextualTupleKeys(tupleKeys []TupleKey) *ContextualTupleKeys
NewContextualTupleKeys instantiates a new ContextualTupleKeys 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 NewContextualTupleKeysWithDefaults ¶
func NewContextualTupleKeysWithDefaults() *ContextualTupleKeys
NewContextualTupleKeysWithDefaults instantiates a new ContextualTupleKeys 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 (*ContextualTupleKeys) GetTupleKeys ¶
func (o *ContextualTupleKeys) GetTupleKeys() []TupleKey
GetTupleKeys returns the TupleKeys field value
func (*ContextualTupleKeys) GetTupleKeysOk ¶
func (o *ContextualTupleKeys) GetTupleKeysOk() (*[]TupleKey, bool)
GetTupleKeysOk returns a tuple with the TupleKeys field value and a boolean to check if the value has been set.
func (ContextualTupleKeys) MarshalJSON ¶
func (o ContextualTupleKeys) MarshalJSON() ([]byte, error)
func (*ContextualTupleKeys) SetTupleKeys ¶
func (o *ContextualTupleKeys) SetTupleKeys(v []TupleKey)
SetTupleKeys sets field value
type CreateStoreRequest ¶
type CreateStoreRequest struct {
Name string `json:"name"yaml:"name"`
}
CreateStoreRequest struct for CreateStoreRequest
func NewCreateStoreRequest ¶
func NewCreateStoreRequest(name string) *CreateStoreRequest
NewCreateStoreRequest instantiates a new CreateStoreRequest 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 NewCreateStoreRequestWithDefaults ¶
func NewCreateStoreRequestWithDefaults() *CreateStoreRequest
NewCreateStoreRequestWithDefaults instantiates a new CreateStoreRequest 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 (*CreateStoreRequest) GetName ¶
func (o *CreateStoreRequest) GetName() string
GetName returns the Name field value
func (*CreateStoreRequest) GetNameOk ¶
func (o *CreateStoreRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateStoreRequest) MarshalJSON ¶
func (o CreateStoreRequest) MarshalJSON() ([]byte, error)
func (*CreateStoreRequest) SetName ¶
func (o *CreateStoreRequest) SetName(v string)
SetName sets field value
type CreateStoreResponse ¶
type CreateStoreResponse struct { Id string `json:"id"yaml:"id"` Name string `json:"name"yaml:"name"` CreatedAt time.Time `json:"created_at"yaml:"created_at"` UpdatedAt time.Time `json:"updated_at"yaml:"updated_at"` }
CreateStoreResponse struct for CreateStoreResponse
func NewCreateStoreResponse ¶
func NewCreateStoreResponse(id string, name string, createdAt time.Time, updatedAt time.Time) *CreateStoreResponse
NewCreateStoreResponse instantiates a new CreateStoreResponse 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 NewCreateStoreResponseWithDefaults ¶
func NewCreateStoreResponseWithDefaults() *CreateStoreResponse
NewCreateStoreResponseWithDefaults instantiates a new CreateStoreResponse 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 (*CreateStoreResponse) GetCreatedAt ¶
func (o *CreateStoreResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*CreateStoreResponse) GetCreatedAtOk ¶
func (o *CreateStoreResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CreateStoreResponse) GetId ¶
func (o *CreateStoreResponse) GetId() string
GetId returns the Id field value
func (*CreateStoreResponse) GetIdOk ¶
func (o *CreateStoreResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateStoreResponse) GetName ¶
func (o *CreateStoreResponse) GetName() string
GetName returns the Name field value
func (*CreateStoreResponse) GetNameOk ¶
func (o *CreateStoreResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateStoreResponse) GetUpdatedAt ¶
func (o *CreateStoreResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*CreateStoreResponse) GetUpdatedAtOk ¶
func (o *CreateStoreResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (CreateStoreResponse) MarshalJSON ¶
func (o CreateStoreResponse) MarshalJSON() ([]byte, error)
func (*CreateStoreResponse) SetCreatedAt ¶
func (o *CreateStoreResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*CreateStoreResponse) SetId ¶
func (o *CreateStoreResponse) SetId(v string)
SetId sets field value
func (*CreateStoreResponse) SetName ¶
func (o *CreateStoreResponse) SetName(v string)
SetName sets field value
func (*CreateStoreResponse) SetUpdatedAt ¶
func (o *CreateStoreResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
type Difference ¶
type Difference struct { Base Userset `json:"base"yaml:"base"` Subtract Userset `json:"subtract"yaml:"subtract"` }
Difference struct for Difference
func NewDifference ¶
func NewDifference(base Userset, subtract Userset) *Difference
NewDifference instantiates a new Difference 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 NewDifferenceWithDefaults ¶
func NewDifferenceWithDefaults() *Difference
NewDifferenceWithDefaults instantiates a new Difference 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 (*Difference) GetBase ¶
func (o *Difference) GetBase() Userset
GetBase returns the Base field value
func (*Difference) GetBaseOk ¶
func (o *Difference) GetBaseOk() (*Userset, bool)
GetBaseOk returns a tuple with the Base field value and a boolean to check if the value has been set.
func (*Difference) GetSubtract ¶
func (o *Difference) GetSubtract() Userset
GetSubtract returns the Subtract field value
func (*Difference) GetSubtractOk ¶
func (o *Difference) GetSubtractOk() (*Userset, bool)
GetSubtractOk returns a tuple with the Subtract field value and a boolean to check if the value has been set.
func (Difference) MarshalJSON ¶
func (o Difference) MarshalJSON() ([]byte, error)
func (*Difference) SetSubtract ¶
func (o *Difference) SetSubtract(v Userset)
SetSubtract sets field value
type ErrorCode ¶
type ErrorCode string
ErrorCode the model 'ErrorCode'
const ( NO_ERROR ErrorCode = "no_error" VALIDATION_ERROR ErrorCode = "validation_error" AUTHORIZATION_MODEL_NOT_FOUND ErrorCode = "authorization_model_not_found" AUTHORIZATION_MODEL_RESOLUTION_TOO_COMPLEX ErrorCode = "authorization_model_resolution_too_complex" INVALID_WRITE_INPUT ErrorCode = "invalid_write_input" CANNOT_ALLOW_DUPLICATE_TUPLES_IN_ONE_REQUEST ErrorCode = "cannot_allow_duplicate_tuples_in_one_request" CANNOT_ALLOW_DUPLICATE_TYPES_IN_ONE_REQUEST ErrorCode = "cannot_allow_duplicate_types_in_one_request" CANNOT_ALLOW_MULTIPLE_REFERENCES_TO_ONE_RELATION ErrorCode = "cannot_allow_multiple_references_to_one_relation" INVALID_CONTINUATION_TOKEN ErrorCode = "invalid_continuation_token" INVALID_TUPLE_SET ErrorCode = "invalid_tuple_set" INVALID_CHECK_INPUT ErrorCode = "invalid_check_input" INVALID_EXPAND_INPUT ErrorCode = "invalid_expand_input" UNSUPPORTED_USER_SET ErrorCode = "unsupported_user_set" INVALID_OBJECT_FORMAT ErrorCode = "invalid_object_format" WRITE_FAILED_DUE_TO_INVALID_INPUT ErrorCode = "write_failed_due_to_invalid_input" AUTHORIZATION_MODEL_ASSERTIONS_NOT_FOUND ErrorCode = "authorization_model_assertions_not_found" LATEST_AUTHORIZATION_MODEL_NOT_FOUND ErrorCode = "latest_authorization_model_not_found" TYPE_NOT_FOUND ErrorCode = "type_not_found" RELATION_NOT_FOUND ErrorCode = "relation_not_found" EMPTY_RELATION_DEFINITION ErrorCode = "empty_relation_definition" INVALID_USER ErrorCode = "invalid_user" INVALID_TUPLE ErrorCode = "invalid_tuple" UNKNOWN_RELATION ErrorCode = "unknown_relation" STORE_ID_INVALID_LENGTH ErrorCode = "store_id_invalid_length" ASSERTIONS_TOO_MANY_ITEMS ErrorCode = "assertions_too_many_items" ID_TOO_LONG ErrorCode = "id_too_long" AUTHORIZATION_MODEL_ID_TOO_LONG ErrorCode = "authorization_model_id_too_long" TUPLE_KEY_VALUE_NOT_SPECIFIED ErrorCode = "tuple_key_value_not_specified" TUPLE_KEYS_TOO_MANY_OR_TOO_FEW_ITEMS ErrorCode = "tuple_keys_too_many_or_too_few_items" PAGE_SIZE_INVALID ErrorCode = "page_size_invalid" PARAM_MISSING_VALUE ErrorCode = "param_missing_value" DIFFERENCE_BASE_MISSING_VALUE ErrorCode = "difference_base_missing_value" SUBTRACT_BASE_MISSING_VALUE ErrorCode = "subtract_base_missing_value" OBJECT_TOO_LONG ErrorCode = "object_too_long" RELATION_TOO_LONG ErrorCode = "relation_too_long" TYPE_DEFINITIONS_TOO_FEW_ITEMS ErrorCode = "type_definitions_too_few_items" TYPE_INVALID_LENGTH ErrorCode = "type_invalid_length" TYPE_INVALID_PATTERN ErrorCode = "type_invalid_pattern" RELATIONS_TOO_FEW_ITEMS ErrorCode = "relations_too_few_items" RELATIONS_TOO_LONG ErrorCode = "relations_too_long" RELATIONS_INVALID_PATTERN ErrorCode = "relations_invalid_pattern" OBJECT_INVALID_PATTERN ErrorCode = "object_invalid_pattern" QUERY_STRING_TYPE_CONTINUATION_TOKEN_MISMATCH ErrorCode = "query_string_type_continuation_token_mismatch" EXCEEDED_ENTITY_LIMIT ErrorCode = "exceeded_entity_limit" INVALID_CONTEXTUAL_TUPLE ErrorCode = "invalid_contextual_tuple" DUPLICATE_CONTEXTUAL_TUPLE ErrorCode = "duplicate_contextual_tuple" INVALID_AUTHORIZATION_MODEL ErrorCode = "invalid_authorization_model" UNSUPPORTED_SCHEMA_VERSION ErrorCode = "unsupported_schema_version" )
List of ErrorCode
func NewErrorCodeFromValue ¶
NewErrorCodeFromValue returns a pointer to a valid ErrorCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*ErrorCode) UnmarshalJSON ¶
type ErrorResponse ¶
ErrorResponse defines the error that will be asserted by FGA API. This will only be used for error that is not defined
type ExpandRequest ¶
type ExpandRequest struct { TupleKey ExpandRequestTupleKey `json:"tuple_key"yaml:"tuple_key"` AuthorizationModelId *string `json:"authorization_model_id,omitempty"yaml:"authorization_model_id,omitempty"` }
ExpandRequest struct for ExpandRequest
func NewExpandRequest ¶
func NewExpandRequest(tupleKey ExpandRequestTupleKey) *ExpandRequest
NewExpandRequest instantiates a new ExpandRequest 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 NewExpandRequestWithDefaults ¶
func NewExpandRequestWithDefaults() *ExpandRequest
NewExpandRequestWithDefaults instantiates a new ExpandRequest 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 (*ExpandRequest) GetAuthorizationModelId ¶
func (o *ExpandRequest) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value if set, zero value otherwise.
func (*ExpandRequest) GetAuthorizationModelIdOk ¶
func (o *ExpandRequest) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpandRequest) GetTupleKey ¶
func (o *ExpandRequest) GetTupleKey() ExpandRequestTupleKey
GetTupleKey returns the TupleKey field value
func (*ExpandRequest) GetTupleKeyOk ¶
func (o *ExpandRequest) GetTupleKeyOk() (*ExpandRequestTupleKey, bool)
GetTupleKeyOk returns a tuple with the TupleKey field value and a boolean to check if the value has been set.
func (*ExpandRequest) HasAuthorizationModelId ¶
func (o *ExpandRequest) HasAuthorizationModelId() bool
HasAuthorizationModelId returns a boolean if a field has been set.
func (ExpandRequest) MarshalJSON ¶
func (o ExpandRequest) MarshalJSON() ([]byte, error)
func (*ExpandRequest) SetAuthorizationModelId ¶
func (o *ExpandRequest) SetAuthorizationModelId(v string)
SetAuthorizationModelId gets a reference to the given string and assigns it to the AuthorizationModelId field.
func (*ExpandRequest) SetTupleKey ¶
func (o *ExpandRequest) SetTupleKey(v ExpandRequestTupleKey)
SetTupleKey sets field value
type ExpandRequestTupleKey ¶ added in v0.3.0
type ExpandRequestTupleKey struct { Relation string `json:"relation"yaml:"relation"` Object string `json:"object"yaml:"object"` }
ExpandRequestTupleKey struct for ExpandRequestTupleKey
func NewExpandRequestTupleKey ¶ added in v0.3.0
func NewExpandRequestTupleKey(relation string, object string) *ExpandRequestTupleKey
NewExpandRequestTupleKey instantiates a new ExpandRequestTupleKey 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 NewExpandRequestTupleKeyWithDefaults ¶ added in v0.3.0
func NewExpandRequestTupleKeyWithDefaults() *ExpandRequestTupleKey
NewExpandRequestTupleKeyWithDefaults instantiates a new ExpandRequestTupleKey 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 (*ExpandRequestTupleKey) GetObject ¶ added in v0.3.0
func (o *ExpandRequestTupleKey) GetObject() string
GetObject returns the Object field value
func (*ExpandRequestTupleKey) GetObjectOk ¶ added in v0.3.0
func (o *ExpandRequestTupleKey) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*ExpandRequestTupleKey) GetRelation ¶ added in v0.3.0
func (o *ExpandRequestTupleKey) GetRelation() string
GetRelation returns the Relation field value
func (*ExpandRequestTupleKey) GetRelationOk ¶ added in v0.3.0
func (o *ExpandRequestTupleKey) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (ExpandRequestTupleKey) MarshalJSON ¶ added in v0.3.0
func (o ExpandRequestTupleKey) MarshalJSON() ([]byte, error)
func (*ExpandRequestTupleKey) SetObject ¶ added in v0.3.0
func (o *ExpandRequestTupleKey) SetObject(v string)
SetObject sets field value
func (*ExpandRequestTupleKey) SetRelation ¶ added in v0.3.0
func (o *ExpandRequestTupleKey) SetRelation(v string)
SetRelation sets field value
type ExpandResponse ¶
type ExpandResponse struct {
Tree *UsersetTree `json:"tree,omitempty"yaml:"tree,omitempty"`
}
ExpandResponse struct for ExpandResponse
func NewExpandResponse ¶
func NewExpandResponse() *ExpandResponse
NewExpandResponse instantiates a new ExpandResponse 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 NewExpandResponseWithDefaults ¶
func NewExpandResponseWithDefaults() *ExpandResponse
NewExpandResponseWithDefaults instantiates a new ExpandResponse 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 (*ExpandResponse) GetTree ¶
func (o *ExpandResponse) GetTree() UsersetTree
GetTree returns the Tree field value if set, zero value otherwise.
func (*ExpandResponse) GetTreeOk ¶
func (o *ExpandResponse) GetTreeOk() (*UsersetTree, bool)
GetTreeOk returns a tuple with the Tree field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpandResponse) HasTree ¶
func (o *ExpandResponse) HasTree() bool
HasTree returns a boolean if a field has been set.
func (ExpandResponse) MarshalJSON ¶
func (o ExpandResponse) MarshalJSON() ([]byte, error)
func (*ExpandResponse) SetTree ¶
func (o *ExpandResponse) SetTree(v UsersetTree)
SetTree gets a reference to the given UsersetTree and assigns it to the Tree field.
type FgaApiAuthenticationError ¶
type FgaApiAuthenticationError struct {
// contains filtered or unexported fields
}
FgaApiAuthenticationError is raised when API has errors due to invalid authentication
func (FgaApiAuthenticationError) Body ¶
func (e FgaApiAuthenticationError) Body() []byte
Body returns the raw bytes of the response
func (FgaApiAuthenticationError) EndpointCategory ¶
func (e FgaApiAuthenticationError) EndpointCategory() string
EndpointCategory returns the original API category
func (FgaApiAuthenticationError) Error ¶
func (e FgaApiAuthenticationError) Error() string
Error returns non-empty string if there was an error.
func (FgaApiAuthenticationError) Model ¶
func (e FgaApiAuthenticationError) Model() interface{}
Model returns the unpacked model of the error
func (FgaApiAuthenticationError) ModelDecodeError ¶
func (e FgaApiAuthenticationError) ModelDecodeError() error
ModelDecodeError returns any error when decoding the unpacked model of the error
func (FgaApiAuthenticationError) RequestId ¶
func (e FgaApiAuthenticationError) RequestId() string
RequestId returns the FGA request ID associated with the response
func (FgaApiAuthenticationError) ResponseCode ¶
func (e FgaApiAuthenticationError) ResponseCode() string
ResponseCode returns response code
func (FgaApiAuthenticationError) ResponseHeader ¶
func (e FgaApiAuthenticationError) ResponseHeader() http.Header
ResponseHeader returns the original API response header
func (FgaApiAuthenticationError) ResponseStatusCode ¶
func (e FgaApiAuthenticationError) ResponseStatusCode() int
ResponseStatusCode returns the original API response status HTTP code
func (FgaApiAuthenticationError) StoreId ¶
func (e FgaApiAuthenticationError) StoreId() string
StoreId returns the store ID for the API that causes the error
type FgaApiError ¶
type FgaApiError struct {
// contains filtered or unexported fields
}
func (FgaApiError) Body ¶
func (e FgaApiError) Body() []byte
Body returns the raw bytes of the response
func (FgaApiError) EndpointCategory ¶
func (e FgaApiError) EndpointCategory() string
EndpointCategory returns the original API category
func (FgaApiError) Error ¶
func (e FgaApiError) Error() string
Error returns non-empty string if there was an error.
func (FgaApiError) Model ¶
func (e FgaApiError) Model() interface{}
Model returns the unpacked model of the error
func (FgaApiError) ModelDecodeError ¶
func (e FgaApiError) ModelDecodeError() error
ModelDecodeError returns any error when decoding the unpacked model of the error
func (FgaApiError) RequestBody ¶
func (e FgaApiError) RequestBody() interface{}
RequestBody returns the original request body
func (FgaApiError) RequestId ¶
func (e FgaApiError) RequestId() string
RequestId returns the FGA request ID associated with the response
func (FgaApiError) RequestMethod ¶
func (e FgaApiError) RequestMethod() string
RequestMethod returns the method calling the API
func (FgaApiError) ResponseCode ¶
func (e FgaApiError) ResponseCode() string
ResponseCode returns response code
func (FgaApiError) ResponseHeader ¶
func (e FgaApiError) ResponseHeader() http.Header
ResponseHeader returns the original API response header
func (FgaApiError) ResponseStatusCode ¶
func (e FgaApiError) ResponseStatusCode() int
ResponseStatusCode returns the original API response HTTP status code
func (FgaApiError) StoreId ¶
func (e FgaApiError) StoreId() string
StoreId returns the store ID for the API that causes the error
type FgaApiInternalError ¶
type FgaApiInternalError struct {
// contains filtered or unexported fields
}
func (FgaApiInternalError) Body ¶
func (e FgaApiInternalError) Body() []byte
Body returns the raw bytes of the response
func (FgaApiInternalError) EndpointCategory ¶
func (e FgaApiInternalError) EndpointCategory() string
EndpointCategory returns the original API category
func (FgaApiInternalError) Error ¶
func (e FgaApiInternalError) Error() string
Error returns non-empty string if there was an error.
func (FgaApiInternalError) Model ¶
func (e FgaApiInternalError) Model() interface{}
Model returns the unpacked model of the error
func (FgaApiInternalError) ModelDecodeError ¶
func (e FgaApiInternalError) ModelDecodeError() error
ModelDecodeError returns any error when decoding the unpacked model of the error
func (FgaApiInternalError) RequestBody ¶
func (e FgaApiInternalError) RequestBody() interface{}
RequestBody returns the original request body
func (FgaApiInternalError) RequestId ¶
func (e FgaApiInternalError) RequestId() string
RequestId returns the FGA request ID associated with the response
func (FgaApiInternalError) RequestMethod ¶
func (e FgaApiInternalError) RequestMethod() string
RequestMethod returns the method calling the API
func (FgaApiInternalError) ResponseCode ¶
func (e FgaApiInternalError) ResponseCode() InternalErrorCode
ResponseCode returns response code
func (FgaApiInternalError) ResponseHeader ¶
func (e FgaApiInternalError) ResponseHeader() http.Header
ResponseHeader returns the original API response header
func (FgaApiInternalError) ResponseStatusCode ¶
func (e FgaApiInternalError) ResponseStatusCode() int
ResponseStatusCode returns the original API response HTTP status code
func (FgaApiInternalError) StoreId ¶
func (e FgaApiInternalError) StoreId() string
StoreId returns the store ID for the API that causes the error
type FgaApiNotFoundError ¶
type FgaApiNotFoundError struct {
// contains filtered or unexported fields
}
func (FgaApiNotFoundError) Body ¶
func (e FgaApiNotFoundError) Body() []byte
Body returns the raw bytes of the response
func (FgaApiNotFoundError) EndpointCategory ¶
func (e FgaApiNotFoundError) EndpointCategory() string
EndpointCategory returns the original API category
func (FgaApiNotFoundError) Error ¶
func (e FgaApiNotFoundError) Error() string
Error returns non-empty string if there was an error.
func (FgaApiNotFoundError) Model ¶
func (e FgaApiNotFoundError) Model() interface{}
Model returns the unpacked model of the error
func (FgaApiNotFoundError) ModelDecodeError ¶
func (e FgaApiNotFoundError) ModelDecodeError() error
ModelDecodeError returns any error when decoding the unpacked model of the error
func (FgaApiNotFoundError) RequestBody ¶
func (e FgaApiNotFoundError) RequestBody() interface{}
RequestBody returns the original request body
func (FgaApiNotFoundError) RequestId ¶
func (e FgaApiNotFoundError) RequestId() string
RequestId returns the FGA request ID associated with the response
func (FgaApiNotFoundError) RequestMethod ¶
func (e FgaApiNotFoundError) RequestMethod() string
RequestMethod returns the method calling the API
func (FgaApiNotFoundError) ResponseCode ¶
func (e FgaApiNotFoundError) ResponseCode() NotFoundErrorCode
ResponseCode returns response code
func (FgaApiNotFoundError) ResponseHeader ¶
func (e FgaApiNotFoundError) ResponseHeader() http.Header
ResponseHeader returns the original API response header
func (FgaApiNotFoundError) ResponseStatusCode ¶
func (e FgaApiNotFoundError) ResponseStatusCode() int
ResponseStatusCode returns the original API response HTTP status code
func (FgaApiNotFoundError) StoreId ¶
func (e FgaApiNotFoundError) StoreId() string
StoreId returns the store ID for the API that causes the error
type FgaApiRateLimitExceededError ¶
type FgaApiRateLimitExceededError struct {
// contains filtered or unexported fields
}
func (FgaApiRateLimitExceededError) Body ¶
func (e FgaApiRateLimitExceededError) Body() []byte
Body returns the raw bytes of the response
func (FgaApiRateLimitExceededError) EndpointCategory ¶
func (e FgaApiRateLimitExceededError) EndpointCategory() string
EndpointCategory returns the original API category
func (FgaApiRateLimitExceededError) Error ¶
func (e FgaApiRateLimitExceededError) Error() string
Error returns non-empty string if there was an error.
func (FgaApiRateLimitExceededError) Model ¶
func (e FgaApiRateLimitExceededError) Model() interface{}
Model returns the unpacked model of the error
func (FgaApiRateLimitExceededError) ModelDecodeError ¶
func (e FgaApiRateLimitExceededError) ModelDecodeError() error
ModelDecodeError returns any error when decoding the unpacked model of the error
func (FgaApiRateLimitExceededError) RateLimit ¶
func (e FgaApiRateLimitExceededError) RateLimit() int
RateLimit returns the limit for the API
func (FgaApiRateLimitExceededError) RateLimitResetEpoch ¶
func (e FgaApiRateLimitExceededError) RateLimitResetEpoch() string
RateLimitResetEpoch returns the unit used for rate limit
func (FgaApiRateLimitExceededError) RateUnit ¶
func (e FgaApiRateLimitExceededError) RateUnit() string
RateUnit returns the unit used for rate limit
func (FgaApiRateLimitExceededError) RequestBody ¶
func (e FgaApiRateLimitExceededError) RequestBody() interface{}
RequestBody returns the original request body
func (FgaApiRateLimitExceededError) RequestId ¶
func (e FgaApiRateLimitExceededError) RequestId() string
RequestId returns the FGA request ID associated with the response
func (FgaApiRateLimitExceededError) RequestMethod ¶
func (e FgaApiRateLimitExceededError) RequestMethod() string
RequestMethod returns the method calling the API
func (FgaApiRateLimitExceededError) ResponseCode ¶
func (e FgaApiRateLimitExceededError) ResponseCode() string
ResponseCode returns response code
func (FgaApiRateLimitExceededError) ResponseHeader ¶
func (e FgaApiRateLimitExceededError) ResponseHeader() http.Header
ResponseHeader returns the original API response header
func (FgaApiRateLimitExceededError) ResponseStatusCode ¶
func (e FgaApiRateLimitExceededError) ResponseStatusCode() int
ResponseStatusCode returns the original API response HTTP status code
func (FgaApiRateLimitExceededError) StoreId ¶
func (e FgaApiRateLimitExceededError) StoreId() string
StoreId returns the store ID for the API that causes the error
type FgaApiValidationError ¶
type FgaApiValidationError struct {
// contains filtered or unexported fields
}
func (FgaApiValidationError) Body ¶
func (e FgaApiValidationError) Body() []byte
Body returns the raw bytes of the response
func (FgaApiValidationError) EndpointCategory ¶
func (e FgaApiValidationError) EndpointCategory() string
EndpointCategory returns the original API category
func (FgaApiValidationError) Error ¶
func (e FgaApiValidationError) Error() string
Error returns non-empty string if there was an error.
func (FgaApiValidationError) Model ¶
func (e FgaApiValidationError) Model() interface{}
Model returns the unpacked model of the error
func (FgaApiValidationError) ModelDecodeError ¶
func (e FgaApiValidationError) ModelDecodeError() error
ModelDecodeError returns any error when decoding the unpacked model of the error
func (FgaApiValidationError) RequestBody ¶
func (e FgaApiValidationError) RequestBody() interface{}
RequestBody returns the original request body
func (FgaApiValidationError) RequestId ¶
func (e FgaApiValidationError) RequestId() string
RequestId returns the FGA request ID associated with the response
func (FgaApiValidationError) RequestMethod ¶
func (e FgaApiValidationError) RequestMethod() string
RequestMethod returns the method calling the API
func (FgaApiValidationError) ResponseCode ¶
func (e FgaApiValidationError) ResponseCode() ErrorCode
ResponseCode returns response code
func (FgaApiValidationError) ResponseHeader ¶
func (e FgaApiValidationError) ResponseHeader() http.Header
ResponseHeader returns the original API response header
func (FgaApiValidationError) ResponseStatusCode ¶
func (e FgaApiValidationError) ResponseStatusCode() int
ResponseStatusCode returns the original API response HTTP status code
func (FgaApiValidationError) StoreId ¶
func (e FgaApiValidationError) StoreId() string
StoreId returns the store ID for the API that causes the error
type FgaObject ¶ added in v0.3.6
FgaObject Object represents an OpenFGA Object. An Object is composed of a type and identifier (e.g. 'document:1') See https://openfga.dev/docs/concepts#what-is-an-object
func NewFgaObject ¶ added in v0.3.6
NewFgaObject instantiates a new FgaObject 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 NewFgaObjectWithDefaults ¶ added in v0.3.6
func NewFgaObjectWithDefaults() *FgaObject
NewFgaObjectWithDefaults instantiates a new FgaObject 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 (*FgaObject) GetIdOk ¶ added in v0.3.6
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*FgaObject) GetTypeOk ¶ added in v0.3.6
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (FgaObject) MarshalJSON ¶ added in v0.3.6
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetStoreResponse ¶
type GetStoreResponse struct { Id string `json:"id"yaml:"id"` Name string `json:"name"yaml:"name"` CreatedAt time.Time `json:"created_at"yaml:"created_at"` UpdatedAt time.Time `json:"updated_at"yaml:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"yaml:"deleted_at,omitempty"` }
GetStoreResponse struct for GetStoreResponse
func NewGetStoreResponse ¶
func NewGetStoreResponse(id string, name string, createdAt time.Time, updatedAt time.Time) *GetStoreResponse
NewGetStoreResponse instantiates a new GetStoreResponse 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 NewGetStoreResponseWithDefaults ¶
func NewGetStoreResponseWithDefaults() *GetStoreResponse
NewGetStoreResponseWithDefaults instantiates a new GetStoreResponse 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 (*GetStoreResponse) GetCreatedAt ¶
func (o *GetStoreResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*GetStoreResponse) GetCreatedAtOk ¶
func (o *GetStoreResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*GetStoreResponse) GetDeletedAt ¶ added in v0.3.2
func (o *GetStoreResponse) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*GetStoreResponse) GetDeletedAtOk ¶ added in v0.3.2
func (o *GetStoreResponse) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetStoreResponse) GetId ¶
func (o *GetStoreResponse) GetId() string
GetId returns the Id field value
func (*GetStoreResponse) GetIdOk ¶
func (o *GetStoreResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetStoreResponse) GetName ¶
func (o *GetStoreResponse) GetName() string
GetName returns the Name field value
func (*GetStoreResponse) GetNameOk ¶
func (o *GetStoreResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GetStoreResponse) GetUpdatedAt ¶
func (o *GetStoreResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*GetStoreResponse) GetUpdatedAtOk ¶
func (o *GetStoreResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*GetStoreResponse) HasDeletedAt ¶ added in v0.3.2
func (o *GetStoreResponse) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (GetStoreResponse) MarshalJSON ¶
func (o GetStoreResponse) MarshalJSON() ([]byte, error)
func (*GetStoreResponse) SetCreatedAt ¶
func (o *GetStoreResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*GetStoreResponse) SetDeletedAt ¶ added in v0.3.2
func (o *GetStoreResponse) SetDeletedAt(v time.Time)
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*GetStoreResponse) SetName ¶
func (o *GetStoreResponse) SetName(v string)
SetName sets field value
func (*GetStoreResponse) SetUpdatedAt ¶
func (o *GetStoreResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
type InternalErrorCode ¶
type InternalErrorCode string
InternalErrorCode the model 'InternalErrorCode'
const ( NO_INTERNAL_ERROR InternalErrorCode = "no_internal_error" INTERNAL_ERROR InternalErrorCode = "internal_error" CANCELLED InternalErrorCode = "cancelled" DEADLINE_EXCEEDED InternalErrorCode = "deadline_exceeded" ALREADY_EXISTS InternalErrorCode = "already_exists" RESOURCE_EXHAUSTED InternalErrorCode = "resource_exhausted" FAILED_PRECONDITION InternalErrorCode = "failed_precondition" ABORTED InternalErrorCode = "aborted" OUT_OF_RANGE InternalErrorCode = "out_of_range" UNAVAILABLE InternalErrorCode = "unavailable" DATA_LOSS InternalErrorCode = "data_loss" )
List of InternalErrorCode
func NewInternalErrorCodeFromValue ¶
func NewInternalErrorCodeFromValue(v string) (*InternalErrorCode, error)
NewInternalErrorCodeFromValue returns a pointer to a valid InternalErrorCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InternalErrorCode) IsValid ¶
func (v InternalErrorCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InternalErrorCode) Ptr ¶
func (v InternalErrorCode) Ptr() *InternalErrorCode
Ptr returns reference to InternalErrorCode value
func (*InternalErrorCode) UnmarshalJSON ¶
func (v *InternalErrorCode) UnmarshalJSON(src []byte) error
type InternalErrorMessageResponse ¶
type InternalErrorMessageResponse struct { Code *InternalErrorCode `json:"code,omitempty"yaml:"code,omitempty"` Message *string `json:"message,omitempty"yaml:"message,omitempty"` }
InternalErrorMessageResponse struct for InternalErrorMessageResponse
func NewInternalErrorMessageResponse ¶
func NewInternalErrorMessageResponse() *InternalErrorMessageResponse
NewInternalErrorMessageResponse instantiates a new InternalErrorMessageResponse 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 NewInternalErrorMessageResponseWithDefaults ¶
func NewInternalErrorMessageResponseWithDefaults() *InternalErrorMessageResponse
NewInternalErrorMessageResponseWithDefaults instantiates a new InternalErrorMessageResponse 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 (*InternalErrorMessageResponse) GetCode ¶
func (o *InternalErrorMessageResponse) GetCode() InternalErrorCode
GetCode returns the Code field value if set, zero value otherwise.
func (*InternalErrorMessageResponse) GetCodeOk ¶
func (o *InternalErrorMessageResponse) GetCodeOk() (*InternalErrorCode, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalErrorMessageResponse) GetMessage ¶
func (o *InternalErrorMessageResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*InternalErrorMessageResponse) GetMessageOk ¶
func (o *InternalErrorMessageResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalErrorMessageResponse) HasCode ¶
func (o *InternalErrorMessageResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*InternalErrorMessageResponse) HasMessage ¶
func (o *InternalErrorMessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (InternalErrorMessageResponse) MarshalJSON ¶
func (o InternalErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*InternalErrorMessageResponse) SetCode ¶
func (o *InternalErrorMessageResponse) SetCode(v InternalErrorCode)
SetCode gets a reference to the given InternalErrorCode and assigns it to the Code field.
func (*InternalErrorMessageResponse) SetMessage ¶
func (o *InternalErrorMessageResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type Leaf ¶
type Leaf struct { Users *Users `json:"users,omitempty"yaml:"users,omitempty"` Computed *Computed `json:"computed,omitempty"yaml:"computed,omitempty"` TupleToUserset *UsersetTreeTupleToUserset `json:"tupleToUserset,omitempty"yaml:"tupleToUserset,omitempty"` }
Leaf A leaf node contains either - a set of users (which may be individual users, or usersets referencing other relations) - a computed node, which is the result of a computed userset value in the authorization model - a tupleToUserset nodes, containing the result of expanding a tupleToUserset value in a authorization model.
func NewLeaf ¶
func NewLeaf() *Leaf
NewLeaf instantiates a new Leaf 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 NewLeafWithDefaults ¶
func NewLeafWithDefaults() *Leaf
NewLeafWithDefaults instantiates a new Leaf 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 (*Leaf) GetComputed ¶
GetComputed returns the Computed field value if set, zero value otherwise.
func (*Leaf) GetComputedOk ¶
GetComputedOk returns a tuple with the Computed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Leaf) GetTupleToUserset ¶
func (o *Leaf) GetTupleToUserset() UsersetTreeTupleToUserset
GetTupleToUserset returns the TupleToUserset field value if set, zero value otherwise.
func (*Leaf) GetTupleToUsersetOk ¶
func (o *Leaf) GetTupleToUsersetOk() (*UsersetTreeTupleToUserset, bool)
GetTupleToUsersetOk returns a tuple with the TupleToUserset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Leaf) GetUsersOk ¶
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Leaf) HasComputed ¶
HasComputed returns a boolean if a field has been set.
func (*Leaf) HasTupleToUserset ¶
HasTupleToUserset returns a boolean if a field has been set.
func (Leaf) MarshalJSON ¶
func (*Leaf) SetComputed ¶
SetComputed gets a reference to the given Computed and assigns it to the Computed field.
func (*Leaf) SetTupleToUserset ¶
func (o *Leaf) SetTupleToUserset(v UsersetTreeTupleToUserset)
SetTupleToUserset gets a reference to the given UsersetTreeTupleToUserset and assigns it to the TupleToUserset field.
type ListObjectsRequest ¶ added in v0.0.2
type ListObjectsRequest struct { AuthorizationModelId *string `json:"authorization_model_id,omitempty"yaml:"authorization_model_id,omitempty"` Type string `json:"type"yaml:"type"` Relation string `json:"relation"yaml:"relation"` User string `json:"user"yaml:"user"` ContextualTuples *ContextualTupleKeys `json:"contextual_tuples,omitempty"yaml:"contextual_tuples,omitempty"` // Additional request context that will be used to evaluate any ABAC conditions encountered in the query evaluation. Context *map[string]interface{} `json:"context,omitempty"yaml:"context,omitempty"` }
ListObjectsRequest struct for ListObjectsRequest
func NewListObjectsRequest ¶ added in v0.0.2
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
func NewListObjectsRequestWithDefaults ¶ added in v0.0.2
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
func (*ListObjectsRequest) GetAuthorizationModelId ¶ added in v0.0.2
func (o *ListObjectsRequest) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value if set, zero value otherwise.
func (*ListObjectsRequest) GetAuthorizationModelIdOk ¶ added in v0.0.2
func (o *ListObjectsRequest) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListObjectsRequest) GetContext ¶ added in v0.3.0
func (o *ListObjectsRequest) GetContext() map[string]interface{}
GetContext returns the Context field value if set, zero value otherwise.
func (*ListObjectsRequest) GetContextOk ¶ added in v0.3.0
func (o *ListObjectsRequest) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListObjectsRequest) GetContextualTuples ¶ added in v0.0.2
func (o *ListObjectsRequest) GetContextualTuples() ContextualTupleKeys
GetContextualTuples returns the ContextualTuples field value if set, zero value otherwise.
func (*ListObjectsRequest) GetContextualTuplesOk ¶ added in v0.0.2
func (o *ListObjectsRequest) GetContextualTuplesOk() (*ContextualTupleKeys, bool)
GetContextualTuplesOk returns a tuple with the ContextualTuples field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListObjectsRequest) GetRelation ¶ added in v0.0.2
func (o *ListObjectsRequest) GetRelation() string
GetRelation returns the Relation field value
func (*ListObjectsRequest) GetRelationOk ¶ added in v0.0.2
func (o *ListObjectsRequest) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*ListObjectsRequest) GetType ¶ added in v0.0.2
func (o *ListObjectsRequest) GetType() string
GetType returns the Type field value
func (*ListObjectsRequest) GetTypeOk ¶ added in v0.0.2
func (o *ListObjectsRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ListObjectsRequest) GetUser ¶ added in v0.0.2
func (o *ListObjectsRequest) GetUser() string
GetUser returns the User field value
func (*ListObjectsRequest) GetUserOk ¶ added in v0.0.2
func (o *ListObjectsRequest) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*ListObjectsRequest) HasAuthorizationModelId ¶ added in v0.0.2
func (o *ListObjectsRequest) HasAuthorizationModelId() bool
HasAuthorizationModelId returns a boolean if a field has been set.
func (*ListObjectsRequest) HasContext ¶ added in v0.3.0
func (o *ListObjectsRequest) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*ListObjectsRequest) HasContextualTuples ¶ added in v0.0.2
func (o *ListObjectsRequest) HasContextualTuples() bool
HasContextualTuples returns a boolean if a field has been set.
func (ListObjectsRequest) MarshalJSON ¶ added in v0.0.2
func (o ListObjectsRequest) MarshalJSON() ([]byte, error)
func (*ListObjectsRequest) SetAuthorizationModelId ¶ added in v0.0.2
func (o *ListObjectsRequest) SetAuthorizationModelId(v string)
SetAuthorizationModelId gets a reference to the given string and assigns it to the AuthorizationModelId field.
func (*ListObjectsRequest) SetContext ¶ added in v0.3.0
func (o *ListObjectsRequest) SetContext(v map[string]interface{})
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
func (*ListObjectsRequest) SetContextualTuples ¶ added in v0.0.2
func (o *ListObjectsRequest) SetContextualTuples(v ContextualTupleKeys)
SetContextualTuples gets a reference to the given ContextualTupleKeys and assigns it to the ContextualTuples field.
func (*ListObjectsRequest) SetRelation ¶ added in v0.0.2
func (o *ListObjectsRequest) SetRelation(v string)
SetRelation sets field value
func (*ListObjectsRequest) SetType ¶ added in v0.0.2
func (o *ListObjectsRequest) SetType(v string)
SetType sets field value
func (*ListObjectsRequest) SetUser ¶ added in v0.0.2
func (o *ListObjectsRequest) SetUser(v string)
SetUser sets field value
type ListObjectsResponse ¶ added in v0.0.2
type ListObjectsResponse struct {
Objects []string `json:"objects"yaml:"objects"`
}
ListObjectsResponse struct for ListObjectsResponse
func NewListObjectsResponse ¶ added in v0.0.2
func NewListObjectsResponse(objects []string) *ListObjectsResponse
NewListObjectsResponse instantiates a new ListObjectsResponse 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 NewListObjectsResponseWithDefaults ¶ added in v0.0.2
func NewListObjectsResponseWithDefaults() *ListObjectsResponse
NewListObjectsResponseWithDefaults instantiates a new ListObjectsResponse 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 (*ListObjectsResponse) GetObjects ¶ added in v0.2.0
func (o *ListObjectsResponse) GetObjects() []string
GetObjects returns the Objects field value
func (*ListObjectsResponse) GetObjectsOk ¶ added in v0.2.0
func (o *ListObjectsResponse) GetObjectsOk() (*[]string, bool)
GetObjectsOk returns a tuple with the Objects field value and a boolean to check if the value has been set.
func (ListObjectsResponse) MarshalJSON ¶ added in v0.0.2
func (o ListObjectsResponse) MarshalJSON() ([]byte, error)
func (*ListObjectsResponse) SetObjects ¶ added in v0.2.0
func (o *ListObjectsResponse) SetObjects(v []string)
SetObjects sets field value
type ListStoresResponse ¶
type ListStoresResponse struct { Stores []Store `json:"stores"yaml:"stores"` // The continuation token will be empty if there are no more stores. ContinuationToken string `json:"continuation_token"yaml:"continuation_token"` }
ListStoresResponse struct for ListStoresResponse
func NewListStoresResponse ¶
func NewListStoresResponse(stores []Store, continuationToken string) *ListStoresResponse
NewListStoresResponse instantiates a new ListStoresResponse 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 NewListStoresResponseWithDefaults ¶
func NewListStoresResponseWithDefaults() *ListStoresResponse
NewListStoresResponseWithDefaults instantiates a new ListStoresResponse 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 (*ListStoresResponse) GetContinuationToken ¶
func (o *ListStoresResponse) GetContinuationToken() string
GetContinuationToken returns the ContinuationToken field value
func (*ListStoresResponse) GetContinuationTokenOk ¶
func (o *ListStoresResponse) GetContinuationTokenOk() (*string, bool)
GetContinuationTokenOk returns a tuple with the ContinuationToken field value and a boolean to check if the value has been set.
func (*ListStoresResponse) GetStores ¶
func (o *ListStoresResponse) GetStores() []Store
GetStores returns the Stores field value
func (*ListStoresResponse) GetStoresOk ¶
func (o *ListStoresResponse) GetStoresOk() (*[]Store, bool)
GetStoresOk returns a tuple with the Stores field value and a boolean to check if the value has been set.
func (ListStoresResponse) MarshalJSON ¶
func (o ListStoresResponse) MarshalJSON() ([]byte, error)
func (*ListStoresResponse) SetContinuationToken ¶
func (o *ListStoresResponse) SetContinuationToken(v string)
SetContinuationToken sets field value
func (*ListStoresResponse) SetStores ¶
func (o *ListStoresResponse) SetStores(v []Store)
SetStores sets field value
type ListUsersRequest ¶ added in v0.3.6
type ListUsersRequest struct { AuthorizationModelId *string `json:"authorization_model_id,omitempty"yaml:"authorization_model_id,omitempty"` Object FgaObject `json:"object"yaml:"object"` Relation string `json:"relation"yaml:"relation"` UserFilters []UserTypeFilter `json:"user_filters"yaml:"user_filters"` ContextualTuples *[]TupleKey `json:"contextual_tuples,omitempty"yaml:"contextual_tuples,omitempty"` // Additional request context that will be used to evaluate any ABAC conditions encountered in the query evaluation. Context *map[string]interface{} `json:"context,omitempty"yaml:"context,omitempty"` }
ListUsersRequest struct for ListUsersRequest
func NewListUsersRequest ¶ added in v0.3.6
func NewListUsersRequest(object FgaObject, relation string, userFilters []UserTypeFilter) *ListUsersRequest
NewListUsersRequest instantiates a new ListUsersRequest 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 NewListUsersRequestWithDefaults ¶ added in v0.3.6
func NewListUsersRequestWithDefaults() *ListUsersRequest
NewListUsersRequestWithDefaults instantiates a new ListUsersRequest 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 (*ListUsersRequest) GetAuthorizationModelId ¶ added in v0.3.6
func (o *ListUsersRequest) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value if set, zero value otherwise.
func (*ListUsersRequest) GetAuthorizationModelIdOk ¶ added in v0.3.6
func (o *ListUsersRequest) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListUsersRequest) GetContext ¶ added in v0.3.6
func (o *ListUsersRequest) GetContext() map[string]interface{}
GetContext returns the Context field value if set, zero value otherwise.
func (*ListUsersRequest) GetContextOk ¶ added in v0.3.6
func (o *ListUsersRequest) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListUsersRequest) GetContextualTuples ¶ added in v0.3.6
func (o *ListUsersRequest) GetContextualTuples() []TupleKey
GetContextualTuples returns the ContextualTuples field value if set, zero value otherwise.
func (*ListUsersRequest) GetContextualTuplesOk ¶ added in v0.3.6
func (o *ListUsersRequest) GetContextualTuplesOk() (*[]TupleKey, bool)
GetContextualTuplesOk returns a tuple with the ContextualTuples field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListUsersRequest) GetObject ¶ added in v0.3.6
func (o *ListUsersRequest) GetObject() FgaObject
GetObject returns the Object field value
func (*ListUsersRequest) GetObjectOk ¶ added in v0.3.6
func (o *ListUsersRequest) GetObjectOk() (*FgaObject, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*ListUsersRequest) GetRelation ¶ added in v0.3.6
func (o *ListUsersRequest) GetRelation() string
GetRelation returns the Relation field value
func (*ListUsersRequest) GetRelationOk ¶ added in v0.3.6
func (o *ListUsersRequest) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*ListUsersRequest) GetUserFilters ¶ added in v0.3.6
func (o *ListUsersRequest) GetUserFilters() []UserTypeFilter
GetUserFilters returns the UserFilters field value
func (*ListUsersRequest) GetUserFiltersOk ¶ added in v0.3.6
func (o *ListUsersRequest) GetUserFiltersOk() (*[]UserTypeFilter, bool)
GetUserFiltersOk returns a tuple with the UserFilters field value and a boolean to check if the value has been set.
func (*ListUsersRequest) HasAuthorizationModelId ¶ added in v0.3.6
func (o *ListUsersRequest) HasAuthorizationModelId() bool
HasAuthorizationModelId returns a boolean if a field has been set.
func (*ListUsersRequest) HasContext ¶ added in v0.3.6
func (o *ListUsersRequest) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*ListUsersRequest) HasContextualTuples ¶ added in v0.3.6
func (o *ListUsersRequest) HasContextualTuples() bool
HasContextualTuples returns a boolean if a field has been set.
func (ListUsersRequest) MarshalJSON ¶ added in v0.3.6
func (o ListUsersRequest) MarshalJSON() ([]byte, error)
func (*ListUsersRequest) SetAuthorizationModelId ¶ added in v0.3.6
func (o *ListUsersRequest) SetAuthorizationModelId(v string)
SetAuthorizationModelId gets a reference to the given string and assigns it to the AuthorizationModelId field.
func (*ListUsersRequest) SetContext ¶ added in v0.3.6
func (o *ListUsersRequest) SetContext(v map[string]interface{})
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
func (*ListUsersRequest) SetContextualTuples ¶ added in v0.3.6
func (o *ListUsersRequest) SetContextualTuples(v []TupleKey)
SetContextualTuples gets a reference to the given []TupleKey and assigns it to the ContextualTuples field.
func (*ListUsersRequest) SetObject ¶ added in v0.3.6
func (o *ListUsersRequest) SetObject(v FgaObject)
SetObject sets field value
func (*ListUsersRequest) SetRelation ¶ added in v0.3.6
func (o *ListUsersRequest) SetRelation(v string)
SetRelation sets field value
func (*ListUsersRequest) SetUserFilters ¶ added in v0.3.6
func (o *ListUsersRequest) SetUserFilters(v []UserTypeFilter)
SetUserFilters sets field value
type ListUsersResponse ¶ added in v0.3.6
type ListUsersResponse struct { Users []User `json:"users"yaml:"users"` ExcludedUsers []ObjectOrUserset `json:"excluded_users"yaml:"excluded_users"` }
ListUsersResponse struct for ListUsersResponse
func NewListUsersResponse ¶ added in v0.3.6
func NewListUsersResponse(users []User, excludedUsers []ObjectOrUserset) *ListUsersResponse
NewListUsersResponse instantiates a new ListUsersResponse 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 NewListUsersResponseWithDefaults ¶ added in v0.3.6
func NewListUsersResponseWithDefaults() *ListUsersResponse
NewListUsersResponseWithDefaults instantiates a new ListUsersResponse 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 (*ListUsersResponse) GetExcludedUsers ¶ added in v0.3.6
func (o *ListUsersResponse) GetExcludedUsers() []ObjectOrUserset
GetExcludedUsers returns the ExcludedUsers field value
func (*ListUsersResponse) GetExcludedUsersOk ¶ added in v0.3.6
func (o *ListUsersResponse) GetExcludedUsersOk() (*[]ObjectOrUserset, bool)
GetExcludedUsersOk returns a tuple with the ExcludedUsers field value and a boolean to check if the value has been set.
func (*ListUsersResponse) GetUsers ¶ added in v0.3.6
func (o *ListUsersResponse) GetUsers() []User
GetUsers returns the Users field value
func (*ListUsersResponse) GetUsersOk ¶ added in v0.3.6
func (o *ListUsersResponse) GetUsersOk() (*[]User, bool)
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (ListUsersResponse) MarshalJSON ¶ added in v0.3.6
func (o ListUsersResponse) MarshalJSON() ([]byte, error)
func (*ListUsersResponse) SetExcludedUsers ¶ added in v0.3.6
func (o *ListUsersResponse) SetExcludedUsers(v []ObjectOrUserset)
SetExcludedUsers sets field value
func (*ListUsersResponse) SetUsers ¶ added in v0.3.6
func (o *ListUsersResponse) SetUsers(v []User)
SetUsers sets field value
type Metadata ¶ added in v0.1.0
type Metadata struct { Relations *map[string]RelationMetadata `json:"relations,omitempty"yaml:"relations,omitempty"` Module *string `json:"module,omitempty"yaml:"module,omitempty"` SourceInfo *SourceInfo `json:"source_info,omitempty"yaml:"source_info,omitempty"` }
Metadata struct for Metadata
func NewMetadata ¶ added in v0.1.0
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶ added in v0.1.0
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetModule ¶ added in v0.3.6
GetModule returns the Module field value if set, zero value otherwise.
func (*Metadata) GetModuleOk ¶ added in v0.3.6
GetModuleOk returns a tuple with the Module field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetRelations ¶ added in v0.1.0
func (o *Metadata) GetRelations() map[string]RelationMetadata
GetRelations returns the Relations field value if set, zero value otherwise.
func (*Metadata) GetRelationsOk ¶ added in v0.1.0
func (o *Metadata) GetRelationsOk() (*map[string]RelationMetadata, bool)
GetRelationsOk returns a tuple with the Relations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetSourceInfo ¶ added in v0.3.6
func (o *Metadata) GetSourceInfo() SourceInfo
GetSourceInfo returns the SourceInfo field value if set, zero value otherwise.
func (*Metadata) GetSourceInfoOk ¶ added in v0.3.6
func (o *Metadata) GetSourceInfoOk() (*SourceInfo, bool)
GetSourceInfoOk returns a tuple with the SourceInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) HasRelations ¶ added in v0.1.0
HasRelations returns a boolean if a field has been set.
func (*Metadata) HasSourceInfo ¶ added in v0.3.6
HasSourceInfo returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶ added in v0.1.0
func (*Metadata) SetModule ¶ added in v0.3.6
SetModule gets a reference to the given string and assigns it to the Module field.
func (*Metadata) SetRelations ¶ added in v0.1.0
func (o *Metadata) SetRelations(v map[string]RelationMetadata)
SetRelations gets a reference to the given map[string]RelationMetadata and assigns it to the Relations field.
func (*Metadata) SetSourceInfo ¶ added in v0.3.6
func (o *Metadata) SetSourceInfo(v SourceInfo)
SetSourceInfo gets a reference to the given SourceInfo and assigns it to the SourceInfo field.
type Node ¶
type Node struct { Name string `json:"name"yaml:"name"` Leaf *Leaf `json:"leaf,omitempty"yaml:"leaf,omitempty"` Difference *UsersetTreeDifference `json:"difference,omitempty"yaml:"difference,omitempty"` Union *Nodes `json:"union,omitempty"yaml:"union,omitempty"` Intersection *Nodes `json:"intersection,omitempty"yaml:"intersection,omitempty"` }
Node struct for Node
func NewNode ¶
NewNode instantiates a new Node 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 NewNodeWithDefaults ¶
func NewNodeWithDefaults() *Node
NewNodeWithDefaults instantiates a new Node 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 (*Node) GetDifference ¶
func (o *Node) GetDifference() UsersetTreeDifference
GetDifference returns the Difference field value if set, zero value otherwise.
func (*Node) GetDifferenceOk ¶
func (o *Node) GetDifferenceOk() (*UsersetTreeDifference, bool)
GetDifferenceOk returns a tuple with the Difference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Node) GetIntersection ¶
GetIntersection returns the Intersection field value if set, zero value otherwise.
func (*Node) GetIntersectionOk ¶
GetIntersectionOk returns a tuple with the Intersection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Node) GetLeafOk ¶
GetLeafOk returns a tuple with the Leaf field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Node) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Node) GetUnionOk ¶
GetUnionOk returns a tuple with the Union field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Node) HasDifference ¶
HasDifference returns a boolean if a field has been set.
func (*Node) HasIntersection ¶
HasIntersection returns a boolean if a field has been set.
func (Node) MarshalJSON ¶
func (*Node) SetDifference ¶
func (o *Node) SetDifference(v UsersetTreeDifference)
SetDifference gets a reference to the given UsersetTreeDifference and assigns it to the Difference field.
func (*Node) SetIntersection ¶
SetIntersection gets a reference to the given Nodes and assigns it to the Intersection field.
type Nodes ¶
type Nodes struct {
Nodes []Node `json:"nodes"yaml:"nodes"`
}
Nodes struct for Nodes
func NewNodes ¶
NewNodes instantiates a new Nodes 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 NewNodesWithDefaults ¶
func NewNodesWithDefaults() *Nodes
NewNodesWithDefaults instantiates a new Nodes 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 (*Nodes) GetNodesOk ¶
GetNodesOk returns a tuple with the Nodes field value and a boolean to check if the value has been set.
func (Nodes) MarshalJSON ¶
type NotFoundErrorCode ¶
type NotFoundErrorCode string
NotFoundErrorCode the model 'NotFoundErrorCode'
const ( NO_NOT_FOUND_ERROR NotFoundErrorCode = "no_not_found_error" UNDEFINED_ENDPOINT NotFoundErrorCode = "undefined_endpoint" STORE_ID_NOT_FOUND NotFoundErrorCode = "store_id_not_found" UNIMPLEMENTED NotFoundErrorCode = "unimplemented" )
List of NotFoundErrorCode
func NewNotFoundErrorCodeFromValue ¶
func NewNotFoundErrorCodeFromValue(v string) (*NotFoundErrorCode, error)
NewNotFoundErrorCodeFromValue returns a pointer to a valid NotFoundErrorCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (NotFoundErrorCode) IsValid ¶
func (v NotFoundErrorCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (NotFoundErrorCode) Ptr ¶
func (v NotFoundErrorCode) Ptr() *NotFoundErrorCode
Ptr returns reference to NotFoundErrorCode value
func (*NotFoundErrorCode) UnmarshalJSON ¶
func (v *NotFoundErrorCode) UnmarshalJSON(src []byte) error
type NullValue ¶ added in v0.3.0
type NullValue string
NullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. - NULL_VALUE: Null value.
const (
NULL_VALUE NullValue = "NULL_VALUE"
)
List of NullValue
func NewNullValueFromValue ¶ added in v0.3.0
NewNullValueFromValue returns a pointer to a valid NullValue for the value passed as argument, or an error if the value passed is not allowed by the enum
func (NullValue) IsValid ¶ added in v0.3.0
IsValid return true if the value is valid for the enum, false otherwise
func (*NullValue) UnmarshalJSON ¶ added in v0.3.0
type NullableAbortedMessageResponse ¶ added in v0.3.2
type NullableAbortedMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableAbortedMessageResponse ¶ added in v0.3.2
func NewNullableAbortedMessageResponse(val *AbortedMessageResponse) *NullableAbortedMessageResponse
func (NullableAbortedMessageResponse) Get ¶ added in v0.3.2
func (v NullableAbortedMessageResponse) Get() *AbortedMessageResponse
func (NullableAbortedMessageResponse) IsSet ¶ added in v0.3.2
func (v NullableAbortedMessageResponse) IsSet() bool
func (NullableAbortedMessageResponse) MarshalJSON ¶ added in v0.3.2
func (v NullableAbortedMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableAbortedMessageResponse) Set ¶ added in v0.3.2
func (v *NullableAbortedMessageResponse) Set(val *AbortedMessageResponse)
func (*NullableAbortedMessageResponse) UnmarshalJSON ¶ added in v0.3.2
func (v *NullableAbortedMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableAbortedMessageResponse) Unset ¶ added in v0.3.2
func (v *NullableAbortedMessageResponse) Unset()
type NullableAny ¶
type NullableAny struct {
// contains filtered or unexported fields
}
func NewNullableAny ¶
func NewNullableAny(val *Any) *NullableAny
func (NullableAny) Get ¶
func (v NullableAny) Get() *Any
func (NullableAny) IsSet ¶
func (v NullableAny) IsSet() bool
func (NullableAny) MarshalJSON ¶
func (v NullableAny) MarshalJSON() ([]byte, error)
func (*NullableAny) Set ¶
func (v *NullableAny) Set(val *Any)
func (*NullableAny) UnmarshalJSON ¶
func (v *NullableAny) UnmarshalJSON(src []byte) error
func (*NullableAny) Unset ¶
func (v *NullableAny) Unset()
type NullableAssertion ¶
type NullableAssertion struct {
// contains filtered or unexported fields
}
func NewNullableAssertion ¶
func NewNullableAssertion(val *Assertion) *NullableAssertion
func (NullableAssertion) Get ¶
func (v NullableAssertion) Get() *Assertion
func (NullableAssertion) IsSet ¶
func (v NullableAssertion) IsSet() bool
func (NullableAssertion) MarshalJSON ¶
func (v NullableAssertion) MarshalJSON() ([]byte, error)
func (*NullableAssertion) Set ¶
func (v *NullableAssertion) Set(val *Assertion)
func (*NullableAssertion) UnmarshalJSON ¶
func (v *NullableAssertion) UnmarshalJSON(src []byte) error
func (*NullableAssertion) Unset ¶
func (v *NullableAssertion) Unset()
type NullableAssertionTupleKey ¶ added in v0.3.0
type NullableAssertionTupleKey struct {
// contains filtered or unexported fields
}
func NewNullableAssertionTupleKey ¶ added in v0.3.0
func NewNullableAssertionTupleKey(val *AssertionTupleKey) *NullableAssertionTupleKey
func (NullableAssertionTupleKey) Get ¶ added in v0.3.0
func (v NullableAssertionTupleKey) Get() *AssertionTupleKey
func (NullableAssertionTupleKey) IsSet ¶ added in v0.3.0
func (v NullableAssertionTupleKey) IsSet() bool
func (NullableAssertionTupleKey) MarshalJSON ¶ added in v0.3.0
func (v NullableAssertionTupleKey) MarshalJSON() ([]byte, error)
func (*NullableAssertionTupleKey) Set ¶ added in v0.3.0
func (v *NullableAssertionTupleKey) Set(val *AssertionTupleKey)
func (*NullableAssertionTupleKey) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableAssertionTupleKey) UnmarshalJSON(src []byte) error
func (*NullableAssertionTupleKey) Unset ¶ added in v0.3.0
func (v *NullableAssertionTupleKey) Unset()
type NullableAuthorizationModel ¶
type NullableAuthorizationModel struct {
// contains filtered or unexported fields
}
func NewNullableAuthorizationModel ¶
func NewNullableAuthorizationModel(val *AuthorizationModel) *NullableAuthorizationModel
func (NullableAuthorizationModel) Get ¶
func (v NullableAuthorizationModel) Get() *AuthorizationModel
func (NullableAuthorizationModel) IsSet ¶
func (v NullableAuthorizationModel) IsSet() bool
func (NullableAuthorizationModel) MarshalJSON ¶
func (v NullableAuthorizationModel) MarshalJSON() ([]byte, error)
func (*NullableAuthorizationModel) Set ¶
func (v *NullableAuthorizationModel) Set(val *AuthorizationModel)
func (*NullableAuthorizationModel) UnmarshalJSON ¶
func (v *NullableAuthorizationModel) UnmarshalJSON(src []byte) error
func (*NullableAuthorizationModel) Unset ¶
func (v *NullableAuthorizationModel) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCheckRequest ¶
type NullableCheckRequest struct {
// contains filtered or unexported fields
}
func NewNullableCheckRequest ¶
func NewNullableCheckRequest(val *CheckRequest) *NullableCheckRequest
func (NullableCheckRequest) Get ¶
func (v NullableCheckRequest) Get() *CheckRequest
func (NullableCheckRequest) IsSet ¶
func (v NullableCheckRequest) IsSet() bool
func (NullableCheckRequest) MarshalJSON ¶
func (v NullableCheckRequest) MarshalJSON() ([]byte, error)
func (*NullableCheckRequest) Set ¶
func (v *NullableCheckRequest) Set(val *CheckRequest)
func (*NullableCheckRequest) UnmarshalJSON ¶
func (v *NullableCheckRequest) UnmarshalJSON(src []byte) error
func (*NullableCheckRequest) Unset ¶
func (v *NullableCheckRequest) Unset()
type NullableCheckRequestTupleKey ¶ added in v0.3.0
type NullableCheckRequestTupleKey struct {
// contains filtered or unexported fields
}
func NewNullableCheckRequestTupleKey ¶ added in v0.3.0
func NewNullableCheckRequestTupleKey(val *CheckRequestTupleKey) *NullableCheckRequestTupleKey
func (NullableCheckRequestTupleKey) Get ¶ added in v0.3.0
func (v NullableCheckRequestTupleKey) Get() *CheckRequestTupleKey
func (NullableCheckRequestTupleKey) IsSet ¶ added in v0.3.0
func (v NullableCheckRequestTupleKey) IsSet() bool
func (NullableCheckRequestTupleKey) MarshalJSON ¶ added in v0.3.0
func (v NullableCheckRequestTupleKey) MarshalJSON() ([]byte, error)
func (*NullableCheckRequestTupleKey) Set ¶ added in v0.3.0
func (v *NullableCheckRequestTupleKey) Set(val *CheckRequestTupleKey)
func (*NullableCheckRequestTupleKey) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableCheckRequestTupleKey) UnmarshalJSON(src []byte) error
func (*NullableCheckRequestTupleKey) Unset ¶ added in v0.3.0
func (v *NullableCheckRequestTupleKey) Unset()
type NullableCheckResponse ¶
type NullableCheckResponse struct {
// contains filtered or unexported fields
}
func NewNullableCheckResponse ¶
func NewNullableCheckResponse(val *CheckResponse) *NullableCheckResponse
func (NullableCheckResponse) Get ¶
func (v NullableCheckResponse) Get() *CheckResponse
func (NullableCheckResponse) IsSet ¶
func (v NullableCheckResponse) IsSet() bool
func (NullableCheckResponse) MarshalJSON ¶
func (v NullableCheckResponse) MarshalJSON() ([]byte, error)
func (*NullableCheckResponse) Set ¶
func (v *NullableCheckResponse) Set(val *CheckResponse)
func (*NullableCheckResponse) UnmarshalJSON ¶
func (v *NullableCheckResponse) UnmarshalJSON(src []byte) error
func (*NullableCheckResponse) Unset ¶
func (v *NullableCheckResponse) Unset()
type NullableComputed ¶
type NullableComputed struct {
// contains filtered or unexported fields
}
func NewNullableComputed ¶
func NewNullableComputed(val *Computed) *NullableComputed
func (NullableComputed) Get ¶
func (v NullableComputed) Get() *Computed
func (NullableComputed) IsSet ¶
func (v NullableComputed) IsSet() bool
func (NullableComputed) MarshalJSON ¶
func (v NullableComputed) MarshalJSON() ([]byte, error)
func (*NullableComputed) Set ¶
func (v *NullableComputed) Set(val *Computed)
func (*NullableComputed) UnmarshalJSON ¶
func (v *NullableComputed) UnmarshalJSON(src []byte) error
func (*NullableComputed) Unset ¶
func (v *NullableComputed) Unset()
type NullableCondition ¶ added in v0.3.0
type NullableCondition struct {
// contains filtered or unexported fields
}
func NewNullableCondition ¶ added in v0.3.0
func NewNullableCondition(val *Condition) *NullableCondition
func (NullableCondition) Get ¶ added in v0.3.0
func (v NullableCondition) Get() *Condition
func (NullableCondition) IsSet ¶ added in v0.3.0
func (v NullableCondition) IsSet() bool
func (NullableCondition) MarshalJSON ¶ added in v0.3.0
func (v NullableCondition) MarshalJSON() ([]byte, error)
func (*NullableCondition) Set ¶ added in v0.3.0
func (v *NullableCondition) Set(val *Condition)
func (*NullableCondition) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableCondition) UnmarshalJSON(src []byte) error
func (*NullableCondition) Unset ¶ added in v0.3.0
func (v *NullableCondition) Unset()
type NullableConditionMetadata ¶ added in v0.3.6
type NullableConditionMetadata struct {
// contains filtered or unexported fields
}
func NewNullableConditionMetadata ¶ added in v0.3.6
func NewNullableConditionMetadata(val *ConditionMetadata) *NullableConditionMetadata
func (NullableConditionMetadata) Get ¶ added in v0.3.6
func (v NullableConditionMetadata) Get() *ConditionMetadata
func (NullableConditionMetadata) IsSet ¶ added in v0.3.6
func (v NullableConditionMetadata) IsSet() bool
func (NullableConditionMetadata) MarshalJSON ¶ added in v0.3.6
func (v NullableConditionMetadata) MarshalJSON() ([]byte, error)
func (*NullableConditionMetadata) Set ¶ added in v0.3.6
func (v *NullableConditionMetadata) Set(val *ConditionMetadata)
func (*NullableConditionMetadata) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableConditionMetadata) UnmarshalJSON(src []byte) error
func (*NullableConditionMetadata) Unset ¶ added in v0.3.6
func (v *NullableConditionMetadata) Unset()
type NullableConditionParamTypeRef ¶ added in v0.3.0
type NullableConditionParamTypeRef struct {
// contains filtered or unexported fields
}
func NewNullableConditionParamTypeRef ¶ added in v0.3.0
func NewNullableConditionParamTypeRef(val *ConditionParamTypeRef) *NullableConditionParamTypeRef
func (NullableConditionParamTypeRef) Get ¶ added in v0.3.0
func (v NullableConditionParamTypeRef) Get() *ConditionParamTypeRef
func (NullableConditionParamTypeRef) IsSet ¶ added in v0.3.0
func (v NullableConditionParamTypeRef) IsSet() bool
func (NullableConditionParamTypeRef) MarshalJSON ¶ added in v0.3.0
func (v NullableConditionParamTypeRef) MarshalJSON() ([]byte, error)
func (*NullableConditionParamTypeRef) Set ¶ added in v0.3.0
func (v *NullableConditionParamTypeRef) Set(val *ConditionParamTypeRef)
func (*NullableConditionParamTypeRef) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableConditionParamTypeRef) UnmarshalJSON(src []byte) error
func (*NullableConditionParamTypeRef) Unset ¶ added in v0.3.0
func (v *NullableConditionParamTypeRef) Unset()
type NullableContextualTupleKeys ¶
type NullableContextualTupleKeys struct {
// contains filtered or unexported fields
}
func NewNullableContextualTupleKeys ¶
func NewNullableContextualTupleKeys(val *ContextualTupleKeys) *NullableContextualTupleKeys
func (NullableContextualTupleKeys) Get ¶
func (v NullableContextualTupleKeys) Get() *ContextualTupleKeys
func (NullableContextualTupleKeys) IsSet ¶
func (v NullableContextualTupleKeys) IsSet() bool
func (NullableContextualTupleKeys) MarshalJSON ¶
func (v NullableContextualTupleKeys) MarshalJSON() ([]byte, error)
func (*NullableContextualTupleKeys) Set ¶
func (v *NullableContextualTupleKeys) Set(val *ContextualTupleKeys)
func (*NullableContextualTupleKeys) UnmarshalJSON ¶
func (v *NullableContextualTupleKeys) UnmarshalJSON(src []byte) error
func (*NullableContextualTupleKeys) Unset ¶
func (v *NullableContextualTupleKeys) Unset()
type NullableCreateStoreRequest ¶
type NullableCreateStoreRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateStoreRequest ¶
func NewNullableCreateStoreRequest(val *CreateStoreRequest) *NullableCreateStoreRequest
func (NullableCreateStoreRequest) Get ¶
func (v NullableCreateStoreRequest) Get() *CreateStoreRequest
func (NullableCreateStoreRequest) IsSet ¶
func (v NullableCreateStoreRequest) IsSet() bool
func (NullableCreateStoreRequest) MarshalJSON ¶
func (v NullableCreateStoreRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateStoreRequest) Set ¶
func (v *NullableCreateStoreRequest) Set(val *CreateStoreRequest)
func (*NullableCreateStoreRequest) UnmarshalJSON ¶
func (v *NullableCreateStoreRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateStoreRequest) Unset ¶
func (v *NullableCreateStoreRequest) Unset()
type NullableCreateStoreResponse ¶
type NullableCreateStoreResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateStoreResponse ¶
func NewNullableCreateStoreResponse(val *CreateStoreResponse) *NullableCreateStoreResponse
func (NullableCreateStoreResponse) Get ¶
func (v NullableCreateStoreResponse) Get() *CreateStoreResponse
func (NullableCreateStoreResponse) IsSet ¶
func (v NullableCreateStoreResponse) IsSet() bool
func (NullableCreateStoreResponse) MarshalJSON ¶
func (v NullableCreateStoreResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateStoreResponse) Set ¶
func (v *NullableCreateStoreResponse) Set(val *CreateStoreResponse)
func (*NullableCreateStoreResponse) UnmarshalJSON ¶
func (v *NullableCreateStoreResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateStoreResponse) Unset ¶
func (v *NullableCreateStoreResponse) Unset()
type NullableDifference ¶
type NullableDifference struct {
// contains filtered or unexported fields
}
func NewNullableDifference ¶
func NewNullableDifference(val *Difference) *NullableDifference
func (NullableDifference) Get ¶
func (v NullableDifference) Get() *Difference
func (NullableDifference) IsSet ¶
func (v NullableDifference) IsSet() bool
func (NullableDifference) MarshalJSON ¶
func (v NullableDifference) MarshalJSON() ([]byte, error)
func (*NullableDifference) Set ¶
func (v *NullableDifference) Set(val *Difference)
func (*NullableDifference) UnmarshalJSON ¶
func (v *NullableDifference) UnmarshalJSON(src []byte) error
func (*NullableDifference) Unset ¶
func (v *NullableDifference) Unset()
type NullableErrorCode ¶
type NullableErrorCode struct {
// contains filtered or unexported fields
}
func NewNullableErrorCode ¶
func NewNullableErrorCode(val *ErrorCode) *NullableErrorCode
func (NullableErrorCode) Get ¶
func (v NullableErrorCode) Get() *ErrorCode
func (NullableErrorCode) IsSet ¶
func (v NullableErrorCode) IsSet() bool
func (NullableErrorCode) MarshalJSON ¶
func (v NullableErrorCode) MarshalJSON() ([]byte, error)
func (*NullableErrorCode) Set ¶
func (v *NullableErrorCode) Set(val *ErrorCode)
func (*NullableErrorCode) UnmarshalJSON ¶
func (v *NullableErrorCode) UnmarshalJSON(src []byte) error
func (*NullableErrorCode) Unset ¶
func (v *NullableErrorCode) Unset()
type NullableExpandRequest ¶
type NullableExpandRequest struct {
// contains filtered or unexported fields
}
func NewNullableExpandRequest ¶
func NewNullableExpandRequest(val *ExpandRequest) *NullableExpandRequest
func (NullableExpandRequest) Get ¶
func (v NullableExpandRequest) Get() *ExpandRequest
func (NullableExpandRequest) IsSet ¶
func (v NullableExpandRequest) IsSet() bool
func (NullableExpandRequest) MarshalJSON ¶
func (v NullableExpandRequest) MarshalJSON() ([]byte, error)
func (*NullableExpandRequest) Set ¶
func (v *NullableExpandRequest) Set(val *ExpandRequest)
func (*NullableExpandRequest) UnmarshalJSON ¶
func (v *NullableExpandRequest) UnmarshalJSON(src []byte) error
func (*NullableExpandRequest) Unset ¶
func (v *NullableExpandRequest) Unset()
type NullableExpandRequestTupleKey ¶ added in v0.3.0
type NullableExpandRequestTupleKey struct {
// contains filtered or unexported fields
}
func NewNullableExpandRequestTupleKey ¶ added in v0.3.0
func NewNullableExpandRequestTupleKey(val *ExpandRequestTupleKey) *NullableExpandRequestTupleKey
func (NullableExpandRequestTupleKey) Get ¶ added in v0.3.0
func (v NullableExpandRequestTupleKey) Get() *ExpandRequestTupleKey
func (NullableExpandRequestTupleKey) IsSet ¶ added in v0.3.0
func (v NullableExpandRequestTupleKey) IsSet() bool
func (NullableExpandRequestTupleKey) MarshalJSON ¶ added in v0.3.0
func (v NullableExpandRequestTupleKey) MarshalJSON() ([]byte, error)
func (*NullableExpandRequestTupleKey) Set ¶ added in v0.3.0
func (v *NullableExpandRequestTupleKey) Set(val *ExpandRequestTupleKey)
func (*NullableExpandRequestTupleKey) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableExpandRequestTupleKey) UnmarshalJSON(src []byte) error
func (*NullableExpandRequestTupleKey) Unset ¶ added in v0.3.0
func (v *NullableExpandRequestTupleKey) Unset()
type NullableExpandResponse ¶
type NullableExpandResponse struct {
// contains filtered or unexported fields
}
func NewNullableExpandResponse ¶
func NewNullableExpandResponse(val *ExpandResponse) *NullableExpandResponse
func (NullableExpandResponse) Get ¶
func (v NullableExpandResponse) Get() *ExpandResponse
func (NullableExpandResponse) IsSet ¶
func (v NullableExpandResponse) IsSet() bool
func (NullableExpandResponse) MarshalJSON ¶
func (v NullableExpandResponse) MarshalJSON() ([]byte, error)
func (*NullableExpandResponse) Set ¶
func (v *NullableExpandResponse) Set(val *ExpandResponse)
func (*NullableExpandResponse) UnmarshalJSON ¶
func (v *NullableExpandResponse) UnmarshalJSON(src []byte) error
func (*NullableExpandResponse) Unset ¶
func (v *NullableExpandResponse) Unset()
type NullableFgaObject ¶ added in v0.3.6
type NullableFgaObject struct {
// contains filtered or unexported fields
}
func NewNullableFgaObject ¶ added in v0.3.6
func NewNullableFgaObject(val *FgaObject) *NullableFgaObject
func (NullableFgaObject) Get ¶ added in v0.3.6
func (v NullableFgaObject) Get() *FgaObject
func (NullableFgaObject) IsSet ¶ added in v0.3.6
func (v NullableFgaObject) IsSet() bool
func (NullableFgaObject) MarshalJSON ¶ added in v0.3.6
func (v NullableFgaObject) MarshalJSON() ([]byte, error)
func (*NullableFgaObject) Set ¶ added in v0.3.6
func (v *NullableFgaObject) Set(val *FgaObject)
func (*NullableFgaObject) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableFgaObject) UnmarshalJSON(src []byte) error
func (*NullableFgaObject) Unset ¶ added in v0.3.6
func (v *NullableFgaObject) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetStoreResponse ¶
type NullableGetStoreResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetStoreResponse ¶
func NewNullableGetStoreResponse(val *GetStoreResponse) *NullableGetStoreResponse
func (NullableGetStoreResponse) Get ¶
func (v NullableGetStoreResponse) Get() *GetStoreResponse
func (NullableGetStoreResponse) IsSet ¶
func (v NullableGetStoreResponse) IsSet() bool
func (NullableGetStoreResponse) MarshalJSON ¶
func (v NullableGetStoreResponse) MarshalJSON() ([]byte, error)
func (*NullableGetStoreResponse) Set ¶
func (v *NullableGetStoreResponse) Set(val *GetStoreResponse)
func (*NullableGetStoreResponse) UnmarshalJSON ¶
func (v *NullableGetStoreResponse) UnmarshalJSON(src []byte) error
func (*NullableGetStoreResponse) Unset ¶
func (v *NullableGetStoreResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableInternalErrorCode ¶
type NullableInternalErrorCode struct {
// contains filtered or unexported fields
}
func NewNullableInternalErrorCode ¶
func NewNullableInternalErrorCode(val *InternalErrorCode) *NullableInternalErrorCode
func (NullableInternalErrorCode) Get ¶
func (v NullableInternalErrorCode) Get() *InternalErrorCode
func (NullableInternalErrorCode) IsSet ¶
func (v NullableInternalErrorCode) IsSet() bool
func (NullableInternalErrorCode) MarshalJSON ¶
func (v NullableInternalErrorCode) MarshalJSON() ([]byte, error)
func (*NullableInternalErrorCode) Set ¶
func (v *NullableInternalErrorCode) Set(val *InternalErrorCode)
func (*NullableInternalErrorCode) UnmarshalJSON ¶
func (v *NullableInternalErrorCode) UnmarshalJSON(src []byte) error
func (*NullableInternalErrorCode) Unset ¶
func (v *NullableInternalErrorCode) Unset()
type NullableInternalErrorMessageResponse ¶
type NullableInternalErrorMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableInternalErrorMessageResponse ¶
func NewNullableInternalErrorMessageResponse(val *InternalErrorMessageResponse) *NullableInternalErrorMessageResponse
func (NullableInternalErrorMessageResponse) Get ¶
func (v NullableInternalErrorMessageResponse) Get() *InternalErrorMessageResponse
func (NullableInternalErrorMessageResponse) IsSet ¶
func (v NullableInternalErrorMessageResponse) IsSet() bool
func (NullableInternalErrorMessageResponse) MarshalJSON ¶
func (v NullableInternalErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableInternalErrorMessageResponse) Set ¶
func (v *NullableInternalErrorMessageResponse) Set(val *InternalErrorMessageResponse)
func (*NullableInternalErrorMessageResponse) UnmarshalJSON ¶
func (v *NullableInternalErrorMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableInternalErrorMessageResponse) Unset ¶
func (v *NullableInternalErrorMessageResponse) Unset()
type NullableLeaf ¶
type NullableLeaf struct {
// contains filtered or unexported fields
}
func NewNullableLeaf ¶
func NewNullableLeaf(val *Leaf) *NullableLeaf
func (NullableLeaf) Get ¶
func (v NullableLeaf) Get() *Leaf
func (NullableLeaf) IsSet ¶
func (v NullableLeaf) IsSet() bool
func (NullableLeaf) MarshalJSON ¶
func (v NullableLeaf) MarshalJSON() ([]byte, error)
func (*NullableLeaf) Set ¶
func (v *NullableLeaf) Set(val *Leaf)
func (*NullableLeaf) UnmarshalJSON ¶
func (v *NullableLeaf) UnmarshalJSON(src []byte) error
func (*NullableLeaf) Unset ¶
func (v *NullableLeaf) Unset()
type NullableListObjectsRequest ¶ added in v0.0.2
type NullableListObjectsRequest struct {
// contains filtered or unexported fields
}
func NewNullableListObjectsRequest ¶ added in v0.0.2
func NewNullableListObjectsRequest(val *ListObjectsRequest) *NullableListObjectsRequest
func (NullableListObjectsRequest) Get ¶ added in v0.0.2
func (v NullableListObjectsRequest) Get() *ListObjectsRequest
func (NullableListObjectsRequest) IsSet ¶ added in v0.0.2
func (v NullableListObjectsRequest) IsSet() bool
func (NullableListObjectsRequest) MarshalJSON ¶ added in v0.0.2
func (v NullableListObjectsRequest) MarshalJSON() ([]byte, error)
func (*NullableListObjectsRequest) Set ¶ added in v0.0.2
func (v *NullableListObjectsRequest) Set(val *ListObjectsRequest)
func (*NullableListObjectsRequest) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableListObjectsRequest) UnmarshalJSON(src []byte) error
func (*NullableListObjectsRequest) Unset ¶ added in v0.0.2
func (v *NullableListObjectsRequest) Unset()
type NullableListObjectsResponse ¶ added in v0.0.2
type NullableListObjectsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListObjectsResponse ¶ added in v0.0.2
func NewNullableListObjectsResponse(val *ListObjectsResponse) *NullableListObjectsResponse
func (NullableListObjectsResponse) Get ¶ added in v0.0.2
func (v NullableListObjectsResponse) Get() *ListObjectsResponse
func (NullableListObjectsResponse) IsSet ¶ added in v0.0.2
func (v NullableListObjectsResponse) IsSet() bool
func (NullableListObjectsResponse) MarshalJSON ¶ added in v0.0.2
func (v NullableListObjectsResponse) MarshalJSON() ([]byte, error)
func (*NullableListObjectsResponse) Set ¶ added in v0.0.2
func (v *NullableListObjectsResponse) Set(val *ListObjectsResponse)
func (*NullableListObjectsResponse) UnmarshalJSON ¶ added in v0.0.2
func (v *NullableListObjectsResponse) UnmarshalJSON(src []byte) error
func (*NullableListObjectsResponse) Unset ¶ added in v0.0.2
func (v *NullableListObjectsResponse) Unset()
type NullableListStoresResponse ¶
type NullableListStoresResponse struct {
// contains filtered or unexported fields
}
func NewNullableListStoresResponse ¶
func NewNullableListStoresResponse(val *ListStoresResponse) *NullableListStoresResponse
func (NullableListStoresResponse) Get ¶
func (v NullableListStoresResponse) Get() *ListStoresResponse
func (NullableListStoresResponse) IsSet ¶
func (v NullableListStoresResponse) IsSet() bool
func (NullableListStoresResponse) MarshalJSON ¶
func (v NullableListStoresResponse) MarshalJSON() ([]byte, error)
func (*NullableListStoresResponse) Set ¶
func (v *NullableListStoresResponse) Set(val *ListStoresResponse)
func (*NullableListStoresResponse) UnmarshalJSON ¶
func (v *NullableListStoresResponse) UnmarshalJSON(src []byte) error
func (*NullableListStoresResponse) Unset ¶
func (v *NullableListStoresResponse) Unset()
type NullableListUsersRequest ¶ added in v0.3.6
type NullableListUsersRequest struct {
// contains filtered or unexported fields
}
func NewNullableListUsersRequest ¶ added in v0.3.6
func NewNullableListUsersRequest(val *ListUsersRequest) *NullableListUsersRequest
func (NullableListUsersRequest) Get ¶ added in v0.3.6
func (v NullableListUsersRequest) Get() *ListUsersRequest
func (NullableListUsersRequest) IsSet ¶ added in v0.3.6
func (v NullableListUsersRequest) IsSet() bool
func (NullableListUsersRequest) MarshalJSON ¶ added in v0.3.6
func (v NullableListUsersRequest) MarshalJSON() ([]byte, error)
func (*NullableListUsersRequest) Set ¶ added in v0.3.6
func (v *NullableListUsersRequest) Set(val *ListUsersRequest)
func (*NullableListUsersRequest) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableListUsersRequest) UnmarshalJSON(src []byte) error
func (*NullableListUsersRequest) Unset ¶ added in v0.3.6
func (v *NullableListUsersRequest) Unset()
type NullableListUsersResponse ¶ added in v0.3.6
type NullableListUsersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListUsersResponse ¶ added in v0.3.6
func NewNullableListUsersResponse(val *ListUsersResponse) *NullableListUsersResponse
func (NullableListUsersResponse) Get ¶ added in v0.3.6
func (v NullableListUsersResponse) Get() *ListUsersResponse
func (NullableListUsersResponse) IsSet ¶ added in v0.3.6
func (v NullableListUsersResponse) IsSet() bool
func (NullableListUsersResponse) MarshalJSON ¶ added in v0.3.6
func (v NullableListUsersResponse) MarshalJSON() ([]byte, error)
func (*NullableListUsersResponse) Set ¶ added in v0.3.6
func (v *NullableListUsersResponse) Set(val *ListUsersResponse)
func (*NullableListUsersResponse) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableListUsersResponse) UnmarshalJSON(src []byte) error
func (*NullableListUsersResponse) Unset ¶ added in v0.3.6
func (v *NullableListUsersResponse) Unset()
type NullableMetadata ¶ added in v0.1.0
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶ added in v0.1.0
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶ added in v0.1.0
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶ added in v0.1.0
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶ added in v0.1.0
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶ added in v0.1.0
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶ added in v0.1.0
func (v *NullableMetadata) Unset()
type NullableNode ¶
type NullableNode struct {
// contains filtered or unexported fields
}
func NewNullableNode ¶
func NewNullableNode(val *Node) *NullableNode
func (NullableNode) Get ¶
func (v NullableNode) Get() *Node
func (NullableNode) IsSet ¶
func (v NullableNode) IsSet() bool
func (NullableNode) MarshalJSON ¶
func (v NullableNode) MarshalJSON() ([]byte, error)
func (*NullableNode) Set ¶
func (v *NullableNode) Set(val *Node)
func (*NullableNode) UnmarshalJSON ¶
func (v *NullableNode) UnmarshalJSON(src []byte) error
func (*NullableNode) Unset ¶
func (v *NullableNode) Unset()
type NullableNodes ¶
type NullableNodes struct {
// contains filtered or unexported fields
}
func NewNullableNodes ¶
func NewNullableNodes(val *Nodes) *NullableNodes
func (NullableNodes) Get ¶
func (v NullableNodes) Get() *Nodes
func (NullableNodes) IsSet ¶
func (v NullableNodes) IsSet() bool
func (NullableNodes) MarshalJSON ¶
func (v NullableNodes) MarshalJSON() ([]byte, error)
func (*NullableNodes) Set ¶
func (v *NullableNodes) Set(val *Nodes)
func (*NullableNodes) UnmarshalJSON ¶
func (v *NullableNodes) UnmarshalJSON(src []byte) error
func (*NullableNodes) Unset ¶
func (v *NullableNodes) Unset()
type NullableNotFoundErrorCode ¶
type NullableNotFoundErrorCode struct {
// contains filtered or unexported fields
}
func NewNullableNotFoundErrorCode ¶
func NewNullableNotFoundErrorCode(val *NotFoundErrorCode) *NullableNotFoundErrorCode
func (NullableNotFoundErrorCode) Get ¶
func (v NullableNotFoundErrorCode) Get() *NotFoundErrorCode
func (NullableNotFoundErrorCode) IsSet ¶
func (v NullableNotFoundErrorCode) IsSet() bool
func (NullableNotFoundErrorCode) MarshalJSON ¶
func (v NullableNotFoundErrorCode) MarshalJSON() ([]byte, error)
func (*NullableNotFoundErrorCode) Set ¶
func (v *NullableNotFoundErrorCode) Set(val *NotFoundErrorCode)
func (*NullableNotFoundErrorCode) UnmarshalJSON ¶
func (v *NullableNotFoundErrorCode) UnmarshalJSON(src []byte) error
func (*NullableNotFoundErrorCode) Unset ¶
func (v *NullableNotFoundErrorCode) Unset()
type NullableNullValue ¶ added in v0.3.0
type NullableNullValue struct {
// contains filtered or unexported fields
}
func NewNullableNullValue ¶ added in v0.3.0
func NewNullableNullValue(val *NullValue) *NullableNullValue
func (NullableNullValue) Get ¶ added in v0.3.0
func (v NullableNullValue) Get() *NullValue
func (NullableNullValue) IsSet ¶ added in v0.3.0
func (v NullableNullValue) IsSet() bool
func (NullableNullValue) MarshalJSON ¶ added in v0.3.0
func (v NullableNullValue) MarshalJSON() ([]byte, error)
func (*NullableNullValue) Set ¶ added in v0.3.0
func (v *NullableNullValue) Set(val *NullValue)
func (*NullableNullValue) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableNullValue) UnmarshalJSON(src []byte) error
func (*NullableNullValue) Unset ¶ added in v0.3.0
func (v *NullableNullValue) Unset()
type NullableObjectOrUserset ¶ added in v0.3.6
type NullableObjectOrUserset struct {
// contains filtered or unexported fields
}
func NewNullableObjectOrUserset ¶ added in v0.3.6
func NewNullableObjectOrUserset(val *ObjectOrUserset) *NullableObjectOrUserset
func (NullableObjectOrUserset) Get ¶ added in v0.3.6
func (v NullableObjectOrUserset) Get() *ObjectOrUserset
func (NullableObjectOrUserset) IsSet ¶ added in v0.3.6
func (v NullableObjectOrUserset) IsSet() bool
func (NullableObjectOrUserset) MarshalJSON ¶ added in v0.3.6
func (v NullableObjectOrUserset) MarshalJSON() ([]byte, error)
func (*NullableObjectOrUserset) Set ¶ added in v0.3.6
func (v *NullableObjectOrUserset) Set(val *ObjectOrUserset)
func (*NullableObjectOrUserset) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableObjectOrUserset) UnmarshalJSON(src []byte) error
func (*NullableObjectOrUserset) Unset ¶ added in v0.3.6
func (v *NullableObjectOrUserset) Unset()
type NullableObjectRelation ¶
type NullableObjectRelation struct {
// contains filtered or unexported fields
}
func NewNullableObjectRelation ¶
func NewNullableObjectRelation(val *ObjectRelation) *NullableObjectRelation
func (NullableObjectRelation) Get ¶
func (v NullableObjectRelation) Get() *ObjectRelation
func (NullableObjectRelation) IsSet ¶
func (v NullableObjectRelation) IsSet() bool
func (NullableObjectRelation) MarshalJSON ¶
func (v NullableObjectRelation) MarshalJSON() ([]byte, error)
func (*NullableObjectRelation) Set ¶
func (v *NullableObjectRelation) Set(val *ObjectRelation)
func (*NullableObjectRelation) UnmarshalJSON ¶
func (v *NullableObjectRelation) UnmarshalJSON(src []byte) error
func (*NullableObjectRelation) Unset ¶
func (v *NullableObjectRelation) Unset()
type NullablePathUnknownErrorMessageResponse ¶
type NullablePathUnknownErrorMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullablePathUnknownErrorMessageResponse ¶
func NewNullablePathUnknownErrorMessageResponse(val *PathUnknownErrorMessageResponse) *NullablePathUnknownErrorMessageResponse
func (NullablePathUnknownErrorMessageResponse) IsSet ¶
func (v NullablePathUnknownErrorMessageResponse) IsSet() bool
func (NullablePathUnknownErrorMessageResponse) MarshalJSON ¶
func (v NullablePathUnknownErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*NullablePathUnknownErrorMessageResponse) Set ¶
func (v *NullablePathUnknownErrorMessageResponse) Set(val *PathUnknownErrorMessageResponse)
func (*NullablePathUnknownErrorMessageResponse) UnmarshalJSON ¶
func (v *NullablePathUnknownErrorMessageResponse) UnmarshalJSON(src []byte) error
func (*NullablePathUnknownErrorMessageResponse) Unset ¶
func (v *NullablePathUnknownErrorMessageResponse) Unset()
type NullableReadAssertionsResponse ¶
type NullableReadAssertionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadAssertionsResponse ¶
func NewNullableReadAssertionsResponse(val *ReadAssertionsResponse) *NullableReadAssertionsResponse
func (NullableReadAssertionsResponse) Get ¶
func (v NullableReadAssertionsResponse) Get() *ReadAssertionsResponse
func (NullableReadAssertionsResponse) IsSet ¶
func (v NullableReadAssertionsResponse) IsSet() bool
func (NullableReadAssertionsResponse) MarshalJSON ¶
func (v NullableReadAssertionsResponse) MarshalJSON() ([]byte, error)
func (*NullableReadAssertionsResponse) Set ¶
func (v *NullableReadAssertionsResponse) Set(val *ReadAssertionsResponse)
func (*NullableReadAssertionsResponse) UnmarshalJSON ¶
func (v *NullableReadAssertionsResponse) UnmarshalJSON(src []byte) error
func (*NullableReadAssertionsResponse) Unset ¶
func (v *NullableReadAssertionsResponse) Unset()
type NullableReadAuthorizationModelResponse ¶
type NullableReadAuthorizationModelResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadAuthorizationModelResponse ¶
func NewNullableReadAuthorizationModelResponse(val *ReadAuthorizationModelResponse) *NullableReadAuthorizationModelResponse
func (NullableReadAuthorizationModelResponse) Get ¶
func (v NullableReadAuthorizationModelResponse) Get() *ReadAuthorizationModelResponse
func (NullableReadAuthorizationModelResponse) IsSet ¶
func (v NullableReadAuthorizationModelResponse) IsSet() bool
func (NullableReadAuthorizationModelResponse) MarshalJSON ¶
func (v NullableReadAuthorizationModelResponse) MarshalJSON() ([]byte, error)
func (*NullableReadAuthorizationModelResponse) Set ¶
func (v *NullableReadAuthorizationModelResponse) Set(val *ReadAuthorizationModelResponse)
func (*NullableReadAuthorizationModelResponse) UnmarshalJSON ¶
func (v *NullableReadAuthorizationModelResponse) UnmarshalJSON(src []byte) error
func (*NullableReadAuthorizationModelResponse) Unset ¶
func (v *NullableReadAuthorizationModelResponse) Unset()
type NullableReadAuthorizationModelsResponse ¶
type NullableReadAuthorizationModelsResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadAuthorizationModelsResponse ¶
func NewNullableReadAuthorizationModelsResponse(val *ReadAuthorizationModelsResponse) *NullableReadAuthorizationModelsResponse
func (NullableReadAuthorizationModelsResponse) IsSet ¶
func (v NullableReadAuthorizationModelsResponse) IsSet() bool
func (NullableReadAuthorizationModelsResponse) MarshalJSON ¶
func (v NullableReadAuthorizationModelsResponse) MarshalJSON() ([]byte, error)
func (*NullableReadAuthorizationModelsResponse) Set ¶
func (v *NullableReadAuthorizationModelsResponse) Set(val *ReadAuthorizationModelsResponse)
func (*NullableReadAuthorizationModelsResponse) UnmarshalJSON ¶
func (v *NullableReadAuthorizationModelsResponse) UnmarshalJSON(src []byte) error
func (*NullableReadAuthorizationModelsResponse) Unset ¶
func (v *NullableReadAuthorizationModelsResponse) Unset()
type NullableReadChangesResponse ¶
type NullableReadChangesResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadChangesResponse ¶
func NewNullableReadChangesResponse(val *ReadChangesResponse) *NullableReadChangesResponse
func (NullableReadChangesResponse) Get ¶
func (v NullableReadChangesResponse) Get() *ReadChangesResponse
func (NullableReadChangesResponse) IsSet ¶
func (v NullableReadChangesResponse) IsSet() bool
func (NullableReadChangesResponse) MarshalJSON ¶
func (v NullableReadChangesResponse) MarshalJSON() ([]byte, error)
func (*NullableReadChangesResponse) Set ¶
func (v *NullableReadChangesResponse) Set(val *ReadChangesResponse)
func (*NullableReadChangesResponse) UnmarshalJSON ¶
func (v *NullableReadChangesResponse) UnmarshalJSON(src []byte) error
func (*NullableReadChangesResponse) Unset ¶
func (v *NullableReadChangesResponse) Unset()
type NullableReadRequest ¶
type NullableReadRequest struct {
// contains filtered or unexported fields
}
func NewNullableReadRequest ¶
func NewNullableReadRequest(val *ReadRequest) *NullableReadRequest
func (NullableReadRequest) Get ¶
func (v NullableReadRequest) Get() *ReadRequest
func (NullableReadRequest) IsSet ¶
func (v NullableReadRequest) IsSet() bool
func (NullableReadRequest) MarshalJSON ¶
func (v NullableReadRequest) MarshalJSON() ([]byte, error)
func (*NullableReadRequest) Set ¶
func (v *NullableReadRequest) Set(val *ReadRequest)
func (*NullableReadRequest) UnmarshalJSON ¶
func (v *NullableReadRequest) UnmarshalJSON(src []byte) error
func (*NullableReadRequest) Unset ¶
func (v *NullableReadRequest) Unset()
type NullableReadRequestTupleKey ¶ added in v0.3.0
type NullableReadRequestTupleKey struct {
// contains filtered or unexported fields
}
func NewNullableReadRequestTupleKey ¶ added in v0.3.0
func NewNullableReadRequestTupleKey(val *ReadRequestTupleKey) *NullableReadRequestTupleKey
func (NullableReadRequestTupleKey) Get ¶ added in v0.3.0
func (v NullableReadRequestTupleKey) Get() *ReadRequestTupleKey
func (NullableReadRequestTupleKey) IsSet ¶ added in v0.3.0
func (v NullableReadRequestTupleKey) IsSet() bool
func (NullableReadRequestTupleKey) MarshalJSON ¶ added in v0.3.0
func (v NullableReadRequestTupleKey) MarshalJSON() ([]byte, error)
func (*NullableReadRequestTupleKey) Set ¶ added in v0.3.0
func (v *NullableReadRequestTupleKey) Set(val *ReadRequestTupleKey)
func (*NullableReadRequestTupleKey) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableReadRequestTupleKey) UnmarshalJSON(src []byte) error
func (*NullableReadRequestTupleKey) Unset ¶ added in v0.3.0
func (v *NullableReadRequestTupleKey) Unset()
type NullableReadResponse ¶
type NullableReadResponse struct {
// contains filtered or unexported fields
}
func NewNullableReadResponse ¶
func NewNullableReadResponse(val *ReadResponse) *NullableReadResponse
func (NullableReadResponse) Get ¶
func (v NullableReadResponse) Get() *ReadResponse
func (NullableReadResponse) IsSet ¶
func (v NullableReadResponse) IsSet() bool
func (NullableReadResponse) MarshalJSON ¶
func (v NullableReadResponse) MarshalJSON() ([]byte, error)
func (*NullableReadResponse) Set ¶
func (v *NullableReadResponse) Set(val *ReadResponse)
func (*NullableReadResponse) UnmarshalJSON ¶
func (v *NullableReadResponse) UnmarshalJSON(src []byte) error
func (*NullableReadResponse) Unset ¶
func (v *NullableReadResponse) Unset()
type NullableRelationMetadata ¶ added in v0.1.0
type NullableRelationMetadata struct {
// contains filtered or unexported fields
}
func NewNullableRelationMetadata ¶ added in v0.1.0
func NewNullableRelationMetadata(val *RelationMetadata) *NullableRelationMetadata
func (NullableRelationMetadata) Get ¶ added in v0.1.0
func (v NullableRelationMetadata) Get() *RelationMetadata
func (NullableRelationMetadata) IsSet ¶ added in v0.1.0
func (v NullableRelationMetadata) IsSet() bool
func (NullableRelationMetadata) MarshalJSON ¶ added in v0.1.0
func (v NullableRelationMetadata) MarshalJSON() ([]byte, error)
func (*NullableRelationMetadata) Set ¶ added in v0.1.0
func (v *NullableRelationMetadata) Set(val *RelationMetadata)
func (*NullableRelationMetadata) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableRelationMetadata) UnmarshalJSON(src []byte) error
func (*NullableRelationMetadata) Unset ¶ added in v0.1.0
func (v *NullableRelationMetadata) Unset()
type NullableRelationReference ¶ added in v0.1.0
type NullableRelationReference struct {
// contains filtered or unexported fields
}
func NewNullableRelationReference ¶ added in v0.1.0
func NewNullableRelationReference(val *RelationReference) *NullableRelationReference
func (NullableRelationReference) Get ¶ added in v0.1.0
func (v NullableRelationReference) Get() *RelationReference
func (NullableRelationReference) IsSet ¶ added in v0.1.0
func (v NullableRelationReference) IsSet() bool
func (NullableRelationReference) MarshalJSON ¶ added in v0.1.0
func (v NullableRelationReference) MarshalJSON() ([]byte, error)
func (*NullableRelationReference) Set ¶ added in v0.1.0
func (v *NullableRelationReference) Set(val *RelationReference)
func (*NullableRelationReference) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableRelationReference) UnmarshalJSON(src []byte) error
func (*NullableRelationReference) Unset ¶ added in v0.1.0
func (v *NullableRelationReference) Unset()
type NullableRelationshipCondition ¶ added in v0.3.0
type NullableRelationshipCondition struct {
// contains filtered or unexported fields
}
func NewNullableRelationshipCondition ¶ added in v0.3.0
func NewNullableRelationshipCondition(val *RelationshipCondition) *NullableRelationshipCondition
func (NullableRelationshipCondition) Get ¶ added in v0.3.0
func (v NullableRelationshipCondition) Get() *RelationshipCondition
func (NullableRelationshipCondition) IsSet ¶ added in v0.3.0
func (v NullableRelationshipCondition) IsSet() bool
func (NullableRelationshipCondition) MarshalJSON ¶ added in v0.3.0
func (v NullableRelationshipCondition) MarshalJSON() ([]byte, error)
func (*NullableRelationshipCondition) Set ¶ added in v0.3.0
func (v *NullableRelationshipCondition) Set(val *RelationshipCondition)
func (*NullableRelationshipCondition) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableRelationshipCondition) UnmarshalJSON(src []byte) error
func (*NullableRelationshipCondition) Unset ¶ added in v0.3.0
func (v *NullableRelationshipCondition) Unset()
type NullableSourceInfo ¶ added in v0.3.6
type NullableSourceInfo struct {
// contains filtered or unexported fields
}
func NewNullableSourceInfo ¶ added in v0.3.6
func NewNullableSourceInfo(val *SourceInfo) *NullableSourceInfo
func (NullableSourceInfo) Get ¶ added in v0.3.6
func (v NullableSourceInfo) Get() *SourceInfo
func (NullableSourceInfo) IsSet ¶ added in v0.3.6
func (v NullableSourceInfo) IsSet() bool
func (NullableSourceInfo) MarshalJSON ¶ added in v0.3.6
func (v NullableSourceInfo) MarshalJSON() ([]byte, error)
func (*NullableSourceInfo) Set ¶ added in v0.3.6
func (v *NullableSourceInfo) Set(val *SourceInfo)
func (*NullableSourceInfo) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableSourceInfo) UnmarshalJSON(src []byte) error
func (*NullableSourceInfo) Unset ¶ added in v0.3.6
func (v *NullableSourceInfo) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableStore ¶
type NullableStore struct {
// contains filtered or unexported fields
}
func NewNullableStore ¶
func NewNullableStore(val *Store) *NullableStore
func (NullableStore) Get ¶
func (v NullableStore) Get() *Store
func (NullableStore) IsSet ¶
func (v NullableStore) IsSet() bool
func (NullableStore) MarshalJSON ¶
func (v NullableStore) MarshalJSON() ([]byte, error)
func (*NullableStore) Set ¶
func (v *NullableStore) Set(val *Store)
func (*NullableStore) UnmarshalJSON ¶
func (v *NullableStore) UnmarshalJSON(src []byte) error
func (*NullableStore) Unset ¶
func (v *NullableStore) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTuple ¶
type NullableTuple struct {
// contains filtered or unexported fields
}
func NewNullableTuple ¶
func NewNullableTuple(val *Tuple) *NullableTuple
func (NullableTuple) Get ¶
func (v NullableTuple) Get() *Tuple
func (NullableTuple) IsSet ¶
func (v NullableTuple) IsSet() bool
func (NullableTuple) MarshalJSON ¶
func (v NullableTuple) MarshalJSON() ([]byte, error)
func (*NullableTuple) Set ¶
func (v *NullableTuple) Set(val *Tuple)
func (*NullableTuple) UnmarshalJSON ¶
func (v *NullableTuple) UnmarshalJSON(src []byte) error
func (*NullableTuple) Unset ¶
func (v *NullableTuple) Unset()
type NullableTupleChange ¶
type NullableTupleChange struct {
// contains filtered or unexported fields
}
func NewNullableTupleChange ¶
func NewNullableTupleChange(val *TupleChange) *NullableTupleChange
func (NullableTupleChange) Get ¶
func (v NullableTupleChange) Get() *TupleChange
func (NullableTupleChange) IsSet ¶
func (v NullableTupleChange) IsSet() bool
func (NullableTupleChange) MarshalJSON ¶
func (v NullableTupleChange) MarshalJSON() ([]byte, error)
func (*NullableTupleChange) Set ¶
func (v *NullableTupleChange) Set(val *TupleChange)
func (*NullableTupleChange) UnmarshalJSON ¶
func (v *NullableTupleChange) UnmarshalJSON(src []byte) error
func (*NullableTupleChange) Unset ¶
func (v *NullableTupleChange) Unset()
type NullableTupleKey ¶
type NullableTupleKey struct {
// contains filtered or unexported fields
}
func NewNullableTupleKey ¶
func NewNullableTupleKey(val *TupleKey) *NullableTupleKey
func (NullableTupleKey) Get ¶
func (v NullableTupleKey) Get() *TupleKey
func (NullableTupleKey) IsSet ¶
func (v NullableTupleKey) IsSet() bool
func (NullableTupleKey) MarshalJSON ¶
func (v NullableTupleKey) MarshalJSON() ([]byte, error)
func (*NullableTupleKey) Set ¶
func (v *NullableTupleKey) Set(val *TupleKey)
func (*NullableTupleKey) UnmarshalJSON ¶
func (v *NullableTupleKey) UnmarshalJSON(src []byte) error
func (*NullableTupleKey) Unset ¶
func (v *NullableTupleKey) Unset()
type NullableTupleKeyWithoutCondition ¶ added in v0.3.0
type NullableTupleKeyWithoutCondition struct {
// contains filtered or unexported fields
}
func NewNullableTupleKeyWithoutCondition ¶ added in v0.3.0
func NewNullableTupleKeyWithoutCondition(val *TupleKeyWithoutCondition) *NullableTupleKeyWithoutCondition
func (NullableTupleKeyWithoutCondition) Get ¶ added in v0.3.0
func (v NullableTupleKeyWithoutCondition) Get() *TupleKeyWithoutCondition
func (NullableTupleKeyWithoutCondition) IsSet ¶ added in v0.3.0
func (v NullableTupleKeyWithoutCondition) IsSet() bool
func (NullableTupleKeyWithoutCondition) MarshalJSON ¶ added in v0.3.0
func (v NullableTupleKeyWithoutCondition) MarshalJSON() ([]byte, error)
func (*NullableTupleKeyWithoutCondition) Set ¶ added in v0.3.0
func (v *NullableTupleKeyWithoutCondition) Set(val *TupleKeyWithoutCondition)
func (*NullableTupleKeyWithoutCondition) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableTupleKeyWithoutCondition) UnmarshalJSON(src []byte) error
func (*NullableTupleKeyWithoutCondition) Unset ¶ added in v0.3.0
func (v *NullableTupleKeyWithoutCondition) Unset()
type NullableTupleOperation ¶
type NullableTupleOperation struct {
// contains filtered or unexported fields
}
func NewNullableTupleOperation ¶
func NewNullableTupleOperation(val *TupleOperation) *NullableTupleOperation
func (NullableTupleOperation) Get ¶
func (v NullableTupleOperation) Get() *TupleOperation
func (NullableTupleOperation) IsSet ¶
func (v NullableTupleOperation) IsSet() bool
func (NullableTupleOperation) MarshalJSON ¶
func (v NullableTupleOperation) MarshalJSON() ([]byte, error)
func (*NullableTupleOperation) Set ¶
func (v *NullableTupleOperation) Set(val *TupleOperation)
func (*NullableTupleOperation) UnmarshalJSON ¶
func (v *NullableTupleOperation) UnmarshalJSON(src []byte) error
func (*NullableTupleOperation) Unset ¶
func (v *NullableTupleOperation) Unset()
type NullableTupleToUserset ¶
type NullableTupleToUserset struct {
// contains filtered or unexported fields
}
func NewNullableTupleToUserset ¶
func NewNullableTupleToUserset(val *TupleToUserset) *NullableTupleToUserset
func (NullableTupleToUserset) Get ¶
func (v NullableTupleToUserset) Get() *TupleToUserset
func (NullableTupleToUserset) IsSet ¶
func (v NullableTupleToUserset) IsSet() bool
func (NullableTupleToUserset) MarshalJSON ¶
func (v NullableTupleToUserset) MarshalJSON() ([]byte, error)
func (*NullableTupleToUserset) Set ¶
func (v *NullableTupleToUserset) Set(val *TupleToUserset)
func (*NullableTupleToUserset) UnmarshalJSON ¶
func (v *NullableTupleToUserset) UnmarshalJSON(src []byte) error
func (*NullableTupleToUserset) Unset ¶
func (v *NullableTupleToUserset) Unset()
type NullableTypeDefinition ¶
type NullableTypeDefinition struct {
// contains filtered or unexported fields
}
func NewNullableTypeDefinition ¶
func NewNullableTypeDefinition(val *TypeDefinition) *NullableTypeDefinition
func (NullableTypeDefinition) Get ¶
func (v NullableTypeDefinition) Get() *TypeDefinition
func (NullableTypeDefinition) IsSet ¶
func (v NullableTypeDefinition) IsSet() bool
func (NullableTypeDefinition) MarshalJSON ¶
func (v NullableTypeDefinition) MarshalJSON() ([]byte, error)
func (*NullableTypeDefinition) Set ¶
func (v *NullableTypeDefinition) Set(val *TypeDefinition)
func (*NullableTypeDefinition) UnmarshalJSON ¶
func (v *NullableTypeDefinition) UnmarshalJSON(src []byte) error
func (*NullableTypeDefinition) Unset ¶
func (v *NullableTypeDefinition) Unset()
type NullableTypeName ¶ added in v0.3.0
type NullableTypeName struct {
// contains filtered or unexported fields
}
func NewNullableTypeName ¶ added in v0.3.0
func NewNullableTypeName(val *TypeName) *NullableTypeName
func (NullableTypeName) Get ¶ added in v0.3.0
func (v NullableTypeName) Get() *TypeName
func (NullableTypeName) IsSet ¶ added in v0.3.0
func (v NullableTypeName) IsSet() bool
func (NullableTypeName) MarshalJSON ¶ added in v0.3.0
func (v NullableTypeName) MarshalJSON() ([]byte, error)
func (*NullableTypeName) Set ¶ added in v0.3.0
func (v *NullableTypeName) Set(val *TypeName)
func (*NullableTypeName) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableTypeName) UnmarshalJSON(src []byte) error
func (*NullableTypeName) Unset ¶ added in v0.3.0
func (v *NullableTypeName) Unset()
type NullableTypedWildcard ¶ added in v0.3.6
type NullableTypedWildcard struct {
// contains filtered or unexported fields
}
func NewNullableTypedWildcard ¶ added in v0.3.6
func NewNullableTypedWildcard(val *TypedWildcard) *NullableTypedWildcard
func (NullableTypedWildcard) Get ¶ added in v0.3.6
func (v NullableTypedWildcard) Get() *TypedWildcard
func (NullableTypedWildcard) IsSet ¶ added in v0.3.6
func (v NullableTypedWildcard) IsSet() bool
func (NullableTypedWildcard) MarshalJSON ¶ added in v0.3.6
func (v NullableTypedWildcard) MarshalJSON() ([]byte, error)
func (*NullableTypedWildcard) Set ¶ added in v0.3.6
func (v *NullableTypedWildcard) Set(val *TypedWildcard)
func (*NullableTypedWildcard) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableTypedWildcard) UnmarshalJSON(src []byte) error
func (*NullableTypedWildcard) Unset ¶ added in v0.3.6
func (v *NullableTypedWildcard) Unset()
type NullableUnprocessableContentErrorCode ¶ added in v0.3.6
type NullableUnprocessableContentErrorCode struct {
// contains filtered or unexported fields
}
func NewNullableUnprocessableContentErrorCode ¶ added in v0.3.6
func NewNullableUnprocessableContentErrorCode(val *UnprocessableContentErrorCode) *NullableUnprocessableContentErrorCode
func (NullableUnprocessableContentErrorCode) Get ¶ added in v0.3.6
func (v NullableUnprocessableContentErrorCode) Get() *UnprocessableContentErrorCode
func (NullableUnprocessableContentErrorCode) IsSet ¶ added in v0.3.6
func (v NullableUnprocessableContentErrorCode) IsSet() bool
func (NullableUnprocessableContentErrorCode) MarshalJSON ¶ added in v0.3.6
func (v NullableUnprocessableContentErrorCode) MarshalJSON() ([]byte, error)
func (*NullableUnprocessableContentErrorCode) Set ¶ added in v0.3.6
func (v *NullableUnprocessableContentErrorCode) Set(val *UnprocessableContentErrorCode)
func (*NullableUnprocessableContentErrorCode) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableUnprocessableContentErrorCode) UnmarshalJSON(src []byte) error
func (*NullableUnprocessableContentErrorCode) Unset ¶ added in v0.3.6
func (v *NullableUnprocessableContentErrorCode) Unset()
type NullableUnprocessableContentMessageResponse ¶ added in v0.3.6
type NullableUnprocessableContentMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableUnprocessableContentMessageResponse ¶ added in v0.3.6
func NewNullableUnprocessableContentMessageResponse(val *UnprocessableContentMessageResponse) *NullableUnprocessableContentMessageResponse
func (NullableUnprocessableContentMessageResponse) IsSet ¶ added in v0.3.6
func (v NullableUnprocessableContentMessageResponse) IsSet() bool
func (NullableUnprocessableContentMessageResponse) MarshalJSON ¶ added in v0.3.6
func (v NullableUnprocessableContentMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableUnprocessableContentMessageResponse) Set ¶ added in v0.3.6
func (v *NullableUnprocessableContentMessageResponse) Set(val *UnprocessableContentMessageResponse)
func (*NullableUnprocessableContentMessageResponse) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableUnprocessableContentMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableUnprocessableContentMessageResponse) Unset ¶ added in v0.3.6
func (v *NullableUnprocessableContentMessageResponse) Unset()
type NullableUser ¶ added in v0.3.6
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶ added in v0.3.6
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶ added in v0.3.6
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶ added in v0.3.6
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶ added in v0.3.6
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶ added in v0.3.6
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶ added in v0.3.6
func (v *NullableUser) Unset()
type NullableUserTypeFilter ¶ added in v0.3.6
type NullableUserTypeFilter struct {
// contains filtered or unexported fields
}
func NewNullableUserTypeFilter ¶ added in v0.3.6
func NewNullableUserTypeFilter(val *UserTypeFilter) *NullableUserTypeFilter
func (NullableUserTypeFilter) Get ¶ added in v0.3.6
func (v NullableUserTypeFilter) Get() *UserTypeFilter
func (NullableUserTypeFilter) IsSet ¶ added in v0.3.6
func (v NullableUserTypeFilter) IsSet() bool
func (NullableUserTypeFilter) MarshalJSON ¶ added in v0.3.6
func (v NullableUserTypeFilter) MarshalJSON() ([]byte, error)
func (*NullableUserTypeFilter) Set ¶ added in v0.3.6
func (v *NullableUserTypeFilter) Set(val *UserTypeFilter)
func (*NullableUserTypeFilter) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableUserTypeFilter) UnmarshalJSON(src []byte) error
func (*NullableUserTypeFilter) Unset ¶ added in v0.3.6
func (v *NullableUserTypeFilter) Unset()
type NullableUsers ¶
type NullableUsers struct {
// contains filtered or unexported fields
}
func NewNullableUsers ¶
func NewNullableUsers(val *Users) *NullableUsers
func (NullableUsers) Get ¶
func (v NullableUsers) Get() *Users
func (NullableUsers) IsSet ¶
func (v NullableUsers) IsSet() bool
func (NullableUsers) MarshalJSON ¶
func (v NullableUsers) MarshalJSON() ([]byte, error)
func (*NullableUsers) Set ¶
func (v *NullableUsers) Set(val *Users)
func (*NullableUsers) UnmarshalJSON ¶
func (v *NullableUsers) UnmarshalJSON(src []byte) error
func (*NullableUsers) Unset ¶
func (v *NullableUsers) Unset()
type NullableUserset ¶
type NullableUserset struct {
// contains filtered or unexported fields
}
func NewNullableUserset ¶
func NewNullableUserset(val *Userset) *NullableUserset
func (NullableUserset) Get ¶
func (v NullableUserset) Get() *Userset
func (NullableUserset) IsSet ¶
func (v NullableUserset) IsSet() bool
func (NullableUserset) MarshalJSON ¶
func (v NullableUserset) MarshalJSON() ([]byte, error)
func (*NullableUserset) Set ¶
func (v *NullableUserset) Set(val *Userset)
func (*NullableUserset) UnmarshalJSON ¶
func (v *NullableUserset) UnmarshalJSON(src []byte) error
func (*NullableUserset) Unset ¶
func (v *NullableUserset) Unset()
type NullableUsersetTree ¶
type NullableUsersetTree struct {
// contains filtered or unexported fields
}
func NewNullableUsersetTree ¶
func NewNullableUsersetTree(val *UsersetTree) *NullableUsersetTree
func (NullableUsersetTree) Get ¶
func (v NullableUsersetTree) Get() *UsersetTree
func (NullableUsersetTree) IsSet ¶
func (v NullableUsersetTree) IsSet() bool
func (NullableUsersetTree) MarshalJSON ¶
func (v NullableUsersetTree) MarshalJSON() ([]byte, error)
func (*NullableUsersetTree) Set ¶
func (v *NullableUsersetTree) Set(val *UsersetTree)
func (*NullableUsersetTree) UnmarshalJSON ¶
func (v *NullableUsersetTree) UnmarshalJSON(src []byte) error
func (*NullableUsersetTree) Unset ¶
func (v *NullableUsersetTree) Unset()
type NullableUsersetTreeDifference ¶
type NullableUsersetTreeDifference struct {
// contains filtered or unexported fields
}
func NewNullableUsersetTreeDifference ¶
func NewNullableUsersetTreeDifference(val *UsersetTreeDifference) *NullableUsersetTreeDifference
func (NullableUsersetTreeDifference) Get ¶
func (v NullableUsersetTreeDifference) Get() *UsersetTreeDifference
func (NullableUsersetTreeDifference) IsSet ¶
func (v NullableUsersetTreeDifference) IsSet() bool
func (NullableUsersetTreeDifference) MarshalJSON ¶
func (v NullableUsersetTreeDifference) MarshalJSON() ([]byte, error)
func (*NullableUsersetTreeDifference) Set ¶
func (v *NullableUsersetTreeDifference) Set(val *UsersetTreeDifference)
func (*NullableUsersetTreeDifference) UnmarshalJSON ¶
func (v *NullableUsersetTreeDifference) UnmarshalJSON(src []byte) error
func (*NullableUsersetTreeDifference) Unset ¶
func (v *NullableUsersetTreeDifference) Unset()
type NullableUsersetTreeTupleToUserset ¶
type NullableUsersetTreeTupleToUserset struct {
// contains filtered or unexported fields
}
func NewNullableUsersetTreeTupleToUserset ¶
func NewNullableUsersetTreeTupleToUserset(val *UsersetTreeTupleToUserset) *NullableUsersetTreeTupleToUserset
func (NullableUsersetTreeTupleToUserset) Get ¶
func (v NullableUsersetTreeTupleToUserset) Get() *UsersetTreeTupleToUserset
func (NullableUsersetTreeTupleToUserset) IsSet ¶
func (v NullableUsersetTreeTupleToUserset) IsSet() bool
func (NullableUsersetTreeTupleToUserset) MarshalJSON ¶
func (v NullableUsersetTreeTupleToUserset) MarshalJSON() ([]byte, error)
func (*NullableUsersetTreeTupleToUserset) Set ¶
func (v *NullableUsersetTreeTupleToUserset) Set(val *UsersetTreeTupleToUserset)
func (*NullableUsersetTreeTupleToUserset) UnmarshalJSON ¶
func (v *NullableUsersetTreeTupleToUserset) UnmarshalJSON(src []byte) error
func (*NullableUsersetTreeTupleToUserset) Unset ¶
func (v *NullableUsersetTreeTupleToUserset) Unset()
type NullableUsersetUser ¶ added in v0.3.6
type NullableUsersetUser struct {
// contains filtered or unexported fields
}
func NewNullableUsersetUser ¶ added in v0.3.6
func NewNullableUsersetUser(val *UsersetUser) *NullableUsersetUser
func (NullableUsersetUser) Get ¶ added in v0.3.6
func (v NullableUsersetUser) Get() *UsersetUser
func (NullableUsersetUser) IsSet ¶ added in v0.3.6
func (v NullableUsersetUser) IsSet() bool
func (NullableUsersetUser) MarshalJSON ¶ added in v0.3.6
func (v NullableUsersetUser) MarshalJSON() ([]byte, error)
func (*NullableUsersetUser) Set ¶ added in v0.3.6
func (v *NullableUsersetUser) Set(val *UsersetUser)
func (*NullableUsersetUser) UnmarshalJSON ¶ added in v0.3.6
func (v *NullableUsersetUser) UnmarshalJSON(src []byte) error
func (*NullableUsersetUser) Unset ¶ added in v0.3.6
func (v *NullableUsersetUser) Unset()
type NullableUsersets ¶
type NullableUsersets struct {
// contains filtered or unexported fields
}
func NewNullableUsersets ¶
func NewNullableUsersets(val *Usersets) *NullableUsersets
func (NullableUsersets) Get ¶
func (v NullableUsersets) Get() *Usersets
func (NullableUsersets) IsSet ¶
func (v NullableUsersets) IsSet() bool
func (NullableUsersets) MarshalJSON ¶
func (v NullableUsersets) MarshalJSON() ([]byte, error)
func (*NullableUsersets) Set ¶
func (v *NullableUsersets) Set(val *Usersets)
func (*NullableUsersets) UnmarshalJSON ¶
func (v *NullableUsersets) UnmarshalJSON(src []byte) error
func (*NullableUsersets) Unset ¶
func (v *NullableUsersets) Unset()
type NullableValidationErrorMessageResponse ¶
type NullableValidationErrorMessageResponse struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorMessageResponse ¶
func NewNullableValidationErrorMessageResponse(val *ValidationErrorMessageResponse) *NullableValidationErrorMessageResponse
func (NullableValidationErrorMessageResponse) Get ¶
func (v NullableValidationErrorMessageResponse) Get() *ValidationErrorMessageResponse
func (NullableValidationErrorMessageResponse) IsSet ¶
func (v NullableValidationErrorMessageResponse) IsSet() bool
func (NullableValidationErrorMessageResponse) MarshalJSON ¶
func (v NullableValidationErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorMessageResponse) Set ¶
func (v *NullableValidationErrorMessageResponse) Set(val *ValidationErrorMessageResponse)
func (*NullableValidationErrorMessageResponse) UnmarshalJSON ¶
func (v *NullableValidationErrorMessageResponse) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorMessageResponse) Unset ¶
func (v *NullableValidationErrorMessageResponse) Unset()
type NullableWriteAssertionsRequest ¶
type NullableWriteAssertionsRequest struct {
// contains filtered or unexported fields
}
func NewNullableWriteAssertionsRequest ¶
func NewNullableWriteAssertionsRequest(val *WriteAssertionsRequest) *NullableWriteAssertionsRequest
func (NullableWriteAssertionsRequest) Get ¶
func (v NullableWriteAssertionsRequest) Get() *WriteAssertionsRequest
func (NullableWriteAssertionsRequest) IsSet ¶
func (v NullableWriteAssertionsRequest) IsSet() bool
func (NullableWriteAssertionsRequest) MarshalJSON ¶
func (v NullableWriteAssertionsRequest) MarshalJSON() ([]byte, error)
func (*NullableWriteAssertionsRequest) Set ¶
func (v *NullableWriteAssertionsRequest) Set(val *WriteAssertionsRequest)
func (*NullableWriteAssertionsRequest) UnmarshalJSON ¶
func (v *NullableWriteAssertionsRequest) UnmarshalJSON(src []byte) error
func (*NullableWriteAssertionsRequest) Unset ¶
func (v *NullableWriteAssertionsRequest) Unset()
type NullableWriteAuthorizationModelRequest ¶ added in v0.1.0
type NullableWriteAuthorizationModelRequest struct {
// contains filtered or unexported fields
}
func NewNullableWriteAuthorizationModelRequest ¶ added in v0.1.0
func NewNullableWriteAuthorizationModelRequest(val *WriteAuthorizationModelRequest) *NullableWriteAuthorizationModelRequest
func (NullableWriteAuthorizationModelRequest) Get ¶ added in v0.1.0
func (v NullableWriteAuthorizationModelRequest) Get() *WriteAuthorizationModelRequest
func (NullableWriteAuthorizationModelRequest) IsSet ¶ added in v0.1.0
func (v NullableWriteAuthorizationModelRequest) IsSet() bool
func (NullableWriteAuthorizationModelRequest) MarshalJSON ¶ added in v0.1.0
func (v NullableWriteAuthorizationModelRequest) MarshalJSON() ([]byte, error)
func (*NullableWriteAuthorizationModelRequest) Set ¶ added in v0.1.0
func (v *NullableWriteAuthorizationModelRequest) Set(val *WriteAuthorizationModelRequest)
func (*NullableWriteAuthorizationModelRequest) UnmarshalJSON ¶ added in v0.1.0
func (v *NullableWriteAuthorizationModelRequest) UnmarshalJSON(src []byte) error
func (*NullableWriteAuthorizationModelRequest) Unset ¶ added in v0.1.0
func (v *NullableWriteAuthorizationModelRequest) Unset()
type NullableWriteAuthorizationModelResponse ¶
type NullableWriteAuthorizationModelResponse struct {
// contains filtered or unexported fields
}
func NewNullableWriteAuthorizationModelResponse ¶
func NewNullableWriteAuthorizationModelResponse(val *WriteAuthorizationModelResponse) *NullableWriteAuthorizationModelResponse
func (NullableWriteAuthorizationModelResponse) IsSet ¶
func (v NullableWriteAuthorizationModelResponse) IsSet() bool
func (NullableWriteAuthorizationModelResponse) MarshalJSON ¶
func (v NullableWriteAuthorizationModelResponse) MarshalJSON() ([]byte, error)
func (*NullableWriteAuthorizationModelResponse) Set ¶
func (v *NullableWriteAuthorizationModelResponse) Set(val *WriteAuthorizationModelResponse)
func (*NullableWriteAuthorizationModelResponse) UnmarshalJSON ¶
func (v *NullableWriteAuthorizationModelResponse) UnmarshalJSON(src []byte) error
func (*NullableWriteAuthorizationModelResponse) Unset ¶
func (v *NullableWriteAuthorizationModelResponse) Unset()
type NullableWriteRequest ¶
type NullableWriteRequest struct {
// contains filtered or unexported fields
}
func NewNullableWriteRequest ¶
func NewNullableWriteRequest(val *WriteRequest) *NullableWriteRequest
func (NullableWriteRequest) Get ¶
func (v NullableWriteRequest) Get() *WriteRequest
func (NullableWriteRequest) IsSet ¶
func (v NullableWriteRequest) IsSet() bool
func (NullableWriteRequest) MarshalJSON ¶
func (v NullableWriteRequest) MarshalJSON() ([]byte, error)
func (*NullableWriteRequest) Set ¶
func (v *NullableWriteRequest) Set(val *WriteRequest)
func (*NullableWriteRequest) UnmarshalJSON ¶
func (v *NullableWriteRequest) UnmarshalJSON(src []byte) error
func (*NullableWriteRequest) Unset ¶
func (v *NullableWriteRequest) Unset()
type NullableWriteRequestDeletes ¶ added in v0.3.0
type NullableWriteRequestDeletes struct {
// contains filtered or unexported fields
}
func NewNullableWriteRequestDeletes ¶ added in v0.3.0
func NewNullableWriteRequestDeletes(val *WriteRequestDeletes) *NullableWriteRequestDeletes
func (NullableWriteRequestDeletes) Get ¶ added in v0.3.0
func (v NullableWriteRequestDeletes) Get() *WriteRequestDeletes
func (NullableWriteRequestDeletes) IsSet ¶ added in v0.3.0
func (v NullableWriteRequestDeletes) IsSet() bool
func (NullableWriteRequestDeletes) MarshalJSON ¶ added in v0.3.0
func (v NullableWriteRequestDeletes) MarshalJSON() ([]byte, error)
func (*NullableWriteRequestDeletes) Set ¶ added in v0.3.0
func (v *NullableWriteRequestDeletes) Set(val *WriteRequestDeletes)
func (*NullableWriteRequestDeletes) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableWriteRequestDeletes) UnmarshalJSON(src []byte) error
func (*NullableWriteRequestDeletes) Unset ¶ added in v0.3.0
func (v *NullableWriteRequestDeletes) Unset()
type NullableWriteRequestWrites ¶ added in v0.3.0
type NullableWriteRequestWrites struct {
// contains filtered or unexported fields
}
func NewNullableWriteRequestWrites ¶ added in v0.3.0
func NewNullableWriteRequestWrites(val *WriteRequestWrites) *NullableWriteRequestWrites
func (NullableWriteRequestWrites) Get ¶ added in v0.3.0
func (v NullableWriteRequestWrites) Get() *WriteRequestWrites
func (NullableWriteRequestWrites) IsSet ¶ added in v0.3.0
func (v NullableWriteRequestWrites) IsSet() bool
func (NullableWriteRequestWrites) MarshalJSON ¶ added in v0.3.0
func (v NullableWriteRequestWrites) MarshalJSON() ([]byte, error)
func (*NullableWriteRequestWrites) Set ¶ added in v0.3.0
func (v *NullableWriteRequestWrites) Set(val *WriteRequestWrites)
func (*NullableWriteRequestWrites) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableWriteRequestWrites) UnmarshalJSON(src []byte) error
func (*NullableWriteRequestWrites) Unset ¶ added in v0.3.0
func (v *NullableWriteRequestWrites) Unset()
type ObjectOrUserset ¶ added in v0.3.6
type ObjectOrUserset struct { Object *FgaObject `json:"object,omitempty"yaml:"object,omitempty"` Userset *UsersetUser `json:"userset,omitempty"yaml:"userset,omitempty"` }
ObjectOrUserset struct for ObjectOrUserset
func NewObjectOrUserset ¶ added in v0.3.6
func NewObjectOrUserset() *ObjectOrUserset
NewObjectOrUserset instantiates a new ObjectOrUserset 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 NewObjectOrUsersetWithDefaults ¶ added in v0.3.6
func NewObjectOrUsersetWithDefaults() *ObjectOrUserset
NewObjectOrUsersetWithDefaults instantiates a new ObjectOrUserset 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 (*ObjectOrUserset) GetObject ¶ added in v0.3.6
func (o *ObjectOrUserset) GetObject() FgaObject
GetObject returns the Object field value if set, zero value otherwise.
func (*ObjectOrUserset) GetObjectOk ¶ added in v0.3.6
func (o *ObjectOrUserset) GetObjectOk() (*FgaObject, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectOrUserset) GetUserset ¶ added in v0.3.6
func (o *ObjectOrUserset) GetUserset() UsersetUser
GetUserset returns the Userset field value if set, zero value otherwise.
func (*ObjectOrUserset) GetUsersetOk ¶ added in v0.3.6
func (o *ObjectOrUserset) GetUsersetOk() (*UsersetUser, bool)
GetUsersetOk returns a tuple with the Userset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectOrUserset) HasObject ¶ added in v0.3.6
func (o *ObjectOrUserset) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ObjectOrUserset) HasUserset ¶ added in v0.3.6
func (o *ObjectOrUserset) HasUserset() bool
HasUserset returns a boolean if a field has been set.
func (ObjectOrUserset) MarshalJSON ¶ added in v0.3.6
func (o ObjectOrUserset) MarshalJSON() ([]byte, error)
func (*ObjectOrUserset) SetObject ¶ added in v0.3.6
func (o *ObjectOrUserset) SetObject(v FgaObject)
SetObject gets a reference to the given FgaObject and assigns it to the Object field.
func (*ObjectOrUserset) SetUserset ¶ added in v0.3.6
func (o *ObjectOrUserset) SetUserset(v UsersetUser)
SetUserset gets a reference to the given UsersetUser and assigns it to the Userset field.
type ObjectRelation ¶
type ObjectRelation struct { Object *string `json:"object,omitempty"yaml:"object,omitempty"` Relation *string `json:"relation,omitempty"yaml:"relation,omitempty"` }
ObjectRelation struct for ObjectRelation
func NewObjectRelation ¶
func NewObjectRelation() *ObjectRelation
NewObjectRelation instantiates a new ObjectRelation 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 NewObjectRelationWithDefaults ¶
func NewObjectRelationWithDefaults() *ObjectRelation
NewObjectRelationWithDefaults instantiates a new ObjectRelation 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 (*ObjectRelation) GetObject ¶
func (o *ObjectRelation) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ObjectRelation) GetObjectOk ¶
func (o *ObjectRelation) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectRelation) GetRelation ¶
func (o *ObjectRelation) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*ObjectRelation) GetRelationOk ¶
func (o *ObjectRelation) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectRelation) HasObject ¶
func (o *ObjectRelation) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ObjectRelation) HasRelation ¶
func (o *ObjectRelation) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (ObjectRelation) MarshalJSON ¶
func (o ObjectRelation) MarshalJSON() ([]byte, error)
func (*ObjectRelation) SetObject ¶
func (o *ObjectRelation) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ObjectRelation) SetRelation ¶
func (o *ObjectRelation) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
type OpenFgaApi ¶
type OpenFgaApi interface { /* * Check Check whether a user is authorized to access an object * The Check API returns whether a given user has a relationship with a given object in a given store. The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`. Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple “`json { "user": "user:anne", "relation": "member", "object": "time_slot:office_hours" } “` the Check API can be used with the following request body: “`json { "tuple_key": { "user": "user:anne", "relation": "reader", "object": "document:2021-budget" }, "contextual_tuples": { "tuple_keys": [ { "user": "user:anne", "relation": "member", "object": "time_slot:office_hours" } ] }, "authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC" } “` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model “`python model schema 1.1 type user type document relations define reader: [user] “` the following query “`json { "tuple_key": { "user": "document:2021-budget#reader", "relation": "reader", "object": "document:2021-budget" } } “` will always return `{ "allowed": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with exclusion in the model A Check for a userset can yield results that must be treated carefully if the model involves exclusion. For example, for the following authorization model “`python model schema 1.1 type user type group relations define member: [user] type document relations define blocked: [user] define reader: [group#member] but not blocked “` the following query “`json { "tuple_key": { "user": "group:finance#member", "relation": "reader", "object": "document:2021-budget" }, "contextual_tuples": { "tuple_keys": [ { "user": "user:anne", "relation": "member", "object": "group:finance" }, { "user": "group:finance#member", "relation": "reader", "object": "document:2021-budget" }, { "user": "user:anne", "relation": "blocked", "object": "document:2021-budget" } ] }, } “` will return `{ "allowed": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCheckRequest */ Check(ctx _context.Context) ApiCheckRequest /* * CheckExecute executes the request * @return CheckResponse */ CheckExecute(r ApiCheckRequest) (CheckResponse, *_nethttp.Response, error) /* * CreateStore Create a store * Create a unique OpenFGA store which will be used to store authorization models and relationship tuples. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCreateStoreRequest */ CreateStore(ctx _context.Context) ApiCreateStoreRequest /* * CreateStoreExecute executes the request * @return CreateStoreResponse */ CreateStoreExecute(r ApiCreateStoreRequest) (CreateStoreResponse, *_nethttp.Response, error) /* * DeleteStore Delete a store * Delete an OpenFGA store. This does not delete the data associated with the store, like tuples or authorization models. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeleteStoreRequest */ DeleteStore(ctx _context.Context) ApiDeleteStoreRequest /* * DeleteStoreExecute executes the request */ DeleteStoreExecute(r ApiDeleteStoreRequest) (*_nethttp.Response, error) /* * Expand Expand all relationships in userset tree format, and following userset rewrite rules. Useful to reason about and debug a certain relationship * The Expand API will return all users and usersets that have certain relationship with an object in a certain store. This is different from the `/stores/{store_id}/read` API in that both users and computed usersets are returned. Body parameters `tuple_key.object` and `tuple_key.relation` are all required. The response will return a tree whose leaves are the specific users and usersets. Union, intersection and difference operator are located in the intermediate nodes. ## Example To expand all users that have the `reader` relationship with object `document:2021-budget`, use the Expand API with the following request body “`json { "tuple_key": { "object": "document:2021-budget", "relation": "reader" }, "authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC" } “` OpenFGA's response will be a userset tree of the users and usersets that have read access to the document. “`json { "tree":{ "root":{ "type":"document:2021-budget#reader", "union":{ "nodes":[ { "type":"document:2021-budget#reader", "leaf":{ "users":{ "users":[ "user:bob" ] } } }, { "type":"document:2021-budget#reader", "leaf":{ "computed":{ "userset":"document:2021-budget#writer" } } } ] } } } } “` The caller can then call expand API for the `writer` relationship for the `document:2021-budget`. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiExpandRequest */ Expand(ctx _context.Context) ApiExpandRequest /* * ExpandExecute executes the request * @return ExpandResponse */ ExpandExecute(r ApiExpandRequest) (ExpandResponse, *_nethttp.Response, error) /* * GetStore Get a store * Returns an OpenFGA store by its identifier * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetStoreRequest */ GetStore(ctx _context.Context) ApiGetStoreRequest /* * GetStoreExecute executes the request * @return GetStoreResponse */ GetStoreExecute(r ApiGetStoreRequest) (GetStoreResponse, *_nethttp.Response, error) /* * ListObjects List all objects of the given type that the user has a relation with * The ListObjects API returns a list of all the objects of the given type that the user has a relation with. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). An `authorization_model_id` may be specified in the body. If it is not specified, the latest authorization model ID will be used. It is strongly recommended to specify authorization model id for better performance. You may also specify `contextual_tuples` that will be treated as regular tuples. Each of these tuples may have an associated `condition`. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will contain the related objects in an array in the "objects" field of the response and they will be strings in the object format `<type>:<id>` (e.g. "document:roadmap"). The number of objects in the response array will be limited by the execution timeout specified in the flag OPENFGA_LIST_OBJECTS_DEADLINE and by the upper bound specified in the flag OPENFGA_LIST_OBJECTS_MAX_RESULTS, whichever is hit first. The objects given will not be sorted, and therefore two identical calls can give a given different set of objects. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListObjectsRequest */ ListObjects(ctx _context.Context) ApiListObjectsRequest /* * ListObjectsExecute executes the request * @return ListObjectsResponse */ ListObjectsExecute(r ApiListObjectsRequest) (ListObjectsResponse, *_nethttp.Response, error) /* * ListStores List all stores * Returns a paginated list of OpenFGA stores and a continuation token to get additional stores. The continuation token will be empty if there are no more stores. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListStoresRequest */ ListStores(ctx _context.Context) ApiListStoresRequest /* * ListStoresExecute executes the request * @return ListStoresResponse */ ListStoresExecute(r ApiListStoresRequest) (ListStoresResponse, *_nethttp.Response, error) /* * ListUsers List all users of the given type that the object has a relation with * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListUsersRequest */ ListUsers(ctx _context.Context) ApiListUsersRequest /* * ListUsersExecute executes the request * @return ListUsersResponse */ ListUsersExecute(r ApiListUsersRequest) (ListUsersResponse, *_nethttp.Response, error) /* * Read Get tuples from the store that matches a query, without following userset rewrite rules * The Read API will return the tuples for a certain store that match a query filter specified in the body of the request. The API doesn't guarantee order by any field. It is different from the `/stores/{store_id}/expand` API in that it only returns relationship tuples that are stored in the system and satisfy the query. In the body: 1. `tuple_key` is optional. If not specified, it will return all tuples in the store. 2. `tuple_key.object` is mandatory if `tuple_key` is specified. It can be a full object (e.g., `type:object_id`) or type only (e.g., `type:`). 3. `tuple_key.user` is mandatory if tuple_key is specified in the case the `tuple_key.object` is a type only. ## Examples ### Query for all objects in a type definition To query for all objects that `user:bob` has `reader` relationship in the `document` type definition, call read API with body of “`json { "tuple_key": { "user": "user:bob", "relation": "reader", "object": "document:" } } “` The API will return tuples and a continuation token, something like “`json { "tuples": [ { "key": { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" }, "timestamp": "2021-10-06T15:32:11.128Z" } ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" } “` This means that `user:bob` has a `reader` relationship with 1 document `document:2021-budget`. Note that this API, unlike the List Objects API, does not evaluate the tuples in the store. The continuation token will be empty if there are no more tuples to query. ### Query for all stored relationship tuples that have a particular relation and object To query for all users that have `reader` relationship with `document:2021-budget`, call read API with body of “`json { "tuple_key": { "object": "document:2021-budget", "relation": "reader" } } “` The API will return something like “`json { "tuples": [ { "key": { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" }, "timestamp": "2021-10-06T15:32:11.128Z" } ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" } “` This means that `document:2021-budget` has 1 `reader` (`user:bob`). Note that, even if the model said that all `writers` are also `readers`, the API will not return writers such as `user:anne` because it only returns tuples and does not evaluate them. ### Query for all users with all relationships for a particular document To query for all users that have any relationship with `document:2021-budget`, call read API with body of “`json { "tuple_key": { "object": "document:2021-budget" } } “` The API will return something like “`json { "tuples": [ { "key": { "user": "user:anne", "relation": "writer", "object": "document:2021-budget" }, "timestamp": "2021-10-05T13:42:12.356Z" }, { "key": { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" }, "timestamp": "2021-10-06T15:32:11.128Z" } ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" } “` This means that `document:2021-budget` has 1 `reader` (`user:bob`) and 1 `writer` (`user:anne`). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiReadRequest */ Read(ctx _context.Context) ApiReadRequest /* * ReadExecute executes the request * @return ReadResponse */ ReadExecute(r ApiReadRequest) (ReadResponse, *_nethttp.Response, error) /* * ReadAssertions Read assertions for an authorization model ID * The ReadAssertions API will return, for a given authorization model id, all the assertions stored for it. An assertion is an object that contains a tuple key, and the expectation of whether a call to the Check API of that tuple key will return true or false. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param authorizationModelId * @return ApiReadAssertionsRequest */ ReadAssertions(ctx _context.Context, authorizationModelId string) ApiReadAssertionsRequest /* * ReadAssertionsExecute executes the request * @return ReadAssertionsResponse */ ReadAssertionsExecute(r ApiReadAssertionsRequest) (ReadAssertionsResponse, *_nethttp.Response, error) /* * ReadAuthorizationModel Return a particular version of an authorization model * The ReadAuthorizationModel API returns an authorization model by its identifier. The response will return the authorization model for the particular version. ## Example To retrieve the authorization model with ID `01G5JAVJ41T49E9TT3SKVS7X1J` for the store, call the GET authorization-models by ID API with `01G5JAVJ41T49E9TT3SKVS7X1J` as the `id` path parameter. The API will return: “`json { "authorization_model":{ "id":"01G5JAVJ41T49E9TT3SKVS7X1J", "type_definitions":[ { "type":"user" }, { "type":"document", "relations":{ "reader":{ "union":{ "child":[ { "this":{} }, { "computedUserset":{ "object":"", "relation":"writer" } } ] } }, "writer":{ "this":{} } } } ] } } “` In the above example, there are 2 types (`user` and `document`). The `document` type has 2 relations (`writer` and `reader`). * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiReadAuthorizationModelRequest */ ReadAuthorizationModel(ctx _context.Context, id string) ApiReadAuthorizationModelRequest /* * ReadAuthorizationModelExecute executes the request * @return ReadAuthorizationModelResponse */ ReadAuthorizationModelExecute(r ApiReadAuthorizationModelRequest) (ReadAuthorizationModelResponse, *_nethttp.Response, error) /* * ReadAuthorizationModels Return all the authorization models for a particular store * The ReadAuthorizationModels API will return all the authorization models for a certain store. OpenFGA's response will contain an array of all authorization models, sorted in descending order of creation. ## Example Assume that a store's authorization model has been configured twice. To get all the authorization models that have been created in this store, call GET authorization-models. The API will return a response that looks like: “`json { "authorization_models": [ { "id": "01G50QVV17PECNVAHX1GG4Y5NC", "type_definitions": [...] }, { "id": "01G4ZW8F4A07AKQ8RHSVG9RW04", "type_definitions": [...] }, ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" } “` If there are no more authorization models available, the `continuation_token` field will be empty “`json { "authorization_models": [ { "id": "01G50QVV17PECNVAHX1GG4Y5NC", "type_definitions": [...] }, { "id": "01G4ZW8F4A07AKQ8RHSVG9RW04", "type_definitions": [...] }, ], "continuation_token": "" } “` * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiReadAuthorizationModelsRequest */ ReadAuthorizationModels(ctx _context.Context) ApiReadAuthorizationModelsRequest /* * ReadAuthorizationModelsExecute executes the request * @return ReadAuthorizationModelsResponse */ ReadAuthorizationModelsExecute(r ApiReadAuthorizationModelsRequest) (ReadAuthorizationModelsResponse, *_nethttp.Response, error) /* * ReadChanges Return a list of all the tuple changes * The ReadChanges API will return a paginated list of tuple changes (additions and deletions) that occurred in a given store, sorted by ascending time. The response will include a continuation token that is used to get the next set of changes. If there are no changes after the provided continuation token, the same token will be returned in order for it to be used when new changes are recorded. If the store never had any tuples added or removed, this token will be empty. You can use the `type` parameter to only get the list of tuple changes that affect objects of that type. When reading a write tuple change, if it was conditioned, the condition will be returned. When reading a delete tuple change, the condition will NOT be returned regardless of whether it was originally conditioned or not. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiReadChangesRequest */ ReadChanges(ctx _context.Context) ApiReadChangesRequest /* * ReadChangesExecute executes the request * @return ReadChangesResponse */ ReadChangesExecute(r ApiReadChangesRequest) (ReadChangesResponse, *_nethttp.Response, error) /* * Write Add or delete tuples from the store * The Write API will transactionally update the tuples for a certain store. Tuples and type definitions allow OpenFGA to determine whether a relationship exists between an object and an user. In the body, `writes` adds new tuples and `deletes` removes existing tuples. When deleting a tuple, any `condition` specified with it is ignored. The API is not idempotent: if, later on, you try to add the same tuple key (even if the `condition` is different), or if you try to delete a non-existing tuple, it will throw an error. The API will not allow you to write tuples such as `document:2021-budget#viewer@document:2021-budget#viewer`, because they are implicit. An `authorization_model_id` may be specified in the body. If it is, it will be used to assert that each written tuple (not deleted) is valid for the model specified. If it is not specified, the latest authorization model ID will be used. ## Example ### Adding relationships To add `user:anne` as a `writer` for `document:2021-budget`, call write API with the following “`json { "writes": { "tuple_keys": [ { "user": "user:anne", "relation": "writer", "object": "document:2021-budget" } ] }, "authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC" } “` ### Removing relationships To remove `user:bob` as a `reader` for `document:2021-budget`, call write API with the following “`json { "deletes": { "tuple_keys": [ { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" } ] } } “` * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiWriteRequest */ Write(ctx _context.Context) ApiWriteRequest /* * WriteExecute executes the request * @return map[string]interface{} */ WriteExecute(r ApiWriteRequest) (map[string]interface{}, *_nethttp.Response, error) /* * WriteAssertions Upsert assertions for an authorization model ID * The WriteAssertions API will upsert new assertions for an authorization model id, or overwrite the existing ones. An assertion is an object that contains a tuple key, and the expectation of whether a call to the Check API of that tuple key will return true or false. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param authorizationModelId * @return ApiWriteAssertionsRequest */ WriteAssertions(ctx _context.Context, authorizationModelId string) ApiWriteAssertionsRequest /* * WriteAssertionsExecute executes the request */ WriteAssertionsExecute(r ApiWriteAssertionsRequest) (*_nethttp.Response, error) /* * WriteAuthorizationModel Create a new authorization model * The WriteAuthorizationModel API will add a new authorization model to a store. Each item in the `type_definitions` array is a type definition as specified in the field `type_definition`. The response will return the authorization model's ID in the `id` field. ## Example To add an authorization model with `user` and `document` type definitions, call POST authorization-models API with the body: “`json { "type_definitions":[ { "type":"user" }, { "type":"document", "relations":{ "reader":{ "union":{ "child":[ { "this":{} }, { "computedUserset":{ "object":"", "relation":"writer" } } ] } }, "writer":{ "this":{} } } } ] } “` OpenFGA's response will include the version id for this authorization model, which will look like “` {"authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC"} “` * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiWriteAuthorizationModelRequest */ WriteAuthorizationModel(ctx _context.Context) ApiWriteAuthorizationModelRequest /* * WriteAuthorizationModelExecute executes the request * @return WriteAuthorizationModelResponse */ WriteAuthorizationModelExecute(r ApiWriteAuthorizationModelRequest) (WriteAuthorizationModelResponse, *_nethttp.Response, error) }
type OpenFgaApiService ¶
type OpenFgaApiService service
OpenFgaApiService OpenFgaApi service
func (*OpenFgaApiService) Check ¶
func (a *OpenFgaApiService) Check(ctx _context.Context) ApiCheckRequest
- Check Check whether a user is authorized to access an object
- The Check API returns whether a given user has a relationship with a given object in a given store.
The `user` field of the request can be a specific target, such as `user:anne`, or a userset (set of users) such as `group:marketing#member` or a type-bound public access `user:*`. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`). A `contextual_tuples` object may also be included in the body of the request. This object contains one field `tuple_keys`, which is an array of tuple keys. Each of these tuples may have an associated `condition`. You may also provide an `authorization_model_id` in the body. This will be used to assert that the input `tuple_key` is valid for the model specified. If not specified, the assertion will be made against the latest authorization model ID. It is strongly recommended to specify authorization model id for better performance. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will return whether the relationship exists in the field `allowed`.
Some exceptions apply, but in general, if a Check API responds with `{allowed: true}`, then you can expect the equivalent ListObjects query to return the object, and viceversa. For example, if `Check(user:anne, reader, document:2021-budget)` responds with `{allowed: true}`, then `ListObjects(user:anne, reader, document)` may include `document:2021-budget` in the response. ## Examples ### Querying with contextual tuples In order to check if user `user:anne` of type `user` has a `reader` relationship with object `document:2021-budget` given the following contextual tuple ```json
{ "user": "user:anne", "relation": "member", "object": "time_slot:office_hours" }
``` the Check API can be used with the following request body: ```json
{ "tuple_key": { "user": "user:anne", "relation": "reader", "object": "document:2021-budget" }, "contextual_tuples": { "tuple_keys": [ { "user": "user:anne", "relation": "member", "object": "time_slot:office_hours" } ] }, "authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC" }
``` ### Querying usersets Some Checks will always return `true`, even without any tuples. For example, for the following authorization model ```python model
schema 1.1
type user type document
relations define reader: [user]
``` the following query ```json
{ "tuple_key": { "user": "document:2021-budget#reader", "relation": "reader", "object": "document:2021-budget" } }
``` will always return `{ "allowed": true }`. This is because usersets are self-defining: the userset `document:2021-budget#reader` will always have the `reader` relation with `document:2021-budget`. ### Querying usersets with exclusion in the model A Check for a userset can yield results that must be treated carefully if the model involves exclusion. For example, for the following authorization model ```python model
schema 1.1
type user type group
relations define member: [user]
type document
relations define blocked: [user] define reader: [group#member] but not blocked
``` the following query ```json
{ "tuple_key": { "user": "group:finance#member", "relation": "reader", "object": "document:2021-budget" }, "contextual_tuples": { "tuple_keys": [ { "user": "user:anne", "relation": "member", "object": "group:finance" }, { "user": "group:finance#member", "relation": "reader", "object": "document:2021-budget" }, { "user": "user:anne", "relation": "blocked", "object": "document:2021-budget" } ] }, }
``` will return `{ "allowed": true }`, even though a specific user of the userset `group:finance#member` does not have the `reader` relationship with the given object.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCheckRequest
func (*OpenFgaApiService) CheckExecute ¶
func (a *OpenFgaApiService) CheckExecute(r ApiCheckRequest) (CheckResponse, *_nethttp.Response, error)
* Execute executes the request * @return CheckResponse
func (*OpenFgaApiService) CreateStore ¶
func (a *OpenFgaApiService) CreateStore(ctx _context.Context) ApiCreateStoreRequest
* CreateStore Create a store * Create a unique OpenFGA store which will be used to store authorization models and relationship tuples. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCreateStoreRequest
func (*OpenFgaApiService) CreateStoreExecute ¶
func (a *OpenFgaApiService) CreateStoreExecute(r ApiCreateStoreRequest) (CreateStoreResponse, *_nethttp.Response, error)
* Execute executes the request * @return CreateStoreResponse
func (*OpenFgaApiService) DeleteStore ¶
func (a *OpenFgaApiService) DeleteStore(ctx _context.Context) ApiDeleteStoreRequest
* DeleteStore Delete a store * Delete an OpenFGA store. This does not delete the data associated with the store, like tuples or authorization models. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeleteStoreRequest
func (*OpenFgaApiService) DeleteStoreExecute ¶
func (a *OpenFgaApiService) DeleteStoreExecute(r ApiDeleteStoreRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*OpenFgaApiService) Expand ¶
func (a *OpenFgaApiService) Expand(ctx _context.Context) ApiExpandRequest
- Expand Expand all relationships in userset tree format, and following userset rewrite rules. Useful to reason about and debug a certain relationship
- The Expand API will return all users and usersets that have certain relationship with an object in a certain store.
This is different from the `/stores/{store_id}/read` API in that both users and computed usersets are returned. Body parameters `tuple_key.object` and `tuple_key.relation` are all required. The response will return a tree whose leaves are the specific users and usersets. Union, intersection and difference operator are located in the intermediate nodes.
## Example To expand all users that have the `reader` relationship with object `document:2021-budget`, use the Expand API with the following request body ```json
{ "tuple_key": { "object": "document:2021-budget", "relation": "reader" }, "authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC" }
``` OpenFGA's response will be a userset tree of the users and usersets that have read access to the document. ```json
{ "tree":{ "root":{ "type":"document:2021-budget#reader", "union":{ "nodes":[ { "type":"document:2021-budget#reader", "leaf":{ "users":{ "users":[ "user:bob" ] } } }, { "type":"document:2021-budget#reader", "leaf":{ "computed":{ "userset":"document:2021-budget#writer" } } } ] } } } }
``` The caller can then call expand API for the `writer` relationship for the `document:2021-budget`.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiExpandRequest
func (*OpenFgaApiService) ExpandExecute ¶
func (a *OpenFgaApiService) ExpandExecute(r ApiExpandRequest) (ExpandResponse, *_nethttp.Response, error)
* Execute executes the request * @return ExpandResponse
func (*OpenFgaApiService) GetStore ¶
func (a *OpenFgaApiService) GetStore(ctx _context.Context) ApiGetStoreRequest
* GetStore Get a store * Returns an OpenFGA store by its identifier * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetStoreRequest
func (*OpenFgaApiService) GetStoreExecute ¶
func (a *OpenFgaApiService) GetStoreExecute(r ApiGetStoreRequest) (GetStoreResponse, *_nethttp.Response, error)
* Execute executes the request * @return GetStoreResponse
func (*OpenFgaApiService) ListObjects ¶ added in v0.0.2
func (a *OpenFgaApiService) ListObjects(ctx _context.Context) ApiListObjectsRequest
- ListObjects List all objects of the given type that the user has a relation with
- The ListObjects API returns a list of all the objects of the given type that the user has a relation with. To arrive at a result, the API uses: an authorization model, explicit tuples written through the Write API, contextual tuples present in the request, and implicit tuples that exist by virtue of applying set theory (such as `document:2021-budget#viewer@document:2021-budget#viewer`; the set of users who are viewers of `document:2021-budget` are the set of users who are the viewers of `document:2021-budget`).
An `authorization_model_id` may be specified in the body. If it is not specified, the latest authorization model ID will be used. It is strongly recommended to specify authorization model id for better performance. You may also specify `contextual_tuples` that will be treated as regular tuples. Each of these tuples may have an associated `condition`. You may also provide a `context` object that will be used to evaluate the conditioned tuples in the system. It is strongly recommended to provide a value for all the input parameters of all the conditions, to ensure that all tuples be evaluated correctly. The response will contain the related objects in an array in the "objects" field of the response and they will be strings in the object format `<type>:<id>` (e.g. "document:roadmap"). The number of objects in the response array will be limited by the execution timeout specified in the flag OPENFGA_LIST_OBJECTS_DEADLINE and by the upper bound specified in the flag OPENFGA_LIST_OBJECTS_MAX_RESULTS, whichever is hit first. The objects given will not be sorted, and therefore two identical calls can give a given different set of objects.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListObjectsRequest
func (*OpenFgaApiService) ListObjectsExecute ¶ added in v0.0.2
func (a *OpenFgaApiService) ListObjectsExecute(r ApiListObjectsRequest) (ListObjectsResponse, *_nethttp.Response, error)
* Execute executes the request * @return ListObjectsResponse
func (*OpenFgaApiService) ListStores ¶
func (a *OpenFgaApiService) ListStores(ctx _context.Context) ApiListStoresRequest
- ListStores List all stores
- Returns a paginated list of OpenFGA stores and a continuation token to get additional stores.
The continuation token will be empty if there are no more stores.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListStoresRequest
func (*OpenFgaApiService) ListStoresExecute ¶
func (a *OpenFgaApiService) ListStoresExecute(r ApiListStoresRequest) (ListStoresResponse, *_nethttp.Response, error)
* Execute executes the request * @return ListStoresResponse
func (*OpenFgaApiService) ListUsers ¶ added in v0.3.6
func (a *OpenFgaApiService) ListUsers(ctx _context.Context) ApiListUsersRequest
* ListUsers List all users of the given type that the object has a relation with * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListUsersRequest
func (*OpenFgaApiService) ListUsersExecute ¶ added in v0.3.6
func (a *OpenFgaApiService) ListUsersExecute(r ApiListUsersRequest) (ListUsersResponse, *_nethttp.Response, error)
* Execute executes the request * @return ListUsersResponse
func (*OpenFgaApiService) Read ¶
func (a *OpenFgaApiService) Read(ctx _context.Context) ApiReadRequest
- Read Get tuples from the store that matches a query, without following userset rewrite rules
- The Read API will return the tuples for a certain store that match a query filter specified in the body of the request.
The API doesn't guarantee order by any field. It is different from the `/stores/{store_id}/expand` API in that it only returns relationship tuples that are stored in the system and satisfy the query. In the body: 1. `tuple_key` is optional. If not specified, it will return all tuples in the store. 2. `tuple_key.object` is mandatory if `tuple_key` is specified. It can be a full object (e.g., `type:object_id`) or type only (e.g., `type:`). 3. `tuple_key.user` is mandatory if tuple_key is specified in the case the `tuple_key.object` is a type only. ## Examples ### Query for all objects in a type definition To query for all objects that `user:bob` has `reader` relationship in the `document` type definition, call read API with body of ```json
{ "tuple_key": { "user": "user:bob", "relation": "reader", "object": "document:" } }
``` The API will return tuples and a continuation token, something like ```json
{ "tuples": [ { "key": { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" }, "timestamp": "2021-10-06T15:32:11.128Z" } ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" }
``` This means that `user:bob` has a `reader` relationship with 1 document `document:2021-budget`. Note that this API, unlike the List Objects API, does not evaluate the tuples in the store. The continuation token will be empty if there are no more tuples to query. ### Query for all stored relationship tuples that have a particular relation and object To query for all users that have `reader` relationship with `document:2021-budget`, call read API with body of ```json
{ "tuple_key": { "object": "document:2021-budget", "relation": "reader" } }
``` The API will return something like ```json
{ "tuples": [ { "key": { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" }, "timestamp": "2021-10-06T15:32:11.128Z" } ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" }
``` This means that `document:2021-budget` has 1 `reader` (`user:bob`). Note that, even if the model said that all `writers` are also `readers`, the API will not return writers such as `user:anne` because it only returns tuples and does not evaluate them. ### Query for all users with all relationships for a particular document To query for all users that have any relationship with `document:2021-budget`, call read API with body of ```json
{ "tuple_key": { "object": "document:2021-budget" } }
``` The API will return something like ```json
{ "tuples": [ { "key": { "user": "user:anne", "relation": "writer", "object": "document:2021-budget" }, "timestamp": "2021-10-05T13:42:12.356Z" }, { "key": { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" }, "timestamp": "2021-10-06T15:32:11.128Z" } ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" }
``` This means that `document:2021-budget` has 1 `reader` (`user:bob`) and 1 `writer` (`user:anne`).
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiReadRequest
func (*OpenFgaApiService) ReadAssertions ¶
func (a *OpenFgaApiService) ReadAssertions(ctx _context.Context, authorizationModelId string) ApiReadAssertionsRequest
* ReadAssertions Read assertions for an authorization model ID * The ReadAssertions API will return, for a given authorization model id, all the assertions stored for it. An assertion is an object that contains a tuple key, and the expectation of whether a call to the Check API of that tuple key will return true or false. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param authorizationModelId * @return ApiReadAssertionsRequest
func (*OpenFgaApiService) ReadAssertionsExecute ¶
func (a *OpenFgaApiService) ReadAssertionsExecute(r ApiReadAssertionsRequest) (ReadAssertionsResponse, *_nethttp.Response, error)
* Execute executes the request * @return ReadAssertionsResponse
func (*OpenFgaApiService) ReadAuthorizationModel ¶
func (a *OpenFgaApiService) ReadAuthorizationModel(ctx _context.Context, id string) ApiReadAuthorizationModelRequest
- ReadAuthorizationModel Return a particular version of an authorization model
- The ReadAuthorizationModel API returns an authorization model by its identifier.
The response will return the authorization model for the particular version.
## Example To retrieve the authorization model with ID `01G5JAVJ41T49E9TT3SKVS7X1J` for the store, call the GET authorization-models by ID API with `01G5JAVJ41T49E9TT3SKVS7X1J` as the `id` path parameter. The API will return: ```json
{ "authorization_model":{ "id":"01G5JAVJ41T49E9TT3SKVS7X1J", "type_definitions":[ { "type":"user" }, { "type":"document", "relations":{ "reader":{ "union":{ "child":[ { "this":{} }, { "computedUserset":{ "object":"", "relation":"writer" } } ] } }, "writer":{ "this":{} } } } ] } }
``` In the above example, there are 2 types (`user` and `document`). The `document` type has 2 relations (`writer` and `reader`).
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
- @return ApiReadAuthorizationModelRequest
func (*OpenFgaApiService) ReadAuthorizationModelExecute ¶
func (a *OpenFgaApiService) ReadAuthorizationModelExecute(r ApiReadAuthorizationModelRequest) (ReadAuthorizationModelResponse, *_nethttp.Response, error)
* Execute executes the request * @return ReadAuthorizationModelResponse
func (*OpenFgaApiService) ReadAuthorizationModels ¶
func (a *OpenFgaApiService) ReadAuthorizationModels(ctx _context.Context) ApiReadAuthorizationModelsRequest
- ReadAuthorizationModels Return all the authorization models for a particular store
- The ReadAuthorizationModels API will return all the authorization models for a certain store.
OpenFGA's response will contain an array of all authorization models, sorted in descending order of creation.
## Example Assume that a store's authorization model has been configured twice. To get all the authorization models that have been created in this store, call GET authorization-models. The API will return a response that looks like: ```json
{ "authorization_models": [ { "id": "01G50QVV17PECNVAHX1GG4Y5NC", "type_definitions": [...] }, { "id": "01G4ZW8F4A07AKQ8RHSVG9RW04", "type_definitions": [...] }, ], "continuation_token": "eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==" }
``` If there are no more authorization models available, the `continuation_token` field will be empty ```json
{ "authorization_models": [ { "id": "01G50QVV17PECNVAHX1GG4Y5NC", "type_definitions": [...] }, { "id": "01G4ZW8F4A07AKQ8RHSVG9RW04", "type_definitions": [...] }, ], "continuation_token": "" }
```
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiReadAuthorizationModelsRequest
func (*OpenFgaApiService) ReadAuthorizationModelsExecute ¶
func (a *OpenFgaApiService) ReadAuthorizationModelsExecute(r ApiReadAuthorizationModelsRequest) (ReadAuthorizationModelsResponse, *_nethttp.Response, error)
* Execute executes the request * @return ReadAuthorizationModelsResponse
func (*OpenFgaApiService) ReadChanges ¶
func (a *OpenFgaApiService) ReadChanges(ctx _context.Context) ApiReadChangesRequest
- ReadChanges Return a list of all the tuple changes
- The ReadChanges API will return a paginated list of tuple changes (additions and deletions) that occurred in a given store, sorted by ascending time. The response will include a continuation token that is used to get the next set of changes. If there are no changes after the provided continuation token, the same token will be returned in order for it to be used when new changes are recorded. If the store never had any tuples added or removed, this token will be empty.
You can use the `type` parameter to only get the list of tuple changes that affect objects of that type. When reading a write tuple change, if it was conditioned, the condition will be returned. When reading a delete tuple change, the condition will NOT be returned regardless of whether it was originally conditioned or not.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiReadChangesRequest
func (*OpenFgaApiService) ReadChangesExecute ¶
func (a *OpenFgaApiService) ReadChangesExecute(r ApiReadChangesRequest) (ReadChangesResponse, *_nethttp.Response, error)
* Execute executes the request * @return ReadChangesResponse
func (*OpenFgaApiService) ReadExecute ¶
func (a *OpenFgaApiService) ReadExecute(r ApiReadRequest) (ReadResponse, *_nethttp.Response, error)
* Execute executes the request * @return ReadResponse
func (*OpenFgaApiService) Write ¶
func (a *OpenFgaApiService) Write(ctx _context.Context) ApiWriteRequest
- Write Add or delete tuples from the store
- The Write API will transactionally update the tuples for a certain store. Tuples and type definitions allow OpenFGA to determine whether a relationship exists between an object and an user.
In the body, `writes` adds new tuples and `deletes` removes existing tuples. When deleting a tuple, any `condition` specified with it is ignored. The API is not idempotent: if, later on, you try to add the same tuple key (even if the `condition` is different), or if you try to delete a non-existing tuple, it will throw an error. The API will not allow you to write tuples such as `document:2021-budget#viewer@document:2021-budget#viewer`, because they are implicit. An `authorization_model_id` may be specified in the body. If it is, it will be used to assert that each written tuple (not deleted) is valid for the model specified. If it is not specified, the latest authorization model ID will be used. ## Example ### Adding relationships To add `user:anne` as a `writer` for `document:2021-budget`, call write API with the following ```json
{ "writes": { "tuple_keys": [ { "user": "user:anne", "relation": "writer", "object": "document:2021-budget" } ] }, "authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC" }
``` ### Removing relationships To remove `user:bob` as a `reader` for `document:2021-budget`, call write API with the following ```json
{ "deletes": { "tuple_keys": [ { "user": "user:bob", "relation": "reader", "object": "document:2021-budget" } ] } }
```
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiWriteRequest
func (*OpenFgaApiService) WriteAssertions ¶
func (a *OpenFgaApiService) WriteAssertions(ctx _context.Context, authorizationModelId string) ApiWriteAssertionsRequest
* WriteAssertions Upsert assertions for an authorization model ID * The WriteAssertions API will upsert new assertions for an authorization model id, or overwrite the existing ones. An assertion is an object that contains a tuple key, and the expectation of whether a call to the Check API of that tuple key will return true or false. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param authorizationModelId * @return ApiWriteAssertionsRequest
func (*OpenFgaApiService) WriteAssertionsExecute ¶
func (a *OpenFgaApiService) WriteAssertionsExecute(r ApiWriteAssertionsRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*OpenFgaApiService) WriteAuthorizationModel ¶
func (a *OpenFgaApiService) WriteAuthorizationModel(ctx _context.Context) ApiWriteAuthorizationModelRequest
- WriteAuthorizationModel Create a new authorization model
- The WriteAuthorizationModel API will add a new authorization model to a store.
Each item in the `type_definitions` array is a type definition as specified in the field `type_definition`. The response will return the authorization model's ID in the `id` field.
## Example To add an authorization model with `user` and `document` type definitions, call POST authorization-models API with the body: ```json
{ "type_definitions":[ { "type":"user" }, { "type":"document", "relations":{ "reader":{ "union":{ "child":[ { "this":{} }, { "computedUserset":{ "object":"", "relation":"writer" } } ] } }, "writer":{ "this":{} } } } ] }
``` OpenFGA's response will include the version id for this authorization model, which will look like ``` {"authorization_model_id": "01G50QVV17PECNVAHX1GG4Y5NC"} ```
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiWriteAuthorizationModelRequest
func (*OpenFgaApiService) WriteAuthorizationModelExecute ¶
func (a *OpenFgaApiService) WriteAuthorizationModelExecute(r ApiWriteAuthorizationModelRequest) (WriteAuthorizationModelResponse, *_nethttp.Response, error)
* Execute executes the request * @return WriteAuthorizationModelResponse
func (*OpenFgaApiService) WriteExecute ¶
func (a *OpenFgaApiService) WriteExecute(r ApiWriteRequest) (map[string]interface{}, *_nethttp.Response, error)
* Execute executes the request * @return map[string]interface{}
type PathUnknownErrorMessageResponse ¶
type PathUnknownErrorMessageResponse struct { Code *NotFoundErrorCode `json:"code,omitempty"yaml:"code,omitempty"` Message *string `json:"message,omitempty"yaml:"message,omitempty"` }
PathUnknownErrorMessageResponse struct for PathUnknownErrorMessageResponse
func NewPathUnknownErrorMessageResponse ¶
func NewPathUnknownErrorMessageResponse() *PathUnknownErrorMessageResponse
NewPathUnknownErrorMessageResponse instantiates a new PathUnknownErrorMessageResponse 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 NewPathUnknownErrorMessageResponseWithDefaults ¶
func NewPathUnknownErrorMessageResponseWithDefaults() *PathUnknownErrorMessageResponse
NewPathUnknownErrorMessageResponseWithDefaults instantiates a new PathUnknownErrorMessageResponse 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 (*PathUnknownErrorMessageResponse) GetCode ¶
func (o *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
GetCode returns the Code field value if set, zero value otherwise.
func (*PathUnknownErrorMessageResponse) GetCodeOk ¶
func (o *PathUnknownErrorMessageResponse) GetCodeOk() (*NotFoundErrorCode, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PathUnknownErrorMessageResponse) GetMessage ¶
func (o *PathUnknownErrorMessageResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*PathUnknownErrorMessageResponse) GetMessageOk ¶
func (o *PathUnknownErrorMessageResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PathUnknownErrorMessageResponse) HasCode ¶
func (o *PathUnknownErrorMessageResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*PathUnknownErrorMessageResponse) HasMessage ¶
func (o *PathUnknownErrorMessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (PathUnknownErrorMessageResponse) MarshalJSON ¶
func (o PathUnknownErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*PathUnknownErrorMessageResponse) SetCode ¶
func (o *PathUnknownErrorMessageResponse) SetCode(v NotFoundErrorCode)
SetCode gets a reference to the given NotFoundErrorCode and assigns it to the Code field.
func (*PathUnknownErrorMessageResponse) SetMessage ¶
func (o *PathUnknownErrorMessageResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type ReadAssertionsResponse ¶
type ReadAssertionsResponse struct { AuthorizationModelId string `json:"authorization_model_id"yaml:"authorization_model_id"` Assertions *[]Assertion `json:"assertions,omitempty"yaml:"assertions,omitempty"` }
ReadAssertionsResponse struct for ReadAssertionsResponse
func NewReadAssertionsResponse ¶
func NewReadAssertionsResponse(authorizationModelId string) *ReadAssertionsResponse
NewReadAssertionsResponse instantiates a new ReadAssertionsResponse 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 NewReadAssertionsResponseWithDefaults ¶
func NewReadAssertionsResponseWithDefaults() *ReadAssertionsResponse
NewReadAssertionsResponseWithDefaults instantiates a new ReadAssertionsResponse 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 (*ReadAssertionsResponse) GetAssertions ¶
func (o *ReadAssertionsResponse) GetAssertions() []Assertion
GetAssertions returns the Assertions field value if set, zero value otherwise.
func (*ReadAssertionsResponse) GetAssertionsOk ¶
func (o *ReadAssertionsResponse) GetAssertionsOk() (*[]Assertion, bool)
GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadAssertionsResponse) GetAuthorizationModelId ¶
func (o *ReadAssertionsResponse) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value
func (*ReadAssertionsResponse) GetAuthorizationModelIdOk ¶
func (o *ReadAssertionsResponse) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value and a boolean to check if the value has been set.
func (*ReadAssertionsResponse) HasAssertions ¶
func (o *ReadAssertionsResponse) HasAssertions() bool
HasAssertions returns a boolean if a field has been set.
func (ReadAssertionsResponse) MarshalJSON ¶
func (o ReadAssertionsResponse) MarshalJSON() ([]byte, error)
func (*ReadAssertionsResponse) SetAssertions ¶
func (o *ReadAssertionsResponse) SetAssertions(v []Assertion)
SetAssertions gets a reference to the given []Assertion and assigns it to the Assertions field.
func (*ReadAssertionsResponse) SetAuthorizationModelId ¶
func (o *ReadAssertionsResponse) SetAuthorizationModelId(v string)
SetAuthorizationModelId sets field value
type ReadAuthorizationModelResponse ¶
type ReadAuthorizationModelResponse struct {
AuthorizationModel *AuthorizationModel `json:"authorization_model,omitempty"yaml:"authorization_model,omitempty"`
}
ReadAuthorizationModelResponse struct for ReadAuthorizationModelResponse
func NewReadAuthorizationModelResponse ¶
func NewReadAuthorizationModelResponse() *ReadAuthorizationModelResponse
NewReadAuthorizationModelResponse instantiates a new ReadAuthorizationModelResponse 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 NewReadAuthorizationModelResponseWithDefaults ¶
func NewReadAuthorizationModelResponseWithDefaults() *ReadAuthorizationModelResponse
NewReadAuthorizationModelResponseWithDefaults instantiates a new ReadAuthorizationModelResponse 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 (*ReadAuthorizationModelResponse) GetAuthorizationModel ¶
func (o *ReadAuthorizationModelResponse) GetAuthorizationModel() AuthorizationModel
GetAuthorizationModel returns the AuthorizationModel field value if set, zero value otherwise.
func (*ReadAuthorizationModelResponse) GetAuthorizationModelOk ¶
func (o *ReadAuthorizationModelResponse) GetAuthorizationModelOk() (*AuthorizationModel, bool)
GetAuthorizationModelOk returns a tuple with the AuthorizationModel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadAuthorizationModelResponse) HasAuthorizationModel ¶
func (o *ReadAuthorizationModelResponse) HasAuthorizationModel() bool
HasAuthorizationModel returns a boolean if a field has been set.
func (ReadAuthorizationModelResponse) MarshalJSON ¶
func (o ReadAuthorizationModelResponse) MarshalJSON() ([]byte, error)
func (*ReadAuthorizationModelResponse) SetAuthorizationModel ¶
func (o *ReadAuthorizationModelResponse) SetAuthorizationModel(v AuthorizationModel)
SetAuthorizationModel gets a reference to the given AuthorizationModel and assigns it to the AuthorizationModel field.
type ReadAuthorizationModelsResponse ¶
type ReadAuthorizationModelsResponse struct { AuthorizationModels []AuthorizationModel `json:"authorization_models"yaml:"authorization_models"` // The continuation token will be empty if there are no more models. ContinuationToken *string `json:"continuation_token,omitempty"yaml:"continuation_token,omitempty"` }
ReadAuthorizationModelsResponse struct for ReadAuthorizationModelsResponse
func NewReadAuthorizationModelsResponse ¶
func NewReadAuthorizationModelsResponse(authorizationModels []AuthorizationModel) *ReadAuthorizationModelsResponse
NewReadAuthorizationModelsResponse instantiates a new ReadAuthorizationModelsResponse 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 NewReadAuthorizationModelsResponseWithDefaults ¶
func NewReadAuthorizationModelsResponseWithDefaults() *ReadAuthorizationModelsResponse
NewReadAuthorizationModelsResponseWithDefaults instantiates a new ReadAuthorizationModelsResponse 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 (*ReadAuthorizationModelsResponse) GetAuthorizationModels ¶
func (o *ReadAuthorizationModelsResponse) GetAuthorizationModels() []AuthorizationModel
GetAuthorizationModels returns the AuthorizationModels field value
func (*ReadAuthorizationModelsResponse) GetAuthorizationModelsOk ¶
func (o *ReadAuthorizationModelsResponse) GetAuthorizationModelsOk() (*[]AuthorizationModel, bool)
GetAuthorizationModelsOk returns a tuple with the AuthorizationModels field value and a boolean to check if the value has been set.
func (*ReadAuthorizationModelsResponse) GetContinuationToken ¶
func (o *ReadAuthorizationModelsResponse) GetContinuationToken() string
GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.
func (*ReadAuthorizationModelsResponse) GetContinuationTokenOk ¶
func (o *ReadAuthorizationModelsResponse) GetContinuationTokenOk() (*string, bool)
GetContinuationTokenOk returns a tuple with the ContinuationToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadAuthorizationModelsResponse) HasContinuationToken ¶
func (o *ReadAuthorizationModelsResponse) HasContinuationToken() bool
HasContinuationToken returns a boolean if a field has been set.
func (ReadAuthorizationModelsResponse) MarshalJSON ¶
func (o ReadAuthorizationModelsResponse) MarshalJSON() ([]byte, error)
func (*ReadAuthorizationModelsResponse) SetAuthorizationModels ¶
func (o *ReadAuthorizationModelsResponse) SetAuthorizationModels(v []AuthorizationModel)
SetAuthorizationModels sets field value
func (*ReadAuthorizationModelsResponse) SetContinuationToken ¶
func (o *ReadAuthorizationModelsResponse) SetContinuationToken(v string)
SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.
type ReadChangesResponse ¶
type ReadChangesResponse struct { Changes []TupleChange `json:"changes"yaml:"changes"` // The continuation token will be identical if there are no new changes. ContinuationToken *string `json:"continuation_token,omitempty"yaml:"continuation_token,omitempty"` }
ReadChangesResponse struct for ReadChangesResponse
func NewReadChangesResponse ¶
func NewReadChangesResponse(changes []TupleChange) *ReadChangesResponse
NewReadChangesResponse instantiates a new ReadChangesResponse 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 NewReadChangesResponseWithDefaults ¶
func NewReadChangesResponseWithDefaults() *ReadChangesResponse
NewReadChangesResponseWithDefaults instantiates a new ReadChangesResponse 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 (*ReadChangesResponse) GetChanges ¶
func (o *ReadChangesResponse) GetChanges() []TupleChange
GetChanges returns the Changes field value
func (*ReadChangesResponse) GetChangesOk ¶
func (o *ReadChangesResponse) GetChangesOk() (*[]TupleChange, bool)
GetChangesOk returns a tuple with the Changes field value and a boolean to check if the value has been set.
func (*ReadChangesResponse) GetContinuationToken ¶
func (o *ReadChangesResponse) GetContinuationToken() string
GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.
func (*ReadChangesResponse) GetContinuationTokenOk ¶
func (o *ReadChangesResponse) GetContinuationTokenOk() (*string, bool)
GetContinuationTokenOk returns a tuple with the ContinuationToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadChangesResponse) HasContinuationToken ¶
func (o *ReadChangesResponse) HasContinuationToken() bool
HasContinuationToken returns a boolean if a field has been set.
func (ReadChangesResponse) MarshalJSON ¶
func (o ReadChangesResponse) MarshalJSON() ([]byte, error)
func (*ReadChangesResponse) SetChanges ¶
func (o *ReadChangesResponse) SetChanges(v []TupleChange)
SetChanges sets field value
func (*ReadChangesResponse) SetContinuationToken ¶
func (o *ReadChangesResponse) SetContinuationToken(v string)
SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.
type ReadRequest ¶
type ReadRequest struct { TupleKey *ReadRequestTupleKey `json:"tuple_key,omitempty"yaml:"tuple_key,omitempty"` PageSize *int32 `json:"page_size,omitempty"yaml:"page_size,omitempty"` ContinuationToken *string `json:"continuation_token,omitempty"yaml:"continuation_token,omitempty"` }
ReadRequest struct for ReadRequest
func NewReadRequest ¶
func NewReadRequest() *ReadRequest
NewReadRequest instantiates a new ReadRequest 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 NewReadRequestWithDefaults ¶
func NewReadRequestWithDefaults() *ReadRequest
NewReadRequestWithDefaults instantiates a new ReadRequest 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 (*ReadRequest) GetContinuationToken ¶
func (o *ReadRequest) GetContinuationToken() string
GetContinuationToken returns the ContinuationToken field value if set, zero value otherwise.
func (*ReadRequest) GetContinuationTokenOk ¶
func (o *ReadRequest) GetContinuationTokenOk() (*string, bool)
GetContinuationTokenOk returns a tuple with the ContinuationToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadRequest) GetPageSize ¶
func (o *ReadRequest) GetPageSize() int32
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*ReadRequest) GetPageSizeOk ¶
func (o *ReadRequest) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadRequest) GetTupleKey ¶
func (o *ReadRequest) GetTupleKey() ReadRequestTupleKey
GetTupleKey returns the TupleKey field value if set, zero value otherwise.
func (*ReadRequest) GetTupleKeyOk ¶
func (o *ReadRequest) GetTupleKeyOk() (*ReadRequestTupleKey, bool)
GetTupleKeyOk returns a tuple with the TupleKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadRequest) HasContinuationToken ¶
func (o *ReadRequest) HasContinuationToken() bool
HasContinuationToken returns a boolean if a field has been set.
func (*ReadRequest) HasPageSize ¶
func (o *ReadRequest) HasPageSize() bool
HasPageSize returns a boolean if a field has been set.
func (*ReadRequest) HasTupleKey ¶
func (o *ReadRequest) HasTupleKey() bool
HasTupleKey returns a boolean if a field has been set.
func (ReadRequest) MarshalJSON ¶
func (o ReadRequest) MarshalJSON() ([]byte, error)
func (*ReadRequest) SetContinuationToken ¶
func (o *ReadRequest) SetContinuationToken(v string)
SetContinuationToken gets a reference to the given string and assigns it to the ContinuationToken field.
func (*ReadRequest) SetPageSize ¶
func (o *ReadRequest) SetPageSize(v int32)
SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.
func (*ReadRequest) SetTupleKey ¶
func (o *ReadRequest) SetTupleKey(v ReadRequestTupleKey)
SetTupleKey gets a reference to the given ReadRequestTupleKey and assigns it to the TupleKey field.
type ReadRequestTupleKey ¶ added in v0.3.0
type ReadRequestTupleKey struct { User *string `json:"user,omitempty"yaml:"user,omitempty"` Relation *string `json:"relation,omitempty"yaml:"relation,omitempty"` Object *string `json:"object,omitempty"yaml:"object,omitempty"` }
ReadRequestTupleKey struct for ReadRequestTupleKey
func NewReadRequestTupleKey ¶ added in v0.3.0
func NewReadRequestTupleKey() *ReadRequestTupleKey
NewReadRequestTupleKey instantiates a new ReadRequestTupleKey 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 NewReadRequestTupleKeyWithDefaults ¶ added in v0.3.0
func NewReadRequestTupleKeyWithDefaults() *ReadRequestTupleKey
NewReadRequestTupleKeyWithDefaults instantiates a new ReadRequestTupleKey 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 (*ReadRequestTupleKey) GetObject ¶ added in v0.3.0
func (o *ReadRequestTupleKey) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ReadRequestTupleKey) GetObjectOk ¶ added in v0.3.0
func (o *ReadRequestTupleKey) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadRequestTupleKey) GetRelation ¶ added in v0.3.0
func (o *ReadRequestTupleKey) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*ReadRequestTupleKey) GetRelationOk ¶ added in v0.3.0
func (o *ReadRequestTupleKey) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadRequestTupleKey) GetUser ¶ added in v0.3.0
func (o *ReadRequestTupleKey) GetUser() string
GetUser returns the User field value if set, zero value otherwise.
func (*ReadRequestTupleKey) GetUserOk ¶ added in v0.3.0
func (o *ReadRequestTupleKey) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReadRequestTupleKey) HasObject ¶ added in v0.3.0
func (o *ReadRequestTupleKey) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ReadRequestTupleKey) HasRelation ¶ added in v0.3.0
func (o *ReadRequestTupleKey) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (*ReadRequestTupleKey) HasUser ¶ added in v0.3.0
func (o *ReadRequestTupleKey) HasUser() bool
HasUser returns a boolean if a field has been set.
func (ReadRequestTupleKey) MarshalJSON ¶ added in v0.3.0
func (o ReadRequestTupleKey) MarshalJSON() ([]byte, error)
func (*ReadRequestTupleKey) SetObject ¶ added in v0.3.0
func (o *ReadRequestTupleKey) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ReadRequestTupleKey) SetRelation ¶ added in v0.3.0
func (o *ReadRequestTupleKey) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*ReadRequestTupleKey) SetUser ¶ added in v0.3.0
func (o *ReadRequestTupleKey) SetUser(v string)
SetUser gets a reference to the given string and assigns it to the User field.
type ReadResponse ¶
type ReadResponse struct { Tuples []Tuple `json:"tuples"yaml:"tuples"` // The continuation token will be empty if there are no more tuples. ContinuationToken string `json:"continuation_token"yaml:"continuation_token"` }
ReadResponse struct for ReadResponse
func NewReadResponse ¶
func NewReadResponse(tuples []Tuple, continuationToken string) *ReadResponse
NewReadResponse instantiates a new ReadResponse 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 NewReadResponseWithDefaults ¶
func NewReadResponseWithDefaults() *ReadResponse
NewReadResponseWithDefaults instantiates a new ReadResponse 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 (*ReadResponse) GetContinuationToken ¶
func (o *ReadResponse) GetContinuationToken() string
GetContinuationToken returns the ContinuationToken field value
func (*ReadResponse) GetContinuationTokenOk ¶
func (o *ReadResponse) GetContinuationTokenOk() (*string, bool)
GetContinuationTokenOk returns a tuple with the ContinuationToken field value and a boolean to check if the value has been set.
func (*ReadResponse) GetTuples ¶
func (o *ReadResponse) GetTuples() []Tuple
GetTuples returns the Tuples field value
func (*ReadResponse) GetTuplesOk ¶
func (o *ReadResponse) GetTuplesOk() (*[]Tuple, bool)
GetTuplesOk returns a tuple with the Tuples field value and a boolean to check if the value has been set.
func (ReadResponse) MarshalJSON ¶
func (o ReadResponse) MarshalJSON() ([]byte, error)
func (*ReadResponse) SetContinuationToken ¶
func (o *ReadResponse) SetContinuationToken(v string)
SetContinuationToken sets field value
func (*ReadResponse) SetTuples ¶
func (o *ReadResponse) SetTuples(v []Tuple)
SetTuples sets field value
type RelationMetadata ¶ added in v0.1.0
type RelationMetadata struct { DirectlyRelatedUserTypes *[]RelationReference `json:"directly_related_user_types,omitempty"yaml:"directly_related_user_types,omitempty"` Module *string `json:"module,omitempty"yaml:"module,omitempty"` SourceInfo *SourceInfo `json:"source_info,omitempty"yaml:"source_info,omitempty"` }
RelationMetadata struct for RelationMetadata
func NewRelationMetadata ¶ added in v0.1.0
func NewRelationMetadata() *RelationMetadata
NewRelationMetadata instantiates a new RelationMetadata 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 NewRelationMetadataWithDefaults ¶ added in v0.1.0
func NewRelationMetadataWithDefaults() *RelationMetadata
NewRelationMetadataWithDefaults instantiates a new RelationMetadata 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 (*RelationMetadata) GetDirectlyRelatedUserTypes ¶ added in v0.1.0
func (o *RelationMetadata) GetDirectlyRelatedUserTypes() []RelationReference
GetDirectlyRelatedUserTypes returns the DirectlyRelatedUserTypes field value if set, zero value otherwise.
func (*RelationMetadata) GetDirectlyRelatedUserTypesOk ¶ added in v0.1.0
func (o *RelationMetadata) GetDirectlyRelatedUserTypesOk() (*[]RelationReference, bool)
GetDirectlyRelatedUserTypesOk returns a tuple with the DirectlyRelatedUserTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationMetadata) GetModule ¶ added in v0.3.6
func (o *RelationMetadata) GetModule() string
GetModule returns the Module field value if set, zero value otherwise.
func (*RelationMetadata) GetModuleOk ¶ added in v0.3.6
func (o *RelationMetadata) GetModuleOk() (*string, bool)
GetModuleOk returns a tuple with the Module field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationMetadata) GetSourceInfo ¶ added in v0.3.6
func (o *RelationMetadata) GetSourceInfo() SourceInfo
GetSourceInfo returns the SourceInfo field value if set, zero value otherwise.
func (*RelationMetadata) GetSourceInfoOk ¶ added in v0.3.6
func (o *RelationMetadata) GetSourceInfoOk() (*SourceInfo, bool)
GetSourceInfoOk returns a tuple with the SourceInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationMetadata) HasDirectlyRelatedUserTypes ¶ added in v0.1.0
func (o *RelationMetadata) HasDirectlyRelatedUserTypes() bool
HasDirectlyRelatedUserTypes returns a boolean if a field has been set.
func (*RelationMetadata) HasModule ¶ added in v0.3.6
func (o *RelationMetadata) HasModule() bool
HasModule returns a boolean if a field has been set.
func (*RelationMetadata) HasSourceInfo ¶ added in v0.3.6
func (o *RelationMetadata) HasSourceInfo() bool
HasSourceInfo returns a boolean if a field has been set.
func (RelationMetadata) MarshalJSON ¶ added in v0.1.0
func (o RelationMetadata) MarshalJSON() ([]byte, error)
func (*RelationMetadata) SetDirectlyRelatedUserTypes ¶ added in v0.1.0
func (o *RelationMetadata) SetDirectlyRelatedUserTypes(v []RelationReference)
SetDirectlyRelatedUserTypes gets a reference to the given []RelationReference and assigns it to the DirectlyRelatedUserTypes field.
func (*RelationMetadata) SetModule ¶ added in v0.3.6
func (o *RelationMetadata) SetModule(v string)
SetModule gets a reference to the given string and assigns it to the Module field.
func (*RelationMetadata) SetSourceInfo ¶ added in v0.3.6
func (o *RelationMetadata) SetSourceInfo(v SourceInfo)
SetSourceInfo gets a reference to the given SourceInfo and assigns it to the SourceInfo field.
type RelationReference ¶ added in v0.1.0
type RelationReference struct { Type string `json:"type"yaml:"type"` Relation *string `json:"relation,omitempty"yaml:"relation,omitempty"` Wildcard *map[string]interface{} `json:"wildcard,omitempty"yaml:"wildcard,omitempty"` // The name of a condition that is enforced over the allowed relation. Condition *string `json:"condition,omitempty"yaml:"condition,omitempty"` }
RelationReference RelationReference represents a relation of a particular object type (e.g. 'document#viewer').
func NewRelationReference ¶ added in v0.1.0
func NewRelationReference(type_ string) *RelationReference
NewRelationReference instantiates a new RelationReference 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 NewRelationReferenceWithDefaults ¶ added in v0.1.0
func NewRelationReferenceWithDefaults() *RelationReference
NewRelationReferenceWithDefaults instantiates a new RelationReference 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 (*RelationReference) GetCondition ¶ added in v0.3.0
func (o *RelationReference) GetCondition() string
GetCondition returns the Condition field value if set, zero value otherwise.
func (*RelationReference) GetConditionOk ¶ added in v0.3.0
func (o *RelationReference) GetConditionOk() (*string, bool)
GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationReference) GetRelation ¶ added in v0.1.0
func (o *RelationReference) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*RelationReference) GetRelationOk ¶ added in v0.1.0
func (o *RelationReference) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationReference) GetType ¶ added in v0.1.0
func (o *RelationReference) GetType() string
GetType returns the Type field value
func (*RelationReference) GetTypeOk ¶ added in v0.1.0
func (o *RelationReference) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RelationReference) GetWildcard ¶ added in v0.2.0
func (o *RelationReference) GetWildcard() map[string]interface{}
GetWildcard returns the Wildcard field value if set, zero value otherwise.
func (*RelationReference) GetWildcardOk ¶ added in v0.2.0
func (o *RelationReference) GetWildcardOk() (*map[string]interface{}, bool)
GetWildcardOk returns a tuple with the Wildcard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationReference) HasCondition ¶ added in v0.3.0
func (o *RelationReference) HasCondition() bool
HasCondition returns a boolean if a field has been set.
func (*RelationReference) HasRelation ¶ added in v0.1.0
func (o *RelationReference) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (*RelationReference) HasWildcard ¶ added in v0.2.0
func (o *RelationReference) HasWildcard() bool
HasWildcard returns a boolean if a field has been set.
func (RelationReference) MarshalJSON ¶ added in v0.1.0
func (o RelationReference) MarshalJSON() ([]byte, error)
func (*RelationReference) SetCondition ¶ added in v0.3.0
func (o *RelationReference) SetCondition(v string)
SetCondition gets a reference to the given string and assigns it to the Condition field.
func (*RelationReference) SetRelation ¶ added in v0.1.0
func (o *RelationReference) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*RelationReference) SetType ¶ added in v0.1.0
func (o *RelationReference) SetType(v string)
SetType sets field value
func (*RelationReference) SetWildcard ¶ added in v0.2.0
func (o *RelationReference) SetWildcard(v map[string]interface{})
SetWildcard gets a reference to the given map[string]interface{} and assigns it to the Wildcard field.
type RelationshipCondition ¶ added in v0.3.0
type RelationshipCondition struct { // A reference (by name) of the relationship condition defined in the authorization model. Name string `json:"name"yaml:"name"` // Additional context/data to persist along with the condition. The keys must match the parameters defined by the condition, and the value types must match the parameter type definitions. Context *map[string]interface{} `json:"context,omitempty"yaml:"context,omitempty"` }
RelationshipCondition struct for RelationshipCondition
func NewRelationshipCondition ¶ added in v0.3.0
func NewRelationshipCondition(name string) *RelationshipCondition
NewRelationshipCondition instantiates a new RelationshipCondition 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 NewRelationshipConditionWithDefaults ¶ added in v0.3.0
func NewRelationshipConditionWithDefaults() *RelationshipCondition
NewRelationshipConditionWithDefaults instantiates a new RelationshipCondition 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 (*RelationshipCondition) GetContext ¶ added in v0.3.0
func (o *RelationshipCondition) GetContext() map[string]interface{}
GetContext returns the Context field value if set, zero value otherwise.
func (*RelationshipCondition) GetContextOk ¶ added in v0.3.0
func (o *RelationshipCondition) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationshipCondition) GetName ¶ added in v0.3.0
func (o *RelationshipCondition) GetName() string
GetName returns the Name field value
func (*RelationshipCondition) GetNameOk ¶ added in v0.3.0
func (o *RelationshipCondition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RelationshipCondition) HasContext ¶ added in v0.3.0
func (o *RelationshipCondition) HasContext() bool
HasContext returns a boolean if a field has been set.
func (RelationshipCondition) MarshalJSON ¶ added in v0.3.0
func (o RelationshipCondition) MarshalJSON() ([]byte, error)
func (*RelationshipCondition) SetContext ¶ added in v0.3.0
func (o *RelationshipCondition) SetContext(v map[string]interface{})
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
func (*RelationshipCondition) SetName ¶ added in v0.3.0
func (o *RelationshipCondition) SetName(v string)
SetName sets field value
type RetryParams ¶
type RetryParams struct { MaxRetry int `json:"maxRetry,omitempty"` MinWaitInMs int `json:"minWaitInMs,omitempty"` }
RetryParams configures configuration for retry in case of HTTP too many request
func DefaultRetryParams ¶
func DefaultRetryParams() *RetryParams
DefaultRetryParams returns the default retry parameters
type SourceInfo ¶ added in v0.3.6
type SourceInfo struct {
File *string `json:"file,omitempty"yaml:"file,omitempty"`
}
SourceInfo struct for SourceInfo
func NewSourceInfo ¶ added in v0.3.6
func NewSourceInfo() *SourceInfo
NewSourceInfo instantiates a new SourceInfo 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 NewSourceInfoWithDefaults ¶ added in v0.3.6
func NewSourceInfoWithDefaults() *SourceInfo
NewSourceInfoWithDefaults instantiates a new SourceInfo 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 (*SourceInfo) GetFile ¶ added in v0.3.6
func (o *SourceInfo) GetFile() string
GetFile returns the File field value if set, zero value otherwise.
func (*SourceInfo) GetFileOk ¶ added in v0.3.6
func (o *SourceInfo) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SourceInfo) HasFile ¶ added in v0.3.6
func (o *SourceInfo) HasFile() bool
HasFile returns a boolean if a field has been set.
func (SourceInfo) MarshalJSON ¶ added in v0.3.6
func (o SourceInfo) MarshalJSON() ([]byte, error)
func (*SourceInfo) SetFile ¶ added in v0.3.6
func (o *SourceInfo) SetFile(v string)
SetFile gets a reference to the given string and assigns it to the File field.
type Status ¶
type Status struct { Code *int32 `json:"code,omitempty"yaml:"code,omitempty"` Message *string `json:"message,omitempty"yaml:"message,omitempty"` Details *[]Any `json:"details,omitempty"yaml:"details,omitempty"` }
Status struct for Status
func NewStatus ¶
func NewStatus() *Status
NewStatus instantiates a new Status 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 NewStatusWithDefaults ¶
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*Status) GetDetailsOk ¶
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Status) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶
func (*Status) SetCode ¶
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*Status) SetDetails ¶
SetDetails gets a reference to the given []Any and assigns it to the Details field.
func (*Status) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type Store ¶
type Store struct { Id string `json:"id"yaml:"id"` Name string `json:"name"yaml:"name"` CreatedAt time.Time `json:"created_at"yaml:"created_at"` UpdatedAt time.Time `json:"updated_at"yaml:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"yaml:"deleted_at,omitempty"` }
Store struct for Store
func NewStore ¶
NewStore instantiates a new Store 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 NewStoreWithDefaults ¶
func NewStoreWithDefaults() *Store
NewStoreWithDefaults instantiates a new Store 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 (*Store) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Store) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Store) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Store) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Store) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Store) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Store) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Store) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Store) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (Store) MarshalJSON ¶
func (*Store) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Store) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Store) SetUpdatedAt ¶
SetUpdatedAt sets field value
type Tuple ¶
type Tuple struct { Key TupleKey `json:"key"yaml:"key"` Timestamp time.Time `json:"timestamp"yaml:"timestamp"` }
Tuple struct for Tuple
func NewTuple ¶
NewTuple instantiates a new Tuple 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 NewTupleWithDefaults ¶
func NewTupleWithDefaults() *Tuple
NewTupleWithDefaults instantiates a new Tuple 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 (*Tuple) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*Tuple) GetTimestamp ¶
GetTimestamp returns the Timestamp field value
func (*Tuple) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (Tuple) MarshalJSON ¶
func (*Tuple) SetTimestamp ¶
SetTimestamp sets field value
type TupleChange ¶
type TupleChange struct { TupleKey TupleKey `json:"tuple_key"yaml:"tuple_key"` Operation TupleOperation `json:"operation"yaml:"operation"` Timestamp time.Time `json:"timestamp"yaml:"timestamp"` }
TupleChange struct for TupleChange
func NewTupleChange ¶
func NewTupleChange(tupleKey TupleKey, operation TupleOperation, timestamp time.Time) *TupleChange
NewTupleChange instantiates a new TupleChange 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 NewTupleChangeWithDefaults ¶
func NewTupleChangeWithDefaults() *TupleChange
NewTupleChangeWithDefaults instantiates a new TupleChange 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 (*TupleChange) GetOperation ¶
func (o *TupleChange) GetOperation() TupleOperation
GetOperation returns the Operation field value
func (*TupleChange) GetOperationOk ¶
func (o *TupleChange) GetOperationOk() (*TupleOperation, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (*TupleChange) GetTimestamp ¶
func (o *TupleChange) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value
func (*TupleChange) GetTimestampOk ¶
func (o *TupleChange) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (*TupleChange) GetTupleKey ¶
func (o *TupleChange) GetTupleKey() TupleKey
GetTupleKey returns the TupleKey field value
func (*TupleChange) GetTupleKeyOk ¶
func (o *TupleChange) GetTupleKeyOk() (*TupleKey, bool)
GetTupleKeyOk returns a tuple with the TupleKey field value and a boolean to check if the value has been set.
func (TupleChange) MarshalJSON ¶
func (o TupleChange) MarshalJSON() ([]byte, error)
func (*TupleChange) SetOperation ¶
func (o *TupleChange) SetOperation(v TupleOperation)
SetOperation sets field value
func (*TupleChange) SetTimestamp ¶
func (o *TupleChange) SetTimestamp(v time.Time)
SetTimestamp sets field value
func (*TupleChange) SetTupleKey ¶
func (o *TupleChange) SetTupleKey(v TupleKey)
SetTupleKey sets field value
type TupleKey ¶
type TupleKey struct { User string `json:"user"yaml:"user"` Relation string `json:"relation"yaml:"relation"` Object string `json:"object"yaml:"object"` Condition *RelationshipCondition `json:"condition,omitempty"yaml:"condition,omitempty"` }
TupleKey struct for TupleKey
func NewTupleKey ¶
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 ¶
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 (*TupleKey) GetCondition ¶ added in v0.3.0
func (o *TupleKey) GetCondition() RelationshipCondition
GetCondition returns the Condition field value if set, zero value otherwise.
func (*TupleKey) GetConditionOk ¶ added in v0.3.0
func (o *TupleKey) GetConditionOk() (*RelationshipCondition, bool)
GetConditionOk returns a tuple with the Condition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TupleKey) GetObjectOk ¶
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*TupleKey) GetRelation ¶
GetRelation returns the Relation field value
func (*TupleKey) GetRelationOk ¶
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*TupleKey) GetUserOk ¶
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*TupleKey) HasCondition ¶ added in v0.3.0
HasCondition returns a boolean if a field has been set.
func (TupleKey) MarshalJSON ¶
func (*TupleKey) SetCondition ¶ added in v0.3.0
func (o *TupleKey) SetCondition(v RelationshipCondition)
SetCondition gets a reference to the given RelationshipCondition and assigns it to the Condition field.
func (*TupleKey) SetRelation ¶
SetRelation sets field value
type TupleKeyWithoutCondition ¶ added in v0.3.0
type TupleKeyWithoutCondition struct { User string `json:"user"yaml:"user"` Relation string `json:"relation"yaml:"relation"` Object string `json:"object"yaml:"object"` }
TupleKeyWithoutCondition struct for TupleKeyWithoutCondition
func NewTupleKeyWithoutCondition ¶ added in v0.3.0
func NewTupleKeyWithoutCondition(user string, relation string, object string) *TupleKeyWithoutCondition
NewTupleKeyWithoutCondition instantiates a new TupleKeyWithoutCondition 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 NewTupleKeyWithoutConditionWithDefaults ¶ added in v0.3.0
func NewTupleKeyWithoutConditionWithDefaults() *TupleKeyWithoutCondition
NewTupleKeyWithoutConditionWithDefaults instantiates a new TupleKeyWithoutCondition 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 (*TupleKeyWithoutCondition) GetObject ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) GetObject() string
GetObject returns the Object field value
func (*TupleKeyWithoutCondition) GetObjectOk ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*TupleKeyWithoutCondition) GetRelation ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) GetRelation() string
GetRelation returns the Relation field value
func (*TupleKeyWithoutCondition) GetRelationOk ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*TupleKeyWithoutCondition) GetUser ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) GetUser() string
GetUser returns the User field value
func (*TupleKeyWithoutCondition) GetUserOk ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (TupleKeyWithoutCondition) MarshalJSON ¶ added in v0.3.0
func (o TupleKeyWithoutCondition) MarshalJSON() ([]byte, error)
func (*TupleKeyWithoutCondition) SetObject ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) SetObject(v string)
SetObject sets field value
func (*TupleKeyWithoutCondition) SetRelation ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) SetRelation(v string)
SetRelation sets field value
func (*TupleKeyWithoutCondition) SetUser ¶ added in v0.3.0
func (o *TupleKeyWithoutCondition) SetUser(v string)
SetUser sets field value
type TupleOperation ¶
type TupleOperation string
TupleOperation the model 'TupleOperation'
const ( WRITE TupleOperation = "TUPLE_OPERATION_WRITE" DELETE TupleOperation = "TUPLE_OPERATION_DELETE" )
List of TupleOperation
func NewTupleOperationFromValue ¶
func NewTupleOperationFromValue(v string) (*TupleOperation, error)
NewTupleOperationFromValue returns a pointer to a valid TupleOperation for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TupleOperation) IsValid ¶
func (v TupleOperation) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TupleOperation) Ptr ¶
func (v TupleOperation) Ptr() *TupleOperation
Ptr returns reference to TupleOperation value
func (*TupleOperation) UnmarshalJSON ¶
func (v *TupleOperation) UnmarshalJSON(src []byte) error
type TupleToUserset ¶
type TupleToUserset struct { Tupleset ObjectRelation `json:"tupleset"yaml:"tupleset"` ComputedUserset ObjectRelation `json:"computedUserset"yaml:"computedUserset"` }
TupleToUserset struct for TupleToUserset
func NewTupleToUserset ¶
func NewTupleToUserset(tupleset ObjectRelation, computedUserset ObjectRelation) *TupleToUserset
NewTupleToUserset instantiates a new TupleToUserset 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 NewTupleToUsersetWithDefaults ¶
func NewTupleToUsersetWithDefaults() *TupleToUserset
NewTupleToUsersetWithDefaults instantiates a new TupleToUserset 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 (*TupleToUserset) GetComputedUserset ¶
func (o *TupleToUserset) GetComputedUserset() ObjectRelation
GetComputedUserset returns the ComputedUserset field value
func (*TupleToUserset) GetComputedUsersetOk ¶
func (o *TupleToUserset) GetComputedUsersetOk() (*ObjectRelation, bool)
GetComputedUsersetOk returns a tuple with the ComputedUserset field value and a boolean to check if the value has been set.
func (*TupleToUserset) GetTupleset ¶
func (o *TupleToUserset) GetTupleset() ObjectRelation
GetTupleset returns the Tupleset field value
func (*TupleToUserset) GetTuplesetOk ¶
func (o *TupleToUserset) GetTuplesetOk() (*ObjectRelation, bool)
GetTuplesetOk returns a tuple with the Tupleset field value and a boolean to check if the value has been set.
func (TupleToUserset) MarshalJSON ¶
func (o TupleToUserset) MarshalJSON() ([]byte, error)
func (*TupleToUserset) SetComputedUserset ¶
func (o *TupleToUserset) SetComputedUserset(v ObjectRelation)
SetComputedUserset sets field value
func (*TupleToUserset) SetTupleset ¶
func (o *TupleToUserset) SetTupleset(v ObjectRelation)
SetTupleset sets field value
type TypeDefinition ¶
type TypeDefinition struct { Type string `json:"type"yaml:"type"` Relations *map[string]Userset `json:"relations,omitempty"yaml:"relations,omitempty"` Metadata *Metadata `json:"metadata,omitempty"yaml:"metadata,omitempty"` }
TypeDefinition struct for TypeDefinition
func NewTypeDefinition ¶
func NewTypeDefinition(type_ string) *TypeDefinition
NewTypeDefinition instantiates a new TypeDefinition 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 NewTypeDefinitionWithDefaults ¶
func NewTypeDefinitionWithDefaults() *TypeDefinition
NewTypeDefinitionWithDefaults instantiates a new TypeDefinition 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 (*TypeDefinition) GetMetadata ¶ added in v0.1.0
func (o *TypeDefinition) GetMetadata() Metadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*TypeDefinition) GetMetadataOk ¶ added in v0.1.0
func (o *TypeDefinition) GetMetadataOk() (*Metadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TypeDefinition) GetRelations ¶
func (o *TypeDefinition) GetRelations() map[string]Userset
GetRelations returns the Relations field value if set, zero value otherwise.
func (*TypeDefinition) GetRelationsOk ¶
func (o *TypeDefinition) GetRelationsOk() (*map[string]Userset, bool)
GetRelationsOk returns a tuple with the Relations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TypeDefinition) GetType ¶
func (o *TypeDefinition) GetType() string
GetType returns the Type field value
func (*TypeDefinition) GetTypeOk ¶
func (o *TypeDefinition) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*TypeDefinition) HasMetadata ¶ added in v0.1.0
func (o *TypeDefinition) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*TypeDefinition) HasRelations ¶ added in v0.1.0
func (o *TypeDefinition) HasRelations() bool
HasRelations returns a boolean if a field has been set.
func (TypeDefinition) MarshalJSON ¶
func (o TypeDefinition) MarshalJSON() ([]byte, error)
func (*TypeDefinition) SetMetadata ¶ added in v0.1.0
func (o *TypeDefinition) SetMetadata(v Metadata)
SetMetadata gets a reference to the given Metadata and assigns it to the Metadata field.
func (*TypeDefinition) SetRelations ¶
func (o *TypeDefinition) SetRelations(v map[string]Userset)
SetRelations gets a reference to the given map[string]Userset and assigns it to the Relations field.
func (*TypeDefinition) SetType ¶
func (o *TypeDefinition) SetType(v string)
SetType sets field value
type TypeName ¶ added in v0.3.0
type TypeName string
TypeName the model 'TypeName'
const ( UNSPECIFIED TypeName = "TYPE_NAME_UNSPECIFIED" ANY TypeName = "TYPE_NAME_ANY" BOOL TypeName = "TYPE_NAME_BOOL" STRING TypeName = "TYPE_NAME_STRING" INT TypeName = "TYPE_NAME_INT" UINT TypeName = "TYPE_NAME_UINT" DOUBLE TypeName = "TYPE_NAME_DOUBLE" DURATION TypeName = "TYPE_NAME_DURATION" TIMESTAMP TypeName = "TYPE_NAME_TIMESTAMP" MAP TypeName = "TYPE_NAME_MAP" LIST TypeName = "TYPE_NAME_LIST" IPADDRESS TypeName = "TYPE_NAME_IPADDRESS" )
List of TypeName
func NewTypeNameFromValue ¶ added in v0.3.0
NewTypeNameFromValue returns a pointer to a valid TypeName for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TypeName) IsValid ¶ added in v0.3.0
IsValid return true if the value is valid for the enum, false otherwise
func (*TypeName) UnmarshalJSON ¶ added in v0.3.0
type TypedWildcard ¶ added in v0.3.6
type TypedWildcard struct {
Type string `json:"type"yaml:"type"`
}
TypedWildcard struct for TypedWildcard
func NewTypedWildcard ¶ added in v0.3.6
func NewTypedWildcard(type_ string) *TypedWildcard
NewTypedWildcard instantiates a new TypedWildcard 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 NewTypedWildcardWithDefaults ¶ added in v0.3.6
func NewTypedWildcardWithDefaults() *TypedWildcard
NewTypedWildcardWithDefaults instantiates a new TypedWildcard 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 (*TypedWildcard) GetType ¶ added in v0.3.6
func (o *TypedWildcard) GetType() string
GetType returns the Type field value
func (*TypedWildcard) GetTypeOk ¶ added in v0.3.6
func (o *TypedWildcard) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (TypedWildcard) MarshalJSON ¶ added in v0.3.6
func (o TypedWildcard) MarshalJSON() ([]byte, error)
func (*TypedWildcard) SetType ¶ added in v0.3.6
func (o *TypedWildcard) SetType(v string)
SetType sets field value
type UnprocessableContentErrorCode ¶ added in v0.3.6
type UnprocessableContentErrorCode string
UnprocessableContentErrorCode the model 'UnprocessableContentErrorCode'
const ( NO_THROTTLED_ERROR_CODE UnprocessableContentErrorCode = "no_throttled_error_code" THROTTLED_TIMEOUT_ERROR UnprocessableContentErrorCode = "throttled_timeout_error" )
List of UnprocessableContentErrorCode
func NewUnprocessableContentErrorCodeFromValue ¶ added in v0.3.6
func NewUnprocessableContentErrorCodeFromValue(v string) (*UnprocessableContentErrorCode, error)
NewUnprocessableContentErrorCodeFromValue returns a pointer to a valid UnprocessableContentErrorCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (UnprocessableContentErrorCode) IsValid ¶ added in v0.3.6
func (v UnprocessableContentErrorCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (UnprocessableContentErrorCode) Ptr ¶ added in v0.3.6
func (v UnprocessableContentErrorCode) Ptr() *UnprocessableContentErrorCode
Ptr returns reference to UnprocessableContentErrorCode value
func (*UnprocessableContentErrorCode) UnmarshalJSON ¶ added in v0.3.6
func (v *UnprocessableContentErrorCode) UnmarshalJSON(src []byte) error
type UnprocessableContentMessageResponse ¶ added in v0.3.6
type UnprocessableContentMessageResponse struct { Code *UnprocessableContentErrorCode `json:"code,omitempty"yaml:"code,omitempty"` Message *string `json:"message,omitempty"yaml:"message,omitempty"` }
UnprocessableContentMessageResponse struct for UnprocessableContentMessageResponse
func NewUnprocessableContentMessageResponse ¶ added in v0.3.6
func NewUnprocessableContentMessageResponse() *UnprocessableContentMessageResponse
NewUnprocessableContentMessageResponse instantiates a new UnprocessableContentMessageResponse 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 NewUnprocessableContentMessageResponseWithDefaults ¶ added in v0.3.6
func NewUnprocessableContentMessageResponseWithDefaults() *UnprocessableContentMessageResponse
NewUnprocessableContentMessageResponseWithDefaults instantiates a new UnprocessableContentMessageResponse 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 (*UnprocessableContentMessageResponse) GetCode ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) GetCode() UnprocessableContentErrorCode
GetCode returns the Code field value if set, zero value otherwise.
func (*UnprocessableContentMessageResponse) GetCodeOk ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) GetCodeOk() (*UnprocessableContentErrorCode, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnprocessableContentMessageResponse) GetMessage ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*UnprocessableContentMessageResponse) GetMessageOk ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnprocessableContentMessageResponse) HasCode ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*UnprocessableContentMessageResponse) HasMessage ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (UnprocessableContentMessageResponse) MarshalJSON ¶ added in v0.3.6
func (o UnprocessableContentMessageResponse) MarshalJSON() ([]byte, error)
func (*UnprocessableContentMessageResponse) SetCode ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) SetCode(v UnprocessableContentErrorCode)
SetCode gets a reference to the given UnprocessableContentErrorCode and assigns it to the Code field.
func (*UnprocessableContentMessageResponse) SetMessage ¶ added in v0.3.6
func (o *UnprocessableContentMessageResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type User ¶ added in v0.3.6
type User struct { Object *FgaObject `json:"object,omitempty"yaml:"object,omitempty"` Userset *UsersetUser `json:"userset,omitempty"yaml:"userset,omitempty"` Wildcard *TypedWildcard `json:"wildcard,omitempty"yaml:"wildcard,omitempty"` }
User struct for User
func NewUser ¶ added in v0.3.6
func NewUser() *User
NewUser instantiates a new User 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 NewUserWithDefaults ¶ added in v0.3.6
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetObject ¶ added in v0.3.6
GetObject returns the Object field value if set, zero value otherwise.
func (*User) GetObjectOk ¶ added in v0.3.6
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUserset ¶ added in v0.3.6
func (o *User) GetUserset() UsersetUser
GetUserset returns the Userset field value if set, zero value otherwise.
func (*User) GetUsersetOk ¶ added in v0.3.6
func (o *User) GetUsersetOk() (*UsersetUser, bool)
GetUsersetOk returns a tuple with the Userset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetWildcard ¶ added in v0.3.6
func (o *User) GetWildcard() TypedWildcard
GetWildcard returns the Wildcard field value if set, zero value otherwise.
func (*User) GetWildcardOk ¶ added in v0.3.6
func (o *User) GetWildcardOk() (*TypedWildcard, bool)
GetWildcardOk returns a tuple with the Wildcard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) HasUserset ¶ added in v0.3.6
HasUserset returns a boolean if a field has been set.
func (*User) HasWildcard ¶ added in v0.3.6
HasWildcard returns a boolean if a field has been set.
func (User) MarshalJSON ¶ added in v0.3.6
func (*User) SetObject ¶ added in v0.3.6
SetObject gets a reference to the given FgaObject and assigns it to the Object field.
func (*User) SetUserset ¶ added in v0.3.6
func (o *User) SetUserset(v UsersetUser)
SetUserset gets a reference to the given UsersetUser and assigns it to the Userset field.
func (*User) SetWildcard ¶ added in v0.3.6
func (o *User) SetWildcard(v TypedWildcard)
SetWildcard gets a reference to the given TypedWildcard and assigns it to the Wildcard field.
type UserTypeFilter ¶ added in v0.3.6
type UserTypeFilter struct { Type string `json:"type"yaml:"type"` Relation *string `json:"relation,omitempty"yaml:"relation,omitempty"` }
UserTypeFilter struct for UserTypeFilter
func NewUserTypeFilter ¶ added in v0.3.6
func NewUserTypeFilter(type_ string) *UserTypeFilter
NewUserTypeFilter instantiates a new UserTypeFilter 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 NewUserTypeFilterWithDefaults ¶ added in v0.3.6
func NewUserTypeFilterWithDefaults() *UserTypeFilter
NewUserTypeFilterWithDefaults instantiates a new UserTypeFilter 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 (*UserTypeFilter) GetRelation ¶ added in v0.3.6
func (o *UserTypeFilter) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*UserTypeFilter) GetRelationOk ¶ added in v0.3.6
func (o *UserTypeFilter) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserTypeFilter) GetType ¶ added in v0.3.6
func (o *UserTypeFilter) GetType() string
GetType returns the Type field value
func (*UserTypeFilter) GetTypeOk ¶ added in v0.3.6
func (o *UserTypeFilter) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*UserTypeFilter) HasRelation ¶ added in v0.3.6
func (o *UserTypeFilter) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (UserTypeFilter) MarshalJSON ¶ added in v0.3.6
func (o UserTypeFilter) MarshalJSON() ([]byte, error)
func (*UserTypeFilter) SetRelation ¶ added in v0.3.6
func (o *UserTypeFilter) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*UserTypeFilter) SetType ¶ added in v0.3.6
func (o *UserTypeFilter) SetType(v string)
SetType sets field value
type Users ¶
type Users struct {
Users []string `json:"users"yaml:"users"`
}
Users struct for Users
func NewUsers ¶
NewUsers instantiates a new Users 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 NewUsersWithDefaults ¶
func NewUsersWithDefaults() *Users
NewUsersWithDefaults instantiates a new Users 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 (*Users) GetUsersOk ¶
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (Users) MarshalJSON ¶
type Userset ¶
type Userset struct { // A DirectUserset is a sentinel message for referencing the direct members specified by an object/relation mapping. This *map[string]interface{} `json:"this,omitempty"yaml:"this,omitempty"` ComputedUserset *ObjectRelation `json:"computedUserset,omitempty"yaml:"computedUserset,omitempty"` TupleToUserset *TupleToUserset `json:"tupleToUserset,omitempty"yaml:"tupleToUserset,omitempty"` Union *Usersets `json:"union,omitempty"yaml:"union,omitempty"` Intersection *Usersets `json:"intersection,omitempty"yaml:"intersection,omitempty"` Difference *Difference `json:"difference,omitempty"yaml:"difference,omitempty"` }
Userset struct for Userset
func NewUserset ¶
func NewUserset() *Userset
NewUserset instantiates a new Userset 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 NewUsersetWithDefaults ¶
func NewUsersetWithDefaults() *Userset
NewUsersetWithDefaults instantiates a new Userset 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 (*Userset) GetComputedUserset ¶
func (o *Userset) GetComputedUserset() ObjectRelation
GetComputedUserset returns the ComputedUserset field value if set, zero value otherwise.
func (*Userset) GetComputedUsersetOk ¶
func (o *Userset) GetComputedUsersetOk() (*ObjectRelation, bool)
GetComputedUsersetOk returns a tuple with the ComputedUserset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Userset) GetDifference ¶
func (o *Userset) GetDifference() Difference
GetDifference returns the Difference field value if set, zero value otherwise.
func (*Userset) GetDifferenceOk ¶
func (o *Userset) GetDifferenceOk() (*Difference, bool)
GetDifferenceOk returns a tuple with the Difference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Userset) GetIntersection ¶
GetIntersection returns the Intersection field value if set, zero value otherwise.
func (*Userset) GetIntersectionOk ¶
GetIntersectionOk returns a tuple with the Intersection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Userset) GetThisOk ¶
GetThisOk returns a tuple with the This field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Userset) GetTupleToUserset ¶
func (o *Userset) GetTupleToUserset() TupleToUserset
GetTupleToUserset returns the TupleToUserset field value if set, zero value otherwise.
func (*Userset) GetTupleToUsersetOk ¶
func (o *Userset) GetTupleToUsersetOk() (*TupleToUserset, bool)
GetTupleToUsersetOk returns a tuple with the TupleToUserset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Userset) GetUnionOk ¶
GetUnionOk returns a tuple with the Union field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Userset) HasComputedUserset ¶
HasComputedUserset returns a boolean if a field has been set.
func (*Userset) HasDifference ¶
HasDifference returns a boolean if a field has been set.
func (*Userset) HasIntersection ¶
HasIntersection returns a boolean if a field has been set.
func (*Userset) HasTupleToUserset ¶
HasTupleToUserset returns a boolean if a field has been set.
func (Userset) MarshalJSON ¶
func (*Userset) SetComputedUserset ¶
func (o *Userset) SetComputedUserset(v ObjectRelation)
SetComputedUserset gets a reference to the given ObjectRelation and assigns it to the ComputedUserset field.
func (*Userset) SetDifference ¶
func (o *Userset) SetDifference(v Difference)
SetDifference gets a reference to the given Difference and assigns it to the Difference field.
func (*Userset) SetIntersection ¶
SetIntersection gets a reference to the given Usersets and assigns it to the Intersection field.
func (*Userset) SetThis ¶
SetThis gets a reference to the given map[string]interface{} and assigns it to the This field.
func (*Userset) SetTupleToUserset ¶
func (o *Userset) SetTupleToUserset(v TupleToUserset)
SetTupleToUserset gets a reference to the given TupleToUserset and assigns it to the TupleToUserset field.
type UsersetTree ¶
type UsersetTree struct {
Root *Node `json:"root,omitempty"yaml:"root,omitempty"`
}
UsersetTree A UsersetTree contains the result of an Expansion.
func NewUsersetTree ¶
func NewUsersetTree() *UsersetTree
NewUsersetTree instantiates a new UsersetTree 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 NewUsersetTreeWithDefaults ¶
func NewUsersetTreeWithDefaults() *UsersetTree
NewUsersetTreeWithDefaults instantiates a new UsersetTree 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 (*UsersetTree) GetRoot ¶
func (o *UsersetTree) GetRoot() Node
GetRoot returns the Root field value if set, zero value otherwise.
func (*UsersetTree) GetRootOk ¶
func (o *UsersetTree) GetRootOk() (*Node, bool)
GetRootOk returns a tuple with the Root field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UsersetTree) HasRoot ¶
func (o *UsersetTree) HasRoot() bool
HasRoot returns a boolean if a field has been set.
func (UsersetTree) MarshalJSON ¶
func (o UsersetTree) MarshalJSON() ([]byte, error)
func (*UsersetTree) SetRoot ¶
func (o *UsersetTree) SetRoot(v Node)
SetRoot gets a reference to the given Node and assigns it to the Root field.
type UsersetTreeDifference ¶
type UsersetTreeDifference struct { Base Node `json:"base"yaml:"base"` Subtract Node `json:"subtract"yaml:"subtract"` }
UsersetTreeDifference struct for UsersetTreeDifference
func NewUsersetTreeDifference ¶
func NewUsersetTreeDifference(base Node, subtract Node) *UsersetTreeDifference
NewUsersetTreeDifference instantiates a new UsersetTreeDifference 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 NewUsersetTreeDifferenceWithDefaults ¶
func NewUsersetTreeDifferenceWithDefaults() *UsersetTreeDifference
NewUsersetTreeDifferenceWithDefaults instantiates a new UsersetTreeDifference 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 (*UsersetTreeDifference) GetBase ¶
func (o *UsersetTreeDifference) GetBase() Node
GetBase returns the Base field value
func (*UsersetTreeDifference) GetBaseOk ¶
func (o *UsersetTreeDifference) GetBaseOk() (*Node, bool)
GetBaseOk returns a tuple with the Base field value and a boolean to check if the value has been set.
func (*UsersetTreeDifference) GetSubtract ¶
func (o *UsersetTreeDifference) GetSubtract() Node
GetSubtract returns the Subtract field value
func (*UsersetTreeDifference) GetSubtractOk ¶
func (o *UsersetTreeDifference) GetSubtractOk() (*Node, bool)
GetSubtractOk returns a tuple with the Subtract field value and a boolean to check if the value has been set.
func (UsersetTreeDifference) MarshalJSON ¶
func (o UsersetTreeDifference) MarshalJSON() ([]byte, error)
func (*UsersetTreeDifference) SetBase ¶
func (o *UsersetTreeDifference) SetBase(v Node)
SetBase sets field value
func (*UsersetTreeDifference) SetSubtract ¶
func (o *UsersetTreeDifference) SetSubtract(v Node)
SetSubtract sets field value
type UsersetTreeTupleToUserset ¶
type UsersetTreeTupleToUserset struct { Tupleset string `json:"tupleset"yaml:"tupleset"` Computed []Computed `json:"computed"yaml:"computed"` }
UsersetTreeTupleToUserset struct for UsersetTreeTupleToUserset
func NewUsersetTreeTupleToUserset ¶
func NewUsersetTreeTupleToUserset(tupleset string, computed []Computed) *UsersetTreeTupleToUserset
NewUsersetTreeTupleToUserset instantiates a new UsersetTreeTupleToUserset 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 NewUsersetTreeTupleToUsersetWithDefaults ¶
func NewUsersetTreeTupleToUsersetWithDefaults() *UsersetTreeTupleToUserset
NewUsersetTreeTupleToUsersetWithDefaults instantiates a new UsersetTreeTupleToUserset 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 (*UsersetTreeTupleToUserset) GetComputed ¶
func (o *UsersetTreeTupleToUserset) GetComputed() []Computed
GetComputed returns the Computed field value
func (*UsersetTreeTupleToUserset) GetComputedOk ¶
func (o *UsersetTreeTupleToUserset) GetComputedOk() (*[]Computed, bool)
GetComputedOk returns a tuple with the Computed field value and a boolean to check if the value has been set.
func (*UsersetTreeTupleToUserset) GetTupleset ¶
func (o *UsersetTreeTupleToUserset) GetTupleset() string
GetTupleset returns the Tupleset field value
func (*UsersetTreeTupleToUserset) GetTuplesetOk ¶
func (o *UsersetTreeTupleToUserset) GetTuplesetOk() (*string, bool)
GetTuplesetOk returns a tuple with the Tupleset field value and a boolean to check if the value has been set.
func (UsersetTreeTupleToUserset) MarshalJSON ¶
func (o UsersetTreeTupleToUserset) MarshalJSON() ([]byte, error)
func (*UsersetTreeTupleToUserset) SetComputed ¶
func (o *UsersetTreeTupleToUserset) SetComputed(v []Computed)
SetComputed sets field value
func (*UsersetTreeTupleToUserset) SetTupleset ¶
func (o *UsersetTreeTupleToUserset) SetTupleset(v string)
SetTupleset sets field value
type UsersetUser ¶ added in v0.3.6
type UsersetUser struct { Type string `json:"type"yaml:"type"` Id string `json:"id"yaml:"id"` Relation string `json:"relation"yaml:"relation"` }
UsersetUser struct for UsersetUser
func NewUsersetUser ¶ added in v0.3.6
func NewUsersetUser(type_ string, id string, relation string) *UsersetUser
NewUsersetUser instantiates a new UsersetUser 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 NewUsersetUserWithDefaults ¶ added in v0.3.6
func NewUsersetUserWithDefaults() *UsersetUser
NewUsersetUserWithDefaults instantiates a new UsersetUser 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 (*UsersetUser) GetId ¶ added in v0.3.6
func (o *UsersetUser) GetId() string
GetId returns the Id field value
func (*UsersetUser) GetIdOk ¶ added in v0.3.6
func (o *UsersetUser) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UsersetUser) GetRelation ¶ added in v0.3.6
func (o *UsersetUser) GetRelation() string
GetRelation returns the Relation field value
func (*UsersetUser) GetRelationOk ¶ added in v0.3.6
func (o *UsersetUser) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*UsersetUser) GetType ¶ added in v0.3.6
func (o *UsersetUser) GetType() string
GetType returns the Type field value
func (*UsersetUser) GetTypeOk ¶ added in v0.3.6
func (o *UsersetUser) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (UsersetUser) MarshalJSON ¶ added in v0.3.6
func (o UsersetUser) MarshalJSON() ([]byte, error)
func (*UsersetUser) SetId ¶ added in v0.3.6
func (o *UsersetUser) SetId(v string)
SetId sets field value
func (*UsersetUser) SetRelation ¶ added in v0.3.6
func (o *UsersetUser) SetRelation(v string)
SetRelation sets field value
func (*UsersetUser) SetType ¶ added in v0.3.6
func (o *UsersetUser) SetType(v string)
SetType sets field value
type Usersets ¶
type Usersets struct {
Child []Userset `json:"child"yaml:"child"`
}
Usersets struct for Usersets
func NewUsersets ¶
NewUsersets instantiates a new Usersets 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 NewUsersetsWithDefaults ¶
func NewUsersetsWithDefaults() *Usersets
NewUsersetsWithDefaults instantiates a new Usersets 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 (*Usersets) GetChildOk ¶
GetChildOk returns a tuple with the Child field value and a boolean to check if the value has been set.
func (Usersets) MarshalJSON ¶
type ValidationErrorMessageResponse ¶
type ValidationErrorMessageResponse struct { Code *ErrorCode `json:"code,omitempty"yaml:"code,omitempty"` Message *string `json:"message,omitempty"yaml:"message,omitempty"` }
ValidationErrorMessageResponse struct for ValidationErrorMessageResponse
func NewValidationErrorMessageResponse ¶
func NewValidationErrorMessageResponse() *ValidationErrorMessageResponse
NewValidationErrorMessageResponse instantiates a new ValidationErrorMessageResponse 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 NewValidationErrorMessageResponseWithDefaults ¶
func NewValidationErrorMessageResponseWithDefaults() *ValidationErrorMessageResponse
NewValidationErrorMessageResponseWithDefaults instantiates a new ValidationErrorMessageResponse 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 (*ValidationErrorMessageResponse) GetCode ¶
func (o *ValidationErrorMessageResponse) GetCode() ErrorCode
GetCode returns the Code field value if set, zero value otherwise.
func (*ValidationErrorMessageResponse) GetCodeOk ¶
func (o *ValidationErrorMessageResponse) GetCodeOk() (*ErrorCode, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationErrorMessageResponse) GetMessage ¶
func (o *ValidationErrorMessageResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ValidationErrorMessageResponse) GetMessageOk ¶
func (o *ValidationErrorMessageResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidationErrorMessageResponse) HasCode ¶
func (o *ValidationErrorMessageResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ValidationErrorMessageResponse) HasMessage ¶
func (o *ValidationErrorMessageResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ValidationErrorMessageResponse) MarshalJSON ¶
func (o ValidationErrorMessageResponse) MarshalJSON() ([]byte, error)
func (*ValidationErrorMessageResponse) SetCode ¶
func (o *ValidationErrorMessageResponse) SetCode(v ErrorCode)
SetCode gets a reference to the given ErrorCode and assigns it to the Code field.
func (*ValidationErrorMessageResponse) SetMessage ¶
func (o *ValidationErrorMessageResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type WriteAssertionsRequest ¶
type WriteAssertionsRequest struct {
Assertions []Assertion `json:"assertions"yaml:"assertions"`
}
WriteAssertionsRequest struct for WriteAssertionsRequest
func NewWriteAssertionsRequest ¶
func NewWriteAssertionsRequest(assertions []Assertion) *WriteAssertionsRequest
NewWriteAssertionsRequest instantiates a new WriteAssertionsRequest 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 NewWriteAssertionsRequestWithDefaults ¶
func NewWriteAssertionsRequestWithDefaults() *WriteAssertionsRequest
NewWriteAssertionsRequestWithDefaults instantiates a new WriteAssertionsRequest 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 (*WriteAssertionsRequest) GetAssertions ¶
func (o *WriteAssertionsRequest) GetAssertions() []Assertion
GetAssertions returns the Assertions field value
func (*WriteAssertionsRequest) GetAssertionsOk ¶
func (o *WriteAssertionsRequest) GetAssertionsOk() (*[]Assertion, bool)
GetAssertionsOk returns a tuple with the Assertions field value and a boolean to check if the value has been set.
func (WriteAssertionsRequest) MarshalJSON ¶
func (o WriteAssertionsRequest) MarshalJSON() ([]byte, error)
func (*WriteAssertionsRequest) SetAssertions ¶
func (o *WriteAssertionsRequest) SetAssertions(v []Assertion)
SetAssertions sets field value
type WriteAuthorizationModelRequest ¶ added in v0.1.0
type WriteAuthorizationModelRequest struct { TypeDefinitions []TypeDefinition `json:"type_definitions"yaml:"type_definitions"` SchemaVersion string `json:"schema_version"yaml:"schema_version"` Conditions *map[string]Condition `json:"conditions,omitempty"yaml:"conditions,omitempty"` }
WriteAuthorizationModelRequest struct for WriteAuthorizationModelRequest
func NewWriteAuthorizationModelRequest ¶ added in v0.1.0
func NewWriteAuthorizationModelRequest(typeDefinitions []TypeDefinition, schemaVersion string) *WriteAuthorizationModelRequest
NewWriteAuthorizationModelRequest instantiates a new WriteAuthorizationModelRequest 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 NewWriteAuthorizationModelRequestWithDefaults ¶ added in v0.1.0
func NewWriteAuthorizationModelRequestWithDefaults() *WriteAuthorizationModelRequest
NewWriteAuthorizationModelRequestWithDefaults instantiates a new WriteAuthorizationModelRequest 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 (*WriteAuthorizationModelRequest) GetConditions ¶ added in v0.3.0
func (o *WriteAuthorizationModelRequest) GetConditions() map[string]Condition
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*WriteAuthorizationModelRequest) GetConditionsOk ¶ added in v0.3.0
func (o *WriteAuthorizationModelRequest) GetConditionsOk() (*map[string]Condition, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteAuthorizationModelRequest) GetSchemaVersion ¶ added in v0.1.0
func (o *WriteAuthorizationModelRequest) GetSchemaVersion() string
GetSchemaVersion returns the SchemaVersion field value
func (*WriteAuthorizationModelRequest) GetSchemaVersionOk ¶ added in v0.1.0
func (o *WriteAuthorizationModelRequest) GetSchemaVersionOk() (*string, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value and a boolean to check if the value has been set.
func (*WriteAuthorizationModelRequest) GetTypeDefinitions ¶ added in v0.1.0
func (o *WriteAuthorizationModelRequest) GetTypeDefinitions() []TypeDefinition
GetTypeDefinitions returns the TypeDefinitions field value
func (*WriteAuthorizationModelRequest) GetTypeDefinitionsOk ¶ added in v0.1.0
func (o *WriteAuthorizationModelRequest) GetTypeDefinitionsOk() (*[]TypeDefinition, bool)
GetTypeDefinitionsOk returns a tuple with the TypeDefinitions field value and a boolean to check if the value has been set.
func (*WriteAuthorizationModelRequest) HasConditions ¶ added in v0.3.0
func (o *WriteAuthorizationModelRequest) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (WriteAuthorizationModelRequest) MarshalJSON ¶ added in v0.1.0
func (o WriteAuthorizationModelRequest) MarshalJSON() ([]byte, error)
func (*WriteAuthorizationModelRequest) SetConditions ¶ added in v0.3.0
func (o *WriteAuthorizationModelRequest) SetConditions(v map[string]Condition)
SetConditions gets a reference to the given map[string]Condition and assigns it to the Conditions field.
func (*WriteAuthorizationModelRequest) SetSchemaVersion ¶ added in v0.1.0
func (o *WriteAuthorizationModelRequest) SetSchemaVersion(v string)
SetSchemaVersion sets field value
func (*WriteAuthorizationModelRequest) SetTypeDefinitions ¶ added in v0.1.0
func (o *WriteAuthorizationModelRequest) SetTypeDefinitions(v []TypeDefinition)
SetTypeDefinitions sets field value
type WriteAuthorizationModelResponse ¶
type WriteAuthorizationModelResponse struct {
AuthorizationModelId string `json:"authorization_model_id"yaml:"authorization_model_id"`
}
WriteAuthorizationModelResponse struct for WriteAuthorizationModelResponse
func NewWriteAuthorizationModelResponse ¶
func NewWriteAuthorizationModelResponse(authorizationModelId string) *WriteAuthorizationModelResponse
NewWriteAuthorizationModelResponse instantiates a new WriteAuthorizationModelResponse 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 NewWriteAuthorizationModelResponseWithDefaults ¶
func NewWriteAuthorizationModelResponseWithDefaults() *WriteAuthorizationModelResponse
NewWriteAuthorizationModelResponseWithDefaults instantiates a new WriteAuthorizationModelResponse 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 (*WriteAuthorizationModelResponse) GetAuthorizationModelId ¶
func (o *WriteAuthorizationModelResponse) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value
func (*WriteAuthorizationModelResponse) GetAuthorizationModelIdOk ¶
func (o *WriteAuthorizationModelResponse) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value and a boolean to check if the value has been set.
func (WriteAuthorizationModelResponse) MarshalJSON ¶
func (o WriteAuthorizationModelResponse) MarshalJSON() ([]byte, error)
func (*WriteAuthorizationModelResponse) SetAuthorizationModelId ¶
func (o *WriteAuthorizationModelResponse) SetAuthorizationModelId(v string)
SetAuthorizationModelId sets field value
type WriteRequest ¶
type WriteRequest struct { Writes *WriteRequestWrites `json:"writes,omitempty"yaml:"writes,omitempty"` Deletes *WriteRequestDeletes `json:"deletes,omitempty"yaml:"deletes,omitempty"` AuthorizationModelId *string `json:"authorization_model_id,omitempty"yaml:"authorization_model_id,omitempty"` }
WriteRequest struct for WriteRequest
func NewWriteRequest ¶
func NewWriteRequest() *WriteRequest
NewWriteRequest instantiates a new WriteRequest 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 NewWriteRequestWithDefaults ¶
func NewWriteRequestWithDefaults() *WriteRequest
NewWriteRequestWithDefaults instantiates a new WriteRequest 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 (*WriteRequest) GetAuthorizationModelId ¶
func (o *WriteRequest) GetAuthorizationModelId() string
GetAuthorizationModelId returns the AuthorizationModelId field value if set, zero value otherwise.
func (*WriteRequest) GetAuthorizationModelIdOk ¶
func (o *WriteRequest) GetAuthorizationModelIdOk() (*string, bool)
GetAuthorizationModelIdOk returns a tuple with the AuthorizationModelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteRequest) GetDeletes ¶
func (o *WriteRequest) GetDeletes() WriteRequestDeletes
GetDeletes returns the Deletes field value if set, zero value otherwise.
func (*WriteRequest) GetDeletesOk ¶
func (o *WriteRequest) GetDeletesOk() (*WriteRequestDeletes, bool)
GetDeletesOk returns a tuple with the Deletes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteRequest) GetWrites ¶
func (o *WriteRequest) GetWrites() WriteRequestWrites
GetWrites returns the Writes field value if set, zero value otherwise.
func (*WriteRequest) GetWritesOk ¶
func (o *WriteRequest) GetWritesOk() (*WriteRequestWrites, bool)
GetWritesOk returns a tuple with the Writes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WriteRequest) HasAuthorizationModelId ¶
func (o *WriteRequest) HasAuthorizationModelId() bool
HasAuthorizationModelId returns a boolean if a field has been set.
func (*WriteRequest) HasDeletes ¶
func (o *WriteRequest) HasDeletes() bool
HasDeletes returns a boolean if a field has been set.
func (*WriteRequest) HasWrites ¶
func (o *WriteRequest) HasWrites() bool
HasWrites returns a boolean if a field has been set.
func (WriteRequest) MarshalJSON ¶
func (o WriteRequest) MarshalJSON() ([]byte, error)
func (*WriteRequest) SetAuthorizationModelId ¶
func (o *WriteRequest) SetAuthorizationModelId(v string)
SetAuthorizationModelId gets a reference to the given string and assigns it to the AuthorizationModelId field.
func (*WriteRequest) SetDeletes ¶
func (o *WriteRequest) SetDeletes(v WriteRequestDeletes)
SetDeletes gets a reference to the given WriteRequestDeletes and assigns it to the Deletes field.
func (*WriteRequest) SetWrites ¶
func (o *WriteRequest) SetWrites(v WriteRequestWrites)
SetWrites gets a reference to the given WriteRequestWrites and assigns it to the Writes field.
type WriteRequestDeletes ¶ added in v0.3.0
type WriteRequestDeletes struct {
TupleKeys []TupleKeyWithoutCondition `json:"tuple_keys"yaml:"tuple_keys"`
}
WriteRequestDeletes struct for WriteRequestDeletes
func NewWriteRequestDeletes ¶ added in v0.3.0
func NewWriteRequestDeletes(tupleKeys []TupleKeyWithoutCondition) *WriteRequestDeletes
NewWriteRequestDeletes instantiates a new WriteRequestDeletes 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 NewWriteRequestDeletesWithDefaults ¶ added in v0.3.0
func NewWriteRequestDeletesWithDefaults() *WriteRequestDeletes
NewWriteRequestDeletesWithDefaults instantiates a new WriteRequestDeletes 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 (*WriteRequestDeletes) GetTupleKeys ¶ added in v0.3.0
func (o *WriteRequestDeletes) GetTupleKeys() []TupleKeyWithoutCondition
GetTupleKeys returns the TupleKeys field value
func (*WriteRequestDeletes) GetTupleKeysOk ¶ added in v0.3.0
func (o *WriteRequestDeletes) GetTupleKeysOk() (*[]TupleKeyWithoutCondition, bool)
GetTupleKeysOk returns a tuple with the TupleKeys field value and a boolean to check if the value has been set.
func (WriteRequestDeletes) MarshalJSON ¶ added in v0.3.0
func (o WriteRequestDeletes) MarshalJSON() ([]byte, error)
func (*WriteRequestDeletes) SetTupleKeys ¶ added in v0.3.0
func (o *WriteRequestDeletes) SetTupleKeys(v []TupleKeyWithoutCondition)
SetTupleKeys sets field value
type WriteRequestWrites ¶ added in v0.3.0
type WriteRequestWrites struct {
TupleKeys []TupleKey `json:"tuple_keys"yaml:"tuple_keys"`
}
WriteRequestWrites struct for WriteRequestWrites
func NewWriteRequestWrites ¶ added in v0.3.0
func NewWriteRequestWrites(tupleKeys []TupleKey) *WriteRequestWrites
NewWriteRequestWrites instantiates a new WriteRequestWrites 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 NewWriteRequestWritesWithDefaults ¶ added in v0.3.0
func NewWriteRequestWritesWithDefaults() *WriteRequestWrites
NewWriteRequestWritesWithDefaults instantiates a new WriteRequestWrites 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 (*WriteRequestWrites) GetTupleKeys ¶ added in v0.3.0
func (o *WriteRequestWrites) GetTupleKeys() []TupleKey
GetTupleKeys returns the TupleKeys field value
func (*WriteRequestWrites) GetTupleKeysOk ¶ added in v0.3.0
func (o *WriteRequestWrites) GetTupleKeysOk() (*[]TupleKey, bool)
GetTupleKeysOk returns a tuple with the TupleKeys field value and a boolean to check if the value has been set.
func (WriteRequestWrites) MarshalJSON ¶ added in v0.3.0
func (o WriteRequestWrites) MarshalJSON() ([]byte, error)
func (*WriteRequestWrites) SetTupleKeys ¶ added in v0.3.0
func (o *WriteRequestWrites) SetTupleKeys(v []TupleKey)
SetTupleKeys sets field value
Source Files ¶
- api_client.go
- api_open_fga.go
- configuration.go
- model_aborted_message_response.go
- model_any.go
- model_assertion.go
- model_assertion_tuple_key.go
- model_authorization_model.go
- model_check_request.go
- model_check_request_tuple_key.go
- model_check_response.go
- model_computed.go
- model_condition.go
- model_condition_metadata.go
- model_condition_param_type_ref.go
- model_contextual_tuple_keys.go
- model_create_store_request.go
- model_create_store_response.go
- model_difference.go
- model_error_code.go
- model_expand_request.go
- model_expand_request_tuple_key.go
- model_expand_response.go
- model_fga_object.go
- model_get_store_response.go
- model_internal_error_code.go
- model_internal_error_message_response.go
- model_leaf.go
- model_list_objects_request.go
- model_list_objects_response.go
- model_list_stores_response.go
- model_list_users_request.go
- model_list_users_response.go
- model_metadata.go
- model_node.go
- model_nodes.go
- model_not_found_error_code.go
- model_null_value.go
- model_object_or_userset.go
- model_object_relation.go
- model_path_unknown_error_message_response.go
- model_read_assertions_response.go
- model_read_authorization_model_response.go
- model_read_authorization_models_response.go
- model_read_changes_response.go
- model_read_request.go
- model_read_request_tuple_key.go
- model_read_response.go
- model_relation_metadata.go
- model_relation_reference.go
- model_relationship_condition.go
- model_source_info.go
- model_status.go
- model_store.go
- model_tuple.go
- model_tuple_change.go
- model_tuple_key.go
- model_tuple_key_without_condition.go
- model_tuple_operation.go
- model_tuple_to_userset.go
- model_type_definition.go
- model_type_name.go
- model_typed_wildcard.go
- model_unprocessable_content_error_code.go
- model_unprocessable_content_message_response.go
- model_user.go
- model_user_type_filter.go
- model_users.go
- model_userset.go
- model_userset_tree.go
- model_userset_tree_difference.go
- model_userset_tree_tuple_to_userset.go
- model_userset_user.go
- model_usersets.go
- model_validation_error_message_response.go
- model_write_assertions_request.go
- model_write_authorization_model_request.go
- model_write_authorization_model_response.go
- model_write_request.go
- model_write_request_deletes.go
- model_write_request_writes.go
- response.go
- utils.go
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests, as specified in RFC 6749.
|
Package oauth2 provides support for making OAuth2 authorized and authenticated HTTP requests, as specified in RFC 6749. |
clientcredentials
Package clientcredentials implements the OAuth2.0 "client credentials" token flow, also known as the "two-legged OAuth 2.0".
|
Package clientcredentials implements the OAuth2.0 "client credentials" token flow, also known as the "two-legged OAuth 2.0". |
internal
Package internal contains support packages for oauth2 package.
|
Package internal contains support packages for oauth2 package. |