class Kaltura::KalturaAssetDistributionPropertyCondition

Defines the condition to match a property and value on core asset object (or one if its inherited objects)

Attributes

property_name[RW]

The property name to look for, this will match to a getter on the asset object.

Should be camelCase naming convention (defining "myPropertyName" will look for getMyPropertyName())
property_value[RW]

The value to compare

Public Instance Methods

from_xml(xml_element) click to toggle source
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 1056
def from_xml(xml_element)
        super
        if xml_element.elements['propertyName'] != nil
                self.property_name = xml_element.elements['propertyName'].text
        end
        if xml_element.elements['propertyValue'] != nil
                self.property_value = xml_element.elements['propertyValue'].text
        end
end