public boolean equals()

in src/main/java/com/aliyun/openservices/paifeaturestore/model/Datasource.java [312:334]


  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Datasource datasource = (Datasource) o;
    return Objects.equals(this.datasourceId, datasource.datasourceId) &&
        Objects.equals(this.type, datasource.type) &&
        Objects.equals(this.name, datasource.name) &&
        Objects.equals(this.workspaceId, datasource.workspaceId) &&
        Objects.equals(this.region, datasource.region) &&
        Objects.equals(this.vpcAddress, datasource.vpcAddress) &&
        Objects.equals(this.publicAddress, datasource.publicAddress) &&
        Objects.equals(this.project, datasource.project) &&
        Objects.equals(this.database, datasource.database) &&
        Objects.equals(this.token, datasource.token) &&
        Objects.equals(this.user, datasource.user) &&
        Objects.equals(this.pwd, datasource.pwd) &&
        Objects.equals(this.rdsInstanceId, datasource.rdsInstanceId) &&
        Objects.equals(this.endpoint, datasource.endpoint);
  }