Feedback

@objc(SBDFeedback)
open class Feedback : NSObject, Codable, NSCopying

Feedback data model for a message.

Since

4.14.0
  • id

    Undocumented

    Declaration

    Swift

    @objc
    public let id: Int64
  • Undocumented

    Declaration

    Swift

    @objc
    public let rating: Feedback.Rating
  • Undocumented

    Declaration

    Swift

    @objc
    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

    @objc(FeedbackRating)
    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

    @objc(FeedbackStatus)
    public enum Status : Int