Feedback

open class Feedback: NSObject, Codable, NSCopying

Feedback data model for a message.

Since

4.14.0
  • id

    Undocumented

    Declaration

    Swift

    public let id: Int64
  • Undocumented

    Declaration

    Swift

    public let rating: Feedback.Rating
  • Undocumented

    Declaration

    Swift

    public let comment: String?
  • Undocumented

    Declaration

    Swift

    public init(
        id: Int64,
        rating: Feedback.Rating,
        comment: String?
    )
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance

  • Copies this object

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    optional NSZone

    Return Value

    Member instance

  • the enum type to represent rating of message.

    Since

    4.14.0
    See more

    Declaration

    Swift

    public enum Rating: Int, RawRepresentable, CustomStringConvertible, Codable
  • The enum type to represent the status of the feedback.

    Since

    4.14.0
    See more

    Declaration

    Swift

    public enum Status: Int