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

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