pingram 1.0.39 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/lib/pingram/api/accounts_api.rb +2 -2
  4. data/lib/pingram/api/addresses_api.rb +2 -2
  5. data/lib/pingram/api/broadcasts_api.rb +12 -12
  6. data/lib/pingram/api/domains_api.rb +4 -4
  7. data/lib/pingram/api/email_api.rb +2 -2
  8. data/lib/pingram/api/registrations_api.rb +4 -4
  9. data/lib/pingram/api/voice_api.rb +60 -318
  10. data/lib/pingram/api/webhooks_api.rb +4 -4
  11. data/lib/pingram/api_client.rb +1 -1
  12. data/lib/pingram/models/{bind_number_response_agent_spec_inbound.rb → agent.rb} +52 -34
  13. data/lib/pingram/models/{bind_number_response_agent_spec_outbound.rb → agent1.rb} +59 -47
  14. data/lib/pingram/models/agent_agent.rb +222 -0
  15. data/lib/pingram/models/{bind_number_response_agent_spec_conversation.rb → agent_agent_conversation.rb} +14 -109
  16. data/lib/pingram/models/agent_agent_model.rb +108 -0
  17. data/lib/pingram/models/{bind_number_response_agent_spec_tools_inner.rb → agent_agent_tools_inner.rb} +4 -2
  18. data/lib/pingram/models/{bind_number_response_agent_spec_variables_inner.rb → agent_agent_variables_inner.rb} +6 -3
  19. data/lib/pingram/models/{bind_number_request.rb → arm_voice_inbound_claim_request.rb} +20 -19
  20. data/lib/pingram/models/{bind_number_response_agent_spec_model.rb → arm_voice_inbound_claim_request_inbound.rb} +5 -4
  21. data/lib/pingram/models/arm_voice_inbound_claim_response.rb +192 -0
  22. data/lib/pingram/models/broadcast_response.rb +1 -0
  23. data/lib/pingram/models/create_broadcast_request.rb +2 -1
  24. data/lib/pingram/models/custom.rb +39 -4
  25. data/lib/pingram/models/{bind_number_response_agent_spec_compliance.rb → disabled.rb} +45 -21
  26. data/lib/pingram/models/disconnect.rb +190 -0
  27. data/lib/pingram/models/dtmf.rb +2 -0
  28. data/lib/pingram/models/get_voice_call_response_call.rb +27 -27
  29. data/lib/pingram/models/get_voice_call_response_call_cost.rb +1 -1
  30. data/lib/pingram/models/get_voice_call_response_call_cost_lines_inner.rb +1 -1
  31. data/lib/pingram/models/google_gemini31_flash_live_preview.rb +230 -0
  32. data/lib/pingram/models/inbound_config.rb +106 -0
  33. data/lib/pingram/models/knowledge.rb +3 -0
  34. data/lib/pingram/models/knowledge_documents_inner.rb +2 -0
  35. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +28 -27
  36. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner_audience.rb +160 -0
  37. data/lib/pingram/models/list_phone_numbers_response_numbers_inner.rb +7 -8
  38. data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +27 -27
  39. data/lib/pingram/models/local_number_admin_update_request.rb +213 -0
  40. data/lib/pingram/models/local_number_admin_update_request_fields.rb +380 -0
  41. data/lib/pingram/models/{update_voice_agent_response.rb → local_number_submit_request.rb} +31 -27
  42. data/lib/pingram/models/local_number_upload_request.rb +267 -0
  43. data/lib/pingram/models/local_number_upload_response.rb +240 -0
  44. data/lib/pingram/models/logs_get_response_logs_inner.rb +2 -2
  45. data/lib/pingram/models/mcp.rb +4 -0
  46. data/lib/pingram/models/openai_gpt_live1.rb +230 -0
  47. data/lib/pingram/models/{s2s.rb → openai_gpt_realtime21.rb} +20 -85
  48. data/lib/pingram/models/openai_gpt_realtime21_mini.rb +230 -0
  49. data/lib/pingram/models/script.rb +225 -0
  50. data/lib/pingram/models/script1.rb +256 -0
  51. data/lib/pingram/models/{update_voice_agent_request.rb → script_privacy.rb} +20 -27
  52. data/lib/pingram/models/script_steps_inner.rb +215 -0
  53. data/lib/pingram/models/{create_voice_agent_request.rb → sign_out_request.rb} +20 -19
  54. data/lib/pingram/models/{list_voice_agents_response.rb → sms_compliance_countries_response.rb} +20 -20
  55. data/lib/pingram/models/sms_compliance_countries_response_countries_inner.rb +244 -0
  56. data/lib/pingram/models/{unbind_number_response.rb → sms_compliance_country.rb} +99 -19
  57. data/lib/pingram/models/sms_compliance_country_create_request.rb +208 -0
  58. data/lib/pingram/models/sms_local_number_registration_admin.rb +470 -0
  59. data/lib/pingram/models/sms_local_number_registration_admin_documents_inner.rb +243 -0
  60. data/lib/pingram/models/sms_local_number_submit_response.rb +345 -0
  61. data/lib/pingram/models/sms_local_number_submit_response_questions_inner.rb +240 -0
  62. data/lib/pingram/models/sms_local_number_submit_response_slots_inner.rb +355 -0
  63. data/lib/pingram/models/sms_registration.rb +244 -0
  64. data/lib/pingram/models/sms_registration_a2p10dlc.rb +774 -0
  65. data/lib/pingram/models/{create_voice_agent_response.rb → sms_registration_create_request.rb} +20 -27
  66. data/lib/pingram/models/sms_registration_create_request_a2p10dlc.rb +702 -0
  67. data/lib/pingram/models/sms_registration_create_request_local_number.rb +243 -0
  68. data/lib/pingram/models/sms_registration_create_request_local_number_documents_inner.rb +237 -0
  69. data/lib/pingram/models/sms_registration_local_number.rb +433 -0
  70. data/lib/pingram/models/sms_registration_local_number_documents_inner.rb +216 -0
  71. data/lib/pingram/models/sms_registration_sender_id.rb +360 -0
  72. data/lib/pingram/models/{bind_number_response.rb → sms_registration_update_request.rb} +20 -27
  73. data/lib/pingram/models/sms_registration_update_request_a2p10dlc.rb +535 -0
  74. data/lib/pingram/models/sms_registration_update_request_local_number.rb +202 -0
  75. data/lib/pingram/models/sms_sender_id.rb +293 -0
  76. data/lib/pingram/models/{bind_number_response_agent.rb → sms_sender_id_admin.rb} +66 -96
  77. data/lib/pingram/models/sms_sender_id_admin_update_request.rb +189 -0
  78. data/lib/pingram/models/{delete_voice_agent_response.rb → sms_sender_id_create_request.rb} +20 -19
  79. data/lib/pingram/models/transfer.rb +21 -53
  80. data/lib/pingram/models/transfer1.rb +223 -0
  81. data/lib/pingram/models/transfer_destinations_inner.rb +253 -0
  82. data/lib/pingram/models/update_broadcast_request.rb +2 -1
  83. data/lib/pingram/models/voice_browser_call_request.rb +57 -23
  84. data/lib/pingram/models/voice_browser_call_request_config.rb +104 -0
  85. data/lib/pingram/models/voice_browser_call_request_config_any_of.rb +104 -0
  86. data/lib/pingram/models/voice_call_request.rb +35 -44
  87. data/lib/pingram/models/voice_call_response.rb +2 -27
  88. data/lib/pingram/models/weather.rb +190 -0
  89. data/lib/pingram/models/webhook_event.rb +2 -2
  90. data/lib/pingram/models/xai_grok_voice_latest.rb +230 -0
  91. data/lib/pingram/version.rb +1 -1
  92. data/lib/pingram.rb +59 -21
  93. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
  94. data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.1.gem +0 -0
  95. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  96. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/gem_make.out +5 -5
  97. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem_make.out +5 -5
  98. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/mkmf.log +3 -3
  99. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  100. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
  101. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  102. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  103. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current.rb +1 -1
  104. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/version.rb +1 -1
  105. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/CHANGELOG.md +12 -0
  106. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/constants.rb +2 -1
  107. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/globals.rb +2 -2
  108. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/instance_vars.rb +2 -0
  109. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/local_vars.rb +2 -1
  110. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/ls_entity.rb +1 -1
  111. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/editor.rb +1 -1
  112. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/base_helpers.rb +4 -2
  113. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pager.rb +5 -4
  114. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_instance.rb +3 -7
  115. data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/version.rb +1 -1
  116. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.12.0.gemspec → parser-3.3.13.0.gemspec} +4 -4
  117. data/vendor/bundle/ruby/3.2.0/specifications/{pry-0.16.0.gemspec → pry-0.16.1.gemspec} +2 -2
  118. metadata +285 -247
  119. data/lib/pingram/models/bind_number_response_agent_spec.rb +0 -376
  120. data/lib/pingram/models/chained.rb +0 -401
  121. data/lib/pingram/models/get_voice_agent_response.rb +0 -164
  122. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
  123. data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.0.gem +0 -0
  124. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/LICENSE.txt +0 -0
  125. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-parse +0 -0
  126. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-rewrite +0 -0
  127. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/gauntlet_parser.rb +0 -0
  128. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/all.rb +0 -0
  129. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/node.rb +0 -0
  130. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/processor.rb +0 -0
  131. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/base.rb +0 -0
  132. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/builders/default.rb +0 -0
  133. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/clobbering_error.rb +0 -0
  134. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/color.rb +0 -0
  135. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/context.rb +0 -0
  136. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current_arg_stack.rb +0 -0
  137. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/deprecation.rb +0 -0
  138. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic/engine.rb +0 -0
  139. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic.rb +0 -0
  140. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/dedenter.rb +0 -0
  141. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/explanation.rb +0 -0
  142. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/literal.rb +0 -0
  143. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/stack_state.rb +0 -0
  144. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F0.rb +0 -0
  145. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F1.rb +0 -0
  146. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-strings.rb +0 -0
  147. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/macruby.rb +0 -0
  148. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/max_numparam_stack.rb +0 -0
  149. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/messages.rb +0 -0
  150. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/meta.rb +0 -0
  151. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rewriter.rb +0 -0
  152. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby18.rb +0 -0
  153. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby19.rb +0 -0
  154. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby20.rb +0 -0
  155. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby21.rb +0 -0
  156. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby22.rb +0 -0
  157. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby23.rb +0 -0
  158. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby24.rb +0 -0
  159. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby25.rb +0 -0
  160. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby26.rb +0 -0
  161. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby27.rb +0 -0
  162. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby30.rb +0 -0
  163. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby31.rb +0 -0
  164. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby32.rb +0 -0
  165. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby33.rb +0 -0
  166. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby34.rb +0 -0
  167. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rubymotion.rb +0 -0
  168. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_parse.rb +0 -0
  169. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  170. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner.rb +0 -0
  171. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/buffer.rb +0 -0
  172. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment/associator.rb +0 -0
  173. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment.rb +0 -0
  174. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/collection.rb +0 -0
  175. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/condition.rb +0 -0
  176. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/constant.rb +0 -0
  177. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/definition.rb +0 -0
  178. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/for.rb +0 -0
  179. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/heredoc.rb +0 -0
  180. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/index.rb +0 -0
  181. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/keyword.rb +0 -0
  182. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/method_definition.rb +0 -0
  183. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  184. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/operator.rb +0 -0
  185. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/rescue_body.rb +0 -0
  186. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/send.rb +0 -0
  187. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/ternary.rb +0 -0
  188. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/variable.rb +0 -0
  189. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map.rb +0 -0
  190. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/range.rb +0 -0
  191. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter/action.rb +0 -0
  192. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter.rb +0 -0
  193. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  194. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter.rb +0 -0
  195. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/static_environment.rb +0 -0
  196. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/syntax_error.rb +0 -0
  197. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/tree_rewriter.rb +0 -0
  198. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
  199. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/variables_stack.rb +0 -0
  200. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser.rb +0 -0
  201. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/parser.gemspec +0 -0
  202. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/LICENSE +0 -0
  203. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/README.md +0 -0
  204. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/bin/pry +0 -0
  205. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/basic_object.rb +0 -0
  206. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/block_command.rb +0 -0
  207. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/class_command.rb +0 -0
  208. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/cli.rb +0 -0
  209. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_file.rb +0 -0
  210. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_range.rb +0 -0
  211. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/loc.rb +0 -0
  212. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code.rb +0 -0
  213. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code_object.rb +0 -0
  214. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/color_printer.rb +0 -0
  215. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command.rb +0 -0
  216. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_set.rb +0 -0
  217. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_state.rb +0 -0
  218. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/amend_line.rb +0 -0
  219. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang.rb +0 -0
  220. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang_pry.rb +0 -0
  221. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/abstract_formatter.rb +0 -0
  222. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/exception_formatter.rb +0 -0
  223. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/file_formatter.rb +0 -0
  224. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat/input_expression_formatter.rb +0 -0
  225. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat.rb +0 -0
  226. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cd.rb +0 -0
  227. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_inspector.rb +0 -0
  228. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_prompt.rb +0 -0
  229. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/clear_screen.rb +0 -0
  230. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/code_collector.rb +0 -0
  231. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/disable_pry.rb +0 -0
  232. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/easter_eggs.rb +0 -0
  233. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit/exception_patcher.rb +0 -0
  234. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit/file_and_line_locator.rb +0 -0
  235. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit.rb +0 -0
  236. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit.rb +0 -0
  237. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_all.rb +0 -0
  238. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_program.rb +0 -0
  239. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/find_method.rb +0 -0
  240. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/fix_indent.rb +0 -0
  241. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/help.rb +0 -0
  242. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/hist.rb +0 -0
  243. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/import_set.rb +0 -0
  244. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/jump_to.rb +0 -0
  245. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/list_inspectors.rb +0 -0
  246. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/config.rb +0 -0
  247. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/formatter.rb +0 -0
  248. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/grep.rb +0 -0
  249. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/interrogatable.rb +0 -0
  250. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/jruby_hacks.rb +0 -0
  251. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/local_names.rb +0 -0
  252. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/methods.rb +0 -0
  253. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/methods_helper.rb +0 -0
  254. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/self_methods.rb +0 -0
  255. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls.rb +0 -0
  256. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/nesting.rb +0 -0
  257. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/play.rb +0 -0
  258. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_backtrace.rb +0 -0
  259. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_version.rb +0 -0
  260. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/raise_up.rb +0 -0
  261. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reload_code.rb +0 -0
  262. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reset.rb +0 -0
  263. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ri.rb +0 -0
  264. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/save_file.rb +0 -0
  265. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_command.rb +0 -0
  266. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_mode.rb +0 -0
  267. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_doc.rb +0 -0
  268. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_info.rb +0 -0
  269. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_input.rb +0 -0
  270. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_source.rb +0 -0
  271. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/stat.rb +0 -0
  272. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/switch_to.rb +0 -0
  273. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/toggle_color.rb +0 -0
  274. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/watch_expression/expression.rb +0 -0
  275. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/watch_expression.rb +0 -0
  276. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/whereami.rb +0 -0
  277. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/wtf.rb +0 -0
  278. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/attributable.rb +0 -0
  279. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/lazy_value.rb +0 -0
  280. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/memoized_value.rb +0 -0
  281. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/value.rb +0 -0
  282. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config.rb +0 -0
  283. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/control_d_handler.rb +0 -0
  284. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/core_extensions.rb +0 -0
  285. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/env.rb +0 -0
  286. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exception_handler.rb +0 -0
  287. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exceptions.rb +0 -0
  288. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/forwardable.rb +0 -0
  289. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/command_helpers.rb +0 -0
  290. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/documentation_helpers.rb +0 -0
  291. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/options_helpers.rb +0 -0
  292. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/platform.rb +0 -0
  293. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/table.rb +0 -0
  294. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/text.rb +0 -0
  295. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers.rb +0 -0
  296. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/history.rb +0 -0
  297. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/hooks.rb +0 -0
  298. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/indent.rb +0 -0
  299. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input/simple_stdio.rb +0 -0
  300. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_completer.rb +0 -0
  301. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_lock.rb +0 -0
  302. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/inspector.rb +0 -0
  303. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/last_exception.rb +0 -0
  304. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/disowned.rb +0 -0
  305. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/patcher.rb +0 -0
  306. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/weird_method_locator.rb +0 -0
  307. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method.rb +0 -0
  308. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/object_path.rb +0 -0
  309. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/output.rb +0 -0
  310. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/prompt.rb +0 -0
  311. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_class.rb +0 -0
  312. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl.rb +0 -0
  313. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl_file_loader.rb +0 -0
  314. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/ring.rb +0 -0
  315. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/LICENSE +0 -0
  316. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/commands.rb +0 -0
  317. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/option.rb +0 -0
  318. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop.rb +0 -0
  319. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/syntax_highlighter.rb +0 -0
  320. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/system_command_handler.rb +0 -0
  321. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/evalable.rb +0 -0
  322. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/mockable.rb +0 -0
  323. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/pry_tester.rb +0 -0
  324. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/utility.rb +0 -0
  325. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/variables.rb +0 -0
  326. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable.rb +0 -0
  327. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/warning.rb +0 -0
  328. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module/candidate.rb +0 -0
  329. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module.rb +0 -0
  330. /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry.rb +0 -0
@@ -0,0 +1,774 @@
1
+ =begin
2
+ #Pingram
3
+
4
+ #Internal API for notification delivery and management
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Pingram
17
+ # A US A2P 10DLC registration. `country` is the country of incorporation (US or CA), not the destination. `brandStatus` and `campaignStatus` are reviewed separately by carriers.
18
+ class SmsRegistrationA2p10dlc < ApiModelBase
19
+ # Summary of what this campaign sends and why, including audience and typical message content. Required before carrier submission.
20
+ attr_accessor :campaign_description
21
+
22
+ # Example SMS that represents actual campaign traffic. Required before carrier submission. Should match the use case and typically identify the brand and include STOP/HELP language.
23
+ attr_accessor :campaign_sample1
24
+
25
+ # Second example SMS. Required before carrier submission. Required for MARKETING and MIXED use cases.
26
+ attr_accessor :campaign_sample2
27
+
28
+ # Optional third example SMS.
29
+ attr_accessor :campaign_sample3
30
+
31
+ # Optional fourth example SMS.
32
+ attr_accessor :campaign_sample4
33
+
34
+ # How recipients opt in (for example website form, checkout, or keyword). Describe the call-to-action and where consent is collected. Required before carrier submission.
35
+ attr_accessor :campaign_message_flow
36
+
37
+ # Extra opt-in keywords as a comma-separated list. START is always included.
38
+ attr_accessor :campaign_optin_keywords
39
+
40
+ # Auto-reply sent when a recipient opts in. Required before carrier submission. Should confirm the subscription, mention message frequency, and include STOP and HELP instructions.
41
+ attr_accessor :campaign_optin_message
42
+
43
+ # Extra opt-out keywords as a comma-separated list. STOP is always included.
44
+ attr_accessor :campaign_optout_keywords
45
+
46
+ # Auto-reply sent when a recipient opts out. Required before carrier submission. Should confirm they will receive no further messages.
47
+ attr_accessor :campaign_optout_message
48
+
49
+ # Extra help keywords as a comma-separated list. HELP is always included.
50
+ attr_accessor :campaign_help_keywords
51
+
52
+ # Auto-reply sent when a recipient texts a help keyword. Required before carrier submission. Should include a support contact (email and/or phone).
53
+ attr_accessor :campaign_help_message
54
+
55
+ # Whether campaign messages include URLs.
56
+ attr_accessor :campaign_embedded_link
57
+
58
+ # Sample URL that appears in messages. Provide when campaignEmbeddedLink is true.
59
+ attr_accessor :campaign_embedded_link_url
60
+
61
+ # Whether campaign messages include phone numbers.
62
+ attr_accessor :campaign_embedded_phone
63
+
64
+ # Whether campaign content is age-restricted (18+).
65
+ attr_accessor :campaign_age_gated
66
+
67
+ # Whether the campaign relates to direct lending or loan products.
68
+ attr_accessor :campaign_direct_lending
69
+
70
+ # Public URL of the privacy policy that covers this SMS program.
71
+ attr_accessor :campaign_privacy_policy_link
72
+
73
+ # Public URL of the terms and conditions that cover this SMS program.
74
+ attr_accessor :campaign_terms_and_conditions_link
75
+
76
+ # 10DLC campaign use case submitted to carriers. Required before carrier submission. One of 2FA, ACCOUNT_NOTIFICATION, CUSTOMER_CARE, DELIVERY_NOTIFICATION, FRAUD_ALERT, MARKETING, MIXED, POLLING_VOTING, PUBLIC_SERVICE_ANNOUNCEMENT, or SECURITY_ALERT. For MIXED, append comma-separated sub-use cases after MIXED (sub-use cases cannot include MIXED), for example MIXED,2FA,ACCOUNT_NOTIFICATION.
77
+ attr_accessor :campaign_usecase
78
+
79
+ attr_accessor :account_id
80
+
81
+ attr_accessor :scenario_id
82
+
83
+ attr_accessor :business_type
84
+
85
+ # Official registered legal business name. For SOLE_PROPRIETOR, may be a DBA or trade name.
86
+ attr_accessor :legal_name
87
+
88
+ # Public brand name shown to recipients and carriers.
89
+ attr_accessor :display_name
90
+
91
+ # Legal first name of the sole proprietor. Present when businessType is SOLE_PROPRIETOR.
92
+ attr_accessor :first_name
93
+
94
+ # Legal last name of the sole proprietor. Present when businessType is SOLE_PROPRIETOR.
95
+ attr_accessor :last_name
96
+
97
+ # For US companies (country US): 9-digit EIN (Employer Identification Number). For Canada (country CA): 9-digit BN (Business Number). For other countries: national business tax identifier. Omitted when businessType is SOLE_PROPRIETOR.
98
+ attr_accessor :tax_id
99
+
100
+ # Public website for the brand.
101
+ attr_accessor :website
102
+
103
+ # ISO 3166-1 alpha-2 country of incorporation (for example US or CA).
104
+ attr_accessor :country
105
+
106
+ # Street address that matches official tax registration.
107
+ attr_accessor :street
108
+
109
+ # City that matches official tax registration.
110
+ attr_accessor :city
111
+
112
+ # State (US) or province (CA) that matches official tax registration.
113
+ attr_accessor :state
114
+
115
+ # ZIP code (US) or postal code (CA) that matches official tax registration.
116
+ attr_accessor :postal_code
117
+
118
+ # Legacy records only; new submissions use structured address fields.
119
+ attr_accessor :full_address
120
+
121
+ # Email for the 10DLC compliance contact.
122
+ attr_accessor :compliance_contact_email
123
+
124
+ # Phone number for the 10DLC compliance contact.
125
+ attr_accessor :compliance_contact_phone
126
+
127
+ # Pingram-side 10DLC registration workflow status (brand or campaign). - not_started: no customer submission yet - pending_review: customer submitted; Pingram has not submitted to carriers - in_progress: submitted for carrier review - approved | rejected | info_needed: review outcome
128
+ attr_accessor :brand_status
129
+
130
+ # Pingram-side 10DLC registration workflow status (brand or campaign). - not_started: no customer submission yet - pending_review: customer submitted; Pingram has not submitted to carriers - in_progress: submitted for carrier review - approved | rejected | info_needed: review outcome
131
+ attr_accessor :campaign_status
132
+
133
+ attr_accessor :created_at
134
+
135
+ attr_accessor :updated_at
136
+
137
+ class EnumAttributeValidator
138
+ attr_reader :datatype
139
+ attr_reader :allowable_values
140
+
141
+ def initialize(datatype, allowable_values)
142
+ @allowable_values = allowable_values.map do |value|
143
+ case datatype.to_s
144
+ when /Integer/i
145
+ value.to_i
146
+ when /Float/i
147
+ value.to_f
148
+ else
149
+ value
150
+ end
151
+ end
152
+ end
153
+
154
+ def valid?(value)
155
+ !value || allowable_values.include?(value)
156
+ end
157
+ end
158
+
159
+ # Attribute mapping from ruby-style variable name to JSON key.
160
+ def self.attribute_map
161
+ {
162
+ :'campaign_description' => :'campaignDescription',
163
+ :'campaign_sample1' => :'campaignSample1',
164
+ :'campaign_sample2' => :'campaignSample2',
165
+ :'campaign_sample3' => :'campaignSample3',
166
+ :'campaign_sample4' => :'campaignSample4',
167
+ :'campaign_message_flow' => :'campaignMessageFlow',
168
+ :'campaign_optin_keywords' => :'campaignOptinKeywords',
169
+ :'campaign_optin_message' => :'campaignOptinMessage',
170
+ :'campaign_optout_keywords' => :'campaignOptoutKeywords',
171
+ :'campaign_optout_message' => :'campaignOptoutMessage',
172
+ :'campaign_help_keywords' => :'campaignHelpKeywords',
173
+ :'campaign_help_message' => :'campaignHelpMessage',
174
+ :'campaign_embedded_link' => :'campaignEmbeddedLink',
175
+ :'campaign_embedded_link_url' => :'campaignEmbeddedLinkUrl',
176
+ :'campaign_embedded_phone' => :'campaignEmbeddedPhone',
177
+ :'campaign_age_gated' => :'campaignAgeGated',
178
+ :'campaign_direct_lending' => :'campaignDirectLending',
179
+ :'campaign_privacy_policy_link' => :'campaignPrivacyPolicyLink',
180
+ :'campaign_terms_and_conditions_link' => :'campaignTermsAndConditionsLink',
181
+ :'campaign_usecase' => :'campaignUsecase',
182
+ :'account_id' => :'accountId',
183
+ :'scenario_id' => :'scenarioId',
184
+ :'business_type' => :'businessType',
185
+ :'legal_name' => :'legalName',
186
+ :'display_name' => :'displayName',
187
+ :'first_name' => :'firstName',
188
+ :'last_name' => :'lastName',
189
+ :'tax_id' => :'taxId',
190
+ :'website' => :'website',
191
+ :'country' => :'country',
192
+ :'street' => :'street',
193
+ :'city' => :'city',
194
+ :'state' => :'state',
195
+ :'postal_code' => :'postalCode',
196
+ :'full_address' => :'fullAddress',
197
+ :'compliance_contact_email' => :'complianceContactEmail',
198
+ :'compliance_contact_phone' => :'complianceContactPhone',
199
+ :'brand_status' => :'brandStatus',
200
+ :'campaign_status' => :'campaignStatus',
201
+ :'created_at' => :'createdAt',
202
+ :'updated_at' => :'updatedAt'
203
+ }
204
+ end
205
+
206
+ # Returns attribute mapping this model knows about
207
+ def self.acceptable_attribute_map
208
+ attribute_map
209
+ end
210
+
211
+ # Returns all the JSON keys this model knows about
212
+ def self.acceptable_attributes
213
+ acceptable_attribute_map.values
214
+ end
215
+
216
+ # Attribute type mapping.
217
+ def self.openapi_types
218
+ {
219
+ :'campaign_description' => :'String',
220
+ :'campaign_sample1' => :'String',
221
+ :'campaign_sample2' => :'String',
222
+ :'campaign_sample3' => :'String',
223
+ :'campaign_sample4' => :'String',
224
+ :'campaign_message_flow' => :'String',
225
+ :'campaign_optin_keywords' => :'String',
226
+ :'campaign_optin_message' => :'String',
227
+ :'campaign_optout_keywords' => :'String',
228
+ :'campaign_optout_message' => :'String',
229
+ :'campaign_help_keywords' => :'String',
230
+ :'campaign_help_message' => :'String',
231
+ :'campaign_embedded_link' => :'Boolean',
232
+ :'campaign_embedded_link_url' => :'String',
233
+ :'campaign_embedded_phone' => :'Boolean',
234
+ :'campaign_age_gated' => :'Boolean',
235
+ :'campaign_direct_lending' => :'Boolean',
236
+ :'campaign_privacy_policy_link' => :'String',
237
+ :'campaign_terms_and_conditions_link' => :'String',
238
+ :'campaign_usecase' => :'String',
239
+ :'account_id' => :'String',
240
+ :'scenario_id' => :'String',
241
+ :'business_type' => :'String',
242
+ :'legal_name' => :'String',
243
+ :'display_name' => :'String',
244
+ :'first_name' => :'String',
245
+ :'last_name' => :'String',
246
+ :'tax_id' => :'String',
247
+ :'website' => :'String',
248
+ :'country' => :'String',
249
+ :'street' => :'String',
250
+ :'city' => :'String',
251
+ :'state' => :'String',
252
+ :'postal_code' => :'String',
253
+ :'full_address' => :'String',
254
+ :'compliance_contact_email' => :'String',
255
+ :'compliance_contact_phone' => :'String',
256
+ :'brand_status' => :'String',
257
+ :'campaign_status' => :'String',
258
+ :'created_at' => :'String',
259
+ :'updated_at' => :'String'
260
+ }
261
+ end
262
+
263
+ # List of attributes with nullable: true
264
+ def self.openapi_nullable
265
+ Set.new([
266
+ ])
267
+ end
268
+
269
+ # Initializes the object
270
+ # @param [Hash] attributes Model attributes in the form of hash
271
+ def initialize(attributes = {})
272
+ if (!attributes.is_a?(Hash))
273
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::SmsRegistrationA2p10dlc` initialize method"
274
+ end
275
+
276
+ # check to see if the attribute exists and convert string to symbol for hash key
277
+ acceptable_attribute_map = self.class.acceptable_attribute_map
278
+ attributes = attributes.each_with_object({}) { |(k, v), h|
279
+ if (!acceptable_attribute_map.key?(k.to_sym))
280
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::SmsRegistrationA2p10dlc`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
281
+ end
282
+ h[k.to_sym] = v
283
+ }
284
+
285
+ if attributes.key?(:'campaign_description')
286
+ self.campaign_description = attributes[:'campaign_description']
287
+ end
288
+
289
+ if attributes.key?(:'campaign_sample1')
290
+ self.campaign_sample1 = attributes[:'campaign_sample1']
291
+ end
292
+
293
+ if attributes.key?(:'campaign_sample2')
294
+ self.campaign_sample2 = attributes[:'campaign_sample2']
295
+ end
296
+
297
+ if attributes.key?(:'campaign_sample3')
298
+ self.campaign_sample3 = attributes[:'campaign_sample3']
299
+ end
300
+
301
+ if attributes.key?(:'campaign_sample4')
302
+ self.campaign_sample4 = attributes[:'campaign_sample4']
303
+ end
304
+
305
+ if attributes.key?(:'campaign_message_flow')
306
+ self.campaign_message_flow = attributes[:'campaign_message_flow']
307
+ end
308
+
309
+ if attributes.key?(:'campaign_optin_keywords')
310
+ self.campaign_optin_keywords = attributes[:'campaign_optin_keywords']
311
+ end
312
+
313
+ if attributes.key?(:'campaign_optin_message')
314
+ self.campaign_optin_message = attributes[:'campaign_optin_message']
315
+ end
316
+
317
+ if attributes.key?(:'campaign_optout_keywords')
318
+ self.campaign_optout_keywords = attributes[:'campaign_optout_keywords']
319
+ end
320
+
321
+ if attributes.key?(:'campaign_optout_message')
322
+ self.campaign_optout_message = attributes[:'campaign_optout_message']
323
+ end
324
+
325
+ if attributes.key?(:'campaign_help_keywords')
326
+ self.campaign_help_keywords = attributes[:'campaign_help_keywords']
327
+ end
328
+
329
+ if attributes.key?(:'campaign_help_message')
330
+ self.campaign_help_message = attributes[:'campaign_help_message']
331
+ end
332
+
333
+ if attributes.key?(:'campaign_embedded_link')
334
+ self.campaign_embedded_link = attributes[:'campaign_embedded_link']
335
+ end
336
+
337
+ if attributes.key?(:'campaign_embedded_link_url')
338
+ self.campaign_embedded_link_url = attributes[:'campaign_embedded_link_url']
339
+ end
340
+
341
+ if attributes.key?(:'campaign_embedded_phone')
342
+ self.campaign_embedded_phone = attributes[:'campaign_embedded_phone']
343
+ end
344
+
345
+ if attributes.key?(:'campaign_age_gated')
346
+ self.campaign_age_gated = attributes[:'campaign_age_gated']
347
+ end
348
+
349
+ if attributes.key?(:'campaign_direct_lending')
350
+ self.campaign_direct_lending = attributes[:'campaign_direct_lending']
351
+ end
352
+
353
+ if attributes.key?(:'campaign_privacy_policy_link')
354
+ self.campaign_privacy_policy_link = attributes[:'campaign_privacy_policy_link']
355
+ end
356
+
357
+ if attributes.key?(:'campaign_terms_and_conditions_link')
358
+ self.campaign_terms_and_conditions_link = attributes[:'campaign_terms_and_conditions_link']
359
+ end
360
+
361
+ if attributes.key?(:'campaign_usecase')
362
+ self.campaign_usecase = attributes[:'campaign_usecase']
363
+ end
364
+
365
+ if attributes.key?(:'account_id')
366
+ self.account_id = attributes[:'account_id']
367
+ else
368
+ self.account_id = nil
369
+ end
370
+
371
+ if attributes.key?(:'scenario_id')
372
+ self.scenario_id = attributes[:'scenario_id']
373
+ else
374
+ self.scenario_id = nil
375
+ end
376
+
377
+ if attributes.key?(:'business_type')
378
+ self.business_type = attributes[:'business_type']
379
+ else
380
+ self.business_type = nil
381
+ end
382
+
383
+ if attributes.key?(:'legal_name')
384
+ self.legal_name = attributes[:'legal_name']
385
+ else
386
+ self.legal_name = nil
387
+ end
388
+
389
+ if attributes.key?(:'display_name')
390
+ self.display_name = attributes[:'display_name']
391
+ end
392
+
393
+ if attributes.key?(:'first_name')
394
+ self.first_name = attributes[:'first_name']
395
+ end
396
+
397
+ if attributes.key?(:'last_name')
398
+ self.last_name = attributes[:'last_name']
399
+ end
400
+
401
+ if attributes.key?(:'tax_id')
402
+ self.tax_id = attributes[:'tax_id']
403
+ end
404
+
405
+ if attributes.key?(:'website')
406
+ self.website = attributes[:'website']
407
+ else
408
+ self.website = nil
409
+ end
410
+
411
+ if attributes.key?(:'country')
412
+ self.country = attributes[:'country']
413
+ else
414
+ self.country = nil
415
+ end
416
+
417
+ if attributes.key?(:'street')
418
+ self.street = attributes[:'street']
419
+ end
420
+
421
+ if attributes.key?(:'city')
422
+ self.city = attributes[:'city']
423
+ end
424
+
425
+ if attributes.key?(:'state')
426
+ self.state = attributes[:'state']
427
+ end
428
+
429
+ if attributes.key?(:'postal_code')
430
+ self.postal_code = attributes[:'postal_code']
431
+ end
432
+
433
+ if attributes.key?(:'full_address')
434
+ self.full_address = attributes[:'full_address']
435
+ end
436
+
437
+ if attributes.key?(:'compliance_contact_email')
438
+ self.compliance_contact_email = attributes[:'compliance_contact_email']
439
+ else
440
+ self.compliance_contact_email = nil
441
+ end
442
+
443
+ if attributes.key?(:'compliance_contact_phone')
444
+ self.compliance_contact_phone = attributes[:'compliance_contact_phone']
445
+ else
446
+ self.compliance_contact_phone = nil
447
+ end
448
+
449
+ if attributes.key?(:'brand_status')
450
+ self.brand_status = attributes[:'brand_status']
451
+ else
452
+ self.brand_status = nil
453
+ end
454
+
455
+ if attributes.key?(:'campaign_status')
456
+ self.campaign_status = attributes[:'campaign_status']
457
+ else
458
+ self.campaign_status = nil
459
+ end
460
+
461
+ if attributes.key?(:'created_at')
462
+ self.created_at = attributes[:'created_at']
463
+ else
464
+ self.created_at = nil
465
+ end
466
+
467
+ if attributes.key?(:'updated_at')
468
+ self.updated_at = attributes[:'updated_at']
469
+ else
470
+ self.updated_at = nil
471
+ end
472
+ end
473
+
474
+ # Show invalid properties with the reasons. Usually used together with valid?
475
+ # @return Array for valid properties with the reasons
476
+ def list_invalid_properties
477
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
478
+ invalid_properties = Array.new
479
+ if @account_id.nil?
480
+ invalid_properties.push('invalid value for "account_id", account_id cannot be nil.')
481
+ end
482
+
483
+ if @scenario_id.nil?
484
+ invalid_properties.push('invalid value for "scenario_id", scenario_id cannot be nil.')
485
+ end
486
+
487
+ if @business_type.nil?
488
+ invalid_properties.push('invalid value for "business_type", business_type cannot be nil.')
489
+ end
490
+
491
+ if @legal_name.nil?
492
+ invalid_properties.push('invalid value for "legal_name", legal_name cannot be nil.')
493
+ end
494
+
495
+ if @website.nil?
496
+ invalid_properties.push('invalid value for "website", website cannot be nil.')
497
+ end
498
+
499
+ if @country.nil?
500
+ invalid_properties.push('invalid value for "country", country cannot be nil.')
501
+ end
502
+
503
+ if @compliance_contact_email.nil?
504
+ invalid_properties.push('invalid value for "compliance_contact_email", compliance_contact_email cannot be nil.')
505
+ end
506
+
507
+ if @compliance_contact_phone.nil?
508
+ invalid_properties.push('invalid value for "compliance_contact_phone", compliance_contact_phone cannot be nil.')
509
+ end
510
+
511
+ if @brand_status.nil?
512
+ invalid_properties.push('invalid value for "brand_status", brand_status cannot be nil.')
513
+ end
514
+
515
+ if @campaign_status.nil?
516
+ invalid_properties.push('invalid value for "campaign_status", campaign_status cannot be nil.')
517
+ end
518
+
519
+ if @created_at.nil?
520
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
521
+ end
522
+
523
+ if @updated_at.nil?
524
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
525
+ end
526
+
527
+ invalid_properties
528
+ end
529
+
530
+ # Check to see if the all the properties in the model are valid
531
+ # @return true if the model is valid
532
+ def valid?
533
+ warn '[DEPRECATED] the `valid?` method is obsolete'
534
+ return false if @account_id.nil?
535
+ return false if @scenario_id.nil?
536
+ return false if @business_type.nil?
537
+ return false if @legal_name.nil?
538
+ return false if @website.nil?
539
+ return false if @country.nil?
540
+ return false if @compliance_contact_email.nil?
541
+ return false if @compliance_contact_phone.nil?
542
+ return false if @brand_status.nil?
543
+ brand_status_validator = EnumAttributeValidator.new('String', ["not_started", "in_progress", "pending_review", "approved", "rejected", "info_needed"])
544
+ return false unless brand_status_validator.valid?(@brand_status)
545
+ return false if @campaign_status.nil?
546
+ campaign_status_validator = EnumAttributeValidator.new('String', ["not_started", "in_progress", "pending_review", "approved", "rejected", "info_needed"])
547
+ return false unless campaign_status_validator.valid?(@campaign_status)
548
+ return false if @created_at.nil?
549
+ return false if @updated_at.nil?
550
+ true
551
+ end
552
+
553
+ # Custom attribute writer method with validation
554
+ # @param [Object] account_id Value to be assigned
555
+ def account_id=(account_id)
556
+ if account_id.nil?
557
+ fail ArgumentError, 'account_id cannot be nil'
558
+ end
559
+
560
+ @account_id = account_id
561
+ end
562
+
563
+ # Custom attribute writer method with validation
564
+ # @param [Object] scenario_id Value to be assigned
565
+ def scenario_id=(scenario_id)
566
+ if scenario_id.nil?
567
+ fail ArgumentError, 'scenario_id cannot be nil'
568
+ end
569
+
570
+ @scenario_id = scenario_id
571
+ end
572
+
573
+ # Custom attribute writer method with validation
574
+ # @param [Object] business_type Value to be assigned
575
+ def business_type=(business_type)
576
+ if business_type.nil?
577
+ fail ArgumentError, 'business_type cannot be nil'
578
+ end
579
+
580
+ @business_type = business_type
581
+ end
582
+
583
+ # Custom attribute writer method with validation
584
+ # @param [Object] legal_name Value to be assigned
585
+ def legal_name=(legal_name)
586
+ if legal_name.nil?
587
+ fail ArgumentError, 'legal_name cannot be nil'
588
+ end
589
+
590
+ @legal_name = legal_name
591
+ end
592
+
593
+ # Custom attribute writer method with validation
594
+ # @param [Object] website Value to be assigned
595
+ def website=(website)
596
+ if website.nil?
597
+ fail ArgumentError, 'website cannot be nil'
598
+ end
599
+
600
+ @website = website
601
+ end
602
+
603
+ # Custom attribute writer method with validation
604
+ # @param [Object] country Value to be assigned
605
+ def country=(country)
606
+ if country.nil?
607
+ fail ArgumentError, 'country cannot be nil'
608
+ end
609
+
610
+ @country = country
611
+ end
612
+
613
+ # Custom attribute writer method with validation
614
+ # @param [Object] compliance_contact_email Value to be assigned
615
+ def compliance_contact_email=(compliance_contact_email)
616
+ if compliance_contact_email.nil?
617
+ fail ArgumentError, 'compliance_contact_email cannot be nil'
618
+ end
619
+
620
+ @compliance_contact_email = compliance_contact_email
621
+ end
622
+
623
+ # Custom attribute writer method with validation
624
+ # @param [Object] compliance_contact_phone Value to be assigned
625
+ def compliance_contact_phone=(compliance_contact_phone)
626
+ if compliance_contact_phone.nil?
627
+ fail ArgumentError, 'compliance_contact_phone cannot be nil'
628
+ end
629
+
630
+ @compliance_contact_phone = compliance_contact_phone
631
+ end
632
+
633
+ # Custom attribute writer method checking allowed values (enum).
634
+ # @param [Object] brand_status Object to be assigned
635
+ def brand_status=(brand_status)
636
+ validator = EnumAttributeValidator.new('String', ["not_started", "in_progress", "pending_review", "approved", "rejected", "info_needed"])
637
+ unless validator.valid?(brand_status)
638
+ fail ArgumentError, "invalid value for \"brand_status\", must be one of #{validator.allowable_values}."
639
+ end
640
+ @brand_status = brand_status
641
+ end
642
+
643
+ # Custom attribute writer method checking allowed values (enum).
644
+ # @param [Object] campaign_status Object to be assigned
645
+ def campaign_status=(campaign_status)
646
+ validator = EnumAttributeValidator.new('String', ["not_started", "in_progress", "pending_review", "approved", "rejected", "info_needed"])
647
+ unless validator.valid?(campaign_status)
648
+ fail ArgumentError, "invalid value for \"campaign_status\", must be one of #{validator.allowable_values}."
649
+ end
650
+ @campaign_status = campaign_status
651
+ end
652
+
653
+ # Custom attribute writer method with validation
654
+ # @param [Object] created_at Value to be assigned
655
+ def created_at=(created_at)
656
+ if created_at.nil?
657
+ fail ArgumentError, 'created_at cannot be nil'
658
+ end
659
+
660
+ @created_at = created_at
661
+ end
662
+
663
+ # Custom attribute writer method with validation
664
+ # @param [Object] updated_at Value to be assigned
665
+ def updated_at=(updated_at)
666
+ if updated_at.nil?
667
+ fail ArgumentError, 'updated_at cannot be nil'
668
+ end
669
+
670
+ @updated_at = updated_at
671
+ end
672
+
673
+ # Checks equality by comparing each attribute.
674
+ # @param [Object] Object to be compared
675
+ def ==(o)
676
+ return true if self.equal?(o)
677
+ self.class == o.class &&
678
+ campaign_description == o.campaign_description &&
679
+ campaign_sample1 == o.campaign_sample1 &&
680
+ campaign_sample2 == o.campaign_sample2 &&
681
+ campaign_sample3 == o.campaign_sample3 &&
682
+ campaign_sample4 == o.campaign_sample4 &&
683
+ campaign_message_flow == o.campaign_message_flow &&
684
+ campaign_optin_keywords == o.campaign_optin_keywords &&
685
+ campaign_optin_message == o.campaign_optin_message &&
686
+ campaign_optout_keywords == o.campaign_optout_keywords &&
687
+ campaign_optout_message == o.campaign_optout_message &&
688
+ campaign_help_keywords == o.campaign_help_keywords &&
689
+ campaign_help_message == o.campaign_help_message &&
690
+ campaign_embedded_link == o.campaign_embedded_link &&
691
+ campaign_embedded_link_url == o.campaign_embedded_link_url &&
692
+ campaign_embedded_phone == o.campaign_embedded_phone &&
693
+ campaign_age_gated == o.campaign_age_gated &&
694
+ campaign_direct_lending == o.campaign_direct_lending &&
695
+ campaign_privacy_policy_link == o.campaign_privacy_policy_link &&
696
+ campaign_terms_and_conditions_link == o.campaign_terms_and_conditions_link &&
697
+ campaign_usecase == o.campaign_usecase &&
698
+ account_id == o.account_id &&
699
+ scenario_id == o.scenario_id &&
700
+ business_type == o.business_type &&
701
+ legal_name == o.legal_name &&
702
+ display_name == o.display_name &&
703
+ first_name == o.first_name &&
704
+ last_name == o.last_name &&
705
+ tax_id == o.tax_id &&
706
+ website == o.website &&
707
+ country == o.country &&
708
+ street == o.street &&
709
+ city == o.city &&
710
+ state == o.state &&
711
+ postal_code == o.postal_code &&
712
+ full_address == o.full_address &&
713
+ compliance_contact_email == o.compliance_contact_email &&
714
+ compliance_contact_phone == o.compliance_contact_phone &&
715
+ brand_status == o.brand_status &&
716
+ campaign_status == o.campaign_status &&
717
+ created_at == o.created_at &&
718
+ updated_at == o.updated_at
719
+ end
720
+
721
+ # @see the `==` method
722
+ # @param [Object] Object to be compared
723
+ def eql?(o)
724
+ self == o
725
+ end
726
+
727
+ # Calculates hash code according to all attributes.
728
+ # @return [Integer] Hash code
729
+ def hash
730
+ [campaign_description, campaign_sample1, campaign_sample2, campaign_sample3, campaign_sample4, campaign_message_flow, campaign_optin_keywords, campaign_optin_message, campaign_optout_keywords, campaign_optout_message, campaign_help_keywords, campaign_help_message, campaign_embedded_link, campaign_embedded_link_url, campaign_embedded_phone, campaign_age_gated, campaign_direct_lending, campaign_privacy_policy_link, campaign_terms_and_conditions_link, campaign_usecase, account_id, scenario_id, business_type, legal_name, display_name, first_name, last_name, tax_id, website, country, street, city, state, postal_code, full_address, compliance_contact_email, compliance_contact_phone, brand_status, campaign_status, created_at, updated_at].hash
731
+ end
732
+
733
+ # Builds the object from hash
734
+ # @param [Hash] attributes Model attributes in the form of hash
735
+ # @return [Object] Returns the model itself
736
+ def self.build_from_hash(attributes)
737
+ return nil unless attributes.is_a?(Hash)
738
+ attributes = attributes.transform_keys(&:to_sym)
739
+ transformed_hash = {}
740
+ openapi_types.each_pair do |key, type|
741
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
742
+ transformed_hash["#{key}"] = nil
743
+ elsif type =~ /\AArray<(.*)>/i
744
+ # check to ensure the input is an array given that the attribute
745
+ # is documented as an array but the input is not
746
+ if attributes[attribute_map[key]].is_a?(Array)
747
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
748
+ end
749
+ elsif !attributes[attribute_map[key]].nil?
750
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
751
+ end
752
+ end
753
+ new(transformed_hash)
754
+ end
755
+
756
+ # Returns the object in the form of hash
757
+ # @return [Hash] Returns the object in the form of hash
758
+ def to_hash
759
+ hash = {}
760
+ self.class.attribute_map.each_pair do |attr, param|
761
+ value = self.send(attr)
762
+ if value.nil?
763
+ is_nullable = self.class.openapi_nullable.include?(attr)
764
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
765
+ end
766
+
767
+ hash[param] = _to_hash(value)
768
+ end
769
+ hash
770
+ end
771
+
772
+ end
773
+
774
+ end