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

com.blazebit.query.connector.kandji.model.GetDeviceDetails200ResponseHardwareOverview 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;


/**
 * GetDeviceDetails200ResponseHardwareOverview
 */
@JsonPropertyOrder({
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_MODEL_NAME,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_MODEL_IDENTIFIER,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_PROCESSOR_NAME,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_PROCESSOR_SPEED,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_NUMBER_OF_PROCESSORS,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_TOTAL_NUMBER_OF_CORES,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_MEMORY,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_UDID,
  GetDeviceDetails200ResponseHardwareOverview.JSON_PROPERTY_SERIAL_NUMBER
})
@JsonTypeName("getDeviceDetails_200_response_hardware_overview")
@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 GetDeviceDetails200ResponseHardwareOverview {
  public static final String JSON_PROPERTY_MODEL_NAME = "model_name";
  @jakarta.annotation.Nullable
  private String modelName;

  public static final String JSON_PROPERTY_MODEL_IDENTIFIER = "model_identifier";
  @jakarta.annotation.Nullable
  private String modelIdentifier;

  public static final String JSON_PROPERTY_PROCESSOR_NAME = "processor_name";
  @jakarta.annotation.Nullable
  private String processorName;

  public static final String JSON_PROPERTY_PROCESSOR_SPEED = "processor_speed";
  @jakarta.annotation.Nullable
  private String processorSpeed;

  public static final String JSON_PROPERTY_NUMBER_OF_PROCESSORS = "number_of_processors";
  @jakarta.annotation.Nullable
  private String numberOfProcessors;

  public static final String JSON_PROPERTY_TOTAL_NUMBER_OF_CORES = "total_number_of_cores";
  @jakarta.annotation.Nullable
  private String totalNumberOfCores;

  public static final String JSON_PROPERTY_MEMORY = "memory";
  @jakarta.annotation.Nullable
  private String memory;

  public static final String JSON_PROPERTY_UDID = "udid";
  @jakarta.annotation.Nullable
  private String udid;

  public static final String JSON_PROPERTY_SERIAL_NUMBER = "serial_number";
  @jakarta.annotation.Nullable
  private String serialNumber;

  public GetDeviceDetails200ResponseHardwareOverview() { 
  }

  public GetDeviceDetails200ResponseHardwareOverview modelName(@jakarta.annotation.Nullable String modelName) {
    this.modelName = modelName;
    return this;
  }

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

  public String getModelName() {
    return modelName;
  }


  @JsonProperty(JSON_PROPERTY_MODEL_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setModelName(@jakarta.annotation.Nullable String modelName) {
    this.modelName = modelName;
  }


  public GetDeviceDetails200ResponseHardwareOverview modelIdentifier(@jakarta.annotation.Nullable String modelIdentifier) {
    this.modelIdentifier = modelIdentifier;
    return this;
  }

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

  public String getModelIdentifier() {
    return modelIdentifier;
  }


  @JsonProperty(JSON_PROPERTY_MODEL_IDENTIFIER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setModelIdentifier(@jakarta.annotation.Nullable String modelIdentifier) {
    this.modelIdentifier = modelIdentifier;
  }


  public GetDeviceDetails200ResponseHardwareOverview processorName(@jakarta.annotation.Nullable String processorName) {
    this.processorName = processorName;
    return this;
  }

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

  public String getProcessorName() {
    return processorName;
  }


  @JsonProperty(JSON_PROPERTY_PROCESSOR_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setProcessorName(@jakarta.annotation.Nullable String processorName) {
    this.processorName = processorName;
  }


  public GetDeviceDetails200ResponseHardwareOverview processorSpeed(@jakarta.annotation.Nullable String processorSpeed) {
    this.processorSpeed = processorSpeed;
    return this;
  }

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

  public String getProcessorSpeed() {
    return processorSpeed;
  }


  @JsonProperty(JSON_PROPERTY_PROCESSOR_SPEED)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setProcessorSpeed(@jakarta.annotation.Nullable String processorSpeed) {
    this.processorSpeed = processorSpeed;
  }


  public GetDeviceDetails200ResponseHardwareOverview numberOfProcessors(@jakarta.annotation.Nullable String numberOfProcessors) {
    this.numberOfProcessors = numberOfProcessors;
    return this;
  }

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

  public String getNumberOfProcessors() {
    return numberOfProcessors;
  }


  @JsonProperty(JSON_PROPERTY_NUMBER_OF_PROCESSORS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setNumberOfProcessors(@jakarta.annotation.Nullable String numberOfProcessors) {
    this.numberOfProcessors = numberOfProcessors;
  }


  public GetDeviceDetails200ResponseHardwareOverview totalNumberOfCores(@jakarta.annotation.Nullable String totalNumberOfCores) {
    this.totalNumberOfCores = totalNumberOfCores;
    return this;
  }

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

  public String getTotalNumberOfCores() {
    return totalNumberOfCores;
  }


  @JsonProperty(JSON_PROPERTY_TOTAL_NUMBER_OF_CORES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setTotalNumberOfCores(@jakarta.annotation.Nullable String totalNumberOfCores) {
    this.totalNumberOfCores = totalNumberOfCores;
  }


  public GetDeviceDetails200ResponseHardwareOverview memory(@jakarta.annotation.Nullable String memory) {
    this.memory = memory;
    return this;
  }

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

  public String getMemory() {
    return memory;
  }


  @JsonProperty(JSON_PROPERTY_MEMORY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMemory(@jakarta.annotation.Nullable String memory) {
    this.memory = memory;
  }


  public GetDeviceDetails200ResponseHardwareOverview udid(@jakarta.annotation.Nullable String udid) {
    this.udid = udid;
    return this;
  }

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

  public String getUdid() {
    return udid;
  }


  @JsonProperty(JSON_PROPERTY_UDID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setUdid(@jakarta.annotation.Nullable String udid) {
    this.udid = udid;
  }


  public GetDeviceDetails200ResponseHardwareOverview 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;
  }


  /**
   * Return true if this getDeviceDetails_200_response_hardware_overview object is equal to o.
   */
  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GetDeviceDetails200ResponseHardwareOverview getDeviceDetails200ResponseHardwareOverview = (GetDeviceDetails200ResponseHardwareOverview) o;
    return Objects.equals(this.modelName, getDeviceDetails200ResponseHardwareOverview.modelName) &&
        Objects.equals(this.modelIdentifier, getDeviceDetails200ResponseHardwareOverview.modelIdentifier) &&
        Objects.equals(this.processorName, getDeviceDetails200ResponseHardwareOverview.processorName) &&
        Objects.equals(this.processorSpeed, getDeviceDetails200ResponseHardwareOverview.processorSpeed) &&
        Objects.equals(this.numberOfProcessors, getDeviceDetails200ResponseHardwareOverview.numberOfProcessors) &&
        Objects.equals(this.totalNumberOfCores, getDeviceDetails200ResponseHardwareOverview.totalNumberOfCores) &&
        Objects.equals(this.memory, getDeviceDetails200ResponseHardwareOverview.memory) &&
        Objects.equals(this.udid, getDeviceDetails200ResponseHardwareOverview.udid) &&
        Objects.equals(this.serialNumber, getDeviceDetails200ResponseHardwareOverview.serialNumber);
  }

  @Override
  public int hashCode() {
    return Objects.hash(modelName, modelIdentifier, processorName, processorSpeed, numberOfProcessors, totalNumberOfCores, memory, udid, serialNumber);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GetDeviceDetails200ResponseHardwareOverview {\n");
    sb.append("    modelName: ").append(toIndentedString(modelName)).append("\n");
    sb.append("    modelIdentifier: ").append(toIndentedString(modelIdentifier)).append("\n");
    sb.append("    processorName: ").append(toIndentedString(processorName)).append("\n");
    sb.append("    processorSpeed: ").append(toIndentedString(processorSpeed)).append("\n");
    sb.append("    numberOfProcessors: ").append(toIndentedString(numberOfProcessors)).append("\n");
    sb.append("    totalNumberOfCores: ").append(toIndentedString(totalNumberOfCores)).append("\n");
    sb.append("    memory: ").append(toIndentedString(memory)).append("\n");
    sb.append("    udid: ").append(toIndentedString(udid)).append("\n");
    sb.append("    serialNumber: ").append(toIndentedString(serialNumber)).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