Changeset 1678
- Timestamp:
- 11/26/05 23:31:41 (3 years ago)
- Files:
-
- trunk/sample/wsdl/salesforce/default.rb (modified) (69 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/sample/wsdl/salesforce/default.rb
r1650 r1678 6 6 @@schema_ns = "urn:partner.soap.sforce.com" 7 7 @@schema_qualified = "true" 8 @@schema_element = [["username", "SOAP::SOAPString"], ["password", "SOAP::SOAPString"]] 8 @@schema_element = [ 9 ["username", "SOAP::SOAPString"], 10 ["password", "SOAP::SOAPString"] 11 ] 9 12 10 13 attr_accessor :username … … 22 25 @@schema_ns = "urn:partner.soap.sforce.com" 23 26 @@schema_qualified = "true" 24 @@schema_element = [["result", "LoginResult"]] 27 @@schema_element = [ 28 ["result", "LoginResult"] 29 ] 25 30 26 31 attr_accessor :result … … 36 41 @@schema_ns = "urn:partner.soap.sforce.com" 37 42 @@schema_qualified = "true" 38 @@schema_element = [["sObjectType", "SOAP::SOAPString"]] 43 @@schema_element = [ 44 ["sObjectType", "SOAP::SOAPString"] 45 ] 39 46 40 47 attr_accessor :sObjectType … … 50 57 @@schema_ns = "urn:partner.soap.sforce.com" 51 58 @@schema_qualified = "true" 52 @@schema_element = [["result", "DescribeSObjectResult"]] 59 @@schema_element = [ 60 ["result", "DescribeSObjectResult"] 61 ] 53 62 54 63 attr_accessor :result … … 75 84 @@schema_ns = "urn:partner.soap.sforce.com" 76 85 @@schema_qualified = "true" 77 @@schema_element = [["result", "DescribeGlobalResult"]] 86 @@schema_element = [ 87 ["result", "DescribeGlobalResult"] 88 ] 78 89 79 90 attr_accessor :result … … 89 100 @@schema_ns = "urn:partner.soap.sforce.com" 90 101 @@schema_qualified = "true" 91 @@schema_element = [["sObjectType", "SOAP::SOAPString"]] 102 @@schema_element = [ 103 ["sObjectType", "SOAP::SOAPString"] 104 ] 92 105 93 106 attr_accessor :sObjectType … … 103 116 @@schema_ns = "urn:partner.soap.sforce.com" 104 117 @@schema_qualified = "true" 105 @@schema_element = [["result", "DescribeLayoutResult"]] 118 @@schema_element = [ 119 ["result", "DescribeLayoutResult"] 120 ] 106 121 107 122 attr_accessor :result … … 113 128 114 129 # {urn:partner.soap.sforce.com}create 115 class Create 116 @@schema_type = "create" 117 @@schema_ns = "urn:partner.soap.sforce.com" 118 @@schema_qualified = "true" 119 @@schema_element = [["sObjects", "SObject[]"]] 120 121 attr_accessor :sObjects 122 123 def initialize(sObjects = []) 124 @sObjects = sObjects 125 end 130 class Create < ::Array 131 @@schema_type = "sObject" 132 @@schema_ns = "urn:sobject.partner.soap.sforce.com" 133 @@schema_element = [ 134 ["sObjects", ["SObject[]", XSD::QName.new("urn:partner.soap.sforce.com", "sObjects")]] 135 ] 126 136 end 127 137 128 138 # {urn:partner.soap.sforce.com}createResponse 129 class CreateResponse 130 @@schema_type = "createResponse" 131 @@schema_ns = "urn:partner.soap.sforce.com" 132 @@schema_qualified = "true" 133 @@schema_element = [["result", "SaveResult[]"]] 134 135 attr_accessor :result 136 137 def initialize(result = []) 138 @result = result 139 end 139 class CreateResponse < ::Array 140 @@schema_type = "SaveResult" 141 @@schema_ns = "urn:partner.soap.sforce.com" 142 @@schema_element = [ 143 ["result", ["SaveResult[]", XSD::QName.new("urn:partner.soap.sforce.com", "result")]] 144 ] 140 145 end 141 146 142 147 # {urn:partner.soap.sforce.com}update 143 class Update 144 @@schema_type = "update" 145 @@schema_ns = "urn:partner.soap.sforce.com" 146 @@schema_qualified = "true" 147 @@schema_element = [["sObjects", "SObject[]"]] 148 149 attr_accessor :sObjects 150 151 def initialize(sObjects = []) 152 @sObjects = sObjects 153 end 148 class Update < ::Array 149 @@schema_type = "sObject" 150 @@schema_ns = "urn:sobject.partner.soap.sforce.com" 151 @@schema_element = [ 152 ["sObjects", ["SObject[]", XSD::QName.new("urn:partner.soap.sforce.com", "sObjects")]] 153 ] 154 154 end 155 155 156 156 # {urn:partner.soap.sforce.com}updateResponse 157 class UpdateResponse 158 @@schema_type = "updateResponse" 159 @@schema_ns = "urn:partner.soap.sforce.com" 160 @@schema_qualified = "true" 161 @@schema_element = [["result", "SaveResult[]"]] 162 163 attr_accessor :result 164 165 def initialize(result = []) 166 @result = result 167 end 157 class UpdateResponse < ::Array 158 @@schema_type = "SaveResult" 159 @@schema_ns = "urn:partner.soap.sforce.com" 160 @@schema_element = [ 161 ["result", ["SaveResult[]", XSD::QName.new("urn:partner.soap.sforce.com", "result")]] 162 ] 168 163 end 169 164 170 165 # {urn:partner.soap.sforce.com}delete 171 class Delete 172 @@schema_type = "delete" 173 @@schema_ns = "urn:partner.soap.sforce.com" 174 @@schema_qualified = "true" 175 @@schema_element = [["ids", "SOAP::SOAPString[]"]] 176 177 attr_accessor :ids 178 179 def initialize(ids = []) 180 @ids = ids 181 end 166 class Delete < ::Array 167 @@schema_type = "ID" 168 @@schema_ns = "urn:partner.soap.sforce.com" 169 @@schema_element = [ 170 ["ids", ["SOAP::SOAPString[]", XSD::QName.new("urn:partner.soap.sforce.com", "ids")]] 171 ] 182 172 end 183 173 184 174 # {urn:partner.soap.sforce.com}deleteResponse 185 class DeleteResponse 186 @@schema_type = "deleteResponse" 187 @@schema_ns = "urn:partner.soap.sforce.com" 188 @@schema_qualified = "true" 189 @@schema_element = [["result", "DeleteResult[]"]] 190 191 attr_accessor :result 192 193 def initialize(result = []) 194 @result = result 195 end 175 class DeleteResponse < ::Array 176 @@schema_type = "DeleteResult" 177 @@schema_ns = "urn:partner.soap.sforce.com" 178 @@schema_element = [ 179 ["result", ["DeleteResult[]", XSD::QName.new("urn:partner.soap.sforce.com", "result")]] 180 ] 196 181 end 197 182 … … 201 186 @@schema_ns = "urn:partner.soap.sforce.com" 202 187 @@schema_qualified = "true" 203 @@schema_element = [["fieldList", "SOAP::SOAPString"], ["sObjectType", "SOAP::SOAPString"], ["ids", "SOAP::SOAPString[]"]] 188 @@schema_element = [ 189 ["fieldList", "SOAP::SOAPString"], 190 ["sObjectType", "SOAP::SOAPString"], 191 ["ids", "SOAP::SOAPString[]"] 192 ] 204 193 205 194 attr_accessor :fieldList … … 215 204 216 205 # {urn:partner.soap.sforce.com}retrieveResponse 217 class RetrieveResponse 218 @@schema_type = "retrieveResponse" 219 @@schema_ns = "urn:partner.soap.sforce.com" 220 @@schema_qualified = "true" 221 @@schema_element = [["result", "SObject[]"]] 222 223 attr_accessor :result 224 225 def initialize(result = []) 226 @result = result 227 end 206 class RetrieveResponse < ::Array 207 @@schema_type = "sObject" 208 @@schema_ns = "urn:sobject.partner.soap.sforce.com" 209 @@schema_element = [ 210 ["result", ["SObject[]", XSD::QName.new("urn:partner.soap.sforce.com", "result")]] 211 ] 228 212 end 229 213 230 214 # {urn:partner.soap.sforce.com}convertLead 231 class ConvertLead 232 @@schema_type = "convertLead" 233 @@schema_ns = "urn:partner.soap.sforce.com" 234 @@schema_qualified = "true" 235 @@schema_element = [["leadConverts", "LeadConvert[]"]] 236 237 attr_accessor :leadConverts 238 239 def initialize(leadConverts = []) 240 @leadConverts = leadConverts 241 end 215 class ConvertLead < ::Array 216 @@schema_type = "LeadConvert" 217 @@schema_ns = "urn:partner.soap.sforce.com" 218 @@schema_element = [ 219 ["leadConverts", ["LeadConvert[]", XSD::QName.new("urn:partner.soap.sforce.com", "leadConverts")]] 220 ] 242 221 end 243 222 244 223 # {urn:partner.soap.sforce.com}convertLeadResponse 245 class ConvertLeadResponse 246 @@schema_type = "convertLeadResponse" 247 @@schema_ns = "urn:partner.soap.sforce.com" 248 @@schema_qualified = "true" 249 @@schema_element = [["result", "LeadConvertResult[]"]] 250 251 attr_accessor :result 252 253 def initialize(result = []) 254 @result = result 255 end 224 class ConvertLeadResponse < ::Array 225 @@schema_type = "LeadConvertResult" 226 @@schema_ns = "urn:partner.soap.sforce.com" 227 @@schema_element = [ 228 ["result", ["LeadConvertResult[]", XSD::QName.new("urn:partner.soap.sforce.com", "result")]] 229 ] 256 230 end 257 231 … … 261 235 @@schema_ns = "urn:partner.soap.sforce.com" 262 236 @@schema_qualified = "true" 263 @@schema_element = [["sObjectType", "SOAP::SOAPString"], ["startDate", "SOAP::SOAPDateTime"], ["endDate", "SOAP::SOAPDateTime"]] 237 @@schema_element = [ 238 ["sObjectType", "SOAP::SOAPString"], 239 ["startDate", "SOAP::SOAPDateTime"], 240 ["endDate", "SOAP::SOAPDateTime"] 241 ] 264 242 265 243 attr_accessor :sObjectType … … 279 257 @@schema_ns = "urn:partner.soap.sforce.com" 280 258 @@schema_qualified = "true" 281 @@schema_element = [["result", "GetUpdatedResult"]] 259 @@schema_element = [ 260 ["result", "GetUpdatedResult"] 261 ] 282 262 283 263 attr_accessor :result … … 293 273 @@schema_ns = "urn:partner.soap.sforce.com" 294 274 @@schema_qualified = "true" 295 @@schema_element = [["sObjectType", "SOAP::SOAPString"], ["startDate", "SOAP::SOAPDateTime"], ["endDate", "SOAP::SOAPDateTime"]] 275 @@schema_element = [ 276 ["sObjectType", "SOAP::SOAPString"], 277 ["startDate", "SOAP::SOAPDateTime"], 278 ["endDate", "SOAP::SOAPDateTime"] 279 ] 296 280 297 281 attr_accessor :sObjectType … … 311 295 @@schema_ns = "urn:partner.soap.sforce.com" 312 296 @@schema_qualified = "true" 313 @@schema_element = [["result", "GetDeletedResult"]] 297 @@schema_element = [ 298 ["result", "GetDeletedResult"] 299 ] 314 300 315 301 attr_accessor :result … … 325 311 @@schema_ns = "urn:partner.soap.sforce.com" 326 312 @@schema_qualified = "true" 327 @@schema_element = [["queryString", "SOAP::SOAPString"]] 313 @@schema_element = [ 314 ["queryString", "SOAP::SOAPString"] 315 ] 328 316 329 317 attr_accessor :queryString … … 339 327 @@schema_ns = "urn:partner.soap.sforce.com" 340 328 @@schema_qualified = "true" 341 @@schema_element = [["result", "QueryResult"]] 329 @@schema_element = [ 330 ["result", "QueryResult"] 331 ] 342 332 343 333 attr_accessor :result … … 353 343 @@schema_ns = "urn:partner.soap.sforce.com" 354 344 @@schema_qualified = "true" 355 @@schema_element = [["queryLocator", "SOAP::SOAPString"]] 345 @@schema_element = [ 346 ["queryLocator", "SOAP::SOAPString"] 347 ] 356 348 357 349 attr_accessor :queryLocator … … 367 359 @@schema_ns = "urn:partner.soap.sforce.com" 368 360 @@schema_qualified = "true" 369 @@schema_element = [["result", "QueryResult"]] 361 @@schema_element = [ 362 ["result", "QueryResult"] 363 ] 370 364 371 365 attr_accessor :result … … 381 375 @@schema_ns = "urn:partner.soap.sforce.com" 382 376 @@schema_qualified = "true" 383 @@schema_element = [["searchString", "SOAP::SOAPString"]] 377 @@schema_element = [ 378 ["searchString", "SOAP::SOAPString"] 379 ] 384 380 385 381 attr_accessor :searchString … … 395 391 @@schema_ns = "urn:partner.soap.sforce.com" 396 392 @@schema_qualified = "true" 397 @@schema_element = [["result", "SearchResult"]] 393 @@schema_element = [ 394 ["result", "SearchResult"] 395 ] 398 396 399 397 attr_accessor :result … … 420 418 @@schema_ns = "urn:partner.soap.sforce.com" 421 419 @@schema_qualified = "true" 422 @@schema_element = [["result", "GetServerTimestampResult"]] 420 @@schema_element = [ 421 ["result", "GetServerTimestampResult"] 422 ] 423 423 424 424 attr_accessor :result … … 434 434 @@schema_ns = "urn:partner.soap.sforce.com" 435 435 @@schema_qualified = "true" 436 @@schema_element = [["userId", "SOAP::SOAPString"], ["password", "SOAP::SOAPString"]] 436 @@schema_element = [ 437 ["userId", "SOAP::SOAPString"], 438 ["password", "SOAP::SOAPString"] 439 ] 437 440 438 441 attr_accessor :userId … … 450 453 @@schema_ns = "urn:partner.soap.sforce.com" 451 454 @@schema_qualified = "true" 452 @@schema_element = [["result", "SetPasswordResult"]] 455 @@schema_element = [ 456 ["result", "SetPasswordResult"] 457 ] 453 458 454 459 attr_accessor :result … … 464 469 @@schema_ns = "urn:partner.soap.sforce.com" 465 470 @@schema_qualified = "true" 466 @@schema_element = [["userId", "SOAP::SOAPString"]] 471 @@schema_element = [ 472 ["userId", "SOAP::SOAPString"] 473 ] 467 474 468 475 attr_accessor :userId … … 478 485 @@schema_ns = "urn:partner.soap.sforce.com" 479 486 @@schema_qualified = "true" 480 @@schema_element = [["result", "ResetPasswordResult"]] 487 @@schema_element = [ 488 ["result", "ResetPasswordResult"] 489 ] 481 490 482 491 attr_accessor :result … … 503 512 @@schema_ns = "urn:partner.soap.sforce.com" 504 513 @@schema_qualified = "true" 505 @@schema_element = [["result", "GetUserInfoResult"]] 514 @@schema_element = [ 515 ["result", "GetUserInfoResult"] 516 ] 506 517 507 518 attr_accessor :result … … 517 528 @@schema_ns = "urn:partner.soap.sforce.com" 518 529 @@schema_qualified = "true" 519 @@schema_element = [["sessionId", "SOAP::SOAPString"]] 530 @@schema_element = [ 531 ["sessionId", "SOAP::SOAPString"] 532 ] 520 533 521 534 attr_accessor :sessionId … … 531 544 @@schema_ns = "urn:partner.soap.sforce.com" 532 545 @@schema_qualified = "true" 533 @@schema_element = [["client", "SOAP::SOAPString"]] 546 @@schema_element = [ 547 ["client", "SOAP::SOAPString"] 548 ] 534 549 535 550 attr_accessor :client … … 545 560 @@schema_ns = "urn:partner.soap.sforce.com" 546 561 @@schema_qualified = "true" 547 @@schema_element = [["batchSize", "SOAP::SOAPInt"]] 562 @@schema_element = [ 563 ["batchSize", "SOAP::SOAPInt"] 564 ] 548 565 549 566 attr_accessor :batchSize … … 559 576 @@schema_ns = "urn:partner.soap.sforce.com" 560 577 @@schema_qualified = "true" 561 @@schema_element = [["autoAssign", "SOAP::SOAPBoolean"], ["assignmentRuleId", "SOAP::SOAPString"]] 578 @@schema_element = [ 579 ["autoAssign", "SOAP::SOAPBoolean"], 580 ["assignmentRuleId", "SOAP::SOAPString"] 581 ] 562 582 563 583 attr_accessor :autoAssign … … 575 595 @@schema_ns = "urn:partner.soap.sforce.com" 576 596 @@schema_qualified = "true" 577 @@schema_element = [["assignmentRuleId", "SOAP::SOAPString"], ["useDefaultRule", "SOAP::SOAPBoolean"]] 597 @@schema_element = [ 598 ["assignmentRuleId", "SOAP::SOAPString"], 599 ["useDefaultRule", "SOAP::SOAPBoolean"] 600 ] 578 601 579 602 attr_accessor :assignmentRuleId … … 590 613 @@schema_type = "sObject" 591 614 @@schema_ns = "urn:sobject.partner.soap.sforce.com" 592 @@schema_element = [["type", "SOAP::SOAPString"], ["fieldsToNull", "SOAP::SOAPString[]"], ["id", ["SOAP::SOAPString", XSD::QName.new("urn:sobject.partner.soap.sforce.com", "Id")]], ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]] 615 @@schema_element = [ 616 ["type", "SOAP::SOAPString"], 617 ["fieldsToNull", "SOAP::SOAPString[]"], 618 ["id", ["SOAP::SOAPString", XSD::QName.new("urn:sobject.partner.soap.sforce.com", "Id")]], 619 ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]] 620 ] 593 621 594 622 attr_accessor :type 595 623 attr_accessor :fieldsToNull 624 attr_accessor :id 596 625 attr_reader :__xmlele_any 597 598 def Id599 @id600 end601 602 def Id=(value)603 @id = value604 end605 626 606 627 def set_any(elements) … … 620 641 @@schema_type = "QueryResult" 621 642 @@schema_ns = "urn:partner.soap.sforce.com" 622 @@schema_element = [["done", "SOAP::SOAPBoolean"], ["queryLocator", "SOAP::SOAPString"], ["records", "SObject[]"], ["size", "SOAP::SOAPInt"]] 643 @@schema_element = [ 644 ["done", "SOAP::SOAPBoolean"], 645 ["queryLocator", "SOAP::SOAPString"], 646 ["records", "SObject[]"], 647 ["size", "SOAP::SOAPInt"] 648 ] 623 649 624 650 attr_accessor :done … … 639 665 @@schema_type = "SearchResult" 640 666 @@schema_ns = "urn:partner.soap.sforce.com" 641 @@schema_element = [["searchRecords", "SearchRecord[]"], ["sforceReserved", "SOAP::SOAPString"]] 667 @@schema_element = [ 668 ["searchRecords", "SearchRecord[]"], 669 ["sforceReserved", "SOAP::SOAPString"] 670 ] 642 671 643 672 attr_accessor :searchRecords … … 654 683 @@schema_type = "SearchRecord" 655 684 @@schema_ns = "urn:partner.soap.sforce.com" 656 @@schema_element = [["record", "SObject"]] 685 @@schema_element = [ 686 ["record", "SObject"] 687 ] 657 688 658 689 attr_accessor :record … … 667 698 @@schema_type = "GetUpdatedResult" 668 699 @@schema_ns = "urn:partner.soap.sforce.com" 669 @@schema_element = [["ids", "SOAP::SOAPString[]"], ["sforceReserved", "SOAP::SOAPString"]] 700 @@schema_element = [ 701 ["ids", "SOAP::SOAPString[]"], 702 ["sforceReserved", "SOAP::SOAPString"] 703 ] 670 704 671 705 attr_accessor :ids … … 682 716 @@schema_type = "GetDeletedResult" 683 717 @@schema_ns = "urn:partner.soap.sforce.com" 684 @@schema_element = [["deletedRecords", "DeletedRecord[]"], ["sforceReserved", "SOAP::SOAPString"]] 718 @@schema_element = [ 719 ["deletedRecords", "DeletedRecord[]"], 720 ["sforceReserved", "SOAP::SOAPString"] 721 ] 685 722 686 723 attr_accessor :deletedRecords … … 697 734 @@schema_type = "DeletedRecord" 698 735 @@schema_ns = "urn:partner.soap.sforce.com" 699 @@schema_element = [["deletedDate", "SOAP::SOAPDateTime"], ["id", "SOAP::SOAPString"]] 736 @@schema_element = [ 737 ["deletedDate", "SOAP::SOAPDateTime"], 738 ["id", "SOAP::SOAPString"] 739 ] 700 740 701 741 attr_accessor :deletedDate … … 712 752 @@schema_type = "GetServerTimestampResult" 713 753 @@schema_ns = "urn:partner.soap.sforce.com" 714 @@schema_element = [["timestamp", "SOAP::SOAPDateTime"]] 754 @@schema_element = [ 755 ["timestamp", "SOAP::SOAPDateTime"] 756 ] 715 757 716 758 attr_accessor :timestamp … … 735 777 @@schema_type = "ResetPasswordResult" 736 778 @@schema_ns = "urn:partner.soap.sforce.com" 737 @@schema_element = [["password", "SOAP::SOAPString"]] 779 @@schema_element = [ 780 ["password", "SOAP::SOAPString"] 781 ] 738 782 739 783 attr_accessor :password … … 748 792 @@schema_type = "GetUserInfoResult" 749 793 @@schema_ns = "urn:partner.soap.sforce.com" 750 @@schema_element = [["currencySymbol", "SOAP::SOAPString"], ["organizationId", "SOAP::SOAPString"], ["organizationMultiCurrency", "SOAP::SOAPBoolean"], ["organizationName", "SOAP::SOAPString"], ["userDefaultCurrencyIsoCode", "SOAP::SOAPString"], ["userEmail", "SOAP::SOAPString"], ["userFullName", "SOAP::SOAPString"], ["userId", "SOAP::SOAPString"], ["userLanguage", "SOAP::SOAPString"], ["userLocale", "SOAP::SOAPString"], ["userTimeZone", "SOAP::SOAPString"]] 794 @@schema_element = [ 795 ["currencySymbol", "SOAP::SOAPString"], 796 ["organizationId", "SOAP::SOAPString"], 797 ["organizationMultiCurrency", "SOAP::SOAPBoolean"], 798 ["organizationName", "SOAP::SOAPString"], 799 ["userDefaultCurrencyIsoCode", "SOAP::SOAPString"], 800 ["userEmail", "SOAP::SOAPString"], 801 ["userFullName", "SOAP::SOAPString"], 802 ["userId", "SOAP::SOAPString"], 803 ["userLanguage", "SOAP::SOAPString"], 804 ["userLocale", "SOAP::SOAPString"], 805 ["userTimeZone", "SOAP::SOAPString"] 806 ] 751 807 752 808 attr_accessor :currencySymbol … … 781 837 @@schema_type = "LoginResult" 782 838 @@schema_ns = "urn:partner.soap.sforce.com" 783 @@schema_element = [["passwordExpired", "SOAP::SOAPBoolean"], ["serverUrl", "SOAP::SOAPString"], ["sessionId", "SOAP::SOAPString"], ["userId", "SOAP::SOAPString"]] 839 @@schema_element = [ 840 ["passwordExpired", "SOAP::SOAPBoolean"], 841 ["serverUrl", "SOAP::SOAPString"], 842 ["sessionId", "SOAP::SOAPString"], 843 ["userId", "SOAP::SOAPString"] 844 ] 784 845 785 846 attr_accessor :passwordExpired … … 800 861 @@schema_type = "Error" 801 862 @@schema_ns = "urn:partner.soap.sforce.com" 802 @@schema_element = [["fields", "SOAP::SOAPString[]"], ["message", "SOAP::SOAPString"], ["statusCode", "SOAP::SOAPString"]] 863 @@schema_element = [ 864 ["fields", "SOAP::SOAPString[]"], 865 ["message", "SOAP::SOAPString"], 866 ["statusCode", "SOAP::SOAPString"] 867 ] 803 868 804 869 attr_accessor :fields … … 817 882 @@schema_type = "SaveResult" 818 883 @@schema_ns = "urn:partner.soap.sforce.com" 819 @@schema_element = [["errors", "Error[]"], ["id", "SOAP::SOAPString"], ["success", "SOAP::SOAPBoolean"]] 884 @@schema_element = [ 885 ["errors", "Error[]"], 886 ["id", "SOAP::SOAPString"], 887 ["success", "SOAP::SOAPBoolean"] 888 ] 820 889 821 890 attr_accessor :errors … … 834 903 @@schema_type = "DeleteResult" 835 904 @@schema_ns = "urn:partner.soap.sforce.com" 836 @@schema_element = [["errors", "Error[]"], ["id", "SOAP::SOAPString"], ["success", "SOAP::SOAPBoolean"]] 905 @@schema_element = [ 906 ["errors", "Error[]"], 907 ["id", "SOAP::SOAPString"], 908 ["success", "SOAP::SOAPBoolean"] 909 ] 837 910 838 911 attr_accessor :errors … … 851 924 @@schema_type = "LeadConvert" 852 925 @@schema_ns = "urn:partner.soap.sforce.com" 853 @@schema_element = [["accountId", "SOAP::SOAPString"], ["contactId", "SOAP::SOAPString"], ["convertedStatus", "SOAP::SOAPString"], ["doNotCreateOpportunity", "SOAP::SOAPBoolean"], ["leadId", "SOAP::SOAPString"], ["opportunityName", "SOAP::SOAPString"], ["overwriteLeadSource", "SOAP::SOAPBoolean"], ["ownerId", "SOAP::SOAPString"], ["sendNotificationEmail", "SOAP::SOAPBoolean"]] 926 @@schema_element = [ 927 ["accountId", "SOAP::SOAPString"], 928 ["contactId", "SOAP::SOAPString"], 929 ["convertedStatus", "SOAP::SOAPString"], 930 ["doNotCreateOpportunity", "SOAP::SOAPBoolean"], 931 ["leadId", "SOAP::SOAPString"], 932 ["opportunityName", "SOAP::SOAPString"], 933 ["overwriteLeadSource", "SOAP::SOAPBoolean"], 934 ["ownerId", "SOAP::SOAPString"], 935 ["sendNotificationEmail", "SOAP::SOAPBoolean"] 936 ] 854 937 855 938 attr_accessor :accountId … … 880 963 @@schema_type = "LeadConvertResult" 881 964 @@schema_ns = "urn:partner.soap.sforce.com" 882 @@schema_element = [["accountId", "SOAP::SOAPString"], ["contactId", "SOAP::SOAPString"], ["errors", "Error[]"], ["leadId", "SOAP::SOAPString"], ["opportunityId", "SOAP::SOAPString"], ["success", "SOAP::SOAPBoolean"]] 965 @@schema_element = [ 966 ["accountId", "SOAP::SOAPString"], 967 ["contactId", "SOAP::SOAPString"], 968 ["errors", "Error[]"], 969 ["leadId", "SOAP::SOAPString"], 970 ["opportunityId", "SOAP::SOAPString"], 971 ["success", "SOAP::SOAPBoolean"] 972 ] 883 973 884 974 attr_accessor :accountId … … 903 993 @@schema_type = "DescribeSObjectResult" 904 994 @@schema_ns = "urn:partner.soap.sforce.com" 905 @@schema_element = [["activateable", "SOAP::SOAPBoolean"], ["createable", "SOAP::SOAPBoolean"], ["custom", "SOAP::SOAPBoolean"], ["deletable", "SOAP::SOAPBoolean"], ["fields", "Field[]"], ["keyPrefix", "SOAP::SOAPString"], ["label", "SOAP::SOAPString"], ["layoutable", "SOAP::SOAPBoolean"], ["name", "SOAP::SOAPString"], ["queryable", "SOAP::SOAPBoolean"], ["replicateable", "SOAP::SOAPBoolean"], ["retrieveable", "SOAP::SOAPBoolean"], ["searchable", "SOAP::SOAPBoolean"], ["undeletable", "SOAP::SOAPBoolean"], ["updateable", "SOAP::SOAPBoolean"], ["urlDetail", "SOAP::SOAPString"], ["urlEdit", "SOAP::SOAPString"], ["urlNew", "SOAP::SOAPString"]] 995 @@schema_element = [ 996 ["activateable", "SOAP::SOAPBoolean"], 997 ["createable", "SOAP::SOAPBoolean"], 998 ["custom", "SOAP::SOAPBoolean"], 999 ["deletable", "SOAP::SOAPBoolean"], 1000 ["fields", "Field[]"], 1001 ["keyPrefix", "SOAP::SOAPString"], 1002 ["label", "SOAP::SOAPString"], 1003 ["layoutable", "SOAP::SOAPBoolean"], 1004 ["name", "SOAP::SOAPString"], 1005 ["queryable", "SOAP::SOAPBoolean"], 1006 ["replicateable", "SOAP::SOAPBoolean"], 1007 ["retrieveable", "SOAP::SOAPBoolean"], 1008 ["searchable", "SOAP::SOAPBoolean"], 1009 ["undeletable", "SOAP::SOAPBoolean"], 1010 ["updateable", "SOAP::SOAPBoolean"], 1011 ["urlDetail", "SOAP::SOAPString"], 1012 ["urlEdit", "SOAP::SOAPString"], 1013 ["urlNew", "SOAP::SOAPString"] 1014 ] 906 1015 907 1016 attr_accessor :activateable … … 950 1059 @@schema_type = "DescribeGlobalResult" 951 1060 @@schema_ns = "urn:partner.soap.sforce.com" 952 @@schema_element = [["encoding", "SOAP::SOAPString"], ["maxBatchSize", "SOAP::SOAPInt"], ["types", "SOAP::SOAPString[]"]] 1061 @@schema_element = [ 1062 ["encoding", "SOAP::SOAPString"], 1063 ["maxBatchSize", "SOAP::SOAPInt"], 1064 ["types", "SOAP::SOAPString[]"] 1065 ] 953 1066 954 1067 attr_accessor :encoding … … 967 1080 @@schema_type = "Field" 968 1081 @@schema_ns = "urn:partner.soap.sforce.com" 969 @@schema_element = [["autoNumber", "SOAP::SOAPBoolean"], ["byteLength", "SOAP::SOAPInt"], ["createable", "SOAP::SOAPBoolean"], ["custom", "SOAP::SOAPBoolean"], ["defaultedOnCreate", "SOAP::SOAPBoolean"], ["digits", "SOAP::SOAPInt"], ["filterable", "SOAP::SOAPBoolean"], ["label", "SOAP::SOAPString"], ["length", "SOAP::SOAPInt"], ["name", "SOAP::SOAPString"], ["nameField", "SOAP::SOAPBoolean"], ["nillable", "SOAP::SOAPBoolean"], ["picklistValues", "PicklistEntry[]"], ["precision", "SOAP::SOAPInt"], ["referenceTo", "SOAP::SOAPString[]"], ["restrictedPicklist", "SOAP::SOAPBoolean"], ["scale", "SOAP::SOAPInt"], ["soapType", "SOAP::SOAPString"], ["type", "SOAP::SOAPString"], ["updateable", "SOAP::SOAPBoolean"]] 1082 @@schema_element = [ 1083 ["autoNumber", "SOAP::SOAPBoolean"], 1084 ["byteLength", "SOAP::SOAPInt"], 1085 ["createable", "SOAP::SOAPBoolean"], 1086 ["custom", "SOAP::SOAPBoolean"], 1087 ["defaultedOnCreate", "SOAP::SOAPBoolean"], 1088 ["digits", "SOAP::SOAPInt"], 1089 ["filterable", "SOAP::SOAPBoolean"], 1090 ["label", "SOAP::SOAPString"], 1091 ["length", "SOAP::SOAPInt"], 1092 ["name", "SOAP::SOAPString"], 1093 ["nameField", "SOAP::SOAPBoolean"], 1094 ["nillable", "SOAP::SOAPBoolean"], 1095 ["picklistValues", "PicklistEntry[]"], 1096 ["precision", "SOAP::SOAPInt"], 1097 ["referenceTo", "SOAP::SOAPString[]"], 1098 ["restrictedPicklist", "SOAP::SOAPBoolean"], 1099 ["scale", "SOAP::SOAPInt"], 1100 ["soapType", "SOAP::SOAPString"], 1101 ["type", "SOAP::SOAPString"], 1102 ["updateable", "SOAP::SOAPBoolean"] 1103 ] 970 1104 971 1105 attr_accessor :autoNumber … … 1018 1152 @@schema_type = "PicklistEntry" 1019 1153 @@schema_ns = "urn:partner.soap.sforce.com" 1020 @@schema_element = [["active", "SOAP::SOAPBoolean"], ["defaultValue", "SOAP::SOAPBoolean"], ["label", "SOAP::SOAPString"], ["value", "SOAP::SOAPString"]] 1154 @@schema_element = [ 1155 ["active", "SOAP::SOAPBoolean"], 1156 ["defaultValue", "SOAP::SOAPBoolean"], 1157 ["label", "SOAP::SOAPString"], 1158 ["value", "SOAP::SOAPString"] 1159 ] 1021 1160 1022 1161 attr_accessor :active … … 1037 1176 @@schema_type = "DescribeLayoutResult" 1038 1177 @@schema_ns = "urn:partner.soap.sforce.com" 1039 @@schema_element = [["layouts", "DescribeLayout[]"], ["recordTypeMappings", "RecordTypeMapping[]"]] 1178 @@schema_element = [ 1179 ["layouts", "DescribeLayout[]"], 1180 ["recordTypeMappings", "RecordTypeMapping[]"] 1181 ] 1040 1182 1041 1183 attr_accessor :layouts … … 1052 1194 @@schema_type = "DescribeLayout" 1053 1195 @@schema_ns = "urn:partner.soap.sforce.com" 1054 @@schema_element = [["detailLayoutSections", "DescribeLayoutSection[]"], ["editLayoutSections", "DescribeLayoutSection[]"], ["id", "SOAP::SOAPString"]] 1196 @@schema_element = [ 1197 ["detailLayoutSections", "DescribeLayoutSection[]"], 1198 ["editLayoutSections", "DescribeLayoutSection[]"], 1199 ["id", "SOAP::SOAPString"] 1200 ] 1055 1201 1056 1202 attr_accessor :detailLayoutSections … … 1069 1215 @@schema_type = "DescribeLayoutSection" 1070 1216 @@schema_ns = "urn:partner.soap.sforce.com" 1071 @@schema_element = [["columns", "SOAP::SOAPInt"], ["heading", "SOAP::SOAPString"], ["layoutRows", "DescribeLayoutRow[]"], ["rows", "SOAP::SOAPInt"], ["useHeading", "SOAP::SOAPBoolean"]] 1217 @@schema_element = [ 1218 ["columns", "SOAP::SOAPInt"], 1219 ["heading", "SOAP::SOAPString"], 1220 ["layoutRows", "DescribeLayoutRow[]"], 1221 ["rows", "SOAP::SOAPInt"], 1222 ["useHeading", "SOAP::SOAPBoolean"] 1223 ] 1072 1224 1073 1225 attr_accessor :columns … … 1090 1242 @@schema_type = "DescribeLayoutRow" 1091 1243 @@schema_ns = "urn:partner.soap.sforce.com" 1092 @@schema_element = [["layoutItems", "DescribeLayoutItem[]"], ["numItems", "SOAP::SOAPInt"]] 1244 @@schema_element = [ 1245 ["layoutItems", "DescribeLayoutItem[]"], 1246 ["numItems", "SOAP::SOAPInt"] 1247 ] 1093 1248 1094 1249 attr_accessor :layoutItems … … 1105 1260 @@schema_type = "DescribeLayoutItem" 1106 1261 @@schema_ns = "urn:partner.soap.sforce.com" 1107 @@schema_element = [["editable", "SOAP::SOAPBoolean"], ["label", "SOAP::SOAPString"], ["layoutComponents", "DescribeLayoutComponent[]"], ["placeholder", "SOAP::SOAPBoolean"], ["required", "SOAP::SOAPBoolean"]] 1262 @@schema_element = [ 1263 ["editable", "SOAP::SOAPBoolean"], 1264 ["label", "SOAP::SOAPString"], 1265 ["layoutComponents", "DescribeLayoutComponent[]"], 1266 ["placeholder", "SOAP::SOAPBoolean"], 1267 ["required", "SOAP::SOAPBoolean"] 1268 ] 1108 1269 1109 1270 attr_accessor :editable … … 1126 1287 @@schema_type = "DescribeLayoutComponent" 1127 1288 @@schema_ns = "urn:partner.soap.sforce.com" 1128 @@schema_element = [["tabOrder", "SOAP::SOAPInt"], ["type", "SOAP::SOAPString"], ["value", "SOAP::SOAPString"]] 1289 @@schema_element = [ 1290 ["tabOrder", "SOAP::SOAPInt"], 1291 ["type", "SOAP::SOAPString"], 1292 ["value", "SOAP::SOAPString"] 1293 ] 1129 1294 1130 1295 attr_accessor :tabOrder … … 1143 1308 @@schema_type = "RecordTypeMapping" 1144 1309 @@schema_ns = "urn:partner.soap.sforce.com" 1145 @@schema_element = [["available", "SOAP::SOAPBoolean"], ["defaultRecordTypeMapping", "SOAP::SOAPBoolean"], ["layoutId", "SOAP::SOAPString"], ["name", "SOAP::SOAPString"], ["picklistsForRecordType", "PicklistForRecordType[]"], ["recordTypeId", "SOAP::SOAPString"]] 1310 @@schema_element = [ 1311 ["available", "SOAP::SOAPBoolean"], 1312 ["defaultRecordTypeMapping", "SOAP::SOAPBoolean"], 1313 ["layoutId", "SOAP::SOAPString"], 1314 ["name", "SOAP::SOAPString"], 1315 ["picklistsForRecordType", "PicklistForRecordType[]"], 1316 ["recordTypeId", "SOAP::SOAPString"] 1317 ] 1146 1318 1147 1319 attr_accessor :available … … 1166 1338 @@schema_type = "PicklistForRecordType" 1167 1339 @@schema_ns = "urn:partner.soap.sforce.com" 1168 @@schema_element = [["picklistName", "SOAP::SOAPString"], ["picklistValues", "PicklistEntry[]"]] 1340 @@schema_element = [ 1341 ["picklistName", "SOAP::SOAPString"], 1342 ["picklistValues", "PicklistEntry[]"] 1343 ] 1169 1344 1170 1345 attr_accessor :picklistName … … 1181 1356 @@schema_type = "ApiFault" 1182 1357 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1183 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1358 @@schema_element = [ 1359 ["exceptionCode", "SOAP::SOAPString"], 1360 ["exceptionMessage", "SOAP::SOAPString"] 1361 ] 1184 1362 1185 1363 attr_accessor :exceptionCode … … 1196 1374 @@schema_type = "LoginFault" 1197 1375 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1198 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1376 @@schema_element = [ 1377 ["exceptionCode", "SOAP::SOAPString"], 1378 ["exceptionMessage", "SOAP::SOAPString"] 1379 ] 1199 1380 1200 1381 attr_accessor :exceptionCode … … 1211 1392 @@schema_type = "InvalidSObjectFault" 1212 1393 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1213 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1394 @@schema_element = [ 1395 ["exceptionCode", "SOAP::SOAPString"], 1396 ["exceptionMessage", "SOAP::SOAPString"] 1397 ] 1214 1398 1215 1399 attr_accessor :exceptionCode … … 1226 1410 @@schema_type = "InvalidFieldFault" 1227 1411 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1228 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1412 @@schema_element = [ 1413 ["exceptionCode", "SOAP::SOAPString"], 1414 ["exceptionMessage", "SOAP::SOAPString"] 1415 ] 1229 1416 1230 1417 attr_accessor :exceptionCode … … 1241 1428 @@schema_type = "MalformedQueryFault" 1242 1429 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1243 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1430 @@schema_element = [ 1431 ["exceptionCode", "SOAP::SOAPString"], 1432 ["exceptionMessage", "SOAP::SOAPString"] 1433 ] 1244 1434 1245 1435 attr_accessor :exceptionCode … … 1256 1446 @@schema_type = "InvalidQueryLocatorFault" 1257 1447 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1258 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1448 @@schema_element = [ 1449 ["exceptionCode", "SOAP::SOAPString"], 1450 ["exceptionMessage", "SOAP::SOAPString"] 1451 ] 1259 1452 1260 1453 attr_accessor :exceptionCode … … 1271 1464 @@schema_type = "MalformedSearchFault" 1272 1465 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1273 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1466 @@schema_element = [ 1467 ["exceptionCode", "SOAP::SOAPString"], 1468 ["exceptionMessage", "SOAP::SOAPString"] 1469 ] 1274 1470 1275 1471 attr_accessor :exceptionCode … … 1286 1482 @@schema_type = "InvalidNewPasswordFault" 1287 1483 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1288 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1484 @@schema_element = [ 1485 ["exceptionCode", "SOAP::SOAPString"], 1486 ["exceptionMessage", "SOAP::SOAPString"] 1487 ] 1289 1488 1290 1489 attr_accessor :exceptionCode … … 1301 1500 @@schema_type = "InvalidIdFault" 1302 1501 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1303 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1502 @@schema_element = [ 1503 ["exceptionCode", "SOAP::SOAPString"], 1504 ["exceptionMessage", "SOAP::SOAPString"] 1505 ] 1304 1506 1305 1507 attr_accessor :exceptionCode … … 1316 1518 @@schema_type = "UnexpectedErrorFault" 1317 1519 @@schema_ns = "urn:fault.partner.soap.sforce.com" 1318 @@schema_element = [["exceptionCode", "SOAP::SOAPString"], ["exceptionMessage", "SOAP::SOAPString"]] 1520 @@schema_element = [ 1521 ["exceptionCode", "SOAP::SOAPString"], 1522 ["exceptionMessage", "SOAP::SOAPString"] 1523 ] 1319 1524 1320 1525 attr_accessor :exceptionCode