Class: Kaltura::KalturaVarPartnerUsageItem

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_var_console_client_plugin.rb

Direct Known Subclasses

KalturaVarPartnerUsageTotalItem

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#audio_entries_countObject

Number of new audio entries created during specific date range



68
69
70
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 68

def audio_entries_count
  @audio_entries_count
end

#avg_storageObject

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



89
90
91
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 89

def avg_storage
  @avg_storage
end

#bandwidthObject

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



74
75
76
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 74

def bandwidth
  @bandwidth
end

#combined_storage_bandwidthObject

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



92
93
94
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 92

def combined_storage_bandwidth
  @combined_storage_bandwidth
end

#date_idObject

TGhe date at which the report was taken - Unix Timestamp



98
99
100
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 98

def date_id
  @date_id
end

#deleted_storageObject

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



83
84
85
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 83

def deleted_storage
  @deleted_storage
end

#entries_countObject

Number of new entries created during specific date range



56
57
58
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 56

def entries_count
  @entries_count
end

#image_entries_countObject

Number of new image entries created during specific date range



65
66
67
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 65

def image_entries_count
  @image_entries_count
end

#mix_entries_countObject

Number of new mix entries created during specific date range



71
72
73
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 71

def mix_entries_count
  @mix_entries_count
end

#partner_created_atObject

Partner creation date (Unix timestamp)



47
48
49
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 47

def partner_created_at
  @partner_created_at
end

#partner_idObject

Partner ID



35
36
37
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 35

def partner_id
  @partner_id
end

#partner_nameObject

Partner name



38
39
40
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 38

def partner_name
  @partner_name
end

#partner_packageObject

Partner package



44
45
46
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 44

def partner_package
  @partner_package
end

#partner_statusObject

Partner status



41
42
43
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 41

def partner_status
  @partner_status
end

#peak_storageObject

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



86
87
88
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 86

def peak_storage
  @peak_storage
end

#playsObject

Number of plays in the specific date range



53
54
55
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 53

def plays
  @plays
end

#storageObject

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



80
81
82
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 80

def storage
  @storage
end

#total_entries_countObject

Total number of entries



59
60
61
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 59

def total_entries_count
  @total_entries_count
end

#total_storageObject

The total storage consumption (in MB)



77
78
79
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 77

def total_storage
  @total_storage
end

#transcoding_usageObject

Amount of transcoding usage in MB



95
96
97
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 95

def transcoding_usage
  @transcoding_usage
end

#video_entries_countObject

Number of new video entries created during specific date range



62
63
64
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 62

def video_entries_count
  @video_entries_count
end

#viewsObject

Number of player loads in the specific date range



50
51
52
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 50

def views
  @views
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
# File 'lib/kaltura_plugins/kaltura_var_console_client_plugin.rb', line 161

def from_xml(xml_element)
	super
	self.partner_id = xml_element.elements['partnerId'].text
	self.partner_name = xml_element.elements['partnerName'].text
	self.partner_status = xml_element.elements['partnerStatus'].text
	self.partner_package = xml_element.elements['partnerPackage'].text
	self.partner_created_at = xml_element.elements['partnerCreatedAt'].text
	self.views = xml_element.elements['views'].text
	self.plays = xml_element.elements['plays'].text
	self.entries_count = xml_element.elements['entriesCount'].text
	self.total_entries_count = xml_element.elements['totalEntriesCount'].text
	self.video_entries_count = xml_element.elements['videoEntriesCount'].text
	self.image_entries_count = xml_element.elements['imageEntriesCount'].text
	self.audio_entries_count = xml_element.elements['audioEntriesCount'].text
	self.mix_entries_count = xml_element.elements['mixEntriesCount'].text
	self.bandwidth = xml_element.elements['bandwidth'].text
	self.total_storage = xml_element.elements['totalStorage'].text
	self.storage = xml_element.elements['storage'].text
	self.deleted_storage = xml_element.elements['deletedStorage'].text
	self.peak_storage = xml_element.elements['peakStorage'].text
	self.avg_storage = xml_element.elements['avgStorage'].text
	self.combined_storage_bandwidth = xml_element.elements['combinedStorageBandwidth'].text
	self.transcoding_usage = xml_element.elements['transcodingUsage'].text
	self.date_id = xml_element.elements['dateId'].text
end