Skip to content

Latest commit

 

History

History
94 lines (88 loc) · 3.33 KB

File metadata and controls

94 lines (88 loc) · 3.33 KB

FastCommentsClient::PublicComment

Properties

Name Type Description Notes
_id String
user_id String [optional]
commenter_name String
commenter_link String [optional]
comment_html String
parent_id String [optional]
date Time
votes Integer [optional]
votes_up Integer [optional]
votes_down Integer [optional]
verified Boolean
avatar_src String [optional]
has_images Boolean [optional]
is_by_admin Boolean [optional]
is_by_moderator Boolean [optional]
is_pinned Boolean [optional]
is_locked Boolean [optional]
display_label String [optional]
rating Float [optional]
badges Array<CommentUserBadgeInfo> [optional]
view_count Integer [optional]
is_deleted Boolean [optional]
is_deleted_user Boolean [optional]
is_spam Boolean [optional]
anon_user_id String [optional]
feedback_ids Array<String> [optional]
requires_verification Boolean [optional]
edit_key String [optional]
approved Boolean [optional]
is_unread Boolean [optional]
my_vote_id String [optional]
is_voted_down Boolean [optional]
is_voted_up Boolean [optional]
has_children Boolean This is always set when asTree=true [optional]
nested_children_count Integer The total nested child count included in this response (may be more available w/ pagination) Only set with asTree=true, otherwise this will be null. [optional]
child_count Integer You must ask the API to count children (with asTree=true&countChildren=true), otherwise this will be null. This will be the complete direct child count, whereas children may only contain a subset based on pagination. [optional]
children Array<PublicComment> [optional]
is_flagged Boolean [optional]
is_blocked Boolean [optional]

Example

require 'fastcomments-client'

instance = FastCommentsClient::PublicComment.new(
  _id: null,
  user_id: null,
  commenter_name: null,
  commenter_link: null,
  comment_html: null,
  parent_id: null,
  date: null,
  votes: null,
  votes_up: null,
  votes_down: null,
  verified: null,
  avatar_src: null,
  has_images: null,
  is_by_admin: null,
  is_by_moderator: null,
  is_pinned: null,
  is_locked: null,
  display_label: null,
  rating: null,
  badges: null,
  view_count: null,
  is_deleted: null,
  is_deleted_user: null,
  is_spam: null,
  anon_user_id: null,
  feedback_ids: null,
  requires_verification: null,
  edit_key: null,
  approved: null,
  is_unread: null,
  my_vote_id: null,
  is_voted_down: null,
  is_voted_up: null,
  has_children: null,
  nested_children_count: null,
  child_count: null,
  children: null,
  is_flagged: null,
  is_blocked: null
)