class Google::Apis::BloggerV3::Post

Attributes

author[RW]

The author of this Post. Corresponds to the JSON property `author` @return [Google::Apis::BloggerV3::Post::Author]

blog[RW]

Data about the blog containing this Post. Corresponds to the JSON property `blog` @return [Google::Apis::BloggerV3::Post::Blog]

content[RW]

The content of the Post. May contain HTML markup. Corresponds to the JSON property `content` @return [String]

custom_meta_data[RW]

The JSON meta-data for the Post. Corresponds to the JSON property `customMetaData` @return [String]

etag[RW]

Etag of the resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

The identifier of this Post. Corresponds to the JSON property `id` @return [String]

images[RW]

Display image for the Post. Corresponds to the JSON property `images` @return [Array<Google::Apis::BloggerV3::Post::Image>]

kind[RW]

The kind of this entity. Always blogger#post Corresponds to the JSON property `kind` @return [String]

labels[RW]

The list of labels this Post was tagged with. Corresponds to the JSON property `labels` @return [Array<String>]

location[RW]

The location for geotagged posts. Corresponds to the JSON property `location` @return [Google::Apis::BloggerV3::Post::Location]

published[RW]

RFC 3339 date-time when this Post was published. Corresponds to the JSON property `published` @return [DateTime]

reader_comments[RW]

Comment control and display setting for readers of this post. Corresponds to the JSON property `readerComments` @return [String]

replies[RW]

The container of comments on this Post. Corresponds to the JSON property `replies` @return [Google::Apis::BloggerV3::Post::Replies]

status[RW]

Status of the post. Only set for admin-level requests Corresponds to the JSON property `status` @return [String]

title[RW]

The title of the Post. Corresponds to the JSON property `title` @return [String]

updated[RW]

RFC 3339 date-time when this Post was last updated. Corresponds to the JSON property `updated` @return [DateTime]

url[RW]

The URL where this Post is displayed. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/blogger_v3/classes.rb, line 903
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/blogger_v3/classes.rb, line 908
def update!(**args)
  @author = args[:author] if args.key?(:author)
  @blog = args[:blog] if args.key?(:blog)
  @content = args[:content] if args.key?(:content)
  @custom_meta_data = args[:custom_meta_data] if args.key?(:custom_meta_data)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @images = args[:images] if args.key?(:images)
  @kind = args[:kind] if args.key?(:kind)
  @labels = args[:labels] if args.key?(:labels)
  @location = args[:location] if args.key?(:location)
  @published = args[:published] if args.key?(:published)
  @reader_comments = args[:reader_comments] if args.key?(:reader_comments)
  @replies = args[:replies] if args.key?(:replies)
  @self_link = args[:self_link] if args.key?(:self_link)
  @status = args[:status] if args.key?(:status)
  @title = args[:title] if args.key?(:title)
  @title_link = args[:title_link] if args.key?(:title_link)
  @updated = args[:updated] if args.key?(:updated)
  @url = args[:url] if args.key?(:url)
end