public boolean equals()

in src/main/java/com/aliyuncs/kms/secretsmanager/client/model/RegionInfo.java [122:133]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        RegionInfo that = (RegionInfo) o;
        if (endpoint != null && that.endpoint != null) {
            if (endpoint.equals(that.endpoint)){
                return true;
            }
        }
        return vpc == that.vpc &&
                regionId.equals(that.regionId);
    }