
com.blazebit.query.connector.kandji.model.GetThreatDetails200ResponseResultsInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blaze-query-connector-kandji-jersey3 Show documentation
Show all versions of blaze-query-connector-kandji-jersey3 Show documentation
A multi-platform querying library
The newest version!
/*
* Kandji API
* # Welcome to the Kandji API Documentation You can find your API URL in Settings > Access. The API URL will follow the below formats. - US - `https://SubDomain.api.kandji.io` - EU - `https://SubDomain.api.eu.kandji.io` For information on how to obtain an API token, please refer to the following support article. [https://support.kandji.io/api](https://support.kandji.io/api) #### Rate Limit The Kandji API currently has an API rate limit of 10,000 requests per hour per customer. #### Request Methods HTTP request methods supported by the Kandji API. | Method | Definition | | --- | --- | | GET | The `GET` method requests a representation of the specified resource. | | POST | The `POST` method submits an entity to the specified resource. | | PATCH | The `PATCH` method applies partial modifications to a resource. | | DELETE | The `DELETE` method deletes the specified resource. | #### Response codes Not all response codes apply to every endpoint. | Code | Response | | --- | --- | | 200 | OK | | 201 | Created | | 204 | No content | | | Typical response when sending the DELETE method. | | 400 | Bad Request | | | \"Command already running\" - The command may already be running in a _Pending_ state waiting on the device. | | | \"Command is not allowed for current device\" - The command may not be compatible with the target device. | | | \"JSON parse error - Expecting ',' delimiter: line 3 column 2 (char 65)\" | | 401 | Unauthorized | | | This error can occur if the token is incorrect, was revoked, or the token has expired. | | 403 | Forbidden | | | The request was understood but cannot be authorized. | | 404 | Not found | | | Unable to locate the resource in the Kandji tenant. | | 415 | Unsupported Media Type | | | The request contains a media type which the server or resource does not support. | | 500 | Internal server error | | 503 | Service unavailable | | | This error can occur if a file upload is still being processed via the custom apps API. | #### Data structure The API returns all structured responses in JSON schema format. #### Examples Code examples using the API can be found in the Kandji support [GitHub](https://github.com/kandji-inc/support/tree/main/api-tools).
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.blazebit.query.connector.kandji.model;
import java.util.Objects;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.blazebit.query.connector.kandji.invoker.JSON;
/**
* GetThreatDetails200ResponseResultsInner
*/
@JsonPropertyOrder({
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_BLUEPRINT_ID,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_BLUEPRINT_NAME,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_BUNDLE_PATH,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_CLASSIFICATION,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_DATE_OF_QUARANTINE,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_DATE_OF_RELEASE,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_DETECTION_DATE,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_DEVICE_ID,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_DEVICE_NAME,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_DEVICE_SERIAL_NUMBER,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_FILE_HASH,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_FILE_PATH,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_LIBRARY_ITEM_ID,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_LIBRARY_ITEM_NAME,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_MALWARE_POSTURE,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_PROCESS_NAME,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_PROCESS_OWNER,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_PUP_POSTURE,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_RELEASE_NOTE,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_RELEASED_BY,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_STATUS,
GetThreatDetails200ResponseResultsInner.JSON_PROPERTY_THREAT_NAME
})
@JsonTypeName("getThreatDetails_200_response_results_inner")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-04-30T07:19:31.168100307Z[Etc/UTC]", comments = "Generator version: 7.10.0")
public class GetThreatDetails200ResponseResultsInner {
public static final String JSON_PROPERTY_BLUEPRINT_ID = "blueprint_id";
private JsonNullable blueprintId = JsonNullable.undefined();
public static final String JSON_PROPERTY_BLUEPRINT_NAME = "blueprint_name";
private JsonNullable blueprintName = JsonNullable.undefined();
public static final String JSON_PROPERTY_BUNDLE_PATH = "bundle_path";
@jakarta.annotation.Nullable
private String bundlePath;
public static final String JSON_PROPERTY_CLASSIFICATION = "classification";
@jakarta.annotation.Nullable
private String classification;
public static final String JSON_PROPERTY_DATE_OF_QUARANTINE = "date_of_quarantine";
@jakarta.annotation.Nullable
private String dateOfQuarantine;
public static final String JSON_PROPERTY_DATE_OF_RELEASE = "date_of_release";
@jakarta.annotation.Nullable
private String dateOfRelease;
public static final String JSON_PROPERTY_DETECTION_DATE = "detection_date";
@jakarta.annotation.Nullable
private String detectionDate;
public static final String JSON_PROPERTY_DEVICE_ID = "device_id";
@jakarta.annotation.Nullable
private String deviceId;
public static final String JSON_PROPERTY_DEVICE_NAME = "device_name";
@jakarta.annotation.Nullable
private String deviceName;
public static final String JSON_PROPERTY_DEVICE_SERIAL_NUMBER = "device_serial_number";
private JsonNullable deviceSerialNumber = JsonNullable.undefined();
public static final String JSON_PROPERTY_FILE_HASH = "file_hash";
@jakarta.annotation.Nullable
private String fileHash;
public static final String JSON_PROPERTY_FILE_PATH = "file_path";
@jakarta.annotation.Nullable
private String filePath;
public static final String JSON_PROPERTY_LIBRARY_ITEM_ID = "library_item_id";
private JsonNullable libraryItemId = JsonNullable.undefined();
public static final String JSON_PROPERTY_LIBRARY_ITEM_NAME = "library_item_name";
private JsonNullable libraryItemName = JsonNullable.undefined();
public static final String JSON_PROPERTY_MALWARE_POSTURE = "malware_posture";
private JsonNullable malwarePosture = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_NAME = "process_name";
@jakarta.annotation.Nullable
private String processName;
public static final String JSON_PROPERTY_PROCESS_OWNER = "process_owner";
@jakarta.annotation.Nullable
private String processOwner;
public static final String JSON_PROPERTY_PUP_POSTURE = "pup_posture";
private JsonNullable pupPosture = JsonNullable.undefined();
public static final String JSON_PROPERTY_RELEASE_NOTE = "release_note";
@jakarta.annotation.Nullable
private String releaseNote;
public static final String JSON_PROPERTY_RELEASED_BY = "released_by";
@jakarta.annotation.Nullable
private String releasedBy;
public static final String JSON_PROPERTY_STATUS = "status";
@jakarta.annotation.Nullable
private String status;
public static final String JSON_PROPERTY_THREAT_NAME = "threat_name";
@jakarta.annotation.Nullable
private String threatName;
public GetThreatDetails200ResponseResultsInner() {
}
public GetThreatDetails200ResponseResultsInner blueprintId(@jakarta.annotation.Nullable String blueprintId) {
this.blueprintId = JsonNullable.of(blueprintId);
return this;
}
/**
* Get blueprintId
* @return blueprintId
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getBlueprintId() {
return blueprintId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getBlueprintId_JsonNullable() {
return blueprintId;
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT_ID)
public void setBlueprintId_JsonNullable(JsonNullable blueprintId) {
this.blueprintId = blueprintId;
}
public void setBlueprintId(@jakarta.annotation.Nullable String blueprintId) {
this.blueprintId = JsonNullable.of(blueprintId);
}
public GetThreatDetails200ResponseResultsInner blueprintName(@jakarta.annotation.Nullable String blueprintName) {
this.blueprintName = JsonNullable.of(blueprintName);
return this;
}
/**
* Get blueprintName
* @return blueprintName
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getBlueprintName() {
return blueprintName.orElse(null);
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getBlueprintName_JsonNullable() {
return blueprintName;
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT_NAME)
public void setBlueprintName_JsonNullable(JsonNullable blueprintName) {
this.blueprintName = blueprintName;
}
public void setBlueprintName(@jakarta.annotation.Nullable String blueprintName) {
this.blueprintName = JsonNullable.of(blueprintName);
}
public GetThreatDetails200ResponseResultsInner bundlePath(@jakarta.annotation.Nullable String bundlePath) {
this.bundlePath = bundlePath;
return this;
}
/**
* Get bundlePath
* @return bundlePath
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BUNDLE_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBundlePath() {
return bundlePath;
}
@JsonProperty(JSON_PROPERTY_BUNDLE_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBundlePath(@jakarta.annotation.Nullable String bundlePath) {
this.bundlePath = bundlePath;
}
public GetThreatDetails200ResponseResultsInner classification(@jakarta.annotation.Nullable String classification) {
this.classification = classification;
return this;
}
/**
* Get classification
* @return classification
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CLASSIFICATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClassification() {
return classification;
}
@JsonProperty(JSON_PROPERTY_CLASSIFICATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClassification(@jakarta.annotation.Nullable String classification) {
this.classification = classification;
}
public GetThreatDetails200ResponseResultsInner dateOfQuarantine(@jakarta.annotation.Nullable String dateOfQuarantine) {
this.dateOfQuarantine = dateOfQuarantine;
return this;
}
/**
* Get dateOfQuarantine
* @return dateOfQuarantine
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_OF_QUARANTINE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDateOfQuarantine() {
return dateOfQuarantine;
}
@JsonProperty(JSON_PROPERTY_DATE_OF_QUARANTINE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDateOfQuarantine(@jakarta.annotation.Nullable String dateOfQuarantine) {
this.dateOfQuarantine = dateOfQuarantine;
}
public GetThreatDetails200ResponseResultsInner dateOfRelease(@jakarta.annotation.Nullable String dateOfRelease) {
this.dateOfRelease = dateOfRelease;
return this;
}
/**
* Get dateOfRelease
* @return dateOfRelease
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_OF_RELEASE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDateOfRelease() {
return dateOfRelease;
}
@JsonProperty(JSON_PROPERTY_DATE_OF_RELEASE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDateOfRelease(@jakarta.annotation.Nullable String dateOfRelease) {
this.dateOfRelease = dateOfRelease;
}
public GetThreatDetails200ResponseResultsInner detectionDate(@jakarta.annotation.Nullable String detectionDate) {
this.detectionDate = detectionDate;
return this;
}
/**
* Get detectionDate
* @return detectionDate
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DETECTION_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDetectionDate() {
return detectionDate;
}
@JsonProperty(JSON_PROPERTY_DETECTION_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDetectionDate(@jakarta.annotation.Nullable String detectionDate) {
this.detectionDate = detectionDate;
}
public GetThreatDetails200ResponseResultsInner deviceId(@jakarta.annotation.Nullable String deviceId) {
this.deviceId = deviceId;
return this;
}
/**
* Get deviceId
* @return deviceId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceId() {
return deviceId;
}
@JsonProperty(JSON_PROPERTY_DEVICE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceId(@jakarta.annotation.Nullable String deviceId) {
this.deviceId = deviceId;
}
public GetThreatDetails200ResponseResultsInner deviceName(@jakarta.annotation.Nullable String deviceName) {
this.deviceName = deviceName;
return this;
}
/**
* Get deviceName
* @return deviceName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceName() {
return deviceName;
}
@JsonProperty(JSON_PROPERTY_DEVICE_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceName(@jakarta.annotation.Nullable String deviceName) {
this.deviceName = deviceName;
}
public GetThreatDetails200ResponseResultsInner deviceSerialNumber(@jakarta.annotation.Nullable String deviceSerialNumber) {
this.deviceSerialNumber = JsonNullable.of(deviceSerialNumber);
return this;
}
/**
* Get deviceSerialNumber
* @return deviceSerialNumber
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getDeviceSerialNumber() {
return deviceSerialNumber.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DEVICE_SERIAL_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getDeviceSerialNumber_JsonNullable() {
return deviceSerialNumber;
}
@JsonProperty(JSON_PROPERTY_DEVICE_SERIAL_NUMBER)
public void setDeviceSerialNumber_JsonNullable(JsonNullable deviceSerialNumber) {
this.deviceSerialNumber = deviceSerialNumber;
}
public void setDeviceSerialNumber(@jakarta.annotation.Nullable String deviceSerialNumber) {
this.deviceSerialNumber = JsonNullable.of(deviceSerialNumber);
}
public GetThreatDetails200ResponseResultsInner fileHash(@jakarta.annotation.Nullable String fileHash) {
this.fileHash = fileHash;
return this;
}
/**
* Get fileHash
* @return fileHash
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FILE_HASH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFileHash() {
return fileHash;
}
@JsonProperty(JSON_PROPERTY_FILE_HASH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFileHash(@jakarta.annotation.Nullable String fileHash) {
this.fileHash = fileHash;
}
public GetThreatDetails200ResponseResultsInner filePath(@jakarta.annotation.Nullable String filePath) {
this.filePath = filePath;
return this;
}
/**
* Get filePath
* @return filePath
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FILE_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFilePath() {
return filePath;
}
@JsonProperty(JSON_PROPERTY_FILE_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFilePath(@jakarta.annotation.Nullable String filePath) {
this.filePath = filePath;
}
public GetThreatDetails200ResponseResultsInner libraryItemId(@jakarta.annotation.Nullable String libraryItemId) {
this.libraryItemId = JsonNullable.of(libraryItemId);
return this;
}
/**
* Get libraryItemId
* @return libraryItemId
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getLibraryItemId() {
return libraryItemId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_LIBRARY_ITEM_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getLibraryItemId_JsonNullable() {
return libraryItemId;
}
@JsonProperty(JSON_PROPERTY_LIBRARY_ITEM_ID)
public void setLibraryItemId_JsonNullable(JsonNullable libraryItemId) {
this.libraryItemId = libraryItemId;
}
public void setLibraryItemId(@jakarta.annotation.Nullable String libraryItemId) {
this.libraryItemId = JsonNullable.of(libraryItemId);
}
public GetThreatDetails200ResponseResultsInner libraryItemName(@jakarta.annotation.Nullable String libraryItemName) {
this.libraryItemName = JsonNullable.of(libraryItemName);
return this;
}
/**
* Get libraryItemName
* @return libraryItemName
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getLibraryItemName() {
return libraryItemName.orElse(null);
}
@JsonProperty(JSON_PROPERTY_LIBRARY_ITEM_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getLibraryItemName_JsonNullable() {
return libraryItemName;
}
@JsonProperty(JSON_PROPERTY_LIBRARY_ITEM_NAME)
public void setLibraryItemName_JsonNullable(JsonNullable libraryItemName) {
this.libraryItemName = libraryItemName;
}
public void setLibraryItemName(@jakarta.annotation.Nullable String libraryItemName) {
this.libraryItemName = JsonNullable.of(libraryItemName);
}
public GetThreatDetails200ResponseResultsInner malwarePosture(@jakarta.annotation.Nullable String malwarePosture) {
this.malwarePosture = JsonNullable.of(malwarePosture);
return this;
}
/**
* Get malwarePosture
* @return malwarePosture
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getMalwarePosture() {
return malwarePosture.orElse(null);
}
@JsonProperty(JSON_PROPERTY_MALWARE_POSTURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getMalwarePosture_JsonNullable() {
return malwarePosture;
}
@JsonProperty(JSON_PROPERTY_MALWARE_POSTURE)
public void setMalwarePosture_JsonNullable(JsonNullable malwarePosture) {
this.malwarePosture = malwarePosture;
}
public void setMalwarePosture(@jakarta.annotation.Nullable String malwarePosture) {
this.malwarePosture = JsonNullable.of(malwarePosture);
}
public GetThreatDetails200ResponseResultsInner processName(@jakarta.annotation.Nullable String processName) {
this.processName = processName;
return this;
}
/**
* Get processName
* @return processName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROCESS_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProcessName() {
return processName;
}
@JsonProperty(JSON_PROPERTY_PROCESS_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProcessName(@jakarta.annotation.Nullable String processName) {
this.processName = processName;
}
public GetThreatDetails200ResponseResultsInner processOwner(@jakarta.annotation.Nullable String processOwner) {
this.processOwner = processOwner;
return this;
}
/**
* Get processOwner
* @return processOwner
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROCESS_OWNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProcessOwner() {
return processOwner;
}
@JsonProperty(JSON_PROPERTY_PROCESS_OWNER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProcessOwner(@jakarta.annotation.Nullable String processOwner) {
this.processOwner = processOwner;
}
public GetThreatDetails200ResponseResultsInner pupPosture(@jakarta.annotation.Nullable String pupPosture) {
this.pupPosture = JsonNullable.of(pupPosture);
return this;
}
/**
* Get pupPosture
* @return pupPosture
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getPupPosture() {
return pupPosture.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PUP_POSTURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getPupPosture_JsonNullable() {
return pupPosture;
}
@JsonProperty(JSON_PROPERTY_PUP_POSTURE)
public void setPupPosture_JsonNullable(JsonNullable pupPosture) {
this.pupPosture = pupPosture;
}
public void setPupPosture(@jakarta.annotation.Nullable String pupPosture) {
this.pupPosture = JsonNullable.of(pupPosture);
}
public GetThreatDetails200ResponseResultsInner releaseNote(@jakarta.annotation.Nullable String releaseNote) {
this.releaseNote = releaseNote;
return this;
}
/**
* Get releaseNote
* @return releaseNote
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RELEASE_NOTE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReleaseNote() {
return releaseNote;
}
@JsonProperty(JSON_PROPERTY_RELEASE_NOTE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReleaseNote(@jakarta.annotation.Nullable String releaseNote) {
this.releaseNote = releaseNote;
}
public GetThreatDetails200ResponseResultsInner releasedBy(@jakarta.annotation.Nullable String releasedBy) {
this.releasedBy = releasedBy;
return this;
}
/**
* Get releasedBy
* @return releasedBy
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RELEASED_BY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReleasedBy() {
return releasedBy;
}
@JsonProperty(JSON_PROPERTY_RELEASED_BY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReleasedBy(@jakarta.annotation.Nullable String releasedBy) {
this.releasedBy = releasedBy;
}
public GetThreatDetails200ResponseResultsInner status(@jakarta.annotation.Nullable String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(@jakarta.annotation.Nullable String status) {
this.status = status;
}
public GetThreatDetails200ResponseResultsInner threatName(@jakarta.annotation.Nullable String threatName) {
this.threatName = threatName;
return this;
}
/**
* Get threatName
* @return threatName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_THREAT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getThreatName() {
return threatName;
}
@JsonProperty(JSON_PROPERTY_THREAT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setThreatName(@jakarta.annotation.Nullable String threatName) {
this.threatName = threatName;
}
/**
* Return true if this getThreatDetails_200_response_results_inner object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetThreatDetails200ResponseResultsInner getThreatDetails200ResponseResultsInner = (GetThreatDetails200ResponseResultsInner) o;
return equalsNullable(this.blueprintId, getThreatDetails200ResponseResultsInner.blueprintId) &&
equalsNullable(this.blueprintName, getThreatDetails200ResponseResultsInner.blueprintName) &&
Objects.equals(this.bundlePath, getThreatDetails200ResponseResultsInner.bundlePath) &&
Objects.equals(this.classification, getThreatDetails200ResponseResultsInner.classification) &&
Objects.equals(this.dateOfQuarantine, getThreatDetails200ResponseResultsInner.dateOfQuarantine) &&
Objects.equals(this.dateOfRelease, getThreatDetails200ResponseResultsInner.dateOfRelease) &&
Objects.equals(this.detectionDate, getThreatDetails200ResponseResultsInner.detectionDate) &&
Objects.equals(this.deviceId, getThreatDetails200ResponseResultsInner.deviceId) &&
Objects.equals(this.deviceName, getThreatDetails200ResponseResultsInner.deviceName) &&
equalsNullable(this.deviceSerialNumber, getThreatDetails200ResponseResultsInner.deviceSerialNumber) &&
Objects.equals(this.fileHash, getThreatDetails200ResponseResultsInner.fileHash) &&
Objects.equals(this.filePath, getThreatDetails200ResponseResultsInner.filePath) &&
equalsNullable(this.libraryItemId, getThreatDetails200ResponseResultsInner.libraryItemId) &&
equalsNullable(this.libraryItemName, getThreatDetails200ResponseResultsInner.libraryItemName) &&
equalsNullable(this.malwarePosture, getThreatDetails200ResponseResultsInner.malwarePosture) &&
Objects.equals(this.processName, getThreatDetails200ResponseResultsInner.processName) &&
Objects.equals(this.processOwner, getThreatDetails200ResponseResultsInner.processOwner) &&
equalsNullable(this.pupPosture, getThreatDetails200ResponseResultsInner.pupPosture) &&
Objects.equals(this.releaseNote, getThreatDetails200ResponseResultsInner.releaseNote) &&
Objects.equals(this.releasedBy, getThreatDetails200ResponseResultsInner.releasedBy) &&
Objects.equals(this.status, getThreatDetails200ResponseResultsInner.status) &&
Objects.equals(this.threatName, getThreatDetails200ResponseResultsInner.threatName);
}
private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
}
@Override
public int hashCode() {
return Objects.hash(hashCodeNullable(blueprintId), hashCodeNullable(blueprintName), bundlePath, classification, dateOfQuarantine, dateOfRelease, detectionDate, deviceId, deviceName, hashCodeNullable(deviceSerialNumber), fileHash, filePath, hashCodeNullable(libraryItemId), hashCodeNullable(libraryItemName), hashCodeNullable(malwarePosture), processName, processOwner, hashCodeNullable(pupPosture), releaseNote, releasedBy, status, threatName);
}
private static int hashCodeNullable(JsonNullable a) {
if (a == null) {
return 1;
}
return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetThreatDetails200ResponseResultsInner {\n");
sb.append(" blueprintId: ").append(toIndentedString(blueprintId)).append("\n");
sb.append(" blueprintName: ").append(toIndentedString(blueprintName)).append("\n");
sb.append(" bundlePath: ").append(toIndentedString(bundlePath)).append("\n");
sb.append(" classification: ").append(toIndentedString(classification)).append("\n");
sb.append(" dateOfQuarantine: ").append(toIndentedString(dateOfQuarantine)).append("\n");
sb.append(" dateOfRelease: ").append(toIndentedString(dateOfRelease)).append("\n");
sb.append(" detectionDate: ").append(toIndentedString(detectionDate)).append("\n");
sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n");
sb.append(" deviceName: ").append(toIndentedString(deviceName)).append("\n");
sb.append(" deviceSerialNumber: ").append(toIndentedString(deviceSerialNumber)).append("\n");
sb.append(" fileHash: ").append(toIndentedString(fileHash)).append("\n");
sb.append(" filePath: ").append(toIndentedString(filePath)).append("\n");
sb.append(" libraryItemId: ").append(toIndentedString(libraryItemId)).append("\n");
sb.append(" libraryItemName: ").append(toIndentedString(libraryItemName)).append("\n");
sb.append(" malwarePosture: ").append(toIndentedString(malwarePosture)).append("\n");
sb.append(" processName: ").append(toIndentedString(processName)).append("\n");
sb.append(" processOwner: ").append(toIndentedString(processOwner)).append("\n");
sb.append(" pupPosture: ").append(toIndentedString(pupPosture)).append("\n");
sb.append(" releaseNote: ").append(toIndentedString(releaseNote)).append("\n");
sb.append(" releasedBy: ").append(toIndentedString(releasedBy)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" threatName: ").append(toIndentedString(threatName)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy