Class: Kaltura::KalturaFacebookDistributionProfile

Inherits:
KalturaConfigurableDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaConfigurableDistributionProfile

#field_config_array, #item_xpaths_to_extend, #use_category_entries

Attributes inherited from KalturaDistributionProfile

#auto_create_flavors, #auto_create_thumb, #created_at, #delete_enabled, #distribute_trigger, #id, #name, #optional_asset_distribution_rules, #optional_flavor_params_ids, #optional_thumb_dimensions, #partner_id, #provider_type, #recommended_dc_for_download, #recommended_dc_for_execute, #recommended_storage_profile_for_download, #report_enabled, #required_asset_distribution_rules, #required_flavor_params_ids, #required_thumb_dimensions, #status, #submit_enabled, #sunrise_default_offset, #sunset_default_offset, #support_image_entry, #update_enabled, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#api_authorize_urlObject

Returns the value of attribute api_authorize_url.



107
108
109
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 107

def api_authorize_url
  @api_authorize_url
end

#page_access_tokenObject

Returns the value of attribute page_access_token.



109
110
111
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 109

def page_access_token
  @page_access_token
end

#page_idObject

Returns the value of attribute page_id.



108
109
110
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 108

def page_id
  @page_id
end

#permissionsObject

Returns the value of attribute permissions.



112
113
114
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 112

def permissions
  @permissions
end

#re_request_permissionsObject

Returns the value of attribute re_request_permissions.



113
114
115
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 113

def re_request_permissions
  @re_request_permissions
end

#stateObject

Returns the value of attribute state.



111
112
113
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 111

def state
  @state
end

#user_access_tokenObject

Returns the value of attribute user_access_token.



110
111
112
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 110

def user_access_token
  @user_access_token
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 119

def from_xml(xml_element)
	super
	if xml_element.elements['apiAuthorizeUrl'] != nil
		self.api_authorize_url = xml_element.elements['apiAuthorizeUrl'].text
	end
	if xml_element.elements['pageId'] != nil
		self.page_id = xml_element.elements['pageId'].text
	end
	if xml_element.elements['pageAccessToken'] != nil
		self.page_access_token = xml_element.elements['pageAccessToken'].text
	end
	if xml_element.elements['userAccessToken'] != nil
		self.user_access_token = xml_element.elements['userAccessToken'].text
	end
	if xml_element.elements['state'] != nil
		self.state = xml_element.elements['state'].text
	end
	if xml_element.elements['permissions'] != nil
		self.permissions = xml_element.elements['permissions'].text
	end
	if xml_element.elements['reRequestPermissions'] != nil
		self.re_request_permissions = xml_element.elements['reRequestPermissions'].text
	end
end