Skip to content

Commit c7d6781

Browse files
committed
Add invite statement.
1 parent 1df3c19 commit c7d6781

File tree

2 files changed

+194
-7
lines changed

2 files changed

+194
-7
lines changed

models/model_invite.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ type Invite struct {
1717
InviteId string `json:"inviteId"`
1818
TenantId *TenantId `json:"tenantId,omitempty"`
1919
// A list of statements which match roles to resources. The invited user will all statements apply to them when the invite is accepted.
20-
Statements []Statement `json:"statements"`
21-
Links *AccountLinks `json:"links,omitempty"`
20+
Statements []InviteStatement `json:"statements"`
21+
Links *AccountLinks `json:"links,omitempty"`
2222
}
2323

2424
type _Invite Invite
@@ -27,7 +27,7 @@ type _Invite Invite
2727
// This constructor will assign default values to properties that have it defined,
2828
// and makes sure properties required by API are set, but the set of arguments
2929
// will change when the set of required properties is changed
30-
func NewInvite(inviteId string, statements []Statement) *Invite {
30+
func NewInvite(inviteId string, statements []InviteStatement) *Invite {
3131
this := Invite{}
3232
this.InviteId = inviteId
3333
this.Statements = statements
@@ -99,9 +99,9 @@ func (o *Invite) SetTenantId(v TenantId) {
9999
}
100100

101101
// GetStatements returns the Statements field value
102-
func (o *Invite) GetStatements() []Statement {
102+
func (o *Invite) GetStatements() []InviteStatement {
103103
if o == nil {
104-
var ret []Statement
104+
var ret []InviteStatement
105105
return ret
106106
}
107107

@@ -110,15 +110,15 @@ func (o *Invite) GetStatements() []Statement {
110110

111111
// GetStatementsOk returns a tuple with the Statements field value
112112
// and a boolean to check if the value has been set.
113-
func (o *Invite) GetStatementsOk() ([]Statement, bool) {
113+
func (o *Invite) GetStatementsOk() ([]InviteStatement, bool) {
114114
if o == nil {
115115
return nil, false
116116
}
117117
return o.Statements, true
118118
}
119119

120120
// SetStatements sets field value
121-
func (o *Invite) SetStatements(v []Statement) {
121+
func (o *Invite) SetStatements(v []InviteStatement) {
122122
o.Statements = v
123123
}
124124

models/model_invite_statement.go

+187
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)