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.ConnectionOutputV1 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.ConfigurationFieldOutputV1;
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;
/**
* A list of connections.
*/
@Schema(description = "A list of connections.")
public class ConnectionOutputV1 {
@JsonProperty("additionalConfigJson")
private String additionalConfigJson = null;
@JsonProperty("agentName")
private String agentName = null;
@JsonProperty("backups")
private List backups = new ArrayList();
@JsonProperty("configuredFieldsJson")
private String configuredFieldsJson = null;
@JsonProperty("connectionId")
private String connectionId = null;
@JsonProperty("connectorName")
private String connectorName = null;
@JsonProperty("createdAt")
private String createdAt = null;
@JsonProperty("datasourceClass")
private String datasourceClass = null;
@JsonProperty("datasourceId")
private String datasourceId = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("effectivePermissions")
private PermissionsV1 effectivePermissions = null;
@JsonProperty("enabled")
private Boolean enabled = false;
@JsonProperty("fieldConfigurations")
private List fieldConfigurations = new ArrayList();
@JsonProperty("id")
private String id = null;
@JsonProperty("indexingConnection")
private Boolean indexingConnection = false;
@JsonProperty("isArchived")
private Boolean isArchived = false;
@JsonProperty("isRedacted")
private Boolean isRedacted = false;
@JsonProperty("json")
private String json = null;
@JsonProperty("maxConcurrentRequests")
private Long maxConcurrentRequests = null;
@JsonProperty("maxResultsPerRequests")
private Long maxResultsPerRequests = null;
@JsonProperty("name")
private String name = null;
@JsonProperty("propagationPending")
private Boolean propagationPending = false;
@JsonProperty("pullConnection")
private Boolean pullConnection = false;
@JsonProperty("statusMessage")
private String statusMessage = null;
@JsonProperty("transforms")
private String transforms = null;
@JsonProperty("translationKey")
private String translationKey = null;
@JsonProperty("type")
private String type = null;
@JsonProperty("updatedAt")
private String updatedAt = null;
public ConnectionOutputV1 additionalConfigJson(String additionalConfigJson) {
this.additionalConfigJson = additionalConfigJson;
return this;
}
/**
* The JSON representing any configuration not referenced in configurationFields
* @return additionalConfigJson
**/
@Schema(description = "The JSON representing any configuration not referenced in configurationFields")
public String getAdditionalConfigJson() {
return additionalConfigJson;
}
public void setAdditionalConfigJson(String additionalConfigJson) {
this.additionalConfigJson = additionalConfigJson;
}
public ConnectionOutputV1 agentName(String agentName) {
this.agentName = agentName;
return this;
}
/**
* The name of the agent
* @return agentName
**/
@Schema(description = "The name of the agent")
public String getAgentName() {
return agentName;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
public ConnectionOutputV1 backups(List backups) {
this.backups = backups;
return this;
}
public ConnectionOutputV1 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 ConnectionOutputV1 configuredFieldsJson(String configuredFieldsJson) {
this.configuredFieldsJson = configuredFieldsJson;
return this;
}
/**
* A list of fields, each with value and metadata to implement rendering and validation
* @return configuredFieldsJson
**/
@Schema(description = "A list of fields, each with value and metadata to implement rendering and validation")
public String getConfiguredFieldsJson() {
return configuredFieldsJson;
}
public void setConfiguredFieldsJson(String configuredFieldsJson) {
this.configuredFieldsJson = configuredFieldsJson;
}
public ConnectionOutputV1 connectionId(String connectionId) {
this.connectionId = connectionId;
return this;
}
/**
* The human readable unique identifier of the connection
* @return connectionId
**/
@Schema(description = "The human readable unique identifier of the connection")
public String getConnectionId() {
return connectionId;
}
public void setConnectionId(String connectionId) {
this.connectionId = connectionId;
}
public ConnectionOutputV1 connectorName(String connectorName) {
this.connectorName = connectorName;
return this;
}
/**
* The name of the connector
* @return connectorName
**/
@Schema(description = "The name of the connector")
public String getConnectorName() {
return connectorName;
}
public void setConnectorName(String connectorName) {
this.connectorName = connectorName;
}
public ConnectionOutputV1 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 ConnectionOutputV1 datasourceClass(String datasourceClass) {
this.datasourceClass = datasourceClass;
return this;
}
/**
* The datasource class
* @return datasourceClass
**/
@Schema(description = "The datasource class")
public String getDatasourceClass() {
return datasourceClass;
}
public void setDatasourceClass(String datasourceClass) {
this.datasourceClass = datasourceClass;
}
public ConnectionOutputV1 datasourceId(String datasourceId) {
this.datasourceId = datasourceId;
return this;
}
/**
* The datasource ID
* @return datasourceId
**/
@Schema(description = "The datasource ID")
public String getDatasourceId() {
return datasourceId;
}
public void setDatasourceId(String datasourceId) {
this.datasourceId = datasourceId;
}
public ConnectionOutputV1 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 ConnectionOutputV1 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 ConnectionOutputV1 enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* True if the connection is enabled
* @return enabled
**/
@Schema(description = "True if the connection is enabled")
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public ConnectionOutputV1 fieldConfigurations(List fieldConfigurations) {
this.fieldConfigurations = fieldConfigurations;
return this;
}
public ConnectionOutputV1 addFieldConfigurationsItem(ConfigurationFieldOutputV1 fieldConfigurationsItem) {
if (this.fieldConfigurations == null) {
this.fieldConfigurations = new ArrayList();
}
this.fieldConfigurations.add(fieldConfigurationsItem);
return this;
}
/**
* The field configurations for this connection configuration. These define the form fieldsused by the connection configuration interface
* @return fieldConfigurations
**/
@Schema(description = "The field configurations for this connection configuration. These define the form fieldsused by the connection configuration interface")
public List getFieldConfigurations() {
return fieldConfigurations;
}
public void setFieldConfigurations(List fieldConfigurations) {
this.fieldConfigurations = fieldConfigurations;
}
public ConnectionOutputV1 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 ConnectionOutputV1 indexingConnection(Boolean indexingConnection) {
this.indexingConnection = indexingConnection;
return this;
}
/**
* True if the connection is an indexing connection
* @return indexingConnection
**/
@Schema(description = "True if the connection is an indexing connection")
public Boolean getIndexingConnection() {
return indexingConnection;
}
public void setIndexingConnection(Boolean indexingConnection) {
this.indexingConnection = indexingConnection;
}
public ConnectionOutputV1 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 ConnectionOutputV1 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 ConnectionOutputV1 json(String json) {
this.json = json;
return this;
}
/**
* The connection configuration json.
* @return json
**/
@Schema(description = "The connection configuration json.")
public String getJson() {
return json;
}
public void setJson(String json) {
this.json = json;
}
public ConnectionOutputV1 maxConcurrentRequests(Long maxConcurrentRequests) {
this.maxConcurrentRequests = maxConcurrentRequests;
return this;
}
/**
* The maximum number of requests through this connection
* @return maxConcurrentRequests
**/
@Schema(description = "The maximum number of requests through this connection")
public Long getMaxConcurrentRequests() {
return maxConcurrentRequests;
}
public void setMaxConcurrentRequests(Long maxConcurrentRequests) {
this.maxConcurrentRequests = maxConcurrentRequests;
}
public ConnectionOutputV1 maxResultsPerRequests(Long maxResultsPerRequests) {
this.maxResultsPerRequests = maxResultsPerRequests;
return this;
}
/**
* The maximum number of results returned
* @return maxResultsPerRequests
**/
@Schema(description = "The maximum number of results returned")
public Long getMaxResultsPerRequests() {
return maxResultsPerRequests;
}
public void setMaxResultsPerRequests(Long maxResultsPerRequests) {
this.maxResultsPerRequests = maxResultsPerRequests;
}
public ConnectionOutputV1 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 ConnectionOutputV1 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 ConnectionOutputV1 pullConnection(Boolean pullConnection) {
this.pullConnection = pullConnection;
return this;
}
/**
* True if the connection is a pull connection
* @return pullConnection
**/
@Schema(description = "True if the connection is a pull connection")
public Boolean getPullConnection() {
return pullConnection;
}
public void setPullConnection(Boolean pullConnection) {
this.pullConnection = pullConnection;
}
public ConnectionOutputV1 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 ConnectionOutputV1 transforms(String transforms) {
this.transforms = transforms;
return this;
}
/**
* The transforms to be applied as JSON
* @return transforms
**/
@Schema(description = "The transforms to be applied as JSON")
public String getTransforms() {
return transforms;
}
public void setTransforms(String transforms) {
this.transforms = transforms;
}
public ConnectionOutputV1 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 ConnectionOutputV1 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 ConnectionOutputV1 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;
}
ConnectionOutputV1 connectionOutputV1 = (ConnectionOutputV1) o;
return Objects.equals(this.additionalConfigJson, connectionOutputV1.additionalConfigJson) &&
Objects.equals(this.agentName, connectionOutputV1.agentName) &&
Objects.equals(this.backups, connectionOutputV1.backups) &&
Objects.equals(this.configuredFieldsJson, connectionOutputV1.configuredFieldsJson) &&
Objects.equals(this.connectionId, connectionOutputV1.connectionId) &&
Objects.equals(this.connectorName, connectionOutputV1.connectorName) &&
Objects.equals(this.createdAt, connectionOutputV1.createdAt) &&
Objects.equals(this.datasourceClass, connectionOutputV1.datasourceClass) &&
Objects.equals(this.datasourceId, connectionOutputV1.datasourceId) &&
Objects.equals(this.description, connectionOutputV1.description) &&
Objects.equals(this.effectivePermissions, connectionOutputV1.effectivePermissions) &&
Objects.equals(this.enabled, connectionOutputV1.enabled) &&
Objects.equals(this.fieldConfigurations, connectionOutputV1.fieldConfigurations) &&
Objects.equals(this.id, connectionOutputV1.id) &&
Objects.equals(this.indexingConnection, connectionOutputV1.indexingConnection) &&
Objects.equals(this.isArchived, connectionOutputV1.isArchived) &&
Objects.equals(this.isRedacted, connectionOutputV1.isRedacted) &&
Objects.equals(this.json, connectionOutputV1.json) &&
Objects.equals(this.maxConcurrentRequests, connectionOutputV1.maxConcurrentRequests) &&
Objects.equals(this.maxResultsPerRequests, connectionOutputV1.maxResultsPerRequests) &&
Objects.equals(this.name, connectionOutputV1.name) &&
Objects.equals(this.propagationPending, connectionOutputV1.propagationPending) &&
Objects.equals(this.pullConnection, connectionOutputV1.pullConnection) &&
Objects.equals(this.statusMessage, connectionOutputV1.statusMessage) &&
Objects.equals(this.transforms, connectionOutputV1.transforms) &&
Objects.equals(this.translationKey, connectionOutputV1.translationKey) &&
Objects.equals(this.type, connectionOutputV1.type) &&
Objects.equals(this.updatedAt, connectionOutputV1.updatedAt);
}
@Override
public int hashCode() {
return Objects.hash(additionalConfigJson, agentName, backups, configuredFieldsJson, connectionId, connectorName, createdAt, datasourceClass, datasourceId, description, effectivePermissions, enabled, fieldConfigurations, id, indexingConnection, isArchived, isRedacted, json, maxConcurrentRequests, maxResultsPerRequests, name, propagationPending, pullConnection, statusMessage, transforms, translationKey, type, updatedAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConnectionOutputV1 {\n");
sb.append(" additionalConfigJson: ").append(toIndentedString(additionalConfigJson)).append("\n");
sb.append(" agentName: ").append(toIndentedString(agentName)).append("\n");
sb.append(" backups: ").append(toIndentedString(backups)).append("\n");
sb.append(" configuredFieldsJson: ").append(toIndentedString(configuredFieldsJson)).append("\n");
sb.append(" connectionId: ").append(toIndentedString(connectionId)).append("\n");
sb.append(" connectorName: ").append(toIndentedString(connectorName)).append("\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" datasourceClass: ").append(toIndentedString(datasourceClass)).append("\n");
sb.append(" datasourceId: ").append(toIndentedString(datasourceId)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" effectivePermissions: ").append(toIndentedString(effectivePermissions)).append("\n");
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
sb.append(" fieldConfigurations: ").append(toIndentedString(fieldConfigurations)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" indexingConnection: ").append(toIndentedString(indexingConnection)).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(" maxConcurrentRequests: ").append(toIndentedString(maxConcurrentRequests)).append("\n");
sb.append(" maxResultsPerRequests: ").append(toIndentedString(maxResultsPerRequests)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" propagationPending: ").append(toIndentedString(propagationPending)).append("\n");
sb.append(" pullConnection: ").append(toIndentedString(pullConnection)).append("\n");
sb.append(" statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
sb.append(" transforms: ").append(toIndentedString(transforms)).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 ");
}
}