APIResource

final case class APIResource(name: String, verbs: Seq[String], namespaced: Boolean, singularName: String, version: Option[String], categories: Option[Seq[String]], shortNames: Option[Seq[String]], storageVersionHash: Option[String], group: Option[String])

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

Source:
APIResource.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addCategories(newValues: String*): APIResource

Appends new values to categories

Appends new values to categories

Source:
APIResource.scala
def addShortNames(newValues: String*): APIResource

Appends new values to shortNames

Appends new values to shortNames

Source:
APIResource.scala
def addVerbs(newValues: String*): APIResource

Appends new values to verbs

Appends new values to verbs

Source:
APIResource.scala

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

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

Source:
APIResource.scala

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

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

Source:
APIResource.scala

transforms name to result of function

transforms name to result of function

Source:
APIResource.scala

transforms namespaced to result of function

transforms namespaced to result of function

Source:
APIResource.scala

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

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

Source:
APIResource.scala

transforms singularName to result of function

transforms singularName to result of function

Source:
APIResource.scala

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

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

Source:
APIResource.scala

transforms verbs to result of function

transforms verbs to result of function

Source:
APIResource.scala

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

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

Source:
APIResource.scala

Returns a new data with categories set to new value

Returns a new data with categories set to new value

Source:
APIResource.scala

Returns a new data with group set to new value

Returns a new data with group set to new value

Source:
APIResource.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Source:
APIResource.scala

Returns a new data with namespaced set to new value

Returns a new data with namespaced set to new value

Source:
APIResource.scala

Returns a new data with shortNames set to new value

Returns a new data with shortNames set to new value

Source:
APIResource.scala

Returns a new data with singularName set to new value

Returns a new data with singularName set to new value

Source:
APIResource.scala

Returns a new data with storageVersionHash set to new value

Returns a new data with storageVersionHash set to new value

Source:
APIResource.scala

Returns a new data with verbs set to new value

Returns a new data with verbs set to new value

Source:
APIResource.scala

Returns a new data with version set to new value

Returns a new data with version set to new value

Source:
APIResource.scala

Inherited methods

Inherited from:
Product