1010import cloud .katta .client .model .Protocol ;
1111import 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,7 +114,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
114114 }
115115
116116 public String getBucketPrefix () {
117- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
117+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
118118 // only STS
119119 return null ;
120120 }
@@ -125,8 +125,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
125125 }
126126
127127 public String getRegion () {
128- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
129- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getRegion ();
128+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
129+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getRegion ();
130130 }
131131 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
132132 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getRegion ();
@@ -135,7 +135,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
135135 }
136136
137137 public List <String > getRegions () {
138- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
138+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
139139 // only STS
140140 return null ;
141141 }
@@ -146,7 +146,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
146146 }
147147
148148 public String getStsRoleAccessBucketAssumeRoleWithWebIdentity () {
149- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
149+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
150150 // only STS
151151 return null ;
152152 }
@@ -157,7 +157,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
157157 }
158158
159159 public String getStsRoleAccessBucketAssumeRoleTaggedSession () {
160- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
160+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
161161 // only STS
162162 return null ;
163163 }
@@ -168,7 +168,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
168168 }
169169
170170 public String getStsRoleCreateBucketClient () {
171- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
171+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
172172 // only STS
173173 return null ;
174174 }
@@ -179,7 +179,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
179179 }
180180
181181 public Integer getStsDurationSeconds () {
182- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
182+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
183183 // only STS
184184 return null ;
185185 }
@@ -190,7 +190,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
190190 }
191191
192192 public String getStsSessionTag () {
193- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
193+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
194194 // only STS
195195 return null ;
196196 }
@@ -201,8 +201,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
201201 }
202202
203203 public Boolean getWithPathStyleAccessEnabled () {
204- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
205- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getWithPathStyleAccessEnabled ();
204+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
205+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getWithPathStyleAccessEnabled ();
206206 }
207207 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
208208 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getWithPathStyleAccessEnabled ();
@@ -211,8 +211,8 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
211211 }
212212
213213 public S3STORAGECLASSES getStorageClass () {
214- if (proxy .getActualInstance () instanceof StorageProfileS3Dto ) {
215- return ((StorageProfileS3Dto ) proxy .getActualInstance ()).getStorageClass ();
214+ if (proxy .getActualInstance () instanceof StorageProfileS3StaticDto ) {
215+ return ((StorageProfileS3StaticDto ) proxy .getActualInstance ()).getStorageClass ();
216216 }
217217 else if (proxy .getActualInstance () instanceof StorageProfileS3STSDto ) {
218218 return ((StorageProfileS3STSDto ) proxy .getActualInstance ()).getStorageClass ();
0 commit comments