dock_genius_api_ruby_client 0.1.1.pre.gcf82e3 → 0.1.2.pre.ge30447

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/config.json +10 -0
  3. data/dg-api-gem/.git/HEAD +1 -0
  4. data/dg-api-gem/.git/config +13 -0
  5. data/dg-api-gem/.git/description +1 -0
  6. data/dg-api-gem/.git/hooks/applypatch-msg.sample +15 -0
  7. data/dg-api-gem/.git/hooks/commit-msg.sample +24 -0
  8. data/dg-api-gem/.git/hooks/post-update.sample +8 -0
  9. data/dg-api-gem/.git/hooks/pre-applypatch.sample +14 -0
  10. data/dg-api-gem/.git/hooks/pre-commit.sample +49 -0
  11. data/dg-api-gem/.git/hooks/pre-push.sample +53 -0
  12. data/dg-api-gem/.git/hooks/pre-rebase.sample +169 -0
  13. data/dg-api-gem/.git/hooks/prepare-commit-msg.sample +36 -0
  14. data/dg-api-gem/.git/hooks/update.sample +128 -0
  15. data/dg-api-gem/.git/index +0 -0
  16. data/dg-api-gem/.git/info/exclude +6 -0
  17. data/dg-api-gem/.git/logs/HEAD +1 -0
  18. data/dg-api-gem/.git/logs/refs/heads/master +1 -0
  19. data/dg-api-gem/.git/logs/refs/remotes/origin/HEAD +1 -0
  20. data/dg-api-gem/.git/objects/00/0bf2136d3179234ddfecb13b26554f9e2f4c90 +0 -0
  21. data/dg-api-gem/.git/objects/03/251f753635b5302d85ffa2b7681623f1f21542 +0 -0
  22. data/dg-api-gem/.git/objects/0a/5c33a52fbb06520d06bbc5f4b124ed1a9528f6 +0 -0
  23. data/dg-api-gem/.git/objects/0f/7798223856c806d373ea8da2ecfb127ab097f4 +0 -0
  24. data/dg-api-gem/.git/objects/10/7ee96a08afe27a4dbe411d6b7ac7274c584dff +0 -0
  25. data/dg-api-gem/.git/objects/18/2ba7055e1aeb4216346152e66e65bddb4c0cf9 +2 -0
  26. data/dg-api-gem/.git/objects/19/1bf6a3c7f96f990c9d13c896a93f3c1d9f20c9 +0 -0
  27. data/dg-api-gem/.git/objects/19/b847fbc31f64ac4362d110c32fe9bbac30b096 +0 -0
  28. data/dg-api-gem/.git/objects/1a/825f63ae485ff56b4faf701ba522bcc0561f78 +3 -0
  29. data/dg-api-gem/.git/objects/1d/691d2d0dbb43d184a96fa3cdb1d3c00a1f4f38 +0 -0
  30. data/dg-api-gem/.git/objects/23/9dbff8bc51ff15a56d0faa3c02e63fed5fcb2c +0 -0
  31. data/dg-api-gem/.git/objects/26/3386d2358171da7acc57031821ab5f4d05f2b2 +0 -0
  32. data/dg-api-gem/.git/objects/2e/c238e03b0fe3c4de9a778eae988047d90adedb +0 -0
  33. data/dg-api-gem/.git/objects/36/1530690b4e5068a46af4e84ffcffcc05fdc4e9 +0 -0
  34. data/dg-api-gem/.git/objects/39/851c468e61c40e98dd367a58130bf03da54049 +0 -0
  35. data/dg-api-gem/.git/objects/3a/1638bae7dad86132067c651430a23e0bd00e94 +0 -0
  36. data/dg-api-gem/.git/objects/3f/dd745b1670cfd8137ed8d9601576c4c55011ca +0 -0
  37. data/dg-api-gem/.git/objects/40/7a612dc315ab5a363898a2f26c5f40406509c3 +0 -0
  38. data/dg-api-gem/.git/objects/44/b1fa84f3fdb596e5aa3be4842fafa6d4265007 +4 -0
  39. data/dg-api-gem/.git/objects/45/3cc136420e8bf8c26ad9a87676e684d011ff8f +2 -0
  40. data/dg-api-gem/.git/objects/4a/ac7c8a0faa701839f79f09f55a7d1087973b2a +0 -0
  41. data/dg-api-gem/.git/objects/4d/389bcc61ad278452415941088a4b5dce2d9e0d +0 -0
  42. data/dg-api-gem/.git/objects/52/2134fcdd3a3416faa5a8d1f1d7cf7eed7614a6 +0 -0
  43. data/dg-api-gem/.git/objects/53/e744e7af409f7e3dbbd67104da92c4fb0af2cd +0 -0
  44. data/dg-api-gem/.git/objects/59/832d27043d158a93887128fa62d436e6baf984 +0 -0
  45. data/dg-api-gem/.git/objects/63/965c44c0baa07e6398ed661798c4cdab144a51 +0 -0
  46. data/dg-api-gem/.git/objects/67/0889ef241c30f1eaa968ce274bb30c4ef2c04a +0 -0
  47. data/dg-api-gem/.git/objects/6e/8ed714c65008dbe2d96f1c7c95701ec628687d +0 -0
  48. data/dg-api-gem/.git/objects/7c/5ec222d1a0d401230d65a4f4c95932b6a4b103 +0 -0
  49. data/dg-api-gem/.git/objects/7d/e4768355b175138f4f328f538172371ff899b1 +0 -0
  50. data/dg-api-gem/.git/objects/7e/44b9aade1a985405320127e7b8c87731e2eb47 +0 -0
  51. data/dg-api-gem/.git/objects/83/e16f80447460c937aeaa44a64d743b27863077 +0 -0
  52. data/dg-api-gem/.git/objects/84/c03b075cc3e55d7c9c7a6408a479a432177ca1 +0 -0
  53. data/dg-api-gem/.git/objects/86/b79fcbf184cf40d3762feaa411e60971c9e4e3 +0 -0
  54. data/dg-api-gem/.git/objects/87/7efadd49fbd5ceeaa984d04ace0ff9929e544d +0 -0
  55. data/dg-api-gem/.git/objects/89/6ed529d66fa93deb04e710c6783813865b6c9a +0 -0
  56. data/dg-api-gem/.git/objects/8d/ada3edaf50dbc082c9a125058f25def75e625a +0 -0
  57. data/dg-api-gem/.git/objects/8e/d5d3491bfa2cba6c326f7c4c39e7ae3ac293fd +0 -0
  58. data/dg-api-gem/.git/objects/8f/a369451059baeee34e63568bdf97fa6649b417 +0 -0
  59. data/dg-api-gem/.git/objects/90/0bf41963dbe86e075fb6b2faa712ff54f06b31 +0 -0
  60. data/dg-api-gem/.git/objects/9b/5962c43f3c1628136292953e48ade70023fad1 +0 -0
  61. data/dg-api-gem/.git/objects/9c/3aa7b315f9f3501dbf48e049d87edaa4adfa7a +0 -0
  62. data/dg-api-gem/.git/objects/9e/22e96e9a55c296ac7111f034728eb06138985a +0 -0
  63. data/dg-api-gem/.git/objects/a0/1e0717b62bac403347a6de50cdbbfc7d00807e +0 -0
  64. data/dg-api-gem/.git/objects/a7/1cc8489d2347a27ea0f9e16f515394cbc13e0d +0 -0
  65. data/dg-api-gem/.git/objects/a8/4b30dba8dab3b105c6f730e46e4b75c25dfbcc +0 -0
  66. data/dg-api-gem/.git/objects/ab/a4ce8ed5919657e2645381b0b7ef9249f53fe1 +3 -0
  67. data/dg-api-gem/.git/objects/ac/398d23b9a339730fc96b080f971ac907c7182e +0 -0
  68. data/dg-api-gem/.git/objects/b0/a30dc2224d9fe5a8e2f676564df60d969d6d4e +0 -0
  69. data/dg-api-gem/.git/objects/b1/4d886e6905ad18c7c760475534846b3834c932 +0 -0
  70. data/dg-api-gem/.git/objects/b4/367529bfbbd23d20fd7288ab76af25069d7be7 +0 -0
  71. data/dg-api-gem/.git/objects/b5/f9c09bc0be51297f7e5eba90e95589467ed2ca +0 -0
  72. data/dg-api-gem/.git/objects/b5/fdfa522d17775e3341e8d233e8e4f55251808b +5 -0
  73. data/dg-api-gem/.git/objects/bd/0b6f2d0c50fcf68aa3d43d0562514ed7c11839 +0 -0
  74. data/dg-api-gem/.git/objects/c5/021ce290feadd7ddb909b63666817ea783870b +0 -0
  75. data/dg-api-gem/.git/objects/c5/fa491b4c557bf997d5dd21797de782545dc9e5 +0 -0
  76. data/dg-api-gem/.git/objects/c6/64a5c35f3b1cf84fc1cfb022636e53c87f49a9 +0 -0
  77. data/dg-api-gem/.git/objects/ca/5c84f7caed579535ec2ebb73ceacdf041290d8 +0 -0
  78. data/dg-api-gem/.git/objects/ca/838f54c26c102dae6df4ef6c1beeebac477596 +0 -0
  79. data/dg-api-gem/.git/objects/d3/8f460818b162c188f9636fffe6f6a157fbc095 +0 -0
  80. data/dg-api-gem/.git/objects/dc/8e7a8f5fba4cca72485aa7a1028987ef59c031 +0 -0
  81. data/dg-api-gem/.git/objects/dd/d925f300d40fcf0cbf2b59f4b11ccb730d4864 +0 -0
  82. data/dg-api-gem/.git/objects/df/1709db06c3bea79dee47248616a7f567afa30a +0 -0
  83. data/dg-api-gem/.git/objects/e1/9985758c5d7a2b54e202f423037f2a6b604ce5 +0 -0
  84. data/dg-api-gem/.git/objects/e8/45e5428feb9d46ae1e008ac949956899959d11 +0 -0
  85. data/dg-api-gem/.git/objects/ec/f75a817b10d82816a6d63748ebc5b72998cefa +0 -0
  86. data/dg-api-gem/.git/objects/f0/c34e8b8e645810912715da0e2bde549714076b +0 -0
  87. data/dg-api-gem/.git/objects/f5/86703d84a4a48f2e867b60438f62c2b0d9bbfb +0 -0
  88. data/dg-api-gem/.git/objects/fb/f7ae21827a758fd71109af06f5ec641dd235d7 +0 -0
  89. data/dg-api-gem/.git/objects/ff/f26559d7a990d7527cc4791b091a541df33dc4 +0 -0
  90. data/dg-api-gem/.git/packed-refs +2 -0
  91. data/dg-api-gem/.git/refs/heads/master +1 -0
  92. data/dg-api-gem/.git/refs/remotes/origin/HEAD +1 -0
  93. data/dg-api-gem/.gitignore +50 -0
  94. data/dg-api-gem/.rspec +2 -0
  95. data/dg-api-gem/.swagger-codegen-ignore +23 -0
  96. data/{LICENSE → dg-api-gem/LICENSE} +0 -0
  97. data/{README.md → dg-api-gem/README.md} +33 -5
  98. data/{dock_genius_api_ruby_client.gemspec → dg-api-gem/dock_genius_api_ruby_client.gemspec} +0 -0
  99. data/{docs → dg-api-gem/docs}/AccessToken.md +0 -0
  100. data/{docs → dg-api-gem/docs}/Address.md +0 -0
  101. data/{docs → dg-api-gem/docs}/Customer.md +0 -0
  102. data/{docs → dg-api-gem/docs}/CustomerApi.md +0 -0
  103. data/{docs → dg-api-gem/docs}/Dock.md +4 -3
  104. data/{docs → dg-api-gem/docs}/DockApi.md +345 -0
  105. data/{docs → dg-api-gem/docs}/EmailAddress.md +0 -0
  106. data/{docs → dg-api-gem/docs}/GeoPoint.md +0 -0
  107. data/{docs → dg-api-gem/docs}/InlineResponse200.md +0 -0
  108. data/{docs → dg-api-gem/docs}/InlineResponse2001.md +0 -0
  109. data/{docs → dg-api-gem/docs}/InlineResponse2002.md +0 -0
  110. data/{docs → dg-api-gem/docs}/ListingAgent.md +2 -1
  111. data/{docs → dg-api-gem/docs}/Marina.md +0 -0
  112. data/{docs → dg-api-gem/docs}/MarinaApi.md +0 -0
  113. data/dg-api-gem/docs/Parameter.md +11 -0
  114. data/dg-api-gem/docs/ParameterApi.md +437 -0
  115. data/dg-api-gem/docs/ParameterAssignment.md +10 -0
  116. data/{docs → dg-api-gem/docs}/Phone.md +0 -0
  117. data/dg-api-gem/docs/UnitOfMeasurement.md +10 -0
  118. data/dg-api-gem/docs/UnitOfMeasurementApi.md +437 -0
  119. data/{git_push.sh → dg-api-gem/git_push.sh} +0 -0
  120. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/api/customer_api.rb +0 -0
  121. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/api/dock_api.rb +419 -0
  122. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/api/marina_api.rb +0 -0
  123. data/dg-api-gem/lib/dock_genius_api_ruby_client/api/parameter_api.rb +548 -0
  124. data/dg-api-gem/lib/dock_genius_api_ruby_client/api/unit_of_measurement_api.rb +548 -0
  125. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/api_client.rb +0 -0
  126. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/api_error.rb +0 -0
  127. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/configuration.rb +0 -0
  128. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/access_token.rb +0 -0
  129. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/address.rb +0 -0
  130. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/customer.rb +0 -0
  131. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/dock.rb +20 -4
  132. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/email_address.rb +0 -0
  133. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/geo_point.rb +0 -0
  134. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/inline_response_200.rb +0 -0
  135. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/inline_response_200_1.rb +0 -0
  136. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/inline_response_200_2.rb +0 -0
  137. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/listing_agent.rb +12 -1
  138. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/marina.rb +0 -0
  139. data/dg-api-gem/lib/dock_genius_api_ruby_client/models/parameter.rb +231 -0
  140. data/dg-api-gem/lib/dock_genius_api_ruby_client/models/parameter_assignment.rb +218 -0
  141. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/models/phone.rb +0 -0
  142. data/dg-api-gem/lib/dock_genius_api_ruby_client/models/unit_of_measurement.rb +220 -0
  143. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client/version.rb +1 -1
  144. data/{lib → dg-api-gem/lib}/dock_genius_api_ruby_client.rb +5 -0
  145. data/{spec → dg-api-gem/spec}/api/customer_api_spec.rb +0 -0
  146. data/{spec → dg-api-gem/spec}/api/dock_api_spec.rb +0 -0
  147. data/{spec → dg-api-gem/spec}/api/marina_api_spec.rb +0 -0
  148. data/dg-api-gem/spec/api/parameter_api_spec.rb +157 -0
  149. data/dg-api-gem/spec/api/unit_of_measurement_api_spec.rb +157 -0
  150. data/{spec → dg-api-gem/spec}/api_client_spec.rb +0 -0
  151. data/{spec → dg-api-gem/spec}/configuration_spec.rb +0 -0
  152. data/{spec → dg-api-gem/spec}/models/access_token_spec.rb +0 -0
  153. data/{spec → dg-api-gem/spec}/models/address_spec.rb +0 -0
  154. data/{spec → dg-api-gem/spec}/models/customer_spec.rb +0 -0
  155. data/{spec → dg-api-gem/spec}/models/dock_spec.rb +0 -0
  156. data/{spec → dg-api-gem/spec}/models/email_address_spec.rb +0 -0
  157. data/{spec → dg-api-gem/spec}/models/geo_point_spec.rb +0 -0
  158. data/{spec → dg-api-gem/spec}/models/inline_response_200_1_spec.rb +0 -0
  159. data/{spec → dg-api-gem/spec}/models/inline_response_200_2_spec.rb +0 -0
  160. data/{spec → dg-api-gem/spec}/models/inline_response_200_spec.rb +0 -0
  161. data/{spec → dg-api-gem/spec}/models/listing_agent_spec.rb +0 -0
  162. data/{spec → dg-api-gem/spec}/models/marina_spec.rb +0 -0
  163. data/dg-api-gem/spec/models/parameter_assignment_spec.rb +65 -0
  164. data/dg-api-gem/spec/models/parameter_spec.rb +71 -0
  165. data/{spec → dg-api-gem/spec}/models/phone_spec.rb +0 -0
  166. data/dg-api-gem/spec/models/unit_of_measurement_spec.rb +65 -0
  167. data/{spec → dg-api-gem/spec}/spec_helper.rb +0 -0
  168. data/swagger.yml +3075 -0
  169. metadata +170 -78
@@ -597,6 +597,66 @@ module DockGeniusApiRubyClient
597
597
  return data, status_code, headers
598
598
  end
599
599
 
600
+ # Counts parameterAssignments of Dock.
601
+ #
602
+ # @param id PersistedModel id
603
+ # @param [Hash] opts the optional parameters
604
+ # @option opts [String] :where Criteria to match model instances
605
+ # @return [InlineResponse200]
606
+ def dock_prototype_count_parameter_assignments(id, opts = {})
607
+ data, _status_code, _headers = dock_prototype_count_parameter_assignments_with_http_info(id, opts)
608
+ return data
609
+ end
610
+
611
+ # Counts parameterAssignments of Dock.
612
+ #
613
+ # @param id PersistedModel id
614
+ # @param [Hash] opts the optional parameters
615
+ # @option opts [String] :where Criteria to match model instances
616
+ # @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
617
+ def dock_prototype_count_parameter_assignments_with_http_info(id, opts = {})
618
+ if @api_client.config.debugging
619
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_count_parameter_assignments ..."
620
+ end
621
+ # verify the required parameter 'id' is set
622
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_count_parameter_assignments" if id.nil?
623
+ # resource path
624
+ local_var_path = "/Docks/{id}/parameterAssignments/count".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
625
+
626
+ # query parameters
627
+ query_params = {}
628
+ query_params[:'where'] = opts[:'where'] if !opts[:'where'].nil?
629
+
630
+ # header parameters
631
+ header_params = {}
632
+
633
+ # HTTP header 'Accept' (if needed)
634
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
635
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
636
+
637
+ # HTTP header 'Content-Type'
638
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
639
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
640
+
641
+ # form parameters
642
+ form_params = {}
643
+
644
+ # http body (model)
645
+ post_body = nil
646
+ auth_names = []
647
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
648
+ :header_params => header_params,
649
+ :query_params => query_params,
650
+ :form_params => form_params,
651
+ :body => post_body,
652
+ :auth_names => auth_names,
653
+ :return_type => 'InlineResponse200')
654
+ if @api_client.config.debugging
655
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_count_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
656
+ end
657
+ return data, status_code, headers
658
+ end
659
+
600
660
  # Creates a new instance in listingAgent of this model.
