/**
 * This code is generated using [[https://www.scala-sbt.org/contraband]].
 */

// DO NOT EDIT MANUALLY
package sbt.protocol.testing
final class TestStringEvent private (
  val value: String) extends sbt.protocol.testing.TestMessage() with Serializable {
  
  
  
  override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
    case x: TestStringEvent => (this.value == x.value)
    case _ => false
  })
  override def hashCode: Int = {
    37 * (37 * (17 + "sbt.protocol.testing.TestStringEvent".##) + value.##)
  }
  override def toString: String = {
    value
  }
  private def copy(value: String): TestStringEvent = {
    new TestStringEvent(value)
  }
  def withValue(value: String): TestStringEvent = {
    copy(value = value)
  }
}
object TestStringEvent {
  
  def apply(value: String): TestStringEvent = new TestStringEvent(value)
}
