
com.blazebit.query.connector.kandji.model.GetBlueprintTemplates200ResponseResultsInnerTemplatesInner 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.blazebit.query.connector.kandji.model.GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParams;
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;
/**
* GetBlueprintTemplates200ResponseResultsInnerTemplatesInner
*/
@JsonPropertyOrder({
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_CATEGORY,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_COLOR,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_DESCRIPTION,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_ICON,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_ID,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_NAME,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_PARAMS,
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner.JSON_PROPERTY_RATING
})
@JsonTypeName("getBlueprintTemplates_200_response_results_inner_templates_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 GetBlueprintTemplates200ResponseResultsInnerTemplatesInner {
public static final String JSON_PROPERTY_CATEGORY = "category";
@jakarta.annotation.Nullable
private BigDecimal category;
public static final String JSON_PROPERTY_COLOR = "color";
@jakarta.annotation.Nullable
private String color;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
@jakarta.annotation.Nullable
private String description;
public static final String JSON_PROPERTY_ICON = "icon";
@jakarta.annotation.Nullable
private String icon;
public static final String JSON_PROPERTY_ID = "id";
@jakarta.annotation.Nullable
private BigDecimal id;
public static final String JSON_PROPERTY_NAME = "name";
@jakarta.annotation.Nullable
private String name;
public static final String JSON_PROPERTY_PARAMS = "params";
@jakarta.annotation.Nullable
private GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParams params;
public static final String JSON_PROPERTY_RATING = "rating";
@jakarta.annotation.Nullable
private BigDecimal rating;
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner() {
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner category(@jakarta.annotation.Nullable BigDecimal category) {
this.category = category;
return this;
}
/**
* Get category
* @return category
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getCategory() {
return category;
}
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCategory(@jakarta.annotation.Nullable BigDecimal category) {
this.category = category;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner color(@jakarta.annotation.Nullable String color) {
this.color = color;
return this;
}
/**
* Get color
* @return color
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getColor() {
return color;
}
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setColor(@jakarta.annotation.Nullable String color) {
this.color = color;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner description(@jakarta.annotation.Nullable String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDescription(@jakarta.annotation.Nullable String description) {
this.description = description;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner icon(@jakarta.annotation.Nullable String icon) {
this.icon = icon;
return this;
}
/**
* Get icon
* @return icon
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ICON)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIcon() {
return icon;
}
@JsonProperty(JSON_PROPERTY_ICON)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIcon(@jakarta.annotation.Nullable String icon) {
this.icon = icon;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner id(@jakarta.annotation.Nullable BigDecimal id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@jakarta.annotation.Nullable BigDecimal id) {
this.id = id;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner name(@jakarta.annotation.Nullable String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@jakarta.annotation.Nullable String name) {
this.name = name;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner params(@jakarta.annotation.Nullable GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParams params) {
this.params = params;
return this;
}
/**
* Get params
* @return params
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PARAMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParams getParams() {
return params;
}
@JsonProperty(JSON_PROPERTY_PARAMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setParams(@jakarta.annotation.Nullable GetBlueprintTemplates200ResponseResultsInnerTemplatesInnerParams params) {
this.params = params;
}
public GetBlueprintTemplates200ResponseResultsInnerTemplatesInner rating(@jakarta.annotation.Nullable BigDecimal rating) {
this.rating = rating;
return this;
}
/**
* Get rating
* @return rating
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getRating() {
return rating;
}
@JsonProperty(JSON_PROPERTY_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRating(@jakarta.annotation.Nullable BigDecimal rating) {
this.rating = rating;
}
/**
* Return true if this getBlueprintTemplates_200_response_results_inner_templates_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;
}
GetBlueprintTemplates200ResponseResultsInnerTemplatesInner getBlueprintTemplates200ResponseResultsInnerTemplatesInner = (GetBlueprintTemplates200ResponseResultsInnerTemplatesInner) o;
return Objects.equals(this.category, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.category) &&
Objects.equals(this.color, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.color) &&
Objects.equals(this.description, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.description) &&
Objects.equals(this.icon, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.icon) &&
Objects.equals(this.id, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.id) &&
Objects.equals(this.name, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.name) &&
Objects.equals(this.params, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.params) &&
Objects.equals(this.rating, getBlueprintTemplates200ResponseResultsInnerTemplatesInner.rating);
}
@Override
public int hashCode() {
return Objects.hash(category, color, description, icon, id, name, params, rating);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetBlueprintTemplates200ResponseResultsInnerTemplatesInner {\n");
sb.append(" category: ").append(toIndentedString(category)).append("\n");
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" icon: ").append(toIndentedString(icon)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" params: ").append(toIndentedString(params)).append("\n");
sb.append(" rating: ").append(toIndentedString(rating)).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