org.openmetadata.schema.entity.app.App Maven / Gradle / Ivy
package org.openmetadata.schema.entity.app;
import java.net.URI;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import javax.annotation.processing.Generated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.openmetadata.schema.EntityInterface;
import org.openmetadata.schema.services.connections.metadata.OpenMetadataConnection;
import org.openmetadata.schema.type.ChangeDescription;
import org.openmetadata.schema.type.EntityReference;
import org.openmetadata.schema.type.ProviderType;
/**
* App
*
* This schema defines the applications for Open-Metadata.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"name",
"displayName",
"description",
"features",
"fullyQualifiedName",
"owners",
"version",
"updatedAt",
"updatedBy",
"href",
"changeDescription",
"deleted",
"provider",
"developer",
"developerUrl",
"privacyPolicyUrl",
"supportEmail",
"className",
"sourcePythonClass",
"appType",
"scheduleType",
"permission",
"bot",
"runtime",
"allowConfiguration",
"system",
"appConfiguration",
"privateConfiguration",
"preview",
"pipelines",
"appSchedule",
"openMetadataServerConnection",
"appLogoUrl",
"appScreenshots",
"domain"
})
@Generated("jsonschema2pojo")
public class App implements EntityInterface
{
/**
* Unique id used to identify an entity.
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("Unique id used to identify an entity.")
@NotNull
private UUID id;
/**
* Name that identifies an entity.
* (Required)
*
*/
@JsonProperty("name")
@JsonPropertyDescription("Name that identifies an entity.")
@Pattern(regexp = "^((?!::).)*$")
@Size(min = 1, max = 256)
@NotNull
private String name;
/**
* Display Name for the application.
*
*/
@JsonProperty("displayName")
@JsonPropertyDescription("Display Name for the application.")
private String displayName;
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("description")
@JsonPropertyDescription("Text in Markdown format.")
private String description;
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("features")
@JsonPropertyDescription("Text in Markdown format.")
private String features;
/**
* A unique name that identifies an entity. Example for table 'DatabaseService.Database.Schema.Table'.
*
*/
@JsonProperty("fullyQualifiedName")
@JsonPropertyDescription("A unique name that identifies an entity. Example for table 'DatabaseService.Database.Schema.Table'.")
@Size(min = 1, max = 3072)
private String fullyQualifiedName;
/**
* Entity Reference List
*
* This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("owners")
@JsonPropertyDescription("This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.")
@Valid
private List owners = null;
/**
* Metadata version of the entity in the form `Major.Minor`. First version always starts from `0.1` when the entity is created. When the backward compatible changes are made to the entity, only the `Minor` version is incremented - example `1.0` is changed to `1.1`. When backward incompatible changes are made the `Major` version is incremented - example `1.1` to `2.0`.
*
*/
@JsonProperty("version")
@JsonPropertyDescription("Metadata version of the entity in the form `Major.Minor`. First version always starts from `0.1` when the entity is created. When the backward compatible changes are made to the entity, only the `Minor` version is incremented - example `1.0` is changed to `1.1`. When backward incompatible changes are made the `Major` version is incremented - example `1.1` to `2.0`.")
private Double version = 0.1D;
/**
* Timestamp in Unix epoch time milliseconds.@om-field-type
*
*/
@JsonProperty("updatedAt")
@JsonPropertyDescription("Timestamp in Unix epoch time milliseconds.")
private Long updatedAt;
/**
* User who made the update.
*
*/
@JsonProperty("updatedBy")
@JsonPropertyDescription("User who made the update.")
private String updatedBy;
/**
* URI that points to a resource.
*
*/
@JsonProperty("href")
@JsonPropertyDescription("URI that points to a resource.")
private URI href;
/**
* Description of the change.
*
*/
@JsonProperty("changeDescription")
@JsonPropertyDescription("Description of the change.")
@Valid
private ChangeDescription changeDescription;
/**
* When `true` indicates the entity has been soft deleted.
*
*/
@JsonProperty("deleted")
@JsonPropertyDescription("When `true` indicates the entity has been soft deleted.")
private Boolean deleted = false;
/**
* Type of provider of an entity. Some entities are provided by the `system`. Some are entities created and provided by the `user`. Typically `system` provide entities can't be deleted and can only be disabled.
*
*/
@JsonProperty("provider")
@JsonPropertyDescription("Type of provider of an entity. Some entities are provided by the `system`. Some are entities created and provided by the `user`. Typically `system` provide entities can't be deleted and can only be disabled.")
private ProviderType provider = ProviderType.fromValue("user");
/**
* Developer For the Application.
*
*/
@JsonProperty("developer")
@JsonPropertyDescription("Developer For the Application.")
private String developer;
/**
* Url for the developer
*
*/
@JsonProperty("developerUrl")
@JsonPropertyDescription("Url for the developer")
private String developerUrl;
/**
* Privacy Policy for the developer
*
*/
@JsonProperty("privacyPolicyUrl")
@JsonPropertyDescription("Privacy Policy for the developer")
private String privacyPolicyUrl;
/**
* Support Email for the application
*
*/
@JsonProperty("supportEmail")
@JsonPropertyDescription("Support Email for the application")
private String supportEmail;
/**
* Fully Qualified ClassName for the Schedule
* (Required)
*
*/
@JsonProperty("className")
@JsonPropertyDescription("Fully Qualified ClassName for the Schedule")
@NotNull
private String className;
/**
* Fully Qualified class name for the Python source that will execute the external application.
*
*/
@JsonProperty("sourcePythonClass")
@JsonPropertyDescription("Fully Qualified class name for the Python source that will execute the external application.")
private String sourcePythonClass;
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("appType")
@JsonPropertyDescription("This schema defines the type of application.")
@NotNull
private AppType appType;
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("scheduleType")
@JsonPropertyDescription("This schema defines the type of application.")
@NotNull
private ScheduleType scheduleType;
/**
* This schema defines the Permission used by Native Application.
* (Required)
*
*/
@JsonProperty("permission")
@JsonPropertyDescription("This schema defines the Permission used by Native Application.")
@NotNull
private NativeAppPermission permission;
/**
* Entity Reference
*
* This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("bot")
@JsonPropertyDescription("This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.")
@Valid
private EntityReference bot;
/**
* Execution Configuration.
* (Required)
*
*/
@JsonProperty("runtime")
@JsonPropertyDescription("Execution Configuration.")
@NotNull
private Object runtime;
/**
* Allow users to configure the app from the UI. If `false`, the `configure` step will be hidden.
*
*/
@JsonProperty("allowConfiguration")
@JsonPropertyDescription("Allow users to configure the app from the UI. If `false`, the `configure` step will be hidden.")
private Boolean allowConfiguration = true;
/**
* A system app cannot be uninstalled or modified.
*
*/
@JsonProperty("system")
@JsonPropertyDescription("A system app cannot be uninstalled or modified.")
private Boolean system = false;
@JsonProperty("appConfiguration")
private Object appConfiguration;
@JsonProperty("privateConfiguration")
private Object privateConfiguration;
/**
* Flag to enable/disable preview for the application. If the app is in preview mode, it can't be installed.
*
*/
@JsonProperty("preview")
@JsonPropertyDescription("Flag to enable/disable preview for the application. If the app is in preview mode, it can't be installed.")
private Boolean preview = false;
/**
* Entity Reference List
*
* This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("pipelines")
@JsonPropertyDescription("This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.")
@Valid
private List pipelines = null;
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("appSchedule")
@JsonPropertyDescription("This schema defines the type of application.")
@NotNull
private AppSchedule appSchedule;
/**
* OpenMetadataConnection
*
* OpenMetadata Connection Config
*
*/
@JsonProperty("openMetadataServerConnection")
@JsonPropertyDescription("OpenMetadata Connection Config")
@Valid
private OpenMetadataConnection openMetadataServerConnection;
/**
* Application Logo Url.
*
*/
@JsonProperty("appLogoUrl")
@JsonPropertyDescription("Application Logo Url.")
private URI appLogoUrl;
/**
* Application Screenshots.
*
*/
@JsonProperty("appScreenshots")
@JsonDeserialize(as = java.util.LinkedHashSet.class)
@JsonPropertyDescription("Application Screenshots.")
@Valid
private Set appScreenshots = new LinkedHashSet();
/**
* Entity Reference
*
* This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("domain")
@JsonPropertyDescription("This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.")
@Valid
private EntityReference domain;
/**
* Unique id used to identify an entity.
* (Required)
*
*/
@JsonProperty("id")
public UUID getId() {
return id;
}
/**
* Unique id used to identify an entity.
* (Required)
*
*/
@JsonProperty("id")
public void setId(UUID id) {
this.id = id;
}
public App withId(UUID id) {
this.id = id;
return this;
}
/**
* Name that identifies an entity.
* (Required)
*
*/
@JsonProperty("name")
public String getName() {
return name;
}
/**
* Name that identifies an entity.
* (Required)
*
*/
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
public App withName(String name) {
this.name = name;
return this;
}
/**
* Display Name for the application.
*
*/
@JsonProperty("displayName")
public String getDisplayName() {
return displayName;
}
/**
* Display Name for the application.
*
*/
@JsonProperty("displayName")
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public App withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
public App withDescription(String description) {
this.description = description;
return this;
}
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("features")
public String getFeatures() {
return features;
}
/**
* Text in Markdown format.@om-field-type
*
*/
@JsonProperty("features")
public void setFeatures(String features) {
this.features = features;
}
public App withFeatures(String features) {
this.features = features;
return this;
}
/**
* A unique name that identifies an entity. Example for table 'DatabaseService.Database.Schema.Table'.
*
*/
@JsonProperty("fullyQualifiedName")
public String getFullyQualifiedName() {
return fullyQualifiedName;
}
/**
* A unique name that identifies an entity. Example for table 'DatabaseService.Database.Schema.Table'.
*
*/
@JsonProperty("fullyQualifiedName")
public void setFullyQualifiedName(String fullyQualifiedName) {
this.fullyQualifiedName = fullyQualifiedName;
}
public App withFullyQualifiedName(String fullyQualifiedName) {
this.fullyQualifiedName = fullyQualifiedName;
return this;
}
/**
* Entity Reference List
*
* This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("owners")
public List getOwners() {
return owners;
}
/**
* Entity Reference List
*
* This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("owners")
public void setOwners(List owners) {
this.owners = owners;
}
public App withOwners(List owners) {
this.owners = owners;
return this;
}
/**
* Metadata version of the entity in the form `Major.Minor`. First version always starts from `0.1` when the entity is created. When the backward compatible changes are made to the entity, only the `Minor` version is incremented - example `1.0` is changed to `1.1`. When backward incompatible changes are made the `Major` version is incremented - example `1.1` to `2.0`.
*
*/
@JsonProperty("version")
public Double getVersion() {
return version;
}
/**
* Metadata version of the entity in the form `Major.Minor`. First version always starts from `0.1` when the entity is created. When the backward compatible changes are made to the entity, only the `Minor` version is incremented - example `1.0` is changed to `1.1`. When backward incompatible changes are made the `Major` version is incremented - example `1.1` to `2.0`.
*
*/
@JsonProperty("version")
public void setVersion(Double version) {
this.version = version;
}
public App withVersion(Double version) {
this.version = version;
return this;
}
/**
* Timestamp in Unix epoch time milliseconds.@om-field-type
*
*/
@JsonProperty("updatedAt")
public Long getUpdatedAt() {
return updatedAt;
}
/**
* Timestamp in Unix epoch time milliseconds.@om-field-type
*
*/
@JsonProperty("updatedAt")
public void setUpdatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
}
public App withUpdatedAt(Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* User who made the update.
*
*/
@JsonProperty("updatedBy")
public String getUpdatedBy() {
return updatedBy;
}
/**
* User who made the update.
*
*/
@JsonProperty("updatedBy")
public void setUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
}
public App withUpdatedBy(String updatedBy) {
this.updatedBy = updatedBy;
return this;
}
/**
* URI that points to a resource.
*
*/
@JsonProperty("href")
public URI getHref() {
return href;
}
/**
* URI that points to a resource.
*
*/
@JsonProperty("href")
public void setHref(URI href) {
this.href = href;
}
public App withHref(URI href) {
this.href = href;
return this;
}
/**
* Description of the change.
*
*/
@JsonProperty("changeDescription")
public ChangeDescription getChangeDescription() {
return changeDescription;
}
/**
* Description of the change.
*
*/
@JsonProperty("changeDescription")
public void setChangeDescription(ChangeDescription changeDescription) {
this.changeDescription = changeDescription;
}
public App withChangeDescription(ChangeDescription changeDescription) {
this.changeDescription = changeDescription;
return this;
}
/**
* When `true` indicates the entity has been soft deleted.
*
*/
@JsonProperty("deleted")
public Boolean getDeleted() {
return deleted;
}
/**
* When `true` indicates the entity has been soft deleted.
*
*/
@JsonProperty("deleted")
public void setDeleted(Boolean deleted) {
this.deleted = deleted;
}
public App withDeleted(Boolean deleted) {
this.deleted = deleted;
return this;
}
/**
* Type of provider of an entity. Some entities are provided by the `system`. Some are entities created and provided by the `user`. Typically `system` provide entities can't be deleted and can only be disabled.
*
*/
@JsonProperty("provider")
public ProviderType getProvider() {
return provider;
}
/**
* Type of provider of an entity. Some entities are provided by the `system`. Some are entities created and provided by the `user`. Typically `system` provide entities can't be deleted and can only be disabled.
*
*/
@JsonProperty("provider")
public void setProvider(ProviderType provider) {
this.provider = provider;
}
public App withProvider(ProviderType provider) {
this.provider = provider;
return this;
}
/**
* Developer For the Application.
*
*/
@JsonProperty("developer")
public String getDeveloper() {
return developer;
}
/**
* Developer For the Application.
*
*/
@JsonProperty("developer")
public void setDeveloper(String developer) {
this.developer = developer;
}
public App withDeveloper(String developer) {
this.developer = developer;
return this;
}
/**
* Url for the developer
*
*/
@JsonProperty("developerUrl")
public String getDeveloperUrl() {
return developerUrl;
}
/**
* Url for the developer
*
*/
@JsonProperty("developerUrl")
public void setDeveloperUrl(String developerUrl) {
this.developerUrl = developerUrl;
}
public App withDeveloperUrl(String developerUrl) {
this.developerUrl = developerUrl;
return this;
}
/**
* Privacy Policy for the developer
*
*/
@JsonProperty("privacyPolicyUrl")
public String getPrivacyPolicyUrl() {
return privacyPolicyUrl;
}
/**
* Privacy Policy for the developer
*
*/
@JsonProperty("privacyPolicyUrl")
public void setPrivacyPolicyUrl(String privacyPolicyUrl) {
this.privacyPolicyUrl = privacyPolicyUrl;
}
public App withPrivacyPolicyUrl(String privacyPolicyUrl) {
this.privacyPolicyUrl = privacyPolicyUrl;
return this;
}
/**
* Support Email for the application
*
*/
@JsonProperty("supportEmail")
public String getSupportEmail() {
return supportEmail;
}
/**
* Support Email for the application
*
*/
@JsonProperty("supportEmail")
public void setSupportEmail(String supportEmail) {
this.supportEmail = supportEmail;
}
public App withSupportEmail(String supportEmail) {
this.supportEmail = supportEmail;
return this;
}
/**
* Fully Qualified ClassName for the Schedule
* (Required)
*
*/
@JsonProperty("className")
public String getClassName() {
return className;
}
/**
* Fully Qualified ClassName for the Schedule
* (Required)
*
*/
@JsonProperty("className")
public void setClassName(String className) {
this.className = className;
}
public App withClassName(String className) {
this.className = className;
return this;
}
/**
* Fully Qualified class name for the Python source that will execute the external application.
*
*/
@JsonProperty("sourcePythonClass")
public String getSourcePythonClass() {
return sourcePythonClass;
}
/**
* Fully Qualified class name for the Python source that will execute the external application.
*
*/
@JsonProperty("sourcePythonClass")
public void setSourcePythonClass(String sourcePythonClass) {
this.sourcePythonClass = sourcePythonClass;
}
public App withSourcePythonClass(String sourcePythonClass) {
this.sourcePythonClass = sourcePythonClass;
return this;
}
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("appType")
public AppType getAppType() {
return appType;
}
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("appType")
public void setAppType(AppType appType) {
this.appType = appType;
}
public App withAppType(AppType appType) {
this.appType = appType;
return this;
}
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("scheduleType")
public ScheduleType getScheduleType() {
return scheduleType;
}
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("scheduleType")
public void setScheduleType(ScheduleType scheduleType) {
this.scheduleType = scheduleType;
}
public App withScheduleType(ScheduleType scheduleType) {
this.scheduleType = scheduleType;
return this;
}
/**
* This schema defines the Permission used by Native Application.
* (Required)
*
*/
@JsonProperty("permission")
public NativeAppPermission getPermission() {
return permission;
}
/**
* This schema defines the Permission used by Native Application.
* (Required)
*
*/
@JsonProperty("permission")
public void setPermission(NativeAppPermission permission) {
this.permission = permission;
}
public App withPermission(NativeAppPermission permission) {
this.permission = permission;
return this;
}
/**
* Entity Reference
*
* This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("bot")
public EntityReference getBot() {
return bot;
}
/**
* Entity Reference
*
* This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("bot")
public void setBot(EntityReference bot) {
this.bot = bot;
}
public App withBot(EntityReference bot) {
this.bot = bot;
return this;
}
/**
* Execution Configuration.
* (Required)
*
*/
@JsonProperty("runtime")
public Object getRuntime() {
return runtime;
}
/**
* Execution Configuration.
* (Required)
*
*/
@JsonProperty("runtime")
public void setRuntime(Object runtime) {
this.runtime = runtime;
}
public App withRuntime(Object runtime) {
this.runtime = runtime;
return this;
}
/**
* Allow users to configure the app from the UI. If `false`, the `configure` step will be hidden.
*
*/
@JsonProperty("allowConfiguration")
public Boolean getAllowConfiguration() {
return allowConfiguration;
}
/**
* Allow users to configure the app from the UI. If `false`, the `configure` step will be hidden.
*
*/
@JsonProperty("allowConfiguration")
public void setAllowConfiguration(Boolean allowConfiguration) {
this.allowConfiguration = allowConfiguration;
}
public App withAllowConfiguration(Boolean allowConfiguration) {
this.allowConfiguration = allowConfiguration;
return this;
}
/**
* A system app cannot be uninstalled or modified.
*
*/
@JsonProperty("system")
public Boolean getSystem() {
return system;
}
/**
* A system app cannot be uninstalled or modified.
*
*/
@JsonProperty("system")
public void setSystem(Boolean system) {
this.system = system;
}
public App withSystem(Boolean system) {
this.system = system;
return this;
}
@JsonProperty("appConfiguration")
public Object getAppConfiguration() {
return appConfiguration;
}
@JsonProperty("appConfiguration")
public void setAppConfiguration(Object appConfiguration) {
this.appConfiguration = appConfiguration;
}
public App withAppConfiguration(Object appConfiguration) {
this.appConfiguration = appConfiguration;
return this;
}
@JsonProperty("privateConfiguration")
public Object getPrivateConfiguration() {
return privateConfiguration;
}
@JsonProperty("privateConfiguration")
public void setPrivateConfiguration(Object privateConfiguration) {
this.privateConfiguration = privateConfiguration;
}
public App withPrivateConfiguration(Object privateConfiguration) {
this.privateConfiguration = privateConfiguration;
return this;
}
/**
* Flag to enable/disable preview for the application. If the app is in preview mode, it can't be installed.
*
*/
@JsonProperty("preview")
public Boolean getPreview() {
return preview;
}
/**
* Flag to enable/disable preview for the application. If the app is in preview mode, it can't be installed.
*
*/
@JsonProperty("preview")
public void setPreview(Boolean preview) {
this.preview = preview;
}
public App withPreview(Boolean preview) {
this.preview = preview;
return this;
}
/**
* Entity Reference List
*
* This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("pipelines")
public List getPipelines() {
return pipelines;
}
/**
* Entity Reference List
*
* This schema defines the EntityReferenceList type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("pipelines")
public void setPipelines(List pipelines) {
this.pipelines = pipelines;
}
public App withPipelines(List pipelines) {
this.pipelines = pipelines;
return this;
}
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("appSchedule")
public AppSchedule getAppSchedule() {
return appSchedule;
}
/**
* This schema defines the type of application.
* (Required)
*
*/
@JsonProperty("appSchedule")
public void setAppSchedule(AppSchedule appSchedule) {
this.appSchedule = appSchedule;
}
public App withAppSchedule(AppSchedule appSchedule) {
this.appSchedule = appSchedule;
return this;
}
/**
* OpenMetadataConnection
*
* OpenMetadata Connection Config
*
*/
@JsonProperty("openMetadataServerConnection")
public OpenMetadataConnection getOpenMetadataServerConnection() {
return openMetadataServerConnection;
}
/**
* OpenMetadataConnection
*
* OpenMetadata Connection Config
*
*/
@JsonProperty("openMetadataServerConnection")
public void setOpenMetadataServerConnection(OpenMetadataConnection openMetadataServerConnection) {
this.openMetadataServerConnection = openMetadataServerConnection;
}
public App withOpenMetadataServerConnection(OpenMetadataConnection openMetadataServerConnection) {
this.openMetadataServerConnection = openMetadataServerConnection;
return this;
}
/**
* Application Logo Url.
*
*/
@JsonProperty("appLogoUrl")
public URI getAppLogoUrl() {
return appLogoUrl;
}
/**
* Application Logo Url.
*
*/
@JsonProperty("appLogoUrl")
public void setAppLogoUrl(URI appLogoUrl) {
this.appLogoUrl = appLogoUrl;
}
public App withAppLogoUrl(URI appLogoUrl) {
this.appLogoUrl = appLogoUrl;
return this;
}
/**
* Application Screenshots.
*
*/
@JsonProperty("appScreenshots")
public Set getAppScreenshots() {
return appScreenshots;
}
/**
* Application Screenshots.
*
*/
@JsonProperty("appScreenshots")
public void setAppScreenshots(Set appScreenshots) {
this.appScreenshots = appScreenshots;
}
public App withAppScreenshots(Set appScreenshots) {
this.appScreenshots = appScreenshots;
return this;
}
/**
* Entity Reference
*
* This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("domain")
public EntityReference getDomain() {
return domain;
}
/**
* Entity Reference
*
* This schema defines the EntityReference type used for referencing an entity. EntityReference is used for capturing relationships from one entity to another. For example, a table has an attribute called database of type EntityReference that captures the relationship of a table `belongs to a` database.
*
*/
@JsonProperty("domain")
public void setDomain(EntityReference domain) {
this.domain = domain;
}
public App withDomain(EntityReference domain) {
this.domain = domain;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(App.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("id");
sb.append('=');
sb.append(((this.id == null)?"":this.id));
sb.append(',');
sb.append("name");
sb.append('=');
sb.append(((this.name == null)?"":this.name));
sb.append(',');
sb.append("displayName");
sb.append('=');
sb.append(((this.displayName == null)?"":this.displayName));
sb.append(',');
sb.append("description");
sb.append('=');
sb.append(((this.description == null)?"":this.description));
sb.append(',');
sb.append("features");
sb.append('=');
sb.append(((this.features == null)?"":this.features));
sb.append(',');
sb.append("fullyQualifiedName");
sb.append('=');
sb.append(((this.fullyQualifiedName == null)?"":this.fullyQualifiedName));
sb.append(',');
sb.append("owners");
sb.append('=');
sb.append(((this.owners == null)?"":this.owners));
sb.append(',');
sb.append("version");
sb.append('=');
sb.append(((this.version == null)?"":this.version));
sb.append(',');
sb.append("updatedAt");
sb.append('=');
sb.append(((this.updatedAt == null)?"":this.updatedAt));
sb.append(',');
sb.append("updatedBy");
sb.append('=');
sb.append(((this.updatedBy == null)?"":this.updatedBy));
sb.append(',');
sb.append("href");
sb.append('=');
sb.append(((this.href == null)?"":this.href));
sb.append(',');
sb.append("changeDescription");
sb.append('=');
sb.append(((this.changeDescription == null)?"":this.changeDescription));
sb.append(',');
sb.append("deleted");
sb.append('=');
sb.append(((this.deleted == null)?"":this.deleted));
sb.append(',');
sb.append("provider");
sb.append('=');
sb.append(((this.provider == null)?"":this.provider));
sb.append(',');
sb.append("developer");
sb.append('=');
sb.append(((this.developer == null)?"":this.developer));
sb.append(',');
sb.append("developerUrl");
sb.append('=');
sb.append(((this.developerUrl == null)?"":this.developerUrl));
sb.append(',');
sb.append("privacyPolicyUrl");
sb.append('=');
sb.append(((this.privacyPolicyUrl == null)?"":this.privacyPolicyUrl));
sb.append(',');
sb.append("supportEmail");
sb.append('=');
sb.append(((this.supportEmail == null)?"":this.supportEmail));
sb.append(',');
sb.append("className");
sb.append('=');
sb.append(((this.className == null)?"":this.className));
sb.append(',');
sb.append("sourcePythonClass");
sb.append('=');
sb.append(((this.sourcePythonClass == null)?"":this.sourcePythonClass));
sb.append(',');
sb.append("appType");
sb.append('=');
sb.append(((this.appType == null)?"":this.appType));
sb.append(',');
sb.append("scheduleType");
sb.append('=');
sb.append(((this.scheduleType == null)?"":this.scheduleType));
sb.append(',');
sb.append("permission");
sb.append('=');
sb.append(((this.permission == null)?"":this.permission));
sb.append(',');
sb.append("bot");
sb.append('=');
sb.append(((this.bot == null)?"":this.bot));
sb.append(',');
sb.append("runtime");
sb.append('=');
sb.append(((this.runtime == null)?"":this.runtime));
sb.append(',');
sb.append("allowConfiguration");
sb.append('=');
sb.append(((this.allowConfiguration == null)?"":this.allowConfiguration));
sb.append(',');
sb.append("system");
sb.append('=');
sb.append(((this.system == null)?"":this.system));
sb.append(',');
sb.append("appConfiguration");
sb.append('=');
sb.append(((this.appConfiguration == null)?"":this.appConfiguration));
sb.append(',');
sb.append("privateConfiguration");
sb.append('=');
sb.append(((this.privateConfiguration == null)?"":this.privateConfiguration));
sb.append(',');
sb.append("preview");
sb.append('=');
sb.append(((this.preview == null)?"":this.preview));
sb.append(',');
sb.append("pipelines");
sb.append('=');
sb.append(((this.pipelines == null)?"":this.pipelines));
sb.append(',');
sb.append("appSchedule");
sb.append('=');
sb.append(((this.appSchedule == null)?"":this.appSchedule));
sb.append(',');
sb.append("openMetadataServerConnection");
sb.append('=');
sb.append(((this.openMetadataServerConnection == null)?"":this.openMetadataServerConnection));
sb.append(',');
sb.append("appLogoUrl");
sb.append('=');
sb.append(((this.appLogoUrl == null)?"":this.appLogoUrl));
sb.append(',');
sb.append("appScreenshots");
sb.append('=');
sb.append(((this.appScreenshots == null)?"":this.appScreenshots));
sb.append(',');
sb.append("domain");
sb.append('=');
sb.append(((this.domain == null)?"":this.domain));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.preview == null)? 0 :this.preview.hashCode()));
result = ((result* 31)+((this.displayName == null)? 0 :this.displayName.hashCode()));
result = ((result* 31)+((this.bot == null)? 0 :this.bot.hashCode()));
result = ((result* 31)+((this.description == null)? 0 :this.description.hashCode()));
result = ((result* 31)+((this.appLogoUrl == null)? 0 :this.appLogoUrl.hashCode()));
result = ((result* 31)+((this.owners == null)? 0 :this.owners.hashCode()));
result = ((result* 31)+((this.className == null)? 0 :this.className.hashCode()));
result = ((result* 31)+((this.appConfiguration == null)? 0 :this.appConfiguration.hashCode()));
result = ((result* 31)+((this.openMetadataServerConnection == null)? 0 :this.openMetadataServerConnection.hashCode()));
result = ((result* 31)+((this.sourcePythonClass == null)? 0 :this.sourcePythonClass.hashCode()));
result = ((result* 31)+((this.features == null)? 0 :this.features.hashCode()));
result = ((result* 31)+((this.pipelines == null)? 0 :this.pipelines.hashCode()));
result = ((result* 31)+((this.provider == null)? 0 :this.provider.hashCode()));
result = ((result* 31)+((this.appType == null)? 0 :this.appType.hashCode()));
result = ((result* 31)+((this.id == null)? 0 :this.id.hashCode()));
result = ((result* 31)+((this.href == null)? 0 :this.href.hashCode()));
result = ((result* 31)+((this.updatedAt == null)? 0 :this.updatedAt.hashCode()));
result = ((result* 31)+((this.privateConfiguration == null)? 0 :this.privateConfiguration.hashCode()));
result = ((result* 31)+((this.appSchedule == null)? 0 :this.appSchedule.hashCode()));
result = ((result* 31)+((this.updatedBy == null)? 0 :this.updatedBy.hashCode()));
result = ((result* 31)+((this.changeDescription == null)? 0 :this.changeDescription.hashCode()));
result = ((result* 31)+((this.allowConfiguration == null)? 0 :this.allowConfiguration.hashCode()));
result = ((result* 31)+((this.runtime == null)? 0 :this.runtime.hashCode()));
result = ((result* 31)+((this.permission == null)? 0 :this.permission.hashCode()));
result = ((result* 31)+((this.developerUrl == null)? 0 :this.developerUrl.hashCode()));
result = ((result* 31)+((this.fullyQualifiedName == null)? 0 :this.fullyQualifiedName.hashCode()));
result = ((result* 31)+((this.version == null)? 0 :this.version.hashCode()));
result = ((result* 31)+((this.privacyPolicyUrl == null)? 0 :this.privacyPolicyUrl.hashCode()));
result = ((result* 31)+((this.appScreenshots == null)? 0 :this.appScreenshots.hashCode()));
result = ((result* 31)+((this.supportEmail == null)? 0 :this.supportEmail.hashCode()));
result = ((result* 31)+((this.deleted == null)? 0 :this.deleted.hashCode()));
result = ((result* 31)+((this.system == null)? 0 :this.system.hashCode()));
result = ((result* 31)+((this.scheduleType == null)? 0 :this.scheduleType.hashCode()));
result = ((result* 31)+((this.domain == null)? 0 :this.domain.hashCode()));
result = ((result* 31)+((this.name == null)? 0 :this.name.hashCode()));
result = ((result* 31)+((this.developer == null)? 0 :this.developer.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof App) == false) {
return false;
}
App rhs = ((App) other);
return (((((((((((((((((((((((((((((((((((((this.preview == rhs.preview)||((this.preview!= null)&&this.preview.equals(rhs.preview)))&&((this.displayName == rhs.displayName)||((this.displayName!= null)&&this.displayName.equals(rhs.displayName))))&&((this.bot == rhs.bot)||((this.bot!= null)&&this.bot.equals(rhs.bot))))&&((this.description == rhs.description)||((this.description!= null)&&this.description.equals(rhs.description))))&&((this.appLogoUrl == rhs.appLogoUrl)||((this.appLogoUrl!= null)&&this.appLogoUrl.equals(rhs.appLogoUrl))))&&((this.owners == rhs.owners)||((this.owners!= null)&&this.owners.equals(rhs.owners))))&&((this.className == rhs.className)||((this.className!= null)&&this.className.equals(rhs.className))))&&((this.appConfiguration == rhs.appConfiguration)||((this.appConfiguration!= null)&&this.appConfiguration.equals(rhs.appConfiguration))))&&((this.openMetadataServerConnection == rhs.openMetadataServerConnection)||((this.openMetadataServerConnection!= null)&&this.openMetadataServerConnection.equals(rhs.openMetadataServerConnection))))&&((this.sourcePythonClass == rhs.sourcePythonClass)||((this.sourcePythonClass!= null)&&this.sourcePythonClass.equals(rhs.sourcePythonClass))))&&((this.features == rhs.features)||((this.features!= null)&&this.features.equals(rhs.features))))&&((this.pipelines == rhs.pipelines)||((this.pipelines!= null)&&this.pipelines.equals(rhs.pipelines))))&&((this.provider == rhs.provider)||((this.provider!= null)&&this.provider.equals(rhs.provider))))&&((this.appType == rhs.appType)||((this.appType!= null)&&this.appType.equals(rhs.appType))))&&((this.id == rhs.id)||((this.id!= null)&&this.id.equals(rhs.id))))&&((this.href == rhs.href)||((this.href!= null)&&this.href.equals(rhs.href))))&&((this.updatedAt == rhs.updatedAt)||((this.updatedAt!= null)&&this.updatedAt.equals(rhs.updatedAt))))&&((this.privateConfiguration == rhs.privateConfiguration)||((this.privateConfiguration!= null)&&this.privateConfiguration.equals(rhs.privateConfiguration))))&&((this.appSchedule == rhs.appSchedule)||((this.appSchedule!= null)&&this.appSchedule.equals(rhs.appSchedule))))&&((this.updatedBy == rhs.updatedBy)||((this.updatedBy!= null)&&this.updatedBy.equals(rhs.updatedBy))))&&((this.changeDescription == rhs.changeDescription)||((this.changeDescription!= null)&&this.changeDescription.equals(rhs.changeDescription))))&&((this.allowConfiguration == rhs.allowConfiguration)||((this.allowConfiguration!= null)&&this.allowConfiguration.equals(rhs.allowConfiguration))))&&((this.runtime == rhs.runtime)||((this.runtime!= null)&&this.runtime.equals(rhs.runtime))))&&((this.permission == rhs.permission)||((this.permission!= null)&&this.permission.equals(rhs.permission))))&&((this.developerUrl == rhs.developerUrl)||((this.developerUrl!= null)&&this.developerUrl.equals(rhs.developerUrl))))&&((this.fullyQualifiedName == rhs.fullyQualifiedName)||((this.fullyQualifiedName!= null)&&this.fullyQualifiedName.equals(rhs.fullyQualifiedName))))&&((this.version == rhs.version)||((this.version!= null)&&this.version.equals(rhs.version))))&&((this.privacyPolicyUrl == rhs.privacyPolicyUrl)||((this.privacyPolicyUrl!= null)&&this.privacyPolicyUrl.equals(rhs.privacyPolicyUrl))))&&((this.appScreenshots == rhs.appScreenshots)||((this.appScreenshots!= null)&&this.appScreenshots.equals(rhs.appScreenshots))))&&((this.supportEmail == rhs.supportEmail)||((this.supportEmail!= null)&&this.supportEmail.equals(rhs.supportEmail))))&&((this.deleted == rhs.deleted)||((this.deleted!= null)&&this.deleted.equals(rhs.deleted))))&&((this.system == rhs.system)||((this.system!= null)&&this.system.equals(rhs.system))))&&((this.scheduleType == rhs.scheduleType)||((this.scheduleType!= null)&&this.scheduleType.equals(rhs.scheduleType))))&&((this.domain == rhs.domain)||((this.domain!= null)&&this.domain.equals(rhs.domain))))&&((this.name == rhs.name)||((this.name!= null)&&this.name.equals(rhs.name))))&&((this.developer == rhs.developer)||((this.developer!= null)&&this.developer.equals(rhs.developer))));
}
}