Class: Kaltura::KalturaPartnerUsage

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_client.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type

Method Summary

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#hosting_gbObject

Partner total hosting in GB on the disk



5021
5022
5023
# File 'lib/kaltura_client.rb', line 5021

def hosting_gb
  @hosting_gb
end

#package_bwObject

package total BW - actually this is usage, which represents BW+storage



5027
5028
5029
# File 'lib/kaltura_client.rb', line 5027

def package_bw
  @package_bw
end

#percentObject

percent of usage out of partner’s package. if usageGB is 5 and package is 10GB, this value will be 50



5024
5025
5026
# File 'lib/kaltura_client.rb', line 5024

def percent
  @percent
end

#reached_limit_dateObject

date when partner reached the limit of his package (timestamp)



5033
5034
5035
# File 'lib/kaltura_client.rb', line 5033

def reached_limit_date
  @reached_limit_date
end

#usage_gbObject

total usage in GB - including bandwidth and storage



5030
5031
5032
# File 'lib/kaltura_client.rb', line 5030

def usage_gb
  @usage_gb
end

#usage_graphObject

a semi-colon separated list of comma-separated key-values to represent a usage graph. keys could be 1-12 for a year view (1,1.2;2,1.1;3,0.9;…;12,1.4;) keys could be 1- depending on the requested month, for a daily view in a given month (1,0.4;2,0.2;…;31,0.1;)



5038
5039
5040
# File 'lib/kaltura_client.rb', line 5038

def usage_graph
  @usage_graph
end