final case class SubjectAccessReviewSpec(groups: Option[Seq[String]] = None, resourceAttributes: Option[ResourceAttributes] = None, uid: Option[String] = None, extra: Option[Map[String, Seq[String]]] = None, user: Option[String] = None, nonResourceAttributes: Option[NonResourceAttributes] = None) extends Product with Serializable
SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
- Alphabetic
- By Inheritance
- SubjectAccessReviewSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SubjectAccessReviewSpec(groups: Option[Seq[String]] = None, resourceAttributes: Option[ResourceAttributes] = None, uid: Option[String] = None, extra: Option[Map[String, Seq[String]]] = None, user: Option[String] = None, nonResourceAttributes: Option[NonResourceAttributes] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addExtra(newValues: (String, Seq[String])*): SubjectAccessReviewSpec
Adds new values to extra
- def addGroups(newValues: String*): SubjectAccessReviewSpec
Appends new values to groups
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extra: Option[Map[String, Seq[String]]]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val groups: Option[Seq[String]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapExtra(f: (Map[String, Seq[String]]) => Map[String, Seq[String]]): SubjectAccessReviewSpec
if extra has a value, transforms to the result of function
- def mapGroups(f: (Seq[String]) => Seq[String]): SubjectAccessReviewSpec
if groups has a value, transforms to the result of function
- def mapNonResourceAttributes(f: (NonResourceAttributes) => NonResourceAttributes): SubjectAccessReviewSpec
if nonResourceAttributes has a value, transforms to the result of function
- def mapResourceAttributes(f: (ResourceAttributes) => ResourceAttributes): SubjectAccessReviewSpec
if resourceAttributes has a value, transforms to the result of function
- def mapUid(f: (String) => String): SubjectAccessReviewSpec
if uid has a value, transforms to the result of function
- def mapUser(f: (String) => String): SubjectAccessReviewSpec
if user has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonResourceAttributes: Option[NonResourceAttributes]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val resourceAttributes: Option[ResourceAttributes]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val uid: Option[String]
- val user: Option[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withExtra(value: Map[String, Seq[String]]): SubjectAccessReviewSpec
Returns a new data with extra set to new value
- def withGroups(value: Seq[String]): SubjectAccessReviewSpec
Returns a new data with groups set to new value
- def withNonResourceAttributes(value: NonResourceAttributes): SubjectAccessReviewSpec
Returns a new data with nonResourceAttributes set to new value
- def withResourceAttributes(value: ResourceAttributes): SubjectAccessReviewSpec
Returns a new data with resourceAttributes set to new value
- def withUid(value: String): SubjectAccessReviewSpec
Returns a new data with uid set to new value
- def withUser(value: String): SubjectAccessReviewSpec
Returns a new data with user set to new value