Class: ChargeBee::UsageFile
- Defined in:
- lib/chargebee/models/usage_file.rb
Defined Under Namespace
Classes: UploadDetail
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_file_path ⇒ Object
Returns the value of attribute error_file_path.
-
#error_file_url ⇒ Object
Returns the value of attribute error_file_url.
-
#error_reason ⇒ Object
Returns the value of attribute error_reason.
-
#failed_records_count ⇒ Object
Returns the value of attribute failed_records_count.
-
#file_size_in_bytes ⇒ Object
Returns the value of attribute file_size_in_bytes.
-
#id ⇒ Object
Returns the value of attribute id.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#processed_records_count ⇒ Object
Returns the value of attribute processed_records_count.
-
#processing_completed_at ⇒ Object
Returns the value of attribute processing_completed_at.
-
#processing_started_at ⇒ Object
Returns the value of attribute processing_started_at.
-
#status ⇒ Object
Returns the value of attribute status.
-
#total_records_count ⇒ Object
Returns the value of attribute total_records_count.
-
#upload_details ⇒ Object
Returns the value of attribute upload_details.
-
#uploaded_at ⇒ Object
Returns the value of attribute uploaded_at.
-
#uploaded_by ⇒ Object
Returns the value of attribute uploaded_by.
Class Method Summary collapse
- .processing_status(id, env = nil, headers = {}) ⇒ Object
-
.upload_url(params, env = nil, headers = {}) ⇒ Object
OPERATIONS ———–.
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #respond_to_missing?, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def error_code @error_code end |
#error_file_path ⇒ Object
Returns the value of attribute error_file_path.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def error_file_path @error_file_path end |
#error_file_url ⇒ Object
Returns the value of attribute error_file_url.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def error_file_url @error_file_url end |
#error_reason ⇒ Object
Returns the value of attribute error_reason.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def error_reason @error_reason end |
#failed_records_count ⇒ Object
Returns the value of attribute failed_records_count.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def failed_records_count @failed_records_count end |
#file_size_in_bytes ⇒ Object
Returns the value of attribute file_size_in_bytes.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def file_size_in_bytes @file_size_in_bytes end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def id @id end |
#mime_type ⇒ Object
Returns the value of attribute mime_type.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def mime_type @mime_type end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def name @name end |
#processed_records_count ⇒ Object
Returns the value of attribute processed_records_count.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def processed_records_count @processed_records_count end |
#processing_completed_at ⇒ Object
Returns the value of attribute processing_completed_at.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def processing_completed_at @processing_completed_at end |
#processing_started_at ⇒ Object
Returns the value of attribute processing_started_at.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def processing_started_at @processing_started_at end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def status @status end |
#total_records_count ⇒ Object
Returns the value of attribute total_records_count.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def total_records_count @total_records_count end |
#upload_details ⇒ Object
Returns the value of attribute upload_details.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def upload_details @upload_details end |
#uploaded_at ⇒ Object
Returns the value of attribute uploaded_at.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def uploaded_at @uploaded_at end |
#uploaded_by ⇒ Object
Returns the value of attribute uploaded_by.
8 9 10 |
# File 'lib/chargebee/models/usage_file.rb', line 8 def uploaded_by @uploaded_by end |
Class Method Details
.processing_status(id, env = nil, headers = {}) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/chargebee/models/usage_file.rb', line 22 def self.processing_status(id, env=nil, headers={}) jsonKeys = { } = {} Request.send('get', uri_path("usage_files",id.to_s,"processing_status"), {}, env, headers, "file-ingest", false, jsonKeys, ) end |
.upload_url(params, env = nil, headers = {}) ⇒ Object
OPERATIONS
15 16 17 18 19 20 |
# File 'lib/chargebee/models/usage_file.rb', line 15 def self.upload_url(params, env=nil, headers={}) jsonKeys = { } = {} Request.send('post', uri_path("usage_files","upload_url"), params, env, headers, "file-ingest", false, jsonKeys, ) end |