TNFavoriteEvent

@objcMembers
public class TNFavoriteEvent : TNApplicationEvent

Favorite events schema model. Use TNFavoriteEventBuilder to create an event

  • Declaration

    Swift

    override public private(set) var type: TNEventType { get set }
  • Declaration

    Swift

    override public var eventName: String? { get set }
  • Declaration

    Swift

    override public var schemaDefinition: String? { get set }
  • Entity ID of the place Liked or Unliked

    Declaration

    Swift

    public private(set) var entityId: String { get }
  • Whether the place was Liked or Unliked

    Declaration

    Swift

    public private(set) var action: TNFavoriteEventActionType { get }
  • Builder in order to create a valid event

    Declaration

    Swift

    public static func builder() -> TNFavoriteEventBuilder

Implemenation of Codable protocol

  • Undocumented

    Declaration

    Swift

    public override func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws