All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blazebit.query.connector.kandji.model.GetDeviceApps200ResponseAppsInner Maven / Gradle / Ivy

The newest version!
/*
 * Kandji API
 * # Welcome to the Kandji API Documentation  You can find your API URL in Settings > Access. The API URL will follow the below formats.  - US - `https://SubDomain.api.kandji.io` - EU - `https://SubDomain.api.eu.kandji.io`  For information on how to obtain an API token, please refer to the following support article.  [https://support.kandji.io/api](https://support.kandji.io/api)  #### Rate Limit  The Kandji API currently has an API rate limit of 10,000 requests per hour per customer.  #### Request Methods  HTTP request methods supported by the Kandji API.  | Method | Definition | | --- | --- | | GET | The `GET` method requests a representation of the specified resource. | | POST | The `POST` method submits an entity to the specified resource. | | PATCH | The `PATCH` method applies partial modifications to a resource. | | DELETE | The `DELETE` method deletes the specified resource. |  #### Response codes  Not all response codes apply to every endpoint.  | Code | Response | | --- | --- | | 200 | OK | | 201 | Created | | 204 | No content | |  | Typical response when sending the DELETE method. | | 400 | Bad Request | |  | \"Command already running\" - The command may already be running in a _Pending_ state waiting on the device. | |  | \"Command is not allowed for current device\" - The command may not be compatible with the target device. | |  | \"JSON parse error - Expecting ',' delimiter: line 3 column 2 (char 65)\" | | 401 | Unauthorized | |  | This error can occur if the token is incorrect, was revoked, or the token has expired. | | 403 | Forbidden | |  | The request was understood but cannot be authorized. | | 404 | Not found | |  | Unable to locate the resource in the Kandji tenant. | | 415 | Unsupported Media Type | |  | The request contains a media type which the server or resource does not support. | | 500 | Internal server error | | 503 | Service unavailable | |  | This error can occur if a file upload is still being processed via the custom apps API. |  #### Data structure  The API returns all structured responses in JSON schema format.  #### Examples  Code examples using the API can be found in the Kandji support [GitHub](https://github.com/kandji-inc/support/tree/main/api-tools).
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.blazebit.query.connector.kandji.model;

import java.util.Objects;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.blazebit.query.connector.kandji.invoker.JSON;


/**
 * GetDeviceApps200ResponseAppsInner
 */
