Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.blazebit.query.connector.kandji.model.Filevault200ResponseDataInner Maven / Gradle / Ivy
/*
* 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;
/**
* Filevault200ResponseDataInner
*/
@JsonPropertyOrder({
Filevault200ResponseDataInner.JSON_PROPERTY_ASSET_TAG,
Filevault200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_ID,
Filevault200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_NAME,
Filevault200ResponseDataInner.JSON_PROPERTY_DEVICE_FAMILY,
Filevault200ResponseDataInner.JSON_PROPERTY_DEVICE_NAME,
Filevault200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_EMAIL,
Filevault200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_ID,
Filevault200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_NAME,
Filevault200ResponseDataInner.JSON_PROPERTY_DEVICE_ID,
Filevault200ResponseDataInner.JSON_PROPERTY_KEY_ESCROWED,
Filevault200ResponseDataInner.JSON_PROPERTY_KEY_TYPE,
Filevault200ResponseDataInner.JSON_PROPERTY_REGENERATION_NEEDED,
Filevault200ResponseDataInner.JSON_PROPERTY_SCHEDULED_KEY_ROTATION,
Filevault200ResponseDataInner.JSON_PROPERTY_SERIAL_NUMBER,
Filevault200ResponseDataInner.JSON_PROPERTY_STATUS,
Filevault200ResponseDataInner.JSON_PROPERTY_UPDATED_AT
})
@JsonTypeName("filevault_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 Filevault200ResponseDataInner {
public static final String JSON_PROPERTY_ASSET_TAG = "asset_tag";
private JsonNullable assetTag = JsonNullable.of(null);
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_KEY_ESCROWED = "key_escrowed";
@jakarta.annotation.Nullable
private Boolean keyEscrowed;
public static final String JSON_PROPERTY_KEY_TYPE = "key_type";
private JsonNullable keyType = JsonNullable.of(null);
public static final String JSON_PROPERTY_REGENERATION_NEEDED = "regeneration_needed";
private JsonNullable regenerationNeeded = JsonNullable.of(null);
public static final String JSON_PROPERTY_SCHEDULED_KEY_ROTATION = "scheduled_key_rotation";
private JsonNullable scheduledKeyRotation = JsonNullable.of(null);
public static final String JSON_PROPERTY_SERIAL_NUMBER = "serial_number";
@jakarta.annotation.Nullable
private String serialNumber;
public static final String JSON_PROPERTY_STATUS = "status";
@jakarta.annotation.Nullable
private Boolean status;
public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
@jakarta.annotation.Nullable
private String updatedAt;
public Filevault200ResponseDataInner() {
}
public Filevault200ResponseDataInner assetTag(@jakarta.annotation.Nullable Object assetTag) {
this.assetTag = JsonNullable.of(assetTag);
return this;
}
/**
* Get assetTag
* @return assetTag
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object 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 Object assetTag) {
this.assetTag = JsonNullable.of(assetTag);
}
public Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner 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 Filevault200ResponseDataInner keyEscrowed(@jakarta.annotation.Nullable Boolean keyEscrowed) {
this.keyEscrowed = keyEscrowed;
return this;
}
/**
* Get keyEscrowed
* @return keyEscrowed
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_KEY_ESCROWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getKeyEscrowed() {
return keyEscrowed;
}
@JsonProperty(JSON_PROPERTY_KEY_ESCROWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKeyEscrowed(@jakarta.annotation.Nullable Boolean keyEscrowed) {
this.keyEscrowed = keyEscrowed;
}
public Filevault200ResponseDataInner keyType(@jakarta.annotation.Nullable Object keyType) {
this.keyType = JsonNullable.of(keyType);
return this;
}
/**
* Get keyType
* @return keyType
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getKeyType() {
return keyType.orElse(null);
}
@JsonProperty(JSON_PROPERTY_KEY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getKeyType_JsonNullable() {
return keyType;
}
@JsonProperty(JSON_PROPERTY_KEY_TYPE)
public void setKeyType_JsonNullable(JsonNullable keyType) {
this.keyType = keyType;
}
public void setKeyType(@jakarta.annotation.Nullable Object keyType) {
this.keyType = JsonNullable.of(keyType);
}
public Filevault200ResponseDataInner regenerationNeeded(@jakarta.annotation.Nullable Object regenerationNeeded) {
this.regenerationNeeded = JsonNullable.of(regenerationNeeded);
return this;
}
/**
* Get regenerationNeeded
* @return regenerationNeeded
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getRegenerationNeeded() {
return regenerationNeeded.orElse(null);
}
@JsonProperty(JSON_PROPERTY_REGENERATION_NEEDED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getRegenerationNeeded_JsonNullable() {
return regenerationNeeded;
}
@JsonProperty(JSON_PROPERTY_REGENERATION_NEEDED)
public void setRegenerationNeeded_JsonNullable(JsonNullable regenerationNeeded) {
this.regenerationNeeded = regenerationNeeded;
}
public void setRegenerationNeeded(@jakarta.annotation.Nullable Object regenerationNeeded) {
this.regenerationNeeded = JsonNullable.of(regenerationNeeded);
}
public Filevault200ResponseDataInner scheduledKeyRotation(@jakarta.annotation.Nullable Object scheduledKeyRotation) {
this.scheduledKeyRotation = JsonNullable.of(scheduledKeyRotation);
return this;
}
/**
* Get scheduledKeyRotation
* @return scheduledKeyRotation
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getScheduledKeyRotation() {
return scheduledKeyRotation.orElse(null);
}
@JsonProperty(JSON_PROPERTY_SCHEDULED_KEY_ROTATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getScheduledKeyRotation_JsonNullable() {
return scheduledKeyRotation;
}
@JsonProperty(JSON_PROPERTY_SCHEDULED_KEY_ROTATION)
public void setScheduledKeyRotation_JsonNullable(JsonNullable scheduledKeyRotation) {
this.scheduledKeyRotation = scheduledKeyRotation;
}
public void setScheduledKeyRotation(@jakarta.annotation.Nullable Object scheduledKeyRotation) {
this.scheduledKeyRotation = JsonNullable.of(scheduledKeyRotation);
}
public Filevault200ResponseDataInner 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 Filevault200ResponseDataInner status(@jakarta.annotation.Nullable Boolean status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(@jakarta.annotation.Nullable Boolean status) {
this.status = status;
}
public Filevault200ResponseDataInner 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;
}
/**
* Return true if this filevault_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;
}
Filevault200ResponseDataInner filevault200ResponseDataInner = (Filevault200ResponseDataInner) o;
return equalsNullable(this.assetTag, filevault200ResponseDataInner.assetTag) &&
Objects.equals(this.blueprintId, filevault200ResponseDataInner.blueprintId) &&
Objects.equals(this.blueprintName, filevault200ResponseDataInner.blueprintName) &&
Objects.equals(this.deviceFamily, filevault200ResponseDataInner.deviceFamily) &&
Objects.equals(this.deviceName, filevault200ResponseDataInner.deviceName) &&
Objects.equals(this.deviceUserEmail, filevault200ResponseDataInner.deviceUserEmail) &&
Objects.equals(this.deviceUserId, filevault200ResponseDataInner.deviceUserId) &&
Objects.equals(this.deviceUserName, filevault200ResponseDataInner.deviceUserName) &&
Objects.equals(this.deviceId, filevault200ResponseDataInner.deviceId) &&
Objects.equals(this.keyEscrowed, filevault200ResponseDataInner.keyEscrowed) &&
equalsNullable(this.keyType, filevault200ResponseDataInner.keyType) &&
equalsNullable(this.regenerationNeeded, filevault200ResponseDataInner.regenerationNeeded) &&
equalsNullable(this.scheduledKeyRotation, filevault200ResponseDataInner.scheduledKeyRotation) &&
Objects.equals(this.serialNumber, filevault200ResponseDataInner.serialNumber) &&
Objects.equals(this.status, filevault200ResponseDataInner.status) &&
Objects.equals(this.updatedAt, filevault200ResponseDataInner.updatedAt);
}
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, keyEscrowed, hashCodeNullable(keyType), hashCodeNullable(regenerationNeeded), hashCodeNullable(scheduledKeyRotation), serialNumber, status, updatedAt);
}
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 Filevault200ResponseDataInner {\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(" keyEscrowed: ").append(toIndentedString(keyEscrowed)).append("\n");
sb.append(" keyType: ").append(toIndentedString(keyType)).append("\n");
sb.append(" regenerationNeeded: ").append(toIndentedString(regenerationNeeded)).append("\n");
sb.append(" scheduledKeyRotation: ").append(toIndentedString(scheduledKeyRotation)).append("\n");
sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).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 ");
}
}