32 lines
801 B
Swift
32 lines
801 B
Swift
//
|
|
// ActionOpenPanelModel.swift
|
|
// MVMCore
|
|
//
|
|
// Created by Khan, Arshad on 12/02/20.
|
|
// Copyright © 2020 myverizon. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public class ActionOpenPanelModel: ActionModelProtocol {
|
|
|
|
public enum Panel: String, Codable {
|
|
case left
|
|
case right
|
|
case support // Legacy, means left
|
|
case menu // Legacy, means right.
|
|
}
|
|
|
|
public static var identifier: String = "openPanel"
|
|
public var actionType: String = ActionOpenPanelModel.identifier
|
|
public var panel: Panel
|
|
public var extraParameters: JSONValueDictionary?
|
|
public var analyticsData: JSONValueDictionary?
|
|
// Temporary fix till server changes
|
|
public var title: String?
|
|
|
|
public init(panel: Panel) {
|
|
self.panel = panel
|
|
}
|
|
}
|