Files
upstream-ory-keto/internal/httpclient/docs/CheckPermissionResultWithError.md
upstream-mirror 9456a4e922
Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
snapshot of https://github.com/ory/keto.git (master, 2026-09-16; blobs > 131072B omitted)
2026-09-16 01:08:34 +05:00

2.4 KiB
Generated

CheckPermissionResultWithError

Properties

Name Type Description Notes
Allowed bool whether the relation tuple is allowed
Error Pointer to string any error generated while checking the relation tuple [optional]

Methods

NewCheckPermissionResultWithError

func NewCheckPermissionResultWithError(allowed bool, ) *CheckPermissionResultWithError

NewCheckPermissionResultWithError instantiates a new CheckPermissionResultWithError 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

NewCheckPermissionResultWithErrorWithDefaults

func NewCheckPermissionResultWithErrorWithDefaults() *CheckPermissionResultWithError

NewCheckPermissionResultWithErrorWithDefaults instantiates a new CheckPermissionResultWithError 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

GetAllowed

func (o *CheckPermissionResultWithError) GetAllowed() bool

GetAllowed returns the Allowed field if non-nil, zero value otherwise.

GetAllowedOk

func (o *CheckPermissionResultWithError) GetAllowedOk() (*bool, bool)

GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAllowed

func (o *CheckPermissionResultWithError) SetAllowed(v bool)

SetAllowed sets Allowed field to given value.

GetError

func (o *CheckPermissionResultWithError) GetError() string

GetError returns the Error field if non-nil, zero value otherwise.

GetErrorOk

func (o *CheckPermissionResultWithError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetError

func (o *CheckPermissionResultWithError) SetError(v string)

SetError sets Error field to given value.

HasError

func (o *CheckPermissionResultWithError) HasError() bool

HasError returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]