Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- 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 APIKey
- type APIResponse
- type BasicAuth
- type Configuration
- type ExpandTree
- func (o *ExpandTree) GetChildren() []ExpandTree
- func (o *ExpandTree) GetChildrenOk() ([]ExpandTree, bool)
- func (o *ExpandTree) GetTuple() RelationTuple
- func (o *ExpandTree) GetTupleOk() (*RelationTuple, bool)
- func (o *ExpandTree) GetType() string
- func (o *ExpandTree) GetTypeOk() (*string, bool)
- func (o *ExpandTree) HasChildren() bool
- func (o *ExpandTree) HasTuple() bool
- func (o ExpandTree) MarshalJSON() ([]byte, error)
- func (o *ExpandTree) SetChildren(v []ExpandTree)
- func (o *ExpandTree) SetTuple(v RelationTuple)
- func (o *ExpandTree) SetType(v string)
- type GenericError
- func (o *GenericError) GetCode() int64
- func (o *GenericError) GetCodeOk() (*int64, bool)
- func (o *GenericError) GetDetails() []map[string]interface{}
- func (o *GenericError) GetDetailsOk() ([]map[string]interface{}, bool)
- func (o *GenericError) GetMessage() string
- func (o *GenericError) GetMessageOk() (*string, bool)
- func (o *GenericError) GetReason() string
- func (o *GenericError) GetReasonOk() (*string, bool)
- func (o *GenericError) GetRequest() string
- func (o *GenericError) GetRequestOk() (*string, bool)
- func (o *GenericError) GetStatus() string
- func (o *GenericError) GetStatusOk() (*string, bool)
- func (o *GenericError) HasCode() bool
- func (o *GenericError) HasDetails() bool
- func (o *GenericError) HasMessage() bool
- func (o *GenericError) HasReason() bool
- func (o *GenericError) HasRequest() bool
- func (o *GenericError) HasStatus() bool
- func (o GenericError) MarshalJSON() ([]byte, error)
- func (o *GenericError) SetCode(v int64)
- func (o *GenericError) SetDetails(v []map[string]interface{})
- func (o *GenericError) SetMessage(v string)
- func (o *GenericError) SetReason(v string)
- func (o *GenericError) SetRequest(v string)
- func (o *GenericError) SetStatus(v string)
- type GenericOpenAPIError
- type GetCheckResponse
- type GetRelationTuplesResponse
- func (o *GetRelationTuplesResponse) GetNextPageToken() string
- func (o *GetRelationTuplesResponse) GetNextPageTokenOk() (*string, bool)
- func (o *GetRelationTuplesResponse) GetRelationTuples() []RelationTuple
- func (o *GetRelationTuplesResponse) GetRelationTuplesOk() ([]RelationTuple, bool)
- func (o *GetRelationTuplesResponse) HasNextPageToken() bool
- func (o *GetRelationTuplesResponse) HasRelationTuples() bool
- func (o GetRelationTuplesResponse) MarshalJSON() ([]byte, error)
- func (o *GetRelationTuplesResponse) SetNextPageToken(v string)
- func (o *GetRelationTuplesResponse) SetRelationTuples(v []RelationTuple)
- type HealthNotReadyStatus
- func (o *HealthNotReadyStatus) GetErrors() map[string]string
- func (o *HealthNotReadyStatus) GetErrorsOk() (*map[string]string, bool)
- func (o *HealthNotReadyStatus) HasErrors() bool
- func (o HealthNotReadyStatus) MarshalJSON() ([]byte, error)
- func (o *HealthNotReadyStatus) SetErrors(v map[string]string)
- type HealthStatus
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse503
- type MetadataApi
- type MetadataApiApiGetVersionRequest
- type MetadataApiApiIsAliveRequest
- type MetadataApiApiIsReadyRequest
- type MetadataApiService
- func (a *MetadataApiService) GetVersion(ctx context.Context) MetadataApiApiGetVersionRequest
- func (a *MetadataApiService) GetVersionExecute(r MetadataApiApiGetVersionRequest) (*InlineResponse2001, *http.Response, error)
- func (a *MetadataApiService) IsAlive(ctx context.Context) MetadataApiApiIsAliveRequest
- func (a *MetadataApiService) IsAliveExecute(r MetadataApiApiIsAliveRequest) (*InlineResponse200, *http.Response, error)
- func (a *MetadataApiService) IsReady(ctx context.Context) MetadataApiApiIsReadyRequest
- func (a *MetadataApiService) IsReadyExecute(r MetadataApiApiIsReadyRequest) (*InlineResponse200, *http.Response, error)
- type NullableBool
- type NullableExpandTree
- type NullableFloat32
- type NullableFloat64
- type NullableGenericError
- func (v NullableGenericError) Get() *GenericError
- func (v NullableGenericError) IsSet() bool
- func (v NullableGenericError) MarshalJSON() ([]byte, error)
- func (v *NullableGenericError) Set(val *GenericError)
- func (v *NullableGenericError) UnmarshalJSON(src []byte) error
- func (v *NullableGenericError) Unset()
- type NullableGetCheckResponse
- func (v NullableGetCheckResponse) Get() *GetCheckResponse
- func (v NullableGetCheckResponse) IsSet() bool
- func (v NullableGetCheckResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCheckResponse) Set(val *GetCheckResponse)
- func (v *NullableGetCheckResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCheckResponse) Unset()
- type NullableGetRelationTuplesResponse
- func (v NullableGetRelationTuplesResponse) Get() *GetRelationTuplesResponse
- func (v NullableGetRelationTuplesResponse) IsSet() bool
- func (v NullableGetRelationTuplesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetRelationTuplesResponse) Set(val *GetRelationTuplesResponse)
- func (v *NullableGetRelationTuplesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetRelationTuplesResponse) Unset()
- type NullableHealthNotReadyStatus
- func (v NullableHealthNotReadyStatus) Get() *HealthNotReadyStatus
- func (v NullableHealthNotReadyStatus) IsSet() bool
- func (v NullableHealthNotReadyStatus) MarshalJSON() ([]byte, error)
- func (v *NullableHealthNotReadyStatus) Set(val *HealthNotReadyStatus)
- func (v *NullableHealthNotReadyStatus) UnmarshalJSON(src []byte) error
- func (v *NullableHealthNotReadyStatus) Unset()
- type NullableHealthStatus
- func (v NullableHealthStatus) Get() *HealthStatus
- func (v NullableHealthStatus) IsSet() bool
- func (v NullableHealthStatus) MarshalJSON() ([]byte, error)
- func (v *NullableHealthStatus) Set(val *HealthStatus)
- func (v *NullableHealthStatus) UnmarshalJSON(src []byte) error
- func (v *NullableHealthStatus) Unset()
- type NullableInlineResponse200
- func (v NullableInlineResponse200) Get() *InlineResponse200
- func (v NullableInlineResponse200) IsSet() bool
- func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse200) Set(val *InlineResponse200)
- func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse200) Unset()
- type NullableInlineResponse2001
- func (v NullableInlineResponse2001) Get() *InlineResponse2001
- func (v NullableInlineResponse2001) IsSet() bool
- func (v NullableInlineResponse2001) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2001) Set(val *InlineResponse2001)
- func (v *NullableInlineResponse2001) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2001) Unset()
- type NullableInlineResponse503
- func (v NullableInlineResponse503) Get() *InlineResponse503
- func (v NullableInlineResponse503) IsSet() bool
- func (v NullableInlineResponse503) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse503) Set(val *InlineResponse503)
- func (v *NullableInlineResponse503) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse503) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePatchDelta
- type NullableRelationQuery
- func (v NullableRelationQuery) Get() *RelationQuery
- func (v NullableRelationQuery) IsSet() bool
- func (v NullableRelationQuery) MarshalJSON() ([]byte, error)
- func (v *NullableRelationQuery) Set(val *RelationQuery)
- func (v *NullableRelationQuery) UnmarshalJSON(src []byte) error
- func (v *NullableRelationQuery) Unset()
- type NullableRelationTuple
- func (v NullableRelationTuple) Get() *RelationTuple
- func (v NullableRelationTuple) IsSet() bool
- func (v NullableRelationTuple) MarshalJSON() ([]byte, error)
- func (v *NullableRelationTuple) Set(val *RelationTuple)
- func (v *NullableRelationTuple) UnmarshalJSON(src []byte) error
- func (v *NullableRelationTuple) Unset()
- type NullableString
- type NullableSubjectSet
- type NullableTime
- type NullableVersion
- type PatchDelta
- func (o *PatchDelta) GetAction() string
- func (o *PatchDelta) GetActionOk() (*string, bool)
- func (o *PatchDelta) GetRelationTuple() RelationTuple
- func (o *PatchDelta) GetRelationTupleOk() (*RelationTuple, bool)
- func (o *PatchDelta) HasAction() bool
- func (o *PatchDelta) HasRelationTuple() bool
- func (o PatchDelta) MarshalJSON() ([]byte, error)
- func (o *PatchDelta) SetAction(v string)
- func (o *PatchDelta) SetRelationTuple(v RelationTuple)
- type ReadApi
- type ReadApiApiGetCheckMirrorStatusRequest
- type ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) Execute() (*GetCheckResponse, *http.Response, error)
- func (r ReadApiApiGetCheckRequest) MaxDepth(maxDepth int64) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) Namespace(namespace string) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) Object(object string) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) Relation(relation string) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) SubjectId(subjectId string) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) SubjectSetNamespace(subjectSetNamespace string) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) SubjectSetObject(subjectSetObject string) ReadApiApiGetCheckRequest
- func (r ReadApiApiGetCheckRequest) SubjectSetRelation(subjectSetRelation string) ReadApiApiGetCheckRequest
- type ReadApiApiGetExpandRequest
- func (r ReadApiApiGetExpandRequest) Execute() (*ExpandTree, *http.Response, error)
- func (r ReadApiApiGetExpandRequest) MaxDepth(maxDepth int64) ReadApiApiGetExpandRequest
- func (r ReadApiApiGetExpandRequest) Namespace(namespace string) ReadApiApiGetExpandRequest
- func (r ReadApiApiGetExpandRequest) Object(object string) ReadApiApiGetExpandRequest
- func (r ReadApiApiGetExpandRequest) Relation(relation string) ReadApiApiGetExpandRequest
- type ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) Execute() (*GetRelationTuplesResponse, *http.Response, error)
- func (r ReadApiApiGetRelationTuplesRequest) Namespace(namespace string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) Object(object string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) PageSize(pageSize int64) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) PageToken(pageToken string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) Relation(relation string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) SubjectId(subjectId string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) SubjectSetNamespace(subjectSetNamespace string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) SubjectSetObject(subjectSetObject string) ReadApiApiGetRelationTuplesRequest
- func (r ReadApiApiGetRelationTuplesRequest) SubjectSetRelation(subjectSetRelation string) ReadApiApiGetRelationTuplesRequest
- type ReadApiApiPostCheckMirrorStatusRequest
- type ReadApiApiPostCheckRequest
- type ReadApiService
- func (a *ReadApiService) GetCheck(ctx context.Context) ReadApiApiGetCheckRequest
- func (a *ReadApiService) GetCheckExecute(r ReadApiApiGetCheckRequest) (*GetCheckResponse, *http.Response, error)
- func (a *ReadApiService) GetCheckMirrorStatus(ctx context.Context) ReadApiApiGetCheckMirrorStatusRequest
- func (a *ReadApiService) GetCheckMirrorStatusExecute(r ReadApiApiGetCheckMirrorStatusRequest) (*GetCheckResponse, *http.Response, error)
- func (a *ReadApiService) GetExpand(ctx context.Context) ReadApiApiGetExpandRequest
- func (a *ReadApiService) GetExpandExecute(r ReadApiApiGetExpandRequest) (*ExpandTree, *http.Response, error)
- func (a *ReadApiService) GetRelationTuples(ctx context.Context) ReadApiApiGetRelationTuplesRequest
- func (a *ReadApiService) GetRelationTuplesExecute(r ReadApiApiGetRelationTuplesRequest) (*GetRelationTuplesResponse, *http.Response, error)
- func (a *ReadApiService) PostCheck(ctx context.Context) ReadApiApiPostCheckRequest
- func (a *ReadApiService) PostCheckExecute(r ReadApiApiPostCheckRequest) (*GetCheckResponse, *http.Response, error)
- func (a *ReadApiService) PostCheckMirrorStatus(ctx context.Context) ReadApiApiPostCheckMirrorStatusRequest
- func (a *ReadApiService) PostCheckMirrorStatusExecute(r ReadApiApiPostCheckMirrorStatusRequest) (*GetCheckResponse, *http.Response, error)
- type RelationQuery
- func (o *RelationQuery) GetNamespace() string
- func (o *RelationQuery) GetNamespaceOk() (*string, bool)
- func (o *RelationQuery) GetObject() string
- func (o *RelationQuery) GetObjectOk() (*string, bool)
- func (o *RelationQuery) GetRelation() string
- func (o *RelationQuery) GetRelationOk() (*string, bool)
- func (o *RelationQuery) GetSubjectId() string
- func (o *RelationQuery) GetSubjectIdOk() (*string, bool)
- func (o *RelationQuery) GetSubjectSet() SubjectSet
- func (o *RelationQuery) GetSubjectSetOk() (*SubjectSet, bool)
- func (o *RelationQuery) HasNamespace() bool
- func (o *RelationQuery) HasObject() bool
- func (o *RelationQuery) HasRelation() bool
- func (o *RelationQuery) HasSubjectId() bool
- func (o *RelationQuery) HasSubjectSet() bool
- func (o RelationQuery) MarshalJSON() ([]byte, error)
- func (o *RelationQuery) SetNamespace(v string)
- func (o *RelationQuery) SetObject(v string)
- func (o *RelationQuery) SetRelation(v string)
- func (o *RelationQuery) SetSubjectId(v string)
- func (o *RelationQuery) SetSubjectSet(v SubjectSet)
- type RelationTuple
- func (o *RelationTuple) GetNamespace() string
- func (o *RelationTuple) GetNamespaceOk() (*string, bool)
- func (o *RelationTuple) GetObject() string
- func (o *RelationTuple) GetObjectOk() (*string, bool)
- func (o *RelationTuple) GetRelation() string
- func (o *RelationTuple) GetRelationOk() (*string, bool)
- func (o *RelationTuple) GetSubjectId() string
- func (o *RelationTuple) GetSubjectIdOk() (*string, bool)
- func (o *RelationTuple) GetSubjectSet() SubjectSet
- func (o *RelationTuple) GetSubjectSetOk() (*SubjectSet, bool)
- func (o *RelationTuple) HasSubjectId() bool
- func (o *RelationTuple) HasSubjectSet() bool
- func (o RelationTuple) MarshalJSON() ([]byte, error)
- func (o *RelationTuple) SetNamespace(v string)
- func (o *RelationTuple) SetObject(v string)
- func (o *RelationTuple) SetRelation(v string)
- func (o *RelationTuple) SetSubjectId(v string)
- func (o *RelationTuple) SetSubjectSet(v SubjectSet)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SubjectSet
- func (o *SubjectSet) GetNamespace() string
- func (o *SubjectSet) GetNamespaceOk() (*string, bool)
- func (o *SubjectSet) GetObject() string
- func (o *SubjectSet) GetObjectOk() (*string, bool)
- func (o *SubjectSet) GetRelation() string
- func (o *SubjectSet) GetRelationOk() (*string, bool)
- func (o SubjectSet) MarshalJSON() ([]byte, error)
- func (o *SubjectSet) SetNamespace(v string)
- func (o *SubjectSet) SetObject(v string)
- func (o *SubjectSet) SetRelation(v string)
- type Version
- type WriteApi
- type WriteApiApiCreateRelationTupleRequest
- type WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) Execute() (*http.Response, error)
- func (r WriteApiApiDeleteRelationTuplesRequest) Namespace(namespace string) WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) Object(object string) WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) Relation(relation string) WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) SubjectId(subjectId string) WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) SubjectSetNamespace(subjectSetNamespace string) WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) SubjectSetObject(subjectSetObject string) WriteApiApiDeleteRelationTuplesRequest
- func (r WriteApiApiDeleteRelationTuplesRequest) SubjectSetRelation(subjectSetRelation string) WriteApiApiDeleteRelationTuplesRequest
- type WriteApiApiPatchRelationTuplesRequest
- type WriteApiService
- func (a *WriteApiService) CreateRelationTuple(ctx context.Context) WriteApiApiCreateRelationTupleRequest
- func (a *WriteApiService) CreateRelationTupleExecute(r WriteApiApiCreateRelationTupleRequest) (*RelationQuery, *http.Response, error)
- func (a *WriteApiService) DeleteRelationTuples(ctx context.Context) WriteApiApiDeleteRelationTuplesRequest
- func (a *WriteApiService) DeleteRelationTuplesExecute(r WriteApiApiDeleteRelationTuplesRequest) (*http.Response, error)
- func (a *WriteApiService) PatchRelationTuples(ctx context.Context) WriteApiApiPatchRelationTuplesRequest
- func (a *WriteApiService) PatchRelationTuplesExecute(r WriteApiApiPatchRelationTuplesRequest) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
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 { MetadataApi MetadataApi ReadApi ReadApi WriteApi WriteApi // contains filtered or unexported fields }
APIClient manages communication with the Ory Keto API API v1.0.0 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
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
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 APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ExpandTree ¶
type ExpandTree struct { // The children of the node, possibly none. Children []ExpandTree `json:"children,omitempty"` Tuple *RelationTuple `json:"tuple,omitempty"` // The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified Type string `json:"type"` }
ExpandTree struct for ExpandTree
func NewExpandTree ¶
func NewExpandTree(type_ string) *ExpandTree
NewExpandTree instantiates a new ExpandTree 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 NewExpandTreeWithDefaults ¶
func NewExpandTreeWithDefaults() *ExpandTree
NewExpandTreeWithDefaults instantiates a new ExpandTree 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 (*ExpandTree) GetChildren ¶
func (o *ExpandTree) GetChildren() []ExpandTree
GetChildren returns the Children field value if set, zero value otherwise.
func (*ExpandTree) GetChildrenOk ¶
func (o *ExpandTree) GetChildrenOk() ([]ExpandTree, bool)
GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpandTree) GetTuple ¶
func (o *ExpandTree) GetTuple() RelationTuple
GetTuple returns the Tuple field value if set, zero value otherwise.
func (*ExpandTree) GetTupleOk ¶
func (o *ExpandTree) GetTupleOk() (*RelationTuple, bool)
GetTupleOk returns a tuple with the Tuple field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExpandTree) GetType ¶
func (o *ExpandTree) GetType() string
GetType returns the Type field value
func (*ExpandTree) GetTypeOk ¶
func (o *ExpandTree) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ExpandTree) HasChildren ¶
func (o *ExpandTree) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (*ExpandTree) HasTuple ¶
func (o *ExpandTree) HasTuple() bool
HasTuple returns a boolean if a field has been set.
func (ExpandTree) MarshalJSON ¶
func (o ExpandTree) MarshalJSON() ([]byte, error)
func (*ExpandTree) SetChildren ¶
func (o *ExpandTree) SetChildren(v []ExpandTree)
SetChildren gets a reference to the given []ExpandTree and assigns it to the Children field.
func (*ExpandTree) SetTuple ¶
func (o *ExpandTree) SetTuple(v RelationTuple)
SetTuple gets a reference to the given RelationTuple and assigns it to the Tuple field.
type GenericError ¶
type GenericError struct { Code *int64 `json:"code,omitempty"` Details []map[string]interface{} `json:"details,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Request *string `json:"request,omitempty"` Status *string `json:"status,omitempty"` }
GenericError The standard error format
func NewGenericError ¶
func NewGenericError() *GenericError
NewGenericError instantiates a new GenericError 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 NewGenericErrorWithDefaults ¶
func NewGenericErrorWithDefaults() *GenericError
NewGenericErrorWithDefaults instantiates a new GenericError 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 (*GenericError) GetCode ¶
func (o *GenericError) GetCode() int64
GetCode returns the Code field value if set, zero value otherwise.
func (*GenericError) GetCodeOk ¶
func (o *GenericError) GetCodeOk() (*int64, 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 (*GenericError) GetDetails ¶
func (o *GenericError) GetDetails() []map[string]interface{}
GetDetails returns the Details field value if set, zero value otherwise.
func (*GenericError) GetDetailsOk ¶
func (o *GenericError) GetDetailsOk() ([]map[string]interface{}, bool)
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 (*GenericError) GetMessage ¶
func (o *GenericError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*GenericError) GetMessageOk ¶
func (o *GenericError) 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 (*GenericError) GetReason ¶
func (o *GenericError) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*GenericError) GetReasonOk ¶
func (o *GenericError) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenericError) GetRequest ¶
func (o *GenericError) GetRequest() string
GetRequest returns the Request field value if set, zero value otherwise.
func (*GenericError) GetRequestOk ¶
func (o *GenericError) GetRequestOk() (*string, bool)
GetRequestOk returns a tuple with the Request field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenericError) GetStatus ¶
func (o *GenericError) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*GenericError) GetStatusOk ¶
func (o *GenericError) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GenericError) HasCode ¶
func (o *GenericError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*GenericError) HasDetails ¶
func (o *GenericError) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*GenericError) HasMessage ¶
func (o *GenericError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*GenericError) HasReason ¶
func (o *GenericError) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*GenericError) HasRequest ¶
func (o *GenericError) HasRequest() bool
HasRequest returns a boolean if a field has been set.
func (*GenericError) HasStatus ¶
func (o *GenericError) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (GenericError) MarshalJSON ¶
func (o GenericError) MarshalJSON() ([]byte, error)
func (*GenericError) SetCode ¶
func (o *GenericError) SetCode(v int64)
SetCode gets a reference to the given int64 and assigns it to the Code field.
func (*GenericError) SetDetails ¶
func (o *GenericError) SetDetails(v []map[string]interface{})
SetDetails gets a reference to the given []map[string]interface{} and assigns it to the Details field.
func (*GenericError) SetMessage ¶
func (o *GenericError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*GenericError) SetReason ¶
func (o *GenericError) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*GenericError) SetRequest ¶
func (o *GenericError) SetRequest(v string)
SetRequest gets a reference to the given string and assigns it to the Request field.
func (*GenericError) SetStatus ¶
func (o *GenericError) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
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 GetCheckResponse ¶
type GetCheckResponse struct { // whether the relation tuple is allowed Allowed bool `json:"allowed"` }
GetCheckResponse The content of the allowed field is mirrored in the HTTP status code.
func NewGetCheckResponse ¶
func NewGetCheckResponse(allowed bool) *GetCheckResponse
NewGetCheckResponse instantiates a new GetCheckResponse 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 NewGetCheckResponseWithDefaults ¶
func NewGetCheckResponseWithDefaults() *GetCheckResponse
NewGetCheckResponseWithDefaults instantiates a new GetCheckResponse 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 (*GetCheckResponse) GetAllowed ¶
func (o *GetCheckResponse) GetAllowed() bool
GetAllowed returns the Allowed field value
func (*GetCheckResponse) GetAllowedOk ¶
func (o *GetCheckResponse) GetAllowedOk() (*bool, bool)
GetAllowedOk returns a tuple with the Allowed field value and a boolean to check if the value has been set.
func (GetCheckResponse) MarshalJSON ¶
func (o GetCheckResponse) MarshalJSON() ([]byte, error)
func (*GetCheckResponse) SetAllowed ¶
func (o *GetCheckResponse) SetAllowed(v bool)
SetAllowed sets field value
type GetRelationTuplesResponse ¶
type GetRelationTuplesResponse struct { // The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. NextPageToken *string `json:"next_page_token,omitempty"` RelationTuples []RelationTuple `json:"relation_tuples,omitempty"` }
GetRelationTuplesResponse struct for GetRelationTuplesResponse
func NewGetRelationTuplesResponse ¶
func NewGetRelationTuplesResponse() *GetRelationTuplesResponse
NewGetRelationTuplesResponse instantiates a new GetRelationTuplesResponse 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 NewGetRelationTuplesResponseWithDefaults ¶
func NewGetRelationTuplesResponseWithDefaults() *GetRelationTuplesResponse
NewGetRelationTuplesResponseWithDefaults instantiates a new GetRelationTuplesResponse 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 (*GetRelationTuplesResponse) GetNextPageToken ¶
func (o *GetRelationTuplesResponse) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*GetRelationTuplesResponse) GetNextPageTokenOk ¶
func (o *GetRelationTuplesResponse) GetNextPageTokenOk() (*string, bool)
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRelationTuplesResponse) GetRelationTuples ¶
func (o *GetRelationTuplesResponse) GetRelationTuples() []RelationTuple
GetRelationTuples returns the RelationTuples field value if set, zero value otherwise.
func (*GetRelationTuplesResponse) GetRelationTuplesOk ¶
func (o *GetRelationTuplesResponse) GetRelationTuplesOk() ([]RelationTuple, bool)
GetRelationTuplesOk returns a tuple with the RelationTuples field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetRelationTuplesResponse) HasNextPageToken ¶
func (o *GetRelationTuplesResponse) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (*GetRelationTuplesResponse) HasRelationTuples ¶
func (o *GetRelationTuplesResponse) HasRelationTuples() bool
HasRelationTuples returns a boolean if a field has been set.
func (GetRelationTuplesResponse) MarshalJSON ¶
func (o GetRelationTuplesResponse) MarshalJSON() ([]byte, error)
func (*GetRelationTuplesResponse) SetNextPageToken ¶
func (o *GetRelationTuplesResponse) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (*GetRelationTuplesResponse) SetRelationTuples ¶
func (o *GetRelationTuplesResponse) SetRelationTuples(v []RelationTuple)
SetRelationTuples gets a reference to the given []RelationTuple and assigns it to the RelationTuples field.
type HealthNotReadyStatus ¶
type HealthNotReadyStatus struct { // Errors contains a list of errors that caused the not ready status. Errors *map[string]string `json:"errors,omitempty"` }
HealthNotReadyStatus struct for HealthNotReadyStatus
func NewHealthNotReadyStatus ¶
func NewHealthNotReadyStatus() *HealthNotReadyStatus
NewHealthNotReadyStatus instantiates a new HealthNotReadyStatus 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 NewHealthNotReadyStatusWithDefaults ¶
func NewHealthNotReadyStatusWithDefaults() *HealthNotReadyStatus
NewHealthNotReadyStatusWithDefaults instantiates a new HealthNotReadyStatus 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 (*HealthNotReadyStatus) GetErrors ¶
func (o *HealthNotReadyStatus) GetErrors() map[string]string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*HealthNotReadyStatus) GetErrorsOk ¶
func (o *HealthNotReadyStatus) GetErrorsOk() (*map[string]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HealthNotReadyStatus) HasErrors ¶
func (o *HealthNotReadyStatus) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (HealthNotReadyStatus) MarshalJSON ¶
func (o HealthNotReadyStatus) MarshalJSON() ([]byte, error)
func (*HealthNotReadyStatus) SetErrors ¶
func (o *HealthNotReadyStatus) SetErrors(v map[string]string)
SetErrors gets a reference to the given map[string]string and assigns it to the Errors field.
type HealthStatus ¶
type HealthStatus struct { // Status always contains \"ok\". Status *string `json:"status,omitempty"` }
HealthStatus struct for HealthStatus
func NewHealthStatus ¶
func NewHealthStatus() *HealthStatus
NewHealthStatus instantiates a new HealthStatus 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 NewHealthStatusWithDefaults ¶
func NewHealthStatusWithDefaults() *HealthStatus
NewHealthStatusWithDefaults instantiates a new HealthStatus 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 (*HealthStatus) GetStatus ¶
func (o *HealthStatus) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*HealthStatus) GetStatusOk ¶
func (o *HealthStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HealthStatus) HasStatus ¶
func (o *HealthStatus) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (HealthStatus) MarshalJSON ¶
func (o HealthStatus) MarshalJSON() ([]byte, error)
func (*HealthStatus) SetStatus ¶
func (o *HealthStatus) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type InlineResponse200 ¶
type InlineResponse200 struct { // Always \"ok\". Status string `json:"status"` }
InlineResponse200 struct for InlineResponse200
func NewInlineResponse200 ¶
func NewInlineResponse200(status string) *InlineResponse200
NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults ¶
func NewInlineResponse200WithDefaults() *InlineResponse200
NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetStatus ¶
func (o *InlineResponse200) GetStatus() string
GetStatus returns the Status field value
func (*InlineResponse200) GetStatusOk ¶
func (o *InlineResponse200) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (InlineResponse200) MarshalJSON ¶
func (o InlineResponse200) MarshalJSON() ([]byte, error)
func (*InlineResponse200) SetStatus ¶
func (o *InlineResponse200) SetStatus(v string)
SetStatus sets field value
type InlineResponse2001 ¶
type InlineResponse2001 struct { // The version of Ory Keto. Version string `json:"version"` }
InlineResponse2001 struct for InlineResponse2001
func NewInlineResponse2001 ¶
func NewInlineResponse2001(version string) *InlineResponse2001
NewInlineResponse2001 instantiates a new InlineResponse2001 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 NewInlineResponse2001WithDefaults ¶
func NewInlineResponse2001WithDefaults() *InlineResponse2001
NewInlineResponse2001WithDefaults instantiates a new InlineResponse2001 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 (*InlineResponse2001) GetVersion ¶
func (o *InlineResponse2001) GetVersion() string
GetVersion returns the Version field value
func (*InlineResponse2001) GetVersionOk ¶
func (o *InlineResponse2001) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (InlineResponse2001) MarshalJSON ¶
func (o InlineResponse2001) MarshalJSON() ([]byte, error)
func (*InlineResponse2001) SetVersion ¶
func (o *InlineResponse2001) SetVersion(v string)
SetVersion sets field value
type InlineResponse503 ¶
type InlineResponse503 struct { // Errors contains a list of errors that caused the not ready status. Errors map[string]string `json:"errors"` }
InlineResponse503 struct for InlineResponse503
func NewInlineResponse503 ¶
func NewInlineResponse503(errors map[string]string) *InlineResponse503
NewInlineResponse503 instantiates a new InlineResponse503 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 NewInlineResponse503WithDefaults ¶
func NewInlineResponse503WithDefaults() *InlineResponse503
NewInlineResponse503WithDefaults instantiates a new InlineResponse503 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 (*InlineResponse503) GetErrors ¶
func (o *InlineResponse503) GetErrors() map[string]string
GetErrors returns the Errors field value
func (*InlineResponse503) GetErrorsOk ¶
func (o *InlineResponse503) GetErrorsOk() (*map[string]string, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (InlineResponse503) MarshalJSON ¶
func (o InlineResponse503) MarshalJSON() ([]byte, error)
func (*InlineResponse503) SetErrors ¶
func (o *InlineResponse503) SetErrors(v map[string]string)
SetErrors sets field value
type MetadataApi ¶
type MetadataApi interface { /* * GetVersion Return Running Software Version. * This endpoint returns the version of Ory Keto. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return MetadataApiApiGetVersionRequest */ GetVersion(ctx context.Context) MetadataApiApiGetVersionRequest /* * GetVersionExecute executes the request * @return InlineResponse2001 */ GetVersionExecute(r MetadataApiApiGetVersionRequest) (*InlineResponse2001, *http.Response, error) /* * IsAlive Check HTTP Server Status * This endpoint returns a HTTP 200 status code when Ory Keto is accepting incoming HTTP requests. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return MetadataApiApiIsAliveRequest */ IsAlive(ctx context.Context) MetadataApiApiIsAliveRequest /* * IsAliveExecute executes the request * @return InlineResponse200 */ IsAliveExecute(r MetadataApiApiIsAliveRequest) (*InlineResponse200, *http.Response, error) /* * IsReady Check HTTP Server and Database Status * This endpoint returns a HTTP 200 status code when Ory Keto is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of Ory Keto, the health status will never refer to the cluster state, only to a single instance. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return MetadataApiApiIsReadyRequest */ IsReady(ctx context.Context) MetadataApiApiIsReadyRequest /* * IsReadyExecute executes the request * @return InlineResponse200 */ IsReadyExecute(r MetadataApiApiIsReadyRequest) (*InlineResponse200, *http.Response, error) }
type MetadataApiApiGetVersionRequest ¶
type MetadataApiApiGetVersionRequest struct { ApiService MetadataApi // contains filtered or unexported fields }
func (MetadataApiApiGetVersionRequest) Execute ¶
func (r MetadataApiApiGetVersionRequest) Execute() (*InlineResponse2001, *http.Response, error)
type MetadataApiApiIsAliveRequest ¶
type MetadataApiApiIsAliveRequest struct { ApiService MetadataApi // contains filtered or unexported fields }
func (MetadataApiApiIsAliveRequest) Execute ¶
func (r MetadataApiApiIsAliveRequest) Execute() (*InlineResponse200, *http.Response, error)
type MetadataApiApiIsReadyRequest ¶
type MetadataApiApiIsReadyRequest struct { ApiService MetadataApi // contains filtered or unexported fields }
func (MetadataApiApiIsReadyRequest) Execute ¶
func (r MetadataApiApiIsReadyRequest) Execute() (*InlineResponse200, *http.Response, error)
type MetadataApiService ¶
type MetadataApiService service
MetadataApiService MetadataApi service
func (*MetadataApiService) GetVersion ¶
func (a *MetadataApiService) GetVersion(ctx context.Context) MetadataApiApiGetVersionRequest
- GetVersion Return Running Software Version.
- This endpoint returns the version of Ory Keto.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiApiGetVersionRequest
func (*MetadataApiService) GetVersionExecute ¶
func (a *MetadataApiService) GetVersionExecute(r MetadataApiApiGetVersionRequest) (*InlineResponse2001, *http.Response, error)
* Execute executes the request * @return InlineResponse2001
func (*MetadataApiService) IsAlive ¶
func (a *MetadataApiService) IsAlive(ctx context.Context) MetadataApiApiIsAliveRequest
- IsAlive Check HTTP Server Status
- This endpoint returns a HTTP 200 status code when Ory Keto is accepting incoming
HTTP requests. This status does currently not include checks whether the database connection is working.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiApiIsAliveRequest
func (*MetadataApiService) IsAliveExecute ¶
func (a *MetadataApiService) IsAliveExecute(r MetadataApiApiIsAliveRequest) (*InlineResponse200, *http.Response, error)
* Execute executes the request * @return InlineResponse200
func (*MetadataApiService) IsReady ¶
func (a *MetadataApiService) IsReady(ctx context.Context) MetadataApiApiIsReadyRequest
- IsReady Check HTTP Server and Database Status
- This endpoint returns a HTTP 200 status code when Ory Keto is up running and the environment dependencies (e.g.
the database) are responsive as well.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of Ory Keto, the health status will never refer to the cluster state, only to a single instance.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return MetadataApiApiIsReadyRequest
func (*MetadataApiService) IsReadyExecute ¶
func (a *MetadataApiService) IsReadyExecute(r MetadataApiApiIsReadyRequest) (*InlineResponse200, *http.Response, error)
* Execute executes the request * @return InlineResponse200
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 NullableExpandTree ¶
type NullableExpandTree struct {
// contains filtered or unexported fields
}
func NewNullableExpandTree ¶
func NewNullableExpandTree(val *ExpandTree) *NullableExpandTree
func (NullableExpandTree) Get ¶
func (v NullableExpandTree) Get() *ExpandTree
func (NullableExpandTree) IsSet ¶
func (v NullableExpandTree) IsSet() bool
func (NullableExpandTree) MarshalJSON ¶
func (v NullableExpandTree) MarshalJSON() ([]byte, error)
func (*NullableExpandTree) Set ¶
func (v *NullableExpandTree) Set(val *ExpandTree)
func (*NullableExpandTree) UnmarshalJSON ¶
func (v *NullableExpandTree) UnmarshalJSON(src []byte) error
func (*NullableExpandTree) Unset ¶
func (v *NullableExpandTree) 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 NullableGenericError ¶
type NullableGenericError struct {
// contains filtered or unexported fields
}
func NewNullableGenericError ¶
func NewNullableGenericError(val *GenericError) *NullableGenericError
func (NullableGenericError) Get ¶
func (v NullableGenericError) Get() *GenericError
func (NullableGenericError) IsSet ¶
func (v NullableGenericError) IsSet() bool
func (NullableGenericError) MarshalJSON ¶
func (v NullableGenericError) MarshalJSON() ([]byte, error)
func (*NullableGenericError) Set ¶
func (v *NullableGenericError) Set(val *GenericError)
func (*NullableGenericError) UnmarshalJSON ¶
func (v *NullableGenericError) UnmarshalJSON(src []byte) error
func (*NullableGenericError) Unset ¶
func (v *NullableGenericError) Unset()
type NullableGetCheckResponse ¶
type NullableGetCheckResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCheckResponse ¶
func NewNullableGetCheckResponse(val *GetCheckResponse) *NullableGetCheckResponse
func (NullableGetCheckResponse) Get ¶
func (v NullableGetCheckResponse) Get() *GetCheckResponse
func (NullableGetCheckResponse) IsSet ¶
func (v NullableGetCheckResponse) IsSet() bool
func (NullableGetCheckResponse) MarshalJSON ¶
func (v NullableGetCheckResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCheckResponse) Set ¶
func (v *NullableGetCheckResponse) Set(val *GetCheckResponse)
func (*NullableGetCheckResponse) UnmarshalJSON ¶
func (v *NullableGetCheckResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCheckResponse) Unset ¶
func (v *NullableGetCheckResponse) Unset()
type NullableGetRelationTuplesResponse ¶
type NullableGetRelationTuplesResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetRelationTuplesResponse ¶
func NewNullableGetRelationTuplesResponse(val *GetRelationTuplesResponse) *NullableGetRelationTuplesResponse
func (NullableGetRelationTuplesResponse) Get ¶
func (v NullableGetRelationTuplesResponse) Get() *GetRelationTuplesResponse
func (NullableGetRelationTuplesResponse) IsSet ¶
func (v NullableGetRelationTuplesResponse) IsSet() bool
func (NullableGetRelationTuplesResponse) MarshalJSON ¶
func (v NullableGetRelationTuplesResponse) MarshalJSON() ([]byte, error)
func (*NullableGetRelationTuplesResponse) Set ¶
func (v *NullableGetRelationTuplesResponse) Set(val *GetRelationTuplesResponse)
func (*NullableGetRelationTuplesResponse) UnmarshalJSON ¶
func (v *NullableGetRelationTuplesResponse) UnmarshalJSON(src []byte) error
func (*NullableGetRelationTuplesResponse) Unset ¶
func (v *NullableGetRelationTuplesResponse) Unset()
type NullableHealthNotReadyStatus ¶
type NullableHealthNotReadyStatus struct {
// contains filtered or unexported fields
}
func NewNullableHealthNotReadyStatus ¶
func NewNullableHealthNotReadyStatus(val *HealthNotReadyStatus) *NullableHealthNotReadyStatus
func (NullableHealthNotReadyStatus) Get ¶
func (v NullableHealthNotReadyStatus) Get() *HealthNotReadyStatus
func (NullableHealthNotReadyStatus) IsSet ¶
func (v NullableHealthNotReadyStatus) IsSet() bool
func (NullableHealthNotReadyStatus) MarshalJSON ¶
func (v NullableHealthNotReadyStatus) MarshalJSON() ([]byte, error)
func (*NullableHealthNotReadyStatus) Set ¶
func (v *NullableHealthNotReadyStatus) Set(val *HealthNotReadyStatus)
func (*NullableHealthNotReadyStatus) UnmarshalJSON ¶
func (v *NullableHealthNotReadyStatus) UnmarshalJSON(src []byte) error
func (*NullableHealthNotReadyStatus) Unset ¶
func (v *NullableHealthNotReadyStatus) Unset()
type NullableHealthStatus ¶
type NullableHealthStatus struct {
// contains filtered or unexported fields
}
func NewNullableHealthStatus ¶
func NewNullableHealthStatus(val *HealthStatus) *NullableHealthStatus
func (NullableHealthStatus) Get ¶
func (v NullableHealthStatus) Get() *HealthStatus
func (NullableHealthStatus) IsSet ¶
func (v NullableHealthStatus) IsSet() bool
func (NullableHealthStatus) MarshalJSON ¶
func (v NullableHealthStatus) MarshalJSON() ([]byte, error)
func (*NullableHealthStatus) Set ¶
func (v *NullableHealthStatus) Set(val *HealthStatus)
func (*NullableHealthStatus) UnmarshalJSON ¶
func (v *NullableHealthStatus) UnmarshalJSON(src []byte) error
func (*NullableHealthStatus) Unset ¶
func (v *NullableHealthStatus) Unset()
type NullableInlineResponse200 ¶
type NullableInlineResponse200 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse200 ¶
func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200
func (NullableInlineResponse200) Get ¶
func (v NullableInlineResponse200) Get() *InlineResponse200
func (NullableInlineResponse200) IsSet ¶
func (v NullableInlineResponse200) IsSet() bool
func (NullableInlineResponse200) MarshalJSON ¶
func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse200) Set ¶
func (v *NullableInlineResponse200) Set(val *InlineResponse200)
func (*NullableInlineResponse200) UnmarshalJSON ¶
func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse200) Unset ¶
func (v *NullableInlineResponse200) Unset()
type NullableInlineResponse2001 ¶
type NullableInlineResponse2001 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2001 ¶
func NewNullableInlineResponse2001(val *InlineResponse2001) *NullableInlineResponse2001
func (NullableInlineResponse2001) Get ¶
func (v NullableInlineResponse2001) Get() *InlineResponse2001
func (NullableInlineResponse2001) IsSet ¶
func (v NullableInlineResponse2001) IsSet() bool
func (NullableInlineResponse2001) MarshalJSON ¶
func (v NullableInlineResponse2001) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2001) Set ¶
func (v *NullableInlineResponse2001) Set(val *InlineResponse2001)
func (*NullableInlineResponse2001) UnmarshalJSON ¶
func (v *NullableInlineResponse2001) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2001) Unset ¶
func (v *NullableInlineResponse2001) Unset()
type NullableInlineResponse503 ¶
type NullableInlineResponse503 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse503 ¶
func NewNullableInlineResponse503(val *InlineResponse503) *NullableInlineResponse503
func (NullableInlineResponse503) Get ¶
func (v NullableInlineResponse503) Get() *InlineResponse503
func (NullableInlineResponse503) IsSet ¶
func (v NullableInlineResponse503) IsSet() bool
func (NullableInlineResponse503) MarshalJSON ¶
func (v NullableInlineResponse503) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse503) Set ¶
func (v *NullableInlineResponse503) Set(val *InlineResponse503)
func (*NullableInlineResponse503) UnmarshalJSON ¶
func (v *NullableInlineResponse503) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse503) Unset ¶
func (v *NullableInlineResponse503) 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 NullablePatchDelta ¶
type NullablePatchDelta struct {
// contains filtered or unexported fields
}
func NewNullablePatchDelta ¶
func NewNullablePatchDelta(val *PatchDelta) *NullablePatchDelta
func (NullablePatchDelta) Get ¶
func (v NullablePatchDelta) Get() *PatchDelta
func (NullablePatchDelta) IsSet ¶
func (v NullablePatchDelta) IsSet() bool
func (NullablePatchDelta) MarshalJSON ¶
func (v NullablePatchDelta) MarshalJSON() ([]byte, error)
func (*NullablePatchDelta) Set ¶
func (v *NullablePatchDelta) Set(val *PatchDelta)
func (*NullablePatchDelta) UnmarshalJSON ¶
func (v *NullablePatchDelta) UnmarshalJSON(src []byte) error
func (*NullablePatchDelta) Unset ¶
func (v *NullablePatchDelta) Unset()
type NullableRelationQuery ¶
type NullableRelationQuery struct {
// contains filtered or unexported fields
}
func NewNullableRelationQuery ¶
func NewNullableRelationQuery(val *RelationQuery) *NullableRelationQuery
func (NullableRelationQuery) Get ¶
func (v NullableRelationQuery) Get() *RelationQuery
func (NullableRelationQuery) IsSet ¶
func (v NullableRelationQuery) IsSet() bool
func (NullableRelationQuery) MarshalJSON ¶
func (v NullableRelationQuery) MarshalJSON() ([]byte, error)
func (*NullableRelationQuery) Set ¶
func (v *NullableRelationQuery) Set(val *RelationQuery)
func (*NullableRelationQuery) UnmarshalJSON ¶
func (v *NullableRelationQuery) UnmarshalJSON(src []byte) error
func (*NullableRelationQuery) Unset ¶
func (v *NullableRelationQuery) Unset()
type NullableRelationTuple ¶
type NullableRelationTuple struct {
// contains filtered or unexported fields
}
func NewNullableRelationTuple ¶
func NewNullableRelationTuple(val *RelationTuple) *NullableRelationTuple
func (NullableRelationTuple) Get ¶
func (v NullableRelationTuple) Get() *RelationTuple
func (NullableRelationTuple) IsSet ¶
func (v NullableRelationTuple) IsSet() bool
func (NullableRelationTuple) MarshalJSON ¶
func (v NullableRelationTuple) MarshalJSON() ([]byte, error)
func (*NullableRelationTuple) Set ¶
func (v *NullableRelationTuple) Set(val *RelationTuple)
func (*NullableRelationTuple) UnmarshalJSON ¶
func (v *NullableRelationTuple) UnmarshalJSON(src []byte) error
func (*NullableRelationTuple) Unset ¶
func (v *NullableRelationTuple) 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 NullableSubjectSet ¶
type NullableSubjectSet struct {
// contains filtered or unexported fields
}
func NewNullableSubjectSet ¶
func NewNullableSubjectSet(val *SubjectSet) *NullableSubjectSet
func (NullableSubjectSet) Get ¶
func (v NullableSubjectSet) Get() *SubjectSet
func (NullableSubjectSet) IsSet ¶
func (v NullableSubjectSet) IsSet() bool
func (NullableSubjectSet) MarshalJSON ¶
func (v NullableSubjectSet) MarshalJSON() ([]byte, error)
func (*NullableSubjectSet) Set ¶
func (v *NullableSubjectSet) Set(val *SubjectSet)
func (*NullableSubjectSet) UnmarshalJSON ¶
func (v *NullableSubjectSet) UnmarshalJSON(src []byte) error
func (*NullableSubjectSet) Unset ¶
func (v *NullableSubjectSet) 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 NullableVersion ¶
type NullableVersion struct {
// contains filtered or unexported fields
}
func NewNullableVersion ¶
func NewNullableVersion(val *Version) *NullableVersion
func (NullableVersion) Get ¶
func (v NullableVersion) Get() *Version
func (NullableVersion) IsSet ¶
func (v NullableVersion) IsSet() bool
func (NullableVersion) MarshalJSON ¶
func (v NullableVersion) MarshalJSON() ([]byte, error)
func (*NullableVersion) Set ¶
func (v *NullableVersion) Set(val *Version)
func (*NullableVersion) UnmarshalJSON ¶
func (v *NullableVersion) UnmarshalJSON(src []byte) error
func (*NullableVersion) Unset ¶
func (v *NullableVersion) Unset()
type PatchDelta ¶
type PatchDelta struct { Action *string `json:"action,omitempty"` RelationTuple *RelationTuple `json:"relation_tuple,omitempty"` }
PatchDelta struct for PatchDelta
func NewPatchDelta ¶
func NewPatchDelta() *PatchDelta
NewPatchDelta instantiates a new PatchDelta 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 NewPatchDeltaWithDefaults ¶
func NewPatchDeltaWithDefaults() *PatchDelta
NewPatchDeltaWithDefaults instantiates a new PatchDelta 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 (*PatchDelta) GetAction ¶
func (o *PatchDelta) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*PatchDelta) GetActionOk ¶
func (o *PatchDelta) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchDelta) GetRelationTuple ¶
func (o *PatchDelta) GetRelationTuple() RelationTuple
GetRelationTuple returns the RelationTuple field value if set, zero value otherwise.
func (*PatchDelta) GetRelationTupleOk ¶
func (o *PatchDelta) GetRelationTupleOk() (*RelationTuple, bool)
GetRelationTupleOk returns a tuple with the RelationTuple field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchDelta) HasAction ¶
func (o *PatchDelta) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*PatchDelta) HasRelationTuple ¶
func (o *PatchDelta) HasRelationTuple() bool
HasRelationTuple returns a boolean if a field has been set.
func (PatchDelta) MarshalJSON ¶
func (o PatchDelta) MarshalJSON() ([]byte, error)
func (*PatchDelta) SetAction ¶
func (o *PatchDelta) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*PatchDelta) SetRelationTuple ¶
func (o *PatchDelta) SetRelationTuple(v RelationTuple)
SetRelationTuple gets a reference to the given RelationTuple and assigns it to the RelationTuple field.
type ReadApi ¶
type ReadApi interface { /* * GetCheck Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetCheckRequest */ GetCheck(ctx context.Context) ReadApiApiGetCheckRequest /* * GetCheckExecute executes the request * @return GetCheckResponse */ GetCheckExecute(r ReadApiApiGetCheckRequest) (*GetCheckResponse, *http.Response, error) /* * GetCheckMirrorStatus Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetCheckMirrorStatusRequest */ GetCheckMirrorStatus(ctx context.Context) ReadApiApiGetCheckMirrorStatusRequest /* * GetCheckMirrorStatusExecute executes the request * @return GetCheckResponse */ GetCheckMirrorStatusExecute(r ReadApiApiGetCheckMirrorStatusRequest) (*GetCheckResponse, *http.Response, error) /* * GetExpand Expand a Relation Tuple * Use this endpoint to expand a relation tuple. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetExpandRequest */ GetExpand(ctx context.Context) ReadApiApiGetExpandRequest /* * GetExpandExecute executes the request * @return ExpandTree */ GetExpandExecute(r ReadApiApiGetExpandRequest) (*ExpandTree, *http.Response, error) /* * GetRelationTuples Query relation tuples * Get all relation tuples that match the query. Only the namespace field is required. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetRelationTuplesRequest */ GetRelationTuples(ctx context.Context) ReadApiApiGetRelationTuplesRequest /* * GetRelationTuplesExecute executes the request * @return GetRelationTuplesResponse */ GetRelationTuplesExecute(r ReadApiApiGetRelationTuplesRequest) (*GetRelationTuplesResponse, *http.Response, error) /* * PostCheck Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiPostCheckRequest */ PostCheck(ctx context.Context) ReadApiApiPostCheckRequest /* * PostCheckExecute executes the request * @return GetCheckResponse */ PostCheckExecute(r ReadApiApiPostCheckRequest) (*GetCheckResponse, *http.Response, error) /* * PostCheckMirrorStatus Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiPostCheckMirrorStatusRequest */ PostCheckMirrorStatus(ctx context.Context) ReadApiApiPostCheckMirrorStatusRequest /* * PostCheckMirrorStatusExecute executes the request * @return GetCheckResponse */ PostCheckMirrorStatusExecute(r ReadApiApiPostCheckMirrorStatusRequest) (*GetCheckResponse, *http.Response, error) }
type ReadApiApiGetCheckMirrorStatusRequest ¶
type ReadApiApiGetCheckMirrorStatusRequest struct { ApiService ReadApi // contains filtered or unexported fields }
func (ReadApiApiGetCheckMirrorStatusRequest) Execute ¶
func (r ReadApiApiGetCheckMirrorStatusRequest) Execute() (*GetCheckResponse, *http.Response, error)
type ReadApiApiGetCheckRequest ¶
type ReadApiApiGetCheckRequest struct { ApiService ReadApi // contains filtered or unexported fields }
func (ReadApiApiGetCheckRequest) Execute ¶
func (r ReadApiApiGetCheckRequest) Execute() (*GetCheckResponse, *http.Response, error)
func (ReadApiApiGetCheckRequest) MaxDepth ¶
func (r ReadApiApiGetCheckRequest) MaxDepth(maxDepth int64) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) Namespace ¶
func (r ReadApiApiGetCheckRequest) Namespace(namespace string) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) Object ¶
func (r ReadApiApiGetCheckRequest) Object(object string) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) Relation ¶
func (r ReadApiApiGetCheckRequest) Relation(relation string) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) SubjectId ¶
func (r ReadApiApiGetCheckRequest) SubjectId(subjectId string) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) SubjectSetNamespace ¶
func (r ReadApiApiGetCheckRequest) SubjectSetNamespace(subjectSetNamespace string) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) SubjectSetObject ¶
func (r ReadApiApiGetCheckRequest) SubjectSetObject(subjectSetObject string) ReadApiApiGetCheckRequest
func (ReadApiApiGetCheckRequest) SubjectSetRelation ¶
func (r ReadApiApiGetCheckRequest) SubjectSetRelation(subjectSetRelation string) ReadApiApiGetCheckRequest
type ReadApiApiGetExpandRequest ¶
type ReadApiApiGetExpandRequest struct { ApiService ReadApi // contains filtered or unexported fields }
func (ReadApiApiGetExpandRequest) Execute ¶
func (r ReadApiApiGetExpandRequest) Execute() (*ExpandTree, *http.Response, error)
func (ReadApiApiGetExpandRequest) MaxDepth ¶
func (r ReadApiApiGetExpandRequest) MaxDepth(maxDepth int64) ReadApiApiGetExpandRequest
func (ReadApiApiGetExpandRequest) Namespace ¶
func (r ReadApiApiGetExpandRequest) Namespace(namespace string) ReadApiApiGetExpandRequest
func (ReadApiApiGetExpandRequest) Object ¶
func (r ReadApiApiGetExpandRequest) Object(object string) ReadApiApiGetExpandRequest
func (ReadApiApiGetExpandRequest) Relation ¶
func (r ReadApiApiGetExpandRequest) Relation(relation string) ReadApiApiGetExpandRequest
type ReadApiApiGetRelationTuplesRequest ¶
type ReadApiApiGetRelationTuplesRequest struct { ApiService ReadApi // contains filtered or unexported fields }
func (ReadApiApiGetRelationTuplesRequest) Execute ¶
func (r ReadApiApiGetRelationTuplesRequest) Execute() (*GetRelationTuplesResponse, *http.Response, error)
func (ReadApiApiGetRelationTuplesRequest) Namespace ¶
func (r ReadApiApiGetRelationTuplesRequest) Namespace(namespace string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) Object ¶
func (r ReadApiApiGetRelationTuplesRequest) Object(object string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) PageSize ¶
func (r ReadApiApiGetRelationTuplesRequest) PageSize(pageSize int64) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) PageToken ¶
func (r ReadApiApiGetRelationTuplesRequest) PageToken(pageToken string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) Relation ¶
func (r ReadApiApiGetRelationTuplesRequest) Relation(relation string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) SubjectId ¶
func (r ReadApiApiGetRelationTuplesRequest) SubjectId(subjectId string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) SubjectSetNamespace ¶
func (r ReadApiApiGetRelationTuplesRequest) SubjectSetNamespace(subjectSetNamespace string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) SubjectSetObject ¶
func (r ReadApiApiGetRelationTuplesRequest) SubjectSetObject(subjectSetObject string) ReadApiApiGetRelationTuplesRequest
func (ReadApiApiGetRelationTuplesRequest) SubjectSetRelation ¶
func (r ReadApiApiGetRelationTuplesRequest) SubjectSetRelation(subjectSetRelation string) ReadApiApiGetRelationTuplesRequest
type ReadApiApiPostCheckMirrorStatusRequest ¶
type ReadApiApiPostCheckMirrorStatusRequest struct { ApiService ReadApi // contains filtered or unexported fields }
func (ReadApiApiPostCheckMirrorStatusRequest) Execute ¶
func (r ReadApiApiPostCheckMirrorStatusRequest) Execute() (*GetCheckResponse, *http.Response, error)
type ReadApiApiPostCheckRequest ¶
type ReadApiApiPostCheckRequest struct { ApiService ReadApi // contains filtered or unexported fields }
func (ReadApiApiPostCheckRequest) Execute ¶
func (r ReadApiApiPostCheckRequest) Execute() (*GetCheckResponse, *http.Response, error)
func (ReadApiApiPostCheckRequest) MaxDepth ¶
func (r ReadApiApiPostCheckRequest) MaxDepth(maxDepth int64) ReadApiApiPostCheckRequest
func (ReadApiApiPostCheckRequest) RelationQuery ¶
func (r ReadApiApiPostCheckRequest) RelationQuery(relationQuery RelationQuery) ReadApiApiPostCheckRequest
type ReadApiService ¶
type ReadApiService service
ReadApiService ReadApi service
func (*ReadApiService) GetCheck ¶
func (a *ReadApiService) GetCheck(ctx context.Context) ReadApiApiGetCheckRequest
* GetCheck Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetCheckRequest
func (*ReadApiService) GetCheckExecute ¶
func (a *ReadApiService) GetCheckExecute(r ReadApiApiGetCheckRequest) (*GetCheckResponse, *http.Response, error)
* Execute executes the request * @return GetCheckResponse
func (*ReadApiService) GetCheckMirrorStatus ¶
func (a *ReadApiService) GetCheckMirrorStatus(ctx context.Context) ReadApiApiGetCheckMirrorStatusRequest
* GetCheckMirrorStatus Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetCheckMirrorStatusRequest
func (*ReadApiService) GetCheckMirrorStatusExecute ¶
func (a *ReadApiService) GetCheckMirrorStatusExecute(r ReadApiApiGetCheckMirrorStatusRequest) (*GetCheckResponse, *http.Response, error)
* Execute executes the request * @return GetCheckResponse
func (*ReadApiService) GetExpand ¶
func (a *ReadApiService) GetExpand(ctx context.Context) ReadApiApiGetExpandRequest
* GetExpand Expand a Relation Tuple * Use this endpoint to expand a relation tuple. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetExpandRequest
func (*ReadApiService) GetExpandExecute ¶
func (a *ReadApiService) GetExpandExecute(r ReadApiApiGetExpandRequest) (*ExpandTree, *http.Response, error)
* Execute executes the request * @return ExpandTree
func (*ReadApiService) GetRelationTuples ¶
func (a *ReadApiService) GetRelationTuples(ctx context.Context) ReadApiApiGetRelationTuplesRequest
* GetRelationTuples Query relation tuples * Get all relation tuples that match the query. Only the namespace field is required. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiGetRelationTuplesRequest
func (*ReadApiService) GetRelationTuplesExecute ¶
func (a *ReadApiService) GetRelationTuplesExecute(r ReadApiApiGetRelationTuplesRequest) (*GetRelationTuplesResponse, *http.Response, error)
* Execute executes the request * @return GetRelationTuplesResponse
func (*ReadApiService) PostCheck ¶
func (a *ReadApiService) PostCheck(ctx context.Context) ReadApiApiPostCheckRequest
* PostCheck Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiPostCheckRequest
func (*ReadApiService) PostCheckExecute ¶
func (a *ReadApiService) PostCheckExecute(r ReadApiApiPostCheckRequest) (*GetCheckResponse, *http.Response, error)
* Execute executes the request * @return GetCheckResponse
func (*ReadApiService) PostCheckMirrorStatus ¶
func (a *ReadApiService) PostCheckMirrorStatus(ctx context.Context) ReadApiApiPostCheckMirrorStatusRequest
* PostCheckMirrorStatus Check a relation tuple * To learn how relation tuples and the check works, head over to [the documentation](../concepts/relation-tuples.mdx). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ReadApiApiPostCheckMirrorStatusRequest
func (*ReadApiService) PostCheckMirrorStatusExecute ¶
func (a *ReadApiService) PostCheckMirrorStatusExecute(r ReadApiApiPostCheckMirrorStatusRequest) (*GetCheckResponse, *http.Response, error)
* Execute executes the request * @return GetCheckResponse
type RelationQuery ¶
type RelationQuery struct { // Namespace to query Namespace *string `json:"namespace,omitempty"` // Object to query Object *string `json:"object,omitempty"` // Relation to query Relation *string `json:"relation,omitempty"` // SubjectID to query Either SubjectSet or SubjectID can be provided. SubjectId *string `json:"subject_id,omitempty"` SubjectSet *SubjectSet `json:"subject_set,omitempty"` }
RelationQuery struct for RelationQuery
func NewRelationQuery ¶
func NewRelationQuery() *RelationQuery
NewRelationQuery instantiates a new RelationQuery object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRelationQueryWithDefaults ¶
func NewRelationQueryWithDefaults() *RelationQuery
NewRelationQueryWithDefaults instantiates a new RelationQuery object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RelationQuery) GetNamespace ¶
func (o *RelationQuery) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*RelationQuery) GetNamespaceOk ¶
func (o *RelationQuery) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationQuery) GetObject ¶
func (o *RelationQuery) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*RelationQuery) GetObjectOk ¶
func (o *RelationQuery) 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 (*RelationQuery) GetRelation ¶
func (o *RelationQuery) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*RelationQuery) GetRelationOk ¶
func (o *RelationQuery) 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 (*RelationQuery) GetSubjectId ¶
func (o *RelationQuery) GetSubjectId() string
GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (*RelationQuery) GetSubjectIdOk ¶
func (o *RelationQuery) GetSubjectIdOk() (*string, bool)
GetSubjectIdOk returns a tuple with the SubjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationQuery) GetSubjectSet ¶
func (o *RelationQuery) GetSubjectSet() SubjectSet
GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (*RelationQuery) GetSubjectSetOk ¶
func (o *RelationQuery) GetSubjectSetOk() (*SubjectSet, bool)
GetSubjectSetOk returns a tuple with the SubjectSet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationQuery) HasNamespace ¶
func (o *RelationQuery) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*RelationQuery) HasObject ¶
func (o *RelationQuery) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*RelationQuery) HasRelation ¶
func (o *RelationQuery) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (*RelationQuery) HasSubjectId ¶
func (o *RelationQuery) HasSubjectId() bool
HasSubjectId returns a boolean if a field has been set.
func (*RelationQuery) HasSubjectSet ¶
func (o *RelationQuery) HasSubjectSet() bool
HasSubjectSet returns a boolean if a field has been set.
func (RelationQuery) MarshalJSON ¶
func (o RelationQuery) MarshalJSON() ([]byte, error)
func (*RelationQuery) SetNamespace ¶
func (o *RelationQuery) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*RelationQuery) SetObject ¶
func (o *RelationQuery) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*RelationQuery) SetRelation ¶
func (o *RelationQuery) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*RelationQuery) SetSubjectId ¶
func (o *RelationQuery) SetSubjectId(v string)
SetSubjectId gets a reference to the given string and assigns it to the SubjectId field.
func (*RelationQuery) SetSubjectSet ¶
func (o *RelationQuery) SetSubjectSet(v SubjectSet)
SetSubjectSet gets a reference to the given SubjectSet and assigns it to the SubjectSet field.
type RelationTuple ¶
type RelationTuple struct { // Namespace of the Relation Tuple Namespace string `json:"namespace"` // Object of the Relation Tuple Object string `json:"object"` // Relation of the Relation Tuple Relation string `json:"relation"` // SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. SubjectId *string `json:"subject_id,omitempty"` SubjectSet *SubjectSet `json:"subject_set,omitempty"` }
RelationTuple struct for RelationTuple
func NewRelationTuple ¶
func NewRelationTuple(namespace string, object string, relation string) *RelationTuple
NewRelationTuple instantiates a new RelationTuple 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 NewRelationTupleWithDefaults ¶
func NewRelationTupleWithDefaults() *RelationTuple
NewRelationTupleWithDefaults instantiates a new RelationTuple 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 (*RelationTuple) GetNamespace ¶
func (o *RelationTuple) GetNamespace() string
GetNamespace returns the Namespace field value
func (*RelationTuple) GetNamespaceOk ¶
func (o *RelationTuple) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*RelationTuple) GetObject ¶
func (o *RelationTuple) GetObject() string
GetObject returns the Object field value
func (*RelationTuple) GetObjectOk ¶
func (o *RelationTuple) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*RelationTuple) GetRelation ¶
func (o *RelationTuple) GetRelation() string
GetRelation returns the Relation field value
func (*RelationTuple) GetRelationOk ¶
func (o *RelationTuple) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*RelationTuple) GetSubjectId ¶
func (o *RelationTuple) GetSubjectId() string
GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (*RelationTuple) GetSubjectIdOk ¶
func (o *RelationTuple) GetSubjectIdOk() (*string, bool)
GetSubjectIdOk returns a tuple with the SubjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationTuple) GetSubjectSet ¶
func (o *RelationTuple) GetSubjectSet() SubjectSet
GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (*RelationTuple) GetSubjectSetOk ¶
func (o *RelationTuple) GetSubjectSetOk() (*SubjectSet, bool)
GetSubjectSetOk returns a tuple with the SubjectSet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationTuple) HasSubjectId ¶
func (o *RelationTuple) HasSubjectId() bool
HasSubjectId returns a boolean if a field has been set.
func (*RelationTuple) HasSubjectSet ¶
func (o *RelationTuple) HasSubjectSet() bool
HasSubjectSet returns a boolean if a field has been set.
func (RelationTuple) MarshalJSON ¶
func (o RelationTuple) MarshalJSON() ([]byte, error)
func (*RelationTuple) SetNamespace ¶
func (o *RelationTuple) SetNamespace(v string)
SetNamespace sets field value
func (*RelationTuple) SetObject ¶
func (o *RelationTuple) SetObject(v string)
SetObject sets field value
func (*RelationTuple) SetRelation ¶
func (o *RelationTuple) SetRelation(v string)
SetRelation sets field value
func (*RelationTuple) SetSubjectId ¶
func (o *RelationTuple) SetSubjectId(v string)
SetSubjectId gets a reference to the given string and assigns it to the SubjectId field.
func (*RelationTuple) SetSubjectSet ¶
func (o *RelationTuple) SetSubjectSet(v SubjectSet)
SetSubjectSet gets a reference to the given SubjectSet and assigns it to the SubjectSet field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SubjectSet ¶
type SubjectSet struct { // Namespace of the Subject Set Namespace string `json:"namespace"` // Object of the Subject Set Object string `json:"object"` // Relation of the Subject Set Relation string `json:"relation"` }
SubjectSet struct for SubjectSet
func NewSubjectSet ¶
func NewSubjectSet(namespace string, object string, relation string) *SubjectSet
NewSubjectSet instantiates a new SubjectSet 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 NewSubjectSetWithDefaults ¶
func NewSubjectSetWithDefaults() *SubjectSet
NewSubjectSetWithDefaults instantiates a new SubjectSet 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 (*SubjectSet) GetNamespace ¶
func (o *SubjectSet) GetNamespace() string
GetNamespace returns the Namespace field value
func (*SubjectSet) GetNamespaceOk ¶
func (o *SubjectSet) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*SubjectSet) GetObject ¶
func (o *SubjectSet) GetObject() string
GetObject returns the Object field value
func (*SubjectSet) GetObjectOk ¶
func (o *SubjectSet) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*SubjectSet) GetRelation ¶
func (o *SubjectSet) GetRelation() string
GetRelation returns the Relation field value
func (*SubjectSet) GetRelationOk ¶
func (o *SubjectSet) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (SubjectSet) MarshalJSON ¶
func (o SubjectSet) MarshalJSON() ([]byte, error)
func (*SubjectSet) SetNamespace ¶
func (o *SubjectSet) SetNamespace(v string)
SetNamespace sets field value
func (*SubjectSet) SetRelation ¶
func (o *SubjectSet) SetRelation(v string)
SetRelation sets field value
type Version ¶
type Version struct { // Version is the service's version. Version *string `json:"version,omitempty"` }
Version struct for Version
func NewVersion ¶
func NewVersion() *Version
NewVersion instantiates a new Version 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 NewVersionWithDefaults ¶
func NewVersionWithDefaults() *Version
NewVersionWithDefaults instantiates a new Version 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 (*Version) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Version) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Version) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Version) MarshalJSON ¶
func (*Version) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
type WriteApi ¶
type WriteApi interface { /* * CreateRelationTuple Create a Relation Tuple * Use this endpoint to create a relation tuple. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WriteApiApiCreateRelationTupleRequest */ CreateRelationTuple(ctx context.Context) WriteApiApiCreateRelationTupleRequest /* * CreateRelationTupleExecute executes the request * @return RelationQuery */ CreateRelationTupleExecute(r WriteApiApiCreateRelationTupleRequest) (*RelationQuery, *http.Response, error) /* * DeleteRelationTuples Delete Relation Tuples * Use this endpoint to delete relation tuples * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WriteApiApiDeleteRelationTuplesRequest */ DeleteRelationTuples(ctx context.Context) WriteApiApiDeleteRelationTuplesRequest /* * DeleteRelationTuplesExecute executes the request */ DeleteRelationTuplesExecute(r WriteApiApiDeleteRelationTuplesRequest) (*http.Response, error) /* * PatchRelationTuples Patch Multiple Relation Tuples * Use this endpoint to patch one or more relation tuples. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WriteApiApiPatchRelationTuplesRequest */ PatchRelationTuples(ctx context.Context) WriteApiApiPatchRelationTuplesRequest /* * PatchRelationTuplesExecute executes the request */ PatchRelationTuplesExecute(r WriteApiApiPatchRelationTuplesRequest) (*http.Response, error) }
type WriteApiApiCreateRelationTupleRequest ¶
type WriteApiApiCreateRelationTupleRequest struct { ApiService WriteApi // contains filtered or unexported fields }
func (WriteApiApiCreateRelationTupleRequest) Execute ¶
func (r WriteApiApiCreateRelationTupleRequest) Execute() (*RelationQuery, *http.Response, error)
func (WriteApiApiCreateRelationTupleRequest) RelationQuery ¶
func (r WriteApiApiCreateRelationTupleRequest) RelationQuery(relationQuery RelationQuery) WriteApiApiCreateRelationTupleRequest
type WriteApiApiDeleteRelationTuplesRequest ¶
type WriteApiApiDeleteRelationTuplesRequest struct { ApiService WriteApi // contains filtered or unexported fields }
func (WriteApiApiDeleteRelationTuplesRequest) Execute ¶
func (r WriteApiApiDeleteRelationTuplesRequest) Execute() (*http.Response, error)
func (WriteApiApiDeleteRelationTuplesRequest) Namespace ¶
func (r WriteApiApiDeleteRelationTuplesRequest) Namespace(namespace string) WriteApiApiDeleteRelationTuplesRequest
func (WriteApiApiDeleteRelationTuplesRequest) Object ¶
func (r WriteApiApiDeleteRelationTuplesRequest) Object(object string) WriteApiApiDeleteRelationTuplesRequest
func (WriteApiApiDeleteRelationTuplesRequest) Relation ¶
func (r WriteApiApiDeleteRelationTuplesRequest) Relation(relation string) WriteApiApiDeleteRelationTuplesRequest
func (WriteApiApiDeleteRelationTuplesRequest) SubjectId ¶
func (r WriteApiApiDeleteRelationTuplesRequest) SubjectId(subjectId string) WriteApiApiDeleteRelationTuplesRequest
func (WriteApiApiDeleteRelationTuplesRequest) SubjectSetNamespace ¶
func (r WriteApiApiDeleteRelationTuplesRequest) SubjectSetNamespace(subjectSetNamespace string) WriteApiApiDeleteRelationTuplesRequest
func (WriteApiApiDeleteRelationTuplesRequest) SubjectSetObject ¶
func (r WriteApiApiDeleteRelationTuplesRequest) SubjectSetObject(subjectSetObject string) WriteApiApiDeleteRelationTuplesRequest
func (WriteApiApiDeleteRelationTuplesRequest) SubjectSetRelation ¶
func (r WriteApiApiDeleteRelationTuplesRequest) SubjectSetRelation(subjectSetRelation string) WriteApiApiDeleteRelationTuplesRequest
type WriteApiApiPatchRelationTuplesRequest ¶
type WriteApiApiPatchRelationTuplesRequest struct { ApiService WriteApi // contains filtered or unexported fields }
func (WriteApiApiPatchRelationTuplesRequest) Execute ¶
func (r WriteApiApiPatchRelationTuplesRequest) Execute() (*http.Response, error)
func (WriteApiApiPatchRelationTuplesRequest) PatchDelta ¶
func (r WriteApiApiPatchRelationTuplesRequest) PatchDelta(patchDelta []PatchDelta) WriteApiApiPatchRelationTuplesRequest
type WriteApiService ¶
type WriteApiService service
WriteApiService WriteApi service
func (*WriteApiService) CreateRelationTuple ¶
func (a *WriteApiService) CreateRelationTuple(ctx context.Context) WriteApiApiCreateRelationTupleRequest
* CreateRelationTuple Create a Relation Tuple * Use this endpoint to create a relation tuple. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WriteApiApiCreateRelationTupleRequest
func (*WriteApiService) CreateRelationTupleExecute ¶
func (a *WriteApiService) CreateRelationTupleExecute(r WriteApiApiCreateRelationTupleRequest) (*RelationQuery, *http.Response, error)
* Execute executes the request * @return RelationQuery
func (*WriteApiService) DeleteRelationTuples ¶
func (a *WriteApiService) DeleteRelationTuples(ctx context.Context) WriteApiApiDeleteRelationTuplesRequest
* DeleteRelationTuples Delete Relation Tuples * Use this endpoint to delete relation tuples * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WriteApiApiDeleteRelationTuplesRequest
func (*WriteApiService) DeleteRelationTuplesExecute ¶
func (a *WriteApiService) DeleteRelationTuplesExecute(r WriteApiApiDeleteRelationTuplesRequest) (*http.Response, error)
* Execute executes the request
func (*WriteApiService) PatchRelationTuples ¶
func (a *WriteApiService) PatchRelationTuples(ctx context.Context) WriteApiApiPatchRelationTuplesRequest
* PatchRelationTuples Patch Multiple Relation Tuples * Use this endpoint to patch one or more relation tuples. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return WriteApiApiPatchRelationTuplesRequest
func (*WriteApiService) PatchRelationTuplesExecute ¶
func (a *WriteApiService) PatchRelationTuplesExecute(r WriteApiApiPatchRelationTuplesRequest) (*http.Response, error)
* Execute executes the request
Source Files ¶
- api_metadata.go
- api_read.go
- api_write.go
- client.go
- configuration.go
- model_expand_tree.go
- model_generic_error.go
- model_get_check_response.go
- model_get_relation_tuples_response.go
- model_health_not_ready_status.go
- model_health_status.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_503.go
- model_patch_delta.go
- model_relation_query.go
- model_relation_tuple.go
- model_subject_set.go
- model_version.go
- response.go
- utils.go