sangria
.
schema
InterfaceType
Related Docs:
object InterfaceType
|
package schema
case class
InterfaceType
[
Ctx
,
Val
]
(
name:
String
,
description:
Option
[
String
] =
None
,
fieldsFn: () ⇒
List
[
Field
[
Ctx
,
Val
]]
,
interfaces:
List
[
InterfaceType
[
Ctx
, _]]
,
manualPossibleTypes: () ⇒
List
[
ObjectType
[_, _]]
,
astDirectives:
Vector
[
ast.Directive
]
,
astNodes:
Vector
[
AstNode
] =
Vector.empty
)
extends
ObjectLikeType
[
Ctx
,
Val
] with
AbstractType
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AbstractType
,
ObjectLikeType
[
Ctx
,
Val
],
HasAstInfo
,
UnmodifiedType
,
NullableType
,
CompositeType
[
Val
],
Named
,
OutputType
[
Val
],
Type
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
InterfaceType
Serializable
Serializable
Product
Equals
AbstractType
ObjectLikeType
HasAstInfo
UnmodifiedType
NullableType
CompositeType
Named
OutputType
Type
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
InterfaceType
(
name:
String
,
description:
Option
[
String
] =
None
,
fieldsFn: () ⇒
List
[
Field
[
Ctx
,
Val
]]
,
interfaces:
List
[
InterfaceType
[
Ctx
, _]]
,
manualPossibleTypes: () ⇒
List
[
ObjectType
[_, _]]
,
astDirectives:
Vector
[
ast.Directive
]
,
astNodes:
Vector
[
AstNode
] =
Vector.empty
)
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
lazy val
allInterfaces
:
Vector
[
InterfaceType
[
Ctx
, _]]
Definition Classes
ObjectLikeType
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
astDirectives
:
Vector
[
ast.Directive
]
Definition Classes
InterfaceType
→
HasAstInfo
val
astNodes
:
Vector
[
AstNode
]
Definition Classes
InterfaceType
→
HasAstInfo
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
description
:
Option
[
String
]
Definition Classes
InterfaceType
→
Named
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
lazy val
fields
:
Vector
[
Field
[
Ctx
, _]]
Definition Classes
ObjectLikeType
lazy val
fieldsByName
:
Map
[
String
,
Vector
[
Field
[
Ctx
, _]]]
Definition Classes
ObjectLikeType
val
fieldsFn
: () ⇒
List
[
Field
[
Ctx
,
Val
]]
Definition Classes
InterfaceType
→
ObjectLikeType
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getField
(
schema:
Schema
[_, _]
,
fieldName:
String
)
:
Vector
[
Field
[
Ctx
, _]]
Definition Classes
ObjectLikeType
val
interfaces
:
List
[
InterfaceType
[
Ctx
, _]]
Definition Classes
InterfaceType
→
ObjectLikeType
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
manualPossibleTypes
: () ⇒
List
[
ObjectType
[_, _]]
val
name
:
String
Definition Classes
InterfaceType
→
AbstractType
→
Named
def
namedType
:
Type
with
Named
Definition Classes
Type
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
ownFields
:
Vector
[
Field
[
Ctx
,
Val
]]
Definition Classes
ObjectLikeType
def
rename
(
newName:
String
)
:
InterfaceType
.this.type
Definition Classes
InterfaceType
→
Named
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
typeOf
[
Ctx
]
(
value:
Any
,
schema:
Schema
[
Ctx
, _]
)
:
Option
[
ObjectType
[
Ctx
, _]]
Definition Classes
AbstractType
lazy val
uniqueFields
:
Vector
[
Field
[
Ctx
, _]]
Definition Classes
ObjectLikeType
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
(
...
)
def
withPossibleTypes
(
possible: () ⇒
List
[
PossibleObject
[
Ctx
,
Val
]]
)
:
InterfaceType
[
Ctx
,
Val
]
def
withPossibleTypes
(
possible:
PossibleObject
[
Ctx
,
Val
]*
)
:
InterfaceType
[
Ctx
,
Val
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AbstractType
Inherited from
ObjectLikeType
[
Ctx
,
Val
]
Inherited from
HasAstInfo
Inherited from
UnmodifiedType
Inherited from
NullableType
Inherited from
CompositeType
[
Val
]
Inherited from
Named
Inherited from
OutputType
[
Val
]
Inherited from
Type
Inherited from
AnyRef
Inherited from
Any
Ungrouped