final case class APIResource(name: String, verbs: Seq[String], namespaced: Boolean, 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, 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]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val group: Option[String]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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 mapName(f: (String) => String): APIResource

    transforms name to result of function

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

    transforms namespaced to result of function

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

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

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

    transforms singularName to result of function

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

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

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

    transforms verbs to result of function

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

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

  24. val name: String
  25. val namespaced: Boolean
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. val shortNames: Option[Seq[String]]
  31. val singularName: String
  32. val storageVersionHash: Option[String]
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. val verbs: Seq[String]
  35. val version: Option[String]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  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. def withCategories(value: Seq[String]): APIResource

    Returns a new data with categories set to new value

  40. def withGroup(value: String): APIResource

    Returns a new data with group set to new value

  41. def withName(value: String): APIResource

    Returns a new data with name set to new value

  42. def withNamespaced(value: Boolean): APIResource

    Returns a new data with namespaced set to new value

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

    Returns a new data with shortNames set to new value

  44. def withSingularName(value: String): APIResource

    Returns a new data with singularName set to new value

  45. def withStorageVersionHash(value: String): APIResource

    Returns a new data with storageVersionHash set to new value

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

    Returns a new data with verbs set to new value

  47. def withVersion(value: String): APIResource

    Returns a new data with version set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped