Class: Kaltura::KalturaAccessControl

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#contains_unsuported_restrictionsObject

Indicates that the access control profile is new and should be handled using KalturaAccessControlProfile object and accessControlProfile service



80
81
82
# File 'lib/kaltura_types.rb', line 80

def contains_unsuported_restrictions
  @contains_unsuported_restrictions
end

#created_atObject

Creation date as Unix timestamp (In seconds)



71
72
73
# File 'lib/kaltura_types.rb', line 71

def created_at
  @created_at
end

#descriptionObject

The description of the Access Control Profile



68
69
70
# File 'lib/kaltura_types.rb', line 68

def description
  @description
end

#idObject

The id of the Access Control Profile



58
59
60
# File 'lib/kaltura_types.rb', line 58

def id
  @id
end

#is_defaultObject

True if this Conversion Profile is the default



74
75
76
# File 'lib/kaltura_types.rb', line 74

def is_default
  @is_default
end

#nameObject

The name of the Access Control Profile



62
63
64
# File 'lib/kaltura_types.rb', line 62

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



59
60
61
# File 'lib/kaltura_types.rb', line 59

def partner_id
  @partner_id
end

#restrictionsObject

Array of Access Control Restrictions



77
78
79
# File 'lib/kaltura_types.rb', line 77

def restrictions
  @restrictions
end

#system_nameObject

System name of the Access Control Profile



65
66
67
# File 'lib/kaltura_types.rb', line 65

def system_name
  @system_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/kaltura_types.rb', line 98

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.name = xml_element.elements['name'].text
  self.system_name = xml_element.elements['systemName'].text
  self.description = xml_element.elements['description'].text
  self.created_at = xml_element.elements['createdAt'].text
  self.is_default = xml_element.elements['isDefault'].text
  self.restrictions = KalturaClientBase.object_from_xml(xml_element.elements['restrictions'], 'KalturaBaseRestriction')
  self.contains_unsuported_restrictions = xml_element.elements['containsUnsuportedRestrictions'].text
end