public boolean equals()

in sdk/appcenter/src/main/java/com/microsoft/appcenter/ingestion/models/one/Extensions.java [408:425]


    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Extensions that = (Extensions) o;

        if (metadata != null ? !metadata.equals(that.metadata) : that.metadata != null)
            return false;
        if (protocol != null ? !protocol.equals(that.protocol) : that.protocol != null)
            return false;
        if (user != null ? !user.equals(that.user) : that.user != null) return false;
        if (device != null ? !device.equals(that.device) : that.device != null) return false;
        if (os != null ? !os.equals(that.os) : that.os != null) return false;
        if (app != null ? !app.equals(that.app) : that.app != null) return false;
        if (net != null ? !net.equals(that.net) : that.net != null) return false;
        if (sdk != null ? !sdk.equals(that.sdk) : that.sdk != null) return false;
        return loc != null ? loc.equals(that.loc) : that.loc == null;
    }