Skip to content

Commit 79aa9f4

Browse files
authored
Generated 5.8.1.3150467 API (#626)
1 parent 4b68729 commit 79aa9f4

12 files changed

+2177
-122
lines changed

contract/5_0_x_contract.xml renamed to contract/5_8_x_3150467_contract.xml

Lines changed: 1714 additions & 121 deletions
Large diffs are not rendered by default.

ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapesSpectraS3Request.java

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class GetTapesSpectraS3Request extends AbstractPaginationRequest {
3434

3535
private String barCode;
3636

37+
private String bucket;
38+
3739
private String bucketId;
3840

3941
private String ejectLabel;
@@ -54,6 +56,8 @@ public class GetTapesSpectraS3Request extends AbstractPaginationRequest {
5456

5557
private Date partiallyVerifiedEndOfTape;
5658

59+
private String partition;
60+
5761
private String partitionId;
5862

5963
private TapeState previousState;
@@ -64,6 +68,8 @@ public class GetTapesSpectraS3Request extends AbstractPaginationRequest {
6468

6569
private TapeState state;
6670

71+
private String storageDomain;
72+
6773
private String storageDomainMemberId;
6874

6975
private String type;
@@ -100,6 +106,13 @@ public GetTapesSpectraS3Request withBarCode(final String barCode) {
100106
}
101107

102108

109+
public GetTapesSpectraS3Request withBucket(final String bucket) {
110+
this.bucket = bucket;
111+
this.updateQueryParam("bucket", bucket);
112+
return this;
113+
}
114+
115+
103116
public GetTapesSpectraS3Request withBucketId(final String bucketId) {
104117
this.bucketId = bucketId;
105118
this.updateQueryParam("bucket_id", bucketId);
@@ -181,6 +194,13 @@ public GetTapesSpectraS3Request withPartiallyVerifiedEndOfTape(final Date partia
181194
}
182195

183196

197+
public GetTapesSpectraS3Request withPartition(final String partition) {
198+
this.partition = partition;
199+
this.updateQueryParam("partition", partition);
200+
return this;
201+
}
202+
203+
184204
public GetTapesSpectraS3Request withPartitionId(final UUID partitionId) {
185205
this.partitionId = partitionId.toString();
186206
this.updateQueryParam("partition_id", partitionId);
@@ -223,6 +243,13 @@ public GetTapesSpectraS3Request withState(final TapeState state) {
223243
}
224244

225245

246+
public GetTapesSpectraS3Request withStorageDomain(final String storageDomain) {
247+
this.storageDomain = storageDomain;
248+
this.updateQueryParam("storage_domain", storageDomain);
249+
return this;
250+
}
251+
252+
226253
public GetTapesSpectraS3Request withStorageDomainMemberId(final UUID storageDomainMemberId) {
227254
this.storageDomainMemberId = storageDomainMemberId.toString();
228255
this.updateQueryParam("storage_domain_member_id", storageDomainMemberId);
@@ -284,6 +311,11 @@ public String getBarCode() {
284311
}
285312

286313

314+
public String getBucket() {
315+
return this.bucket;
316+
}
317+
318+
287319
public String getBucketId() {
288320
return this.bucketId;
289321
}
@@ -334,6 +366,11 @@ public Date getPartiallyVerifiedEndOfTape() {
334366
}
335367

336368

369+
public String getPartition() {
370+
return this.partition;
371+
}
372+
373+
337374
public String getPartitionId() {
338375
return this.partitionId;
339376
}
@@ -359,6 +396,11 @@ public TapeState getState() {
359396
}
360397

361398

399+
public String getStorageDomain() {
400+
return this.storageDomain;
401+
}
402+
403+
362404
public String getStorageDomainMemberId() {
363405
return this.storageDomainMemberId;
364406
}

ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyDataPathBackendSpectraS3Request.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public class ModifyDataPathBackendSpectraS3Request extends AbstractRequest {
4747

4848
private int maxAggregatedBlobsPerChunk;
4949

50+
private int maxNumberOfConcurrentJobs;
51+
5052
private Integer partiallyVerifyLastPercentOfTapes;
5153

5254
private boolean poolSafetyEnabled;
@@ -136,6 +138,13 @@ public ModifyDataPathBackendSpectraS3Request withMaxAggregatedBlobsPerChunk(fina
136138
}
137139

138140

141+
public ModifyDataPathBackendSpectraS3Request withMaxNumberOfConcurrentJobs(final int maxNumberOfConcurrentJobs) {
142+
this.maxNumberOfConcurrentJobs = maxNumberOfConcurrentJobs;
143+
this.updateQueryParam("max_number_of_concurrent_jobs", maxNumberOfConcurrentJobs);
144+
return this;
145+
}
146+
147+
139148
public ModifyDataPathBackendSpectraS3Request withPartiallyVerifyLastPercentOfTapes(final Integer partiallyVerifyLastPercentOfTapes) {
140149
this.partiallyVerifyLastPercentOfTapes = partiallyVerifyLastPercentOfTapes;
141150
this.updateQueryParam("partially_verify_last_percent_of_tapes", partiallyVerifyLastPercentOfTapes);
@@ -239,6 +248,11 @@ public int getMaxAggregatedBlobsPerChunk() {
239248
}
240249

241250

251+
public int getMaxNumberOfConcurrentJobs() {
252+
return this.maxNumberOfConcurrentJobs;
253+
}
254+
255+
242256
public Integer getPartiallyVerifyLastPercentOfTapes() {
243257
return this.partiallyVerifyLastPercentOfTapes;
244258
}

ds3-sdk/src/main/java/com/spectralogic/ds3client/models/DataPathBackend.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ public class DataPathBackend {
6464
@JsonProperty("MaxAggregatedBlobsPerChunk")
6565
private int maxAggregatedBlobsPerChunk;
6666

67+
@JsonProperty("MaxNumberOfConcurrentJobs")
68+
private int maxNumberOfConcurrentJobs;
69+
6770
@JsonProperty("PartiallyVerifyLastPercentOfTapes")
6871
private Integer partiallyVerifyLastPercentOfTapes;
6972

@@ -206,6 +209,15 @@ public void setMaxAggregatedBlobsPerChunk(final int maxAggregatedBlobsPerChunk)
206209
}
207210

208211

212+
public int getMaxNumberOfConcurrentJobs() {
213+
return this.maxNumberOfConcurrentJobs;
214+
}
215+
216+
public void setMaxNumberOfConcurrentJobs(final int maxNumberOfConcurrentJobs) {
217+
this.maxNumberOfConcurrentJobs = maxNumberOfConcurrentJobs;
218+
}
219+
220+
209221
public Integer getPartiallyVerifyLastPercentOfTapes() {
210222
return this.partiallyVerifyLastPercentOfTapes;
211223
}

ds3-sdk/src/main/java/com/spectralogic/ds3client/models/DetailedTapePartition.java

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class DetailedTapePartition {
3333
@JsonProperty("AutoQuiesceEnabled")
3434
private boolean autoQuiesceEnabled;
3535

36+
@JsonProperty("AvailableStorageCapacity")
37+
private long availableStorageCapacity;
38+
3639
@JsonProperty("DriveIdleTimeoutInMinutes")
3740
private Integer driveIdleTimeoutInMinutes;
3841

@@ -73,10 +76,27 @@ public class DetailedTapePartition {
7376
@JsonProperty("State")
7477
private TapePartitionState state;
7578

79+
@JsonProperty("TapeCount")
80+
private int tapeCount;
81+
82+
@JsonProperty("TapeStateSummaries")
83+
@JacksonXmlElementWrapper(useWrapping = true)
84+
private List<TapeStateSummaryApiBean> tapeStateSummaries = new ArrayList<>();
85+
86+
@JsonProperty("TapeTypeSummaries")
87+
@JacksonXmlElementWrapper(useWrapping = true)
88+
private List<TapeTypeSummaryApiBean> tapeTypeSummaries = new ArrayList<>();
89+
7690
@JsonProperty("TapeTypes")
7791
@JacksonXmlElementWrapper(useWrapping = false)
7892
private List<String> tapeTypes = new ArrayList<>();
7993

94+
@JsonProperty("TotalStorageCapacity")
95+
private long totalStorageCapacity;
96+
97+
@JsonProperty("UsedStorageCapacity")
98+
private long usedStorageCapacity;
99+
80100
// Constructor
81101
public DetailedTapePartition() {
82102
//pass
@@ -102,6 +122,15 @@ public void setAutoQuiesceEnabled(final boolean autoQuiesceEnabled) {
102122
}
103123

104124

125+
public long getAvailableStorageCapacity() {
126+
return this.availableStorageCapacity;
127+
}
128+
129+
public void setAvailableStorageCapacity(final long availableStorageCapacity) {
130+
this.availableStorageCapacity = availableStorageCapacity;
131+
}
132+
133+
105134
public Integer getDriveIdleTimeoutInMinutes() {
106135
return this.driveIdleTimeoutInMinutes;
107136
}
@@ -219,6 +248,33 @@ public void setState(final TapePartitionState state) {
219248
}
220249

221250

251+
public int getTapeCount() {
252+
return this.tapeCount;
253+
}
254+
255+
public void setTapeCount(final int tapeCount) {
256+
this.tapeCount = tapeCount;
257+
}
258+
259+
260+
public List<TapeStateSummaryApiBean> getTapeStateSummaries() {
261+
return this.tapeStateSummaries;
262+
}
263+
264+
public void setTapeStateSummaries(final List<TapeStateSummaryApiBean> tapeStateSummaries) {
265+
this.tapeStateSummaries = tapeStateSummaries;
266+
}
267+
268+
269+
public List<TapeTypeSummaryApiBean> getTapeTypeSummaries() {
270+
return this.tapeTypeSummaries;
271+
}
272+
273+
public void setTapeTypeSummaries(final List<TapeTypeSummaryApiBean> tapeTypeSummaries) {
274+
this.tapeTypeSummaries = tapeTypeSummaries;
275+
}
276+
277+
222278
public List<String> getTapeTypes() {
223279
return this.tapeTypes;
224280
}
@@ -227,4 +283,22 @@ public void setTapeTypes(final List<String> tapeTypes) {
227283
this.tapeTypes = tapeTypes;
228284
}
229285

286+
287+
public long getTotalStorageCapacity() {
288+
return this.totalStorageCapacity;
289+
}
290+
291+
public void setTotalStorageCapacity(final long totalStorageCapacity) {
292+
this.totalStorageCapacity = totalStorageCapacity;
293+
}
294+
295+
296+
public long getUsedStorageCapacity() {
297+
return this.usedStorageCapacity;
298+
}
299+
300+
public void setUsedStorageCapacity(final long usedStorageCapacity) {
301+
this.usedStorageCapacity = usedStorageCapacity;
302+
}
303+
230304
}

ds3-sdk/src/main/java/com/spectralogic/ds3client/models/NamedDetailedTapePartition.java

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public class NamedDetailedTapePartition {
3333
@JsonProperty("AutoQuiesceEnabled")
3434
private boolean autoQuiesceEnabled;
3535

36+
@JsonProperty("AvailableStorageCapacity")
37+
private long availableStorageCapacity;
38+
3639
@JsonProperty("DriveIdleTimeoutInMinutes")
3740
private Integer driveIdleTimeoutInMinutes;
3841

@@ -73,10 +76,27 @@ public class NamedDetailedTapePartition {
7376
@JsonProperty("State")
7477
private TapePartitionState state;
7578

79+
@JsonProperty("TapeCount")
80+
private int tapeCount;
81+
82+
@JsonProperty("TapeStateSummaries")
83+
@JacksonXmlElementWrapper(useWrapping = true)
84+
private List<TapeStateSummaryApiBean> tapeStateSummaries = new ArrayList<>();
85+
86+
@JsonProperty("TapeTypeSummaries")
87+
@JacksonXmlElementWrapper(useWrapping = true)
88+
private List<TapeTypeSummaryApiBean> tapeTypeSummaries = new ArrayList<>();
89+
7690
@JsonProperty("TapeTypes")
7791
@JacksonXmlElementWrapper(useWrapping = false)
7892
private List<String> tapeTypes = new ArrayList<>();
7993

94+
@JsonProperty("TotalStorageCapacity")
95+
private long totalStorageCapacity;
96+
97+
@JsonProperty("UsedStorageCapacity")
98+
private long usedStorageCapacity;
99+
80100
// Constructor
81101
public NamedDetailedTapePartition() {
82102
//pass
@@ -102,6 +122,15 @@ public void setAutoQuiesceEnabled(final boolean autoQuiesceEnabled) {
102122
}
103123

104124

125+
public long getAvailableStorageCapacity() {
126+
return this.availableStorageCapacity;
127+
}
128+
129+
public void setAvailableStorageCapacity(final long availableStorageCapacity) {
130+
this.availableStorageCapacity = availableStorageCapacity;
131+
}
132+
133+
105134
public Integer getDriveIdleTimeoutInMinutes() {
106135
return this.driveIdleTimeoutInMinutes;
107136
}
@@ -219,6 +248,33 @@ public void setState(final TapePartitionState state) {
219248
}
220249

221250

251+
public int getTapeCount() {
252+
return this.tapeCount;
253+
}
254+
255+
public void setTapeCount(final int tapeCount) {
256+
this.tapeCount = tapeCount;
257+
}
258+
259+
260+
public List<TapeStateSummaryApiBean> getTapeStateSummaries() {
261+
return this.tapeStateSummaries;
262+
}
263+
264+
public void setTapeStateSummaries(final List<TapeStateSummaryApiBean> tapeStateSummaries) {
265+
this.tapeStateSummaries = tapeStateSummaries;
266+
}
267+
268+
269+
public List<TapeTypeSummaryApiBean> getTapeTypeSummaries() {
270+
return this.tapeTypeSummaries;
271+
}
272+
273+
public void setTapeTypeSummaries(final List<TapeTypeSummaryApiBean> tapeTypeSummaries) {
274+
this.tapeTypeSummaries = tapeTypeSummaries;
275+
}
276+
277+
222278
public List<String> getTapeTypes() {
223279
return this.tapeTypes;
224280
}
@@ -227,4 +283,22 @@ public void setTapeTypes(final List<String> tapeTypes) {
227283
this.tapeTypes = tapeTypes;
228284
}
229285

286+
287+
public long getTotalStorageCapacity() {
288+
return this.totalStorageCapacity;
289+
}
290+
291+
public void setTotalStorageCapacity(final long totalStorageCapacity) {
292+
this.totalStorageCapacity = totalStorageCapacity;
293+
}
294+
295+
296+
public long getUsedStorageCapacity() {
297+
return this.usedStorageCapacity;
298+
}
299+
300+
public void setUsedStorageCapacity(final long usedStorageCapacity) {
301+
this.usedStorageCapacity = usedStorageCapacity;
302+
}
303+
230304
}

ds3-sdk/src/main/java/com/spectralogic/ds3client/models/TapeDriveType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public enum TapeDriveType {
2323
LTO7,
2424
LTO8,
2525
LTO9,
26+
LTO10,
2627
TS1140,
2728
TS1150,
2829
TS1155,

0 commit comments

Comments
 (0)