Class: Google::Apis::BloggerV3::Post
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BloggerV3::Post
 
- 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
Defined Under Namespace
Classes: Author, Blog, Image, Location, Replies
Instance Attribute Summary collapse
- 
  
    
      #author  ⇒ Google::Apis::BloggerV3::Post::Author 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The author of this Post. 
- 
  
    
      #blog  ⇒ Google::Apis::BloggerV3::Post::Blog 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Data about the blog containing this Post. 
- 
  
    
      #content  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The content of the Post. 
- 
  
    
      #custom_meta_data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The JSON meta-data for the Post. 
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Etag of the resource. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier of this Post. 
- 
  
    
      #images  ⇒ Array<Google::Apis::BloggerV3::Post::Image> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Display image for the Post. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of this entity. 
- 
  
    
      #labels  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of labels this Post was tagged with. 
- 
  
    
      #location  ⇒ Google::Apis::BloggerV3::Post::Location 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The location for geotagged posts. 
- 
  
    
      #published  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    RFC 3339 date-time when this Post was published. 
- 
  
    
      #reader_comments  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Comment control and display setting for readers of this post. 
- 
  
    
      #replies  ⇒ Google::Apis::BloggerV3::Post::Replies 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The container of comments on this Post. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The API REST URL to fetch this resource from. 
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Status of the post. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The title of the Post. 
- 
  
    
      #title_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The title link URL, similar to atom's related link. 
- 
  
    
      #updated  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    RFC 3339 date-time when this Post was last updated. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL where this Post is displayed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Post 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Post. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Post
Returns a new instance of Post
| 903 904 905 | # File 'generated/google/apis/blogger_v3/classes.rb', line 903 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#author ⇒ Google::Apis::BloggerV3::Post::Author
The author of this Post.
Corresponds to the JSON property author
| 811 812 813 | # File 'generated/google/apis/blogger_v3/classes.rb', line 811 def @author end | 
#blog ⇒ Google::Apis::BloggerV3::Post::Blog
Data about the blog containing this Post.
Corresponds to the JSON property blog
| 816 817 818 | # File 'generated/google/apis/blogger_v3/classes.rb', line 816 def blog @blog end | 
#content ⇒ String
The content of the Post. May contain HTML markup.
Corresponds to the JSON property content
| 821 822 823 | # File 'generated/google/apis/blogger_v3/classes.rb', line 821 def content @content end | 
#custom_meta_data ⇒ String
The JSON meta-data for the Post.
Corresponds to the JSON property customMetaData
| 826 827 828 | # File 'generated/google/apis/blogger_v3/classes.rb', line 826 def @custom_meta_data end | 
#etag ⇒ String
Etag of the resource.
Corresponds to the JSON property etag
| 831 832 833 | # File 'generated/google/apis/blogger_v3/classes.rb', line 831 def etag @etag end | 
#id ⇒ String
The identifier of this Post.
Corresponds to the JSON property id
| 836 837 838 | # File 'generated/google/apis/blogger_v3/classes.rb', line 836 def id @id end | 
#images ⇒ Array<Google::Apis::BloggerV3::Post::Image>
Display image for the Post.
Corresponds to the JSON property images
| 841 842 843 | # File 'generated/google/apis/blogger_v3/classes.rb', line 841 def images @images end | 
#kind ⇒ String
The kind of this entity. Always blogger#post
Corresponds to the JSON property kind
| 846 847 848 | # File 'generated/google/apis/blogger_v3/classes.rb', line 846 def kind @kind end | 
#labels ⇒ Array<String>
The list of labels this Post was tagged with.
Corresponds to the JSON property labels
| 851 852 853 | # File 'generated/google/apis/blogger_v3/classes.rb', line 851 def labels @labels end | 
#location ⇒ Google::Apis::BloggerV3::Post::Location
The location for geotagged posts.
Corresponds to the JSON property location
| 856 857 858 | # File 'generated/google/apis/blogger_v3/classes.rb', line 856 def location @location end | 
#published ⇒ DateTime
RFC 3339 date-time when this Post was published.
Corresponds to the JSON property published
| 861 862 863 | # File 'generated/google/apis/blogger_v3/classes.rb', line 861 def published @published end | 
#reader_comments ⇒ String
Comment control and display setting for readers of this post.
Corresponds to the JSON property readerComments
| 866 867 868 | # File 'generated/google/apis/blogger_v3/classes.rb', line 866 def reader_comments @reader_comments end | 
#replies ⇒ Google::Apis::BloggerV3::Post::Replies
The container of comments on this Post.
Corresponds to the JSON property replies
| 871 872 873 | # File 'generated/google/apis/blogger_v3/classes.rb', line 871 def replies @replies end | 
#self_link ⇒ String
The API REST URL to fetch this resource from.
Corresponds to the JSON property selfLink
| 876 877 878 | # File 'generated/google/apis/blogger_v3/classes.rb', line 876 def self_link @self_link end | 
#status ⇒ String
Status of the post. Only set for admin-level requests
Corresponds to the JSON property status
| 881 882 883 | # File 'generated/google/apis/blogger_v3/classes.rb', line 881 def status @status end | 
#title ⇒ String
The title of the Post.
Corresponds to the JSON property title
| 886 887 888 | # File 'generated/google/apis/blogger_v3/classes.rb', line 886 def title @title end | 
#title_link ⇒ String
The title link URL, similar to atom's related link.
Corresponds to the JSON property titleLink
| 891 892 893 | # File 'generated/google/apis/blogger_v3/classes.rb', line 891 def title_link @title_link end | 
#updated ⇒ DateTime
RFC 3339 date-time when this Post was last updated.
Corresponds to the JSON property updated
| 896 897 898 | # File 'generated/google/apis/blogger_v3/classes.rb', line 896 def updated @updated end | 
#url ⇒ String
The URL where this Post is displayed.
Corresponds to the JSON property url
| 901 902 903 | # File 'generated/google/apis/blogger_v3/classes.rb', line 901 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 | # 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 |