object RestStructure extends AdtMetadataCompanion[RestStructure]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RestStructure
- AdtMetadataCompanion
- MetadataCompanion
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed trait Case[T] extends TypedMetadata[T]
-
final
case class
CustomCase[T](restSchema: RestSchema[T], info: GenCaseInfo[T]) extends Case[T] with Product with Serializable
Will be inferred for case types that already have RestSchema defined directly.
Will be inferred for case types that already have RestSchema defined directly.
- Annotations
- @positioned( positioned.here )
- final case class DefaultValueInfo[T](defaultValue: DefaultValue[T], asJson: AsRaw[JsonValue, T]) extends TypedMetadata[T] with Product with Serializable
- final case class Field[T](info: GenParamInfo[T], restSchema: RestSchema[T], whenAbsentInfo: com.avsystem.commons.Opt[WhenAbsentInfo[T]], defaultValueInfo: com.avsystem.commons.Opt[DefaultValueInfo[T]], schemaAdjusters: List[SchemaAdjuster]) extends TypedMetadata[T] with Product with Serializable
-
final
class
Lazy[Real] extends AnyRef
- Definition Classes
- MetadataCompanion
- final case class NameAndAdjusters[T](sourceName: String, annotName: com.avsystem.commons.Opt[name], schemaAdjusters: List[SchemaAdjuster]) extends TypedMetadata[T] with Product with Serializable
-
final
case class
Record[T](schemaAdjusters: List[SchemaAdjuster], fields: List[Field[_]], info: GenCaseInfo[T]) extends RestStructure[T] with Case[T] with Product with Serializable
Will be inferred for types having apply/unapply(Seq) pair in their companion.
Will be inferred for types having apply/unapply(Seq) pair in their companion.
- Annotations
- @positioned( positioned.here )
-
final
case class
Singleton[T](schemaAdjusters: List[SchemaAdjuster], value: ValueOf[T], info: GenCaseInfo[T]) extends RestStructure[T] with Case[T] with Product with Serializable
Will be inferred for singleton types (objects).
Will be inferred for singleton types (objects).
- Annotations
- @positioned( positioned.here )
-
final
case class
Union[T](schemaAdjusters: List[SchemaAdjuster], cases: List[Case[_]], info: GenUnionInfo[T]) extends RestStructure[T] with Product with Serializable
- Annotations
- @positioned( positioned.here )
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
-
final
def
apply[Real](implicit metadata: RestStructure[Real]): RestStructure[Real]
- Definition Classes
- MetadataCompanion
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
macro
def
fromApplyUnapplyProvider[T](applyUnapplyProvider: Any): RestStructure[T]
- Definition Classes
- AdtMetadataCompanion
-
implicit final
def
fromFallback[Real](implicit fallback: Fallback[RestStructure[Real]]): RestStructure[Real]
- Definition Classes
- MetadataCompanion
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
macro
def
materialize[T]: RestStructure[T]
- Definition Classes
- AdtMetadataCompanion
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Case extends AdtMetadataCompanion[Case]
- object NameAndAdjusters extends AdtMetadataCompanion[NameAndAdjusters] with Serializable
- object Record extends AdtMetadataCompanion[Record] with Serializable
- object Singleton extends AdtMetadataCompanion[Singleton] with Serializable
- object Union extends AdtMetadataCompanion[Union] with Serializable