
com.blazebit.query.connector.kandji.model.GatekeeperAndXprotect200ResponseDataInner 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;
/**
* GatekeeperAndXprotect200ResponseDataInner
*/
@JsonPropertyOrder({
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_ASSET_TAG,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_ID,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_NAME,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_DEVICE_FAMILY,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_DEVICE_NAME,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_EMAIL,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_ID,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_NAME,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_DEVICE_ID,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_GATEKEEPER_OPAQUE_VERSION,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_GATEKEEPER_STATUS,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_GATEKEEPER_VERSION,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_MALWARE_REMOVAL_TOOL_VERSION,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_SERIAL_NUMBER,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_TRUSTED_DEVELOPERS,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_UPDATED_AT,
GatekeeperAndXprotect200ResponseDataInner.JSON_PROPERTY_XPROTECT_VERSION
})
@JsonTypeName("gatekeeperAndXprotect_200_response_data_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 GatekeeperAndXprotect200ResponseDataInner {
public static final String JSON_PROPERTY_ASSET_TAG = "asset_tag";
private JsonNullable assetTag = JsonNullable.undefined();
public static final String JSON_PROPERTY_BLUEPRINT_ID = "blueprint_id";
@jakarta.annotation.Nullable
private String blueprintId;
public static final String JSON_PROPERTY_BLUEPRINT_NAME = "blueprint_name";
@jakarta.annotation.Nullable
private String blueprintName;
public static final String JSON_PROPERTY_DEVICE_FAMILY = "device__family";
@jakarta.annotation.Nullable
private String deviceFamily;
public static final String JSON_PROPERTY_DEVICE_NAME = "device__name";
@jakarta.annotation.Nullable
private String deviceName;
public static final String JSON_PROPERTY_DEVICE_USER_EMAIL = "device__user_email";
@jakarta.annotation.Nullable
private String deviceUserEmail;
public static final String JSON_PROPERTY_DEVICE_USER_ID = "device__user_id";
@jakarta.annotation.Nullable
private String deviceUserId;
public static final String JSON_PROPERTY_DEVICE_USER_NAME = "device__user_name";
@jakarta.annotation.Nullable
private String deviceUserName;
public static final String JSON_PROPERTY_DEVICE_ID = "device_id";
@jakarta.annotation.Nullable
private String deviceId;
public static final String JSON_PROPERTY_GATEKEEPER_OPAQUE_VERSION = "gatekeeper_opaque_version";
@jakarta.annotation.Nullable
private String gatekeeperOpaqueVersion;
public static final String JSON_PROPERTY_GATEKEEPER_STATUS = "gatekeeper_status";
@jakarta.annotation.Nullable
private Boolean gatekeeperStatus;
public static final String JSON_PROPERTY_GATEKEEPER_VERSION = "gatekeeper_version";
@jakarta.annotation.Nullable
private String gatekeeperVersion;
public static final String JSON_PROPERTY_MALWARE_REMOVAL_TOOL_VERSION = "malware_removal_tool_version";
@jakarta.annotation.Nullable
private String malwareRemovalToolVersion;
public static final String JSON_PROPERTY_SERIAL_NUMBER = "serial_number";
@jakarta.annotation.Nullable
private String serialNumber;
public static final String JSON_PROPERTY_TRUSTED_DEVELOPERS = "trusted_developers";
@jakarta.annotation.Nullable
private Boolean trustedDevelopers;
public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
@jakarta.annotation.Nullable
private String updatedAt;
public static final String JSON_PROPERTY_XPROTECT_VERSION = "xprotect_version";
@jakarta.annotation.Nullable
private String xprotectVersion;
public GatekeeperAndXprotect200ResponseDataInner() {
}
public GatekeeperAndXprotect200ResponseDataInner assetTag(@jakarta.annotation.Nullable String assetTag) {
this.assetTag = JsonNullable.of(assetTag);
return this;
}
/**
* Get assetTag
* @return assetTag
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getAssetTag() {
return assetTag.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ASSET_TAG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getAssetTag_JsonNullable() {
return assetTag;
}
@JsonProperty(JSON_PROPERTY_ASSET_TAG)
public void setAssetTag_JsonNullable(JsonNullable assetTag) {
this.assetTag = assetTag;
}
public void setAssetTag(@jakarta.annotation.Nullable String assetTag) {
this.assetTag = JsonNullable.of(assetTag);
}
public GatekeeperAndXprotect200ResponseDataInner blueprintId(@jakarta.annotation.Nullable String blueprintId) {
this.blueprintId = blueprintId;
return this;
}
/**
* Get blueprintId
* @return blueprintId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BLUEPRINT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBlueprintId() {
return blueprintId;
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBlueprintId(@jakarta.annotation.Nullable String blueprintId) {
this.blueprintId = blueprintId;
}
public GatekeeperAndXprotect200ResponseDataInner blueprintName(@jakarta.annotation.Nullable String blueprintName) {
this.blueprintName = blueprintName;
return this;
}
/**
* Get blueprintName
* @return blueprintName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BLUEPRINT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBlueprintName() {
return blueprintName;
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBlueprintName(@jakarta.annotation.Nullable String blueprintName) {
this.blueprintName = blueprintName;
}
public GatekeeperAndXprotect200ResponseDataInner deviceFamily(@jakarta.annotation.Nullable String deviceFamily) {
this.deviceFamily = deviceFamily;
return this;
}
/**
* Get deviceFamily
* @return deviceFamily
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_FAMILY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceFamily() {
return deviceFamily;
}
@JsonProperty(JSON_PROPERTY_DEVICE_FAMILY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceFamily(@jakarta.annotation.Nullable String deviceFamily) {
this.deviceFamily = deviceFamily;
}
public GatekeeperAndXprotect200ResponseDataInner 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 GatekeeperAndXprotect200ResponseDataInner deviceUserEmail(@jakarta.annotation.Nullable String deviceUserEmail) {
this.deviceUserEmail = deviceUserEmail;
return this;
}
/**
* Get deviceUserEmail
* @return deviceUserEmail
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_USER_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceUserEmail() {
return deviceUserEmail;
}
@JsonProperty(JSON_PROPERTY_DEVICE_USER_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceUserEmail(@jakarta.annotation.Nullable String deviceUserEmail) {
this.deviceUserEmail = deviceUserEmail;
}
public GatekeeperAndXprotect200ResponseDataInner deviceUserId(@jakarta.annotation.Nullable String deviceUserId) {
this.deviceUserId = deviceUserId;
return this;
}
/**
* Get deviceUserId
* @return deviceUserId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_USER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceUserId() {
return deviceUserId;
}
@JsonProperty(JSON_PROPERTY_DEVICE_USER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceUserId(@jakarta.annotation.Nullable String deviceUserId) {
this.deviceUserId = deviceUserId;
}
public GatekeeperAndXprotect200ResponseDataInner deviceUserName(@jakarta.annotation.Nullable String deviceUserName) {
this.deviceUserName = deviceUserName;
return this;
}
/**
* Get deviceUserName
* @return deviceUserName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_USER_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceUserName() {
return deviceUserName;
}
@JsonProperty(JSON_PROPERTY_DEVICE_USER_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceUserName(@jakarta.annotation.Nullable String deviceUserName) {
this.deviceUserName = deviceUserName;
}
public GatekeeperAndXprotect200ResponseDataInner 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 GatekeeperAndXprotect200ResponseDataInner gatekeeperOpaqueVersion(@jakarta.annotation.Nullable String gatekeeperOpaqueVersion) {
this.gatekeeperOpaqueVersion = gatekeeperOpaqueVersion;
return this;
}
/**
* Get gatekeeperOpaqueVersion
* @return gatekeeperOpaqueVersion
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_GATEKEEPER_OPAQUE_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getGatekeeperOpaqueVersion() {
return gatekeeperOpaqueVersion;
}
@JsonProperty(JSON_PROPERTY_GATEKEEPER_OPAQUE_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setGatekeeperOpaqueVersion(@jakarta.annotation.Nullable String gatekeeperOpaqueVersion) {
this.gatekeeperOpaqueVersion = gatekeeperOpaqueVersion;
}
public GatekeeperAndXprotect200ResponseDataInner gatekeeperStatus(@jakarta.annotation.Nullable Boolean gatekeeperStatus) {
this.gatekeeperStatus = gatekeeperStatus;
return this;
}
/**
* Get gatekeeperStatus
* @return gatekeeperStatus
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_GATEKEEPER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getGatekeeperStatus() {
return gatekeeperStatus;
}
@JsonProperty(JSON_PROPERTY_GATEKEEPER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setGatekeeperStatus(@jakarta.annotation.Nullable Boolean gatekeeperStatus) {
this.gatekeeperStatus = gatekeeperStatus;
}
public GatekeeperAndXprotect200ResponseDataInner gatekeeperVersion(@jakarta.annotation.Nullable String gatekeeperVersion) {
this.gatekeeperVersion = gatekeeperVersion;
return this;
}
/**
* Get gatekeeperVersion
* @return gatekeeperVersion
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_GATEKEEPER_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getGatekeeperVersion() {
return gatekeeperVersion;
}
@JsonProperty(JSON_PROPERTY_GATEKEEPER_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setGatekeeperVersion(@jakarta.annotation.Nullable String gatekeeperVersion) {
this.gatekeeperVersion = gatekeeperVersion;
}
public GatekeeperAndXprotect200ResponseDataInner malwareRemovalToolVersion(@jakarta.annotation.Nullable String malwareRemovalToolVersion) {
this.malwareRemovalToolVersion = malwareRemovalToolVersion;
return this;
}
/**
* Get malwareRemovalToolVersion
* @return malwareRemovalToolVersion
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MALWARE_REMOVAL_TOOL_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMalwareRemovalToolVersion() {
return malwareRemovalToolVersion;
}
@JsonProperty(JSON_PROPERTY_MALWARE_REMOVAL_TOOL_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMalwareRemovalToolVersion(@jakarta.annotation.Nullable String malwareRemovalToolVersion) {
this.malwareRemovalToolVersion = malwareRemovalToolVersion;
}
public GatekeeperAndXprotect200ResponseDataInner serialNumber(@jakarta.annotation.Nullable String serialNumber) {
this.serialNumber = serialNumber;
return this;
}
/**
* Get serialNumber
* @return serialNumber
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SERIAL_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSerialNumber() {
return serialNumber;
}
@JsonProperty(JSON_PROPERTY_SERIAL_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSerialNumber(@jakarta.annotation.Nullable String serialNumber) {
this.serialNumber = serialNumber;
}
public GatekeeperAndXprotect200ResponseDataInner trustedDevelopers(@jakarta.annotation.Nullable Boolean trustedDevelopers) {
this.trustedDevelopers = trustedDevelopers;
return this;
}
/**
* Get trustedDevelopers
* @return trustedDevelopers
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TRUSTED_DEVELOPERS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getTrustedDevelopers() {
return trustedDevelopers;
}
@JsonProperty(JSON_PROPERTY_TRUSTED_DEVELOPERS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTrustedDevelopers(@jakarta.annotation.Nullable Boolean trustedDevelopers) {
this.trustedDevelopers = trustedDevelopers;
}
public GatekeeperAndXprotect200ResponseDataInner updatedAt(@jakarta.annotation.Nullable String updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* Get updatedAt
* @return updatedAt
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UPDATED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUpdatedAt() {
return updatedAt;
}
@JsonProperty(JSON_PROPERTY_UPDATED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUpdatedAt(@jakarta.annotation.Nullable String updatedAt) {
this.updatedAt = updatedAt;
}
public GatekeeperAndXprotect200ResponseDataInner xprotectVersion(@jakarta.annotation.Nullable String xprotectVersion) {
this.xprotectVersion = xprotectVersion;
return this;
}
/**
* Get xprotectVersion
* @return xprotectVersion
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_XPROTECT_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getXprotectVersion() {
return xprotectVersion;
}
@JsonProperty(JSON_PROPERTY_XPROTECT_VERSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setXprotectVersion(@jakarta.annotation.Nullable String xprotectVersion) {
this.xprotectVersion = xprotectVersion;
}
/**
* Return true if this gatekeeperAndXprotect_200_response_data_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;
}
GatekeeperAndXprotect200ResponseDataInner gatekeeperAndXprotect200ResponseDataInner = (GatekeeperAndXprotect200ResponseDataInner) o;
return equalsNullable(this.assetTag, gatekeeperAndXprotect200ResponseDataInner.assetTag) &&
Objects.equals(this.blueprintId, gatekeeperAndXprotect200ResponseDataInner.blueprintId) &&
Objects.equals(this.blueprintName, gatekeeperAndXprotect200ResponseDataInner.blueprintName) &&
Objects.equals(this.deviceFamily, gatekeeperAndXprotect200ResponseDataInner.deviceFamily) &&
Objects.equals(this.deviceName, gatekeeperAndXprotect200ResponseDataInner.deviceName) &&
Objects.equals(this.deviceUserEmail, gatekeeperAndXprotect200ResponseDataInner.deviceUserEmail) &&
Objects.equals(this.deviceUserId, gatekeeperAndXprotect200ResponseDataInner.deviceUserId) &&
Objects.equals(this.deviceUserName, gatekeeperAndXprotect200ResponseDataInner.deviceUserName) &&
Objects.equals(this.deviceId, gatekeeperAndXprotect200ResponseDataInner.deviceId) &&
Objects.equals(this.gatekeeperOpaqueVersion, gatekeeperAndXprotect200ResponseDataInner.gatekeeperOpaqueVersion) &&
Objects.equals(this.gatekeeperStatus, gatekeeperAndXprotect200ResponseDataInner.gatekeeperStatus) &&
Objects.equals(this.gatekeeperVersion, gatekeeperAndXprotect200ResponseDataInner.gatekeeperVersion) &&
Objects.equals(this.malwareRemovalToolVersion, gatekeeperAndXprotect200ResponseDataInner.malwareRemovalToolVersion) &&
Objects.equals(this.serialNumber, gatekeeperAndXprotect200ResponseDataInner.serialNumber) &&
Objects.equals(this.trustedDevelopers, gatekeeperAndXprotect200ResponseDataInner.trustedDevelopers) &&
Objects.equals(this.updatedAt, gatekeeperAndXprotect200ResponseDataInner.updatedAt) &&
Objects.equals(this.xprotectVersion, gatekeeperAndXprotect200ResponseDataInner.xprotectVersion);
}
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(assetTag), blueprintId, blueprintName, deviceFamily, deviceName, deviceUserEmail, deviceUserId, deviceUserName, deviceId, gatekeeperOpaqueVersion, gatekeeperStatus, gatekeeperVersion, malwareRemovalToolVersion, serialNumber, trustedDevelopers, updatedAt, xprotectVersion);
}
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 GatekeeperAndXprotect200ResponseDataInner {\n");
sb.append(" assetTag: ").append(toIndentedString(assetTag)).append("\n");
sb.append(" blueprintId: ").append(toIndentedString(blueprintId)).append("\n");
sb.append(" blueprintName: ").append(toIndentedString(blueprintName)).append("\n");
sb.append(" deviceFamily: ").append(toIndentedString(deviceFamily)).append("\n");
sb.append(" deviceName: ").append(toIndentedString(deviceName)).append("\n");
sb.append(" deviceUserEmail: ").append(toIndentedString(deviceUserEmail)).append("\n");
sb.append(" deviceUserId: ").append(toIndentedString(deviceUserId)).append("\n");
sb.append(" deviceUserName: ").append(toIndentedString(deviceUserName)).append("\n");
sb.append(" deviceId: ").append(toIndentedString(deviceId)).append("\n");
sb.append(" gatekeeperOpaqueVersion: ").append(toIndentedString(gatekeeperOpaqueVersion)).append("\n");
sb.append(" gatekeeperStatus: ").append(toIndentedString(gatekeeperStatus)).append("\n");
sb.append(" gatekeeperVersion: ").append(toIndentedString(gatekeeperVersion)).append("\n");
sb.append(" malwareRemovalToolVersion: ").append(toIndentedString(malwareRemovalToolVersion)).append("\n");
sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n");
sb.append(" trustedDevelopers: ").append(toIndentedString(trustedDevelopers)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
sb.append(" xprotectVersion: ").append(toIndentedString(xprotectVersion)).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