final case class StatusDetails(name: Option[String] = None, causes: Option[Seq[StatusCause]] = None, uid: Option[String] = None, retryAfterSeconds: Option[Int] = None, group: Option[String] = None) extends Product with Serializable
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
- Source
- StatusDetails.scala
- Alphabetic
- By Inheritance
- StatusDetails
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addCauses(newValues: StatusCause*): StatusDetails
Appends new values to causes
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val causes: Option[Seq[StatusCause]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val group: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapCauses(f: (Seq[StatusCause]) => Seq[StatusCause]): StatusDetails
if causes has a value, transforms to the result of function
- def mapGroup(f: (String) => String): StatusDetails
if group has a value, transforms to the result of function
- def mapName(f: (String) => String): StatusDetails
if name has a value, transforms to the result of function
- def mapRetryAfterSeconds(f: (Int) => Int): StatusDetails
if retryAfterSeconds has a value, transforms to the result of function
- def mapUid(f: (String) => String): StatusDetails
if uid has a value, transforms to the result of function
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val retryAfterSeconds: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val uid: Option[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCauses(value: Seq[StatusCause]): StatusDetails
Returns a new data with causes set to new value
- def withGroup(value: String): StatusDetails
Returns a new data with group set to new value
- def withName(value: String): StatusDetails
Returns a new data with name set to new value
- def withRetryAfterSeconds(value: Int): StatusDetails
Returns a new data with retryAfterSeconds set to new value
- def withUid(value: String): StatusDetails
Returns a new data with uid set to new value