Class: Kaltura::KalturaIpAddressRestriction
- Inherits:
-
KalturaBaseRestriction
- Object
- KalturaObjectBase
- KalturaBaseRestriction
- Kaltura::KalturaIpAddressRestriction
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#ip_address_list ⇒ Object
Comma separated list of ip address to allow to deny.
-
#ip_address_restriction_type ⇒ Object
Ip address restriction type (Allow or deny).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#ip_address_list ⇒ Object
Comma separated list of ip address to allow to deny
14096 14097 14098 |
# File 'lib/kaltura_types.rb', line 14096 def ip_address_list @ip_address_list end |
#ip_address_restriction_type ⇒ Object
Ip address restriction type (Allow or deny)
14094 14095 14096 |
# File 'lib/kaltura_types.rb', line 14094 def ip_address_restriction_type @ip_address_restriction_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14102 14103 14104 14105 14106 14107 14108 14109 14110 |
# File 'lib/kaltura_types.rb', line 14102 def from_xml(xml_element) super if xml_element.elements['ipAddressRestrictionType'] != nil self.ip_address_restriction_type = xml_element.elements['ipAddressRestrictionType'].text end if xml_element.elements['ipAddressList'] != nil self.ip_address_list = xml_element.elements['ipAddressList'].text end end |