
com.blazebit.query.connector.kandji.model.GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blaze-query-connector-kandji-jersey3 Show documentation
Show all versions of blaze-query-connector-kandji-jersey3 Show documentation
A multi-platform querying library
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.math.BigDecimal;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.blazebit.query.connector.kandji.invoker.JSON;
/**
* GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details
*/
@JsonPropertyOrder({
GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.JSON_PROPERTY_DAYS,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.JSON_PROPERTY_MODIFIER,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.JSON_PROPERTY_SIZE,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.JSON_PROPERTY_UNIT
})
@JsonTypeName("getBlueprintTemplates_200_response_results_inner_templates_inner_params_cbb3b9c5_2db4_476a_9faa_0c61b7354ec1_details")
@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 GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details {
public static final String JSON_PROPERTY_DAYS = "days";
@jakarta.annotation.Nullable
private BigDecimal days;
public static final String JSON_PROPERTY_MODIFIER = "modifier";
@jakarta.annotation.Nullable
private String modifier;
public static final String JSON_PROPERTY_SIZE = "size";
@jakarta.annotation.Nullable
private BigDecimal size;
public static final String JSON_PROPERTY_UNIT = "unit";
@jakarta.annotation.Nullable
private String unit;
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details() {
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details days(@jakarta.annotation.Nullable BigDecimal days) {
this.days = days;
return this;
}
/**
* Get days
* @return days
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getDays() {
return days;
}
@JsonProperty(JSON_PROPERTY_DAYS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDays(@jakarta.annotation.Nullable BigDecimal days) {
this.days = days;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details modifier(@jakarta.annotation.Nullable String modifier) {
this.modifier = modifier;
return this;
}
/**
* Get modifier
* @return modifier
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MODIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getModifier() {
return modifier;
}
@JsonProperty(JSON_PROPERTY_MODIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setModifier(@jakarta.annotation.Nullable String modifier) {
this.modifier = modifier;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details size(@jakarta.annotation.Nullable BigDecimal size) {
this.size = size;
return this;
}
/**
* Get size
* @return size
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SIZE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getSize() {
return size;
}
@JsonProperty(JSON_PROPERTY_SIZE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSize(@jakarta.annotation.Nullable BigDecimal size) {
this.size = size;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details unit(@jakarta.annotation.Nullable String unit) {
this.unit = unit;
return this;
}
/**
* Get unit
* @return unit
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UNIT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUnit() {
return unit;
}
@JsonProperty(JSON_PROPERTY_UNIT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUnit(@jakarta.annotation.Nullable String unit) {
this.unit = unit;
}
/**
* Return true if this getBlueprintTemplates_200_response_results_inner_templates_inner_params_cbb3b9c5_2db4_476a_9faa_0c61b7354ec1_details object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details getBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details = (GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details) o;
return Objects.equals(this.days, getBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.days) &&
Objects.equals(this.modifier, getBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.modifier) &&
Objects.equals(this.size, getBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.size) &&
Objects.equals(this.unit, getBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details.unit);
}
@Override
public int hashCode() {
return Objects.hash(days, modifier, size, unit);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParamsCbb3b9c52db4476a9faa0c61b7354ec1Details {\n");
sb.append(" days: ").append(toIndentedString(days)).append("\n");
sb.append(" modifier: ").append(toIndentedString(modifier)).append("\n");
sb.append(" size: ").append(toIndentedString(size)).append("\n");
sb.append(" unit: ").append(toIndentedString(unit)).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