601
661
  #
602
662
  # @param id PersistedModel id
@@ -656,6 +716,181 @@ module DockGeniusApiRubyClient
656
716
  return data, status_code, headers
657
717
  end
658
718
 
719
+ # Creates a new instance in parameterAssignments of this model.
720
+ #
721
+ # @param id PersistedModel id
722
+ # @param [Hash] opts the optional parameters
723
+ # @option opts [ParameterAssignment] :data
724
+ # @return [ParameterAssignment]
725
+ def dock_prototype_create_parameter_assignments(id, opts = {})
726
+ data, _status_code, _headers = dock_prototype_create_parameter_assignments_with_http_info(id, opts)
727
+ return data
728
+ end
729
+
730
+ # Creates a new instance in parameterAssignments of this model.
731
+ #
732
+ # @param id PersistedModel id
733
+ # @param [Hash] opts the optional parameters
734
+ # @option opts [ParameterAssignment] :data
735
+ # @return [Array<(ParameterAssignment, Fixnum, Hash)>] ParameterAssignment data, response status code and response headers
736
+ def dock_prototype_create_parameter_assignments_with_http_info(id, opts = {})
737
+ if @api_client.config.debugging
738
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_create_parameter_assignments ..."
739
+ end
740
+ # verify the required parameter 'id' is set
741
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_create_parameter_assignments" if id.nil?
742
+ # resource path
743
+ local_var_path = "/Docks/{id}/parameterAssignments".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
744
+
745
+ # query parameters
746
+ query_params = {}
747
+
748
+ # header parameters
749
+ header_params = {}
750
+
751
+ # HTTP header 'Accept' (if needed)
752
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
753
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
754
+
755
+ # HTTP header 'Content-Type'
756
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
757
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
758
+
759
+ # form parameters
760
+ form_params = {}
761
+
762
+ # http body (model)
763
+ post_body = @api_client.object_to_http_body(opts[:'data'])
764
+ auth_names = []
765
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
766
+ :header_params => header_params,
767
+ :query_params => query_params,
768
+ :form_params => form_params,
769
+ :body => post_body,
770
+ :auth_names => auth_names,
771
+ :return_type => 'ParameterAssignment')
772
+ if @api_client.config.debugging
773
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_create_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
774
+ end
775
+ return data, status_code, headers
776
+ end
777
+
778
+ # Deletes all parameterAssignments of this model.
779
+ #
780
+ # @param id PersistedModel id
781
+ # @param [Hash] opts the optional parameters
782
+ # @return [nil]
783
+ def dock_prototype_delete_parameter_assignments(id, opts = {})
784
+ dock_prototype_delete_parameter_assignments_with_http_info(id, opts)
785
+ return nil
786
+ end
787
+
788
+ # Deletes all parameterAssignments of this model.
789
+ #
790
+ # @param id PersistedModel id
791
+ # @param [Hash] opts the optional parameters
792
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
793
+ def dock_prototype_delete_parameter_assignments_with_http_info(id, opts = {})
794
+ if @api_client.config.debugging
795
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_delete_parameter_assignments ..."
796
+ end
797
+ # verify the required parameter 'id' is set
798
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_delete_parameter_assignments" if id.nil?
799
+ # resource path
800
+ local_var_path = "/Docks/{id}/parameterAssignments".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
801
+
802
+ # query parameters
803
+ query_params = {}
804
+
805
+ # header parameters
806
+ header_params = {}
807
+
808
+ # HTTP header 'Accept' (if needed)
809
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
810
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
811
+
812
+ # HTTP header 'Content-Type'
813
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
814
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
815
+
816
+ # form parameters
817
+ form_params = {}
818
+
819
+ # http body (model)
820
+ post_body = nil
821
+ auth_names = []
822
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
823
+ :header_params => header_params,
824
+ :query_params => query_params,
825
+ :form_params => form_params,
826
+ :body => post_body,
827
+ :auth_names => auth_names)
828
+ if @api_client.config.debugging
829
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_delete_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
830
+ end
831
+ return data, status_code, headers
832
+ end
833
+
834
+ # Delete a related item by id for parameterAssignments.
835
+ #
836
+ # @param fk Foreign key for parameterAssignments
837
+ # @param id PersistedModel id
838
+ # @param [Hash] opts the optional parameters
839
+ # @return [nil]
840
+ def dock_prototype_destroy_by_id_parameter_assignments(fk, id, opts = {})
841
+ dock_prototype_destroy_by_id_parameter_assignments_with_http_info(fk, id, opts)
842
+ return nil
843
+ end
844
+
845
+ # Delete a related item by id for parameterAssignments.
846
+ #
847
+ # @param fk Foreign key for parameterAssignments
848
+ # @param id PersistedModel id
849
+ # @param [Hash] opts the optional parameters
850
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
851
+ def dock_prototype_destroy_by_id_parameter_assignments_with_http_info(fk, id, opts = {})
852
+ if @api_client.config.debugging
853
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_destroy_by_id_parameter_assignments ..."
854
+ end
855
+ # verify the required parameter 'fk' is set
856
+ fail ArgumentError, "Missing the required parameter 'fk' when calling DockApi.dock_prototype_destroy_by_id_parameter_assignments" if fk.nil?
857
+ # verify the required parameter 'id' is set
858
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_destroy_by_id_parameter_assignments" if id.nil?
859
+ # resource path
860
+ local_var_path = "/Docks/{id}/parameterAssignments/{fk}".sub('{format}','json').sub('{' + 'fk' + '}', fk.to_s).sub('{' + 'id' + '}', id.to_s)
861
+
862
+ # query parameters
863
+ query_params = {}
864
+
865
+ # header parameters
866
+ header_params = {}
867
+
868
+ # HTTP header 'Accept' (if needed)
869
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
870
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
871
+
872
+ # HTTP header 'Content-Type'
873
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
874
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
875
+
876
+ # form parameters
877
+ form_params = {}
878
+
879
+ # http body (model)
880
+ post_body = nil
881
+ auth_names = []
882
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
883
+ :header_params => header_params,
884
+ :query_params => query_params,
885
+ :form_params => form_params,
886
+ :body => post_body,
887
+ :auth_names => auth_names)
888
+ if @api_client.config.debugging
889
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_destroy_by_id_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
890
+ end
891
+ return data, status_code, headers
892
+ end
893
+
659
894
  # Deletes listingAgent of this model.
