Class: Kaltura::KalturaUser

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

Direct Known Subclasses

KalturaAdminUser

Instance Attribute Summary collapse

Attributes inherited from KalturaBaseUser

#admin_tags, #allowed_partner_ids, #allowed_partner_packages, #city, #country, #created_at, #deleted_at, #description, #email, #full_name, #id, #indexed_partner_data_int, #indexed_partner_data_string, #language, #last_login_time, #partner_data, #partner_id, #screen_name, #state, #status, #status_updated_at, #storage_size, #tags, #thumbnail_url, #updated_at, #user_mode, #zip

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#date_of_birthObject

Returns the value of attribute date_of_birth.



4131
4132
4133
# File 'lib/kaltura_types.rb', line 4131

def date_of_birth
  @date_of_birth
end

#first_nameObject

Returns the value of attribute first_name.



4138
4139
4140
# File 'lib/kaltura_types.rb', line 4138

def first_name
  @first_name
end

#genderObject

Returns the value of attribute gender.



4132
4133
4134
# File 'lib/kaltura_types.rb', line 4132

def gender
  @gender
end

#is_account_ownerObject

Returns the value of attribute is_account_owner.



4136
4137
4138
# File 'lib/kaltura_types.rb', line 4136

def 
  
end

#is_adminObject

Returns the value of attribute is_admin.



4133
4134
4135
# File 'lib/kaltura_types.rb', line 4133

def is_admin
  @is_admin
end

#last_nameObject

Returns the value of attribute last_name.



4139
4140
4141
# File 'lib/kaltura_types.rb', line 4139

def last_name
  @last_name
end

#login_enabledObject

Returns the value of attribute login_enabled.



4140
4141
4142
# File 'lib/kaltura_types.rb', line 4140

def 
  @login_enabled
end

#passwordObject

Returns the value of attribute password.



4137
4138
4139
# File 'lib/kaltura_types.rb', line 4137

def password
  @password
end

#role_idsObject

Returns the value of attribute role_ids.



4134
4135
4136
# File 'lib/kaltura_types.rb', line 4134

def role_ids
  @role_ids
end

#role_namesObject

Returns the value of attribute role_names.



4135
4136
4137
# File 'lib/kaltura_types.rb', line 4135

def role_names
  @role_names
end

#typeObject

Returns the value of attribute type.



4130
4131
4132
# File 'lib/kaltura_types.rb', line 4130

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
# File 'lib/kaltura_types.rb', line 4161

def from_xml(xml_element)
  super
  if xml_element.elements['type'] != nil
    self.type = xml_element.elements['type'].text
  end
  if xml_element.elements['dateOfBirth'] != nil
    self.date_of_birth = xml_element.elements['dateOfBirth'].text
  end
  if xml_element.elements['gender'] != nil
    self.gender = xml_element.elements['gender'].text
  end
  if xml_element.elements['isAdmin'] != nil
    self.is_admin = xml_element.elements['isAdmin'].text
  end
  if xml_element.elements['roleIds'] != nil
    self.role_ids = xml_element.elements['roleIds'].text
  end
  if xml_element.elements['roleNames'] != nil
    self.role_names = xml_element.elements['roleNames'].text
  end
  if xml_element.elements['isAccountOwner'] != nil
    self. = xml_element.elements['isAccountOwner'].text
  end
  if xml_element.elements['password'] != nil
    self.password = xml_element.elements['password'].text
  end
  if xml_element.elements['firstName'] != nil
    self.first_name = xml_element.elements['firstName'].text
  end
  if xml_element.elements['lastName'] != nil
    self.last_name = xml_element.elements['lastName'].text
  end
  if xml_element.elements['loginEnabled'] != nil
    self. = xml_element.elements['loginEnabled'].text
  end
end