Class: Kaltura::KalturaUserAgentRestriction
- Inherits:
-
KalturaBaseRestriction
- Object
- KalturaObjectBase
- KalturaBaseRestriction
- Kaltura::KalturaUserAgentRestriction
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#user_agent_regex_list ⇒ Object
A comma seperated list of user agent regular expressions.
-
#user_agent_restriction_type ⇒ Object
User agent restriction type (Allow or deny).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#user_agent_regex_list ⇒ Object
A comma seperated list of user agent regular expressions
16231 16232 16233 |
# File 'lib/kaltura_types.rb', line 16231 def user_agent_regex_list @user_agent_regex_list end |
#user_agent_restriction_type ⇒ Object
User agent restriction type (Allow or deny)
16229 16230 16231 |
# File 'lib/kaltura_types.rb', line 16229 def user_agent_restriction_type @user_agent_restriction_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
16237 16238 16239 16240 16241 16242 16243 16244 16245 |
# File 'lib/kaltura_types.rb', line 16237 def from_xml(xml_element) super if xml_element.elements['userAgentRestrictionType'] != nil self.user_agent_restriction_type = xml_element.elements['userAgentRestrictionType'].text end if xml_element.elements['userAgentRegexList'] != nil self.user_agent_regex_list = xml_element.elements['userAgentRegexList'].text end end |