660
895
  #
661
896
  # @param id PersistedModel id
@@ -712,6 +947,67 @@ module DockGeniusApiRubyClient
712
947
  return data, status_code, headers
713
948
  end
714
949
 
950
+ # Find a related item by id for parameterAssignments.
951
+ #
952
+ # @param fk Foreign key for parameterAssignments
953
+ # @param id PersistedModel id
954
+ # @param [Hash] opts the optional parameters
955
+ # @return [ParameterAssignment]
956
+ def dock_prototype_find_by_id_parameter_assignments(fk, id, opts = {})
957
+ data, _status_code, _headers = dock_prototype_find_by_id_parameter_assignments_with_http_info(fk, id, opts)
958
+ return data
959
+ end
960
+
961
+ # Find a related item by id for parameterAssignments.
962
+ #
963
+ # @param fk Foreign key for parameterAssignments
964
+ # @param id PersistedModel id
965
+ # @param [Hash] opts the optional parameters
966
+ # @return [Array<(ParameterAssignment, Fixnum, Hash)>] ParameterAssignment data, response status code and response headers
967
+ def dock_prototype_find_by_id_parameter_assignments_with_http_info(fk, id, opts = {})
968
+ if @api_client.config.debugging
969
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_find_by_id_parameter_assignments ..."
970
+ end
971
+ # verify the required parameter 'fk' is set
972
+ fail ArgumentError, "Missing the required parameter 'fk' when calling DockApi.dock_prototype_find_by_id_parameter_assignments" if fk.nil?
973
+ # verify the required parameter 'id' is set
974
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_find_by_id_parameter_assignments" if id.nil?
975
+ # resource path
976
+ local_var_path = "/Docks/{id}/parameterAssignments/{fk}".sub('{format}','json').sub('{' + 'fk' + '}', fk.to_s).sub('{' + 'id' + '}', id.to_s)
977
+
978
+ # query parameters
979
+ query_params = {}
980
+
981
+ # header parameters
982
+ header_params = {}
983
+
984
+ # HTTP header 'Accept' (if needed)
985
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
986
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
987
+
988
+ # HTTP header 'Content-Type'
989
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
990
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
991
+
992
+ # form parameters
993
+ form_params = {}
994
+
995
+ # http body (model)
996
+ post_body = nil
997
+ auth_names = []
998
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
999
+ :header_params => header_params,
1000
+ :query_params => query_params,
1001
+ :form_params => form_params,
1002
+ :body => post_body,
1003
+ :auth_names => auth_names,
1004
+ :return_type => 'ParameterAssignment')
1005
+ if @api_client.config.debugging
1006
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_find_by_id_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1007
+ end
1008
+ return data, status_code, headers
1009
+ end
1010
+
715
1011
  # Fetches hasOne relation listingAgent.
