ArticleModel class

Optimisation Note:

articleId and deflectionArticleId are necessary to be String because Android Zendesk SDK uses Long datatype to resolve/reject articles, so we use String and convert it to Long on Android side and we don't lose information on retreving from native side

iOS uses Int64, but we are using String to make it compatible on both platforms

Constructors

ArticleModel(String deflectionArticleId, int brandId, String articleId, String body, String htmlURL, Iterable<String> labels, String locale, double score, String snippet, String title, String url)
ArticleModel.fromJson(Map map)
factory

Properties

articleId String
final
body String
final
brandId int
final
deflectionArticleId String
final
hashCode int
The hash code for this object.
no setterinherited
htmlURL String
final
labels Iterable<String>
final
locale String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
final
snippet String
final
title String
final
url String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited