Class: BatchlyApi::AddProcessorRequest
- Inherits:
-
Object
- Object
- BatchlyApi::AddProcessorRequest
- Defined in:
- lib/batchly_api/models/add_processor_request.rb
Instance Attribute Summary collapse
-
#account_id ⇒ String
TODO: Write general description for this method.
-
#class_name ⇒ String
TODO: Write general description for this method.
-
#custom_image ⇒ CustomImage
TODO: Write general description for this method.
-
#file_name ⇒ String
TODO: Write general description for this method.
-
#language ⇒ LanguageEnum
TODO: Write general description for this method.
-
#operating_system ⇒ OperatingSystemEnum
TODO: Write general description for this method.
-
#package_location ⇒ String
TODO: Write general description for this method.
-
#parameters ⇒ Array<Parameter>
TODO: Write general description for this method.
-
#request_type ⇒ RequestTypeEnum
TODO: Write general description for this method.
-
#response_type ⇒ ResponseTypeEnum
TODO: Write general description for this method.
Instance Method Summary collapse
-
#key_map ⇒ Object
Defines the key map for json serialization.
- #method_missing(method_name) ⇒ Object
-
#to_json ⇒ Object
Creates JSON of the curent object.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name) ⇒ Object
47 48 49 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 47 def method_missing (method_name) puts "there's no method called '#{method_name}'" end |
Instance Attribute Details
#account_id ⇒ String
TODO: Write general description for this method
8 9 10 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 8 def account_id @account_id end |
#class_name ⇒ String
TODO: Write general description for this method
24 25 26 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 24 def class_name @class_name end |
#custom_image ⇒ CustomImage
TODO: Write general description for this method
44 45 46 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 44 def custom_image @custom_image end |
#file_name ⇒ String
TODO: Write general description for this method
20 21 22 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 20 def file_name @file_name end |
#language ⇒ LanguageEnum
TODO: Write general description for this method
16 17 18 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 16 def language @language end |
#operating_system ⇒ OperatingSystemEnum
TODO: Write general description for this method
12 13 14 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 12 def end |
#package_location ⇒ String
TODO: Write general description for this method
36 37 38 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 36 def package_location @package_location end |
#parameters ⇒ Array<Parameter>
TODO: Write general description for this method
40 41 42 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 40 def parameters @parameters end |
#request_type ⇒ RequestTypeEnum
TODO: Write general description for this method
28 29 30 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 28 def request_type @request_type end |
#response_type ⇒ ResponseTypeEnum
TODO: Write general description for this method
32 33 34 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 32 def response_type @response_type end |
Instance Method Details
#key_map ⇒ Object
Defines the key map for json serialization
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 58 def key_map hash = {} hash['AccountId'] = self.account_id hash['OperatingSystem'] = self. hash['Language'] = self.language hash['FileName'] = self.file_name hash['ClassName'] = self.class_name hash['RequestType'] = self.request_type hash['ResponseType'] = self.response_type hash['PackageLocation'] = self.package_location hash['Parameters'] = self.parameters hash['CustomImage'] = self.custom_image hash end |
#to_json ⇒ Object
Creates JSON of the curent object
52 53 54 55 |
# File 'lib/batchly_api/models/add_processor_request.rb', line 52 def to_json hash = self.key_map() hash.to_json end |