refactor(impact-analysis): Removed constructor ignored by Gson.
@@ -26,101 +26,72 @@ import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
public class ImpactAnalysisSuccessResult {
-
@SerializedName("codeLocationId")
- public final String codeLocationId;
+ public String codeLocationId;
@SerializedName("scannerVersion")
- public final String scannerVersion;
+ public String scannerVersion;
@SerializedName("signatureVersion")
- public final String signatureVersion;
+ public String signatureVersion;
@SerializedName("id")
- public final String id;
+ public String id;
@SerializedName("scanType")
- public final String scanType;
+ public String scanType;
@SerializedName("name")
- public final String codeLocationName;
+ public String codeLocationName;
@SerializedName("hostName")
- public final String hostName;
+ public String hostName;
@SerializedName("baseDir")
- public final String baseDir;
+ public String baseDir;
@SerializedName("ownerEntityKeyToken")
- public final String ownerEntityKeyToken;
+ public String ownerEntityKeyToken;
@SerializedName("createdOn")
- public final String createdOn;
+ public String createdOn;
@SerializedName("timeToScan")
- public final Integer timeToScan;
+ public Integer timeToScan;
@SerializedName("createdByUserId")
- public final String createdByUserId;
+ public String createdByUserId;
@SerializedName("status")
- public final String status;
+ public String status;
@SerializedName("statusMessage")
- public final String statusMessage;
+ public String statusMessage;
@SerializedName("matchCount")
- public final Integer matchCount;
+ public Integer matchCount;
@SerializedName("numDirs")
- public final Integer numberOfDirectories;
+ public Integer numberOfDirectories;
@SerializedName("numNonDirFiles")
- public final Integer numberOfNonDirectoryFiles;
+ public Integer numberOfNonDirectoryFiles;
@SerializedName("scanSourceType")
- public final String scanSourceType;
+ public String scanSourceType;
@SerializedName("scanSourceId")
- public final String scanSourceId;
+ public String scanSourceId;
@SerializedName("scanTime")
- public final Integer scanTime;
+ public Integer scanTime;
@SerializedName("timeLastModified")
- public final Integer timeLastModified;
+ public Integer timeLastModified;
@SerializedName("timeToPersistMs")
- public final Integer timeToPersistMs;
+ public Integer timeToPersistMs;
@SerializedName("arguments")
- public final JsonObject arguments;
-
- public ImpactAnalysisSuccessResult(String codeLocationId, String scannerVersion, String signatureVersion, String id, String scanType, String codeLocationName, String hostName, String baseDir, String ownerEntityKeyToken,
- String createdOn, Integer timeToScan, String createdByUserId, String status, String statusMessage, Integer matchCount, Integer numberOfDirectories, Integer numberOfNonDirectoryFiles, String scanSourceType, String scanSourceId,
- Integer scanTime, Integer timeLastModified, Integer timeToPersistMs, JsonObject arguments) {
- this.codeLocationId = codeLocationId;
- this.scannerVersion = scannerVersion;
- this.signatureVersion = signatureVersion;
- this.id = id;
- this.scanType = scanType;
- this.codeLocationName = codeLocationName;
- this.hostName = hostName;
- this.baseDir = baseDir;
- this.ownerEntityKeyToken = ownerEntityKeyToken;
- this.createdOn = createdOn;
- this.timeToScan = timeToScan;
- this.createdByUserId = createdByUserId;
- this.status = status;
- this.statusMessage = statusMessage;
- this.matchCount = matchCount;
- this.numberOfDirectories = numberOfDirectories;
- this.numberOfNonDirectoryFiles = numberOfNonDirectoryFiles;
- this.scanSourceType = scanSourceType;
- this.scanSourceId = scanSourceId;
- this.scanTime = scanTime;
- this.timeLastModified = timeLastModified;
- this.timeToPersistMs = timeToPersistMs;
- this.arguments = arguments;
- }
+ public JsonObject arguments2;
}
