class Kaltura::KalturaVarPartnerUsageItem

Attributes

audio_entries_count[RW]

Number of new audio entries created during specific date range

avg_storage[RW]

The average amount of storage consumption during the given date range for the specific publisher

bandwidth[RW]

The total bandwidth usage during the given date range (in MB)

combined_storage_bandwidth[RW]

The combined amount of bandwidth and storage consumed during the given date range for the specific publisher

date_id[RW]

TGhe date at which the report was taken - Unix Timestamp

deleted_storage[RW]

The deleted storage consumption (new uploads) during the given date range (in MB)

entries_count[RW]

Number of new entries created during specific date range

image_entries_count[RW]

Number of new image entries created during specific date range

mix_entries_count[RW]

Number of new mix entries created during specific date range

partner_created_at[RW]

Partner creation date (Unix timestamp)

partner_id[RW]

Partner ID

partner_name[RW]

Partner name

partner_package[RW]

Partner package

partner_status[RW]

Partner status

peak_storage[RW]

The peak amount of storage consumption during the given date range for the specific publisher

plays[RW]

Number of plays in the specific date range

storage[RW]

The added storage consumption (new uploads) during the given date range (in MB)

total_entries_count[RW]

Total number of entries

total_storage[RW]

The total storage consumption (in MB)

transcoding_usage[RW]

Amount of transcoding usage in MB

video_entries_count[RW]

Number of new video entries created during specific date range

views[RW]

Number of player loads in the specific date range

Public Instance Methods

audio_entries_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 108
def audio_entries_count=(val)
        @audio_entries_count = val.to_i
end
avg_storage=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 129
def avg_storage=(val)
        @avg_storage = val.to_f
end
bandwidth=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 114
def bandwidth=(val)
        @bandwidth = val.to_f
end
combined_storage_bandwidth=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 132
def combined_storage_bandwidth=(val)
        @combined_storage_bandwidth = val.to_f
end
deleted_storage=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 123
def deleted_storage=(val)
        @deleted_storage = val.to_f
end
entries_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 96
def entries_count=(val)
        @entries_count = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 139
def from_xml(xml_element)
        super
        if xml_element.elements['partnerId'] != nil
                self.partner_id = xml_element.elements['partnerId'].text
        end
        if xml_element.elements['partnerName'] != nil
                self.partner_name = xml_element.elements['partnerName'].text
        end
        if xml_element.elements['partnerStatus'] != nil
                self.partner_status = xml_element.elements['partnerStatus'].text
        end
        if xml_element.elements['partnerPackage'] != nil
                self.partner_package = xml_element.elements['partnerPackage'].text
        end
        if xml_element.elements['partnerCreatedAt'] != nil
                self.partner_created_at = xml_element.elements['partnerCreatedAt'].text
        end
        if xml_element.elements['views'] != nil
                self.views = xml_element.elements['views'].text
        end
        if xml_element.elements['plays'] != nil
                self.plays = xml_element.elements['plays'].text
        end
        if xml_element.elements['entriesCount'] != nil
                self.entries_count = xml_element.elements['entriesCount'].text
        end
        if xml_element.elements['totalEntriesCount'] != nil
                self.total_entries_count = xml_element.elements['totalEntriesCount'].text
        end
        if xml_element.elements['videoEntriesCount'] != nil
                self.video_entries_count = xml_element.elements['videoEntriesCount'].text
        end
        if xml_element.elements['imageEntriesCount'] != nil
                self.image_entries_count = xml_element.elements['imageEntriesCount'].text
        end
        if xml_element.elements['audioEntriesCount'] != nil
                self.audio_entries_count = xml_element.elements['audioEntriesCount'].text
        end
        if xml_element.elements['mixEntriesCount'] != nil
                self.mix_entries_count = xml_element.elements['mixEntriesCount'].text
        end
        if xml_element.elements['bandwidth'] != nil
                self.bandwidth = xml_element.elements['bandwidth'].text
        end
        if xml_element.elements['totalStorage'] != nil
                self.total_storage = xml_element.elements['totalStorage'].text
        end
        if xml_element.elements['storage'] != nil
                self.storage = xml_element.elements['storage'].text
        end
        if xml_element.elements['deletedStorage'] != nil
                self.deleted_storage = xml_element.elements['deletedStorage'].text
        end
        if xml_element.elements['peakStorage'] != nil
                self.peak_storage = xml_element.elements['peakStorage'].text
        end
        if xml_element.elements['avgStorage'] != nil
                self.avg_storage = xml_element.elements['avgStorage'].text
        end
        if xml_element.elements['combinedStorageBandwidth'] != nil
                self.combined_storage_bandwidth = xml_element.elements['combinedStorageBandwidth'].text
        end
        if xml_element.elements['transcodingUsage'] != nil
                self.transcoding_usage = xml_element.elements['transcodingUsage'].text
        end
        if xml_element.elements['dateId'] != nil
                self.date_id = xml_element.elements['dateId'].text
        end
end
image_entries_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 105
def image_entries_count=(val)
        @image_entries_count = val.to_i
end
mix_entries_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 111
def mix_entries_count=(val)
        @mix_entries_count = val.to_i
end
partner_created_at=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 87
def partner_created_at=(val)
        @partner_created_at = val.to_i
end
partner_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 78
def partner_id=(val)
        @partner_id = val.to_i
end
partner_package=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 84
def partner_package=(val)
        @partner_package = val.to_i
end
partner_status=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 81
def partner_status=(val)
        @partner_status = val.to_i
end
peak_storage=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 126
def peak_storage=(val)
        @peak_storage = val.to_f
end
plays=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 93
def plays=(val)
        @plays = val.to_i
end
storage=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 120
def storage=(val)
        @storage = val.to_f
end
total_entries_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 99
def total_entries_count=(val)
        @total_entries_count = val.to_i
end
total_storage=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 117
def total_storage=(val)
        @total_storage = val.to_f
end
transcoding_usage=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 135
def transcoding_usage=(val)
        @transcoding_usage = val.to_f
end
video_entries_count=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 102
def video_entries_count=(val)
        @video_entries_count = val.to_i
end
views=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_var_console_client_plugin.rb, line 90
def views=(val)
        @views = val.to_i
end