class Google::Apis::BloggerV3::PostPerUserInfo

Attributes

blog_id[RW]

ID of the Blog that the post resource belongs to. Corresponds to the JSON property `blogId` @return [String]

has_edit_access[RW]

True if the user has Author level access to the post. Corresponds to the JSON property `hasEditAccess` @return [Boolean]

has_edit_access?[RW]

True if the user has Author level access to the post. Corresponds to the JSON property `hasEditAccess` @return [Boolean]

kind[RW]

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

post_id[RW]

ID of the Post resource. Corresponds to the JSON property `postId` @return [String]

user_id[RW]

ID of the User. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/blogger_v3/classes.rb, line 1171
def update!(**args)
  @blog_id = args[:blog_id] if args.key?(:blog_id)
  @has_edit_access = args[:has_edit_access] if args.key?(:has_edit_access)
  @kind = args[:kind] if args.key?(:kind)
  @post_id = args[:post_id] if args.key?(:post_id)
  @user_id = args[:user_id] if args.key?(:user_id)
end