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.InstalledProfiles200ResponseDataInner 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.blazebit.query.connector.kandji.model.InstalledProfiles200ResponseDataInnerProfileDataInner;
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.ArrayList;
import java.util.Arrays;
import java.util.List;
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;
/**
* InstalledProfiles200ResponseDataInner
*/
@JsonPropertyOrder({
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_ASSET_TAG,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_ID,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_NAME,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_DEVICE_FAMILY,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_DEVICE_NAME,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_EMAIL,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_ID,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_NAME,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_DEVICE_ID,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_ENCRYPTED,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_LAST_CHANGED_AT,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_LAST_COLLECTED_AT,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_MANAGED,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_MODEL_ID,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_ORGANIZATION,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_PAYLOAD_IDENTIFIER,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_PAYLOAD_UUID,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_PROFILE_DATA,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_PROFILE_DESCRIPTION,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_PROFILE_DISPLAY_NAME,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_REMOVABLE,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_REMOVAL_PASSCODE,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_SERIAL_NUMBER,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_SIGNED,
InstalledProfiles200ResponseDataInner.JSON_PROPERTY_UPDATED_AT
})
@JsonTypeName("installedProfiles_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 InstalledProfiles200ResponseDataInner {
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_ENCRYPTED = "encrypted";
@jakarta.annotation.Nullable
private Boolean encrypted;
public static final String JSON_PROPERTY_LAST_CHANGED_AT = "last_changed_at";
private JsonNullable lastChangedAt = JsonNullable.undefined();
public static final String JSON_PROPERTY_LAST_COLLECTED_AT = "last_collected_at";
@jakarta.annotation.Nullable
private String lastCollectedAt;
public static final String JSON_PROPERTY_MANAGED = "managed";
@jakarta.annotation.Nullable
private Boolean managed;
public static final String JSON_PROPERTY_MODEL_ID = "model_id";
private JsonNullable modelId = JsonNullable.of(null);
public static final String JSON_PROPERTY_ORGANIZATION = "organization";
private JsonNullable organization = JsonNullable.undefined();
public static final String JSON_PROPERTY_PAYLOAD_IDENTIFIER = "payload_identifier";
@jakarta.annotation.Nullable
private String payloadIdentifier;
public static final String JSON_PROPERTY_PAYLOAD_UUID = "payload_uuid";
@jakarta.annotation.Nullable
private String payloadUuid;
public static final String JSON_PROPERTY_PROFILE_DATA = "profile_data";
@jakarta.annotation.Nullable
private List profileData = new ArrayList<>();
public static final String JSON_PROPERTY_PROFILE_DESCRIPTION = "profile_description";
private JsonNullable profileDescription = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROFILE_DISPLAY_NAME = "profile_display_name";
@jakarta.annotation.Nullable
private String profileDisplayName;
public static final String JSON_PROPERTY_REMOVABLE = "removable";
@jakarta.annotation.Nullable
private Boolean removable;
public static final String JSON_PROPERTY_REMOVAL_PASSCODE = "removal_passcode";
@jakarta.annotation.Nullable
private Boolean removalPasscode;
public static final String JSON_PROPERTY_SERIAL_NUMBER = "serial_number";
@jakarta.annotation.Nullable
private String serialNumber;
public static final String JSON_PROPERTY_SIGNED = "signed";
@jakarta.annotation.Nullable
private Boolean signed;
public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
@jakarta.annotation.Nullable
private String updatedAt;
public InstalledProfiles200ResponseDataInner() {
}
public InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner encrypted(@jakarta.annotation.Nullable Boolean encrypted) {
this.encrypted = encrypted;
return this;
}
/**
* Get encrypted
* @return encrypted
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENCRYPTED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getEncrypted() {
return encrypted;
}
@JsonProperty(JSON_PROPERTY_ENCRYPTED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEncrypted(@jakarta.annotation.Nullable Boolean encrypted) {
this.encrypted = encrypted;
}
public InstalledProfiles200ResponseDataInner lastChangedAt(@jakarta.annotation.Nullable String lastChangedAt) {
this.lastChangedAt = JsonNullable.of(lastChangedAt);
return this;
}
/**
* Get lastChangedAt
* @return lastChangedAt
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getLastChangedAt() {
return lastChangedAt.orElse(null);
}
@JsonProperty(JSON_PROPERTY_LAST_CHANGED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getLastChangedAt_JsonNullable() {
return lastChangedAt;
}
@JsonProperty(JSON_PROPERTY_LAST_CHANGED_AT)
public void setLastChangedAt_JsonNullable(JsonNullable lastChangedAt) {
this.lastChangedAt = lastChangedAt;
}
public void setLastChangedAt(@jakarta.annotation.Nullable String lastChangedAt) {
this.lastChangedAt = JsonNullable.of(lastChangedAt);
}
public InstalledProfiles200ResponseDataInner lastCollectedAt(@jakarta.annotation.Nullable String lastCollectedAt) {
this.lastCollectedAt = lastCollectedAt;
return this;
}
/**
* Get lastCollectedAt
* @return lastCollectedAt
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LAST_COLLECTED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLastCollectedAt() {
return lastCollectedAt;
}
@JsonProperty(JSON_PROPERTY_LAST_COLLECTED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLastCollectedAt(@jakarta.annotation.Nullable String lastCollectedAt) {
this.lastCollectedAt = lastCollectedAt;
}
public InstalledProfiles200ResponseDataInner managed(@jakarta.annotation.Nullable Boolean managed) {
this.managed = managed;
return this;
}
/**
* Get managed
* @return managed
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MANAGED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getManaged() {
return managed;
}
@JsonProperty(JSON_PROPERTY_MANAGED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setManaged(@jakarta.annotation.Nullable Boolean managed) {
this.managed = managed;
}
public InstalledProfiles200ResponseDataInner modelId(@jakarta.annotation.Nullable Object modelId) {
this.modelId = JsonNullable.of(modelId);
return this;
}
/**
* Get modelId
* @return modelId
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getModelId() {
return modelId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_MODEL_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getModelId_JsonNullable() {
return modelId;
}
@JsonProperty(JSON_PROPERTY_MODEL_ID)
public void setModelId_JsonNullable(JsonNullable modelId) {
this.modelId = modelId;
}
public void setModelId(@jakarta.annotation.Nullable Object modelId) {
this.modelId = JsonNullable.of(modelId);
}
public InstalledProfiles200ResponseDataInner organization(@jakarta.annotation.Nullable String organization) {
this.organization = JsonNullable.of(organization);
return this;
}
/**
* Get organization
* @return organization
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getOrganization() {
return organization.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ORGANIZATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getOrganization_JsonNullable() {
return organization;
}
@JsonProperty(JSON_PROPERTY_ORGANIZATION)
public void setOrganization_JsonNullable(JsonNullable organization) {
this.organization = organization;
}
public void setOrganization(@jakarta.annotation.Nullable String organization) {
this.organization = JsonNullable.of(organization);
}
public InstalledProfiles200ResponseDataInner payloadIdentifier(@jakarta.annotation.Nullable String payloadIdentifier) {
this.payloadIdentifier = payloadIdentifier;
return this;
}
/**
* Get payloadIdentifier
* @return payloadIdentifier
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PAYLOAD_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPayloadIdentifier() {
return payloadIdentifier;
}
@JsonProperty(JSON_PROPERTY_PAYLOAD_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPayloadIdentifier(@jakarta.annotation.Nullable String payloadIdentifier) {
this.payloadIdentifier = payloadIdentifier;
}
public InstalledProfiles200ResponseDataInner payloadUuid(@jakarta.annotation.Nullable String payloadUuid) {
this.payloadUuid = payloadUuid;
return this;
}
/**
* Get payloadUuid
* @return payloadUuid
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PAYLOAD_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPayloadUuid() {
return payloadUuid;
}
@JsonProperty(JSON_PROPERTY_PAYLOAD_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPayloadUuid(@jakarta.annotation.Nullable String payloadUuid) {
this.payloadUuid = payloadUuid;
}
public InstalledProfiles200ResponseDataInner profileData(@jakarta.annotation.Nullable List profileData) {
this.profileData = profileData;
return this;
}
public InstalledProfiles200ResponseDataInner addProfileDataItem(InstalledProfiles200ResponseDataInnerProfileDataInner profileDataItem) {
if (this.profileData == null) {
this.profileData = new ArrayList<>();
}
this.profileData.add(profileDataItem);
return this;
}
/**
* Get profileData
* @return profileData
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROFILE_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getProfileData() {
return profileData;
}
@JsonProperty(JSON_PROPERTY_PROFILE_DATA)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProfileData(@jakarta.annotation.Nullable List profileData) {
this.profileData = profileData;
}
public InstalledProfiles200ResponseDataInner profileDescription(@jakarta.annotation.Nullable String profileDescription) {
this.profileDescription = JsonNullable.of(profileDescription);
return this;
}
/**
* Get profileDescription
* @return profileDescription
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getProfileDescription() {
return profileDescription.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROFILE_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProfileDescription_JsonNullable() {
return profileDescription;
}
@JsonProperty(JSON_PROPERTY_PROFILE_DESCRIPTION)
public void setProfileDescription_JsonNullable(JsonNullable profileDescription) {
this.profileDescription = profileDescription;
}
public void setProfileDescription(@jakarta.annotation.Nullable String profileDescription) {
this.profileDescription = JsonNullable.of(profileDescription);
}
public InstalledProfiles200ResponseDataInner profileDisplayName(@jakarta.annotation.Nullable String profileDisplayName) {
this.profileDisplayName = profileDisplayName;
return this;
}
/**
* Get profileDisplayName
* @return profileDisplayName
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROFILE_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProfileDisplayName() {
return profileDisplayName;
}
@JsonProperty(JSON_PROPERTY_PROFILE_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProfileDisplayName(@jakarta.annotation.Nullable String profileDisplayName) {
this.profileDisplayName = profileDisplayName;
}
public InstalledProfiles200ResponseDataInner removable(@jakarta.annotation.Nullable Boolean removable) {
this.removable = removable;
return this;
}
/**
* Get removable
* @return removable
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_REMOVABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getRemovable() {
return removable;
}
@JsonProperty(JSON_PROPERTY_REMOVABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRemovable(@jakarta.annotation.Nullable Boolean removable) {
this.removable = removable;
}
public InstalledProfiles200ResponseDataInner removalPasscode(@jakarta.annotation.Nullable Boolean removalPasscode) {
this.removalPasscode = removalPasscode;
return this;
}
/**
* Get removalPasscode
* @return removalPasscode
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_REMOVAL_PASSCODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getRemovalPasscode() {
return removalPasscode;
}
@JsonProperty(JSON_PROPERTY_REMOVAL_PASSCODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRemovalPasscode(@jakarta.annotation.Nullable Boolean removalPasscode) {
this.removalPasscode = removalPasscode;
}
public InstalledProfiles200ResponseDataInner 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 InstalledProfiles200ResponseDataInner signed(@jakarta.annotation.Nullable Boolean signed) {
this.signed = signed;
return this;
}
/**
* Get signed
* @return signed
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SIGNED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSigned() {
return signed;
}
@JsonProperty(JSON_PROPERTY_SIGNED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSigned(@jakarta.annotation.Nullable Boolean signed) {
this.signed = signed;
}
public InstalledProfiles200ResponseDataInner 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 installedProfiles_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;
}
InstalledProfiles200ResponseDataInner installedProfiles200ResponseDataInner = (InstalledProfiles200ResponseDataInner) o;
return equalsNullable(this.assetTag, installedProfiles200ResponseDataInner.assetTag) &&
Objects.equals(this.blueprintId, installedProfiles200ResponseDataInner.blueprintId) &&
Objects.equals(this.blueprintName, installedProfiles200ResponseDataInner.blueprintName) &&
Objects.equals(this.deviceFamily, installedProfiles200ResponseDataInner.deviceFamily) &&
Objects.equals(this.deviceName, installedProfiles200ResponseDataInner.deviceName) &&
Objects.equals(this.deviceUserEmail, installedProfiles200ResponseDataInner.deviceUserEmail) &&
Objects.equals(this.deviceUserId, installedProfiles200ResponseDataInner.deviceUserId) &&
Objects.equals(this.deviceUserName, installedProfiles200ResponseDataInner.deviceUserName) &&
Objects.equals(this.deviceId, installedProfiles200ResponseDataInner.deviceId) &&
Objects.equals(this.encrypted, installedProfiles200ResponseDataInner.encrypted) &&
equalsNullable(this.lastChangedAt, installedProfiles200ResponseDataInner.lastChangedAt) &&
Objects.equals(this.lastCollectedAt, installedProfiles200ResponseDataInner.lastCollectedAt) &&
Objects.equals(this.managed, installedProfiles200ResponseDataInner.managed) &&
equalsNullable(this.modelId, installedProfiles200ResponseDataInner.modelId) &&
equalsNullable(this.organization, installedProfiles200ResponseDataInner.organization) &&
Objects.equals(this.payloadIdentifier, installedProfiles200ResponseDataInner.payloadIdentifier) &&
Objects.equals(this.payloadUuid, installedProfiles200ResponseDataInner.payloadUuid) &&
Objects.equals(this.profileData, installedProfiles200ResponseDataInner.profileData) &&
equalsNullable(this.profileDescription, installedProfiles200ResponseDataInner.profileDescription) &&
Objects.equals(this.profileDisplayName, installedProfiles200ResponseDataInner.profileDisplayName) &&
Objects.equals(this.removable, installedProfiles200ResponseDataInner.removable) &&
Objects.equals(this.removalPasscode, installedProfiles200ResponseDataInner.removalPasscode) &&
Objects.equals(this.serialNumber, installedProfiles200ResponseDataInner.serialNumber) &&
Objects.equals(this.signed, installedProfiles200ResponseDataInner.signed) &&
Objects.equals(this.updatedAt, installedProfiles200ResponseDataInner.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, encrypted, hashCodeNullable(lastChangedAt), lastCollectedAt, managed, hashCodeNullable(modelId), hashCodeNullable(organization), payloadIdentifier, payloadUuid, profileData, hashCodeNullable(profileDescription), profileDisplayName, removable, removalPasscode, serialNumber, signed, 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 InstalledProfiles200ResponseDataInner {\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(" encrypted: ").append(toIndentedString(encrypted)).append("\n");
sb.append(" lastChangedAt: ").append(toIndentedString(lastChangedAt)).append("\n");
sb.append(" lastCollectedAt: ").append(toIndentedString(lastCollectedAt)).append("\n");
sb.append(" managed: ").append(toIndentedString(managed)).append("\n");
sb.append(" modelId: ").append(toIndentedString(modelId)).append("\n");
sb.append(" organization: ").append(toIndentedString(organization)).append("\n");
sb.append(" payloadIdentifier: ").append(toIndentedString(payloadIdentifier)).append("\n");
sb.append(" payloadUuid: ").append(toIndentedString(payloadUuid)).append("\n");
sb.append(" profileData: ").append(toIndentedString(profileData)).append("\n");
sb.append(" profileDescription: ").append(toIndentedString(profileDescription)).append("\n");
sb.append(" profileDisplayName: ").append(toIndentedString(profileDisplayName)).append("\n");
sb.append(" removable: ").append(toIndentedString(removable)).append("\n");
sb.append(" removalPasscode: ").append(toIndentedString(removalPasscode)).append("\n");
sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n");
sb.append(" signed: ").append(toIndentedString(signed)).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 ");
}
}