Class: Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The YouTube channel ID.
 - 
  
    
      #channel_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The channel's URL.
 - 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The channel's display name.
 - 
  
    
      #is_chat_moderator  ⇒ Boolean 
    
    
      (also: #is_chat_moderator?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the author is a moderator of the live chat.
 - 
  
    
      #is_chat_owner  ⇒ Boolean 
    
    
      (also: #is_chat_owner?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the author is the owner of the live chat.
 - 
  
    
      #is_chat_sponsor  ⇒ Boolean 
    
    
      (also: #is_chat_sponsor?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the author is a sponsor of the live chat.
 - 
  
    
      #is_verified  ⇒ Boolean 
    
    
      (also: #is_verified?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the author's identity has been verified by YouTube.
 - 
  
    
      #profile_image_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The channels's avatar URL.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LiveChatMessageAuthorDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LiveChatMessageAuthorDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ LiveChatMessageAuthorDetails
Returns a new instance of LiveChatMessageAuthorDetails.
      4403 4404 4405  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4403 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#channel_id ⇒ String
The YouTube channel ID.
Corresponds to the JSON property channelId
      4362 4363 4364  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4362 def channel_id @channel_id end  | 
  
#channel_url ⇒ String
The channel's URL.
Corresponds to the JSON property channelUrl
      4367 4368 4369  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4367 def channel_url @channel_url end  | 
  
#display_name ⇒ String
The channel's display name.
Corresponds to the JSON property displayName
      4372 4373 4374  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4372 def display_name @display_name end  | 
  
#is_chat_moderator ⇒ Boolean Also known as: is_chat_moderator?
Whether the author is a moderator of the live chat.
Corresponds to the JSON property isChatModerator
      4377 4378 4379  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4377 def is_chat_moderator @is_chat_moderator end  | 
  
#is_chat_owner ⇒ Boolean Also known as: is_chat_owner?
Whether the author is the owner of the live chat.
Corresponds to the JSON property isChatOwner
      4383 4384 4385  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4383 def is_chat_owner @is_chat_owner end  | 
  
#is_chat_sponsor ⇒ Boolean Also known as: is_chat_sponsor?
Whether the author is a sponsor of the live chat.
Corresponds to the JSON property isChatSponsor
      4389 4390 4391  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4389 def is_chat_sponsor @is_chat_sponsor end  | 
  
#is_verified ⇒ Boolean Also known as: is_verified?
Whether the author's identity has been verified by YouTube.
Corresponds to the JSON property isVerified
      4395 4396 4397  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4395 def is_verified @is_verified end  | 
  
#profile_image_url ⇒ String
The channels's avatar URL.
Corresponds to the JSON property profileImageUrl
      4401 4402 4403  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4401 def profile_image_url @profile_image_url end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4408 4409 4410 4411 4412 4413 4414 4415 4416 4417  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4408 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @channel_url = args[:channel_url] if args.key?(:channel_url) @display_name = args[:display_name] if args.key?(:display_name) @is_chat_moderator = args[:is_chat_moderator] if args.key?(:is_chat_moderator) @is_chat_owner = args[:is_chat_owner] if args.key?(:is_chat_owner) @is_chat_sponsor = args[:is_chat_sponsor] if args.key?(:is_chat_sponsor) @is_verified = args[:is_verified] if args.key?(:is_verified) @profile_image_url = args[:profile_image_url] if args.key?(:profile_image_url) end  |