All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ftpix.sherdogparser.models.Organization Maven / Gradle / Ivy

There is a newer version: 2.15
Show newest version
package com.ftpix.sherdogparser.models;

import java.util.ArrayList;
import java.util.List;


public class Organization extends SherdogBaseObject {

    private List events = new ArrayList<>();

    public List getEvents() {
        return events;
    }

    public void setEvents(List events) {
        this.events = events;
    }

    @Override
    public boolean equals(Object obj) {
        try {
            Organization org = (Organization) obj;
            return org.getSherdogUrl().equalsIgnoreCase(this.sherdogUrl);
        } catch (Exception e) {
            return false;
        }
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy