Class: Google::Apis::BloggerV2::User
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV2::User
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v2/classes.rb,
generated/google/apis/blogger_v2/representations.rb,
generated/google/apis/blogger_v2/representations.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#about ⇒ String
Profile summary information.
-
#blogs ⇒ Google::Apis::BloggerV2::User::Blogs
The container of blogs for this user.
-
#created ⇒ String
The timestamp of when this profile was created, in seconds since epoch.
-
#display_name ⇒ String
The display name.
-
#id ⇒ String
The identifier for this User.
-
#kind ⇒ String
The kind of this entity.
-
#locale ⇒ Google::Apis::BloggerV2::User::Locale
This user's locale Corresponds to the JSON property
locale
. -
#self_link ⇒ String
The API REST URL to fetch this resource from.
-
#url ⇒ String
The user's profile page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ User
constructor
A new instance of User.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ User
Returns a new instance of User.
1129 1130 1131 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#about ⇒ String
Profile summary information.
Corresponds to the JSON property about
1087 1088 1089 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1087 def about @about end |
#blogs ⇒ Google::Apis::BloggerV2::User::Blogs
The container of blogs for this user.
Corresponds to the JSON property blogs
1092 1093 1094 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1092 def blogs @blogs end |
#created ⇒ String
The timestamp of when this profile was created, in seconds since epoch.
Corresponds to the JSON property created
1097 1098 1099 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1097 def created @created end |
#display_name ⇒ String
The display name.
Corresponds to the JSON property displayName
1102 1103 1104 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1102 def display_name @display_name end |
#id ⇒ String
The identifier for this User.
Corresponds to the JSON property id
1107 1108 1109 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1107 def id @id end |
#kind ⇒ String
The kind of this entity. Always blogger#user.
Corresponds to the JSON property kind
1112 1113 1114 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1112 def kind @kind end |
#locale ⇒ Google::Apis::BloggerV2::User::Locale
This user's locale
Corresponds to the JSON property locale
1117 1118 1119 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1117 def locale @locale end |
#self_link ⇒ String
The API REST URL to fetch this resource from.
Corresponds to the JSON property selfLink
1122 1123 1124 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1122 def self_link @self_link end |
#url ⇒ String
The user's profile page.
Corresponds to the JSON property url
1127 1128 1129 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1127 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 1134 def update!(**args) @about = args[:about] if args.key?(:about) @blogs = args[:blogs] if args.key?(:blogs) @created = args[:created] if args.key?(:created) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) @self_link = args[:self_link] if args.key?(:self_link) @url = args[:url] if args.key?(:url) end |