All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.schema.entity.app.ScheduledExecutionContext Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.entity.app;

import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
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 org.openmetadata.schema.AppRuntime;


/**
 * JobRun
 * 

* Scheduled Execution Context Configuration. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "enabled" }) @Generated("jsonschema2pojo") public class ScheduledExecutionContext implements AppRuntime { /** * If Live Execution is Enabled. * */ @JsonProperty("enabled") @JsonPropertyDescription("If Live Execution is Enabled.") private Boolean enabled = false; @JsonIgnore @Valid private Map additionalProperties = new LinkedHashMap(); /** * If Live Execution is Enabled. * */ @JsonProperty("enabled") public Boolean getEnabled() { return enabled; } /** * If Live Execution is Enabled. * */ @JsonProperty("enabled") public void setEnabled(Boolean enabled) { this.enabled = enabled; } public ScheduledExecutionContext withEnabled(Boolean enabled) { this.enabled = enabled; return this; } @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } public ScheduledExecutionContext withAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(ScheduledExecutionContext.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("enabled"); sb.append('='); sb.append(((this.enabled == null)?"":this.enabled)); sb.append(','); sb.append("additionalProperties"); sb.append('='); sb.append(((this.additionalProperties == null)?"":this.additionalProperties)); 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.enabled == null)? 0 :this.enabled.hashCode())); result = ((result* 31)+((this.additionalProperties == null)? 0 :this.additionalProperties.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ScheduledExecutionContext) == false) { return false; } ScheduledExecutionContext rhs = ((ScheduledExecutionContext) other); return (((this.enabled == rhs.enabled)||((this.enabled!= null)&&this.enabled.equals(rhs.enabled)))&&((this.additionalProperties == rhs.additionalProperties)||((this.additionalProperties!= null)&&this.additionalProperties.equals(rhs.additionalProperties)))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy