From 0be328d47f1c47b1e5ec904c5e2fc385f76ef68a Mon Sep 17 00:00:00 2001 From: Rachel Tucker Date: Fri, 15 Sep 2023 14:01:12 -0600 Subject: [PATCH] Generated 5.6.x.3020673 API. --- .../integration/GetJobManagement_Test.java | 7 +- .../integration/PutJobManagement_Test.java | 2 +- .../com/spectralogic/ds3client/Ds3Client.java | 13 ++ .../spectralogic/ds3client/Ds3ClientImpl.java | 8 + .../CompleteMultiPartUploadRequest.java | 3 +- ...reationFailureSpectraS3ResponseParser.java | 44 +++++ ...lobPersistenceSpectraS3ResponseParser.java | 2 +- ...eationFailuresSpectraS3ResponseParser.java | 51 ++++++ ...JobToReplicateSpectraS3ResponseParser.java | 2 +- .../DelegateCreateUserSpectraS3Request.java | 1 - ...eteJobCreationFailureSpectraS3Request.java | 51 ++++++ ...teJobCreationFailureSpectraS3Response.java | 28 ++++ ...ectStorageDomainBlobsSpectraS3Request.java | 2 +- .../spectrads3/EjectTapeSpectraS3Request.java | 1 - ...eDataReplicationRulesSpectraS3Request.java | 1 - ...zureTargetBucketNamesSpectraS3Request.java | 1 - ...etAzureTargetFailuresSpectraS3Request.java | 1 - ...TargetReadPreferencesSpectraS3Request.java | 1 - .../GetBlobPersistenceSpectraS3Request.java | 3 +- .../GetBucketAclsSpectraS3Request.java | 1 - ...BucketCapacitySummarySpectraS3Request.java | 1 - .../GetBucketHistorySpectraS3Request.java | 1 - ...tDataPersistenceRulesSpectraS3Request.java | 1 - .../GetDataPoliciesSpectraS3Request.java | 1 - ...eDataReplicationRulesSpectraS3Request.java | 1 - ...dDataPersistenceRulesSpectraS3Request.java | 1 - ...3DataReplicationRulesSpectraS3Request.java | 1 - ...3DataReplicationRulesSpectraS3Request.java | 1 - ...3DataReplicationRulesSpectraS3Request.java | 1 - .../GetDs3TargetFailuresSpectraS3Request.java | 1 - ...TargetReadPreferencesSpectraS3Request.java | 1 - .../GetDs3TargetsSpectraS3Request.java | 1 - .../GetFeatureKeysSpectraS3Request.java | 1 - .../spectrads3/GetGroupsSpectraS3Request.java | 1 - ...etJobCreationFailuresSpectraS3Request.java | 154 ++++++++++++++++++ ...tJobCreationFailuresSpectraS3Response.java | 36 ++++ .../GetObjectsDetailsSpectraS3Request.java | 1 - ...bjectsWithFullDetailsSpectraS3Request.java | 1 - ...alPlacementForObjectsSpectraS3Request.java | 2 +- ...bjectsWithFullDetailsSpectraS3Request.java | 2 +- .../GetPoolFailuresSpectraS3Request.java | 1 - .../GetPoolPartitionsSpectraS3Request.java | 1 - ...3DataReplicationRulesSpectraS3Request.java | 1 - ...etS3TargetBucketNamesSpectraS3Request.java | 1 - .../GetS3TargetFailuresSpectraS3Request.java | 1 - ...TargetReadPreferencesSpectraS3Request.java | 1 - ...DomainCapacitySummarySpectraS3Request.java | 1 - ...StorageDomainFailuresSpectraS3Request.java | 1 - ...tStorageDomainMembersSpectraS3Request.java | 1 - .../GetStorageDomainsSpectraS3Request.java | 1 - .../GetSuspectObjectsSpectraS3Request.java | 1 - .../GetSystemFailuresSpectraS3Request.java | 1 - .../GetTapeDrivesSpectraS3Request.java | 1 - .../GetTapeFailuresSpectraS3Request.java | 1 - .../GetTapeLibrariesSpectraS3Request.java | 1 - ...TapePartitionFailuresSpectraS3Request.java | 1 - .../GetTapePartitionsSpectraS3Request.java | 1 - ...itionsWithFullDetailsSpectraS3Request.java | 1 - .../spectrads3/GetUsersSpectraS3Request.java | 1 - .../ImportAllPoolsSpectraS3Request.java | 1 - .../ImportAllTapesSpectraS3Request.java | 1 - .../ImportAzureTargetSpectraS3Request.java | 1 - .../ImportPoolSpectraS3Request.java | 1 - .../ImportS3TargetSpectraS3Request.java | 1 - .../ImportTapeSpectraS3Request.java | 1 - .../ModifyActiveJobSpectraS3Request.java | 1 - .../ModifyAzureTargetSpectraS3Request.java | 1 - ...ModifyCacheFilesystemSpectraS3Request.java | 14 ++ .../ModifyDs3TargetSpectraS3Request.java | 1 - .../spectrads3/ModifyJobSpectraS3Request.java | 1 - .../ModifyPoolSpectraS3Request.java | 1 - .../ModifyS3TargetSpectraS3Request.java | 1 - .../ModifyStorageDomainSpectraS3Request.java | 1 - ...ckRegisteredDs3TargetSpectraS3Request.java | 1 - ...reDataReplicationRuleSpectraS3Request.java | 1 - ...AzureTargetBucketNameSpectraS3Request.java | 1 - .../PutBucketAclForGroupSpectraS3Request.java | 1 - .../spectrads3/PutBucketSpectraS3Request.java | 1 - ...utDataPersistenceRuleSpectraS3Request.java | 1 - ...s3DataReplicationRuleSpectraS3Request.java | 1 - ...obalBucketAclForGroupSpectraS3Request.java | 1 - ...olStorageDomainMemberSpectraS3Request.java | 1 - ...S3DataReplicationRuleSpectraS3Request.java | 1 - ...PutS3TargetBucketNameSpectraS3Request.java | 1 - .../PutStorageDomainSpectraS3Request.java | 1 - .../RawImportAllTapesSpectraS3Request.java | 1 - .../RawImportTapeSpectraS3Request.java | 1 - .../RegisterAzureTargetSpectraS3Request.java | 1 - .../RegisterS3TargetSpectraS3Request.java | 1 - .../ReplicatePutJobSpectraS3Request.java | 3 +- .../UndeleteObjectSpectraS3Request.java | 1 - .../VerifyBulkJobSpectraS3Request.java | 2 +- ...alPlacementForObjectsSpectraS3Request.java | 2 +- ...bjectsWithFullDetailsSpectraS3Request.java | 2 +- .../ds3client/models/CacheFilesystem.java | 12 ++ .../ds3client/models/JobCreationFailed.java | 106 ++++++++++++ .../models/JobCreationFailedList.java | 48 ++++++ .../models/JobCreationFailedType.java | 21 +++ .../ds3client/models/JobNode.java | 1 + .../ds3client/models/TapeDriveType.java | 3 +- 100 files changed, 602 insertions(+), 94 deletions(-) create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/DeleteJobCreationFailureSpectraS3ResponseParser.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobCreationFailuresSpectraS3ResponseParser.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Request.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Response.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Request.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Response.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailed.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedList.java create mode 100644 ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedType.java diff --git a/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/GetJobManagement_Test.java b/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/GetJobManagement_Test.java index af4dee086..629009870 100644 --- a/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/GetJobManagement_Test.java +++ b/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/GetJobManagement_Test.java @@ -74,12 +74,7 @@ import com.spectralogic.ds3client.utils.Platform; import com.spectralogic.ds3client.utils.ResourceUtils; import org.apache.commons.io.FileUtils; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assume; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; +import org.junit.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/PutJobManagement_Test.java b/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/PutJobManagement_Test.java index c721f1e5e..866632954 100644 --- a/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/PutJobManagement_Test.java +++ b/ds3-sdk-integration/src/integrationTest/java/com/spectralogic/ds3client/integration/PutJobManagement_Test.java @@ -2077,7 +2077,7 @@ private static ImmutableList generateDs3Objects(final Path destinatio } @Test - public static void testCancelingJob() throws URISyntaxException, InterruptedException { + public void testCancelingJob() throws URISyntaxException, InterruptedException { final String tempPathPrefix = null; Path tempDirectory; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java index b216d2398..be3b8c4f4 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java @@ -795,6 +795,12 @@ PutBulkJobSpectraS3Response putBulkJobSpectraS3(final PutBulkJobSpectraS3Request VerifyBulkJobSpectraS3Response verifyBulkJobSpectraS3(final VerifyBulkJobSpectraS3Request request) throws IOException; + @Action("DELETE") + @Resource("JOB_CREATION_FAILED") + + DeleteJobCreationFailureSpectraS3Response deleteJobCreationFailureSpectraS3(final DeleteJobCreationFailureSpectraS3Request request) + throws IOException; + @ResponsePayloadModel("ActiveJob") @Action("SHOW") @Resource("ACTIVE_JOB") @@ -858,6 +864,13 @@ GetJobChunkSpectraS3Response getJobChunkSpectraS3(final GetJobChunkSpectraS3Requ GetJobChunksReadyForClientProcessingSpectraS3Response getJobChunksReadyForClientProcessingSpectraS3(final GetJobChunksReadyForClientProcessingSpectraS3Request request) throws IOException; + @ResponsePayloadModel("JobCreationFailedList") + @Action("LIST") + @Resource("JOB_CREATION_FAILED") + + GetJobCreationFailuresSpectraS3Response getJobCreationFailuresSpectraS3(final GetJobCreationFailuresSpectraS3Request request) + throws IOException; + @ResponsePayloadModel("MasterObjectList") @Action("SHOW") @Resource("JOB") diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3ClientImpl.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3ClientImpl.java index 3a5bb85d3..d0e73eafe 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3ClientImpl.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3ClientImpl.java @@ -514,6 +514,10 @@ public VerifyBulkJobSpectraS3Response verifyBulkJobSpectraS3(final VerifyBulkJob return new VerifyBulkJobSpectraS3ResponseParser().response(this.netClient.getResponse(request)); } @Override + public DeleteJobCreationFailureSpectraS3Response deleteJobCreationFailureSpectraS3(final DeleteJobCreationFailureSpectraS3Request request) throws IOException { + return new DeleteJobCreationFailureSpectraS3ResponseParser().response(this.netClient.getResponse(request)); + } + @Override public GetActiveJobSpectraS3Response getActiveJobSpectraS3(final GetActiveJobSpectraS3Request request) throws IOException { return new GetActiveJobSpectraS3ResponseParser().response(this.netClient.getResponse(request)); } @@ -550,6 +554,10 @@ public GetJobChunksReadyForClientProcessingSpectraS3Response getJobChunksReadyFo return new GetJobChunksReadyForClientProcessingSpectraS3ResponseParser().response(this.netClient.getResponse(request)); } @Override + public GetJobCreationFailuresSpectraS3Response getJobCreationFailuresSpectraS3(final GetJobCreationFailuresSpectraS3Request request) throws IOException { + return new GetJobCreationFailuresSpectraS3ResponseParser().response(this.netClient.getResponse(request)); + } + @Override public GetJobSpectraS3Response getJobSpectraS3(final GetJobSpectraS3Request request) throws IOException { return new GetJobSpectraS3ResponseParser().response(this.netClient.getResponse(request)); } diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/CompleteMultiPartUploadRequest.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/CompleteMultiPartUploadRequest.java index 57f74cd6f..8a86f5b26 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/CompleteMultiPartUploadRequest.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/CompleteMultiPartUploadRequest.java @@ -22,9 +22,8 @@ import java.io.InputStream; import com.spectralogic.ds3client.serializer.XmlOutput; import java.nio.charset.Charset; -import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.nio.charset.StandardCharsets; +import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; public class CompleteMultiPartUploadRequest extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/DeleteJobCreationFailureSpectraS3ResponseParser.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/DeleteJobCreationFailureSpectraS3ResponseParser.java new file mode 100644 index 000000000..f4a2eb417 --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/DeleteJobCreationFailureSpectraS3ResponseParser.java @@ -0,0 +1,44 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.commands.parsers; + +import com.spectralogic.ds3client.commands.parsers.interfaces.AbstractResponseParser; +import com.spectralogic.ds3client.commands.parsers.utils.ResponseParserUtils; +import com.spectralogic.ds3client.commands.spectrads3.DeleteJobCreationFailureSpectraS3Response; +import com.spectralogic.ds3client.networking.WebResponse; +import java.io.IOException; + +public class DeleteJobCreationFailureSpectraS3ResponseParser extends AbstractResponseParser { + private final int[] expectedStatusCodes = new int[]{204}; + + @Override + public DeleteJobCreationFailureSpectraS3Response parseXmlResponse(final WebResponse response) throws IOException { + final int statusCode = response.getStatusCode(); + if (ResponseParserUtils.validateStatusCode(statusCode, expectedStatusCodes)) { + switch (statusCode) { + case 204: + //There is no payload, return an empty response handler + return new DeleteJobCreationFailureSpectraS3Response(this.getChecksum(), this.getChecksumType()); + + default: + assert false: "validateStatusCode should have made it impossible to reach this line"; + } + } + + throw ResponseParserUtils.createFailedRequest(response, expectedStatusCodes); + } +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetBlobPersistenceSpectraS3ResponseParser.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetBlobPersistenceSpectraS3ResponseParser.java index ef35e54bd..c21039b2b 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetBlobPersistenceSpectraS3ResponseParser.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetBlobPersistenceSpectraS3ResponseParser.java @@ -20,7 +20,7 @@ import com.spectralogic.ds3client.commands.parsers.utils.ResponseParserUtils; import com.spectralogic.ds3client.commands.spectrads3.GetBlobPersistenceSpectraS3Response; import com.spectralogic.ds3client.networking.WebResponse; - +import com.spectralogic.ds3client.serializer.XmlOutput; import java.io.IOException; import java.io.InputStream; import java.lang.String; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobCreationFailuresSpectraS3ResponseParser.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobCreationFailuresSpectraS3ResponseParser.java new file mode 100644 index 000000000..20121583d --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobCreationFailuresSpectraS3ResponseParser.java @@ -0,0 +1,51 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.commands.parsers; + +import com.spectralogic.ds3client.commands.parsers.interfaces.AbstractResponseParser; +import com.spectralogic.ds3client.commands.parsers.utils.ResponseParserUtils; +import com.spectralogic.ds3client.commands.spectrads3.GetJobCreationFailuresSpectraS3Response; +import com.spectralogic.ds3client.models.JobCreationFailedList; +import com.spectralogic.ds3client.networking.WebResponse; +import com.spectralogic.ds3client.serializer.XmlOutput; +import java.io.IOException; +import java.io.InputStream; + +public class GetJobCreationFailuresSpectraS3ResponseParser extends AbstractResponseParser { + private final int[] expectedStatusCodes = new int[]{200}; + + @Override + public GetJobCreationFailuresSpectraS3Response parseXmlResponse(final WebResponse response) throws IOException { + final int statusCode = response.getStatusCode(); + final Integer pagingTruncated = parseIntHeader("page-truncated"); + final Integer pagingTotalResultCount = parseIntHeader("total-result-count"); + if (ResponseParserUtils.validateStatusCode(statusCode, expectedStatusCodes)) { + switch (statusCode) { + case 200: + try (final InputStream inputStream = response.getResponseStream()) { + final JobCreationFailedList result = XmlOutput.fromXml(inputStream, JobCreationFailedList.class); + return new GetJobCreationFailuresSpectraS3Response(result, pagingTotalResultCount, pagingTruncated, this.getChecksum(), this.getChecksumType()); + } + + default: + assert false: "validateStatusCode should have made it impossible to reach this line"; + } + } + + throw ResponseParserUtils.createFailedRequest(response, expectedStatusCodes); + } +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobToReplicateSpectraS3ResponseParser.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobToReplicateSpectraS3ResponseParser.java index 943654081..915e0d03c 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobToReplicateSpectraS3ResponseParser.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/GetJobToReplicateSpectraS3ResponseParser.java @@ -20,7 +20,7 @@ import com.spectralogic.ds3client.commands.parsers.utils.ResponseParserUtils; import com.spectralogic.ds3client.commands.spectrads3.GetJobToReplicateSpectraS3Response; import com.spectralogic.ds3client.networking.WebResponse; - +import com.spectralogic.ds3client.serializer.XmlOutput; import java.io.IOException; import java.io.InputStream; import java.lang.String; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DelegateCreateUserSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DelegateCreateUserSpectraS3Request.java index 44cfea531..310af04df 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DelegateCreateUserSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DelegateCreateUserSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; public class DelegateCreateUserSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Request.java new file mode 100644 index 000000000..5be13090d --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Request.java @@ -0,0 +1,51 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.commands.spectrads3; + +import com.spectralogic.ds3client.networking.HttpVerb; +import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; + +public class DeleteJobCreationFailureSpectraS3Request extends AbstractRequest { + + // Variables + + private final String jobCreationFailed; + + // Constructor + + + public DeleteJobCreationFailureSpectraS3Request(final String jobCreationFailed) { + this.jobCreationFailed = jobCreationFailed; + + } + + + @Override + public HttpVerb getVerb() { + return HttpVerb.DELETE; + } + + @Override + public String getPath() { + return "/_rest_/job_creation_failed/" + jobCreationFailed; + } + + public String getJobCreationFailed() { + return this.jobCreationFailed; + } + +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Response.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Response.java new file mode 100644 index 000000000..e58c40521 --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/DeleteJobCreationFailureSpectraS3Response.java @@ -0,0 +1,28 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.commands.spectrads3; + +import com.spectralogic.ds3client.models.ChecksumType; +import com.spectralogic.ds3client.commands.interfaces.AbstractResponse; + +public class DeleteJobCreationFailureSpectraS3Response extends AbstractResponse { + + public DeleteJobCreationFailureSpectraS3Response(final String checksum, final ChecksumType.Type checksumType) { + super(checksum, checksumType); + } + +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectStorageDomainBlobsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectStorageDomainBlobsSpectraS3Request.java index 2e3271cee..c920a80b4 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectStorageDomainBlobsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectStorageDomainBlobsSpectraS3Request.java @@ -24,9 +24,9 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.nio.charset.StandardCharsets; import java.util.List; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; public class EjectStorageDomainBlobsSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectTapeSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectTapeSpectraS3Request.java index 92a97c9a4..e2f4cd967 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectTapeSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/EjectTapeSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; public class EjectTapeSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureDataReplicationRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureDataReplicationRulesSpectraS3Request.java index 4bde397e3..bacb7d122 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureDataReplicationRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureDataReplicationRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataReplicationRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetBucketNamesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetBucketNamesSpectraS3Request.java index 5fefb6645..887c0298d 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetBucketNamesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetBucketNamesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetAzureTargetBucketNamesSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetFailuresSpectraS3Request.java index 4756076e8..5a40c13af 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TargetFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetReadPreferencesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetReadPreferencesSpectraS3Request.java index 3ec548a1e..9066c22f7 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetReadPreferencesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetAzureTargetReadPreferencesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TargetReadPreferenceType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBlobPersistenceSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBlobPersistenceSpectraS3Request.java index dd69f765d..dfd9f5b8b 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBlobPersistenceSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBlobPersistenceSpectraS3Request.java @@ -20,9 +20,8 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; - import com.spectralogic.ds3client.utils.Guard; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; public class GetBlobPersistenceSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketAclsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketAclsSpectraS3Request.java index 4f9e17491..29e5bb2b7 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketAclsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketAclsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.BucketAclPermission; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketCapacitySummarySpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketCapacitySummarySpectraS3Request.java index dc6c57779..5dc34371c 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketCapacitySummarySpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketCapacitySummarySpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.PoolHealth; import com.spectralogic.ds3client.models.PoolState; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketHistorySpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketHistorySpectraS3Request.java index e7f073e8a..1370776e0 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketHistorySpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetBucketHistorySpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetBucketHistorySpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPersistenceRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPersistenceRulesSpectraS3Request.java index e36d16938..9e426f92a 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPersistenceRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPersistenceRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataIsolationLevel; import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataPersistenceRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPoliciesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPoliciesSpectraS3Request.java index b3f6fb232..a5baf870a 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPoliciesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDataPoliciesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import com.spectralogic.ds3client.models.ChecksumType; - import java.util.UUID; public class GetDataPoliciesSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedAzureDataReplicationRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedAzureDataReplicationRulesSpectraS3Request.java index fcb93ffe1..d92937bf5 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedAzureDataReplicationRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedAzureDataReplicationRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataReplicationRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDataPersistenceRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDataPersistenceRulesSpectraS3Request.java index 631fd576f..4f91f377f 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDataPersistenceRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDataPersistenceRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataIsolationLevel; import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataPersistenceRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDs3DataReplicationRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDs3DataReplicationRulesSpectraS3Request.java index 28b0e04e3..c375bef48 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDs3DataReplicationRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedDs3DataReplicationRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataReplicationRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedS3DataReplicationRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedS3DataReplicationRulesSpectraS3Request.java index 535007966..fb8267748 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedS3DataReplicationRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDegradedS3DataReplicationRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataReplicationRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3DataReplicationRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3DataReplicationRulesSpectraS3Request.java index 88223baa5..b22d890aa 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3DataReplicationRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3DataReplicationRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataReplicationRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetFailuresSpectraS3Request.java index e02ab8f2f..e7fed6772 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TargetFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetReadPreferencesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetReadPreferencesSpectraS3Request.java index 428b64602..4f053b5cf 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetReadPreferencesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetReadPreferencesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TargetReadPreferenceType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetsSpectraS3Request.java index 0b1381d3c..4c3b28ec5 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetDs3TargetsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; import java.util.UUID; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetFeatureKeysSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetFeatureKeysSpectraS3Request.java index 38143bb1b..290cda87d 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetFeatureKeysSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetFeatureKeysSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.Date; import com.spectralogic.ds3client.models.FeatureKeyType; import java.util.UUID; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetGroupsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetGroupsSpectraS3Request.java index 7f8ec9c98..2bc3ef9df 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetGroupsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetGroupsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetGroupsSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Request.java new file mode 100644 index 000000000..91576e01e --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Request.java @@ -0,0 +1,154 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.commands.spectrads3; + +import com.spectralogic.ds3client.networking.HttpVerb; +import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; +import java.util.Date; +import java.util.UUID; + +public class GetJobCreationFailuresSpectraS3Request extends AbstractPaginationRequest { + + // Variables + + private Date date; + + private String errorMessage; + + private boolean lastPage; + + private int pageLength; + + private int pageOffset; + + private String pageStartMarker; + + private String userName; + + // Constructor + + + public GetJobCreationFailuresSpectraS3Request() { + + } + + public GetJobCreationFailuresSpectraS3Request withDate(final Date date) { + this.date = date; + this.updateQueryParam("date", date); + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withErrorMessage(final String errorMessage) { + this.errorMessage = errorMessage; + this.updateQueryParam("error_message", errorMessage); + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withLastPage(final boolean lastPage) { + this.lastPage = lastPage; + if (this.lastPage) { + this.getQueryParams().put("last_page", null); + } else { + this.getQueryParams().remove("last_page"); + } + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withPageLength(final int pageLength) { + this.pageLength = pageLength; + this.updateQueryParam("page_length", pageLength); + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withPageOffset(final int pageOffset) { + this.pageOffset = pageOffset; + this.updateQueryParam("page_offset", pageOffset); + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withPageStartMarker(final UUID pageStartMarker) { + this.pageStartMarker = pageStartMarker.toString(); + this.updateQueryParam("page_start_marker", pageStartMarker); + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withPageStartMarker(final String pageStartMarker) { + this.pageStartMarker = pageStartMarker; + this.updateQueryParam("page_start_marker", pageStartMarker); + return this; + } + + + public GetJobCreationFailuresSpectraS3Request withUserName(final String userName) { + this.userName = userName; + this.updateQueryParam("user_name", userName); + return this; + } + + + + @Override + public HttpVerb getVerb() { + return HttpVerb.GET; + } + + @Override + public String getPath() { + return "/_rest_/job_creation_failed"; + } + + public Date getDate() { + return this.date; + } + + + public String getErrorMessage() { + return this.errorMessage; + } + + + public boolean getLastPage() { + return this.lastPage; + } + + + public int getPageLength() { + return this.pageLength; + } + + + public int getPageOffset() { + return this.pageOffset; + } + + + public String getPageStartMarker() { + return this.pageStartMarker; + } + + + public String getUserName() { + return this.userName; + } + +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Response.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Response.java new file mode 100644 index 000000000..bcc208873 --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetJobCreationFailuresSpectraS3Response.java @@ -0,0 +1,36 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.commands.spectrads3; + +import com.spectralogic.ds3client.models.JobCreationFailedList; +import com.spectralogic.ds3client.models.ChecksumType; +import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationResponse; + +public class GetJobCreationFailuresSpectraS3Response extends AbstractPaginationResponse { + + private final JobCreationFailedList jobCreationFailedListResult; + + public GetJobCreationFailuresSpectraS3Response(final JobCreationFailedList jobCreationFailedListResult, final Integer pagingTotalResultCount, final Integer pagingTruncated, final String checksum, final ChecksumType.Type checksumType) { + super(pagingTotalResultCount, pagingTruncated, checksum, checksumType); + this.jobCreationFailedListResult = jobCreationFailedListResult; + } + + public JobCreationFailedList getJobCreationFailedListResult() { + return this.jobCreationFailedListResult; + } + +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsDetailsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsDetailsSpectraS3Request.java index 1b0737576..40bc34bf8 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsDetailsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsDetailsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.S3ObjectType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsWithFullDetailsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsWithFullDetailsSpectraS3Request.java index b626c6a9e..819e64d0d 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsWithFullDetailsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetObjectsWithFullDetailsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.S3ObjectType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsSpectraS3Request.java index 8a15781f3..a73503422 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsSpectraS3Request.java @@ -24,9 +24,9 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.nio.charset.StandardCharsets; import java.util.List; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; public class GetPhysicalPlacementForObjectsSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java index e8338745c..5da4736b8 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java @@ -24,9 +24,9 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.nio.charset.StandardCharsets; import java.util.List; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; public class GetPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolFailuresSpectraS3Request.java index b2ca5b9c5..d56f145f5 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.PoolFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolPartitionsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolPartitionsSpectraS3Request.java index d486b700f..44b31ae27 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolPartitionsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetPoolPartitionsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.PoolType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3DataReplicationRulesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3DataReplicationRulesSpectraS3Request.java index 8b45ecf4b..6047ac042 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3DataReplicationRulesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3DataReplicationRulesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.S3InitialDataPlacementPolicy; import com.spectralogic.ds3client.models.DataPlacementRuleState; import com.spectralogic.ds3client.models.DataReplicationRuleType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetBucketNamesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetBucketNamesSpectraS3Request.java index ded5312d3..789df3f67 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetBucketNamesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetBucketNamesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetS3TargetBucketNamesSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetFailuresSpectraS3Request.java index 35670de08..36a58ec3a 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TargetFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetReadPreferencesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetReadPreferencesSpectraS3Request.java index 788808638..3b7de6e9b 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetReadPreferencesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetS3TargetReadPreferencesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TargetReadPreferenceType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainCapacitySummarySpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainCapacitySummarySpectraS3Request.java index ee05c895d..7a4dc9879 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainCapacitySummarySpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainCapacitySummarySpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.PoolHealth; import com.spectralogic.ds3client.models.PoolState; import com.spectralogic.ds3client.models.PoolType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainFailuresSpectraS3Request.java index 72f7a3fb7..6c0915ce1 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.StorageDomainFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainMembersSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainMembersSpectraS3Request.java index 8a932ed54..ed4852eaf 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainMembersSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainMembersSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.StorageDomainMemberState; import com.spectralogic.ds3client.models.WritePreferenceLevel; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainsSpectraS3Request.java index c92d9354e..0e1e3bc31 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetStorageDomainsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.WriteOptimization; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSuspectObjectsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSuspectObjectsSpectraS3Request.java index aa20e1461..8245807d9 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSuspectObjectsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSuspectObjectsSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetSuspectObjectsSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSystemFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSystemFailuresSpectraS3Request.java index 7629f08d2..f271940a9 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSystemFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetSystemFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.SystemFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeDrivesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeDrivesSpectraS3Request.java index 85a98397d..84ff04f0a 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeDrivesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeDrivesSpectraS3Request.java @@ -20,7 +20,6 @@ import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import com.spectralogic.ds3client.models.Priority; import java.util.UUID; - import com.spectralogic.ds3client.models.ReservedTaskType; import com.spectralogic.ds3client.models.TapeDriveState; import com.spectralogic.ds3client.models.TapeDriveType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeFailuresSpectraS3Request.java index 6b4ba3a17..e3c8598e6 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TapeFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeLibrariesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeLibrariesSpectraS3Request.java index ff8f90f59..8b0c831c8 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeLibrariesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapeLibrariesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetTapeLibrariesSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionFailuresSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionFailuresSpectraS3Request.java index 7ea65c560..a2cd106de 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionFailuresSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionFailuresSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.TapePartitionFailureType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsSpectraS3Request.java index 2da207ba0..405e5ac3e 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsSpectraS3Request.java @@ -20,7 +20,6 @@ import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import com.spectralogic.ds3client.models.ImportExportConfiguration; import java.util.UUID; - import com.spectralogic.ds3client.models.Quiesced; import com.spectralogic.ds3client.models.TapePartitionState; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsWithFullDetailsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsWithFullDetailsSpectraS3Request.java index 9f5c61c53..4fc2eb6f8 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsWithFullDetailsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetTapePartitionsWithFullDetailsSpectraS3Request.java @@ -20,7 +20,6 @@ import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; import com.spectralogic.ds3client.models.ImportExportConfiguration; import java.util.UUID; - import com.spectralogic.ds3client.models.Quiesced; import com.spectralogic.ds3client.models.TapePartitionState; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetUsersSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetUsersSpectraS3Request.java index d535ebd91..1a7e71bd0 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetUsersSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/GetUsersSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractPaginationRequest; - import java.util.UUID; public class GetUsersSpectraS3Request extends AbstractPaginationRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllPoolsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllPoolsSpectraS3Request.java index a208a037a..5cdfe73b0 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllPoolsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllPoolsSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.Priority; public class ImportAllPoolsSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllTapesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllTapesSpectraS3Request.java index fc9ab70e3..21581c626 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllTapesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAllTapesSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.Priority; public class ImportAllTapesSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAzureTargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAzureTargetSpectraS3Request.java index 0c7dfa39b..de3ed0d00 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAzureTargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportAzureTargetSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportPoolSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportPoolSpectraS3Request.java index 93f43e4f3..20e220059 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportPoolSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportPoolSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.Priority; public class ImportPoolSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportS3TargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportS3TargetSpectraS3Request.java index 485b6c462..7ae92c002 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportS3TargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportS3TargetSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportTapeSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportTapeSpectraS3Request.java index 94ef08744..5322fb1fa 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportTapeSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ImportTapeSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.Priority; public class ImportTapeSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyActiveJobSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyActiveJobSpectraS3Request.java index 269380b30..46278919c 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyActiveJobSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyActiveJobSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.Date; - import com.spectralogic.ds3client.models.Priority; import java.util.UUID; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyAzureTargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyAzureTargetSpectraS3Request.java index 871dc2231..6ae86debc 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyAzureTargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyAzureTargetSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; import com.spectralogic.ds3client.models.Quiesced; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyCacheFilesystemSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyCacheFilesystemSpectraS3Request.java index 60b5870c0..94cfef774 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyCacheFilesystemSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyCacheFilesystemSpectraS3Request.java @@ -36,6 +36,8 @@ public class ModifyCacheFilesystemSpectraS3Request extends AbstractRequest { private Long maxCapacityInBytes; + private boolean needsReconcile; + // Constructor @@ -79,6 +81,13 @@ public ModifyCacheFilesystemSpectraS3Request withMaxCapacityInBytes(final Long m } + public ModifyCacheFilesystemSpectraS3Request withNeedsReconcile(final boolean needsReconcile) { + this.needsReconcile = needsReconcile; + this.updateQueryParam("needs_reconcile", needsReconcile); + return this; + } + + @Override public HttpVerb getVerb() { @@ -119,4 +128,9 @@ public Long getMaxCapacityInBytes() { return this.maxCapacityInBytes; } + + public boolean getNeedsReconcile() { + return this.needsReconcile; + } + } \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyDs3TargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyDs3TargetSpectraS3Request.java index e782a1717..387169330 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyDs3TargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyDs3TargetSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import com.spectralogic.ds3client.models.Ds3TargetAccessControlReplication; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; import com.spectralogic.ds3client.models.Quiesced; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyJobSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyJobSpectraS3Request.java index c10621b7d..3fac5131b 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyJobSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyJobSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.Date; - import com.spectralogic.ds3client.models.Priority; import java.util.UUID; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyPoolSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyPoolSpectraS3Request.java index e1edfb2d9..db5158d8a 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyPoolSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyPoolSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.Quiesced; public class ModifyPoolSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyS3TargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyS3TargetSpectraS3Request.java index 0802c441d..673cbe5f3 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyS3TargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyS3TargetSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; import com.spectralogic.ds3client.models.CloudNamingMode; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyStorageDomainSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyStorageDomainSpectraS3Request.java index 3bdb277a3..7b2d704c3 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyStorageDomainSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyStorageDomainSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.lang.Long; - import com.spectralogic.ds3client.models.LtfsFileNamingMode; import java.lang.Integer; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PairBackRegisteredDs3TargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PairBackRegisteredDs3TargetSpectraS3Request.java index caa47d840..5afa84743 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PairBackRegisteredDs3TargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PairBackRegisteredDs3TargetSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import com.spectralogic.ds3client.models.Ds3TargetAccessControlReplication; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureDataReplicationRuleSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureDataReplicationRuleSpectraS3Request.java index 3d0b5ce88..108768a86 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureDataReplicationRuleSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureDataReplicationRuleSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataReplicationRuleType; public class PutAzureDataReplicationRuleSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureTargetBucketNameSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureTargetBucketNameSpectraS3Request.java index 89638d3ee..e172ff13b 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureTargetBucketNameSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutAzureTargetBucketNameSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; public class PutAzureTargetBucketNameSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketAclForGroupSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketAclForGroupSpectraS3Request.java index 8e99b3645..0eeb06c24 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketAclForGroupSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketAclForGroupSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.BucketAclPermission; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketSpectraS3Request.java index 78e88c76f..547c3a95e 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutBucketSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; public class PutBucketSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDataPersistenceRuleSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDataPersistenceRuleSpectraS3Request.java index 2631c43a2..ae7c16332 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDataPersistenceRuleSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDataPersistenceRuleSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataIsolationLevel; import com.spectralogic.ds3client.models.DataPersistenceRuleType; import java.lang.Integer; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDs3DataReplicationRuleSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDs3DataReplicationRuleSpectraS3Request.java index 010e67b7e..bf942b54d 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDs3DataReplicationRuleSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutDs3DataReplicationRuleSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataReplicationRuleType; public class PutDs3DataReplicationRuleSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutGlobalBucketAclForGroupSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutGlobalBucketAclForGroupSpectraS3Request.java index 0308ea452..7a0645151 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutGlobalBucketAclForGroupSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutGlobalBucketAclForGroupSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.BucketAclPermission; public class PutGlobalBucketAclForGroupSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutPoolStorageDomainMemberSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutPoolStorageDomainMemberSpectraS3Request.java index 9e0c12493..752c27ba6 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutPoolStorageDomainMemberSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutPoolStorageDomainMemberSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.WritePreferenceLevel; public class PutPoolStorageDomainMemberSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3DataReplicationRuleSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3DataReplicationRuleSpectraS3Request.java index 2e3d47b45..3a62fc328 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3DataReplicationRuleSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3DataReplicationRuleSpectraS3Request.java @@ -19,7 +19,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import java.util.UUID; - import com.spectralogic.ds3client.models.DataReplicationRuleType; import com.spectralogic.ds3client.models.S3InitialDataPlacementPolicy; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3TargetBucketNameSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3TargetBucketNameSpectraS3Request.java index fa99c155f..d7a8de0bf 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3TargetBucketNameSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutS3TargetBucketNameSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; public class PutS3TargetBucketNameSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutStorageDomainSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutStorageDomainSpectraS3Request.java index e3c233eb9..2a6af8467 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutStorageDomainSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/PutStorageDomainSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.lang.Long; import com.spectralogic.ds3client.models.LtfsFileNamingMode; import java.lang.Integer; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportAllTapesSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportAllTapesSpectraS3Request.java index 37ec394e9..d5144960d 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportAllTapesSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportAllTapesSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportTapeSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportTapeSpectraS3Request.java index 38de2a722..265a76568 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportTapeSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RawImportTapeSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterAzureTargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterAzureTargetSpectraS3Request.java index 33c7a1532..f25370944 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterAzureTargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterAzureTargetSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterS3TargetSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterS3TargetSpectraS3Request.java index 5d6de7540..1c30ecac1 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterS3TargetSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/RegisterS3TargetSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.lang.Integer; import com.spectralogic.ds3client.models.TargetReadPreferenceType; import com.spectralogic.ds3client.models.CloudNamingMode; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ReplicatePutJobSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ReplicatePutJobSpectraS3Request.java index 075c6e377..07c012e7c 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ReplicatePutJobSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ReplicatePutJobSpectraS3Request.java @@ -20,9 +20,8 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; - import com.spectralogic.ds3client.utils.Guard; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/UndeleteObjectSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/UndeleteObjectSpectraS3Request.java index b45da8a8c..5fd5c53d1 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/UndeleteObjectSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/UndeleteObjectSpectraS3Request.java @@ -18,7 +18,6 @@ import com.spectralogic.ds3client.networking.HttpVerb; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; - import java.util.UUID; public class UndeleteObjectSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyBulkJobSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyBulkJobSpectraS3Request.java index f0497caf1..8a8e1ebcd 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyBulkJobSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyBulkJobSpectraS3Request.java @@ -24,9 +24,9 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.nio.charset.StandardCharsets; import java.util.List; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; import com.spectralogic.ds3client.models.Priority; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsSpectraS3Request.java index df595758f..7cf685b7d 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsSpectraS3Request.java @@ -24,9 +24,9 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.nio.charset.StandardCharsets; import java.util.List; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; public class VerifyPhysicalPlacementForObjectsSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java index 3650e8924..2bb202512 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/VerifyPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request.java @@ -24,9 +24,9 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.nio.charset.StandardCharsets; import java.util.List; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import com.spectralogic.ds3client.commands.interfaces.AbstractRequest; public class VerifyPhysicalPlacementForObjectsWithFullDetailsSpectraS3Request extends AbstractRequest { diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/CacheFilesystem.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/CacheFilesystem.java index 6d6a80657..525c2f924 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/CacheFilesystem.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/CacheFilesystem.java @@ -45,6 +45,9 @@ public class CacheFilesystem { @JsonProperty("MaxPercentUtilizationOfFilesystem") private Double maxPercentUtilizationOfFilesystem; + @JsonProperty("NeedsReconcile") + private boolean needsReconcile; + @JsonProperty("NodeId") private UUID nodeId; @@ -121,6 +124,15 @@ public void setMaxPercentUtilizationOfFilesystem(final Double maxPercentUtilizat } + public boolean getNeedsReconcile() { + return this.needsReconcile; + } + + public void setNeedsReconcile(final boolean needsReconcile) { + this.needsReconcile = needsReconcile; + } + + public UUID getNodeId() { return this.nodeId; } diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailed.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailed.java new file mode 100644 index 000000000..1a98ea59a --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailed.java @@ -0,0 +1,106 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.models; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import java.util.Date; +import java.util.UUID; + +@JacksonXmlRootElement(namespace = "Data") +public class JobCreationFailed { + + // Variables + @JsonProperty("Date") + private Date date; + + @JsonProperty("ErrorMessage") + private String errorMessage; + + @JsonProperty("Id") + private UUID id; + + @JsonProperty("TapeBarCodes") + private String tapeBarCodes; + + @JsonProperty("Type") + private JobCreationFailedType type; + + @JsonProperty("UserName") + private String userName; + + // Constructor + public JobCreationFailed() { + //pass + } + + // Getters and Setters + + public Date getDate() { + return this.date; + } + + public void setDate(final Date date) { + this.date = date; + } + + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(final String errorMessage) { + this.errorMessage = errorMessage; + } + + + public UUID getId() { + return this.id; + } + + public void setId(final UUID id) { + this.id = id; + } + + + public String getTapeBarCodes() { + return this.tapeBarCodes; + } + + public void setTapeBarCodes(final String tapeBarCodes) { + this.tapeBarCodes = tapeBarCodes; + } + + + public JobCreationFailedType getType() { + return this.type; + } + + public void setType(final JobCreationFailedType type) { + this.type = type; + } + + + public String getUserName() { + return this.userName; + } + + public void setUserName(final String userName) { + this.userName = userName; + } + +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedList.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedList.java new file mode 100644 index 000000000..36e50009e --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedList.java @@ -0,0 +1,48 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.models; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import java.util.List; +import java.util.ArrayList; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; + +@JacksonXmlRootElement(namespace = "Data") +public class JobCreationFailedList { + + // Variables + @JsonProperty("JobCreationFailed") + @JacksonXmlElementWrapper(useWrapping = false) + private List jobCreationFaileds = new ArrayList<>(); + + // Constructor + public JobCreationFailedList() { + //pass + } + + // Getters and Setters + + public List getJobCreationFaileds() { + return this.jobCreationFaileds; + } + + public void setJobCreationFaileds(final List jobCreationFaileds) { + this.jobCreationFaileds = jobCreationFaileds; + } + +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedType.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedType.java new file mode 100644 index 000000000..5f0d8881d --- /dev/null +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobCreationFailedType.java @@ -0,0 +1,21 @@ +/* + * ****************************************************************************** + * Copyright 2014-2019 Spectra Logic Corporation. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * **************************************************************************** + */ + +// This code is auto-generated, do not modify +package com.spectralogic.ds3client.models; + +public enum JobCreationFailedType { + TAPES_MUST_BE_ONLINED +} \ No newline at end of file diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobNode.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobNode.java index cacdec6aa..db3d44fb1 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobNode.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/JobNode.java @@ -16,6 +16,7 @@ // This code is auto-generated, do not modify package com.spectralogic.ds3client.models; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import java.util.UUID; diff --git a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/TapeDriveType.java b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/TapeDriveType.java index 8f4f01a48..816b51049 100644 --- a/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/TapeDriveType.java +++ b/ds3-sdk/src/main/java/com/spectralogic/ds3client/models/TapeDriveType.java @@ -26,5 +26,6 @@ public enum TapeDriveType { TS1140, TS1150, TS1155, - TS1160 + TS1160, + TS1170 } \ No newline at end of file