Class: Kaltura::KalturaAccessControlProfile

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

#created_atObject

Creation time as Unix timestamp (In seconds)



216
217
218
# File 'lib/kaltura_types.rb', line 216

def created_at
  @created_at
end

#descriptionObject

The description of the Access Control Profile



213
214
215
# File 'lib/kaltura_types.rb', line 213

def description
  @description
end

#idObject

The id of the Access Control Profile



203
204
205
# File 'lib/kaltura_types.rb', line 203

def id
  @id
end

#is_defaultObject

True if this access control profile is the partner default



222
223
224
# File 'lib/kaltura_types.rb', line 222

def is_default
  @is_default
end

#nameObject

The name of the Access Control Profile



207
208
209
# File 'lib/kaltura_types.rb', line 207

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



204
205
206
# File 'lib/kaltura_types.rb', line 204

def partner_id
  @partner_id
end

#rulesObject

Array of access control rules



225
226
227
# File 'lib/kaltura_types.rb', line 225

def rules
  @rules
end

#system_nameObject

System name of the Access Control Profile



210
211
212
# File 'lib/kaltura_types.rb', line 210

def system_name
  @system_name
end

#updated_atObject

Update time as Unix timestamp (In seconds)



219
220
221
# File 'lib/kaltura_types.rb', line 219

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



243
244
245
246
247
248
249
250
251
252
253
254
# File 'lib/kaltura_types.rb', line 243

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.updated_at = xml_element.elements['updatedAt'].text
  self.is_default = xml_element.elements['isDefault'].text
  self.rules = KalturaClientBase.object_from_xml(xml_element.elements['rules'], 'KalturaRule')
end