Department
@objc(ZDKDepartment)
public final class Department : NSObject, DataConvertible, ReflectedStringConvertible
Department model contains id associated with the department, the department name, and the current status of the department.
-
ID associated with the department
Declaration
Swift
@DecodeAsString @objc public private(set) var id: String { get set } -
Department name
Declaration
Swift
@objc public let name: String -
Activity status of the department.
online/offline/awayDeclaration
Swift
public let status: DepartmentStatus -
Returns a Boolean value that indicates whether the receiver and a given object are equal.
Declaration
Swift
@objc override public func isEqual(_ object: Any?) -> BoolParameters
objectthe object to compare against
-
A textual representation of this instance.
Declaration
Swift
override public var description: String { get }
Install in Dash
Department Class Reference