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
@@ -0,0 +1,437 @@
1
+ # DockGeniusApiRubyClient::UnitOfMeasurementApi
2
+
3
+ All URIs are relative to *https://localhost/api*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**unit_of_measurement_count**](UnitOfMeasurementApi.md#unit_of_measurement_count) | **GET** /UnitsOfMeasurement/count | Count instances of the model matched by where from the data source.
8
+ [**unit_of_measurement_exists_get_units_of_measurementid_exists**](UnitOfMeasurementApi.md#unit_of_measurement_exists_get_units_of_measurementid_exists) | **GET** /UnitsOfMeasurement/{id}/exists | Check whether a model instance exists in the data source.
9
+ [**unit_of_measurement_exists_head_units_of_measurementid**](UnitOfMeasurementApi.md#unit_of_measurement_exists_head_units_of_measurementid) | **HEAD** /UnitsOfMeasurement/{id} | Check whether a model instance exists in the data source.
10
+ [**unit_of_measurement_find**](UnitOfMeasurementApi.md#unit_of_measurement_find) | **GET** /UnitsOfMeasurement | Find all instances of the model matched by filter from the data source.
11
+ [**unit_of_measurement_find_by_id**](UnitOfMeasurementApi.md#unit_of_measurement_find_by_id) | **GET** /UnitsOfMeasurement/{id} | Find a model instance by {{id}} from the data source.
12
+ [**unit_of_measurement_find_one**](UnitOfMeasurementApi.md#unit_of_measurement_find_one) | **GET** /UnitsOfMeasurement/findOne | Find first instance of the model matched by filter from the data source.
13
+ [**unit_of_measurement_replace_by_id**](UnitOfMeasurementApi.md#unit_of_measurement_replace_by_id) | **POST** /UnitsOfMeasurement/{id}/replace | Replace attributes for a model instance and persist it into the data source.
14
+ [**unit_of_measurement_replace_or_create**](UnitOfMeasurementApi.md#unit_of_measurement_replace_or_create) | **POST** /UnitsOfMeasurement/replaceOrCreate | Replace an existing model instance or insert a new one into the data source.
15
+ [**unit_of_measurement_upsert_with_where**](UnitOfMeasurementApi.md#unit_of_measurement_upsert_with_where) | **POST** /UnitsOfMeasurement/upsertWithWhere | Update an existing model instance or insert a new one into the data source based on the where criteria.
16
+
17
+
18
+ # **unit_of_measurement_count**
19
+ > InlineResponse200 unit_of_measurement_count(opts)
20
+
21
+ Count instances of the model matched by where from the data source.
22
+
23
+ ### Example
24
+ ```ruby
25
+ # load the gem
26
+ require 'dock_genius_api_ruby_client'
27
+
28
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
29
+
30
+ opts = {
31
+ where: "where_example" # String | Criteria to match model instances
32
+ }
33
+
34
+ begin
35
+ #Count instances of the model matched by where from the data source.
36
+ result = api_instance.unit_of_measurement_count(opts)
37
+ p result
38
+ rescue DockGeniusApiRubyClient::ApiError => e
39
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_count: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **where** | **String**| Criteria to match model instances | [optional]
48
+
49
+ ### Return type
50
+
51
+ [**InlineResponse200**](InlineResponse200.md)
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
60
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
61
+
62
+
63
+
64
+ # **unit_of_measurement_exists_get_units_of_measurementid_exists**
65
+ > InlineResponse2002 unit_of_measurement_exists_get_units_of_measurementid_exists(id)
66
+
67
+ Check whether a model instance exists in the data source.
68
+
69
+ ### Example
70
+ ```ruby
71
+ # load the gem
72
+ require 'dock_genius_api_ruby_client'
73
+
74
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
75
+
76
+ id = "id_example" # String | Model id
77
+
78
+
79
+ begin
80
+ #Check whether a model instance exists in the data source.
81
+ result = api_instance.unit_of_measurement_exists_get_units_of_measurementid_exists(id)
82
+ p result
83
+ rescue DockGeniusApiRubyClient::ApiError => e
84
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_exists_get_units_of_measurementid_exists: #{e}"
85
+ end
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ Name | Type | Description | Notes
91
+ ------------- | ------------- | ------------- | -------------
92
+ **id** | **String**| Model id |
93
+
94
+ ### Return type
95
+
96
+ [**InlineResponse2002**](InlineResponse2002.md)
97
+
98
+ ### Authorization
99
+
100
+ No authorization required
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
105
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
106
+
107
+
108
+
109
+ # **unit_of_measurement_exists_head_units_of_measurementid**
110
+ > InlineResponse2002 unit_of_measurement_exists_head_units_of_measurementid(id)
111
+
112
+ Check whether a model instance exists in the data source.
113
+
114
+ ### Example
115
+ ```ruby
116
+ # load the gem
117
+ require 'dock_genius_api_ruby_client'
118
+
119
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
120
+
121
+ id = "id_example" # String | Model id
122
+
123
+
124
+ begin
125
+ #Check whether a model instance exists in the data source.
126
+ result = api_instance.unit_of_measurement_exists_head_units_of_measurementid(id)
127
+ p result
128
+ rescue DockGeniusApiRubyClient::ApiError => e
129
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_exists_head_units_of_measurementid: #{e}"
130
+ end
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+ Name | Type | Description | Notes
136
+ ------------- | ------------- | ------------- | -------------
137
+ **id** | **String**| Model id |
138
+
139
+ ### Return type
140
+
141
+ [**InlineResponse2002**](InlineResponse2002.md)
142
+
143
+ ### Authorization
144
+
145
+ No authorization required
146
+
147
+ ### HTTP request headers
148
+
149
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
150
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
151
+
152
+
153
+
154
+ # **unit_of_measurement_find**
155
+ > Array<UnitOfMeasurement> unit_of_measurement_find(opts)
156
+
157
+ Find all instances of the model matched by filter from the data source.
158
+
159
+ ### Example
160
+ ```ruby
161
+ # load the gem
162
+ require 'dock_genius_api_ruby_client'
163
+
164
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
165
+
166
+ opts = {
167
+ filter: "filter_example" # String | Filter defining fields, where, include, order, offset, and limit
168
+ }
169
+
170
+ begin
171
+ #Find all instances of the model matched by filter from the data source.
172
+ result = api_instance.unit_of_measurement_find(opts)
173
+ p result
174
+ rescue DockGeniusApiRubyClient::ApiError => e
175
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_find: #{e}"
176
+ end
177
+ ```
178
+
179
+ ### Parameters
180
+
181
+ Name | Type | Description | Notes
182
+ ------------- | ------------- | ------------- | -------------
183
+ **filter** | **String**| Filter defining fields, where, include, order, offset, and limit | [optional]
184
+
185
+ ### Return type
186
+
187
+ [**Array<UnitOfMeasurement>**](UnitOfMeasurement.md)
188
+
189
+ ### Authorization
190
+
191
+ No authorization required
192
+
193
+ ### HTTP request headers
194
+
195
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
196
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
197
+
198
+
199
+
200
+ # **unit_of_measurement_find_by_id**
201
+ > UnitOfMeasurement unit_of_measurement_find_by_id(id, opts)
202
+
203
+ Find a model instance by {{id}} from the data source.
204
+
205
+ ### Example
206
+ ```ruby
207
+ # load the gem
208
+ require 'dock_genius_api_ruby_client'
209
+
210
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
211
+
212
+ id = "id_example" # String | Model id
213
+
214
+ opts = {
215
+ filter: "filter_example" # String | Filter defining fields and include
216
+ }
217
+
218
+ begin
219
+ #Find a model instance by {{id}} from the data source.
220
+ result = api_instance.unit_of_measurement_find_by_id(id, opts)
221
+ p result
222
+ rescue DockGeniusApiRubyClient::ApiError => e
223
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_find_by_id: #{e}"
224
+ end
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+ Name | Type | Description | Notes
230
+ ------------- | ------------- | ------------- | -------------
231
+ **id** | **String**| Model id |
232
+ **filter** | **String**| Filter defining fields and include | [optional]
233
+
234
+ ### Return type
235
+
236
+ [**UnitOfMeasurement**](UnitOfMeasurement.md)
237
+
238
+ ### Authorization
239
+
240
+ No authorization required
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
245
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
246
+
247
+
248
+
249
+ # **unit_of_measurement_find_one**
250
+ > UnitOfMeasurement unit_of_measurement_find_one(opts)
251
+
252
+ Find first instance of the model matched by filter from the data source.
253
+
254
+ ### Example
255
+ ```ruby
256
+ # load the gem
257
+ require 'dock_genius_api_ruby_client'
258
+
259
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
260
+
261
+ opts = {
262
+ filter: "filter_example" # String | Filter defining fields, where, include, order, offset, and limit
263
+ }
264
+
265
+ begin
266
+ #Find first instance of the model matched by filter from the data source.
267
+ result = api_instance.unit_of_measurement_find_one(opts)
268
+ p result
269
+ rescue DockGeniusApiRubyClient::ApiError => e
270
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_find_one: #{e}"
271
+ end
272
+ ```
273
+
274
+ ### Parameters
275
+
276
+ Name | Type | Description | Notes
277
+ ------------- | ------------- | ------------- | -------------
278
+ **filter** | **String**| Filter defining fields, where, include, order, offset, and limit | [optional]
279
+
280
+ ### Return type
281
+
282
+ [**UnitOfMeasurement**](UnitOfMeasurement.md)
283
+
284
+ ### Authorization
285
+
286
+ No authorization required
287
+
288
+ ### HTTP request headers
289
+
290
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
291
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
292
+
293
+
294
+
295
+ # **unit_of_measurement_replace_by_id**
296
+ > UnitOfMeasurement unit_of_measurement_replace_by_id(id, opts)
297
+
298
+ Replace attributes for a model instance and persist it into the data source.
299
+
300
+ ### Example
301
+ ```ruby
302
+ # load the gem
303
+ require 'dock_genius_api_ruby_client'
304
+
305
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
306
+
307
+ id = "id_example" # String | Model id
308
+
309
+ opts = {
310
+ data: DockGeniusApiRubyClient::UnitOfMeasurement.new # UnitOfMeasurement | Model instance data
311
+ }
312
+
313
+ begin
314
+ #Replace attributes for a model instance and persist it into the data source.
315
+ result = api_instance.unit_of_measurement_replace_by_id(id, opts)
316
+ p result
317
+ rescue DockGeniusApiRubyClient::ApiError => e
318
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_replace_by_id: #{e}"
319
+ end
320
+ ```
321
+
322
+ ### Parameters
323
+
324
+ Name | Type | Description | Notes
325
+ ------------- | ------------- | ------------- | -------------
326
+ **id** | **String**| Model id |
327
+ **data** | [**UnitOfMeasurement**](UnitOfMeasurement.md)| Model instance data | [optional]
328
+
329
+ ### Return type
330
+
331
+ [**UnitOfMeasurement**](UnitOfMeasurement.md)
332
+
333
+ ### Authorization
334
+
335
+ No authorization required
336
+
337
+ ### HTTP request headers
338
+
339
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
340
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
341
+
342
+
343
+
344
+ # **unit_of_measurement_replace_or_create**
345
+ > UnitOfMeasurement unit_of_measurement_replace_or_create(opts)
346
+
347
+ Replace an existing model instance or insert a new one into the data source.
348
+
349
+ ### Example
350
+ ```ruby
351
+ # load the gem
352
+ require 'dock_genius_api_ruby_client'
353
+
354
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
355
+
356
+ opts = {
357
+ data: DockGeniusApiRubyClient::UnitOfMeasurement.new # UnitOfMeasurement | Model instance data
358
+ }
359
+
360
+ begin
361
+ #Replace an existing model instance or insert a new one into the data source.
362
+ result = api_instance.unit_of_measurement_replace_or_create(opts)
363
+ p result
364
+ rescue DockGeniusApiRubyClient::ApiError => e
365
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_replace_or_create: #{e}"
366
+ end
367
+ ```
368
+
369
+ ### Parameters
370
+
371
+ Name | Type | Description | Notes
372
+ ------------- | ------------- | ------------- | -------------
373
+ **data** | [**UnitOfMeasurement**](UnitOfMeasurement.md)| Model instance data | [optional]
374
+
375
+ ### Return type
376
+
377
+ [**UnitOfMeasurement**](UnitOfMeasurement.md)
378
+
379
+ ### Authorization
380
+
381
+ No authorization required
382
+
383
+ ### HTTP request headers
384
+
385
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
386
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
387
+
388
+
389
+
390
+ # **unit_of_measurement_upsert_with_where**
391
+ > UnitOfMeasurement unit_of_measurement_upsert_with_where(opts)
392
+
393
+ Update an existing model instance or insert a new one into the data source based on the where criteria.
394
+
395
+ ### Example
396
+ ```ruby
397
+ # load the gem
398
+ require 'dock_genius_api_ruby_client'
399
+
400
+ api_instance = DockGeniusApiRubyClient::UnitOfMeasurementApi.new
401
+
402
+ opts = {
403
+ where: "where_example", # String | Criteria to match model instances
404
+ data: DockGeniusApiRubyClient::UnitOfMeasurement.new # UnitOfMeasurement | An object of model property name/value pairs
405
+ }
406
+
407
+ begin
408
+ #Update an existing model instance or insert a new one into the data source based on the where criteria.
409
+ result = api_instance.unit_of_measurement_upsert_with_where(opts)
410
+ p result
411
+ rescue DockGeniusApiRubyClient::ApiError => e
412
+ puts "Exception when calling UnitOfMeasurementApi->unit_of_measurement_upsert_with_where: #{e}"
413
+ end
414
+ ```
415
+
416
+ ### Parameters
417
+
418
+ Name | Type | Description | Notes
419
+ ------------- | ------------- | ------------- | -------------
420
+ **where** | **String**| Criteria to match model instances | [optional]
421
+ **data** | [**UnitOfMeasurement**](UnitOfMeasurement.md)| An object of model property name/value pairs | [optional]
422
+
423
+ ### Return type
424
+
425
+ [**UnitOfMeasurement**](UnitOfMeasurement.md)
426
+
427
+ ### Authorization
428
+
429
+ No authorization required
430
+
431
+ ### HTTP request headers
432
+
433
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, application/xml, text/xml
434
+ - **Accept**: application/json, application/xml, text/xml, application/javascript, text/javascript
435
+
436
+
437
+
File without changes