Files
iOS/Shared/API/Models/Components/InputSelect.swift
Stephan Vanterpool 801d796474 Check
2018-09-16 00:50:38 -07:00

26 lines
484 B
Swift

//
// InputSelectComponent.swift
// HomeAssistant
//
// Created by Robbie Trencheny on 4/5/16.
// Copyright © 2016 Robbie Trencheny. All rights reserved.
//
import Foundation
import ObjectMapper
class InputSelect: Entity {
var Options = [String]()
override func mapping(map: Map) {
super.mapping(map: map)
Options <- map["attributes.options"]
}
override var ComponentIcon: String {
return "mdi:format-list-bulleted"
}
}