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 CheckOplSyntaxResult
- type CheckPermissionResult
- type Configuration
- type CreateRelationshipBody
- func (o *CreateRelationshipBody) GetNamespace() string
- func (o *CreateRelationshipBody) GetNamespaceOk() (*string, bool)
- func (o *CreateRelationshipBody) GetObject() string
- func (o *CreateRelationshipBody) GetObjectOk() (*string, bool)
- func (o *CreateRelationshipBody) GetRelation() string
- func (o *CreateRelationshipBody) GetRelationOk() (*string, bool)
- func (o *CreateRelationshipBody) GetSubjectId() string
- func (o *CreateRelationshipBody) GetSubjectIdOk() (*string, bool)
- func (o *CreateRelationshipBody) GetSubjectSet() SubjectSet
- func (o *CreateRelationshipBody) GetSubjectSetOk() (*SubjectSet, bool)
- func (o *CreateRelationshipBody) HasNamespace() bool
- func (o *CreateRelationshipBody) HasObject() bool
- func (o *CreateRelationshipBody) HasRelation() bool
- func (o *CreateRelationshipBody) HasSubjectId() bool
- func (o *CreateRelationshipBody) HasSubjectSet() bool
- func (o CreateRelationshipBody) MarshalJSON() ([]byte, error)
- func (o *CreateRelationshipBody) SetNamespace(v string)
- func (o *CreateRelationshipBody) SetObject(v string)
- func (o *CreateRelationshipBody) SetRelation(v string)
- func (o *CreateRelationshipBody) SetSubjectId(v string)
- func (o *CreateRelationshipBody) SetSubjectSet(v SubjectSet)
- type ErrorGeneric
- type ExpandedPermissionTree
- func (o *ExpandedPermissionTree) GetChildren() []ExpandedPermissionTree
- func (o *ExpandedPermissionTree) GetChildrenOk() ([]ExpandedPermissionTree, bool)
- func (o *ExpandedPermissionTree) GetTuple() Relationship
- func (o *ExpandedPermissionTree) GetTupleOk() (*Relationship, bool)
- func (o *ExpandedPermissionTree) GetType() string
- func (o *ExpandedPermissionTree) GetTypeOk() (*string, bool)
- func (o *ExpandedPermissionTree) HasChildren() bool
- func (o *ExpandedPermissionTree) HasTuple() bool
- func (o ExpandedPermissionTree) MarshalJSON() ([]byte, error)
- func (o *ExpandedPermissionTree) SetChildren(v []ExpandedPermissionTree)
- func (o *ExpandedPermissionTree) SetTuple(v Relationship)
- func (o *ExpandedPermissionTree) SetType(v string)
- type GenericError
- func (o *GenericError) GetCode() int64
- func (o *GenericError) GetCodeOk() (*int64, bool)
- func (o *GenericError) GetDebug() string
- func (o *GenericError) GetDebugOk() (*string, bool)
- func (o *GenericError) GetDetails() map[string]interface{}
- func (o *GenericError) GetDetailsOk() (map[string]interface{}, bool)
- func (o *GenericError) GetId() string
- func (o *GenericError) GetIdOk() (*string, 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) HasDebug() bool
- func (o *GenericError) HasDetails() bool
- func (o *GenericError) HasId() 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) SetDebug(v string)
- func (o *GenericError) SetDetails(v map[string]interface{})
- func (o *GenericError) SetId(v string)
- 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 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 Namespace
- type NullableBool
- type NullableCheckOplSyntaxResult
- func (v NullableCheckOplSyntaxResult) Get() *CheckOplSyntaxResult
- func (v NullableCheckOplSyntaxResult) IsSet() bool
- func (v NullableCheckOplSyntaxResult) MarshalJSON() ([]byte, error)
- func (v *NullableCheckOplSyntaxResult) Set(val *CheckOplSyntaxResult)
- func (v *NullableCheckOplSyntaxResult) UnmarshalJSON(src []byte) error
- func (v *NullableCheckOplSyntaxResult) Unset()
- type NullableCheckPermissionResult
- func (v NullableCheckPermissionResult) Get() *CheckPermissionResult
- func (v NullableCheckPermissionResult) IsSet() bool
- func (v NullableCheckPermissionResult) MarshalJSON() ([]byte, error)
- func (v *NullableCheckPermissionResult) Set(val *CheckPermissionResult)
- func (v *NullableCheckPermissionResult) UnmarshalJSON(src []byte) error
- func (v *NullableCheckPermissionResult) Unset()
- type NullableCreateRelationshipBody
- func (v NullableCreateRelationshipBody) Get() *CreateRelationshipBody
- func (v NullableCreateRelationshipBody) IsSet() bool
- func (v NullableCreateRelationshipBody) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRelationshipBody) Set(val *CreateRelationshipBody)
- func (v *NullableCreateRelationshipBody) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRelationshipBody) Unset()
- type NullableErrorGeneric
- func (v NullableErrorGeneric) Get() *ErrorGeneric
- func (v NullableErrorGeneric) IsSet() bool
- func (v NullableErrorGeneric) MarshalJSON() ([]byte, error)
- func (v *NullableErrorGeneric) Set(val *ErrorGeneric)
- func (v *NullableErrorGeneric) UnmarshalJSON(src []byte) error
- func (v *NullableErrorGeneric) Unset()
- type NullableExpandedPermissionTree
- func (v NullableExpandedPermissionTree) Get() *ExpandedPermissionTree
- func (v NullableExpandedPermissionTree) IsSet() bool
- func (v NullableExpandedPermissionTree) MarshalJSON() ([]byte, error)
- func (v *NullableExpandedPermissionTree) Set(val *ExpandedPermissionTree)
- func (v *NullableExpandedPermissionTree) UnmarshalJSON(src []byte) error
- func (v *NullableExpandedPermissionTree) Unset()
- 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 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 NullableNamespace
- type NullableParseError
- type NullablePostCheckPermissionBody
- func (v NullablePostCheckPermissionBody) Get() *PostCheckPermissionBody
- func (v NullablePostCheckPermissionBody) IsSet() bool
- func (v NullablePostCheckPermissionBody) MarshalJSON() ([]byte, error)
- func (v *NullablePostCheckPermissionBody) Set(val *PostCheckPermissionBody)
- func (v *NullablePostCheckPermissionBody) UnmarshalJSON(src []byte) error
- func (v *NullablePostCheckPermissionBody) Unset()
- type NullablePostCheckPermissionOrErrorBody
- func (v NullablePostCheckPermissionOrErrorBody) Get() *PostCheckPermissionOrErrorBody
- func (v NullablePostCheckPermissionOrErrorBody) IsSet() bool
- func (v NullablePostCheckPermissionOrErrorBody) MarshalJSON() ([]byte, error)
- func (v *NullablePostCheckPermissionOrErrorBody) Set(val *PostCheckPermissionOrErrorBody)
- func (v *NullablePostCheckPermissionOrErrorBody) UnmarshalJSON(src []byte) error
- func (v *NullablePostCheckPermissionOrErrorBody) Unset()
- 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 NullableRelationship
- func (v NullableRelationship) Get() *Relationship
- func (v NullableRelationship) IsSet() bool
- func (v NullableRelationship) MarshalJSON() ([]byte, error)
- func (v *NullableRelationship) Set(val *Relationship)
- func (v *NullableRelationship) UnmarshalJSON(src []byte) error
- func (v *NullableRelationship) Unset()
- type NullableRelationshipNamespaces
- func (v NullableRelationshipNamespaces) Get() *RelationshipNamespaces
- func (v NullableRelationshipNamespaces) IsSet() bool
- func (v NullableRelationshipNamespaces) MarshalJSON() ([]byte, error)
- func (v *NullableRelationshipNamespaces) Set(val *RelationshipNamespaces)
- func (v *NullableRelationshipNamespaces) UnmarshalJSON(src []byte) error
- func (v *NullableRelationshipNamespaces) Unset()
- type NullableRelationshipPatch
- func (v NullableRelationshipPatch) Get() *RelationshipPatch
- func (v NullableRelationshipPatch) IsSet() bool
- func (v NullableRelationshipPatch) MarshalJSON() ([]byte, error)
- func (v *NullableRelationshipPatch) Set(val *RelationshipPatch)
- func (v *NullableRelationshipPatch) UnmarshalJSON(src []byte) error
- func (v *NullableRelationshipPatch) Unset()
- type NullableRelationships
- func (v NullableRelationships) Get() *Relationships
- func (v NullableRelationships) IsSet() bool
- func (v NullableRelationships) MarshalJSON() ([]byte, error)
- func (v *NullableRelationships) Set(val *Relationships)
- func (v *NullableRelationships) UnmarshalJSON(src []byte) error
- func (v *NullableRelationships) Unset()
- type NullableSourcePosition
- func (v NullableSourcePosition) Get() *SourcePosition
- func (v NullableSourcePosition) IsSet() bool
- func (v NullableSourcePosition) MarshalJSON() ([]byte, error)
- func (v *NullableSourcePosition) Set(val *SourcePosition)
- func (v *NullableSourcePosition) UnmarshalJSON(src []byte) error
- func (v *NullableSourcePosition) Unset()
- type NullableString
- type NullableSubjectSet
- type NullableTime
- type NullableVersion
- type ParseError
- func (o *ParseError) GetEnd() SourcePosition
- func (o *ParseError) GetEndOk() (*SourcePosition, bool)
- func (o *ParseError) GetMessage() string
- func (o *ParseError) GetMessageOk() (*string, bool)
- func (o *ParseError) GetStart() SourcePosition
- func (o *ParseError) GetStartOk() (*SourcePosition, bool)
- func (o *ParseError) HasEnd() bool
- func (o *ParseError) HasMessage() bool
- func (o *ParseError) HasStart() bool
- func (o ParseError) MarshalJSON() ([]byte, error)
- func (o *ParseError) SetEnd(v SourcePosition)
- func (o *ParseError) SetMessage(v string)
- func (o *ParseError) SetStart(v SourcePosition)
- type PermissionApi
- type PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error)
- func (r PermissionApiApiCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) Namespace(namespace string) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) Object(object string) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) Relation(relation string) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectId(subjectId string) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetObject(subjectSetObject string) PermissionApiApiCheckPermissionOrErrorRequest
- func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetRelation(subjectSetRelation string) PermissionApiApiCheckPermissionOrErrorRequest
- type PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error)
- func (r PermissionApiApiCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) Namespace(namespace string) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) Object(object string) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) Relation(relation string) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) SubjectId(subjectId string) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) SubjectSetObject(subjectSetObject string) PermissionApiApiCheckPermissionRequest
- func (r PermissionApiApiCheckPermissionRequest) SubjectSetRelation(subjectSetRelation string) PermissionApiApiCheckPermissionRequest
- type PermissionApiApiExpandPermissionsRequest
- func (r PermissionApiApiExpandPermissionsRequest) Execute() (*ExpandedPermissionTree, *http.Response, error)
- func (r PermissionApiApiExpandPermissionsRequest) MaxDepth(maxDepth int64) PermissionApiApiExpandPermissionsRequest
- func (r PermissionApiApiExpandPermissionsRequest) Namespace(namespace string) PermissionApiApiExpandPermissionsRequest
- func (r PermissionApiApiExpandPermissionsRequest) Object(object string) PermissionApiApiExpandPermissionsRequest
- func (r PermissionApiApiExpandPermissionsRequest) Relation(relation string) PermissionApiApiExpandPermissionsRequest
- type PermissionApiApiPostCheckPermissionOrErrorRequest
- func (r PermissionApiApiPostCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error)
- func (r PermissionApiApiPostCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionApiApiPostCheckPermissionOrErrorRequest
- func (r PermissionApiApiPostCheckPermissionOrErrorRequest) PostCheckPermissionOrErrorBody(postCheckPermissionOrErrorBody PostCheckPermissionOrErrorBody) PermissionApiApiPostCheckPermissionOrErrorRequest
- type PermissionApiApiPostCheckPermissionRequest
- func (r PermissionApiApiPostCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error)
- func (r PermissionApiApiPostCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionApiApiPostCheckPermissionRequest
- func (r PermissionApiApiPostCheckPermissionRequest) PostCheckPermissionBody(postCheckPermissionBody PostCheckPermissionBody) PermissionApiApiPostCheckPermissionRequest
- type PermissionApiService
- func (a *PermissionApiService) CheckPermission(ctx context.Context) PermissionApiApiCheckPermissionRequest
- func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiApiCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
- func (a *PermissionApiService) CheckPermissionOrError(ctx context.Context) PermissionApiApiCheckPermissionOrErrorRequest
- func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiApiCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
- func (a *PermissionApiService) ExpandPermissions(ctx context.Context) PermissionApiApiExpandPermissionsRequest
- func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiApiExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error)
- func (a *PermissionApiService) PostCheckPermission(ctx context.Context) PermissionApiApiPostCheckPermissionRequest
- func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiApiPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
- func (a *PermissionApiService) PostCheckPermissionOrError(ctx context.Context) PermissionApiApiPostCheckPermissionOrErrorRequest
- func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApiApiPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
- type PostCheckPermissionBody
- func (o *PostCheckPermissionBody) GetNamespace() string
- func (o *PostCheckPermissionBody) GetNamespaceOk() (*string, bool)
- func (o *PostCheckPermissionBody) GetObject() string
- func (o *PostCheckPermissionBody) GetObjectOk() (*string, bool)
- func (o *PostCheckPermissionBody) GetRelation() string
- func (o *PostCheckPermissionBody) GetRelationOk() (*string, bool)
- func (o *PostCheckPermissionBody) GetSubjectId() string
- func (o *PostCheckPermissionBody) GetSubjectIdOk() (*string, bool)
- func (o *PostCheckPermissionBody) GetSubjectSet() SubjectSet
- func (o *PostCheckPermissionBody) GetSubjectSetOk() (*SubjectSet, bool)
- func (o *PostCheckPermissionBody) HasNamespace() bool
- func (o *PostCheckPermissionBody) HasObject() bool
- func (o *PostCheckPermissionBody) HasRelation() bool
- func (o *PostCheckPermissionBody) HasSubjectId() bool
- func (o *PostCheckPermissionBody) HasSubjectSet() bool
- func (o PostCheckPermissionBody) MarshalJSON() ([]byte, error)
- func (o *PostCheckPermissionBody) SetNamespace(v string)
- func (o *PostCheckPermissionBody) SetObject(v string)
- func (o *PostCheckPermissionBody) SetRelation(v string)
- func (o *PostCheckPermissionBody) SetSubjectId(v string)
- func (o *PostCheckPermissionBody) SetSubjectSet(v SubjectSet)
- type PostCheckPermissionOrErrorBody
- func (o *PostCheckPermissionOrErrorBody) GetNamespace() string
- func (o *PostCheckPermissionOrErrorBody) GetNamespaceOk() (*string, bool)
- func (o *PostCheckPermissionOrErrorBody) GetObject() string
- func (o *PostCheckPermissionOrErrorBody) GetObjectOk() (*string, bool)
- func (o *PostCheckPermissionOrErrorBody) GetRelation() string
- func (o *PostCheckPermissionOrErrorBody) GetRelationOk() (*string, bool)
- func (o *PostCheckPermissionOrErrorBody) GetSubjectId() string
- func (o *PostCheckPermissionOrErrorBody) GetSubjectIdOk() (*string, bool)
- func (o *PostCheckPermissionOrErrorBody) GetSubjectSet() SubjectSet
- func (o *PostCheckPermissionOrErrorBody) GetSubjectSetOk() (*SubjectSet, bool)
- func (o *PostCheckPermissionOrErrorBody) HasNamespace() bool
- func (o *PostCheckPermissionOrErrorBody) HasObject() bool
- func (o *PostCheckPermissionOrErrorBody) HasRelation() bool
- func (o *PostCheckPermissionOrErrorBody) HasSubjectId() bool
- func (o *PostCheckPermissionOrErrorBody) HasSubjectSet() bool
- func (o PostCheckPermissionOrErrorBody) MarshalJSON() ([]byte, error)
- func (o *PostCheckPermissionOrErrorBody) SetNamespace(v string)
- func (o *PostCheckPermissionOrErrorBody) SetObject(v string)
- func (o *PostCheckPermissionOrErrorBody) SetRelation(v string)
- func (o *PostCheckPermissionOrErrorBody) SetSubjectId(v string)
- func (o *PostCheckPermissionOrErrorBody) SetSubjectSet(v SubjectSet)
- 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 Relationship
- func (o *Relationship) GetNamespace() string
- func (o *Relationship) GetNamespaceOk() (*string, bool)
- func (o *Relationship) GetObject() string
- func (o *Relationship) GetObjectOk() (*string, bool)
- func (o *Relationship) GetRelation() string
- func (o *Relationship) GetRelationOk() (*string, bool)
- func (o *Relationship) GetSubjectId() string
- func (o *Relationship) GetSubjectIdOk() (*string, bool)
- func (o *Relationship) GetSubjectSet() SubjectSet
- func (o *Relationship) GetSubjectSetOk() (*SubjectSet, bool)
- func (o *Relationship) HasSubjectId() bool
- func (o *Relationship) HasSubjectSet() bool
- func (o Relationship) MarshalJSON() ([]byte, error)
- func (o *Relationship) SetNamespace(v string)
- func (o *Relationship) SetObject(v string)
- func (o *Relationship) SetRelation(v string)
- func (o *Relationship) SetSubjectId(v string)
- func (o *Relationship) SetSubjectSet(v SubjectSet)
- type RelationshipApi
- type RelationshipApiApiCheckOplSyntaxRequest
- type RelationshipApiApiCreateRelationshipRequest
- type RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) Execute() (*http.Response, error)
- func (r RelationshipApiApiDeleteRelationshipsRequest) Namespace(namespace string) RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) Object(object string) RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) Relation(relation string) RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectId(subjectId string) RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipApiApiDeleteRelationshipsRequest
- func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipApiApiDeleteRelationshipsRequest
- type RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) Execute() (*Relationships, *http.Response, error)
- func (r RelationshipApiApiGetRelationshipsRequest) Namespace(namespace string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) Object(object string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) PageSize(pageSize int64) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) PageToken(pageToken string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) Relation(relation string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) SubjectId(subjectId string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipApiApiGetRelationshipsRequest
- func (r RelationshipApiApiGetRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipApiApiGetRelationshipsRequest
- type RelationshipApiApiListRelationshipNamespacesRequest
- type RelationshipApiApiPatchRelationshipsRequest
- type RelationshipApiService
- func (a *RelationshipApiService) CheckOplSyntax(ctx context.Context) RelationshipApiApiCheckOplSyntaxRequest
- func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiApiCheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error)
- func (a *RelationshipApiService) CreateRelationship(ctx context.Context) RelationshipApiApiCreateRelationshipRequest
- func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiApiCreateRelationshipRequest) (*Relationship, *http.Response, error)
- func (a *RelationshipApiService) DeleteRelationships(ctx context.Context) RelationshipApiApiDeleteRelationshipsRequest
- func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiApiDeleteRelationshipsRequest) (*http.Response, error)
- func (a *RelationshipApiService) GetRelationships(ctx context.Context) RelationshipApiApiGetRelationshipsRequest
- func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiApiGetRelationshipsRequest) (*Relationships, *http.Response, error)
- func (a *RelationshipApiService) ListRelationshipNamespaces(ctx context.Context) RelationshipApiApiListRelationshipNamespacesRequest
- func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r RelationshipApiApiListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error)
- func (a *RelationshipApiService) PatchRelationships(ctx context.Context) RelationshipApiApiPatchRelationshipsRequest
- func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiApiPatchRelationshipsRequest) (*http.Response, error)
- type RelationshipNamespaces
- func (o *RelationshipNamespaces) GetNamespaces() []Namespace
- func (o *RelationshipNamespaces) GetNamespacesOk() ([]Namespace, bool)
- func (o *RelationshipNamespaces) HasNamespaces() bool
- func (o RelationshipNamespaces) MarshalJSON() ([]byte, error)
- func (o *RelationshipNamespaces) SetNamespaces(v []Namespace)
- type RelationshipPatch
- func (o *RelationshipPatch) GetAction() string
- func (o *RelationshipPatch) GetActionOk() (*string, bool)
- func (o *RelationshipPatch) GetRelationTuple() Relationship
- func (o *RelationshipPatch) GetRelationTupleOk() (*Relationship, bool)
- func (o *RelationshipPatch) HasAction() bool
- func (o *RelationshipPatch) HasRelationTuple() bool
- func (o RelationshipPatch) MarshalJSON() ([]byte, error)
- func (o *RelationshipPatch) SetAction(v string)
- func (o *RelationshipPatch) SetRelationTuple(v Relationship)
- type Relationships
- func (o *Relationships) GetNextPageToken() string
- func (o *Relationships) GetNextPageTokenOk() (*string, bool)
- func (o *Relationships) GetRelationTuples() []Relationship
- func (o *Relationships) GetRelationTuplesOk() ([]Relationship, bool)
- func (o *Relationships) HasNextPageToken() bool
- func (o *Relationships) HasRelationTuples() bool
- func (o Relationships) MarshalJSON() ([]byte, error)
- func (o *Relationships) SetNextPageToken(v string)
- func (o *Relationships) SetRelationTuples(v []Relationship)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SourcePosition
- func (o *SourcePosition) GetColumn() int64
- func (o *SourcePosition) GetColumnOk() (*int64, bool)
- func (o *SourcePosition) GetLine() int64
- func (o *SourcePosition) GetLineOk() (*int64, bool)
- func (o *SourcePosition) HasColumn() bool
- func (o *SourcePosition) HasLine() bool
- func (o SourcePosition) MarshalJSON() ([]byte, error)
- func (o *SourcePosition) SetColumn(v int64)
- func (o *SourcePosition) SetLine(v int64)
- 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
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 PermissionApi PermissionApi RelationshipApi RelationshipApi // 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 CheckOplSyntaxResult ¶
type CheckOplSyntaxResult struct { // The list of syntax errors Errors []ParseError `json:"errors,omitempty"` }
CheckOplSyntaxResult struct for CheckOplSyntaxResult
func NewCheckOplSyntaxResult ¶
func NewCheckOplSyntaxResult() *CheckOplSyntaxResult
NewCheckOplSyntaxResult instantiates a new CheckOplSyntaxResult 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 NewCheckOplSyntaxResultWithDefaults ¶
func NewCheckOplSyntaxResultWithDefaults() *CheckOplSyntaxResult
NewCheckOplSyntaxResultWithDefaults instantiates a new CheckOplSyntaxResult 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 (*CheckOplSyntaxResult) GetErrors ¶
func (o *CheckOplSyntaxResult) GetErrors() []ParseError
GetErrors returns the Errors field value if set, zero value otherwise.
func (*CheckOplSyntaxResult) GetErrorsOk ¶
func (o *CheckOplSyntaxResult) GetErrorsOk() ([]ParseError, 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 (*CheckOplSyntaxResult) HasErrors ¶
func (o *CheckOplSyntaxResult) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (CheckOplSyntaxResult) MarshalJSON ¶
func (o CheckOplSyntaxResult) MarshalJSON() ([]byte, error)
func (*CheckOplSyntaxResult) SetErrors ¶
func (o *CheckOplSyntaxResult) SetErrors(v []ParseError)
SetErrors gets a reference to the given []ParseError and assigns it to the Errors field.
type CheckPermissionResult ¶
type CheckPermissionResult struct { // whether the relation tuple is allowed Allowed bool `json:"allowed"` }
CheckPermissionResult The content of the allowed field is mirrored in the HTTP status code.
func NewCheckPermissionResult ¶
func NewCheckPermissionResult(allowed bool) *CheckPermissionResult
NewCheckPermissionResult instantiates a new CheckPermissionResult 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 NewCheckPermissionResultWithDefaults ¶
func NewCheckPermissionResultWithDefaults() *CheckPermissionResult
NewCheckPermissionResultWithDefaults instantiates a new CheckPermissionResult 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 (*CheckPermissionResult) GetAllowed ¶
func (o *CheckPermissionResult) GetAllowed() bool
GetAllowed returns the Allowed field value
func (*CheckPermissionResult) GetAllowedOk ¶
func (o *CheckPermissionResult) GetAllowedOk() (*bool, bool)
GetAllowedOk returns a tuple with the Allowed field value and a boolean to check if the value has been set.
func (CheckPermissionResult) MarshalJSON ¶
func (o CheckPermissionResult) MarshalJSON() ([]byte, error)
func (*CheckPermissionResult) SetAllowed ¶
func (o *CheckPermissionResult) SetAllowed(v bool)
SetAllowed sets field value
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 CreateRelationshipBody ¶
type CreateRelationshipBody 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"` }
CreateRelationshipBody Create Relationship Request Body
func NewCreateRelationshipBody ¶
func NewCreateRelationshipBody() *CreateRelationshipBody
NewCreateRelationshipBody instantiates a new CreateRelationshipBody 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 NewCreateRelationshipBodyWithDefaults ¶
func NewCreateRelationshipBodyWithDefaults() *CreateRelationshipBody
NewCreateRelationshipBodyWithDefaults instantiates a new CreateRelationshipBody 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 (*CreateRelationshipBody) GetNamespace ¶
func (o *CreateRelationshipBody) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*CreateRelationshipBody) GetNamespaceOk ¶
func (o *CreateRelationshipBody) 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 (*CreateRelationshipBody) GetObject ¶
func (o *CreateRelationshipBody) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CreateRelationshipBody) GetObjectOk ¶
func (o *CreateRelationshipBody) 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 (*CreateRelationshipBody) GetRelation ¶
func (o *CreateRelationshipBody) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*CreateRelationshipBody) GetRelationOk ¶
func (o *CreateRelationshipBody) 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 (*CreateRelationshipBody) GetSubjectId ¶
func (o *CreateRelationshipBody) GetSubjectId() string
GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (*CreateRelationshipBody) GetSubjectIdOk ¶
func (o *CreateRelationshipBody) 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 (*CreateRelationshipBody) GetSubjectSet ¶
func (o *CreateRelationshipBody) GetSubjectSet() SubjectSet
GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (*CreateRelationshipBody) GetSubjectSetOk ¶
func (o *CreateRelationshipBody) 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 (*CreateRelationshipBody) HasNamespace ¶
func (o *CreateRelationshipBody) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*CreateRelationshipBody) HasObject ¶
func (o *CreateRelationshipBody) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CreateRelationshipBody) HasRelation ¶
func (o *CreateRelationshipBody) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (*CreateRelationshipBody) HasSubjectId ¶
func (o *CreateRelationshipBody) HasSubjectId() bool
HasSubjectId returns a boolean if a field has been set.
func (*CreateRelationshipBody) HasSubjectSet ¶
func (o *CreateRelationshipBody) HasSubjectSet() bool
HasSubjectSet returns a boolean if a field has been set.
func (CreateRelationshipBody) MarshalJSON ¶
func (o CreateRelationshipBody) MarshalJSON() ([]byte, error)
func (*CreateRelationshipBody) SetNamespace ¶
func (o *CreateRelationshipBody) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*CreateRelationshipBody) SetObject ¶
func (o *CreateRelationshipBody) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CreateRelationshipBody) SetRelation ¶
func (o *CreateRelationshipBody) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*CreateRelationshipBody) SetSubjectId ¶
func (o *CreateRelationshipBody) SetSubjectId(v string)
SetSubjectId gets a reference to the given string and assigns it to the SubjectId field.
func (*CreateRelationshipBody) SetSubjectSet ¶
func (o *CreateRelationshipBody) SetSubjectSet(v SubjectSet)
SetSubjectSet gets a reference to the given SubjectSet and assigns it to the SubjectSet field.
type ErrorGeneric ¶
type ErrorGeneric struct {
Error GenericError `json:"error"`
}
ErrorGeneric The standard Ory JSON API error format.
func NewErrorGeneric ¶
func NewErrorGeneric(error_ GenericError) *ErrorGeneric
NewErrorGeneric instantiates a new ErrorGeneric 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 NewErrorGenericWithDefaults ¶
func NewErrorGenericWithDefaults() *ErrorGeneric
NewErrorGenericWithDefaults instantiates a new ErrorGeneric 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 (*ErrorGeneric) GetError ¶
func (o *ErrorGeneric) GetError() GenericError
GetError returns the Error field value
func (*ErrorGeneric) GetErrorOk ¶
func (o *ErrorGeneric) GetErrorOk() (*GenericError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (ErrorGeneric) MarshalJSON ¶
func (o ErrorGeneric) MarshalJSON() ([]byte, error)
func (*ErrorGeneric) SetError ¶
func (o *ErrorGeneric) SetError(v GenericError)
SetError sets field value
type ExpandedPermissionTree ¶
type ExpandedPermissionTree struct { // The children of the node, possibly none. Children []ExpandedPermissionTree `json:"children,omitempty"` Tuple *Relationship `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"` }
ExpandedPermissionTree struct for ExpandedPermissionTree
func NewExpandedPermissionTree ¶
func NewExpandedPermissionTree(type_ string) *ExpandedPermissionTree
NewExpandedPermissionTree instantiates a new ExpandedPermissionTree 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 NewExpandedPermissionTreeWithDefaults ¶
func NewExpandedPermissionTreeWithDefaults() *ExpandedPermissionTree
NewExpandedPermissionTreeWithDefaults instantiates a new ExpandedPermissionTree 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 (*ExpandedPermissionTree) GetChildren ¶
func (o *ExpandedPermissionTree) GetChildren() []ExpandedPermissionTree
GetChildren returns the Children field value if set, zero value otherwise.
func (*ExpandedPermissionTree) GetChildrenOk ¶
func (o *ExpandedPermissionTree) GetChildrenOk() ([]ExpandedPermissionTree, 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 (*ExpandedPermissionTree) GetTuple ¶
func (o *ExpandedPermissionTree) GetTuple() Relationship
GetTuple returns the Tuple field value if set, zero value otherwise.
func (*ExpandedPermissionTree) GetTupleOk ¶
func (o *ExpandedPermissionTree) GetTupleOk() (*Relationship, 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 (*ExpandedPermissionTree) GetType ¶
func (o *ExpandedPermissionTree) GetType() string
GetType returns the Type field value
func (*ExpandedPermissionTree) GetTypeOk ¶
func (o *ExpandedPermissionTree) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ExpandedPermissionTree) HasChildren ¶
func (o *ExpandedPermissionTree) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (*ExpandedPermissionTree) HasTuple ¶
func (o *ExpandedPermissionTree) HasTuple() bool
HasTuple returns a boolean if a field has been set.
func (ExpandedPermissionTree) MarshalJSON ¶
func (o ExpandedPermissionTree) MarshalJSON() ([]byte, error)
func (*ExpandedPermissionTree) SetChildren ¶
func (o *ExpandedPermissionTree) SetChildren(v []ExpandedPermissionTree)
SetChildren gets a reference to the given []ExpandedPermissionTree and assigns it to the Children field.
func (*ExpandedPermissionTree) SetTuple ¶
func (o *ExpandedPermissionTree) SetTuple(v Relationship)
SetTuple gets a reference to the given Relationship and assigns it to the Tuple field.
func (*ExpandedPermissionTree) SetType ¶
func (o *ExpandedPermissionTree) SetType(v string)
SetType sets field value
type GenericError ¶
type GenericError struct { // The status code Code *int64 `json:"code,omitempty"` // Debug information This field is often not exposed to protect against leaking sensitive information. Debug *string `json:"debug,omitempty"` // Further error details Details map[string]interface{} `json:"details,omitempty"` // The error ID Useful when trying to identify various errors in application logic. Id *string `json:"id,omitempty"` // Error message The error's message. Message string `json:"message"` // A human-readable reason for the error Reason *string `json:"reason,omitempty"` // The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID. Request *string `json:"request,omitempty"` // The status description Status *string `json:"status,omitempty"` }
GenericError struct for GenericError
func NewGenericError ¶
func NewGenericError(message string) *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) GetDebug ¶
func (o *GenericError) GetDebug() string
GetDebug returns the Debug field value if set, zero value otherwise.
func (*GenericError) GetDebugOk ¶
func (o *GenericError) GetDebugOk() (*string, bool)
GetDebugOk returns a tuple with the Debug 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) GetId ¶
func (o *GenericError) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*GenericError) GetIdOk ¶
func (o *GenericError) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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
func (*GenericError) GetMessageOk ¶
func (o *GenericError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value 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) HasDebug ¶
func (o *GenericError) HasDebug() bool
HasDebug 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) HasId ¶
func (o *GenericError) HasId() bool
HasId 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) SetDebug ¶
func (o *GenericError) SetDebug(v string)
SetDebug gets a reference to the given string and assigns it to the Debug 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) SetId ¶
func (o *GenericError) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*GenericError) SetMessage ¶
func (o *GenericError) SetMessage(v string)
SetMessage sets field value
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 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 Namespace ¶
type Namespace struct { // Name of the namespace. Name *string `json:"name,omitempty"` }
Namespace struct for Namespace
func NewNamespace ¶
func NewNamespace() *Namespace
NewNamespace instantiates a new Namespace 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 NewNamespaceWithDefaults ¶
func NewNamespaceWithDefaults() *Namespace
NewNamespaceWithDefaults instantiates a new Namespace 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 (*Namespace) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (Namespace) MarshalJSON ¶
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 NullableCheckOplSyntaxResult ¶
type NullableCheckOplSyntaxResult struct {
// contains filtered or unexported fields
}
func NewNullableCheckOplSyntaxResult ¶
func NewNullableCheckOplSyntaxResult(val *CheckOplSyntaxResult) *NullableCheckOplSyntaxResult
func (NullableCheckOplSyntaxResult) Get ¶
func (v NullableCheckOplSyntaxResult) Get() *CheckOplSyntaxResult
func (NullableCheckOplSyntaxResult) IsSet ¶
func (v NullableCheckOplSyntaxResult) IsSet() bool
func (NullableCheckOplSyntaxResult) MarshalJSON ¶
func (v NullableCheckOplSyntaxResult) MarshalJSON() ([]byte, error)
func (*NullableCheckOplSyntaxResult) Set ¶
func (v *NullableCheckOplSyntaxResult) Set(val *CheckOplSyntaxResult)
func (*NullableCheckOplSyntaxResult) UnmarshalJSON ¶
func (v *NullableCheckOplSyntaxResult) UnmarshalJSON(src []byte) error
func (*NullableCheckOplSyntaxResult) Unset ¶
func (v *NullableCheckOplSyntaxResult) Unset()
type NullableCheckPermissionResult ¶
type NullableCheckPermissionResult struct {
// contains filtered or unexported fields
}
func NewNullableCheckPermissionResult ¶
func NewNullableCheckPermissionResult(val *CheckPermissionResult) *NullableCheckPermissionResult
func (NullableCheckPermissionResult) Get ¶
func (v NullableCheckPermissionResult) Get() *CheckPermissionResult
func (NullableCheckPermissionResult) IsSet ¶
func (v NullableCheckPermissionResult) IsSet() bool
func (NullableCheckPermissionResult) MarshalJSON ¶
func (v NullableCheckPermissionResult) MarshalJSON() ([]byte, error)
func (*NullableCheckPermissionResult) Set ¶
func (v *NullableCheckPermissionResult) Set(val *CheckPermissionResult)
func (*NullableCheckPermissionResult) UnmarshalJSON ¶
func (v *NullableCheckPermissionResult) UnmarshalJSON(src []byte) error
func (*NullableCheckPermissionResult) Unset ¶
func (v *NullableCheckPermissionResult) Unset()
type NullableCreateRelationshipBody ¶
type NullableCreateRelationshipBody struct {
// contains filtered or unexported fields
}
func NewNullableCreateRelationshipBody ¶
func NewNullableCreateRelationshipBody(val *CreateRelationshipBody) *NullableCreateRelationshipBody
func (NullableCreateRelationshipBody) Get ¶
func (v NullableCreateRelationshipBody) Get() *CreateRelationshipBody
func (NullableCreateRelationshipBody) IsSet ¶
func (v NullableCreateRelationshipBody) IsSet() bool
func (NullableCreateRelationshipBody) MarshalJSON ¶
func (v NullableCreateRelationshipBody) MarshalJSON() ([]byte, error)
func (*NullableCreateRelationshipBody) Set ¶
func (v *NullableCreateRelationshipBody) Set(val *CreateRelationshipBody)
func (*NullableCreateRelationshipBody) UnmarshalJSON ¶
func (v *NullableCreateRelationshipBody) UnmarshalJSON(src []byte) error
func (*NullableCreateRelationshipBody) Unset ¶
func (v *NullableCreateRelationshipBody) Unset()
type NullableErrorGeneric ¶
type NullableErrorGeneric struct {
// contains filtered or unexported fields
}
func NewNullableErrorGeneric ¶
func NewNullableErrorGeneric(val *ErrorGeneric) *NullableErrorGeneric
func (NullableErrorGeneric) Get ¶
func (v NullableErrorGeneric) Get() *ErrorGeneric
func (NullableErrorGeneric) IsSet ¶
func (v NullableErrorGeneric) IsSet() bool
func (NullableErrorGeneric) MarshalJSON ¶
func (v NullableErrorGeneric) MarshalJSON() ([]byte, error)
func (*NullableErrorGeneric) Set ¶
func (v *NullableErrorGeneric) Set(val *ErrorGeneric)
func (*NullableErrorGeneric) UnmarshalJSON ¶
func (v *NullableErrorGeneric) UnmarshalJSON(src []byte) error
func (*NullableErrorGeneric) Unset ¶
func (v *NullableErrorGeneric) Unset()
type NullableExpandedPermissionTree ¶
type NullableExpandedPermissionTree struct {
// contains filtered or unexported fields
}
func NewNullableExpandedPermissionTree ¶
func NewNullableExpandedPermissionTree(val *ExpandedPermissionTree) *NullableExpandedPermissionTree
func (NullableExpandedPermissionTree) Get ¶
func (v NullableExpandedPermissionTree) Get() *ExpandedPermissionTree
func (NullableExpandedPermissionTree) IsSet ¶
func (v NullableExpandedPermissionTree) IsSet() bool
func (NullableExpandedPermissionTree) MarshalJSON ¶
func (v NullableExpandedPermissionTree) MarshalJSON() ([]byte, error)
func (*NullableExpandedPermissionTree) Set ¶
func (v *NullableExpandedPermissionTree) Set(val *ExpandedPermissionTree)
func (*NullableExpandedPermissionTree) UnmarshalJSON ¶
func (v *NullableExpandedPermissionTree) UnmarshalJSON(src []byte) error
func (*NullableExpandedPermissionTree) Unset ¶
func (v *NullableExpandedPermissionTree) 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 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 NullableNamespace ¶
type NullableNamespace struct {
// contains filtered or unexported fields
}
func NewNullableNamespace ¶
func NewNullableNamespace(val *Namespace) *NullableNamespace
func (NullableNamespace) Get ¶
func (v NullableNamespace) Get() *Namespace
func (NullableNamespace) IsSet ¶
func (v NullableNamespace) IsSet() bool
func (NullableNamespace) MarshalJSON ¶
func (v NullableNamespace) MarshalJSON() ([]byte, error)
func (*NullableNamespace) Set ¶
func (v *NullableNamespace) Set(val *Namespace)
func (*NullableNamespace) UnmarshalJSON ¶
func (v *NullableNamespace) UnmarshalJSON(src []byte) error
func (*NullableNamespace) Unset ¶
func (v *NullableNamespace) Unset()
type NullableParseError ¶
type NullableParseError struct {
// contains filtered or unexported fields
}
func NewNullableParseError ¶
func NewNullableParseError(val *ParseError) *NullableParseError
func (NullableParseError) Get ¶
func (v NullableParseError) Get() *ParseError
func (NullableParseError) IsSet ¶
func (v NullableParseError) IsSet() bool
func (NullableParseError) MarshalJSON ¶
func (v NullableParseError) MarshalJSON() ([]byte, error)
func (*NullableParseError) Set ¶
func (v *NullableParseError) Set(val *ParseError)
func (*NullableParseError) UnmarshalJSON ¶
func (v *NullableParseError) UnmarshalJSON(src []byte) error
func (*NullableParseError) Unset ¶
func (v *NullableParseError) Unset()
type NullablePostCheckPermissionBody ¶
type NullablePostCheckPermissionBody struct {
// contains filtered or unexported fields
}
func NewNullablePostCheckPermissionBody ¶
func NewNullablePostCheckPermissionBody(val *PostCheckPermissionBody) *NullablePostCheckPermissionBody
func (NullablePostCheckPermissionBody) Get ¶
func (v NullablePostCheckPermissionBody) Get() *PostCheckPermissionBody
func (NullablePostCheckPermissionBody) IsSet ¶
func (v NullablePostCheckPermissionBody) IsSet() bool
func (NullablePostCheckPermissionBody) MarshalJSON ¶
func (v NullablePostCheckPermissionBody) MarshalJSON() ([]byte, error)
func (*NullablePostCheckPermissionBody) Set ¶
func (v *NullablePostCheckPermissionBody) Set(val *PostCheckPermissionBody)
func (*NullablePostCheckPermissionBody) UnmarshalJSON ¶
func (v *NullablePostCheckPermissionBody) UnmarshalJSON(src []byte) error
func (*NullablePostCheckPermissionBody) Unset ¶
func (v *NullablePostCheckPermissionBody) Unset()
type NullablePostCheckPermissionOrErrorBody ¶
type NullablePostCheckPermissionOrErrorBody struct {
// contains filtered or unexported fields
}
func NewNullablePostCheckPermissionOrErrorBody ¶
func NewNullablePostCheckPermissionOrErrorBody(val *PostCheckPermissionOrErrorBody) *NullablePostCheckPermissionOrErrorBody
func (NullablePostCheckPermissionOrErrorBody) Get ¶
func (v NullablePostCheckPermissionOrErrorBody) Get() *PostCheckPermissionOrErrorBody
func (NullablePostCheckPermissionOrErrorBody) IsSet ¶
func (v NullablePostCheckPermissionOrErrorBody) IsSet() bool
func (NullablePostCheckPermissionOrErrorBody) MarshalJSON ¶
func (v NullablePostCheckPermissionOrErrorBody) MarshalJSON() ([]byte, error)
func (*NullablePostCheckPermissionOrErrorBody) Set ¶
func (v *NullablePostCheckPermissionOrErrorBody) Set(val *PostCheckPermissionOrErrorBody)
func (*NullablePostCheckPermissionOrErrorBody) UnmarshalJSON ¶
func (v *NullablePostCheckPermissionOrErrorBody) UnmarshalJSON(src []byte) error
func (*NullablePostCheckPermissionOrErrorBody) Unset ¶
func (v *NullablePostCheckPermissionOrErrorBody) 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 NullableRelationship ¶
type NullableRelationship struct {
// contains filtered or unexported fields
}
func NewNullableRelationship ¶
func NewNullableRelationship(val *Relationship) *NullableRelationship
func (NullableRelationship) Get ¶
func (v NullableRelationship) Get() *Relationship
func (NullableRelationship) IsSet ¶
func (v NullableRelationship) IsSet() bool
func (NullableRelationship) MarshalJSON ¶
func (v NullableRelationship) MarshalJSON() ([]byte, error)
func (*NullableRelationship) Set ¶
func (v *NullableRelationship) Set(val *Relationship)
func (*NullableRelationship) UnmarshalJSON ¶
func (v *NullableRelationship) UnmarshalJSON(src []byte) error
func (*NullableRelationship) Unset ¶
func (v *NullableRelationship) Unset()
type NullableRelationshipNamespaces ¶
type NullableRelationshipNamespaces struct {
// contains filtered or unexported fields
}
func NewNullableRelationshipNamespaces ¶
func NewNullableRelationshipNamespaces(val *RelationshipNamespaces) *NullableRelationshipNamespaces
func (NullableRelationshipNamespaces) Get ¶
func (v NullableRelationshipNamespaces) Get() *RelationshipNamespaces
func (NullableRelationshipNamespaces) IsSet ¶
func (v NullableRelationshipNamespaces) IsSet() bool
func (NullableRelationshipNamespaces) MarshalJSON ¶
func (v NullableRelationshipNamespaces) MarshalJSON() ([]byte, error)
func (*NullableRelationshipNamespaces) Set ¶
func (v *NullableRelationshipNamespaces) Set(val *RelationshipNamespaces)
func (*NullableRelationshipNamespaces) UnmarshalJSON ¶
func (v *NullableRelationshipNamespaces) UnmarshalJSON(src []byte) error
func (*NullableRelationshipNamespaces) Unset ¶
func (v *NullableRelationshipNamespaces) Unset()
type NullableRelationshipPatch ¶
type NullableRelationshipPatch struct {
// contains filtered or unexported fields
}
func NewNullableRelationshipPatch ¶
func NewNullableRelationshipPatch(val *RelationshipPatch) *NullableRelationshipPatch
func (NullableRelationshipPatch) Get ¶
func (v NullableRelationshipPatch) Get() *RelationshipPatch
func (NullableRelationshipPatch) IsSet ¶
func (v NullableRelationshipPatch) IsSet() bool
func (NullableRelationshipPatch) MarshalJSON ¶
func (v NullableRelationshipPatch) MarshalJSON() ([]byte, error)
func (*NullableRelationshipPatch) Set ¶
func (v *NullableRelationshipPatch) Set(val *RelationshipPatch)
func (*NullableRelationshipPatch) UnmarshalJSON ¶
func (v *NullableRelationshipPatch) UnmarshalJSON(src []byte) error
func (*NullableRelationshipPatch) Unset ¶
func (v *NullableRelationshipPatch) Unset()
type NullableRelationships ¶
type NullableRelationships struct {
// contains filtered or unexported fields
}
func NewNullableRelationships ¶
func NewNullableRelationships(val *Relationships) *NullableRelationships
func (NullableRelationships) Get ¶
func (v NullableRelationships) Get() *Relationships
func (NullableRelationships) IsSet ¶
func (v NullableRelationships) IsSet() bool
func (NullableRelationships) MarshalJSON ¶
func (v NullableRelationships) MarshalJSON() ([]byte, error)
func (*NullableRelationships) Set ¶
func (v *NullableRelationships) Set(val *Relationships)
func (*NullableRelationships) UnmarshalJSON ¶
func (v *NullableRelationships) UnmarshalJSON(src []byte) error
func (*NullableRelationships) Unset ¶
func (v *NullableRelationships) Unset()
type NullableSourcePosition ¶
type NullableSourcePosition struct {
// contains filtered or unexported fields
}
func NewNullableSourcePosition ¶
func NewNullableSourcePosition(val *SourcePosition) *NullableSourcePosition
func (NullableSourcePosition) Get ¶
func (v NullableSourcePosition) Get() *SourcePosition
func (NullableSourcePosition) IsSet ¶
func (v NullableSourcePosition) IsSet() bool
func (NullableSourcePosition) MarshalJSON ¶
func (v NullableSourcePosition) MarshalJSON() ([]byte, error)
func (*NullableSourcePosition) Set ¶
func (v *NullableSourcePosition) Set(val *SourcePosition)
func (*NullableSourcePosition) UnmarshalJSON ¶
func (v *NullableSourcePosition) UnmarshalJSON(src []byte) error
func (*NullableSourcePosition) Unset ¶
func (v *NullableSourcePosition) 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 ParseError ¶
type ParseError struct { End *SourcePosition `json:"end,omitempty"` Message *string `json:"message,omitempty"` Start *SourcePosition `json:"start,omitempty"` }
ParseError struct for ParseError
func NewParseError ¶
func NewParseError() *ParseError
NewParseError instantiates a new ParseError 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 NewParseErrorWithDefaults ¶
func NewParseErrorWithDefaults() *ParseError
NewParseErrorWithDefaults instantiates a new ParseError 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 (*ParseError) GetEnd ¶
func (o *ParseError) GetEnd() SourcePosition
GetEnd returns the End field value if set, zero value otherwise.
func (*ParseError) GetEndOk ¶
func (o *ParseError) GetEndOk() (*SourcePosition, bool)
GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParseError) GetMessage ¶
func (o *ParseError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ParseError) GetMessageOk ¶
func (o *ParseError) 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 (*ParseError) GetStart ¶
func (o *ParseError) GetStart() SourcePosition
GetStart returns the Start field value if set, zero value otherwise.
func (*ParseError) GetStartOk ¶
func (o *ParseError) GetStartOk() (*SourcePosition, bool)
GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParseError) HasEnd ¶
func (o *ParseError) HasEnd() bool
HasEnd returns a boolean if a field has been set.
func (*ParseError) HasMessage ¶
func (o *ParseError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ParseError) HasStart ¶
func (o *ParseError) HasStart() bool
HasStart returns a boolean if a field has been set.
func (ParseError) MarshalJSON ¶
func (o ParseError) MarshalJSON() ([]byte, error)
func (*ParseError) SetEnd ¶
func (o *ParseError) SetEnd(v SourcePosition)
SetEnd gets a reference to the given SourcePosition and assigns it to the End field.
func (*ParseError) SetMessage ¶
func (o *ParseError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ParseError) SetStart ¶
func (o *ParseError) SetStart(v SourcePosition)
SetStart gets a reference to the given SourcePosition and assigns it to the Start field.
type PermissionApi ¶
type PermissionApi interface { /* * CheckPermission Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiCheckPermissionRequest */ CheckPermission(ctx context.Context) PermissionApiApiCheckPermissionRequest /* * CheckPermissionExecute executes the request * @return CheckPermissionResult */ CheckPermissionExecute(r PermissionApiApiCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error) /* * CheckPermissionOrError Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiCheckPermissionOrErrorRequest */ CheckPermissionOrError(ctx context.Context) PermissionApiApiCheckPermissionOrErrorRequest /* * CheckPermissionOrErrorExecute executes the request * @return CheckPermissionResult */ CheckPermissionOrErrorExecute(r PermissionApiApiCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error) /* * ExpandPermissions Expand a Relationship into permissions. * Use this endpoint to expand a relationship tuple into permissions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiExpandPermissionsRequest */ ExpandPermissions(ctx context.Context) PermissionApiApiExpandPermissionsRequest /* * ExpandPermissionsExecute executes the request * @return ExpandedPermissionTree */ ExpandPermissionsExecute(r PermissionApiApiExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error) /* * PostCheckPermission Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiPostCheckPermissionRequest */ PostCheckPermission(ctx context.Context) PermissionApiApiPostCheckPermissionRequest /* * PostCheckPermissionExecute executes the request * @return CheckPermissionResult */ PostCheckPermissionExecute(r PermissionApiApiPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error) /* * PostCheckPermissionOrError Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiPostCheckPermissionOrErrorRequest */ PostCheckPermissionOrError(ctx context.Context) PermissionApiApiPostCheckPermissionOrErrorRequest /* * PostCheckPermissionOrErrorExecute executes the request * @return CheckPermissionResult */ PostCheckPermissionOrErrorExecute(r PermissionApiApiPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error) }
type PermissionApiApiCheckPermissionOrErrorRequest ¶
type PermissionApiApiCheckPermissionOrErrorRequest struct { ApiService PermissionApi // contains filtered or unexported fields }
func (PermissionApiApiCheckPermissionOrErrorRequest) Execute ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error)
func (PermissionApiApiCheckPermissionOrErrorRequest) MaxDepth ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) Namespace ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) Namespace(namespace string) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) Object ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) Object(object string) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) Relation ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) Relation(relation string) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) SubjectId ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectId(subjectId string) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetNamespace ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetObject ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetObject(subjectSetObject string) PermissionApiApiCheckPermissionOrErrorRequest
func (PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetRelation ¶
func (r PermissionApiApiCheckPermissionOrErrorRequest) SubjectSetRelation(subjectSetRelation string) PermissionApiApiCheckPermissionOrErrorRequest
type PermissionApiApiCheckPermissionRequest ¶
type PermissionApiApiCheckPermissionRequest struct { ApiService PermissionApi // contains filtered or unexported fields }
func (PermissionApiApiCheckPermissionRequest) Execute ¶
func (r PermissionApiApiCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error)
func (PermissionApiApiCheckPermissionRequest) MaxDepth ¶
func (r PermissionApiApiCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) Namespace ¶
func (r PermissionApiApiCheckPermissionRequest) Namespace(namespace string) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) Object ¶
func (r PermissionApiApiCheckPermissionRequest) Object(object string) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) Relation ¶
func (r PermissionApiApiCheckPermissionRequest) Relation(relation string) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) SubjectId ¶
func (r PermissionApiApiCheckPermissionRequest) SubjectId(subjectId string) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) SubjectSetNamespace ¶
func (r PermissionApiApiCheckPermissionRequest) SubjectSetNamespace(subjectSetNamespace string) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) SubjectSetObject ¶
func (r PermissionApiApiCheckPermissionRequest) SubjectSetObject(subjectSetObject string) PermissionApiApiCheckPermissionRequest
func (PermissionApiApiCheckPermissionRequest) SubjectSetRelation ¶
func (r PermissionApiApiCheckPermissionRequest) SubjectSetRelation(subjectSetRelation string) PermissionApiApiCheckPermissionRequest
type PermissionApiApiExpandPermissionsRequest ¶
type PermissionApiApiExpandPermissionsRequest struct { ApiService PermissionApi // contains filtered or unexported fields }
func (PermissionApiApiExpandPermissionsRequest) Execute ¶
func (r PermissionApiApiExpandPermissionsRequest) Execute() (*ExpandedPermissionTree, *http.Response, error)
func (PermissionApiApiExpandPermissionsRequest) MaxDepth ¶
func (r PermissionApiApiExpandPermissionsRequest) MaxDepth(maxDepth int64) PermissionApiApiExpandPermissionsRequest
func (PermissionApiApiExpandPermissionsRequest) Namespace ¶
func (r PermissionApiApiExpandPermissionsRequest) Namespace(namespace string) PermissionApiApiExpandPermissionsRequest
func (PermissionApiApiExpandPermissionsRequest) Object ¶
func (r PermissionApiApiExpandPermissionsRequest) Object(object string) PermissionApiApiExpandPermissionsRequest
func (PermissionApiApiExpandPermissionsRequest) Relation ¶
func (r PermissionApiApiExpandPermissionsRequest) Relation(relation string) PermissionApiApiExpandPermissionsRequest
type PermissionApiApiPostCheckPermissionOrErrorRequest ¶
type PermissionApiApiPostCheckPermissionOrErrorRequest struct { ApiService PermissionApi // contains filtered or unexported fields }
func (PermissionApiApiPostCheckPermissionOrErrorRequest) Execute ¶
func (r PermissionApiApiPostCheckPermissionOrErrorRequest) Execute() (*CheckPermissionResult, *http.Response, error)
func (PermissionApiApiPostCheckPermissionOrErrorRequest) MaxDepth ¶
func (r PermissionApiApiPostCheckPermissionOrErrorRequest) MaxDepth(maxDepth int64) PermissionApiApiPostCheckPermissionOrErrorRequest
func (PermissionApiApiPostCheckPermissionOrErrorRequest) PostCheckPermissionOrErrorBody ¶
func (r PermissionApiApiPostCheckPermissionOrErrorRequest) PostCheckPermissionOrErrorBody(postCheckPermissionOrErrorBody PostCheckPermissionOrErrorBody) PermissionApiApiPostCheckPermissionOrErrorRequest
type PermissionApiApiPostCheckPermissionRequest ¶
type PermissionApiApiPostCheckPermissionRequest struct { ApiService PermissionApi // contains filtered or unexported fields }
func (PermissionApiApiPostCheckPermissionRequest) Execute ¶
func (r PermissionApiApiPostCheckPermissionRequest) Execute() (*CheckPermissionResult, *http.Response, error)
func (PermissionApiApiPostCheckPermissionRequest) MaxDepth ¶
func (r PermissionApiApiPostCheckPermissionRequest) MaxDepth(maxDepth int64) PermissionApiApiPostCheckPermissionRequest
func (PermissionApiApiPostCheckPermissionRequest) PostCheckPermissionBody ¶
func (r PermissionApiApiPostCheckPermissionRequest) PostCheckPermissionBody(postCheckPermissionBody PostCheckPermissionBody) PermissionApiApiPostCheckPermissionRequest
type PermissionApiService ¶
type PermissionApiService service
PermissionApiService PermissionApi service
func (*PermissionApiService) CheckPermission ¶
func (a *PermissionApiService) CheckPermission(ctx context.Context) PermissionApiApiCheckPermissionRequest
* CheckPermission Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiCheckPermissionRequest
func (*PermissionApiService) CheckPermissionExecute ¶
func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiApiCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
* Execute executes the request * @return CheckPermissionResult
func (*PermissionApiService) CheckPermissionOrError ¶
func (a *PermissionApiService) CheckPermissionOrError(ctx context.Context) PermissionApiApiCheckPermissionOrErrorRequest
* CheckPermissionOrError Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiCheckPermissionOrErrorRequest
func (*PermissionApiService) CheckPermissionOrErrorExecute ¶
func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiApiCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
* Execute executes the request * @return CheckPermissionResult
func (*PermissionApiService) ExpandPermissions ¶
func (a *PermissionApiService) ExpandPermissions(ctx context.Context) PermissionApiApiExpandPermissionsRequest
* ExpandPermissions Expand a Relationship into permissions. * Use this endpoint to expand a relationship tuple into permissions. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiExpandPermissionsRequest
func (*PermissionApiService) ExpandPermissionsExecute ¶
func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiApiExpandPermissionsRequest) (*ExpandedPermissionTree, *http.Response, error)
* Execute executes the request * @return ExpandedPermissionTree
func (*PermissionApiService) PostCheckPermission ¶
func (a *PermissionApiService) PostCheckPermission(ctx context.Context) PermissionApiApiPostCheckPermissionRequest
* PostCheckPermission Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiPostCheckPermissionRequest
func (*PermissionApiService) PostCheckPermissionExecute ¶
func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiApiPostCheckPermissionRequest) (*CheckPermissionResult, *http.Response, error)
* Execute executes the request * @return CheckPermissionResult
func (*PermissionApiService) PostCheckPermissionOrError ¶
func (a *PermissionApiService) PostCheckPermissionOrError(ctx context.Context) PermissionApiApiPostCheckPermissionOrErrorRequest
* PostCheckPermissionOrError Check a permission * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return PermissionApiApiPostCheckPermissionOrErrorRequest
func (*PermissionApiService) PostCheckPermissionOrErrorExecute ¶
func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApiApiPostCheckPermissionOrErrorRequest) (*CheckPermissionResult, *http.Response, error)
* Execute executes the request * @return CheckPermissionResult
type PostCheckPermissionBody ¶
type PostCheckPermissionBody 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"` }
PostCheckPermissionBody Check Permission using Post Request Body
func NewPostCheckPermissionBody ¶
func NewPostCheckPermissionBody() *PostCheckPermissionBody
NewPostCheckPermissionBody instantiates a new PostCheckPermissionBody 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 NewPostCheckPermissionBodyWithDefaults ¶
func NewPostCheckPermissionBodyWithDefaults() *PostCheckPermissionBody
NewPostCheckPermissionBodyWithDefaults instantiates a new PostCheckPermissionBody 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 (*PostCheckPermissionBody) GetNamespace ¶
func (o *PostCheckPermissionBody) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*PostCheckPermissionBody) GetNamespaceOk ¶
func (o *PostCheckPermissionBody) 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 (*PostCheckPermissionBody) GetObject ¶
func (o *PostCheckPermissionBody) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*PostCheckPermissionBody) GetObjectOk ¶
func (o *PostCheckPermissionBody) 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 (*PostCheckPermissionBody) GetRelation ¶
func (o *PostCheckPermissionBody) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*PostCheckPermissionBody) GetRelationOk ¶
func (o *PostCheckPermissionBody) 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 (*PostCheckPermissionBody) GetSubjectId ¶
func (o *PostCheckPermissionBody) GetSubjectId() string
GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (*PostCheckPermissionBody) GetSubjectIdOk ¶
func (o *PostCheckPermissionBody) 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 (*PostCheckPermissionBody) GetSubjectSet ¶
func (o *PostCheckPermissionBody) GetSubjectSet() SubjectSet
GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (*PostCheckPermissionBody) GetSubjectSetOk ¶
func (o *PostCheckPermissionBody) 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 (*PostCheckPermissionBody) HasNamespace ¶
func (o *PostCheckPermissionBody) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*PostCheckPermissionBody) HasObject ¶
func (o *PostCheckPermissionBody) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*PostCheckPermissionBody) HasRelation ¶
func (o *PostCheckPermissionBody) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (*PostCheckPermissionBody) HasSubjectId ¶
func (o *PostCheckPermissionBody) HasSubjectId() bool
HasSubjectId returns a boolean if a field has been set.
func (*PostCheckPermissionBody) HasSubjectSet ¶
func (o *PostCheckPermissionBody) HasSubjectSet() bool
HasSubjectSet returns a boolean if a field has been set.
func (PostCheckPermissionBody) MarshalJSON ¶
func (o PostCheckPermissionBody) MarshalJSON() ([]byte, error)
func (*PostCheckPermissionBody) SetNamespace ¶
func (o *PostCheckPermissionBody) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*PostCheckPermissionBody) SetObject ¶
func (o *PostCheckPermissionBody) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*PostCheckPermissionBody) SetRelation ¶
func (o *PostCheckPermissionBody) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*PostCheckPermissionBody) SetSubjectId ¶
func (o *PostCheckPermissionBody) SetSubjectId(v string)
SetSubjectId gets a reference to the given string and assigns it to the SubjectId field.
func (*PostCheckPermissionBody) SetSubjectSet ¶
func (o *PostCheckPermissionBody) SetSubjectSet(v SubjectSet)
SetSubjectSet gets a reference to the given SubjectSet and assigns it to the SubjectSet field.
type PostCheckPermissionOrErrorBody ¶
type PostCheckPermissionOrErrorBody 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"` }
PostCheckPermissionOrErrorBody Post Check Permission Or Error Body
func NewPostCheckPermissionOrErrorBody ¶
func NewPostCheckPermissionOrErrorBody() *PostCheckPermissionOrErrorBody
NewPostCheckPermissionOrErrorBody instantiates a new PostCheckPermissionOrErrorBody 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 NewPostCheckPermissionOrErrorBodyWithDefaults ¶
func NewPostCheckPermissionOrErrorBodyWithDefaults() *PostCheckPermissionOrErrorBody
NewPostCheckPermissionOrErrorBodyWithDefaults instantiates a new PostCheckPermissionOrErrorBody 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 (*PostCheckPermissionOrErrorBody) GetNamespace ¶
func (o *PostCheckPermissionOrErrorBody) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*PostCheckPermissionOrErrorBody) GetNamespaceOk ¶
func (o *PostCheckPermissionOrErrorBody) 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 (*PostCheckPermissionOrErrorBody) GetObject ¶
func (o *PostCheckPermissionOrErrorBody) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*PostCheckPermissionOrErrorBody) GetObjectOk ¶
func (o *PostCheckPermissionOrErrorBody) 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 (*PostCheckPermissionOrErrorBody) GetRelation ¶
func (o *PostCheckPermissionOrErrorBody) GetRelation() string
GetRelation returns the Relation field value if set, zero value otherwise.
func (*PostCheckPermissionOrErrorBody) GetRelationOk ¶
func (o *PostCheckPermissionOrErrorBody) 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 (*PostCheckPermissionOrErrorBody) GetSubjectId ¶
func (o *PostCheckPermissionOrErrorBody) GetSubjectId() string
GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (*PostCheckPermissionOrErrorBody) GetSubjectIdOk ¶
func (o *PostCheckPermissionOrErrorBody) 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 (*PostCheckPermissionOrErrorBody) GetSubjectSet ¶
func (o *PostCheckPermissionOrErrorBody) GetSubjectSet() SubjectSet
GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (*PostCheckPermissionOrErrorBody) GetSubjectSetOk ¶
func (o *PostCheckPermissionOrErrorBody) 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 (*PostCheckPermissionOrErrorBody) HasNamespace ¶
func (o *PostCheckPermissionOrErrorBody) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*PostCheckPermissionOrErrorBody) HasObject ¶
func (o *PostCheckPermissionOrErrorBody) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*PostCheckPermissionOrErrorBody) HasRelation ¶
func (o *PostCheckPermissionOrErrorBody) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (*PostCheckPermissionOrErrorBody) HasSubjectId ¶
func (o *PostCheckPermissionOrErrorBody) HasSubjectId() bool
HasSubjectId returns a boolean if a field has been set.
func (*PostCheckPermissionOrErrorBody) HasSubjectSet ¶
func (o *PostCheckPermissionOrErrorBody) HasSubjectSet() bool
HasSubjectSet returns a boolean if a field has been set.
func (PostCheckPermissionOrErrorBody) MarshalJSON ¶
func (o PostCheckPermissionOrErrorBody) MarshalJSON() ([]byte, error)
func (*PostCheckPermissionOrErrorBody) SetNamespace ¶
func (o *PostCheckPermissionOrErrorBody) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*PostCheckPermissionOrErrorBody) SetObject ¶
func (o *PostCheckPermissionOrErrorBody) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*PostCheckPermissionOrErrorBody) SetRelation ¶
func (o *PostCheckPermissionOrErrorBody) SetRelation(v string)
SetRelation gets a reference to the given string and assigns it to the Relation field.
func (*PostCheckPermissionOrErrorBody) SetSubjectId ¶
func (o *PostCheckPermissionOrErrorBody) SetSubjectId(v string)
SetSubjectId gets a reference to the given string and assigns it to the SubjectId field.
func (*PostCheckPermissionOrErrorBody) SetSubjectSet ¶
func (o *PostCheckPermissionOrErrorBody) SetSubjectSet(v SubjectSet)
SetSubjectSet gets a reference to the given SubjectSet and assigns it to the SubjectSet field.
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 Relation Query
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 Relationship ¶
type Relationship 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"` }
Relationship Relationship
func NewRelationship ¶
func NewRelationship(namespace string, object string, relation string) *Relationship
NewRelationship instantiates a new Relationship object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRelationshipWithDefaults ¶
func NewRelationshipWithDefaults() *Relationship
NewRelationshipWithDefaults instantiates a new Relationship object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Relationship) GetNamespace ¶
func (o *Relationship) GetNamespace() string
GetNamespace returns the Namespace field value
func (*Relationship) GetNamespaceOk ¶
func (o *Relationship) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*Relationship) GetObject ¶
func (o *Relationship) GetObject() string
GetObject returns the Object field value
func (*Relationship) GetObjectOk ¶
func (o *Relationship) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*Relationship) GetRelation ¶
func (o *Relationship) GetRelation() string
GetRelation returns the Relation field value
func (*Relationship) GetRelationOk ¶
func (o *Relationship) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field value and a boolean to check if the value has been set.
func (*Relationship) GetSubjectId ¶
func (o *Relationship) GetSubjectId() string
GetSubjectId returns the SubjectId field value if set, zero value otherwise.
func (*Relationship) GetSubjectIdOk ¶
func (o *Relationship) 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 (*Relationship) GetSubjectSet ¶
func (o *Relationship) GetSubjectSet() SubjectSet
GetSubjectSet returns the SubjectSet field value if set, zero value otherwise.
func (*Relationship) GetSubjectSetOk ¶
func (o *Relationship) 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 (*Relationship) HasSubjectId ¶
func (o *Relationship) HasSubjectId() bool
HasSubjectId returns a boolean if a field has been set.
func (*Relationship) HasSubjectSet ¶
func (o *Relationship) HasSubjectSet() bool
HasSubjectSet returns a boolean if a field has been set.
func (Relationship) MarshalJSON ¶
func (o Relationship) MarshalJSON() ([]byte, error)
func (*Relationship) SetNamespace ¶
func (o *Relationship) SetNamespace(v string)
SetNamespace sets field value
func (*Relationship) SetObject ¶
func (o *Relationship) SetObject(v string)
SetObject sets field value
func (*Relationship) SetRelation ¶
func (o *Relationship) SetRelation(v string)
SetRelation sets field value
func (*Relationship) SetSubjectId ¶
func (o *Relationship) SetSubjectId(v string)
SetSubjectId gets a reference to the given string and assigns it to the SubjectId field.
func (*Relationship) SetSubjectSet ¶
func (o *Relationship) SetSubjectSet(v SubjectSet)
SetSubjectSet gets a reference to the given SubjectSet and assigns it to the SubjectSet field.
type RelationshipApi ¶
type RelationshipApi interface { /* * CheckOplSyntax Check the syntax of an OPL file * The OPL file is expected in the body of the request. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiCheckOplSyntaxRequest */ CheckOplSyntax(ctx context.Context) RelationshipApiApiCheckOplSyntaxRequest /* * CheckOplSyntaxExecute executes the request * @return CheckOplSyntaxResult */ CheckOplSyntaxExecute(r RelationshipApiApiCheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error) /* * CreateRelationship Create a Relationship * Use this endpoint to create a relationship. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiCreateRelationshipRequest */ CreateRelationship(ctx context.Context) RelationshipApiApiCreateRelationshipRequest /* * CreateRelationshipExecute executes the request * @return Relationship */ CreateRelationshipExecute(r RelationshipApiApiCreateRelationshipRequest) (*Relationship, *http.Response, error) /* * DeleteRelationships Delete Relationships * Use this endpoint to delete relationships * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiDeleteRelationshipsRequest */ DeleteRelationships(ctx context.Context) RelationshipApiApiDeleteRelationshipsRequest /* * DeleteRelationshipsExecute executes the request */ DeleteRelationshipsExecute(r RelationshipApiApiDeleteRelationshipsRequest) (*http.Response, error) /* * GetRelationships Query relationships * Get all relationships 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 RelationshipApiApiGetRelationshipsRequest */ GetRelationships(ctx context.Context) RelationshipApiApiGetRelationshipsRequest /* * GetRelationshipsExecute executes the request * @return Relationships */ GetRelationshipsExecute(r RelationshipApiApiGetRelationshipsRequest) (*Relationships, *http.Response, error) /* * ListRelationshipNamespaces Query namespaces * Get all namespaces * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiListRelationshipNamespacesRequest */ ListRelationshipNamespaces(ctx context.Context) RelationshipApiApiListRelationshipNamespacesRequest /* * ListRelationshipNamespacesExecute executes the request * @return RelationshipNamespaces */ ListRelationshipNamespacesExecute(r RelationshipApiApiListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error) /* * PatchRelationships Patch Multiple Relationships * Use this endpoint to patch one or more relationships. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiPatchRelationshipsRequest */ PatchRelationships(ctx context.Context) RelationshipApiApiPatchRelationshipsRequest /* * PatchRelationshipsExecute executes the request */ PatchRelationshipsExecute(r RelationshipApiApiPatchRelationshipsRequest) (*http.Response, error) }
type RelationshipApiApiCheckOplSyntaxRequest ¶
type RelationshipApiApiCheckOplSyntaxRequest struct { ApiService RelationshipApi // contains filtered or unexported fields }
func (RelationshipApiApiCheckOplSyntaxRequest) Body ¶
func (r RelationshipApiApiCheckOplSyntaxRequest) Body(body string) RelationshipApiApiCheckOplSyntaxRequest
func (RelationshipApiApiCheckOplSyntaxRequest) Execute ¶
func (r RelationshipApiApiCheckOplSyntaxRequest) Execute() (*CheckOplSyntaxResult, *http.Response, error)
type RelationshipApiApiCreateRelationshipRequest ¶
type RelationshipApiApiCreateRelationshipRequest struct { ApiService RelationshipApi // contains filtered or unexported fields }
func (RelationshipApiApiCreateRelationshipRequest) CreateRelationshipBody ¶
func (r RelationshipApiApiCreateRelationshipRequest) CreateRelationshipBody(createRelationshipBody CreateRelationshipBody) RelationshipApiApiCreateRelationshipRequest
func (RelationshipApiApiCreateRelationshipRequest) Execute ¶
func (r RelationshipApiApiCreateRelationshipRequest) Execute() (*Relationship, *http.Response, error)
type RelationshipApiApiDeleteRelationshipsRequest ¶
type RelationshipApiApiDeleteRelationshipsRequest struct { ApiService RelationshipApi // contains filtered or unexported fields }
func (RelationshipApiApiDeleteRelationshipsRequest) Execute ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) Execute() (*http.Response, error)
func (RelationshipApiApiDeleteRelationshipsRequest) Namespace ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) Namespace(namespace string) RelationshipApiApiDeleteRelationshipsRequest
func (RelationshipApiApiDeleteRelationshipsRequest) Object ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) Object(object string) RelationshipApiApiDeleteRelationshipsRequest
func (RelationshipApiApiDeleteRelationshipsRequest) Relation ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) Relation(relation string) RelationshipApiApiDeleteRelationshipsRequest
func (RelationshipApiApiDeleteRelationshipsRequest) SubjectId ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectId(subjectId string) RelationshipApiApiDeleteRelationshipsRequest
func (RelationshipApiApiDeleteRelationshipsRequest) SubjectSetNamespace ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipApiApiDeleteRelationshipsRequest
func (RelationshipApiApiDeleteRelationshipsRequest) SubjectSetObject ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipApiApiDeleteRelationshipsRequest
func (RelationshipApiApiDeleteRelationshipsRequest) SubjectSetRelation ¶
func (r RelationshipApiApiDeleteRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipApiApiDeleteRelationshipsRequest
type RelationshipApiApiGetRelationshipsRequest ¶
type RelationshipApiApiGetRelationshipsRequest struct { ApiService RelationshipApi // contains filtered or unexported fields }
func (RelationshipApiApiGetRelationshipsRequest) Execute ¶
func (r RelationshipApiApiGetRelationshipsRequest) Execute() (*Relationships, *http.Response, error)
func (RelationshipApiApiGetRelationshipsRequest) Namespace ¶
func (r RelationshipApiApiGetRelationshipsRequest) Namespace(namespace string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) Object ¶
func (r RelationshipApiApiGetRelationshipsRequest) Object(object string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) PageSize ¶
func (r RelationshipApiApiGetRelationshipsRequest) PageSize(pageSize int64) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) PageToken ¶
func (r RelationshipApiApiGetRelationshipsRequest) PageToken(pageToken string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) Relation ¶
func (r RelationshipApiApiGetRelationshipsRequest) Relation(relation string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) SubjectId ¶
func (r RelationshipApiApiGetRelationshipsRequest) SubjectId(subjectId string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) SubjectSetNamespace ¶
func (r RelationshipApiApiGetRelationshipsRequest) SubjectSetNamespace(subjectSetNamespace string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) SubjectSetObject ¶
func (r RelationshipApiApiGetRelationshipsRequest) SubjectSetObject(subjectSetObject string) RelationshipApiApiGetRelationshipsRequest
func (RelationshipApiApiGetRelationshipsRequest) SubjectSetRelation ¶
func (r RelationshipApiApiGetRelationshipsRequest) SubjectSetRelation(subjectSetRelation string) RelationshipApiApiGetRelationshipsRequest
type RelationshipApiApiListRelationshipNamespacesRequest ¶
type RelationshipApiApiListRelationshipNamespacesRequest struct { ApiService RelationshipApi // contains filtered or unexported fields }
func (RelationshipApiApiListRelationshipNamespacesRequest) Execute ¶
func (r RelationshipApiApiListRelationshipNamespacesRequest) Execute() (*RelationshipNamespaces, *http.Response, error)
type RelationshipApiApiPatchRelationshipsRequest ¶
type RelationshipApiApiPatchRelationshipsRequest struct { ApiService RelationshipApi // contains filtered or unexported fields }
func (RelationshipApiApiPatchRelationshipsRequest) Execute ¶
func (r RelationshipApiApiPatchRelationshipsRequest) Execute() (*http.Response, error)
func (RelationshipApiApiPatchRelationshipsRequest) RelationshipPatch ¶
func (r RelationshipApiApiPatchRelationshipsRequest) RelationshipPatch(relationshipPatch []RelationshipPatch) RelationshipApiApiPatchRelationshipsRequest
type RelationshipApiService ¶
type RelationshipApiService service
RelationshipApiService RelationshipApi service
func (*RelationshipApiService) CheckOplSyntax ¶
func (a *RelationshipApiService) CheckOplSyntax(ctx context.Context) RelationshipApiApiCheckOplSyntaxRequest
* CheckOplSyntax Check the syntax of an OPL file * The OPL file is expected in the body of the request. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiCheckOplSyntaxRequest
func (*RelationshipApiService) CheckOplSyntaxExecute ¶
func (a *RelationshipApiService) CheckOplSyntaxExecute(r RelationshipApiApiCheckOplSyntaxRequest) (*CheckOplSyntaxResult, *http.Response, error)
* Execute executes the request * @return CheckOplSyntaxResult
func (*RelationshipApiService) CreateRelationship ¶
func (a *RelationshipApiService) CreateRelationship(ctx context.Context) RelationshipApiApiCreateRelationshipRequest
* CreateRelationship Create a Relationship * Use this endpoint to create a relationship. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiCreateRelationshipRequest
func (*RelationshipApiService) CreateRelationshipExecute ¶
func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiApiCreateRelationshipRequest) (*Relationship, *http.Response, error)
* Execute executes the request * @return Relationship
func (*RelationshipApiService) DeleteRelationships ¶
func (a *RelationshipApiService) DeleteRelationships(ctx context.Context) RelationshipApiApiDeleteRelationshipsRequest
* DeleteRelationships Delete Relationships * Use this endpoint to delete relationships * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiDeleteRelationshipsRequest
func (*RelationshipApiService) DeleteRelationshipsExecute ¶
func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiApiDeleteRelationshipsRequest) (*http.Response, error)
* Execute executes the request
func (*RelationshipApiService) GetRelationships ¶
func (a *RelationshipApiService) GetRelationships(ctx context.Context) RelationshipApiApiGetRelationshipsRequest
* GetRelationships Query relationships * Get all relationships 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 RelationshipApiApiGetRelationshipsRequest
func (*RelationshipApiService) GetRelationshipsExecute ¶
func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiApiGetRelationshipsRequest) (*Relationships, *http.Response, error)
* Execute executes the request * @return Relationships
func (*RelationshipApiService) ListRelationshipNamespaces ¶
func (a *RelationshipApiService) ListRelationshipNamespaces(ctx context.Context) RelationshipApiApiListRelationshipNamespacesRequest
* ListRelationshipNamespaces Query namespaces * Get all namespaces * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiListRelationshipNamespacesRequest
func (*RelationshipApiService) ListRelationshipNamespacesExecute ¶
func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r RelationshipApiApiListRelationshipNamespacesRequest) (*RelationshipNamespaces, *http.Response, error)
* Execute executes the request * @return RelationshipNamespaces
func (*RelationshipApiService) PatchRelationships ¶
func (a *RelationshipApiService) PatchRelationships(ctx context.Context) RelationshipApiApiPatchRelationshipsRequest
* PatchRelationships Patch Multiple Relationships * Use this endpoint to patch one or more relationships. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return RelationshipApiApiPatchRelationshipsRequest
func (*RelationshipApiService) PatchRelationshipsExecute ¶
func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiApiPatchRelationshipsRequest) (*http.Response, error)
* Execute executes the request
type RelationshipNamespaces ¶
type RelationshipNamespaces struct {
Namespaces []Namespace `json:"namespaces,omitempty"`
}
RelationshipNamespaces Relationship Namespace List
func NewRelationshipNamespaces ¶
func NewRelationshipNamespaces() *RelationshipNamespaces
NewRelationshipNamespaces instantiates a new RelationshipNamespaces 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 NewRelationshipNamespacesWithDefaults ¶
func NewRelationshipNamespacesWithDefaults() *RelationshipNamespaces
NewRelationshipNamespacesWithDefaults instantiates a new RelationshipNamespaces 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 (*RelationshipNamespaces) GetNamespaces ¶
func (o *RelationshipNamespaces) GetNamespaces() []Namespace
GetNamespaces returns the Namespaces field value if set, zero value otherwise.
func (*RelationshipNamespaces) GetNamespacesOk ¶
func (o *RelationshipNamespaces) GetNamespacesOk() ([]Namespace, bool)
GetNamespacesOk returns a tuple with the Namespaces field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelationshipNamespaces) HasNamespaces ¶
func (o *RelationshipNamespaces) HasNamespaces() bool
HasNamespaces returns a boolean if a field has been set.
func (RelationshipNamespaces) MarshalJSON ¶
func (o RelationshipNamespaces) MarshalJSON() ([]byte, error)
func (*RelationshipNamespaces) SetNamespaces ¶
func (o *RelationshipNamespaces) SetNamespaces(v []Namespace)
SetNamespaces gets a reference to the given []Namespace and assigns it to the Namespaces field.
type RelationshipPatch ¶
type RelationshipPatch struct { Action *string `json:"action,omitempty"` RelationTuple *Relationship `json:"relation_tuple,omitempty"` }
RelationshipPatch Payload for patching a relationship
func NewRelationshipPatch ¶
func NewRelationshipPatch() *RelationshipPatch
NewRelationshipPatch instantiates a new RelationshipPatch 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 NewRelationshipPatchWithDefaults ¶
func NewRelationshipPatchWithDefaults() *RelationshipPatch
NewRelationshipPatchWithDefaults instantiates a new RelationshipPatch 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 (*RelationshipPatch) GetAction ¶
func (o *RelationshipPatch) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*RelationshipPatch) GetActionOk ¶
func (o *RelationshipPatch) 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 (*RelationshipPatch) GetRelationTuple ¶
func (o *RelationshipPatch) GetRelationTuple() Relationship
GetRelationTuple returns the RelationTuple field value if set, zero value otherwise.
func (*RelationshipPatch) GetRelationTupleOk ¶
func (o *RelationshipPatch) GetRelationTupleOk() (*Relationship, 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 (*RelationshipPatch) HasAction ¶
func (o *RelationshipPatch) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*RelationshipPatch) HasRelationTuple ¶
func (o *RelationshipPatch) HasRelationTuple() bool
HasRelationTuple returns a boolean if a field has been set.
func (RelationshipPatch) MarshalJSON ¶
func (o RelationshipPatch) MarshalJSON() ([]byte, error)
func (*RelationshipPatch) SetAction ¶
func (o *RelationshipPatch) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*RelationshipPatch) SetRelationTuple ¶
func (o *RelationshipPatch) SetRelationTuple(v Relationship)
SetRelationTuple gets a reference to the given Relationship and assigns it to the RelationTuple field.
type Relationships ¶
type Relationships 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 []Relationship `json:"relation_tuples,omitempty"` }
Relationships Paginated Relationship List
func NewRelationships ¶
func NewRelationships() *Relationships
NewRelationships instantiates a new Relationships 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 NewRelationshipsWithDefaults ¶
func NewRelationshipsWithDefaults() *Relationships
NewRelationshipsWithDefaults instantiates a new Relationships 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 (*Relationships) GetNextPageToken ¶
func (o *Relationships) GetNextPageToken() string
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*Relationships) GetNextPageTokenOk ¶
func (o *Relationships) 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 (*Relationships) GetRelationTuples ¶
func (o *Relationships) GetRelationTuples() []Relationship
GetRelationTuples returns the RelationTuples field value if set, zero value otherwise.
func (*Relationships) GetRelationTuplesOk ¶
func (o *Relationships) GetRelationTuplesOk() ([]Relationship, 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 (*Relationships) HasNextPageToken ¶
func (o *Relationships) HasNextPageToken() bool
HasNextPageToken returns a boolean if a field has been set.
func (*Relationships) HasRelationTuples ¶
func (o *Relationships) HasRelationTuples() bool
HasRelationTuples returns a boolean if a field has been set.
func (Relationships) MarshalJSON ¶
func (o Relationships) MarshalJSON() ([]byte, error)
func (*Relationships) SetNextPageToken ¶
func (o *Relationships) SetNextPageToken(v string)
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
func (*Relationships) SetRelationTuples ¶
func (o *Relationships) SetRelationTuples(v []Relationship)
SetRelationTuples gets a reference to the given []Relationship and assigns it to the RelationTuples 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 SourcePosition ¶
type SourcePosition struct { Line *int64 `json:"Line,omitempty"` Column *int64 `json:"column,omitempty"` }
SourcePosition struct for SourcePosition
func NewSourcePosition ¶
func NewSourcePosition() *SourcePosition
NewSourcePosition instantiates a new SourcePosition 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 NewSourcePositionWithDefaults ¶
func NewSourcePositionWithDefaults() *SourcePosition
NewSourcePositionWithDefaults instantiates a new SourcePosition 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 (*SourcePosition) GetColumn ¶
func (o *SourcePosition) GetColumn() int64
GetColumn returns the Column field value if set, zero value otherwise.
func (*SourcePosition) GetColumnOk ¶
func (o *SourcePosition) GetColumnOk() (*int64, bool)
GetColumnOk returns a tuple with the Column field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SourcePosition) GetLine ¶
func (o *SourcePosition) GetLine() int64
GetLine returns the Line field value if set, zero value otherwise.
func (*SourcePosition) GetLineOk ¶
func (o *SourcePosition) GetLineOk() (*int64, bool)
GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SourcePosition) HasColumn ¶
func (o *SourcePosition) HasColumn() bool
HasColumn returns a boolean if a field has been set.
func (*SourcePosition) HasLine ¶
func (o *SourcePosition) HasLine() bool
HasLine returns a boolean if a field has been set.
func (SourcePosition) MarshalJSON ¶
func (o SourcePosition) MarshalJSON() ([]byte, error)
func (*SourcePosition) SetColumn ¶
func (o *SourcePosition) SetColumn(v int64)
SetColumn gets a reference to the given int64 and assigns it to the Column field.
func (*SourcePosition) SetLine ¶
func (o *SourcePosition) SetLine(v int64)
SetLine gets a reference to the given int64 and assigns it to the Line field.
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.
Source Files ¶
- api_metadata.go
- api_permission.go
- api_relationship.go
- client.go
- configuration.go
- model_check_opl_syntax_result.go
- model_check_permission_result.go
- model_create_relationship_body.go
- model_error_generic.go
- model_expanded_permission_tree.go
- model_generic_error.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_namespace.go
- model_parse_error.go
- model_post_check_permission_body.go
- model_post_check_permission_or_error_body.go
- model_relation_query.go
- model_relationship.go
- model_relationship_namespaces.go
- model_relationship_patch.go
- model_relationships.go
- model_source_position.go
- model_subject_set.go
- model_version.go
- response.go
- utils.go