Skip to content

Commit 10cea79

Browse files
authored
feat(sdk): generate SDK for version v4.3.0 (#73)
1 parent 84df3f3 commit 10cea79

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/zitadel/client/models/beta_internal_permission_service_project_grant.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class BetaInternalPermissionServiceProjectGrant
1818
# ProjectID is required to grant administrator privileges for a specific project.
1919
attr_accessor :project_id
2020

21-
# ProjectGrantID is required to grant administrator privileges for a specific project grant.
22-
attr_accessor :project_grant_id
21+
# OrganizationID is required to grant administrator privileges for a specific project grant.
22+
attr_accessor :organization_id
2323

2424
# Attribute mapping from ruby-style variable name to JSON key.
2525
def self.attribute_map
2626
{
2727
:'project_id' => :'projectId',
28-
:'project_grant_id' => :'projectGrantId'
28+
:'organization_id' => :'organizationId'
2929
}
3030
end
3131

@@ -43,7 +43,7 @@ def self.acceptable_attributes
4343
def self.openapi_types
4444
{
4545
:'project_id' => :'String',
46-
:'project_grant_id' => :'String'
46+
:'organization_id' => :'String'
4747
}
4848
end
4949

@@ -75,8 +75,8 @@ def initialize(attributes = {})
7575
self.project_id = attributes[:'project_id']
7676
end
7777

78-
if attributes.key?(:'project_grant_id')
79-
self.project_grant_id = attributes[:'project_grant_id']
78+
if attributes.key?(:'organization_id')
79+
self.organization_id = attributes[:'organization_id']
8080
end
8181
end
8282

@@ -86,7 +86,7 @@ def ==(o)
8686
return true if self.equal?(o)
8787
self.class == o.class &&
8888
project_id == o.project_id &&
89-
project_grant_id == o.project_grant_id
89+
organization_id == o.organization_id
9090
end
9191

9292
# @see the `==` method
@@ -98,7 +98,7 @@ def eql?(o)
9898
# Calculates hash code according to all attributes.
9999
# @return [Integer] Hash code
100100
def hash
101-
[project_id, project_grant_id].hash
101+
[project_id, organization_id].hash
102102
end
103103

104104
# Builds the object from hash

0 commit comments

Comments
 (0)