-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release(v0.3.0): with conditions support and several breaking changes (…
…#61) * feat: several interface changes + new Model ID related methods under client - make `AuthorizationModelId` not a pointer in `ClientConfiguration` - add `GetAuthorizationModelId` and `SetAuthorizationModelId` to `OpenFgaClient` - Change `TupleKey` field in `OpenFgaApi.Assertion` to `AssertionTupleKey` * release(v0.3.0): with conditions support and several breaking changes
- Loading branch information
Showing
12 changed files
with
356 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# AssertionTupleKey | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Object** | **string** | | | ||
**Relation** | **string** | | | ||
**User** | **string** | | | ||
|
||
## Methods | ||
|
||
### NewAssertionTupleKey | ||
|
||
`func NewAssertionTupleKey(object string, relation string, user string, ) *AssertionTupleKey` | ||
|
||
NewAssertionTupleKey instantiates a new AssertionTupleKey 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 | ||
|
||
### NewAssertionTupleKeyWithDefaults | ||
|
||
`func NewAssertionTupleKeyWithDefaults() *AssertionTupleKey` | ||
|
||
NewAssertionTupleKeyWithDefaults instantiates a new AssertionTupleKey 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 | ||
|
||
### GetObject | ||
|
||
`func (o *AssertionTupleKey) GetObject() string` | ||
|
||
GetObject returns the Object field if non-nil, zero value otherwise. | ||
|
||
### GetObjectOk | ||
|
||
`func (o *AssertionTupleKey) GetObjectOk() (*string, bool)` | ||
|
||
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetObject | ||
|
||
`func (o *AssertionTupleKey) SetObject(v string)` | ||
|
||
SetObject sets Object field to given value. | ||
|
||
|
||
### GetRelation | ||
|
||
`func (o *AssertionTupleKey) GetRelation() string` | ||
|
||
GetRelation returns the Relation field if non-nil, zero value otherwise. | ||
|
||
### GetRelationOk | ||
|
||
`func (o *AssertionTupleKey) GetRelationOk() (*string, bool)` | ||
|
||
GetRelationOk returns a tuple with the Relation field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetRelation | ||
|
||
`func (o *AssertionTupleKey) SetRelation(v string)` | ||
|
||
SetRelation sets Relation field to given value. | ||
|
||
|
||
### GetUser | ||
|
||
`func (o *AssertionTupleKey) GetUser() string` | ||
|
||
GetUser returns the User field if non-nil, zero value otherwise. | ||
|
||
### GetUserOk | ||
|
||
`func (o *AssertionTupleKey) GetUserOk() (*string, bool)` | ||
|
||
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetUser | ||
|
||
`func (o *AssertionTupleKey) SetUser(v string)` | ||
|
||
SetUser sets User 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) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/openfga/go-sdk | ||
|
||
go 1.21.4 | ||
go 1.21.5 | ||
|
||
require ( | ||
github.com/jarcoal/httpmock v1.3.1 | ||
|
Oops, something went wrong.