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

org.openmetadata.schema.analytics.DataAssetValues Maven / Gradle / Ivy

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

package org.openmetadata.schema.analytics;

import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Count or Size in bytes of Data Assets over a time period
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "threeDays",
    "sevenDays",
    "fourteenDays",
    "thirtyDays",
    "sixtyDays"
})
@Generated("jsonschema2pojo")
public class DataAssetValues {

    /**
     * Data Asset Count or Size for 3 days
     * 
     */
    @JsonProperty("threeDays")
    @JsonPropertyDescription("Data Asset Count or Size for 3 days")
    private Object threeDays;
    /**
     * Data Asset Count or Size for 7 days
     * 
     */
    @JsonProperty("sevenDays")
    @JsonPropertyDescription("Data Asset Count or Size for 7 days")
    private Object sevenDays;
    /**
     * Data Asset Count or Size for 14 days
     * 
     */
    @JsonProperty("fourteenDays")
    @JsonPropertyDescription("Data Asset Count or Size for 14 days")
    private Object fourteenDays;
    /**
     * Data Asset Count or Size for 30 days
     * 
     */
    @JsonProperty("thirtyDays")
    @JsonPropertyDescription("Data Asset Count or Size for 30 days")
    private Object thirtyDays;
    /**
     * Data Asset Count or Size for 60 days
     * 
     */
    @JsonProperty("sixtyDays")
    @JsonPropertyDescription("Data Asset Count or Size for 60 days")
    private Object sixtyDays;

    /**
     * Data Asset Count or Size for 3 days
     * 
     */
    @JsonProperty("threeDays")
    public Object getThreeDays() {
        return threeDays;
    }

    /**
     * Data Asset Count or Size for 3 days
     * 
     */
    @JsonProperty("threeDays")
    public void setThreeDays(Object threeDays) {
        this.threeDays = threeDays;
    }

    public DataAssetValues withThreeDays(Object threeDays) {
        this.threeDays = threeDays;
        return this;
    }

    /**
     * Data Asset Count or Size for 7 days
     * 
     */
    @JsonProperty("sevenDays")
    public Object getSevenDays() {
        return sevenDays;
    }

    /**
     * Data Asset Count or Size for 7 days
     * 
     */
    @JsonProperty("sevenDays")
    public void setSevenDays(Object sevenDays) {
        this.sevenDays = sevenDays;
    }

    public DataAssetValues withSevenDays(Object sevenDays) {
        this.sevenDays = sevenDays;
        return this;
    }

    /**
     * Data Asset Count or Size for 14 days
     * 
     */
    @JsonProperty("fourteenDays")
    public Object getFourteenDays() {
        return fourteenDays;
    }

    /**
     * Data Asset Count or Size for 14 days
     * 
     */
    @JsonProperty("fourteenDays")
    public void setFourteenDays(Object fourteenDays) {
        this.fourteenDays = fourteenDays;
    }

    public DataAssetValues withFourteenDays(Object fourteenDays) {
        this.fourteenDays = fourteenDays;
        return this;
    }

    /**
     * Data Asset Count or Size for 30 days
     * 
     */
    @JsonProperty("thirtyDays")
    public Object getThirtyDays() {
        return thirtyDays;
    }

    /**
     * Data Asset Count or Size for 30 days
     * 
     */
    @JsonProperty("thirtyDays")
    public void setThirtyDays(Object thirtyDays) {
        this.thirtyDays = thirtyDays;
    }

    public DataAssetValues withThirtyDays(Object thirtyDays) {
        this.thirtyDays = thirtyDays;
        return this;
    }

    /**
     * Data Asset Count or Size for 60 days
     * 
     */
    @JsonProperty("sixtyDays")
    public Object getSixtyDays() {
        return sixtyDays;
    }

    /**
     * Data Asset Count or Size for 60 days
     * 
     */
    @JsonProperty("sixtyDays")
    public void setSixtyDays(Object sixtyDays) {
        this.sixtyDays = sixtyDays;
    }

    public DataAssetValues withSixtyDays(Object sixtyDays) {
        this.sixtyDays = sixtyDays;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(DataAssetValues.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
        sb.append("threeDays");
        sb.append('=');
        sb.append(((this.threeDays == null)?"":this.threeDays));
        sb.append(',');
        sb.append("sevenDays");
        sb.append('=');
        sb.append(((this.sevenDays == null)?"":this.sevenDays));
        sb.append(',');
        sb.append("fourteenDays");
        sb.append('=');
        sb.append(((this.fourteenDays == null)?"":this.fourteenDays));
        sb.append(',');
        sb.append("thirtyDays");
        sb.append('=');
        sb.append(((this.thirtyDays == null)?"":this.thirtyDays));
        sb.append(',');
        sb.append("sixtyDays");
        sb.append('=');
        sb.append(((this.sixtyDays == null)?"":this.sixtyDays));
        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.thirtyDays == null)? 0 :this.thirtyDays.hashCode()));
        result = ((result* 31)+((this.threeDays == null)? 0 :this.threeDays.hashCode()));
        result = ((result* 31)+((this.fourteenDays == null)? 0 :this.fourteenDays.hashCode()));
        result = ((result* 31)+((this.sixtyDays == null)? 0 :this.sixtyDays.hashCode()));
        result = ((result* 31)+((this.sevenDays == null)? 0 :this.sevenDays.hashCode()));
        return result;
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof DataAssetValues) == false) {
            return false;
        }
        DataAssetValues rhs = ((DataAssetValues) other);
        return ((((((this.thirtyDays == rhs.thirtyDays)||((this.thirtyDays!= null)&&this.thirtyDays.equals(rhs.thirtyDays)))&&((this.threeDays == rhs.threeDays)||((this.threeDays!= null)&&this.threeDays.equals(rhs.threeDays))))&&((this.fourteenDays == rhs.fourteenDays)||((this.fourteenDays!= null)&&this.fourteenDays.equals(rhs.fourteenDays))))&&((this.sixtyDays == rhs.sixtyDays)||((this.sixtyDays!= null)&&this.sixtyDays.equals(rhs.sixtyDays))))&&((this.sevenDays == rhs.sevenDays)||((this.sevenDays!= null)&&this.sevenDays.equals(rhs.sevenDays))));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy