content: /*
   * Copyright (c) 2020-2025 Airbyte, Inc., all rights reserved.
   */
  
  package io.airbyte.config;
  
  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.JsonPropertyOrder;
  import jakarta.annotation.Generated;
  import java.io.Serializable;
  import java.util.HashMap;
  import java.util.Map;
  
  /**
   * ConnectorPackageInfo
   * <p>
   * Information about the contents of the connector image
   *
   */
  @JsonInclude(JsonInclude.Include.NON_NULL)
  @JsonPropertyOrder({
    "cdk_version"
  })
  @Generated(value = "Generated by jsonSchema2Pojo")
  public class ConnectorPackageInfo implements Serializable {
  
    @JsonProperty("cdk_version")
    private String cdkVersion;
    @JsonIgnore
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
    private final static long serialVersionUID = 4196508127146228272L;
  
    @JsonProperty("cdk_version")
    public String getCdkVersion() {
      return cdkVersion;
    }
  
    @JsonProperty("cdk_version")
    public void setCdkVersion(String cdkVersion) {
      this.cdkVersion = cdkVersion;
    }
  
    public ConnectorPackageInfo withCdkVersion(String cdkVersion) {
      this.cdkVersion = cdkVersion;
      return this;
    }
  
    @JsonAnyGetter
    public Map<String, Object> getAdditionalProperties() {
      return this.additionalProperties;
    }
  
    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
      this.additionalProperties.put(name, value);
    }
  
    public ConnectorPackageInfo withAdditionalProperty(String name, Object value) {
      this.additionalProperties.put(name, value);
      return this;
    }
  
    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append(ConnectorPackageInfo.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
      sb.append("cdkVersion");
      sb.append('=');
      sb.append(((this.cdkVersion == null) ? "<null>" : this.cdkVersion));
      sb.append(',');
      sb.append("additionalProperties");
      sb.append('=');
      sb.append(((this.additionalProperties == null) ? "<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.cdkVersion == null) ? 0 : this.cdkVersion.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 ConnectorPackageInfo) == false) {
        return false;
      }
      ConnectorPackageInfo rhs = ((ConnectorPackageInfo) other);
      return (((this.cdkVersion == rhs.cdkVersion) || ((this.cdkVersion != null) && this.cdkVersion.equals(rhs.cdkVersion)))
          && ((this.additionalProperties == rhs.additionalProperties)
              || ((this.additionalProperties != null) && this.additionalProperties.equals(rhs.additionalProperties))));
    }
  
  }
  