-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] Change client validation of permissions revoke type #42
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
93 changes: 93 additions & 0 deletions
93
internal/sdk/api/docs/PermissionsRevokePost200ResponseDataInnerAnyOf.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# PermissionsRevokePost200ResponseDataInnerAnyOf | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Type** | **string** | | | ||
**Id** | **string** | The id of the folder | | ||
**AccessLevel** | **string** | The access level of the folder | | ||
|
||
## Methods | ||
|
||
### NewPermissionsRevokePost200ResponseDataInnerAnyOf | ||
|
||
`func NewPermissionsRevokePost200ResponseDataInnerAnyOf(type_ string, id string, accessLevel string, ) *PermissionsRevokePost200ResponseDataInnerAnyOf` | ||
|
||
NewPermissionsRevokePost200ResponseDataInnerAnyOf instantiates a new PermissionsRevokePost200ResponseDataInnerAnyOf 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 | ||
|
||
### NewPermissionsRevokePost200ResponseDataInnerAnyOfWithDefaults | ||
|
||
`func NewPermissionsRevokePost200ResponseDataInnerAnyOfWithDefaults() *PermissionsRevokePost200ResponseDataInnerAnyOf` | ||
|
||
NewPermissionsRevokePost200ResponseDataInnerAnyOfWithDefaults instantiates a new PermissionsRevokePost200ResponseDataInnerAnyOf 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 | ||
|
||
### GetType | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) GetType() string` | ||
|
||
GetType returns the Type field if non-nil, zero value otherwise. | ||
|
||
### GetTypeOk | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) GetTypeOk() (*string, bool)` | ||
|
||
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetType | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) SetType(v string)` | ||
|
||
SetType sets Type field to given value. | ||
|
||
|
||
### GetId | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) GetId() string` | ||
|
||
GetId returns the Id field if non-nil, zero value otherwise. | ||
|
||
### GetIdOk | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) GetIdOk() (*string, bool)` | ||
|
||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetId | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) SetId(v string)` | ||
|
||
SetId sets Id field to given value. | ||
|
||
|
||
### GetAccessLevel | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) GetAccessLevel() string` | ||
|
||
GetAccessLevel returns the AccessLevel field if non-nil, zero value otherwise. | ||
|
||
### GetAccessLevelOk | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) GetAccessLevelOk() (*string, bool)` | ||
|
||
GetAccessLevelOk returns a tuple with the AccessLevel field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetAccessLevel | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf) SetAccessLevel(v string)` | ||
|
||
SetAccessLevel sets AccessLevel 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) | ||
|
||
|
93 changes: 93 additions & 0 deletions
93
internal/sdk/api/docs/PermissionsRevokePost200ResponseDataInnerAnyOf1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# PermissionsRevokePost200ResponseDataInnerAnyOf1 | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Type** | **string** | | | ||
**Id** | **string** | The app ID. | | ||
**AccessLevel** | **string** | The access level of the app | | ||
|
||
## Methods | ||
|
||
### NewPermissionsRevokePost200ResponseDataInnerAnyOf1 | ||
|
||
`func NewPermissionsRevokePost200ResponseDataInnerAnyOf1(type_ string, id string, accessLevel string, ) *PermissionsRevokePost200ResponseDataInnerAnyOf1` | ||
|
||
NewPermissionsRevokePost200ResponseDataInnerAnyOf1 instantiates a new PermissionsRevokePost200ResponseDataInnerAnyOf1 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 | ||
|
||
### NewPermissionsRevokePost200ResponseDataInnerAnyOf1WithDefaults | ||
|
||
`func NewPermissionsRevokePost200ResponseDataInnerAnyOf1WithDefaults() *PermissionsRevokePost200ResponseDataInnerAnyOf1` | ||
|
||
NewPermissionsRevokePost200ResponseDataInnerAnyOf1WithDefaults instantiates a new PermissionsRevokePost200ResponseDataInnerAnyOf1 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 | ||
|
||
### GetType | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) GetType() string` | ||
|
||
GetType returns the Type field if non-nil, zero value otherwise. | ||
|
||
### GetTypeOk | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) GetTypeOk() (*string, bool)` | ||
|
||
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetType | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) SetType(v string)` | ||
|
||
SetType sets Type field to given value. | ||
|
||
|
||
### GetId | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) GetId() string` | ||
|
||
GetId returns the Id field if non-nil, zero value otherwise. | ||
|
||
### GetIdOk | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) GetIdOk() (*string, bool)` | ||
|
||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetId | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) SetId(v string)` | ||
|
||
SetId sets Id field to given value. | ||
|
||
|
||
### GetAccessLevel | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) GetAccessLevel() string` | ||
|
||
GetAccessLevel returns the AccessLevel field if non-nil, zero value otherwise. | ||
|
||
### GetAccessLevelOk | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) GetAccessLevelOk() (*string, bool)` | ||
|
||
GetAccessLevelOk returns a tuple with the AccessLevel field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetAccessLevel | ||
|
||
`func (o *PermissionsRevokePost200ResponseDataInnerAnyOf1) SetAccessLevel(v string)` | ||
|
||
SetAccessLevel sets AccessLevel 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) | ||
|
||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this started breaking, but we get a complaint about missing terraform binary, so I added a step to install it.