final case class APIResource(name: String, verbs: Seq[String], namespaced: Boolean, kind: String, singularName: String, version: Option[String] = None, categories: Option[Seq[String]] = None, shortNames: Option[Seq[String]] = None, storageVersionHash: Option[String] = None, group: Option[String] = None) extends Product with Serializable

APIResource specifies the name of a resource and whether it is namespaced.

Source
APIResource.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. APIResource
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new APIResource(name: String, verbs: Seq[String], namespaced: Boolean, kind: String, singularName: String, version: Option[String] = None, categories: Option[Seq[String]] = None, shortNames: Option[Seq[String]] = None, storageVersionHash: Option[String] = None, group: Option[String] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addCategories(newValues: String*): APIResource

    Appends new values to categories

  5. def addShortNames(newValues: String*): APIResource

    Appends new values to shortNames

  6. def addVerbs(newValues: String*): APIResource

    Appends new values to verbs

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val categories: Option[Seq[String]]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. val group: Option[String]
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val kind: String
  15. def mapCategories(f: (Seq[String]) => Seq[String]): APIResource

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

  16. def mapGroup(f: (String) => String): APIResource

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

  17. def mapKind(f: (String) => String): APIResource

    transforms kind to result of function

  18. def mapName(f: (String) => String): APIResource

    transforms name to result of function

  19. def mapNamespaced(f: (Boolean) => Boolean): APIResource

    transforms namespaced to result of function

  20. def mapShortNames(f: (Seq[String]) => Seq[String]): APIResource

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

  21. def mapSingularName(f: (String) => String): APIResource

    transforms singularName to result of function

  22. def mapStorageVersionHash(f: (String) => String): APIResource

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

  23. def mapVerbs(f: (Seq[String]) => Seq[String]): APIResource

    transforms verbs to result of function

  24. def mapVersion(f: (String) => String): APIResource

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

  25. val name: String
  26. val namespaced: Boolean
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. val shortNames: Option[Seq[String]]
  32. val singularName: String
  33. val storageVersionHash: Option[String]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val verbs: Seq[String]
  36. val version: Option[String]
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. def withCategories(value: Seq[String]): APIResource

    Returns a new data with categories set to new value

  41. def withGroup(value: String): APIResource

    Returns a new data with group set to new value

  42. def withKind(value: String): APIResource

    Returns a new data with kind set to new value

  43. def withName(value: String): APIResource

    Returns a new data with name set to new value

  44. def withNamespaced(value: Boolean): APIResource

    Returns a new data with namespaced set to new value

  45. def withShortNames(value: Seq[String]): APIResource

    Returns a new data with shortNames set to new value

  46. def withSingularName(value: String): APIResource

    Returns a new data with singularName set to new value

  47. def withStorageVersionHash(value: String): APIResource

    Returns a new data with storageVersionHash set to new value

  48. def withVerbs(value: Seq[String]): APIResource

    Returns a new data with verbs set to new value

  49. def withVersion(value: String): APIResource

    Returns a new data with version set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped