@@ -17,8 +17,8 @@ type Invite struct {
17
17
InviteId string `json:"inviteId"`
18
18
TenantId * TenantId `json:"tenantId,omitempty"`
19
19
// 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"`
22
22
}
23
23
24
24
type _Invite Invite
@@ -27,7 +27,7 @@ type _Invite Invite
27
27
// This constructor will assign default values to properties that have it defined,
28
28
// and makes sure properties required by API are set, but the set of arguments
29
29
// 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 {
31
31
this := Invite {}
32
32
this .InviteId = inviteId
33
33
this .Statements = statements
@@ -99,9 +99,9 @@ func (o *Invite) SetTenantId(v TenantId) {
99
99
}
100
100
101
101
// GetStatements returns the Statements field value
102
- func (o * Invite ) GetStatements () []Statement {
102
+ func (o * Invite ) GetStatements () []InviteStatement {
103
103
if o == nil {
104
- var ret []Statement
104
+ var ret []InviteStatement
105
105
return ret
106
106
}
107
107
@@ -110,15 +110,15 @@ func (o *Invite) GetStatements() []Statement {
110
110
111
111
// GetStatementsOk returns a tuple with the Statements field value
112
112
// 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 ) {
114
114
if o == nil {
115
115
return nil , false
116
116
}
117
117
return o .Statements , true
118
118
}
119
119
120
120
// SetStatements sets field value
121
- func (o * Invite ) SetStatements (v []Statement ) {
121
+ func (o * Invite ) SetStatements (v []InviteStatement ) {
122
122
o .Statements = v
123
123
}
124
124
0 commit comments