Subject

final case class Subject(name: String, apiGroup: Option[String], namespace: Option[String])

Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.

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

Value members

Concrete methods

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

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

Source:
Subject.scala

transforms name to result of function

transforms name to result of function

Source:
Subject.scala

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

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

Source:
Subject.scala

Returns a new data with apiGroup set to new value

Returns a new data with apiGroup set to new value

Source:
Subject.scala
def withName(value: String): Subject

Returns a new data with name set to new value

Returns a new data with name set to new value

Source:
Subject.scala

Returns a new data with namespace set to new value

Returns a new data with namespace set to new value

Source:
Subject.scala

Inherited methods

Inherited from:
Product