Class: Google::Apis::BloggerV3::Post::Replies

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/blogger_v3/classes.rb,
generated/google/apis/blogger_v3/representations.rb,
generated/google/apis/blogger_v3/representations.rb

Overview

The container of comments on this Post.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Replies

Returns a new instance of Replies.



1080
1081
1082
# File 'generated/google/apis/blogger_v3/classes.rb', line 1080

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::BloggerV3::Comment>

The List of Comments for this Post. Corresponds to the JSON property items



1068
1069
1070
# File 'generated/google/apis/blogger_v3/classes.rb', line 1068

def items
  @items
end

The URL of the comments on this post. Corresponds to the JSON property selfLink

Returns:

  • (String)


1073
1074
1075
# File 'generated/google/apis/blogger_v3/classes.rb', line 1073

def self_link
  @self_link
end

#total_itemsString

The count of comments on this post. Corresponds to the JSON property totalItems

Returns:

  • (String)


1078
1079
1080
# File 'generated/google/apis/blogger_v3/classes.rb', line 1078

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1085
1086
1087
1088
1089
# File 'generated/google/apis/blogger_v3/classes.rb', line 1085

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @self_link = args[:self_link] if args.key?(:self_link)
  @total_items = args[:total_items] if args.key?(:total_items)
end