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
52 lines
1.6 KiB
Markdown
Generated
52 lines
1.6 KiB
Markdown
Generated
# CheckPermissionResult
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**Allowed** | **bool** | whether the relation tuple is allowed |
|
|
|
|
## Methods
|
|
|
|
### 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
|
|
|
|
### 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
|
|
|
|
### GetAllowed
|
|
|
|
`func (o *CheckPermissionResult) GetAllowed() bool`
|
|
|
|
GetAllowed returns the Allowed field if non-nil, zero value otherwise.
|
|
|
|
### GetAllowedOk
|
|
|
|
`func (o *CheckPermissionResult) 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 *CheckPermissionResult) SetAllowed(v bool)`
|
|
|
|
SetAllowed sets Allowed field to given value.
|
|
|
|
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|