com.seeq.model.AgentOrchestratorOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 64.4.1-v202409112255
*
*
* 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 io.swagger.v3.oas.annotations.media.Schema;
/**
* The list of all agent orchestrator names for agents accessible by the user.
*/
@Schema(description = "The list of all agent orchestrator names for agents accessible by the user.")
public class AgentOrchestratorOutputV1 {
@JsonProperty("agentProvisioningExpirationAt")
private String agentProvisioningExpirationAt = null;
@JsonProperty("agentProvisioningRequestedAt")
private String agentProvisioningRequestedAt = null;
/**
* The provisioning status of the agent
*/
public enum AgentProvisioningStatusEnum {
PRE_PROVISIONED("PRE_PROVISIONED"),
PROVISIONED("PROVISIONED");
private String value;
AgentProvisioningStatusEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static AgentProvisioningStatusEnum fromValue(String input) {
for (AgentProvisioningStatusEnum b : AgentProvisioningStatusEnum.values()) {
if (b.value.equals(input)) {
return b;
}
}
return null;
}
} @JsonProperty("agentProvisioningStatus")
private AgentProvisioningStatusEnum agentProvisioningStatus = null;
@JsonProperty("name")
private String name = null;
public AgentOrchestratorOutputV1 agentProvisioningExpirationAt(String agentProvisioningExpirationAt) {
this.agentProvisioningExpirationAt = agentProvisioningExpirationAt;
return this;
}
/**
* The ISO 8601 date when agent provisioning will expire (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
* @return agentProvisioningExpirationAt
**/
@Schema(description = "The ISO 8601 date when agent provisioning will expire (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
public String getAgentProvisioningExpirationAt() {
return agentProvisioningExpirationAt;
}
public void setAgentProvisioningExpirationAt(String agentProvisioningExpirationAt) {
this.agentProvisioningExpirationAt = agentProvisioningExpirationAt;
}
public AgentOrchestratorOutputV1 agentProvisioningRequestedAt(String agentProvisioningRequestedAt) {
this.agentProvisioningRequestedAt = agentProvisioningRequestedAt;
return this;
}
/**
* The ISO 8601 date when agent provisioning was requested (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
* @return agentProvisioningRequestedAt
**/
@Schema(description = "The ISO 8601 date when agent provisioning was requested (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
public String getAgentProvisioningRequestedAt() {
return agentProvisioningRequestedAt;
}
public void setAgentProvisioningRequestedAt(String agentProvisioningRequestedAt) {
this.agentProvisioningRequestedAt = agentProvisioningRequestedAt;
}
public AgentOrchestratorOutputV1 agentProvisioningStatus(AgentProvisioningStatusEnum agentProvisioningStatus) {
this.agentProvisioningStatus = agentProvisioningStatus;
return this;
}
/**
* The provisioning status of the agent
* @return agentProvisioningStatus
**/
@Schema(description = "The provisioning status of the agent")
public AgentProvisioningStatusEnum getAgentProvisioningStatus() {
return agentProvisioningStatus;
}
public void setAgentProvisioningStatus(AgentProvisioningStatusEnum agentProvisioningStatus) {
this.agentProvisioningStatus = agentProvisioningStatus;
}
public AgentOrchestratorOutputV1 name(String name) {
this.name = name;
return this;
}
/**
* The name of the agent orchestrator. This name uniquely identifies the agent orchestrator
* @return name
**/
@Schema(required = true, description = "The name of the agent orchestrator. This name uniquely identifies the agent orchestrator")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AgentOrchestratorOutputV1 agentOrchestratorOutputV1 = (AgentOrchestratorOutputV1) o;
return Objects.equals(this.agentProvisioningExpirationAt, agentOrchestratorOutputV1.agentProvisioningExpirationAt) &&
Objects.equals(this.agentProvisioningRequestedAt, agentOrchestratorOutputV1.agentProvisioningRequestedAt) &&
Objects.equals(this.agentProvisioningStatus, agentOrchestratorOutputV1.agentProvisioningStatus) &&
Objects.equals(this.name, agentOrchestratorOutputV1.name);
}
@Override
public int hashCode() {
return Objects.hash(agentProvisioningExpirationAt, agentProvisioningRequestedAt, agentProvisioningStatus, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AgentOrchestratorOutputV1 {\n");
sb.append(" agentProvisioningExpirationAt: ").append(toIndentedString(agentProvisioningExpirationAt)).append("\n");
sb.append(" agentProvisioningRequestedAt: ").append(toIndentedString(agentProvisioningRequestedAt)).append("\n");
sb.append(" agentProvisioningStatus: ").append(toIndentedString(agentProvisioningStatus)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).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 ");
}
}