Skip to content

Commit f19ba45

Browse files
model changes (#18)
1 parent 6ca35e2 commit f19ba45

File tree

4 files changed

+70
-2
lines changed

4 files changed

+70
-2
lines changed

.github/workflows/publicapi-go-client.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
go: [1.18.x, 1.19.x]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v2
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version: ${{ matrix.go }}
2424
- name: Get dependencies

api/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8391,6 +8391,7 @@ components:
83918391
order: 0
83928392
reasonRequired: true
83938393
canDeleteConfig: true
8394+
canDisable2FA: true
83948395
canDeleteEnvironment: true
83958396
canCreateOrUpdateConfig: true
83968397
canTagSetting: true
@@ -8468,6 +8469,10 @@ components:
84688469
canViewProductStatistics:
84698470
description: Group members has access to product statistics.
84708471
type: boolean
8472+
canDisable2FA:
8473+
description: Group members can disable two-factor authentication for other
8474+
members.
8475+
type: boolean
84718476
accessType:
84728477
$ref: '#/components/schemas/AccessType'
84738478
newEnvironmentAccessType:

docs/PermissionGroupModel.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
2626
**CanDeleteSegments** | Pointer to **bool** | Group members can delete Segments. | [optional]
2727
**CanViewProductAuditLog** | Pointer to **bool** | Group members has access to audit logs. | [optional]
2828
**CanViewProductStatistics** | Pointer to **bool** | Group members has access to product statistics. | [optional]
29+
**CanDisable2FA** | Pointer to **bool** | Group members can disable two-factor authentication for other members. | [optional]
2930
**AccessType** | Pointer to [**AccessType**](AccessType.md) | | [optional]
3031
**NewEnvironmentAccessType** | Pointer to [**EnvironmentAccessType**](EnvironmentAccessType.md) | | [optional]
3132
**EnvironmentAccesses** | Pointer to [**[]EnvironmentAccessModel**](EnvironmentAccessModel.md) | List of environment specific permissions. | [optional]
@@ -610,6 +611,31 @@ SetCanViewProductStatistics sets CanViewProductStatistics field to given value.
610611

611612
HasCanViewProductStatistics returns a boolean if a field has been set.
612613

614+
### GetCanDisable2FA
615+
616+
`func (o *PermissionGroupModel) GetCanDisable2FA() bool`
617+
618+
GetCanDisable2FA returns the CanDisable2FA field if non-nil, zero value otherwise.
619+
620+
### GetCanDisable2FAOk
621+
622+
`func (o *PermissionGroupModel) GetCanDisable2FAOk() (*bool, bool)`
623+
624+
GetCanDisable2FAOk returns a tuple with the CanDisable2FA field if it's non-nil, zero value otherwise
625+
and a boolean to check if the value has been set.
626+
627+
### SetCanDisable2FA
628+
629+
`func (o *PermissionGroupModel) SetCanDisable2FA(v bool)`
630+
631+
SetCanDisable2FA sets CanDisable2FA field to given value.
632+
633+
### HasCanDisable2FA
634+
635+
`func (o *PermissionGroupModel) HasCanDisable2FA() bool`
636+
637+
HasCanDisable2FA returns a boolean if a field has been set.
638+
613639
### GetAccessType
614640

615641
`func (o *PermissionGroupModel) GetAccessType() AccessType`

model_permission_group_model.go

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)