<commit_before>package com.robinpowered.sdk.model;

import com.google.common.base.Objects;

/**
 * A collection of spaces. Most commonly a building or floor.
 *
 * <p>
 * Physically speaking, a location is typically an office or a building and can be associated to a
 * specific physical address.
 */
public class Location implements IdentifiableApiResponseModel {

    /**
     * Constants
     */

    public static final String MIME_TYPE = "vnd.robinpowered.location.v1";


    /**
     * Properties
     */

    // Immutable
    private final int id;
    private final int accountId;

    // Mutable
    private String name;
    private String description;
    private String address;
    private String image;
    private Float longitude;
    private Float latitude;


    /**
     * Methods
     */

    public Location(int id, int accountId) {
        this.id = id;
        this.accountId = accountId;
    }

    @Override
    public int getId() {
        return id;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Float getLongitude() {
        return longitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }

    public Float getLatitude() {
        return latitude;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Location location = (Location) o;
        return Objects.equal(id, location.id) &&
                Objects.equal(accountId, location.accountId);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(id, accountId);
    }<commit_msg>Adds created_at and updated_at to location model.<commit_after>package com.robinpowered.sdk.model;

import com.google.common.base.Objects;
import org.joda.time.DateTime;

/**
 * A collection of spaces. Most commonly a building or floor.
 *
 * <p>
 * Physically speaking, a location is typically an office or a building and can be associated to a
 * specific physical address.
 */
public class Location implements IdentifiableApiResponseModel {

    /**
     * Constants
     */

    public static final String MIME_TYPE = "vnd.robinpowered.location.v1";


    /**
     * Properties
     */

    // Immutable
    private final int id;
    private final int accountId;
    private final DateTime updatedAt;
    private final DateTime createdAt;

    // Mutable
    private String name;
    private String description;
    private String address;
    private String image;
    private Float longitude;
    private Float latitude;


    /**
     * Methods
     */

    public Location(int id, int accountId, DateTime updatedAt, DateTime createdAt) {
        this.id = id;
        this.accountId = accountId;
        this.updatedAt = updatedAt;
        this.createdAt = createdAt;
    }

    @Override
    public int getId() {
        return id;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Float getLongitude() {
        return longitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }

    public Float getLatitude() {
        return latitude;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }

    public DateTime getCreatedAt() {
        return createdAt;
    }

    public DateTime getUpdatedAt() {
        return updatedAt;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Location location = (Location) o;
        return Objects.equal(id, location.id) &&
                Objects.equal(accountId, location.accountId) &&
                Objects.equal(updatedAt, location.updatedAt) &&
                Objects.equal(createdAt, location.createdAt);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(id, accountId, updatedAt, createdAt);
    }
{'fraction_non_alphanumeric': 0.08767278924446127, 'fraction_numerical': 0.0003787161522438932, 'mean_word_length': 2.1915407854984896, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5996506', 'n_tokens_mistral': 1483, 'n_tokens_neox': 1399, 'n_words': 432}