
com.blazebit.query.connector.kandji.model.UpdateAdeDevice200Response 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.ListAdeDevices200ResponseResultsInnerDepAccount;
import com.blazebit.query.connector.kandji.model.ListAdeDevices200ResponseResultsInnerMdmDevice;
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;
/**
* UpdateAdeDevice200Response
*/
@JsonPropertyOrder({
UpdateAdeDevice200Response.JSON_PROPERTY_ASSET_TAG,
UpdateAdeDevice200Response.JSON_PROPERTY_ASSIGNMENT_STATUS_RECEIVED_AT,
UpdateAdeDevice200Response.JSON_PROPERTY_BLUEPRINT,
UpdateAdeDevice200Response.JSON_PROPERTY_BLUEPRINT_ID,
UpdateAdeDevice200Response.JSON_PROPERTY_COLOR,
UpdateAdeDevice200Response.JSON_PROPERTY_DEP_ACCOUNT,
UpdateAdeDevice200Response.JSON_PROPERTY_DESCRIPTION,
UpdateAdeDevice200Response.JSON_PROPERTY_DEVICE_ASSIGNED_BY,
UpdateAdeDevice200Response.JSON_PROPERTY_DEVICE_ASSIGNED_DATE,
UpdateAdeDevice200Response.JSON_PROPERTY_DEVICE_FAMILY,
UpdateAdeDevice200Response.JSON_PROPERTY_FAILED_ASSIGNMENT_ATTEMPTS,
UpdateAdeDevice200Response.JSON_PROPERTY_ID,
UpdateAdeDevice200Response.JSON_PROPERTY_LAST_ASSIGNMENT_STATUS,
UpdateAdeDevice200Response.JSON_PROPERTY_MDM_DEVICE,
UpdateAdeDevice200Response.JSON_PROPERTY_MODEL,
UpdateAdeDevice200Response.JSON_PROPERTY_OS,
UpdateAdeDevice200Response.JSON_PROPERTY_PROFILE_ASSIGN_TIME,
UpdateAdeDevice200Response.JSON_PROPERTY_PROFILE_PUSH_TIME,
UpdateAdeDevice200Response.JSON_PROPERTY_PROFILE_STATUS,
UpdateAdeDevice200Response.JSON_PROPERTY_SERIAL_NUMBER,
UpdateAdeDevice200Response.JSON_PROPERTY_USER,
UpdateAdeDevice200Response.JSON_PROPERTY_USER_ID
})
@JsonTypeName("updateAdeDevice_200_response")
@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 UpdateAdeDevice200Response {
public static final String JSON_PROPERTY_ASSET_TAG = "asset_tag";
@jakarta.annotation.Nullable
private String assetTag;
public static final String JSON_PROPERTY_ASSIGNMENT_STATUS_RECEIVED_AT = "assignment_status_received_at";
@jakarta.annotation.Nullable
private String assignmentStatusReceivedAt;
public static final String JSON_PROPERTY_BLUEPRINT = "blueprint";
@jakarta.annotation.Nullable
private String blueprint;
public static final String JSON_PROPERTY_BLUEPRINT_ID = "blueprint_id";
@jakarta.annotation.Nullable
private String blueprintId;
public static final String JSON_PROPERTY_COLOR = "color";
@jakarta.annotation.Nullable
private String color;
public static final String JSON_PROPERTY_DEP_ACCOUNT = "dep_account";
@jakarta.annotation.Nullable
private ListAdeDevices200ResponseResultsInnerDepAccount depAccount;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
@jakarta.annotation.Nullable
private String description;
public static final String JSON_PROPERTY_DEVICE_ASSIGNED_BY = "device_assigned_by";
@jakarta.annotation.Nullable
private String deviceAssignedBy;
public static final String JSON_PROPERTY_DEVICE_ASSIGNED_DATE = "device_assigned_date";
@jakarta.annotation.Nullable
private String deviceAssignedDate;
public static final String JSON_PROPERTY_DEVICE_FAMILY = "device_family";
@jakarta.annotation.Nullable
private String deviceFamily;
public static final String JSON_PROPERTY_FAILED_ASSIGNMENT_ATTEMPTS = "failed_assignment_attempts";
@jakarta.annotation.Nullable
private BigDecimal failedAssignmentAttempts;
public static final String JSON_PROPERTY_ID = "id";
@jakarta.annotation.Nullable
private String id;
public static final String JSON_PROPERTY_LAST_ASSIGNMENT_STATUS = "last_assignment_status";
@jakarta.annotation.Nullable
private String lastAssignmentStatus;
public static final String JSON_PROPERTY_MDM_DEVICE = "mdm_device";
@jakarta.annotation.Nullable
private ListAdeDevices200ResponseResultsInnerMdmDevice mdmDevice;
public static final String JSON_PROPERTY_MODEL = "model";
@jakarta.annotation.Nullable
private String model;
public static final String JSON_PROPERTY_OS = "os";
@jakarta.annotation.Nullable
private String os;
public static final String JSON_PROPERTY_PROFILE_ASSIGN_TIME = "profile_assign_time";
@jakarta.annotation.Nullable
private String profileAssignTime;
public static final String JSON_PROPERTY_PROFILE_PUSH_TIME = "profile_push_time";
@jakarta.annotation.Nullable
private String profilePushTime;
public static final String JSON_PROPERTY_PROFILE_STATUS = "profile_status";
@jakarta.annotation.Nullable
private String profileStatus;
public static final String JSON_PROPERTY_SERIAL_NUMBER = "serial_number";
@jakarta.annotation.Nullable
private String serialNumber;
public static final String JSON_PROPERTY_USER = "user";
@jakarta.annotation.Nullable
private BigDecimal user;
public static final String JSON_PROPERTY_USER_ID = "user_id";
@jakarta.annotation.Nullable
private BigDecimal userId;
public UpdateAdeDevice200Response() {
}
public UpdateAdeDevice200Response assetTag(@jakarta.annotation.Nullable String assetTag) {
this.assetTag = assetTag;
return this;
}
/**
* Get assetTag
* @return assetTag
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ASSET_TAG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAssetTag() {
return assetTag;
}
@JsonProperty(JSON_PROPERTY_ASSET_TAG)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAssetTag(@jakarta.annotation.Nullable String assetTag) {
this.assetTag = assetTag;
}
public UpdateAdeDevice200Response assignmentStatusReceivedAt(@jakarta.annotation.Nullable String assignmentStatusReceivedAt) {
this.assignmentStatusReceivedAt = assignmentStatusReceivedAt;
return this;
}
/**
* Get assignmentStatusReceivedAt
* @return assignmentStatusReceivedAt
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ASSIGNMENT_STATUS_RECEIVED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAssignmentStatusReceivedAt() {
return assignmentStatusReceivedAt;
}
@JsonProperty(JSON_PROPERTY_ASSIGNMENT_STATUS_RECEIVED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAssignmentStatusReceivedAt(@jakarta.annotation.Nullable String assignmentStatusReceivedAt) {
this.assignmentStatusReceivedAt = assignmentStatusReceivedAt;
}
public UpdateAdeDevice200Response blueprint(@jakarta.annotation.Nullable String blueprint) {
this.blueprint = blueprint;
return this;
}
/**
* Get blueprint
* @return blueprint
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BLUEPRINT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBlueprint() {
return blueprint;
}
@JsonProperty(JSON_PROPERTY_BLUEPRINT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBlueprint(@jakarta.annotation.Nullable String blueprint) {
this.blueprint = blueprint;
}
public UpdateAdeDevice200Response 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 UpdateAdeDevice200Response 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 UpdateAdeDevice200Response depAccount(@jakarta.annotation.Nullable ListAdeDevices200ResponseResultsInnerDepAccount depAccount) {
this.depAccount = depAccount;
return this;
}
/**
* Get depAccount
* @return depAccount
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEP_ACCOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ListAdeDevices200ResponseResultsInnerDepAccount getDepAccount() {
return depAccount;
}
@JsonProperty(JSON_PROPERTY_DEP_ACCOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDepAccount(@jakarta.annotation.Nullable ListAdeDevices200ResponseResultsInnerDepAccount depAccount) {
this.depAccount = depAccount;
}
public UpdateAdeDevice200Response 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 UpdateAdeDevice200Response deviceAssignedBy(@jakarta.annotation.Nullable String deviceAssignedBy) {
this.deviceAssignedBy = deviceAssignedBy;
return this;
}
/**
* Get deviceAssignedBy
* @return deviceAssignedBy
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_ASSIGNED_BY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceAssignedBy() {
return deviceAssignedBy;
}
@JsonProperty(JSON_PROPERTY_DEVICE_ASSIGNED_BY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceAssignedBy(@jakarta.annotation.Nullable String deviceAssignedBy) {
this.deviceAssignedBy = deviceAssignedBy;
}
public UpdateAdeDevice200Response deviceAssignedDate(@jakarta.annotation.Nullable String deviceAssignedDate) {
this.deviceAssignedDate = deviceAssignedDate;
return this;
}
/**
* Get deviceAssignedDate
* @return deviceAssignedDate
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEVICE_ASSIGNED_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeviceAssignedDate() {
return deviceAssignedDate;
}
@JsonProperty(JSON_PROPERTY_DEVICE_ASSIGNED_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeviceAssignedDate(@jakarta.annotation.Nullable String deviceAssignedDate) {
this.deviceAssignedDate = deviceAssignedDate;
}
public UpdateAdeDevice200Response 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 UpdateAdeDevice200Response failedAssignmentAttempts(@jakarta.annotation.Nullable BigDecimal failedAssignmentAttempts) {
this.failedAssignmentAttempts = failedAssignmentAttempts;
return this;
}
/**
* Get failedAssignmentAttempts
* @return failedAssignmentAttempts
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FAILED_ASSIGNMENT_ATTEMPTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getFailedAssignmentAttempts() {
return failedAssignmentAttempts;
}
@JsonProperty(JSON_PROPERTY_FAILED_ASSIGNMENT_ATTEMPTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFailedAssignmentAttempts(@jakarta.annotation.Nullable BigDecimal failedAssignmentAttempts) {
this.failedAssignmentAttempts = failedAssignmentAttempts;
}
public UpdateAdeDevice200Response id(@jakarta.annotation.Nullable String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@jakarta.annotation.Nullable String id) {
this.id = id;
}
public UpdateAdeDevice200Response lastAssignmentStatus(@jakarta.annotation.Nullable String lastAssignmentStatus) {
this.lastAssignmentStatus = lastAssignmentStatus;
return this;
}
/**
* Get lastAssignmentStatus
* @return lastAssignmentStatus
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LAST_ASSIGNMENT_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLastAssignmentStatus() {
return lastAssignmentStatus;
}
@JsonProperty(JSON_PROPERTY_LAST_ASSIGNMENT_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLastAssignmentStatus(@jakarta.annotation.Nullable String lastAssignmentStatus) {
this.lastAssignmentStatus = lastAssignmentStatus;
}
public UpdateAdeDevice200Response mdmDevice(@jakarta.annotation.Nullable ListAdeDevices200ResponseResultsInnerMdmDevice mdmDevice) {
this.mdmDevice = mdmDevice;
return this;
}
/**
* Get mdmDevice
* @return mdmDevice
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MDM_DEVICE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ListAdeDevices200ResponseResultsInnerMdmDevice getMdmDevice() {
return mdmDevice;
}
@JsonProperty(JSON_PROPERTY_MDM_DEVICE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMdmDevice(@jakarta.annotation.Nullable ListAdeDevices200ResponseResultsInnerMdmDevice mdmDevice) {
this.mdmDevice = mdmDevice;
}
public UpdateAdeDevice200Response model(@jakarta.annotation.Nullable String model) {
this.model = model;
return this;
}
/**
* Get model
* @return model
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MODEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getModel() {
return model;
}
@JsonProperty(JSON_PROPERTY_MODEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setModel(@jakarta.annotation.Nullable String model) {
this.model = model;
}
public UpdateAdeDevice200Response os(@jakarta.annotation.Nullable String os) {
this.os = os;
return this;
}
/**
* Get os
* @return os
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getOs() {
return os;
}
@JsonProperty(JSON_PROPERTY_OS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOs(@jakarta.annotation.Nullable String os) {
this.os = os;
}
public UpdateAdeDevice200Response profileAssignTime(@jakarta.annotation.Nullable String profileAssignTime) {
this.profileAssignTime = profileAssignTime;
return this;
}
/**
* Get profileAssignTime
* @return profileAssignTime
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROFILE_ASSIGN_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProfileAssignTime() {
return profileAssignTime;
}
@JsonProperty(JSON_PROPERTY_PROFILE_ASSIGN_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProfileAssignTime(@jakarta.annotation.Nullable String profileAssignTime) {
this.profileAssignTime = profileAssignTime;
}
public UpdateAdeDevice200Response profilePushTime(@jakarta.annotation.Nullable String profilePushTime) {
this.profilePushTime = profilePushTime;
return this;
}
/**
* Get profilePushTime
* @return profilePushTime
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROFILE_PUSH_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProfilePushTime() {
return profilePushTime;
}
@JsonProperty(JSON_PROPERTY_PROFILE_PUSH_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProfilePushTime(@jakarta.annotation.Nullable String profilePushTime) {
this.profilePushTime = profilePushTime;
}
public UpdateAdeDevice200Response profileStatus(@jakarta.annotation.Nullable String profileStatus) {
this.profileStatus = profileStatus;
return this;
}
/**
* Get profileStatus
* @return profileStatus
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROFILE_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProfileStatus() {
return profileStatus;
}
@JsonProperty(JSON_PROPERTY_PROFILE_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProfileStatus(@jakarta.annotation.Nullable String profileStatus) {
this.profileStatus = profileStatus;
}
public UpdateAdeDevice200Response 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 UpdateAdeDevice200Response user(@jakarta.annotation.Nullable BigDecimal user) {
this.user = user;
return this;
}
/**
* Get user
* @return user
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_USER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getUser() {
return user;
}
@JsonProperty(JSON_PROPERTY_USER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUser(@jakarta.annotation.Nullable BigDecimal user) {
this.user = user;
}
public UpdateAdeDevice200Response userId(@jakarta.annotation.Nullable BigDecimal userId) {
this.userId = userId;
return this;
}
/**
* Get userId
* @return userId
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_USER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getUserId() {
return userId;
}
@JsonProperty(JSON_PROPERTY_USER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUserId(@jakarta.annotation.Nullable BigDecimal userId) {
this.userId = userId;
}
/**
* Return true if this updateAdeDevice_200_response object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UpdateAdeDevice200Response updateAdeDevice200Response = (UpdateAdeDevice200Response) o;
return Objects.equals(this.assetTag, updateAdeDevice200Response.assetTag) &&
Objects.equals(this.assignmentStatusReceivedAt, updateAdeDevice200Response.assignmentStatusReceivedAt) &&
Objects.equals(this.blueprint, updateAdeDevice200Response.blueprint) &&
Objects.equals(this.blueprintId, updateAdeDevice200Response.blueprintId) &&
Objects.equals(this.color, updateAdeDevice200Response.color) &&
Objects.equals(this.depAccount, updateAdeDevice200Response.depAccount) &&
Objects.equals(this.description, updateAdeDevice200Response.description) &&
Objects.equals(this.deviceAssignedBy, updateAdeDevice200Response.deviceAssignedBy) &&
Objects.equals(this.deviceAssignedDate, updateAdeDevice200Response.deviceAssignedDate) &&
Objects.equals(this.deviceFamily, updateAdeDevice200Response.deviceFamily) &&
Objects.equals(this.failedAssignmentAttempts, updateAdeDevice200Response.failedAssignmentAttempts) &&
Objects.equals(this.id, updateAdeDevice200Response.id) &&
Objects.equals(this.lastAssignmentStatus, updateAdeDevice200Response.lastAssignmentStatus) &&
Objects.equals(this.mdmDevice, updateAdeDevice200Response.mdmDevice) &&
Objects.equals(this.model, updateAdeDevice200Response.model) &&
Objects.equals(this.os, updateAdeDevice200Response.os) &&
Objects.equals(this.profileAssignTime, updateAdeDevice200Response.profileAssignTime) &&
Objects.equals(this.profilePushTime, updateAdeDevice200Response.profilePushTime) &&
Objects.equals(this.profileStatus, updateAdeDevice200Response.profileStatus) &&
Objects.equals(this.serialNumber, updateAdeDevice200Response.serialNumber) &&
Objects.equals(this.user, updateAdeDevice200Response.user) &&
Objects.equals(this.userId, updateAdeDevice200Response.userId);
}
@Override
public int hashCode() {
return Objects.hash(assetTag, assignmentStatusReceivedAt, blueprint, blueprintId, color, depAccount, description, deviceAssignedBy, deviceAssignedDate, deviceFamily, failedAssignmentAttempts, id, lastAssignmentStatus, mdmDevice, model, os, profileAssignTime, profilePushTime, profileStatus, serialNumber, user, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpdateAdeDevice200Response {\n");
sb.append(" assetTag: ").append(toIndentedString(assetTag)).append("\n");
sb.append(" assignmentStatusReceivedAt: ").append(toIndentedString(assignmentStatusReceivedAt)).append("\n");
sb.append(" blueprint: ").append(toIndentedString(blueprint)).append("\n");
sb.append(" blueprintId: ").append(toIndentedString(blueprintId)).append("\n");
sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append(" depAccount: ").append(toIndentedString(depAccount)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" deviceAssignedBy: ").append(toIndentedString(deviceAssignedBy)).append("\n");
sb.append(" deviceAssignedDate: ").append(toIndentedString(deviceAssignedDate)).append("\n");
sb.append(" deviceFamily: ").append(toIndentedString(deviceFamily)).append("\n");
sb.append(" failedAssignmentAttempts: ").append(toIndentedString(failedAssignmentAttempts)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" lastAssignmentStatus: ").append(toIndentedString(lastAssignmentStatus)).append("\n");
sb.append(" mdmDevice: ").append(toIndentedString(mdmDevice)).append("\n");
sb.append(" model: ").append(toIndentedString(model)).append("\n");
sb.append(" os: ").append(toIndentedString(os)).append("\n");
sb.append(" profileAssignTime: ").append(toIndentedString(profileAssignTime)).append("\n");
sb.append(" profilePushTime: ").append(toIndentedString(profilePushTime)).append("\n");
sb.append(" profileStatus: ").append(toIndentedString(profileStatus)).append("\n");
sb.append(" serialNumber: ").append(toIndentedString(serialNumber)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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