Status

final case class Status(reason: Option[String], code: Option[Int], status: Option[String], details: Option[StatusDetails], metadata: Option[ListMeta], message: Option[String]) extends KObject

Status is a return value for calls that don't return other objects.

Source:
Status.scala
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def mapCode(f: Int => Int): Status

if code has a value, transforms to the result of function

if code has a value, transforms to the result of function

Source:
Status.scala

if details has a value, transforms to the result of function

if details has a value, transforms to the result of function

Source:
Status.scala

if message has a value, transforms to the result of function

if message has a value, transforms to the result of function

Source:
Status.scala

if metadata has a value, transforms to the result of function

if metadata has a value, transforms to the result of function

Source:
Status.scala

if reason has a value, transforms to the result of function

if reason has a value, transforms to the result of function

Source:
Status.scala

if status has a value, transforms to the result of function

if status has a value, transforms to the result of function

Source:
Status.scala
def withCode(value: Int): Status

Returns a new data with code set to new value

Returns a new data with code set to new value

Source:
Status.scala

Returns a new data with details set to new value

Returns a new data with details set to new value

Source:
Status.scala

Returns a new data with message set to new value

Returns a new data with message set to new value

Source:
Status.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
Status.scala
def withReason(value: String): Status

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Source:
Status.scala
def withStatus(value: String): Status

Returns a new data with status set to new value

Returns a new data with status set to new value

Source:
Status.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala