hubspot-api-client 16.4.0 → 17.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +70 -1
  3. data/Gemfile.lock +1 -1
  4. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +66 -66
  5. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +9 -9
  6. data/lib/hubspot/codegen/cms/hubdb/models/{batch_input_json_node.rb → batch_input_hub_db_table_row_v3_batch_update_request.rb} +4 -4
  7. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +52 -44
  8. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +2 -2
  9. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +29 -20
  10. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +285 -0
  11. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +13 -4
  12. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +60 -52
  13. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +10 -1
  14. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +9 -9
  15. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +9 -9
  16. data/lib/hubspot/codegen/crm/companies/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  17. data/lib/hubspot/codegen/crm/companies/models/filter.rb +10 -1
  18. data/lib/hubspot/codegen/crm/companies/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  19. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +228 -0
  20. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +246 -0
  21. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +9 -9
  22. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +9 -9
  23. data/lib/hubspot/codegen/crm/contacts/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  24. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +10 -1
  25. data/lib/hubspot/codegen/crm/contacts/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  26. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +228 -0
  27. data/lib/hubspot/codegen/crm/{deals/models/multi_associated_object_with_label.rb → contacts/models/simple_public_object_input_for_create.rb} +28 -26
  28. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +9 -9
  29. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +9 -9
  30. data/lib/hubspot/codegen/crm/deals/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  31. data/lib/hubspot/codegen/crm/deals/models/filter.rb +10 -1
  32. data/lib/hubspot/codegen/crm/deals/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  33. data/lib/hubspot/codegen/crm/{properties/models/paging.rb → deals/models/public_object_id.rb} +19 -14
  34. data/lib/hubspot/codegen/crm/{tickets/models/multi_associated_object_with_label.rb → deals/models/simple_public_object_input_for_create.rb} +28 -26
  35. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +9 -9
  36. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +9 -9
  37. data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  38. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +10 -1
  39. data/lib/hubspot/codegen/crm/line_items/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  40. data/lib/hubspot/codegen/crm/line_items/models/public_object_id.rb +228 -0
  41. data/lib/hubspot/codegen/crm/line_items/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  42. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +9 -9
  43. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +9 -9
  44. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +9 -9
  45. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +9 -9
  46. data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  47. data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +10 -1
  48. data/lib/hubspot/codegen/crm/objects/calls/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  49. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_id.rb +230 -0
  50. data/lib/hubspot/codegen/crm/objects/calls/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  51. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +9 -9
  52. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +9 -9
  53. data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  54. data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +10 -1
  55. data/lib/hubspot/codegen/crm/objects/emails/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  56. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_id.rb +230 -0
  57. data/lib/hubspot/codegen/crm/objects/emails/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  58. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +9 -9
  59. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +9 -9
  60. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  61. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +10 -1
  62. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  63. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_id.rb +230 -0
  64. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  65. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +9 -9
  66. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +9 -9
  67. data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  68. data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +10 -1
  69. data/lib/hubspot/codegen/crm/objects/meetings/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  70. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_id.rb +230 -0
  71. data/lib/hubspot/codegen/crm/objects/meetings/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  72. data/lib/hubspot/codegen/crm/{line_items/models/association_spec_with_label.rb → objects/models/association_spec.rb} +33 -42
  73. data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  74. data/lib/hubspot/codegen/crm/objects/models/filter.rb +10 -1
  75. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +244 -0
  76. data/lib/hubspot/codegen/crm/{associations/models/public_association_definiton.rb → objects/models/public_object_id.rb} +11 -25
  77. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +246 -0
  78. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +9 -9
  79. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +9 -9
  80. data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  81. data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +10 -1
  82. data/lib/hubspot/codegen/crm/objects/notes/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  83. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_id.rb +230 -0
  84. data/lib/hubspot/codegen/crm/objects/notes/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  85. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +9 -9
  86. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +9 -9
  87. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  88. data/lib/hubspot/codegen/crm/objects/postal_mail/models/filter.rb +10 -1
  89. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  90. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_id.rb +230 -0
  91. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  92. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +9 -9
  93. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +9 -9
  94. data/lib/hubspot/codegen/crm/objects/tasks/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  95. data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +10 -1
  96. data/lib/hubspot/codegen/crm/objects/tasks/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  97. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_id.rb +230 -0
  98. data/lib/hubspot/codegen/crm/objects/tasks/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  99. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +9 -9
  100. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +9 -9
  101. data/lib/hubspot/codegen/crm/products/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  102. data/lib/hubspot/codegen/crm/products/models/filter.rb +10 -1
  103. data/lib/hubspot/codegen/crm/products/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  104. data/lib/hubspot/codegen/crm/products/models/public_object_id.rb +228 -0
  105. data/lib/hubspot/codegen/crm/products/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  106. data/lib/hubspot/codegen/crm/properties/api/core_api.rb +9 -3
  107. data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +3 -3
  108. data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +18 -18
  109. data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +1 -21
  110. data/lib/hubspot/codegen/crm/properties/models/batch_response_property_with_errors.rb +346 -0
  111. data/lib/hubspot/codegen/crm/properties/models/{collection_response_property_group.rb → collection_response_property_group_no_paging.rb} +7 -16
  112. data/lib/hubspot/codegen/crm/properties/models/{collection_response_property.rb → collection_response_property_no_paging.rb} +7 -16
  113. data/lib/hubspot/codegen/crm/properties/models/error_category.rb +20 -20
  114. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +9 -9
  115. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +9 -9
  116. data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  117. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +10 -1
  118. data/lib/hubspot/codegen/crm/quotes/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  119. data/lib/hubspot/codegen/crm/quotes/models/public_object_id.rb +228 -0
  120. data/lib/hubspot/codegen/crm/{contacts/models/multi_associated_object_with_label.rb → quotes/models/simple_public_object_input_for_create.rb} +28 -26
  121. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +9 -9
  122. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +9 -9
  123. data/lib/hubspot/codegen/crm/tickets/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  124. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +10 -1
  125. data/lib/hubspot/codegen/crm/tickets/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  126. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +228 -0
  127. data/lib/hubspot/codegen/crm/{companies/models/multi_associated_object_with_label.rb → tickets/models/simple_public_object_input_for_create.rb} +28 -26
  128. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +7 -7
  129. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +14 -14
  130. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +6 -6
  131. data/lib/hubspot/discovery/crm/companies/client.rb +0 -1
  132. data/lib/hubspot/discovery/crm/contacts/client.rb +0 -1
  133. data/lib/hubspot/discovery/crm/deals/client.rb +0 -1
  134. data/lib/hubspot/discovery/crm/line_items/client.rb +0 -1
  135. data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -1
  136. data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -1
  137. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -1
  138. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -1
  139. data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -1
  140. data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -1
  141. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -1
  142. data/lib/hubspot/version.rb +1 -1
  143. data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +7 -7
  144. data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
  145. data/spec/discovery/oauth/refresh_tokens_api_spec.rb +2 -2
  146. data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
  147. metadata +162 -227
  148. data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +0 -239
  149. data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +0 -262
  150. data/lib/hubspot/codegen/crm/companies/models/association_spec_with_label.rb +0 -285
  151. data/lib/hubspot/codegen/crm/companies/models/labels_between_object_pair.rb +0 -286
  152. data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +0 -262
  153. data/lib/hubspot/codegen/crm/contacts/models/association_spec_with_label.rb +0 -285
  154. data/lib/hubspot/codegen/crm/contacts/models/labels_between_object_pair.rb +0 -286
  155. data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +0 -262
  156. data/lib/hubspot/codegen/crm/deals/models/association_spec_with_label.rb +0 -285
  157. data/lib/hubspot/codegen/crm/deals/models/labels_between_object_pair.rb +0 -286
  158. data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +0 -262
  159. data/lib/hubspot/codegen/crm/line_items/models/labels_between_object_pair.rb +0 -286
  160. data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +0 -264
  161. data/lib/hubspot/codegen/crm/objects/calls/models/association_spec_with_label.rb +0 -287
  162. data/lib/hubspot/codegen/crm/objects/calls/models/labels_between_object_pair.rb +0 -288
  163. data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +0 -264
  164. data/lib/hubspot/codegen/crm/objects/emails/models/association_spec_with_label.rb +0 -287
  165. data/lib/hubspot/codegen/crm/objects/emails/models/labels_between_object_pair.rb +0 -288
  166. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +0 -264
  167. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/association_spec_with_label.rb +0 -287
  168. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/labels_between_object_pair.rb +0 -288
  169. data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +0 -264
  170. data/lib/hubspot/codegen/crm/objects/meetings/models/association_spec_with_label.rb +0 -287
  171. data/lib/hubspot/codegen/crm/objects/meetings/models/labels_between_object_pair.rb +0 -288
  172. data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +0 -264
  173. data/lib/hubspot/codegen/crm/objects/notes/models/association_spec_with_label.rb +0 -287
  174. data/lib/hubspot/codegen/crm/objects/notes/models/labels_between_object_pair.rb +0 -288
  175. data/lib/hubspot/codegen/crm/objects/postal_mail/api/associations_api.rb +0 -264
  176. data/lib/hubspot/codegen/crm/objects/postal_mail/models/association_spec_with_label.rb +0 -287
  177. data/lib/hubspot/codegen/crm/objects/postal_mail/models/labels_between_object_pair.rb +0 -288
  178. data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +0 -264
  179. data/lib/hubspot/codegen/crm/objects/tasks/models/association_spec_with_label.rb +0 -287
  180. data/lib/hubspot/codegen/crm/objects/tasks/models/labels_between_object_pair.rb +0 -288
  181. data/lib/hubspot/codegen/crm/products/api/associations_api.rb +0 -262
  182. data/lib/hubspot/codegen/crm/products/models/association_spec_with_label.rb +0 -285
  183. data/lib/hubspot/codegen/crm/products/models/labels_between_object_pair.rb +0 -286
  184. data/lib/hubspot/codegen/crm/properties/models/next_page.rb +0 -237
  185. data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +0 -262
  186. data/lib/hubspot/codegen/crm/quotes/models/association_spec_with_label.rb +0 -285
  187. data/lib/hubspot/codegen/crm/quotes/models/labels_between_object_pair.rb +0 -286
  188. data/lib/hubspot/codegen/crm/quotes/models/multi_associated_object_with_label.rb +0 -244
  189. data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +0 -262
  190. data/lib/hubspot/codegen/crm/tickets/models/association_spec_with_label.rb +0 -285
  191. data/lib/hubspot/codegen/crm/tickets/models/labels_between_object_pair.rb +0 -286
  192. data/lib/hubspot/discovery/crm/companies/api/associations_api.rb +0 -13
  193. data/lib/hubspot/discovery/crm/contacts/api/associations_api.rb +0 -13
  194. data/lib/hubspot/discovery/crm/deals/api/associations_api.rb +0 -13
  195. data/lib/hubspot/discovery/crm/line_items/api/associations_api.rb +0 -13
  196. data/lib/hubspot/discovery/crm/objects/calls/api/associations_api.rb +0 -15
  197. data/lib/hubspot/discovery/crm/objects/emails/api/associations_api.rb +0 -15
  198. data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/associations_api.rb +0 -15
  199. data/lib/hubspot/discovery/crm/objects/meetings/api/associations_api.rb +0 -15
  200. data/lib/hubspot/discovery/crm/objects/notes/api/associations_api.rb +0 -15
  201. data/lib/hubspot/discovery/crm/objects/postal_mail/api/associations_api.rb +0 -15
  202. data/lib/hubspot/discovery/crm/objects/tasks/api/associations_api.rb +0 -15
  203. data/spec/discovery/crm/companies/associations_api_spec.rb +0 -9
  204. data/spec/discovery/crm/contacts/associations_api_spec.rb +0 -9
  205. data/spec/discovery/crm/deals/associations_api_spec.rb +0 -9
  206. data/spec/discovery/crm/line_items/associations_api_spec.rb +0 -9
  207. data/spec/discovery/crm/objects/calls/associations_api_spec.rb +0 -9
  208. data/spec/discovery/crm/objects/emails/associations_api_spec.rb +0 -9
  209. data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +0 -9
  210. data/spec/discovery/crm/objects/meetings/associations_api_spec.rb +0 -9
  211. data/spec/discovery/crm/objects/notes/associations_api_spec.rb +0 -9
  212. data/spec/discovery/crm/objects/postal_mail/associations_api_spec.rb +0 -9
  213. data/spec/discovery/crm/objects/tasks/associations_api_spec.rb +0 -9
  214. data/spec/discovery/crm/products/associations_api_spec.rb +0 -9
  215. data/spec/discovery/crm/quotes/associations_api_spec.rb +0 -7
  216. data/spec/discovery/crm/tickets/associations_api_spec.rb +0 -9
  217. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api/audit_logs_api.rb +0 -0
  218. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api_client.rb +0 -0
  219. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api_error.rb +0 -0
  220. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/configuration.rb +0 -0
  221. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/collection_response_public_audit_log.rb +0 -0
  222. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/error.rb +0 -0
  223. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/error_detail.rb +0 -0
  224. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/next_page.rb +0 -0
  225. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/paging.rb +0 -0
  226. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/public_audit_log.rb +0 -0
  227. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api/blog_posts_api.rb +0 -0
  228. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api_client.rb +0 -0
  229. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api_error.rb +0 -0
  230. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/configuration.rb +0 -0
  231. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/angle.rb +0 -0
  232. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/attach_to_lang_primary_request_v_next.rb +0 -0
  233. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/background_image.rb +0 -0
  234. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_blog_post.rb +0 -0
  235. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_json_node.rb +0 -0
  236. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_string.rb +0 -0
  237. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_response_blog_post.rb +0 -0
  238. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_response_blog_post_with_errors.rb +0 -0
  239. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/blog_post.rb +0 -0
  240. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/blog_post_language_clone_request_v_next.rb +0 -0
  241. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/collection_response_with_total_blog_post_forward_paging.rb +0 -0
  242. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/collection_response_with_total_version_blog_post.rb +0 -0
  243. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/color_stop.rb +0 -0
  244. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_clone_request_v_next.rb +0 -0
  245. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_language_variation.rb +0 -0
  246. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_schedule_request_v_next.rb +0 -0
  247. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/detach_from_lang_group_request_v_next.rb +0 -0
  248. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/error.rb +0 -0
  249. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/error_detail.rb +0 -0
  250. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/forward_paging.rb +0 -0
  251. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/gradient.rb +0 -0
  252. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/layout_section.rb +0 -0
  253. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/next_page.rb +0 -0
  254. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/paging.rb +0 -0
  255. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/previous_page.rb +0 -0
  256. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/rgba_color.rb +0 -0
  257. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/row_meta_data.rb +0 -0
  258. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/set_new_language_primary_request_v_next.rb +0 -0
  259. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/side_or_corner.rb +0 -0
  260. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/standard_error.rb +0 -0
  261. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/styles.rb +0 -0
  262. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/update_languages_request_v_next.rb +0 -0
  263. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/version_blog_post.rb +0 -0
  264. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/version_user.rb +0 -0
  265. /data/lib/hubspot/codegen/cms/{site-search → site_search}/api/public_api.rb +0 -0
  266. /data/lib/hubspot/codegen/cms/{site-search → site_search}/api_client.rb +0 -0
  267. /data/lib/hubspot/codegen/cms/{site-search → site_search}/api_error.rb +0 -0
  268. /data/lib/hubspot/codegen/cms/{site-search → site_search}/configuration.rb +0 -0
  269. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/content_search_result.rb +0 -0
  270. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/error.rb +0 -0
  271. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/error_detail.rb +0 -0
  272. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/indexed_data.rb +0 -0
  273. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/indexed_field.rb +0 -0
  274. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/public_search_results.rb +0 -0
  275. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/content_api.rb +0 -0
  276. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/extract_api.rb +0 -0
  277. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/metadata_api.rb +0 -0
  278. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/source_code_extract_api.rb +0 -0
  279. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/validation_api.rb +0 -0
  280. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api_client.rb +0 -0
  281. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api_error.rb +0 -0
  282. /data/lib/hubspot/codegen/cms/{source-code → source_code}/configuration.rb +0 -0
  283. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/action_response.rb +0 -0
  284. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/asset_file_metadata.rb +0 -0
  285. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/error.rb +0 -0
  286. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/error_detail.rb +0 -0
  287. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/file_extract_request.rb +0 -0
  288. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/task_locator.rb +0 -0
  289. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api/redirects_api.rb +0 -0
  290. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api_client.rb +0 -0
  291. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api_error.rb +0 -0
  292. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/configuration.rb +0 -0
  293. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/collection_response_with_total_url_mapping_forward_paging.rb +0 -0
  294. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/error.rb +0 -0
  295. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/error_detail.rb +0 -0
  296. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/forward_paging.rb +0 -0
  297. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/next_page.rb +0 -0
  298. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/url_mapping.rb +0 -0
  299. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/url_mapping_create_request_body.rb +0 -0
  300. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api/generate_api.rb +0 -0
  301. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api_client.rb +0 -0
  302. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api_error.rb +0 -0
  303. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/configuration.rb +0 -0
  304. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/error.rb +0 -0
  305. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/error_detail.rb +0 -0
  306. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/identification_token_generation_request.rb +0 -0
  307. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/identification_token_response.rb +0 -0
@@ -29,13 +29,16 @@ module Hubspot
29
29
  # List of key value pairs with the column name and column value
30
30
  attr_accessor :values
31
31
 
32
+ attr_accessor :display_index
33
+
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
33
35
  def self.attribute_map
34
36
  {
35
37
  :'path' => :'path',
36
38
  :'name' => :'name',
37
39
  :'child_table_id' => :'childTableId',
38
- :'values' => :'values'
40
+ :'values' => :'values',
41
+ :'display_index' => :'displayIndex'
39
42
  }
40
43
  end
41
44
 
@@ -50,7 +53,8 @@ module Hubspot
50
53
  :'path' => :'String',
51
54
  :'name' => :'String',
52
55
  :'child_table_id' => :'Integer',
53
- :'values' => :'Hash<String, Object>'
56
+ :'values' => :'Hash<String, Object>',
57
+ :'display_index' => :'Integer'
54
58
  }
55
59
  end
56
60
 
@@ -92,6 +96,10 @@ module Hubspot
92
96
  self.values = value
93
97
  end
94
98
  end
99
+
100
+ if attributes.key?(:'display_index')
101
+ self.display_index = attributes[:'display_index']
102
+ end
95
103
  end
96
104
 
97
105
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -120,7 +128,8 @@ module Hubspot
120
128
  path == o.path &&
121
129
  name == o.name &&
122
130
  child_table_id == o.child_table_id &&
123
- values == o.values
131
+ values == o.values &&
132
+ display_index == o.display_index
124
133
  end
125
134
 
126
135
  # @see the `==` method
@@ -132,7 +141,7 @@ module Hubspot
132
141
  # Calculates hash code according to all attributes.
133
142
  # @return [Integer] Hash code
134
143
  def hash
135
- [path, name, child_table_id, values].hash
144
+ [path, name, child_table_id, values, display_index].hash
136
145
  end
137
146
 
138
147
  # Builds the object from hash
@@ -31,6 +31,8 @@ module Hubspot
31
31
 
32
32
  attr_accessor :published
33
33
 
34
+ attr_accessor :deleted
35
+
34
36
  # Number of columns including deleted
35
37
  attr_accessor :column_count
36
38
 
@@ -41,29 +43,28 @@ module Hubspot
41
43
 
42
44
  attr_accessor :updated_by
43
45
 
44
- # Timestamp at which the table is published recently
45
- attr_accessor :published_at
46
+ # Specifies whether the table can be used for creation of dynamic pages
47
+ attr_accessor :use_for_pages
46
48
 
47
- # Specifies the key value pairs of the metadata fields with the associated column ids
48
- attr_accessor :dynamic_meta_tags
49
+ # Specifies whether child tables can be created
50
+ attr_accessor :allow_child_tables
49
51
 
50
- # Timestamp at which the table is created
51
- attr_accessor :created_at
52
+ # Specifies creation of multi-level dynamic pages using child tables
53
+ attr_accessor :enable_child_table_pages
54
+
55
+ attr_accessor :is_ordered_manually
52
56
 
53
- # Specifies whether table is archived or not
54
- attr_accessor :archived
57
+ # Specifies the key value pairs of the metadata fields with the associated column ids
58
+ attr_accessor :dynamic_meta_tags
55
59
 
56
60
  # Specifies whether the table can be read by public without authorization
57
61
  attr_accessor :allow_public_api_access
58
62
 
59
- # Specifies whether the table can be used for creation of dynamic pages
60
- attr_accessor :use_for_pages
61
-
62
- # Specifies creation of multi-level dynamic pages using child tables
63
- attr_accessor :enable_child_table_pages
63
+ # Timestamp at which the table is created
64
+ attr_accessor :created_at
64
65
 
65
- # Specifies whether child tables can be created
66
- attr_accessor :allow_child_tables
66
+ # Timestamp at which the table is published recently
67
+ attr_accessor :published_at
67
68
 
68
69
  # Timestamp at which the table is updated recently
69
70
  attr_accessor :updated_at
@@ -76,18 +77,19 @@ module Hubspot
76
77
  :'label' => :'label',
77
78
  :'columns' => :'columns',
78
79
  :'published' => :'published',
80
+ :'deleted' => :'deleted',
79
81
  :'column_count' => :'columnCount',
80
82
  :'row_count' => :'rowCount',
81
83
  :'created_by' => :'createdBy',
82
84
  :'updated_by' => :'updatedBy',
83
- :'published_at' => :'publishedAt',
84
- :'dynamic_meta_tags' => :'dynamicMetaTags',
85
- :'created_at' => :'createdAt',
86
- :'archived' => :'archived',
87
- :'allow_public_api_access' => :'allowPublicApiAccess',
88
85
  :'use_for_pages' => :'useForPages',
89
- :'enable_child_table_pages' => :'enableChildTablePages',
90
86
  :'allow_child_tables' => :'allowChildTables',
87
+ :'enable_child_table_pages' => :'enableChildTablePages',
88
+ :'is_ordered_manually' => :'isOrderedManually',
89
+ :'dynamic_meta_tags' => :'dynamicMetaTags',
90
+ :'allow_public_api_access' => :'allowPublicApiAccess',
91
+ :'created_at' => :'createdAt',
92
+ :'published_at' => :'publishedAt',
91
93
  :'updated_at' => :'updatedAt'
92
94
  }
93
95
  end
@@ -105,18 +107,19 @@ module Hubspot
105
107
  :'label' => :'String',
106
108
  :'columns' => :'Array<Column>',
107
109
  :'published' => :'Boolean',
110
+ :'deleted' => :'Boolean',
108
111
  :'column_count' => :'Integer',
109
112
  :'row_count' => :'Integer',
110
113
  :'created_by' => :'SimpleUser',
111
114
  :'updated_by' => :'SimpleUser',
112
- :'published_at' => :'Time',
113
- :'dynamic_meta_tags' => :'Hash<String, Integer>',
114
- :'created_at' => :'Time',
115
- :'archived' => :'Boolean',
116
- :'allow_public_api_access' => :'Boolean',
117
115
  :'use_for_pages' => :'Boolean',
118
- :'enable_child_table_pages' => :'Boolean',
119
116
  :'allow_child_tables' => :'Boolean',
117
+ :'enable_child_table_pages' => :'Boolean',
118
+ :'is_ordered_manually' => :'Boolean',
119
+ :'dynamic_meta_tags' => :'Hash<String, Integer>',
120
+ :'allow_public_api_access' => :'Boolean',
121
+ :'created_at' => :'Time',
122
+ :'published_at' => :'Time',
120
123
  :'updated_at' => :'Time'
121
124
  }
122
125
  end
@@ -164,6 +167,10 @@ module Hubspot
164
167
  self.published = attributes[:'published']
165
168
  end
166
169
 
170
+ if attributes.key?(:'deleted')
171
+ self.deleted = attributes[:'deleted']
172
+ end
173
+
167
174
  if attributes.key?(:'column_count')
168
175
  self.column_count = attributes[:'column_count']
169
176
  end
@@ -180,38 +187,38 @@ module Hubspot
180
187
  self.updated_by = attributes[:'updated_by']
181
188
  end
182
189
 
183
- if attributes.key?(:'published_at')
184
- self.published_at = attributes[:'published_at']
190
+ if attributes.key?(:'use_for_pages')
191
+ self.use_for_pages = attributes[:'use_for_pages']
185
192
  end
186
193
 
187
- if attributes.key?(:'dynamic_meta_tags')
188
- if (value = attributes[:'dynamic_meta_tags']).is_a?(Hash)
189
- self.dynamic_meta_tags = value
190
- end
194
+ if attributes.key?(:'allow_child_tables')
195
+ self.allow_child_tables = attributes[:'allow_child_tables']
191
196
  end
192
197
 
193
- if attributes.key?(:'created_at')
194
- self.created_at = attributes[:'created_at']
198
+ if attributes.key?(:'enable_child_table_pages')
199
+ self.enable_child_table_pages = attributes[:'enable_child_table_pages']
195
200
  end
196
201
 
197
- if attributes.key?(:'archived')
198
- self.archived = attributes[:'archived']
202
+ if attributes.key?(:'is_ordered_manually')
203
+ self.is_ordered_manually = attributes[:'is_ordered_manually']
199
204
  end
200
205
 
201
- if attributes.key?(:'allow_public_api_access')
202
- self.allow_public_api_access = attributes[:'allow_public_api_access']
206
+ if attributes.key?(:'dynamic_meta_tags')
207
+ if (value = attributes[:'dynamic_meta_tags']).is_a?(Hash)
208
+ self.dynamic_meta_tags = value
209
+ end
203
210
  end
204
211
 
205
- if attributes.key?(:'use_for_pages')
206
- self.use_for_pages = attributes[:'use_for_pages']
212
+ if attributes.key?(:'allow_public_api_access')
213
+ self.allow_public_api_access = attributes[:'allow_public_api_access']
207
214
  end
208
215
 
209
- if attributes.key?(:'enable_child_table_pages')
210
- self.enable_child_table_pages = attributes[:'enable_child_table_pages']
216
+ if attributes.key?(:'created_at')
217
+ self.created_at = attributes[:'created_at']
211
218
  end
212
219
 
213
- if attributes.key?(:'allow_child_tables')
214
- self.allow_child_tables = attributes[:'allow_child_tables']
220
+ if attributes.key?(:'published_at')
221
+ self.published_at = attributes[:'published_at']
215
222
  end
216
223
 
217
224
  if attributes.key?(:'updated_at')
@@ -252,18 +259,19 @@ module Hubspot
252
259
  label == o.label &&
253
260
  columns == o.columns &&
254
261
  published == o.published &&
262
+ deleted == o.deleted &&
255
263
  column_count == o.column_count &&
256
264
  row_count == o.row_count &&
257
265
  created_by == o.created_by &&
258
266
  updated_by == o.updated_by &&
259
- published_at == o.published_at &&
260
- dynamic_meta_tags == o.dynamic_meta_tags &&
261
- created_at == o.created_at &&
262
- archived == o.archived &&
263
- allow_public_api_access == o.allow_public_api_access &&
264
267
  use_for_pages == o.use_for_pages &&
265
- enable_child_table_pages == o.enable_child_table_pages &&
266
268
  allow_child_tables == o.allow_child_tables &&
269
+ enable_child_table_pages == o.enable_child_table_pages &&
270
+ is_ordered_manually == o.is_ordered_manually &&
271
+ dynamic_meta_tags == o.dynamic_meta_tags &&
272
+ allow_public_api_access == o.allow_public_api_access &&
273
+ created_at == o.created_at &&
274
+ published_at == o.published_at &&
267
275
  updated_at == o.updated_at
268
276
  end
269
277
 
@@ -276,7 +284,7 @@ module Hubspot
276
284
  # Calculates hash code according to all attributes.
277
285
  # @return [Integer] Hash code
278
286
  def hash
279
- [id, name, label, columns, published, column_count, row_count, created_by, updated_by, published_at, dynamic_meta_tags, created_at, archived, allow_public_api_access, use_for_pages, enable_child_table_pages, allow_child_tables, updated_at].hash
287
+ [id, name, label, columns, published, deleted, column_count, row_count, created_by, updated_by, use_for_pages, allow_child_tables, enable_child_table_pages, is_ordered_manually, dynamic_meta_tags, allow_public_api_access, created_at, published_at, updated_at].hash
280
288
  end
281
289
 
282
290
  # Builds the object from hash
@@ -21,6 +21,8 @@ module Hubspot
21
21
 
22
22
  attr_accessor :name
23
23
 
24
+ attr_accessor :label
25
+
24
26
  attr_accessor :type
25
27
 
26
28
  attr_accessor :order
@@ -30,6 +32,7 @@ module Hubspot
30
32
  {
31
33
  :'id' => :'id',
32
34
  :'name' => :'name',
35
+ :'label' => :'label',
33
36
  :'type' => :'type',
34
37
  :'order' => :'order'
35
38
  }
@@ -45,6 +48,7 @@ module Hubspot
45
48
  {
46
49
  :'id' => :'String',
47
50
  :'name' => :'String',
51
+ :'label' => :'String',
48
52
  :'type' => :'String',
49
53
  :'order' => :'Integer'
50
54
  }
@@ -79,6 +83,10 @@ module Hubspot
79
83
  self.name = attributes[:'name']
80
84
  end
81
85
 
86
+ if attributes.key?(:'label')
87
+ self.label = attributes[:'label']
88
+ end
89
+
82
90
  if attributes.key?(:'type')
83
91
  self.type = attributes[:'type']
84
92
  end
@@ -128,6 +136,7 @@ module Hubspot
128
136
  self.class == o.class &&
129
137
  id == o.id &&
130
138
  name == o.name &&
139
+ label == o.label &&
131
140
  type == o.type &&
132
141
  order == o.order
133
142
  end
@@ -141,7 +150,7 @@ module Hubspot
141
150
  # Calculates hash code according to all attributes.
142
151
  # @return [Integer] Hash code
143
152
  def hash
144
- [id, name, type, order].hash
153
+ [id, name, label, type, order].hash
145
154
  end
146
155
 
147
156
  # Builds the object from hash
@@ -88,26 +88,26 @@ module Hubspot
88
88
 
89
89
  # Create
90
90
  # Create a company with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard companies is provided.
91
- # @param simple_public_object_input [SimplePublicObjectInput]
91
+ # @param simple_public_object_input_for_create [SimplePublicObjectInputForCreate]
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @return [SimplePublicObject]
94
- def create(simple_public_object_input, opts = {})
95
- data, _status_code, _headers = create_with_http_info(simple_public_object_input, opts)
94
+ def create(simple_public_object_input_for_create, opts = {})
95
+ data, _status_code, _headers = create_with_http_info(simple_public_object_input_for_create, opts)
96
96
  data
97
97
  end
98
98
 
99
99
  # Create
100
100
  # Create a company with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard companies is provided.
101
- # @param simple_public_object_input [SimplePublicObjectInput]
101
+ # @param simple_public_object_input_for_create [SimplePublicObjectInputForCreate]
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @return [Array<(SimplePublicObject, Integer, Hash)>] SimplePublicObject data, response status code and response headers
104
- def create_with_http_info(simple_public_object_input, opts = {})
104
+ def create_with_http_info(simple_public_object_input_for_create, opts = {})
105
105
  if @api_client.config.debugging
106
106
  @api_client.config.logger.debug 'Calling API: BasicApi.create ...'
107
107
  end
108
- # verify the required parameter 'simple_public_object_input' is set
109
- if @api_client.config.client_side_validation && simple_public_object_input.nil?
110
- fail ArgumentError, "Missing the required parameter 'simple_public_object_input' when calling BasicApi.create"
108
+ # verify the required parameter 'simple_public_object_input_for_create' is set
109
+ if @api_client.config.client_side_validation && simple_public_object_input_for_create.nil?
110
+ fail ArgumentError, "Missing the required parameter 'simple_public_object_input_for_create' when calling BasicApi.create"
111
111
  end
112
112
  # resource path
113
113
  local_var_path = '/crm/v3/objects/companies'
@@ -129,7 +129,7 @@ module Hubspot
129
129
  form_params = opts[:form_params] || {}
130
130
 
131
131
  # http body (model)
132
- post_body = opts[:debug_body] || @api_client.object_to_http_body(simple_public_object_input)
132
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(simple_public_object_input_for_create)
133
133
 
134
134
  # return_type
135
135
  return_type = opts[:debug_return_type] || 'SimplePublicObject'
@@ -88,25 +88,25 @@ module Hubspot
88
88
  end
89
89
 
90
90
  # Create a batch of companies
91
- # @param batch_input_simple_public_object_input [BatchInputSimplePublicObjectInput]
91
+ # @param batch_input_simple_public_object_input_for_create [BatchInputSimplePublicObjectInputForCreate]
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @return [BatchResponseSimplePublicObject]
94
- def create(batch_input_simple_public_object_input, opts = {})
95
- data, _status_code, _headers = create_with_http_info(batch_input_simple_public_object_input, opts)
94
+ def create(batch_input_simple_public_object_input_for_create, opts = {})
95
+ data, _status_code, _headers = create_with_http_info(batch_input_simple_public_object_input_for_create, opts)
96
96
  data
97
97
  end
98
98
 
99
99
  # Create a batch of companies
100
- # @param batch_input_simple_public_object_input [BatchInputSimplePublicObjectInput]
100
+ # @param batch_input_simple_public_object_input_for_create [BatchInputSimplePublicObjectInputForCreate]
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
103
- def create_with_http_info(batch_input_simple_public_object_input, opts = {})
103
+ def create_with_http_info(batch_input_simple_public_object_input_for_create, opts = {})
104
104
  if @api_client.config.debugging
105
105
  @api_client.config.logger.debug 'Calling API: BatchApi.create ...'
106
106
  end
107
- # verify the required parameter 'batch_input_simple_public_object_input' is set
108
- if @api_client.config.client_side_validation && batch_input_simple_public_object_input.nil?
109
- fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_input' when calling BatchApi.create"
107
+ # verify the required parameter 'batch_input_simple_public_object_input_for_create' is set
108
+ if @api_client.config.client_side_validation && batch_input_simple_public_object_input_for_create.nil?
109
+ fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_input_for_create' when calling BatchApi.create"
110
110
  end
111
111
  # resource path
112
112
  local_var_path = '/crm/v3/objects/companies/batch/create'
@@ -128,7 +128,7 @@ module Hubspot
128
128
  form_params = opts[:form_params] || {}
129
129
 
130
130
  # http body (model)
131
- post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_simple_public_object_input)
131
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_simple_public_object_input_for_create)
132
132
 
133
133
  # return_type
134
134
  return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
@@ -16,7 +16,7 @@ require 'time'
16
16
  module Hubspot
17
17
  module Crm
18
18
  module Companies
19
- class BatchInputSimplePublicObjectInput
19
+ class BatchInputSimplePublicObjectInputForCreate
20
20
  attr_accessor :inputs
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -34,7 +34,7 @@ module Hubspot
34
34
  # Attribute type mapping.
35
35
  def self.openapi_types
36
36
  {
37
- :'inputs' => :'Array<SimplePublicObjectInput>'
37
+ :'inputs' => :'Array<SimplePublicObjectInputForCreate>'
38
38
  }
39
39
  end
40
40
 
@@ -48,13 +48,13 @@ module Hubspot
48
48
  # @param [Hash] attributes Model attributes in the form of hash
49
49
  def initialize(attributes = {})
50
50
  if (!attributes.is_a?(Hash))
51
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Companies::BatchInputSimplePublicObjectInput` initialize method"
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Companies::BatchInputSimplePublicObjectInputForCreate` initialize method"
52
52
  end
53
53
 
54
54
  # check to see if the attribute exists and convert string to symbol for hash key
