class Google::Apis::BloggerV3::Post
Attributes
Data about the blog containing this Post. Corresponds to the JSON property `blog` @return [Google::Apis::BloggerV3::Post::Blog]
The content of the Post. May contain HTML markup. Corresponds to the JSON property `content` @return [String]
The JSON meta-data for the Post. Corresponds to the JSON property `customMetaData` @return [String]
Etag of the resource. Corresponds to the JSON property `etag` @return [String]
The identifier of this Post. Corresponds to the JSON property `id` @return [String]
Display image for the Post. Corresponds to the JSON property `images` @return [Array<Google::Apis::BloggerV3::Post::Image>]
The kind of this entity. Always blogger#post Corresponds to the JSON property `kind` @return [String]
The list of labels this Post was tagged with. Corresponds to the JSON property `labels` @return [Array<String>]
The location for geotagged posts. Corresponds to the JSON property `location` @return [Google::Apis::BloggerV3::Post::Location]
RFC 3339 date-time when this Post was published. Corresponds to the JSON property `published` @return [DateTime]
Comment control and display setting for readers of this post. Corresponds to the JSON property `readerComments` @return [String]
The container of comments on this Post. Corresponds to the JSON property `replies` @return [Google::Apis::BloggerV3::Post::Replies]
The API REST URL to fetch this resource from. Corresponds to the JSON property `selfLink` @return [String]
Status of the post. Only set for admin-level requests Corresponds to the JSON property `status` @return [String]
The title of the Post. Corresponds to the JSON property `title` @return [String]
The title link URL, similar to atom's related link. Corresponds to the JSON property `titleLink` @return [String]
RFC 3339 date-time when this Post was last updated. Corresponds to the JSON property `updated` @return [DateTime]
The URL where this Post is displayed. Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File generated/google/apis/blogger_v3/classes.rb, line 903 def initialize(**args) update!(**args) end
Public Instance Methods
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