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
78 lines
2.4 KiB
Markdown
Generated
78 lines
2.4 KiB
Markdown
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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|