716
1012
  #
717
1013
  # @param id PersistedModel id
@@ -832,6 +1128,66 @@ module DockGeniusApiRubyClient
832
1128
  return data, status_code, headers
833
1129
  end
834
1130
 
1131
+ # Queries parameterAssignments of Dock.
1132
+ #
1133
+ # @param id PersistedModel id
1134
+ # @param [Hash] opts the optional parameters
1135
+ # @option opts [String] :filter
1136
+ # @return [Array<ParameterAssignment>]
1137
+ def dock_prototype_get_parameter_assignments(id, opts = {})
1138
+ data, _status_code, _headers = dock_prototype_get_parameter_assignments_with_http_info(id, opts)
1139
+ return data
1140
+ end
1141
+
1142
+ # Queries parameterAssignments of Dock.
1143
+ #
1144
+ # @param id PersistedModel id
1145
+ # @param [Hash] opts the optional parameters
1146
+ # @option opts [String] :filter
1147
+ # @return [Array<(Array<ParameterAssignment>, Fixnum, Hash)>] Array<ParameterAssignment> data, response status code and response headers
1148
+ def dock_prototype_get_parameter_assignments_with_http_info(id, opts = {})
1149
+ if @api_client.config.debugging
1150
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_get_parameter_assignments ..."
1151
+ end
1152
+ # verify the required parameter 'id' is set
1153
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_get_parameter_assignments" if id.nil?
1154
+ # resource path
1155
+ local_var_path = "/Docks/{id}/parameterAssignments".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
1156
+
1157
+ # query parameters
1158
+ query_params = {}
1159
+ query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
1160
+
1161
+ # header parameters
1162
+ header_params = {}
1163
+
1164
+ # HTTP header 'Accept' (if needed)
1165
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
1166
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1167
+
1168
+ # HTTP header 'Content-Type'
1169
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
1170
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1171
+
1172
+ # form parameters
1173
+ form_params = {}
1174
+
1175
+ # http body (model)
1176
+ post_body = nil
1177
+ auth_names = []
1178
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1179
+ :header_params => header_params,
1180
+ :query_params => query_params,
1181
+ :form_params => form_params,
1182
+ :body => post_body,
1183
+ :auth_names => auth_names,
1184
+ :return_type => 'Array<ParameterAssignment>')
1185
+ if @api_client.config.debugging
1186
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_get_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1187
+ end
1188
+ return data, status_code, headers
1189
+ end
1190
+
835
1191
  # Patch attributes for a model instance and persist it into the data source.
