lib/adwords4r/v13/InfoServiceMappingRegistry.rb in adwords4r-13.0.1 vs lib/adwords4r/v13/InfoServiceMappingRegistry.rb in adwords4r-15.0.1

- old
+ new

@@ -1,17 +1,17 @@ require 'adwords4r/v13/InfoService' require 'soap/mapping' -module AdWords; module InfoService +module AdWords; module V13; module InfoService module DefaultMappingRegistry EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new NsV13 = "https://adwords.google.com/api/adwords/v13" EncodedRegistry.register( - :class => AdWords::InfoService::ApiError, + :class => AdWords::V13::InfoService::ApiError, :schema_type => XSD::QName.new(NsV13, "ApiError"), :schema_element => [ ["code", "SOAP::SOAPInt"], ["detail", "SOAP::SOAPString"], ["field", "SOAP::SOAPString", [0, 1]], @@ -22,32 +22,32 @@ ["trigger", "SOAP::SOAPString", [0, 1]] ] ) EncodedRegistry.register( - :class => AdWords::InfoService::ApiException, + :class => AdWords::V13::InfoService::ApiException, :schema_type => XSD::QName.new(NsV13, "ApiException"), :schema_element => [ ["code", "SOAP::SOAPInt"], - ["errors", "AdWords::InfoService::ApiError[]", [1, nil]], + ["errors", "AdWords::V13::InfoService::ApiError[]", [1, nil]], ["internal", "SOAP::SOAPBoolean"], ["message", "SOAP::SOAPString"], ["trigger", "SOAP::SOAPString"] ] ) EncodedRegistry.register( - :class => AdWords::InfoService::ClientUsageRecord, + :class => AdWords::V13::InfoService::ClientUsageRecord, :schema_type => XSD::QName.new(NsV13, "ClientUsageRecord"), :schema_element => [ ["clientEmail", "SOAP::SOAPString"], ["quotaUnits", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::ApiError, + :class => AdWords::V13::InfoService::ApiError, :schema_type => XSD::QName.new(NsV13, "ApiError"), :schema_element => [ ["code", "SOAP::SOAPInt"], ["detail", "SOAP::SOAPString"], ["field", "SOAP::SOAPString", [0, 1]], @@ -58,171 +58,171 @@ ["trigger", "SOAP::SOAPString", [0, 1]] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::ApiException, + :class => AdWords::V13::InfoService::ApiException, :schema_type => XSD::QName.new(NsV13, "ApiException"), :schema_element => [ ["code", "SOAP::SOAPInt"], - ["errors", "AdWords::InfoService::ApiError[]", [1, nil]], + ["errors", "AdWords::V13::InfoService::ApiError[]", [1, nil]], ["internal", "SOAP::SOAPBoolean"], ["message", "SOAP::SOAPString"], ["trigger", "SOAP::SOAPString"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::ClientUsageRecord, + :class => AdWords::V13::InfoService::ClientUsageRecord, :schema_type => XSD::QName.new(NsV13, "ClientUsageRecord"), :schema_element => [ ["clientEmail", "SOAP::SOAPString"], ["quotaUnits", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::ApiException, + :class => AdWords::V13::InfoService::ApiException, :schema_name => XSD::QName.new(NsV13, "fault"), :schema_element => [ ["code", "SOAP::SOAPInt"], - ["errors", "AdWords::InfoService::ApiError[]", [1, nil]], + ["errors", "AdWords::V13::InfoService::ApiError[]", [1, nil]], ["internal", "SOAP::SOAPBoolean"], ["message", "SOAP::SOAPString"], ["trigger", "SOAP::SOAPString"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetFreeUsageQuotaThisMonth, + :class => AdWords::V13::InfoService::GetFreeUsageQuotaThisMonth, :schema_name => XSD::QName.new(NsV13, "getFreeUsageQuotaThisMonth"), :schema_element => [] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetFreeUsageQuotaThisMonthResponse, + :class => AdWords::V13::InfoService::GetFreeUsageQuotaThisMonthResponse, :schema_name => XSD::QName.new(NsV13, "getFreeUsageQuotaThisMonthResponse"), :schema_element => [ ["getFreeUsageQuotaThisMonthReturn", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetMethodCost, + :class => AdWords::V13::InfoService::GetMethodCost, :schema_name => XSD::QName.new(NsV13, "getMethodCost"), :schema_element => [ ["service", "SOAP::SOAPString"], ["method", "SOAP::SOAPString"], ["date", "SOAP::SOAPDate"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetMethodCostResponse, + :class => AdWords::V13::InfoService::GetMethodCostResponse, :schema_name => XSD::QName.new(NsV13, "getMethodCostResponse"), :schema_element => [ ["getMethodCostReturn", "SOAP::SOAPInt"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetOperationCount, + :class => AdWords::V13::InfoService::GetOperationCount, :schema_name => XSD::QName.new(NsV13, "getOperationCount"), :schema_element => [ ["startDate", "SOAP::SOAPDate"], ["endDate", "SOAP::SOAPDate"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetOperationCountResponse, + :class => AdWords::V13::InfoService::GetOperationCountResponse, :schema_name => XSD::QName.new(NsV13, "getOperationCountResponse"), :schema_element => [ ["getOperationCountReturn", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetOperationsQuotaThisMonth, + :class => AdWords::V13::InfoService::GetOperationsQuotaThisMonth, :schema_name => XSD::QName.new(NsV13, "getOperationsQuotaThisMonth"), :schema_element => [] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetOperationsQuotaThisMonthResponse, + :class => AdWords::V13::InfoService::GetOperationsQuotaThisMonthResponse, :schema_name => XSD::QName.new(NsV13, "getOperationsQuotaThisMonthResponse"), :schema_element => [ ["getOperationsQuotaThisMonthReturn", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUnitCount, + :class => AdWords::V13::InfoService::GetUnitCount, :schema_name => XSD::QName.new(NsV13, "getUnitCount"), :schema_element => [ ["startDate", "SOAP::SOAPDate"], ["endDate", "SOAP::SOAPDate"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUnitCountForClients, + :class => AdWords::V13::InfoService::GetUnitCountForClients, :schema_name => XSD::QName.new(NsV13, "getUnitCountForClients"), :schema_element => [ ["clientEmails", "SOAP::SOAPString[]", [1, nil]], ["startDate", "SOAP::SOAPDate"], ["endDate", "SOAP::SOAPDate"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUnitCountForClientsResponse, + :class => AdWords::V13::InfoService::GetUnitCountForClientsResponse, :schema_name => XSD::QName.new(NsV13, "getUnitCountForClientsResponse"), :schema_element => [ - ["getUnitCountForClientsReturn", "AdWords::InfoService::ClientUsageRecord[]", [1, nil]] + ["getUnitCountForClientsReturn", "AdWords::V13::InfoService::ClientUsageRecord[]", [1, nil]] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUnitCountForMethod, + :class => AdWords::V13::InfoService::GetUnitCountForMethod, :schema_name => XSD::QName.new(NsV13, "getUnitCountForMethod"), :schema_element => [ ["service", "SOAP::SOAPString"], ["method", "SOAP::SOAPString"], ["startDate", "SOAP::SOAPDate"], ["endDate", "SOAP::SOAPDate"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUnitCountForMethodResponse, + :class => AdWords::V13::InfoService::GetUnitCountForMethodResponse, :schema_name => XSD::QName.new(NsV13, "getUnitCountForMethodResponse"), :schema_element => [ ["getUnitCountForMethodReturn", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUnitCountResponse, + :class => AdWords::V13::InfoService::GetUnitCountResponse, :schema_name => XSD::QName.new(NsV13, "getUnitCountResponse"), :schema_element => [ ["getUnitCountReturn", "SOAP::SOAPLong"] ] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUsageQuotaThisMonth, + :class => AdWords::V13::InfoService::GetUsageQuotaThisMonth, :schema_name => XSD::QName.new(NsV13, "getUsageQuotaThisMonth"), :schema_element => [] ) LiteralRegistry.register( - :class => AdWords::InfoService::GetUsageQuotaThisMonthResponse, + :class => AdWords::V13::InfoService::GetUsageQuotaThisMonthResponse, :schema_name => XSD::QName.new(NsV13, "getUsageQuotaThisMonthResponse"), :schema_element => [ ["getUsageQuotaThisMonthReturn", "SOAP::SOAPLong"] ] ) end -end; end +end; end; end