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

com.hubspot.mesos.json.MesosFileObject Maven / Gradle / Ivy

The newest version!
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("mtime") 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;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy