Class BulkUploadResponse
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.licensemanager.model.BulkUploadResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220430") public final class BulkUploadResponse extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The bulk upload response.
Note: Objects should always be created or deserialized using theBulkUploadResponse.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theBulkUploadResponse.Builder
, which maintain a set of all explicitly set fields calledBulkUploadResponse.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BulkUploadResponse.Builder
-
Constructor Summary
Constructors Constructor Description BulkUploadResponse(Integer totalSupportedRecords, Integer totalSupportedRecordsSaved, Integer totalSupportedDuplicateRecords, Integer totalSupportedFailedLicenseRecords, Integer totalSupportedInvalidRecords, List<BulkUploadValidationErrorInfo> validationErrorInfo, List<BulkUploadFailedRecordInfo> failedLicenseRecordInfo, String message)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkUploadResponse.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<BulkUploadFailedRecordInfo>
getFailedLicenseRecordInfo()
Error information corresponding to the supported records which are valid but could not be created.String
getMessage()
Response message for bulk upload.Integer
getTotalSupportedDuplicateRecords()
The number of supported license records that were valid but not uploaded since they were duplicates.Integer
getTotalSupportedFailedLicenseRecords()
The number of supported license records that were valid but failed with errors during upload.Integer
getTotalSupportedInvalidRecords()
The number of supported license records that could not be uploaded since they were invalid.Integer
getTotalSupportedRecords()
The number of license records which were supported.Integer
getTotalSupportedRecordsSaved()
The number of supported license records that were uploaded successfully.List<BulkUploadValidationErrorInfo>
getValidationErrorInfo()
Detailed error information corresponding to each supported but invalid row for the uploaded file.int
hashCode()
BulkUploadResponse.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
BulkUploadResponse
@Deprecated @ConstructorProperties({"totalSupportedRecords","totalSupportedRecordsSaved","totalSupportedDuplicateRecords","totalSupportedFailedLicenseRecords","totalSupportedInvalidRecords","validationErrorInfo","failedLicenseRecordInfo","message"}) public BulkUploadResponse(Integer totalSupportedRecords, Integer totalSupportedRecordsSaved, Integer totalSupportedDuplicateRecords, Integer totalSupportedFailedLicenseRecords, Integer totalSupportedInvalidRecords, List<BulkUploadValidationErrorInfo> validationErrorInfo, List<BulkUploadFailedRecordInfo> failedLicenseRecordInfo, String message)
Deprecated.
-
-
Method Detail
-
builder
public static BulkUploadResponse.Builder builder()
Create a new builder.
-
toBuilder
public BulkUploadResponse.Builder toBuilder()
-
getTotalSupportedRecords
public Integer getTotalSupportedRecords()
The number of license records which were supported.- Returns:
- the value
-
getTotalSupportedRecordsSaved
public Integer getTotalSupportedRecordsSaved()
The number of supported license records that were uploaded successfully.- Returns:
- the value
-
getTotalSupportedDuplicateRecords
public Integer getTotalSupportedDuplicateRecords()
The number of supported license records that were valid but not uploaded since they were duplicates.- Returns:
- the value
-
getTotalSupportedFailedLicenseRecords
public Integer getTotalSupportedFailedLicenseRecords()
The number of supported license records that were valid but failed with errors during upload.- Returns:
- the value
-
getTotalSupportedInvalidRecords
public Integer getTotalSupportedInvalidRecords()
The number of supported license records that could not be uploaded since they were invalid.- Returns:
- the value
-
getValidationErrorInfo
public List<BulkUploadValidationErrorInfo> getValidationErrorInfo()
Detailed error information corresponding to each supported but invalid row for the uploaded file.- Returns:
- the value
-
getFailedLicenseRecordInfo
public List<BulkUploadFailedRecordInfo> getFailedLicenseRecordInfo()
Error information corresponding to the supported records which are valid but could not be created.- Returns:
- the value
-
getMessage
public String getMessage()
Response message for bulk upload.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-