class ServiceParam[T] extends JsonEncodableParam[Either[T, String]] with PythonWrappableParam[Either[T, String]] with WrappableParam[Either[T, String]]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServiceParam
- WrappableParam
- DotnetWrappableParam
- PythonWrappableParam
- JsonEncodableParam
- Param
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ServiceParam(parent: Params, name: String, doc: String, isValid: (Either[T, String]) ⇒ Boolean = (_: Either[T, String]) => true, isRequired: Boolean = false, isURLParam: Boolean = false, toValueString: (T) ⇒ String = x: T => x.toString)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], dataFormat: JsonFormat[T])
Type Members
-
type
InnerType = Either[T, String]
- Definition Classes
- PythonWrappableParam
- type ValueType = T
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
->(value: Either[T, String]): ParamPair[Either[T, String]]
- Definition Classes
- Param
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- implicit val dataFormat: JsonFormat[T]
-
val
doc: String
- Definition Classes
- Param
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(obj: Any): Boolean
- Definition Classes
- Param → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
val
format: JsonFormat[Either[T, String]]
- Definition Classes
- JsonEncodableParam
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
hashCode(): Int
- Definition Classes
- Param → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isRequired: Boolean
- val isURLParam: Boolean
-
val
isValid: (Either[T, String]) ⇒ Boolean
- Definition Classes
- Param
-
def
jsonDecode(json: String): Either[T, String]
- Definition Classes
- JsonEncodableParam → Param
-
def
jsonEncode(value: Either[T, String]): String
- Definition Classes
- JsonEncodableParam → Param
-
val
name: String
- Definition Classes
- Param
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
parent: String
- Definition Classes
- Param
- val payloadName: String
-
def
pyConstructorLine(v: Either[T, String]): String
- Definition Classes
- PythonWrappableParam
-
def
pyName(v: Either[T, String]): String
- Definition Classes
- ServiceParam → PythonWrappableParam
-
def
pySetterLine(v: Either[T, String]): String
- Definition Classes
- PythonWrappableParam
-
def
pyValue(v: Either[T, String]): String
- Definition Classes
- ServiceParam → PythonWrappableParam
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toString(): String
- Definition Classes
- Param → AnyRef → Any
- val toValueString: (T) ⇒ String
-
def
w(value: Either[T, String]): ParamPair[Either[T, String]]
- Definition Classes
- Param
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()