Class: Google::Apis::YoutubeV3::LiveChatUserBannedMessageDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::LiveChatUserBannedMessageDetails
 
 
- 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
- 
  
    
      #ban_duration_seconds  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The duration of the ban.
 - 
  
    
      #ban_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of ban.
 - 
  
    
      #banned_user_details  ⇒ Google::Apis::YoutubeV3::ChannelProfileDetails 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The details of the user that was banned.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LiveChatUserBannedMessageDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LiveChatUserBannedMessageDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ LiveChatUserBannedMessageDetails
Returns a new instance of LiveChatUserBannedMessageDetails.
      5049 5050 5051  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 5049 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#ban_duration_seconds ⇒ Fixnum
The duration of the ban. This property is only present if the banType is
temporary.
Corresponds to the JSON property banDurationSeconds
      5037 5038 5039  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 5037 def ban_duration_seconds @ban_duration_seconds end  | 
  
#ban_type ⇒ String
The type of ban.
Corresponds to the JSON property banType
      5042 5043 5044  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 5042 def ban_type @ban_type end  | 
  
#banned_user_details ⇒ Google::Apis::YoutubeV3::ChannelProfileDetails
The details of the user that was banned.
Corresponds to the JSON property bannedUserDetails
      5047 5048 5049  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 5047 def banned_user_details @banned_user_details end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5054 5055 5056 5057 5058  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 5054 def update!(**args) @ban_duration_seconds = args[:ban_duration_seconds] if args.key?(:ban_duration_seconds) @ban_type = args[:ban_type] if args.key?(:ban_type) @banned_user_details = args[:banned_user_details] if args.key?(:banned_user_details) end  |