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.LaunchAgentsAndDaemons200ResponseDataInner 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.LaunchAgentsAndDaemons200ResponseDataInnerDomain;
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.math.BigDecimal;
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;
/**
* LaunchAgentsAndDaemons200ResponseDataInner
*/
@JsonPropertyOrder({
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_ASSET_TAG,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_ID,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_BLUEPRINT_NAME,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DEVICE_FAMILY,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DEVICE_NAME,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_EMAIL,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_ID,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DEVICE_USER_NAME,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DEVICE_ID,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DISABLED,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_DOMAIN,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_GROUP_NAME,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_IS_DISABLED,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_IS_LOADED,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_KEEP_ALIVE,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_LABEL,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_PATH,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_PID,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_PROCESS_TYPE,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_PROGRAM,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_PROGRAM_ARGUMENTS,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_QUEUE_DIRECTORIES,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_ROOT_DIRECTORY,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_RUN_AT_LOAD,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_SERIAL_NUMBER,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_STANDARD_ERROR_PATH,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_STANDARD_OUT_PATH,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_START_INTERVAL,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_START_ON_MOUNT,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_USER_NAME,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_WATCH_PATHS,
LaunchAgentsAndDaemons200ResponseDataInner.JSON_PROPERTY_WORKING_DIRECTORY
})
@JsonTypeName("launchAgentsAndDaemons_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 LaunchAgentsAndDaemons200ResponseDataInner {
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_DISABLED = "disabled";
private JsonNullable disabled = JsonNullable.of(null);
public static final String JSON_PROPERTY_DOMAIN = "domain";
@jakarta.annotation.Nullable
private LaunchAgentsAndDaemons200ResponseDataInnerDomain domain;
public static final String JSON_PROPERTY_GROUP_NAME = "group_name";
private JsonNullable groupName = JsonNullable.of(null);
public static final String JSON_PROPERTY_IS_DISABLED = "is_disabled";
@jakarta.annotation.Nullable
private Boolean isDisabled;
public static final String JSON_PROPERTY_IS_LOADED = "is_loaded";
@jakarta.annotation.Nullable
private Boolean isLoaded;
public static final String JSON_PROPERTY_KEEP_ALIVE = "keep_alive";
@jakarta.annotation.Nullable
private Boolean keepAlive;
public static final String JSON_PROPERTY_LABEL = "label";
@jakarta.annotation.Nullable
private String label;
public static final String JSON_PROPERTY_PATH = "path";
@jakarta.annotation.Nullable
private String path;
public static final String JSON_PROPERTY_PID = "pid";
private JsonNullable pid = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_TYPE = "process_type";
private JsonNullable processType = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROGRAM = "program";
private JsonNullable program = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROGRAM_ARGUMENTS = "program_arguments";
private JsonNullable programArguments = JsonNullable.undefined();
public static final String JSON_PROPERTY_QUEUE_DIRECTORIES = "queue_directories";
private JsonNullable queueDirectories = JsonNullable.of(null);
public static final String JSON_PROPERTY_ROOT_DIRECTORY = "root_directory";
private JsonNullable rootDirectory = JsonNullable.of(null);
public static final String JSON_PROPERTY_RUN_AT_LOAD = "run_at_load";
private JsonNullable runAtLoad = JsonNullable.undefined();
public static final String JSON_PROPERTY_SERIAL_NUMBER = "serial_number";
@jakarta.annotation.Nullable
private String serialNumber;
public static final String JSON_PROPERTY_STANDARD_ERROR_PATH = "standard_error_path";
private JsonNullable standardErrorPath = JsonNullable.of(null);
public static final String JSON_PROPERTY_STANDARD_OUT_PATH = "standard_out_path";
private JsonNullable standardOutPath = JsonNullable.of(null);
public static final String JSON_PROPERTY_START_INTERVAL = "start_interval";
private JsonNullable startInterval = JsonNullable.of(null);
public static final String JSON_PROPERTY_START_ON_MOUNT = "start_on_mount";
private JsonNullable startOnMount = JsonNullable.of(null);
public static final String JSON_PROPERTY_USER_NAME = "user_name";
private JsonNullable userName = JsonNullable.of(null);
public static final String JSON_PROPERTY_WATCH_PATHS = "watch_paths";
private JsonNullable watchPaths = JsonNullable.of(null);
public static final String JSON_PROPERTY_WORKING_DIRECTORY = "working_directory";
private JsonNullable workingDirectory = JsonNullable.of(null);
public LaunchAgentsAndDaemons200ResponseDataInner() {
}
public LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner disabled(@jakarta.annotation.Nullable Object disabled) {
this.disabled = JsonNullable.of(disabled);
return this;
}
/**
* Get disabled
* @return disabled
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getDisabled() {
return disabled.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DISABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getDisabled_JsonNullable() {
return disabled;
}
@JsonProperty(JSON_PROPERTY_DISABLED)
public void setDisabled_JsonNullable(JsonNullable disabled) {
this.disabled = disabled;
}
public void setDisabled(@jakarta.annotation.Nullable Object disabled) {
this.disabled = JsonNullable.of(disabled);
}
public LaunchAgentsAndDaemons200ResponseDataInner domain(@jakarta.annotation.Nullable LaunchAgentsAndDaemons200ResponseDataInnerDomain domain) {
this.domain = domain;
return this;
}
/**
* Get domain
* @return domain
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DOMAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LaunchAgentsAndDaemons200ResponseDataInnerDomain getDomain() {
return domain;
}
@JsonProperty(JSON_PROPERTY_DOMAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDomain(@jakarta.annotation.Nullable LaunchAgentsAndDaemons200ResponseDataInnerDomain domain) {
this.domain = domain;
}
public LaunchAgentsAndDaemons200ResponseDataInner groupName(@jakarta.annotation.Nullable Object groupName) {
this.groupName = JsonNullable.of(groupName);
return this;
}
/**
* Get groupName
* @return groupName
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getGroupName() {
return groupName.orElse(null);
}
@JsonProperty(JSON_PROPERTY_GROUP_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getGroupName_JsonNullable() {
return groupName;
}
@JsonProperty(JSON_PROPERTY_GROUP_NAME)
public void setGroupName_JsonNullable(JsonNullable groupName) {
this.groupName = groupName;
}
public void setGroupName(@jakarta.annotation.Nullable Object groupName) {
this.groupName = JsonNullable.of(groupName);
}
public LaunchAgentsAndDaemons200ResponseDataInner isDisabled(@jakarta.annotation.Nullable Boolean isDisabled) {
this.isDisabled = isDisabled;
return this;
}
/**
* Get isDisabled
* @return isDisabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_IS_DISABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsDisabled() {
return isDisabled;
}
@JsonProperty(JSON_PROPERTY_IS_DISABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsDisabled(@jakarta.annotation.Nullable Boolean isDisabled) {
this.isDisabled = isDisabled;
}
public LaunchAgentsAndDaemons200ResponseDataInner isLoaded(@jakarta.annotation.Nullable Boolean isLoaded) {
this.isLoaded = isLoaded;
return this;
}
/**
* Get isLoaded
* @return isLoaded
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_IS_LOADED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsLoaded() {
return isLoaded;
}
@JsonProperty(JSON_PROPERTY_IS_LOADED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsLoaded(@jakarta.annotation.Nullable Boolean isLoaded) {
this.isLoaded = isLoaded;
}
public LaunchAgentsAndDaemons200ResponseDataInner keepAlive(@jakarta.annotation.Nullable Boolean keepAlive) {
this.keepAlive = keepAlive;
return this;
}
/**
* Get keepAlive
* @return keepAlive
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_KEEP_ALIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getKeepAlive() {
return keepAlive;
}
@JsonProperty(JSON_PROPERTY_KEEP_ALIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKeepAlive(@jakarta.annotation.Nullable Boolean keepAlive) {
this.keepAlive = keepAlive;
}
public LaunchAgentsAndDaemons200ResponseDataInner label(@jakarta.annotation.Nullable String label) {
this.label = label;
return this;
}
/**
* Get label
* @return label
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LABEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLabel() {
return label;
}
@JsonProperty(JSON_PROPERTY_LABEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLabel(@jakarta.annotation.Nullable String label) {
this.label = label;
}
public LaunchAgentsAndDaemons200ResponseDataInner path(@jakarta.annotation.Nullable String path) {
this.path = path;
return this;
}
/**
* Get path
* @return path
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPath() {
return path;
}
@JsonProperty(JSON_PROPERTY_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPath(@jakarta.annotation.Nullable String path) {
this.path = path;
}
public LaunchAgentsAndDaemons200ResponseDataInner pid(@jakarta.annotation.Nullable BigDecimal pid) {
this.pid = JsonNullable.of(pid);
return this;
}
/**
* Get pid
* @return pid
*/
@jakarta.annotation.Nullable
@JsonIgnore
public BigDecimal getPid() {
return pid.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getPid_JsonNullable() {
return pid;
}
@JsonProperty(JSON_PROPERTY_PID)
public void setPid_JsonNullable(JsonNullable pid) {
this.pid = pid;
}
public void setPid(@jakarta.annotation.Nullable BigDecimal pid) {
this.pid = JsonNullable.of(pid);
}
public LaunchAgentsAndDaemons200ResponseDataInner processType(@jakarta.annotation.Nullable String processType) {
this.processType = JsonNullable.of(processType);
return this;
}
/**
* Get processType
* @return processType
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getProcessType() {
return processType.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessType_JsonNullable() {
return processType;
}
@JsonProperty(JSON_PROPERTY_PROCESS_TYPE)
public void setProcessType_JsonNullable(JsonNullable processType) {
this.processType = processType;
}
public void setProcessType(@jakarta.annotation.Nullable String processType) {
this.processType = JsonNullable.of(processType);
}
public LaunchAgentsAndDaemons200ResponseDataInner program(@jakarta.annotation.Nullable String program) {
this.program = JsonNullable.of(program);
return this;
}
/**
* Get program
* @return program
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getProgram() {
return program.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROGRAM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProgram_JsonNullable() {
return program;
}
@JsonProperty(JSON_PROPERTY_PROGRAM)
public void setProgram_JsonNullable(JsonNullable program) {
this.program = program;
}
public void setProgram(@jakarta.annotation.Nullable String program) {
this.program = JsonNullable.of(program);
}
public LaunchAgentsAndDaemons200ResponseDataInner programArguments(@jakarta.annotation.Nullable String programArguments) {
this.programArguments = JsonNullable.of(programArguments);
return this;
}
/**
* Get programArguments
* @return programArguments
*/
@jakarta.annotation.Nullable
@JsonIgnore
public String getProgramArguments() {
return programArguments.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROGRAM_ARGUMENTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProgramArguments_JsonNullable() {
return programArguments;
}
@JsonProperty(JSON_PROPERTY_PROGRAM_ARGUMENTS)
public void setProgramArguments_JsonNullable(JsonNullable programArguments) {
this.programArguments = programArguments;
}
public void setProgramArguments(@jakarta.annotation.Nullable String programArguments) {
this.programArguments = JsonNullable.of(programArguments);
}
public LaunchAgentsAndDaemons200ResponseDataInner queueDirectories(@jakarta.annotation.Nullable Object queueDirectories) {
this.queueDirectories = JsonNullable.of(queueDirectories);
return this;
}
/**
* Get queueDirectories
* @return queueDirectories
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getQueueDirectories() {
return queueDirectories.orElse(null);
}
@JsonProperty(JSON_PROPERTY_QUEUE_DIRECTORIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getQueueDirectories_JsonNullable() {
return queueDirectories;
}
@JsonProperty(JSON_PROPERTY_QUEUE_DIRECTORIES)
public void setQueueDirectories_JsonNullable(JsonNullable queueDirectories) {
this.queueDirectories = queueDirectories;
}
public void setQueueDirectories(@jakarta.annotation.Nullable Object queueDirectories) {
this.queueDirectories = JsonNullable.of(queueDirectories);
}
public LaunchAgentsAndDaemons200ResponseDataInner rootDirectory(@jakarta.annotation.Nullable Object rootDirectory) {
this.rootDirectory = JsonNullable.of(rootDirectory);
return this;
}
/**
* Get rootDirectory
* @return rootDirectory
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getRootDirectory() {
return rootDirectory.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ROOT_DIRECTORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getRootDirectory_JsonNullable() {
return rootDirectory;
}
@JsonProperty(JSON_PROPERTY_ROOT_DIRECTORY)
public void setRootDirectory_JsonNullable(JsonNullable rootDirectory) {
this.rootDirectory = rootDirectory;
}
public void setRootDirectory(@jakarta.annotation.Nullable Object rootDirectory) {
this.rootDirectory = JsonNullable.of(rootDirectory);
}
public LaunchAgentsAndDaemons200ResponseDataInner runAtLoad(@jakarta.annotation.Nullable Boolean runAtLoad) {
this.runAtLoad = JsonNullable.of(runAtLoad);
return this;
}
/**
* Get runAtLoad
* @return runAtLoad
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Boolean getRunAtLoad() {
return runAtLoad.orElse(null);
}
@JsonProperty(JSON_PROPERTY_RUN_AT_LOAD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getRunAtLoad_JsonNullable() {
return runAtLoad;
}
@JsonProperty(JSON_PROPERTY_RUN_AT_LOAD)
public void setRunAtLoad_JsonNullable(JsonNullable runAtLoad) {
this.runAtLoad = runAtLoad;
}
public void setRunAtLoad(@jakarta.annotation.Nullable Boolean runAtLoad) {
this.runAtLoad = JsonNullable.of(runAtLoad);
}
public LaunchAgentsAndDaemons200ResponseDataInner 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 LaunchAgentsAndDaemons200ResponseDataInner standardErrorPath(@jakarta.annotation.Nullable Object standardErrorPath) {
this.standardErrorPath = JsonNullable.of(standardErrorPath);
return this;
}
/**
* Get standardErrorPath
* @return standardErrorPath
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getStandardErrorPath() {
return standardErrorPath.orElse(null);
}
@JsonProperty(JSON_PROPERTY_STANDARD_ERROR_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getStandardErrorPath_JsonNullable() {
return standardErrorPath;
}
@JsonProperty(JSON_PROPERTY_STANDARD_ERROR_PATH)
public void setStandardErrorPath_JsonNullable(JsonNullable standardErrorPath) {
this.standardErrorPath = standardErrorPath;
}
public void setStandardErrorPath(@jakarta.annotation.Nullable Object standardErrorPath) {
this.standardErrorPath = JsonNullable.of(standardErrorPath);
}
public LaunchAgentsAndDaemons200ResponseDataInner standardOutPath(@jakarta.annotation.Nullable Object standardOutPath) {
this.standardOutPath = JsonNullable.of(standardOutPath);
return this;
}
/**
* Get standardOutPath
* @return standardOutPath
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getStandardOutPath() {
return standardOutPath.orElse(null);
}
@JsonProperty(JSON_PROPERTY_STANDARD_OUT_PATH)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getStandardOutPath_JsonNullable() {
return standardOutPath;
}
@JsonProperty(JSON_PROPERTY_STANDARD_OUT_PATH)
public void setStandardOutPath_JsonNullable(JsonNullable standardOutPath) {
this.standardOutPath = standardOutPath;
}
public void setStandardOutPath(@jakarta.annotation.Nullable Object standardOutPath) {
this.standardOutPath = JsonNullable.of(standardOutPath);
}
public LaunchAgentsAndDaemons200ResponseDataInner startInterval(@jakarta.annotation.Nullable Object startInterval) {
this.startInterval = JsonNullable.of(startInterval);
return this;
}
/**
* Get startInterval
* @return startInterval
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getStartInterval() {
return startInterval.orElse(null);
}
@JsonProperty(JSON_PROPERTY_START_INTERVAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getStartInterval_JsonNullable() {
return startInterval;
}
@JsonProperty(JSON_PROPERTY_START_INTERVAL)
public void setStartInterval_JsonNullable(JsonNullable startInterval) {
this.startInterval = startInterval;
}
public void setStartInterval(@jakarta.annotation.Nullable Object startInterval) {
this.startInterval = JsonNullable.of(startInterval);
}
public LaunchAgentsAndDaemons200ResponseDataInner startOnMount(@jakarta.annotation.Nullable Object startOnMount) {
this.startOnMount = JsonNullable.of(startOnMount);
return this;
}
/**
* Get startOnMount
* @return startOnMount
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getStartOnMount() {
return startOnMount.orElse(null);
}
@JsonProperty(JSON_PROPERTY_START_ON_MOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getStartOnMount_JsonNullable() {
return startOnMount;
}
@JsonProperty(JSON_PROPERTY_START_ON_MOUNT)
public void setStartOnMount_JsonNullable(JsonNullable startOnMount) {
this.startOnMount = startOnMount;
}
public void setStartOnMount(@jakarta.annotation.Nullable Object startOnMount) {
this.startOnMount = JsonNullable.of(startOnMount);
}
public LaunchAgentsAndDaemons200ResponseDataInner userName(@jakarta.annotation.Nullable Object userName) {
this.userName = JsonNullable.of(userName);
return this;
}
/**
* Get userName
* @return userName
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getUserName() {
return userName.orElse(null);
}
@JsonProperty(JSON_PROPERTY_USER_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getUserName_JsonNullable() {
return userName;
}
@JsonProperty(JSON_PROPERTY_USER_NAME)
public void setUserName_JsonNullable(JsonNullable userName) {
this.userName = userName;
}
public void setUserName(@jakarta.annotation.Nullable Object userName) {
this.userName = JsonNullable.of(userName);
}
public LaunchAgentsAndDaemons200ResponseDataInner watchPaths(@jakarta.annotation.Nullable Object watchPaths) {
this.watchPaths = JsonNullable.of(watchPaths);
return this;
}
/**
* Get watchPaths
* @return watchPaths
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getWatchPaths() {
return watchPaths.orElse(null);
}
@JsonProperty(JSON_PROPERTY_WATCH_PATHS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getWatchPaths_JsonNullable() {
return watchPaths;
}
@JsonProperty(JSON_PROPERTY_WATCH_PATHS)
public void setWatchPaths_JsonNullable(JsonNullable watchPaths) {
this.watchPaths = watchPaths;
}
public void setWatchPaths(@jakarta.annotation.Nullable Object watchPaths) {
this.watchPaths = JsonNullable.of(watchPaths);
}
public LaunchAgentsAndDaemons200ResponseDataInner workingDirectory(@jakarta.annotation.Nullable Object workingDirectory) {
this.workingDirectory = JsonNullable.of(workingDirectory);
return this;
}
/**
* Get workingDirectory
* @return workingDirectory
*/
@jakarta.annotation.Nullable
@JsonIgnore
public Object getWorkingDirectory() {
return workingDirectory.orElse(null);
}
@JsonProperty(JSON_PROPERTY_WORKING_DIRECTORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getWorkingDirectory_JsonNullable() {
return workingDirectory;
}
@JsonProperty(JSON_PROPERTY_WORKING_DIRECTORY)
public void setWorkingDirectory_JsonNullable(JsonNullable workingDirectory) {
this.workingDirectory = workingDirectory;
}
public void setWorkingDirectory(@jakarta.annotation.Nullable Object workingDirectory) {
this.workingDirectory = JsonNullable.of(workingDirectory);
}
/**
* Return true if this launchAgentsAndDaemons_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;
}
LaunchAgentsAndDaemons200ResponseDataInner launchAgentsAndDaemons200ResponseDataInner = (LaunchAgentsAndDaemons200ResponseDataInner) o;
return equalsNullable(this.assetTag, launchAgentsAndDaemons200ResponseDataInner.assetTag) &&
Objects.equals(this.blueprintId, launchAgentsAndDaemons200ResponseDataInner.blueprintId) &&
Objects.equals(this.blueprintName, launchAgentsAndDaemons200ResponseDataInner.blueprintName) &&
Objects.equals(this.deviceFamily, launchAgentsAndDaemons200ResponseDataInner.deviceFamily) &&
Objects.equals(this.deviceName, launchAgentsAndDaemons200ResponseDataInner.deviceName) &&
Objects.equals(this.deviceUserEmail, launchAgentsAndDaemons200ResponseDataInner.deviceUserEmail) &&
Objects.equals(this.deviceUserId, launchAgentsAndDaemons200ResponseDataInner.deviceUserId) &&
Objects.equals(this.deviceUserName, launchAgentsAndDaemons200ResponseDataInner.deviceUserName) &&
Objects.equals(this.deviceId, launchAgentsAndDaemons200ResponseDataInner.deviceId) &&
equalsNullable(this.disabled, launchAgentsAndDaemons200ResponseDataInner.disabled) &&
Objects.equals(this.domain, launchAgentsAndDaemons200ResponseDataInner.domain) &&
equalsNullable(this.groupName, launchAgentsAndDaemons200ResponseDataInner.groupName) &&
Objects.equals(this.isDisabled, launchAgentsAndDaemons200ResponseDataInner.isDisabled) &&
Objects.equals(this.isLoaded, launchAgentsAndDaemons200ResponseDataInner.isLoaded) &&
Objects.equals(this.keepAlive, launchAgentsAndDaemons200ResponseDataInner.keepAlive) &&
Objects.equals(this.label, launchAgentsAndDaemons200ResponseDataInner.label) &&
Objects.equals(this.path, launchAgentsAndDaemons200ResponseDataInner.path) &&
equalsNullable(this.pid, launchAgentsAndDaemons200ResponseDataInner.pid) &&
equalsNullable(this.processType, launchAgentsAndDaemons200ResponseDataInner.processType) &&
equalsNullable(this.program, launchAgentsAndDaemons200ResponseDataInner.program) &&
equalsNullable(this.programArguments, launchAgentsAndDaemons200ResponseDataInner.programArguments) &&
equalsNullable(this.queueDirectories, launchAgentsAndDaemons200ResponseDataInner.queueDirectories) &&
equalsNullable(this.rootDirectory, launchAgentsAndDaemons200ResponseDataInner.rootDirectory) &&
equalsNullable(this.runAtLoad, launchAgentsAndDaemons200ResponseDataInner.runAtLoad) &&
Objects.equals(this.serialNumber, launchAgentsAndDaemons200ResponseDataInner.serialNumber) &&
equalsNullable(this.standardErrorPath, launchAgentsAndDaemons200ResponseDataInner.standardErrorPath) &&
equalsNullable(this.standardOutPath, launchAgentsAndDaemons200ResponseDataInner.standardOutPath) &&
equalsNullable(this.startInterval, launchAgentsAndDaemons200ResponseDataInner.startInterval) &&
equalsNullable(this.startOnMount, launchAgentsAndDaemons200ResponseDataInner.startOnMount) &&
equalsNullable(this.userName, launchAgentsAndDaemons200ResponseDataInner.userName) &&
equalsNullable(this.watchPaths, launchAgentsAndDaemons200ResponseDataInner.watchPaths) &&
equalsNullable(this.workingDirectory, launchAgentsAndDaemons200ResponseDataInner.workingDirectory);
}
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, hashCodeNullable(disabled), domain, hashCodeNullable(groupName), isDisabled, isLoaded, keepAlive, label, path, hashCodeNullable(pid), hashCodeNullable(processType), hashCodeNullable(program), hashCodeNullable(programArguments), hashCodeNullable(queueDirectories), hashCodeNullable(rootDirectory), hashCodeNullable(runAtLoad), serialNumber, hashCodeNullable(standardErrorPath), hashCodeNullable(standardOutPath), hashCodeNullable(startInterval), hashCodeNullable(startOnMount), hashCodeNullable(userName), hashCodeNullable(watchPaths), hashCodeNullable(workingDirectory));
}
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 LaunchAgentsAndDaemons200ResponseDataInner {\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(" disabled: ").append(toIndentedString(disabled)).append("\n");
sb.append(" domain: ").append(toIndentedString(domain)).append("\n");
sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n");
sb.append(" isDisabled: ").append(toIndentedString(isDisabled)).append("\n");
sb.append(" isLoaded: ").append(toIndentedString(isLoaded)).append("\n");
sb.append(" keepAlive: ").append(toIndentedString(keepAlive)).append("\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" path: ").append(toIndentedString(path)).append("\n");
sb.append(" pid: ").append(toIndentedString(pid)).append("\n");
sb.append(" processType: ").append(toIndentedString(processType)).append("\n");
sb.append(" program: ").append(toIndentedString(program)).append("\n");
sb.append(" programArguments: ").append(toIndentedString(programArguments)).append("\n");
sb.append(" queueDirectories: ").append(toIndentedString(queueDirectories)).append("\n");
sb.append(" rootDirectory: ").append(toIndentedString(rootDirectory)).append("\n");
sb.append(" runAtLoad: ").append(toIndentedString(runAtLoad)).append("\n");
sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n");
sb.append(" standardErrorPath: ").append(toIndentedString(standardErrorPath)).append("\n");
sb.append(" standardOutPath: ").append(toIndentedString(standardOutPath)).append("\n");
sb.append(" startInterval: ").append(toIndentedString(startInterval)).append("\n");
sb.append(" startOnMount: ").append(toIndentedString(startOnMount)).append("\n");
sb.append(" userName: ").append(toIndentedString(userName)).append("\n");
sb.append(" watchPaths: ").append(toIndentedString(watchPaths)).append("\n");
sb.append(" workingDirectory: ").append(toIndentedString(workingDirectory)).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 ");
}
}