@JsonPropertyOrder({
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_APP_ID,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_APP_NAME,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_APP_STORE_VENDABLE,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_BUNDLE_ID,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_BUNDLE_SIZE,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_CREATION_DATE,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_DEVICE_BASED_VPP,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_MODIFICATION_DATE,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_PATH,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_PROCESS,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_SIGNATURE,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_SOURCE,
  GetDeviceApps200ResponseAppsInner.JSON_PROPERTY_VERSION
})
@JsonTypeName("getDeviceApps_200_response_apps_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 GetDeviceApps200ResponseAppsInner {
  public static final String JSON_PROPERTY_APP_ID = "app_id";
  @jakarta.annotation.Nullable
  private String appId;

  public static final String JSON_PROPERTY_APP_NAME = "app_name";
  @jakarta.annotation.Nullable
  private String appName;

  public static final String JSON_PROPERTY_APP_STORE_VENDABLE = "app_store_vendable";
  @jakarta.annotation.Nullable
  private String appStoreVendable;

  public static final String JSON_PROPERTY_BUNDLE_ID = "bundle_id";
  @jakarta.annotation.Nullable
  private String bundleId;

  public static final String JSON_PROPERTY_BUNDLE_SIZE = "bundle_size";
  @jakarta.annotation.Nullable
  private String bundleSize;

  public static final String JSON_PROPERTY_CREATION_DATE = "creation_date";
  @jakarta.annotation.Nullable
  private String creationDate;

  public static final String JSON_PROPERTY_DEVICE_BASED_VPP = "device_based_vpp";
  @jakarta.annotation.Nullable
  private String deviceBasedVpp;

  public static final String JSON_PROPERTY_MODIFICATION_DATE = "modification_date";
  @jakarta.annotation.Nullable
  private String modificationDate;

  public static final String JSON_PROPERTY_PATH = "path";
  @jakarta.annotation.Nullable
  private String path;

  public static final String JSON_PROPERTY_PROCESS = "process";
  @jakarta.annotation.Nullable
  private String process;

  public static final String JSON_PROPERTY_SIGNATURE = "signature";
  @jakarta.annotation.Nullable
  private String signature;

  public static final String JSON_PROPERTY_SOURCE = "source";
  @jakarta.annotation.Nullable
  private String source;

  public static final String JSON_PROPERTY_VERSION = "version";
  @jakarta.annotation.Nullable
  private String version;

  public GetDeviceApps200ResponseAppsInner() { 
  }

  public GetDeviceApps200ResponseAppsInner appId(@jakarta.annotation.Nullable String appId) {
    this.appId = appId;
    return this;
  }

  /**
   * Get appId
   * @return appId
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_APP_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getAppId() {
    return appId;
  }


  @JsonProperty(JSON_PROPERTY_APP_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAppId(@jakarta.annotation.Nullable String appId) {
    this.appId = appId;
  }


  public GetDeviceApps200ResponseAppsInner appName(@jakarta.annotation.Nullable String appName) {
    this.appName = appName;
    return this;
  }

  /**
   * Get appName
   * @return appName
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_APP_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getAppName() {
    return appName;
  }


  @JsonProperty(JSON_PROPERTY_APP_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAppName(@jakarta.annotation.Nullable String appName) {
    this.appName = appName;
  }


  public GetDeviceApps200ResponseAppsInner appStoreVendable(@jakarta.annotation.Nullable String appStoreVendable) {
    this.appStoreVendable = appStoreVendable;
    return this;
  }

  /**
   * Get appStoreVendable
   * @return appStoreVendable
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_APP_STORE_VENDABLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getAppStoreVendable() {
    return appStoreVendable;
  }


  @JsonProperty(JSON_PROPERTY_APP_STORE_VENDABLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAppStoreVendable(@jakarta.annotation.Nullable String appStoreVendable) {
    this.appStoreVendable = appStoreVendable;
  }


  public GetDeviceApps200ResponseAppsInner bundleId(@jakarta.annotation.Nullable String bundleId) {
    this.bundleId = bundleId;
    return this;
  }

  /**
   * Get bundleId
   * @return bundleId
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_BUNDLE_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getBundleId() {
    return bundleId;
  }


  @JsonProperty(JSON_PROPERTY_BUNDLE_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setBundleId(@jakarta.annotation.Nullable String bundleId) {
    this.bundleId = bundleId;
  }


  public GetDeviceApps200ResponseAppsInner bundleSize(@jakarta.annotation.Nullable String bundleSize) {
    this.bundleSize = bundleSize;
    return this;
  }

  /**
   * Get bundleSize
   * @return bundleSize
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_BUNDLE_SIZE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getBundleSize() {
    return bundleSize;
  }


  @JsonProperty(JSON_PROPERTY_BUNDLE_SIZE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setBundleSize(@jakarta.annotation.Nullable String bundleSize) {
    this.bundleSize = bundleSize;
  }


  public GetDeviceApps200ResponseAppsInner creationDate(@jakarta.annotation.Nullable String creationDate) {
    this.creationDate = creationDate;
    return this;
  }

  /**
   * Get creationDate
   * @return creationDate
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_CREATION_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getCreationDate() {
    return creationDate;
  }


  @JsonProperty(JSON_PROPERTY_CREATION_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCreationDate(@jakarta.annotation.Nullable String creationDate) {
    this.creationDate = creationDate;
  }


  public GetDeviceApps200ResponseAppsInner deviceBasedVpp(@jakarta.annotation.Nullable String deviceBasedVpp) {
    this.deviceBasedVpp = deviceBasedVpp;
    return this;
  }

  /**
   * Get deviceBasedVpp
   * @return deviceBasedVpp
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_DEVICE_BASED_VPP)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getDeviceBasedVpp() {
    return deviceBasedVpp;
  }


  @JsonProperty(JSON_PROPERTY_DEVICE_BASED_VPP)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDeviceBasedVpp(@jakarta.annotation.Nullable String deviceBasedVpp) {
    this.deviceBasedVpp = deviceBasedVpp;
  }


  public GetDeviceApps200ResponseAppsInner modificationDate(@jakarta.annotation.Nullable String modificationDate) {
    this.modificationDate = modificationDate;
    return this;
  }

  /**
   * Get modificationDate
   * @return modificationDate
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_MODIFICATION_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getModificationDate() {
    return modificationDate;
  }


  @JsonProperty(JSON_PROPERTY_MODIFICATION_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setModificationDate(@jakarta.annotation.Nullable String modificationDate) {
    this.modificationDate = modificationDate;
  }


  public GetDeviceApps200ResponseAppsInner 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 GetDeviceApps200ResponseAppsInner process(@jakarta.annotation.Nullable String process) {
    this.process = process;
    return this;
  }

  /**
   * Get process
   * @return process
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_PROCESS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getProcess() {
    return process;
  }


  @JsonProperty(JSON_PROPERTY_PROCESS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setProcess(@jakarta.annotation.Nullable String process) {
    this.process = process;
  }


  public GetDeviceApps200ResponseAppsInner signature(@jakarta.annotation.Nullable String signature) {
    this.signature = signature;
    return this;
  }

  /**
   * Get signature
   * @return signature
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_SIGNATURE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getSignature() {
    return signature;
  }


  @JsonProperty(JSON_PROPERTY_SIGNATURE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSignature(@jakarta.annotation.Nullable String signature) {
    this.signature = signature;
  }


  public GetDeviceApps200ResponseAppsInner source(@jakarta.annotation.Nullable String source) {
    this.source = source;
    return this;
  }

  /**
   * Get source
   * @return source
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_SOURCE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getSource() {
    return source;
  }


  @JsonProperty(JSON_PROPERTY_SOURCE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSource(@jakarta.annotation.Nullable String source) {
    this.source = source;
  }


  public GetDeviceApps200ResponseAppsInner version(@jakarta.annotation.Nullable String version) {
    this.version = version;
    return this;
  }

  /**
   * Get version
   * @return version
   */
  @jakarta.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getVersion() {
    return version;
  }


  @JsonProperty(JSON_PROPERTY_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setVersion(@jakarta.annotation.Nullable String version) {
    this.version = version;
  }


  /**
   * Return true if this getDeviceApps_200_response_apps_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;
    }
    GetDeviceApps200ResponseAppsInner getDeviceApps200ResponseAppsInner = (GetDeviceApps200ResponseAppsInner) o;
    return Objects.equals(this.appId, getDeviceApps200ResponseAppsInner.appId) &&
        Objects.equals(this.appName, getDeviceApps200ResponseAppsInner.appName) &&
        Objects.equals(this.appStoreVendable, getDeviceApps200ResponseAppsInner.appStoreVendable) &&
        Objects.equals(this.bundleId, getDeviceApps200ResponseAppsInner.bundleId) &&
        Objects.equals(this.bundleSize, getDeviceApps200ResponseAppsInner.bundleSize) &&
        Objects.equals(this.creationDate, getDeviceApps200ResponseAppsInner.creationDate) &&
        Objects.equals(this.deviceBasedVpp, getDeviceApps200ResponseAppsInner.deviceBasedVpp) &&
        Objects.equals(this.modificationDate, getDeviceApps200ResponseAppsInner.modificationDate) &&
        Objects.equals(this.path, getDeviceApps200ResponseAppsInner.path) &&
        Objects.equals(this.process, getDeviceApps200ResponseAppsInner.process) &&
        Objects.equals(this.signature, getDeviceApps200ResponseAppsInner.signature) &&
        Objects.equals(this.source, getDeviceApps200ResponseAppsInner.source) &&
        Objects.equals(this.version, getDeviceApps200ResponseAppsInner.version);
  }

  @Override
  public int hashCode() {
    return Objects.hash(appId, appName, appStoreVendable, bundleId, bundleSize, creationDate, deviceBasedVpp, modificationDate, path, process, signature, source, version);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GetDeviceApps200ResponseAppsInner {\n");
    sb.append("    appId: ").append(toIndentedString(appId)).append("\n");
    sb.append("    appName: ").append(toIndentedString(appName)).append("\n");
    sb.append("    appStoreVendable: ").append(toIndentedString(appStoreVendable)).append("\n");
    sb.append("    bundleId: ").append(toIndentedString(bundleId)).append("\n");
    sb.append("    bundleSize: ").append(toIndentedString(bundleSize)).append("\n");
    sb.append("    creationDate: ").append(toIndentedString(creationDate)).append("\n");
    sb.append("    deviceBasedVpp: ").append(toIndentedString(deviceBasedVpp)).append("\n");
    sb.append("    modificationDate: ").append(toIndentedString(modificationDate)).append("\n");
    sb.append("    path: ").append(toIndentedString(path)).append("\n");
    sb.append("    process: ").append(toIndentedString(process)).append("\n");
    sb.append("    signature: ").append(toIndentedString(signature)).append("\n");
    sb.append("    source: ").append(toIndentedString(source)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy