@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Container) { Container that = (Container) o; return (this.id.equals(that.id())) && ((this.names == null) ? (that.names() == null) : this.names.equals(that.names())) && (this.image.equals(that.image())) && ((this.imageId == null) ? (that.imageId() == null) : this.imageId.equals(that.imageId())) && (this.command.equals(that.command())) && (this.created.equals(that.created())) && ((this.state == null) ? (that.state() == null) : this.state.equals(that.state())) && (this.status.equals(that.status())) && ((this.ports == null) ? (that.ports() == null) : this.ports.equals(that.ports())) && ((this.labels == null) ? (that.labels() == null) : this.labels.equals(that.labels())) && ((this.sizeRw == null) ? (that.sizeRw() == null) : this.sizeRw.equals(that.sizeRw())) && ((this.sizeRootFs == null) ? (that.sizeRootFs() == null) : this.sizeRootFs.equals(that.sizeRootFs())) && ((this.networkSettings == null) ? (that.networkSettings() == null) : this.networkSettings.equals(that.networkSettings())) && ((this.mounts == null) ? (that.mounts() == null) : this.mounts.equals(that.mounts())); } return false; }
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof Container) { Container that = (Container) o; return (this.id.equals(that.id())) && ((this.names == null) ? (that.names() == null) : this.names.equals(that.names())) && (this.image.equals(that.image())) && ((this.imageId == null) ? (that.imageId() == null) : this.imageId.equals(that.imageId())) && (this.command.equals(that.command())) && (this.created.equals(that.created())) && ((this.state == null) ? (that.state() == null) : this.state.equals(that.state())) && (this.status.equals(that.status())) && ((this.ports == null) ? (that.ports() == null) : this.ports.equals(that.ports())) && ((this.labels == null) ? (that.labels() == null) : this.labels.equals(that.labels())) && ((this.sizeRw == null) ? (that.sizeRw() == null) : this.sizeRw.equals(that.sizeRw())) && ((this.sizeRootFs == null) ? (that.sizeRootFs() == null) : this.sizeRootFs.equals(that.sizeRootFs())) && ((this.networkSettings == null) ? (that.networkSettings() == null) : this.networkSettings.equals(that.networkSettings())) && ((this.mounts == null) ? (that.mounts() == null) : this.mounts.equals(that.mounts())); } return false; }