Metadata

@CarProtocol
class Metadata


A metadata class used for attaching additional properties to models.

Summary

Nested types

A builder for Metadata.

Constants

const Metadata!

An empty Metadata instance.

Public functions

Boolean
equals(other: Any?)
Place?

Returns a Place instance set in the metadata.

Int

Constants

EMPTY_METADATA

Added in 1.0.0
const val EMPTY_METADATAMetadata!

An empty Metadata instance.

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

getPlace

Added in 1.0.0
fun getPlace(): Place?

Returns a Place instance set in the metadata.

See also
setPlace

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int