77import java .util .List ;
88import java .util .UUID ;
99
10- import cloud .katta .client .model .S3STORAGECLASSES ;
1110import cloud .katta .client .model .Protocol ;
11+ import cloud .katta .client .model .S3STORAGECLASSES ;
1212import cloud .katta .client .model .StorageProfileDto ;
13- import cloud .katta .client .model .StorageProfileS3Dto ;
1413import cloud .katta .client .model .StorageProfileS3STSDto ;
14+ import cloud .katta .client .model .StorageProfileS3StaticDto ;
1515
1616/**
1717 * openapi-generator does not generate sub-classes
@@ -32,8 +32,8 @@ public Class getType() {
3232 }
3333
3434 public Protocol getProtocol () {
35- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
36- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getProtocol ();
35+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
36+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getProtocol ();
3737 }
3838 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
3939 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getProtocol ();
@@ -42,8 +42,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
4242 }
4343
4444 public UUID getId () {
45- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
46- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getId ();
45+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
46+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getId ();
4747 }
4848 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
4949 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getId ();
@@ -52,8 +52,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
5252 }
5353
5454 public String getName () {
55- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
56- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getName ();
55+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
56+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getName ();
5757 }
5858 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
5959 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getName ();
@@ -62,8 +62,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
6262 }
6363
6464 public String getHostname () {
65- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
66- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getHostname ();
65+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
66+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getHostname ();
6767 }
6868 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
6969 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getHostname ();
@@ -72,8 +72,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
7272 }
7373
7474 public String getScheme () {
75- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
76- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getScheme ();
75+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
76+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getScheme ();
7777 }
7878 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
7979 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getScheme ();
@@ -82,8 +82,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
8282 }
8383
8484 public Integer getPort () {
85- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
86- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getPort ();
85+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
86+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getPort ();
8787 }
8888 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
8989 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getPort ();
@@ -92,7 +92,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
9292 }
9393
9494 public String getStsEndpoint () {
95- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
95+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
9696 // only STS
9797 return null ;
9898 }
@@ -103,7 +103,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
103103 }
104104
105105 public Boolean getBucketAcceleration () {
106- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
106+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
107107 // only STS
108108 return null ;
109109 }
@@ -114,9 +114,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
114114 }
115115
116116 public String getBucketPrefix () {
117- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
118- // only STS
119- return null ;
117+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
118+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getBucketPrefix ();
120119 }
121120 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
122121 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getBucketPrefix ();
@@ -125,9 +124,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
125124 }
126125
127126 public String getRegion () {
128- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
129- // only STS
130- return null ;
127+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
128+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getRegion ();
131129 }
132130 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
133131 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getRegion ();
@@ -136,51 +134,50 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
136134 }
137135
138136 public List <String > getRegions () {
139- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
140- // only STS
141- return null ;
137+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
138+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getRegions ();
142139 }
143140 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
144141 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getRegions ();
145142 }
146143 return null ;
147144 }
148145
149- public String getStsRoleArn () {
150- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
146+ public String getStsRoleAccessBucketAssumeRoleWithWebIdentity () {
147+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
151148 // only STS
152149 return null ;
153150 }
154151 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
155- return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsRoleArn ();
152+ return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsRoleAccessBucketAssumeRoleWithWebIdentity ();
156153 }
157154 return null ;
158155 }
159156
160- public String getStsRoleArn2 () {
161- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
157+ public String getStsRoleAccessBucketAssumeRoleTaggedSession () {
158+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
162159 // only STS
163160 return null ;
164161 }
165162 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
166- return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsRoleArn2 ();
163+ return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsRoleAccessBucketAssumeRoleTaggedSession ();
167164 }
168165 return null ;
169166 }
170167
171- public String getStsRoleArnClient () {
172- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
168+ public String getStsRoleCreateBucketClient () {
169+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
173170 // only STS
174171 return null ;
175172 }
176173 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
177- return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsRoleArnClient ();
174+ return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsRoleCreateBucketClient ();
178175 }
179176 return null ;
180177 }
181178
182179 public Integer getStsDurationSeconds () {
183- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
180+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
184181 // only STS
185182 return null ;
186183 }
@@ -190,9 +187,20 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
190187 return null ;
191188 }
192189
190+ public String getStsSessionTag () {
191+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
192+ // only STS
193+ return null ;
194+ }
195+ else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
196+ return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStsSessionTag ();
197+ }
198+ return null ;
199+ }
200+
193201 public Boolean getWithPathStyleAccessEnabled () {
194- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
195- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getWithPathStyleAccessEnabled ();
202+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
203+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getWithPathStyleAccessEnabled ();
196204 }
197205 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
198206 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getWithPathStyleAccessEnabled ();
@@ -201,8 +209,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
201209 }
202210
203211 public S3STORAGECLASSES getStorageClass () {
204- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
205- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getStorageClass ();
212+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
213+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getStorageClass ();
206214 }
207215 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
208216 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStorageClass ();
0 commit comments