Sha256: 79ade6e481172ca85dd0077b80bbd9fcc698e727a41141be704db2420de82880
Contents?: true
Size: 1.16 KB
Versions: 5
Compression:
Stored size: 1.16 KB
Contents
package com.treasuredata.api.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Objects; public class TDTablePermission { private boolean importable; private boolean queryable; public TDTablePermission( @JsonProperty("importable") boolean importable, @JsonProperty("queryable") boolean queryable) { this.importable = importable; this.queryable = queryable; } @JsonProperty("importable") public boolean isImportable() { return importable; } @JsonProperty("queryable") public boolean isQueryable() { return queryable; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } TDTablePermission other = (TDTablePermission) obj; return Objects.equal(this.importable, other.importable) && Objects.equal(this.queryable, other.queryable); } @Override public int hashCode() { return Objects.hashCode(importable, queryable); } }
Version data entries
5 entries across 5 versions & 1 rubygems