public class FileUploadStatusParser extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
FileUploadStatusParser()
Empty constructor: Used only to keep GSON happy.
|
|
FileUploadStatusParser(String correlationId,
Boolean isSuccess,
Integer statusCode,
String statusDescription)
CONSTRUCTOR
Create an instance of the FileUploadStatusParser for a single file in Azure Storage.
|
public FileUploadStatusParser(String correlationId, Boolean isSuccess, Integer statusCode, String statusDescription) throws IllegalArgumentException
correlationId - is an unique file identification.isSuccess - is a Boolean representing whether the file was uploaded successfully.statusCode - is the status for the upload of the file to storage.statusDescription - is the description of the status code.IllegalArgumentException - if one of the parameters is null, empty, or not valid.protected FileUploadStatusParser()
public String toJson()
Copyright © 2019. All rights reserved.