package io.delphiplatform.api.v3.model.ads;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Objects;

public class DecibelLabel {

    @JsonProperty("decibel_label_id")
    private Integer decibelLabelId;

    @JsonProperty("decibel_label_name")
    private String decibelLabelName;

    public DecibelLabel decibelLabelId(Integer decibelLabelId) {
        this.decibelLabelId = decibelLabelId;
        return this;
    }


    public Integer getDecibelLabelId() {
        return decibelLabelId;
    }

    public void setDecibelLabelId(Integer decibelLabelId) {
        this.decibelLabelId = decibelLabelId;
    }

    public DecibelLabel decibelLabelName(String decibelLabelName) {
        this.decibelLabelName = decibelLabelName;
        return this;
    }


    public String getDecibelLabelName() {
        return decibelLabelName;
    }

    public void setDecibelLabelName(String decibelLabelName) {
        this.decibelLabelName = decibelLabelName;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        DecibelLabel decibelLabel = (DecibelLabel) o;
        return Objects.equals(this.decibelLabelId, decibelLabel.decibelLabelId) &&
            Objects.equals(this.decibelLabelName, decibelLabel.decibelLabelName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(decibelLabelId, decibelLabelName);
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class DecibelLabel {\n");

        sb.append("    decibelLabelId: ").append(toIndentedString(decibelLabelId)).append("\n");
        sb.append("    decibelLabelName: ").append(toIndentedString(decibelLabelName)).append("\n");
        sb.append("}");
        return sb.toString();
    }

    private String toIndentedString(Object o) {
        if (o == null) {
            return "null";
        }
        return o.toString().replace("\n", "\n    ");
    }
}