55
55
  attributes = attributes.each_with_object({}) { |(k, v), h|
56
56
  if (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Companies::BatchInputSimplePublicObjectInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Companies::BatchInputSimplePublicObjectInputForCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
58
  end
59
59
  h[k.to_sym] = v
60
60
  }
@@ -19,6 +19,8 @@ module Hubspot
19
19
  class Filter
20
20
  attr_accessor :value
21
21
 
22
+ attr_accessor :high_value
23
+
22
24
  attr_accessor :values
23
25
 
24
26
  attr_accessor :property_name
@@ -52,6 +54,7 @@ module Hubspot
52
54
  def self.attribute_map
53
55
  {
54
56
  :'value' => :'value',
57
+ :'high_value' => :'highValue',
55
58
  :'values' => :'values',
56
59
  :'property_name' => :'propertyName',
57
60
  :'operator' => :'operator'
@@ -67,6 +70,7 @@ module Hubspot
67
70
  def self.openapi_types
68
71
  {
69
72
  :'value' => :'String',
73
+ :'high_value' => :'String',
70
74
  :'values' => :'Array<String>',
71
75
  :'property_name' => :'String',
72
76
  :'operator' => :'String'
@@ -98,6 +102,10 @@ module Hubspot
98
102
  self.value = attributes[:'value']
99
103
  end
100
104
 
105
+ if attributes.key?(:'high_value')
106
+ self.high_value = attributes[:'high_value']
107
+ end
108
+
101
109
  if attributes.key?(:'values')
102
110
  if (value = attributes[:'values']).is_a?(Array)
103
111
  self.values = value
@@ -154,6 +162,7 @@ module Hubspot
154
162
  return true if self.equal?(o)
155
163
  self.class == o.class &&
156
164
  value == o.value &&
165
+ high_value == o.high_value &&
157
166
  values == o.values &&
158
167
  property_name == o.property_name &&
159
168
  operator == o.operator
@@ -168,7 +177,7 @@ module Hubspot
168
177
  # Calculates hash code according to all attributes.
169
178
  # @return [Integer] Hash code
170
179
  def hash
171
- [value, values, property_name, operator].hash
180
+ [value, high_value, values, property_name, operator].hash
172
181
  end
173
182
 
174
183
  # Builds the object from hash
@@ -16,16 +16,16 @@ require 'time'
16
16
  module Hubspot
17
17
  module Crm
18
18
  module Companies
19
- class CollectionResponseMultiAssociatedObjectWithLabelForwardPaging
20
- attr_accessor :results
19
+ class PublicAssociationsForObject
20
+ attr_accessor :to
21
21
 
22
- attr_accessor :paging
22
+ attr_accessor :types
23
23
 
24
24
  # Attribute mapping from ruby-style variable name to JSON key.
25
25
  def self.attribute_map
26
26
  {
27
- :'results' => :'results',
28
- :'paging' => :'paging'
27
+ :'to' => :'to',
28
+ :'types' => :'types'
29
29
  }
30
30
  end
31
31
 
@@ -37,8 +37,8 @@ module Hubspot
37
37
  # Attribute type mapping.
38
38
  def self.openapi_types
39
39
  {
40
- :'results' => :'Array<MultiAssociatedObjectWithLabel>',
41
- :'paging' => :'ForwardPaging'
40
+ :'to' => :'PublicObjectId',
41
+ :'types' => :'Array<AssociationSpec>'
42
42
  }
43
43
  end
44
44
 
@@ -52,25 +52,25 @@ module Hubspot
52
52
  # @param [Hash] attributes Model attributes in the form of hash
53
53
  def initialize(attributes = {})
54
54
  if (!attributes.is_a?(Hash))
55
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Companies::CollectionResponseMultiAssociatedObjectWithLabelForwardPaging` initialize method"
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Companies::PublicAssociationsForObject` initialize method"
56
56
  end
57
57
 
58
58
  # check to see if the attribute exists and convert string to symbol for hash key
59
59
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
60
  if (!self.class.attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Companies::CollectionResponseMultiAssociatedObjectWithLabelForwardPaging`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Companies::PublicAssociationsForObject`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
62
  end
63
63
  h[k.to_sym] = v
64
64
  }
65
65
 
66
- if attributes.key?(:'results')
67
- if (value = attributes[:'results']).is_a?(Array)
68
- self.results = value
69
- end
66
+ if attributes.key?(:'to')
67
+ self.to = attributes[:'to']
70
68
  end
71
69
 
72
- if attributes.key?(:'paging')
73
- self.paging = attributes[:'paging']
70
+ if attributes.key?(:'types')
71
+ if (value = attributes[:'types']).is_a?(Array)
72
+ self.types = value
73
+ end
74
74
  end
75
75
  end
76
76
 
@@ -78,8 +78,12 @@ module Hubspot
78
78
  # @return Array for valid properties with the reasons
79
79
  def list_invalid_properties
80
80
  invalid_properties = Array.new
81
- if @results.nil?
82
- invalid_properties.push('invalid value for "results", results cannot be nil.')
81
+ if @to.nil?
82
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
83
+ end
84
+
85
+ if @types.nil?
86
+ invalid_properties.push('invalid value for "types", types cannot be nil.')
83
87
  end
84
88
 
85
89
  invalid_properties
@@ -88,7 +92,8 @@ module Hubspot
88
92
  # Check to see if the all the properties in the model are valid
89
93
  # @return true if the model is valid
90
94
  def valid?
91
- return false if @results.nil?
95
+ return false if @to.nil?
96
+ return false if @types.nil?
92
97
  true
93
98
  end
94
99
 
@@ -97,8 +102,8 @@ module Hubspot
97
102
  def ==(o)
98
103
  return true if self.equal?(o)
99
104
  self.class == o.class &&
100
- results == o.results &&
101
- paging == o.paging
105
+ to == o.to &&
106
+ types == o.types
102
107
  end
103
108
 
104
109
  # @see the `==` method
@@ -110,7 +115,7 @@ module Hubspot
110
115
  # Calculates hash code according to all attributes.
111
116
  # @return [Integer] Hash code
112
117
  def hash
113
- [results, paging].hash
118
+ [to, types].hash
114
119
  end
115
120
 
116
121
  # Builds the object from hash