package com.hubspot.mesos.json;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class MesosFileObject {
  private final String gid;
  private final String mode;
  private final long mtime;
  private final int nlink;
  private final String path;
  private final long size;
  private final String uid;

  @JsonCreator
  public MesosFileObject(@JsonProperty("gid") String gid, @JsonProperty("mode") String mode,
                         @JsonProperty("motime") long mtime, @JsonProperty("nlink") int nlink,
                         @JsonProperty("path") String path, @JsonProperty("size") long size,
                         @JsonProperty("uid") String uid) {
    this.gid = gid;
    this.mode = mode;
    this.mtime = mtime;
    this.nlink = nlink;
    this.path = path;
    this.size = size;
    this.uid = uid;
  }

  public String getGid() {
    return gid;
  }

  public String getMode() {
    return mode;
  }

  public long getMtime() {
    return mtime;
  }

  public int getNlink() {
    return nlink;
  }

  public String getPath() {
    return path;
  }

  public long getSize() {
    return size;
  }

  public String getUid() {
    return uid;
  }
}

@@ -511,17 +511,16 @@
 perty(%22m
-o
 time%22) l

fix typo in mtime