Service Event

@Entity
open class ServiceEvent : BrownieEvent

The ServiceEvent class is useful to represent an event related to a HostsService

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Constructor to instantiate the object
constructor(id: String, eventDate: Long, extra: Any, type: ServiceEventType)
Constructor to instantiate the object

Properties

Link copied to clipboard
Link copied to clipboard
protected val eventDate: Long
eventDate the date of the event when occurred
Link copied to clipboard
protected val extra: String
extra extra information related to the event
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
private open var service: BrownieHostService
service the service owner of the event
Link copied to clipboard
type the type of the event occurred

Functions

Link copied to clipboard
open fun getEventDate(): Long
Method to get the eventDate instance
Link copied to clipboard
open fun getExtra(): Any
Method to get the extra instance
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun toString(): String