Class: Kaltura::KalturaVarPartnerUsageItem
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaVarPartnerUsageItem
- Defined in:
- lib/kaltura_plugins/kaltura_var_console_client_plugin.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#audio_entries_count ⇒ Object
Number of new audio entries created during specific date range.
-
#avg_storage ⇒ Object
The average amount of storage consumption during the given date range for the specific publisher.
-
#bandwidth ⇒ Object
The total bandwidth usage during the given date range (in MB).
-
#combined_storage_bandwidth ⇒ Object
The combined amount of bandwidth and storage consumed during the given date range for the specific publisher.
-
#date_id ⇒ Object
TGhe date at which the report was taken - Unix Timestamp.
-
#deleted_storage ⇒ Object
The deleted storage consumption (new uploads) during the given date range (in MB).
-
#entries_count ⇒ Object
Number of new entries created during specific date range.
-
#image_entries_count ⇒ Object
Number of new image entries created during specific date range.
-
#mix_entries_count ⇒ Object
Number of new mix entries created during specific date range.
-
#partner_created_at ⇒ Object
Partner creation date (Unix timestamp).
-
#partner_id ⇒ Object
Partner ID.
-
#partner_name ⇒ Object
Partner name.
-
#partner_package ⇒ Object
Partner package.
-
#partner_status ⇒ Object
Partner status.
-
#peak_storage ⇒ Object
The peak amount of storage consumption during the given date range for the specific publisher.
-
#plays ⇒ Object
Number of plays in the specific date range.
-
#storage ⇒ Object
The added storage consumption (new uploads) during the given date range (in MB).
-
#total_entries_count ⇒ Object
Total number of entries.
-
#total_storage ⇒ Object
The total storage consumption (in MB).
-
#transcoding_usage ⇒ Object
Amount of transcoding usage in MB.
-
#video_entries_count ⇒ Object
Number of new video entries created during specific date range.
-
#views ⇒ Object
Number of player loads in the specific date range.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#audio_entries_count ⇒ Object
Number of new audio entries created during specific date range
56 57 58 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 56 def audio_entries_count @audio_entries_count end |
#avg_storage ⇒ Object
The average amount of storage consumption during the given date range for the specific publisher
70 71 72 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 70 def avg_storage @avg_storage end |
#bandwidth ⇒ Object
The total bandwidth usage during the given date range (in MB)
60 61 62 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 60 def bandwidth @bandwidth end |
#combined_storage_bandwidth ⇒ Object
The combined amount of bandwidth and storage consumed during the given date range for the specific publisher
72 73 74 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 72 def combined_storage_bandwidth @combined_storage_bandwidth end |
#date_id ⇒ Object
TGhe date at which the report was taken - Unix Timestamp
76 77 78 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 76 def date_id @date_id end |
#deleted_storage ⇒ Object
The deleted storage consumption (new uploads) during the given date range (in MB)
66 67 68 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 66 def deleted_storage @deleted_storage end |
#entries_count ⇒ Object
Number of new entries created during specific date range
48 49 50 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 48 def entries_count @entries_count end |
#image_entries_count ⇒ Object
Number of new image entries created during specific date range
54 55 56 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 54 def image_entries_count @image_entries_count end |
#mix_entries_count ⇒ Object
Number of new mix entries created during specific date range
58 59 60 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 58 def mix_entries_count @mix_entries_count end |
#partner_created_at ⇒ Object
Partner creation date (Unix timestamp)
42 43 44 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 42 def partner_created_at @partner_created_at end |
#partner_id ⇒ Object
Partner ID
34 35 36 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 34 def partner_id @partner_id end |
#partner_name ⇒ Object
Partner name
36 37 38 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 36 def partner_name @partner_name end |
#partner_package ⇒ Object
Partner package
40 41 42 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 40 def partner_package @partner_package end |
#partner_status ⇒ Object
Partner status
38 39 40 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 38 def partner_status @partner_status end |
#peak_storage ⇒ Object
The peak amount of storage consumption during the given date range for the specific publisher
68 69 70 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 68 def peak_storage @peak_storage end |
#plays ⇒ Object
Number of plays in the specific date range
46 47 48 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 46 def plays @plays end |
#storage ⇒ Object
The added storage consumption (new uploads) during the given date range (in MB)
64 65 66 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 64 def storage @storage end |
#total_entries_count ⇒ Object
Total number of entries
50 51 52 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 50 def total_entries_count @total_entries_count end |
#total_storage ⇒ Object
The total storage consumption (in MB)
62 63 64 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 62 def total_storage @total_storage end |
#transcoding_usage ⇒ Object
Amount of transcoding usage in MB
74 75 76 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 74 def transcoding_usage @transcoding_usage end |
#video_entries_count ⇒ Object
Number of new video entries created during specific date range
52 53 54 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 52 def video_entries_count @video_entries_count end |
#views ⇒ Object
Number of player loads in the specific date range
44 45 46 |
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 44 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# 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 |