Method: CloudmersiveConvertApiClient::XmlQueryWithXQueryResult#initialize
- Defined in:
- lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb
#initialize(attributes = {}) ⇒ XmlQueryWithXQueryResult
Initializes the object
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb', line 47 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'Successful') self.successful = attributes[:'Successful'] end if attributes.has_key?(:'ResultingXml') self.resulting_xml = attributes[:'ResultingXml'] end if attributes.has_key?(:'ErrorMessage') self. = attributes[:'ErrorMessage'] end end |