All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.seeq.model.AgentOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 64.3.0-v202405012032
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.seeq.model.JsonBackupOutputV1;
import com.seeq.model.PermissionsV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
* AgentOutputV1
*/
public class AgentOutputV1 {
@JsonProperty("backups")
private List backups = new ArrayList();
@JsonProperty("createdAt")
private String createdAt = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("effectivePermissions")
private PermissionsV1 effectivePermissions = null;
@JsonProperty("id")
private String id = null;
@JsonProperty("isArchived")
private Boolean isArchived = false;
@JsonProperty("isRedacted")
private Boolean isRedacted = false;
@JsonProperty("json")
private String json = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("propagationPending")
private Boolean propagationPending = false;
@JsonProperty("statusMessage")
private String statusMessage = null;
@JsonProperty("translationKey")
private String translationKey = null;
@JsonProperty("type")
private String type = null;
@JsonProperty("updatedAt")
private String updatedAt = null;
public AgentOutputV1 backups(List backups) {
this.backups = backups;
return this;
}
public AgentOutputV1 addBackupsItem(JsonBackupOutputV1 backupsItem) {
if (this.backups == null) {
this.backups = new ArrayList();
}
this.backups.add(backupsItem);
return this;
}
/**
* The list of backups for this object's json property.
* @return backups
**/
@Schema(description = "The list of backups for this object's json property.")
public List getBackups() {
return backups;
}
public void setBackups(List backups) {
this.backups = backups;
}
public AgentOutputV1 createdAt(String createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* The ISO 8601 date of when the object was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).
* @return createdAt
**/
@Schema(description = "The ISO 8601 date of when the object was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).")
public String getCreatedAt() {
return createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public AgentOutputV1 description(String description) {
this.description = description;
return this;
}
/**
* Clarifying information or other plain language description of this item
* @return description
**/
@Schema(description = "Clarifying information or other plain language description of this item")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public AgentOutputV1 effectivePermissions(PermissionsV1 effectivePermissions) {
this.effectivePermissions = effectivePermissions;
return this;
}
/**
* Get effectivePermissions
* @return effectivePermissions
**/
@Schema(description = "")
public PermissionsV1 getEffectivePermissions() {
return effectivePermissions;
}
public void setEffectivePermissions(PermissionsV1 effectivePermissions) {
this.effectivePermissions = effectivePermissions;
}
public AgentOutputV1 id(String id) {
this.id = id;
return this;
}
/**
* The ID that can be used to interact with the item
* @return id
**/
@Schema(required = true, description = "The ID that can be used to interact with the item")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public AgentOutputV1 isArchived(Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
/**
* Whether item is archived
* @return isArchived
**/
@Schema(description = "Whether item is archived")
public Boolean getIsArchived() {
return isArchived;
}
public void setIsArchived(Boolean isArchived) {
this.isArchived = isArchived;
}
public AgentOutputV1 isRedacted(Boolean isRedacted) {
this.isRedacted = isRedacted;
return this;
}
/**
* Whether item is redacted
* @return isRedacted
**/
@Schema(description = "Whether item is redacted")
public Boolean getIsRedacted() {
return isRedacted;
}
public void setIsRedacted(Boolean isRedacted) {
this.isRedacted = isRedacted;
}
public AgentOutputV1 json(String json) {
this.json = json;
return this;
}
/**
* The agent configuration json.
* @return json
**/
@Schema(description = "The agent configuration json.")
public String getJson() {
return json;
}
public void setJson(String json) {
this.json = json;
}
public AgentOutputV1 name(String name) {
this.name = name;
return this;
}
/**
* The human readable name
* @return name
**/
@Schema(required = true, description = "The human readable name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public AgentOutputV1 propagationPending(Boolean propagationPending) {
this.propagationPending = propagationPending;
return this;
}
/**
* Whether the configuration change propagation is pending.
* @return propagationPending
**/
@Schema(description = "Whether the configuration change propagation is pending.")
public Boolean getPropagationPending() {
return propagationPending;
}
public void setPropagationPending(Boolean propagationPending) {
this.propagationPending = propagationPending;
}
public AgentOutputV1 statusMessage(String statusMessage) {
this.statusMessage = statusMessage;
return this;
}
/**
* A plain language status message with information about any issues that may have been encountered during an operation
* @return statusMessage
**/
@Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation")
public String getStatusMessage() {
return statusMessage;
}
public void setStatusMessage(String statusMessage) {
this.statusMessage = statusMessage;
}
public AgentOutputV1 translationKey(String translationKey) {
this.translationKey = translationKey;
return this;
}
/**
* The item's translation key, if any
* @return translationKey
**/
@Schema(description = "The item's translation key, if any")
public String getTranslationKey() {
return translationKey;
}
public void setTranslationKey(String translationKey) {
this.translationKey = translationKey;
}
public AgentOutputV1 type(String type) {
this.type = type;
return this;
}
/**
* The type of the item
* @return type
**/
@Schema(required = true, description = "The type of the item")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public AgentOutputV1 updatedAt(String updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* The ISO 8601 date of when the object was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).
* @return updatedAt
**/
@Schema(description = "The ISO 8601 date of when the object was updated (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm).")
public String getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AgentOutputV1 agentOutputV1 = (AgentOutputV1) o;
return Objects.equals(this.backups, agentOutputV1.backups) &&
Objects.equals(this.createdAt, agentOutputV1.createdAt) &&
Objects.equals(this.description, agentOutputV1.description) &&
Objects.equals(this.effectivePermissions, agentOutputV1.effectivePermissions) &&
Objects.equals(this.id, agentOutputV1.id) &&
Objects.equals(this.isArchived, agentOutputV1.isArchived) &&
Objects.equals(this.isRedacted, agentOutputV1.isRedacted) &&
Objects.equals(this.json, agentOutputV1.json) &&
Objects.equals(this.name, agentOutputV1.name) &&
Objects.equals(this.propagationPending, agentOutputV1.propagationPending) &&
Objects.equals(this.statusMessage, agentOutputV1.statusMessage) &&
Objects.equals(this.translationKey, agentOutputV1.translationKey) &&
Objects.equals(this.type, agentOutputV1.type) &&
Objects.equals(this.updatedAt, agentOutputV1.updatedAt);
}
@Override
public int hashCode() {
return Objects.hash(backups, createdAt, description, effectivePermissions, id, isArchived, isRedacted, json, name, propagationPending, statusMessage, translationKey, type, updatedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AgentOutputV1 {\n");
sb.append(" backups: ").append(toIndentedString(backups)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isArchived: ").append(toIndentedString(isArchived)).append("\n");
sb.append(" isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
sb.append(" json: ").append(toIndentedString(json)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" propagationPending: ").append(toIndentedString(propagationPending)).append("\n");
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
sb.append(" translationKey: ").append(toIndentedString(translationKey)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}