836
1192
  #
837
1193
  # @param id PersistedModel id
@@ -950,6 +1306,69 @@ module DockGeniusApiRubyClient
950
1306
  return data, status_code, headers
951
1307
  end
952
1308
 
1309
+ # Update a related item by id for parameterAssignments.
1310
+ #
1311
+ # @param fk Foreign key for parameterAssignments
1312
+ # @param id PersistedModel id
1313
+ # @param [Hash] opts the optional parameters
1314
+ # @option opts [ParameterAssignment] :data
1315
+ # @return [ParameterAssignment]
1316
+ def dock_prototype_update_by_id_parameter_assignments(fk, id, opts = {})
1317
+ data, _status_code, _headers = dock_prototype_update_by_id_parameter_assignments_with_http_info(fk, id, opts)
1318
+ return data
1319
+ end
1320
+
1321
+ # Update a related item by id for parameterAssignments.
1322
+ #
1323
+ # @param fk Foreign key for parameterAssignments
1324
+ # @param id PersistedModel id
1325
+ # @param [Hash] opts the optional parameters
1326
+ # @option opts [ParameterAssignment] :data
1327
+ # @return [Array<(ParameterAssignment, Fixnum, Hash)>] ParameterAssignment data, response status code and response headers
1328
+ def dock_prototype_update_by_id_parameter_assignments_with_http_info(fk, id, opts = {})
1329
+ if @api_client.config.debugging
1330
+ @api_client.config.logger.debug "Calling API: DockApi.dock_prototype_update_by_id_parameter_assignments ..."
1331
+ end
1332
+ # verify the required parameter 'fk' is set
1333
+ fail ArgumentError, "Missing the required parameter 'fk' when calling DockApi.dock_prototype_update_by_id_parameter_assignments" if fk.nil?
1334
+ # verify the required parameter 'id' is set
1335
+ fail ArgumentError, "Missing the required parameter 'id' when calling DockApi.dock_prototype_update_by_id_parameter_assignments" if id.nil?
1336
+ # resource path
1337
+ local_var_path = "/Docks/{id}/parameterAssignments/{fk}".sub('{format}','json').sub('{' + 'fk' + '}', fk.to_s).sub('{' + 'id' + '}', id.to_s)
1338
+
1339
+ # query parameters
1340
+ query_params = {}
1341
+
1342
+ # header parameters
1343
+ header_params = {}
1344
+
1345
+ # HTTP header 'Accept' (if needed)
1346
+ local_header_accept = ['application/json', 'application/xml', 'text/xml', 'application/javascript', 'text/javascript']
1347
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1348
+
1349
+ # HTTP header 'Content-Type'
1350
+ local_header_content_type = ['application/json', 'application/x-www-form-urlencoded', 'application/xml', 'text/xml']
1351
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1352
+
1353
+ # form parameters
1354
+ form_params = {}
1355
+
1356
+ # http body (model)
1357
+ post_body = @api_client.object_to_http_body(opts[:'data'])
1358
+ auth_names = []
1359
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1360
+ :header_params => header_params,
1361
+ :query_params => query_params,
1362
+ :form_params => form_params,
1363
+ :body => post_body,
1364
+ :auth_names => auth_names,
1365
+ :return_type => 'ParameterAssignment')
1366
+ if @api_client.config.debugging
1367
+ @api_client.config.logger.debug "API called: DockApi#dock_prototype_update_by_id_parameter_assignments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1368
+ end
1369
+ return data, status_code, headers
1370
+ end
1371
+
953
1372
  # Update listingAgent of this model.
954
1373
  #
955
1374
  # @param id PersistedModel id