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.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/pingram/api/accounts_api.rb +2 -2
- data/lib/pingram/api/addresses_api.rb +2 -2
- data/lib/pingram/api/broadcasts_api.rb +12 -12
- data/lib/pingram/api/domains_api.rb +4 -4
- data/lib/pingram/api/email_api.rb +2 -2
- data/lib/pingram/api/registrations_api.rb +4 -4
- data/lib/pingram/api/voice_api.rb +60 -318
- data/lib/pingram/api/webhooks_api.rb +4 -4
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/models/{bind_number_response_agent_spec_inbound.rb → agent.rb} +52 -34
- data/lib/pingram/models/{bind_number_response_agent_spec_outbound.rb → agent1.rb} +59 -47
- data/lib/pingram/models/agent_agent.rb +222 -0
- data/lib/pingram/models/{bind_number_response_agent_spec_conversation.rb → agent_agent_conversation.rb} +14 -109
- data/lib/pingram/models/agent_agent_model.rb +108 -0
- data/lib/pingram/models/{bind_number_response_agent_spec_tools_inner.rb → agent_agent_tools_inner.rb} +4 -2
- data/lib/pingram/models/{bind_number_response_agent_spec_variables_inner.rb → agent_agent_variables_inner.rb} +6 -3
- data/lib/pingram/models/{bind_number_request.rb → arm_voice_inbound_claim_request.rb} +20 -19
- data/lib/pingram/models/{bind_number_response_agent_spec_model.rb → arm_voice_inbound_claim_request_inbound.rb} +5 -4
- data/lib/pingram/models/arm_voice_inbound_claim_response.rb +192 -0
- data/lib/pingram/models/broadcast_response.rb +1 -0
- data/lib/pingram/models/create_broadcast_request.rb +2 -1
- data/lib/pingram/models/custom.rb +39 -4
- data/lib/pingram/models/{bind_number_response_agent_spec_compliance.rb → disabled.rb} +45 -21
- data/lib/pingram/models/disconnect.rb +190 -0
- data/lib/pingram/models/dtmf.rb +2 -0
- data/lib/pingram/models/get_voice_call_response_call.rb +27 -27
- data/lib/pingram/models/get_voice_call_response_call_cost.rb +1 -1
- data/lib/pingram/models/get_voice_call_response_call_cost_lines_inner.rb +1 -1
- data/lib/pingram/models/google_gemini31_flash_live_preview.rb +230 -0
- data/lib/pingram/models/inbound_config.rb +106 -0
- data/lib/pingram/models/knowledge.rb +3 -0
- data/lib/pingram/models/knowledge_documents_inner.rb +2 -0
- data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +28 -27
- data/lib/pingram/models/list_broadcasts_response_broadcasts_inner_audience.rb +160 -0
- data/lib/pingram/models/list_phone_numbers_response_numbers_inner.rb +7 -8
- data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +27 -27
- data/lib/pingram/models/local_number_admin_update_request.rb +213 -0
- data/lib/pingram/models/local_number_admin_update_request_fields.rb +380 -0
- data/lib/pingram/models/{update_voice_agent_response.rb → local_number_submit_request.rb} +31 -27
- data/lib/pingram/models/local_number_upload_request.rb +267 -0
- data/lib/pingram/models/local_number_upload_response.rb +240 -0
- data/lib/pingram/models/logs_get_response_logs_inner.rb +2 -2
- data/lib/pingram/models/mcp.rb +4 -0
- data/lib/pingram/models/openai_gpt_live1.rb +230 -0
- data/lib/pingram/models/{s2s.rb → openai_gpt_realtime21.rb} +20 -85
- data/lib/pingram/models/openai_gpt_realtime21_mini.rb +230 -0
- data/lib/pingram/models/script.rb +225 -0
- data/lib/pingram/models/script1.rb +256 -0
- data/lib/pingram/models/{update_voice_agent_request.rb → script_privacy.rb} +20 -27
- data/lib/pingram/models/script_steps_inner.rb +215 -0
- data/lib/pingram/models/{create_voice_agent_request.rb → sign_out_request.rb} +20 -19
- data/lib/pingram/models/{list_voice_agents_response.rb → sms_compliance_countries_response.rb} +20 -20
- data/lib/pingram/models/sms_compliance_countries_response_countries_inner.rb +244 -0
- data/lib/pingram/models/{unbind_number_response.rb → sms_compliance_country.rb} +99 -19
- data/lib/pingram/models/sms_compliance_country_create_request.rb +208 -0
- data/lib/pingram/models/sms_local_number_registration_admin.rb +470 -0
- data/lib/pingram/models/sms_local_number_registration_admin_documents_inner.rb +243 -0
- data/lib/pingram/models/sms_local_number_submit_response.rb +345 -0
- data/lib/pingram/models/sms_local_number_submit_response_questions_inner.rb +240 -0
- data/lib/pingram/models/sms_local_number_submit_response_slots_inner.rb +355 -0
- data/lib/pingram/models/sms_registration.rb +244 -0
- data/lib/pingram/models/sms_registration_a2p10dlc.rb +774 -0
- data/lib/pingram/models/{create_voice_agent_response.rb → sms_registration_create_request.rb} +20 -27
- data/lib/pingram/models/sms_registration_create_request_a2p10dlc.rb +702 -0
- data/lib/pingram/models/sms_registration_create_request_local_number.rb +243 -0
- data/lib/pingram/models/sms_registration_create_request_local_number_documents_inner.rb +237 -0
- data/lib/pingram/models/sms_registration_local_number.rb +433 -0
- data/lib/pingram/models/sms_registration_local_number_documents_inner.rb +216 -0
- data/lib/pingram/models/sms_registration_sender_id.rb +360 -0
- data/lib/pingram/models/{bind_number_response.rb → sms_registration_update_request.rb} +20 -27
- data/lib/pingram/models/sms_registration_update_request_a2p10dlc.rb +535 -0
- data/lib/pingram/models/sms_registration_update_request_local_number.rb +202 -0
- data/lib/pingram/models/sms_sender_id.rb +293 -0
- data/lib/pingram/models/{bind_number_response_agent.rb → sms_sender_id_admin.rb} +66 -96
- data/lib/pingram/models/sms_sender_id_admin_update_request.rb +189 -0
- data/lib/pingram/models/{delete_voice_agent_response.rb → sms_sender_id_create_request.rb} +20 -19
- data/lib/pingram/models/transfer.rb +21 -53
- data/lib/pingram/models/transfer1.rb +223 -0
- data/lib/pingram/models/transfer_destinations_inner.rb +253 -0
- data/lib/pingram/models/update_broadcast_request.rb +2 -1
- data/lib/pingram/models/voice_browser_call_request.rb +57 -23
- data/lib/pingram/models/voice_browser_call_request_config.rb +104 -0
- data/lib/pingram/models/voice_browser_call_request_config_any_of.rb +104 -0
- data/lib/pingram/models/voice_call_request.rb +35 -44
- data/lib/pingram/models/voice_call_response.rb +2 -27
- data/lib/pingram/models/weather.rb +190 -0
- data/lib/pingram/models/webhook_event.rb +2 -2
- data/lib/pingram/models/xai_grok_voice_latest.rb +230 -0
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +59 -21
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/mkmf.log +3 -3
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/CHANGELOG.md +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/constants.rb +2 -1
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/globals.rb +2 -2
- 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
- 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
- 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
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/editor.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/base_helpers.rb +4 -2
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pager.rb +5 -4
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_instance.rb +3 -7
- data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.12.0.gemspec → parser-3.3.13.0.gemspec} +4 -4
- data/vendor/bundle/ruby/3.2.0/specifications/{pry-0.16.0.gemspec → pry-0.16.1.gemspec} +2 -2
- metadata +285 -247
- data/lib/pingram/models/bind_number_response_agent_spec.rb +0 -376
- data/lib/pingram/models/chained.rb +0 -401
- data/lib/pingram/models/get_voice_agent_response.rb +0 -164
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.0.gem +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/all.rb +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/base.rb +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/context.rb +0 -0
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/deprecation.rb +0 -0
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic.rb +0 -0
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/macruby.rb +0 -0
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby31.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby32.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby33.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby34.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rubymotion.rb +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner.rb +0 -0
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/parser.gemspec +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/README.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/bin/pry +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/basic_object.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/block_command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/class_command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/cli.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_file.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/code_range.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code/loc.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/code_object.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/color_printer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_set.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/command_state.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/amend_line.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/bang_pry.rb +0 -0
- /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
- /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
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cat.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/cd.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_inspector.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/change_prompt.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/clear_screen.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/code_collector.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/disable_pry.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/easter_eggs.rb +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/edit.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_all.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/exit_program.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/find_method.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/fix_indent.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/help.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/hist.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/import_set.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/jump_to.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/list_inspectors.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/config.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/grep.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/interrogatable.rb +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls/methods.rb +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ls.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/nesting.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/play.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_backtrace.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/pry_version.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/raise_up.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reload_code.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/reset.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/ri.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/save_file.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/shell_mode.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_doc.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_info.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_input.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/show_source.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/stat.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/switch_to.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/toggle_color.rb +0 -0
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/watch_expression.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/whereami.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/commands/wtf.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/attributable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/lazy_value.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/memoized_value.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config/value.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/config.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/control_d_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/core_extensions.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/env.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exception_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/exceptions.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/forwardable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/command_helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/documentation_helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/options_helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/platform.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/table.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers/text.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/history.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/indent.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input/simple_stdio.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_completer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/input_lock.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/inspector.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/last_exception.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/disowned.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method/patcher.rb +0 -0
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/method.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/object_path.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/output.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/prompt.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/pry_class.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/repl_file_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/ring.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/commands.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop/option.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/slop.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/syntax_highlighter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/system_command_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/evalable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/mockable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/pry_tester.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/utility.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable/variables.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/testable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/warning.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module/candidate.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry/wrapped_module.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{pry-0.16.0 → pry-0.16.1}/lib/pry.rb +0 -0
|
@@ -0,0 +1,702 @@
|
|
|
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
|
+
# Fields for creating a US A2P 10DLC registration. `country` is the country of incorporation (US or CA), not the destination.
|
|
18
|
+
class SmsRegistrationCreateRequestA2p10dlc < 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
|
+
# Who the 10DLC brand is registered for. - own_brand: personal or company project - client_brand: agency or contractor
|
|
80
|
+
attr_accessor :scenario_id
|
|
81
|
+
|
|
82
|
+
# Legal entity type for a 10DLC brand. - PRIVATE_PROFIT: private for-profit (LLC, corp, etc.) - SOLE_PROPRIETOR: sole proprietorship - PUBLIC_PROFIT: publicly traded for-profit - NON_PROFIT: non-profit - GOVERNMENT: government
|
|
83
|
+
attr_accessor :business_type
|
|
84
|
+
|
|
85
|
+
# Official registered legal business name. For SOLE_PROPRIETOR, optional DBA or trade name (defaults to firstName and lastName).
|
|
86
|
+
attr_accessor :legal_name
|
|
87
|
+
|
|
88
|
+
# Public brand name shown to recipients and carriers. Use the name customers recognize (your DBA or trade name). For companies with no DBA, use the same value as legalName. For SOLE_PROPRIETOR, this is the brand you send as — not the individual's legal name (set firstName and lastName for that). If the sole proprietor has no DBA, use first and last name.
|
|
89
|
+
attr_accessor :display_name
|
|
90
|
+
|
|
91
|
+
# Legal first name of the sole proprietor. Required when businessType is SOLE_PROPRIETOR.
|
|
92
|
+
attr_accessor :first_name
|
|
93
|
+
|
|
94
|
+
# Legal last name of the sole proprietor. Required 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. Required except when businessType is SOLE_PROPRIETOR.
|
|
98
|
+
attr_accessor :tax_id
|
|
99
|
+
|
|
100
|
+
# Public website for the brand. Include a scheme (https://) or a domain; https:// is prepended when omitted. Carriers expect a working site with privacy policy and terms.
|
|
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
|
+
# Email for the 10DLC compliance contact. Used for carrier and registration follow-up.
|
|
119
|
+
attr_accessor :compliance_contact_email
|
|
120
|
+
|
|
121
|
+
# Phone number for the 10DLC compliance contact. E.164 preferred; national numbers are normalized using country.
|
|
122
|
+
attr_accessor :compliance_contact_phone
|
|
123
|
+
|
|
124
|
+
class EnumAttributeValidator
|
|
125
|
+
attr_reader :datatype
|
|
126
|
+
attr_reader :allowable_values
|
|
127
|
+
|
|
128
|
+
def initialize(datatype, allowable_values)
|
|
129
|
+
@allowable_values = allowable_values.map do |value|
|
|
130
|
+
case datatype.to_s
|
|
131
|
+
when /Integer/i
|
|
132
|
+
value.to_i
|
|
133
|
+
when /Float/i
|
|
134
|
+
value.to_f
|
|
135
|
+
else
|
|
136
|
+
value
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def valid?(value)
|
|
142
|
+
!value || allowable_values.include?(value)
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
147
|
+
def self.attribute_map
|
|
148
|
+
{
|
|
149
|
+
:'campaign_description' => :'campaignDescription',
|
|
150
|
+
:'campaign_sample1' => :'campaignSample1',
|
|
151
|
+
:'campaign_sample2' => :'campaignSample2',
|
|
152
|
+
:'campaign_sample3' => :'campaignSample3',
|
|
153
|
+
:'campaign_sample4' => :'campaignSample4',
|
|
154
|
+
:'campaign_message_flow' => :'campaignMessageFlow',
|
|
155
|
+
:'campaign_optin_keywords' => :'campaignOptinKeywords',
|
|
156
|
+
:'campaign_optin_message' => :'campaignOptinMessage',
|
|
157
|
+
:'campaign_optout_keywords' => :'campaignOptoutKeywords',
|
|
158
|
+
:'campaign_optout_message' => :'campaignOptoutMessage',
|
|
159
|
+
:'campaign_help_keywords' => :'campaignHelpKeywords',
|
|
160
|
+
:'campaign_help_message' => :'campaignHelpMessage',
|
|
161
|
+
:'campaign_embedded_link' => :'campaignEmbeddedLink',
|
|
162
|
+
:'campaign_embedded_link_url' => :'campaignEmbeddedLinkUrl',
|
|
163
|
+
:'campaign_embedded_phone' => :'campaignEmbeddedPhone',
|
|
164
|
+
:'campaign_age_gated' => :'campaignAgeGated',
|
|
165
|
+
:'campaign_direct_lending' => :'campaignDirectLending',
|
|
166
|
+
:'campaign_privacy_policy_link' => :'campaignPrivacyPolicyLink',
|
|
167
|
+
:'campaign_terms_and_conditions_link' => :'campaignTermsAndConditionsLink',
|
|
168
|
+
:'campaign_usecase' => :'campaignUsecase',
|
|
169
|
+
:'scenario_id' => :'scenarioId',
|
|
170
|
+
:'business_type' => :'businessType',
|
|
171
|
+
:'legal_name' => :'legalName',
|
|
172
|
+
:'display_name' => :'displayName',
|
|
173
|
+
:'first_name' => :'firstName',
|
|
174
|
+
:'last_name' => :'lastName',
|
|
175
|
+
:'tax_id' => :'taxId',
|
|
176
|
+
:'website' => :'website',
|
|
177
|
+
:'country' => :'country',
|
|
178
|
+
:'street' => :'street',
|
|
179
|
+
:'city' => :'city',
|
|
180
|
+
:'state' => :'state',
|
|
181
|
+
:'postal_code' => :'postalCode',
|
|
182
|
+
:'compliance_contact_email' => :'complianceContactEmail',
|
|
183
|
+
:'compliance_contact_phone' => :'complianceContactPhone'
|
|
184
|
+
}
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Returns attribute mapping this model knows about
|
|
188
|
+
def self.acceptable_attribute_map
|
|
189
|
+
attribute_map
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
# Returns all the JSON keys this model knows about
|
|
193
|
+
def self.acceptable_attributes
|
|
194
|
+
acceptable_attribute_map.values
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Attribute type mapping.
|
|
198
|
+
def self.openapi_types
|
|
199
|
+
{
|
|
200
|
+
:'campaign_description' => :'String',
|
|
201
|
+
:'campaign_sample1' => :'String',
|
|
202
|
+
:'campaign_sample2' => :'String',
|
|
203
|
+
:'campaign_sample3' => :'String',
|
|
204
|
+
:'campaign_sample4' => :'String',
|
|
205
|
+
:'campaign_message_flow' => :'String',
|
|
206
|
+
:'campaign_optin_keywords' => :'String',
|
|
207
|
+
:'campaign_optin_message' => :'String',
|
|
208
|
+
:'campaign_optout_keywords' => :'String',
|
|
209
|
+
:'campaign_optout_message' => :'String',
|
|
210
|
+
:'campaign_help_keywords' => :'String',
|
|
211
|
+
:'campaign_help_message' => :'String',
|
|
212
|
+
:'campaign_embedded_link' => :'Boolean',
|
|
213
|
+
:'campaign_embedded_link_url' => :'String',
|
|
214
|
+
:'campaign_embedded_phone' => :'Boolean',
|
|
215
|
+
:'campaign_age_gated' => :'Boolean',
|
|
216
|
+
:'campaign_direct_lending' => :'Boolean',
|
|
217
|
+
:'campaign_privacy_policy_link' => :'String',
|
|
218
|
+
:'campaign_terms_and_conditions_link' => :'String',
|
|
219
|
+
:'campaign_usecase' => :'String',
|
|
220
|
+
:'scenario_id' => :'String',
|
|
221
|
+
:'business_type' => :'String',
|
|
222
|
+
:'legal_name' => :'String',
|
|
223
|
+
:'display_name' => :'String',
|
|
224
|
+
:'first_name' => :'String',
|
|
225
|
+
:'last_name' => :'String',
|
|
226
|
+
:'tax_id' => :'String',
|
|
227
|
+
:'website' => :'String',
|
|
228
|
+
:'country' => :'String',
|
|
229
|
+
:'street' => :'String',
|
|
230
|
+
:'city' => :'String',
|
|
231
|
+
:'state' => :'String',
|
|
232
|
+
:'postal_code' => :'String',
|
|
233
|
+
:'compliance_contact_email' => :'String',
|
|
234
|
+
:'compliance_contact_phone' => :'String'
|
|
235
|
+
}
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# List of attributes with nullable: true
|
|
239
|
+
def self.openapi_nullable
|
|
240
|
+
Set.new([
|
|
241
|
+
])
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Initializes the object
|
|
245
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
246
|
+
def initialize(attributes = {})
|
|
247
|
+
if (!attributes.is_a?(Hash))
|
|
248
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::SmsRegistrationCreateRequestA2p10dlc` initialize method"
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
252
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
253
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
254
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
255
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::SmsRegistrationCreateRequestA2p10dlc`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
256
|
+
end
|
|
257
|
+
h[k.to_sym] = v
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
if attributes.key?(:'campaign_description')
|
|
261
|
+
self.campaign_description = attributes[:'campaign_description']
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
if attributes.key?(:'campaign_sample1')
|
|
265
|
+
self.campaign_sample1 = attributes[:'campaign_sample1']
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
if attributes.key?(:'campaign_sample2')
|
|
269
|
+
self.campaign_sample2 = attributes[:'campaign_sample2']
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
if attributes.key?(:'campaign_sample3')
|
|
273
|
+
self.campaign_sample3 = attributes[:'campaign_sample3']
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
if attributes.key?(:'campaign_sample4')
|
|
277
|
+
self.campaign_sample4 = attributes[:'campaign_sample4']
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
if attributes.key?(:'campaign_message_flow')
|
|
281
|
+
self.campaign_message_flow = attributes[:'campaign_message_flow']
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
if attributes.key?(:'campaign_optin_keywords')
|
|
285
|
+
self.campaign_optin_keywords = attributes[:'campaign_optin_keywords']
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
if attributes.key?(:'campaign_optin_message')
|
|
289
|
+
self.campaign_optin_message = attributes[:'campaign_optin_message']
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
if attributes.key?(:'campaign_optout_keywords')
|
|
293
|
+
self.campaign_optout_keywords = attributes[:'campaign_optout_keywords']
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
if attributes.key?(:'campaign_optout_message')
|
|
297
|
+
self.campaign_optout_message = attributes[:'campaign_optout_message']
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
if attributes.key?(:'campaign_help_keywords')
|
|
301
|
+
self.campaign_help_keywords = attributes[:'campaign_help_keywords']
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
if attributes.key?(:'campaign_help_message')
|
|
305
|
+
self.campaign_help_message = attributes[:'campaign_help_message']
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
if attributes.key?(:'campaign_embedded_link')
|
|
309
|
+
self.campaign_embedded_link = attributes[:'campaign_embedded_link']
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
if attributes.key?(:'campaign_embedded_link_url')
|
|
313
|
+
self.campaign_embedded_link_url = attributes[:'campaign_embedded_link_url']
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
if attributes.key?(:'campaign_embedded_phone')
|
|
317
|
+
self.campaign_embedded_phone = attributes[:'campaign_embedded_phone']
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
if attributes.key?(:'campaign_age_gated')
|
|
321
|
+
self.campaign_age_gated = attributes[:'campaign_age_gated']
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
if attributes.key?(:'campaign_direct_lending')
|
|
325
|
+
self.campaign_direct_lending = attributes[:'campaign_direct_lending']
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
if attributes.key?(:'campaign_privacy_policy_link')
|
|
329
|
+
self.campaign_privacy_policy_link = attributes[:'campaign_privacy_policy_link']
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
if attributes.key?(:'campaign_terms_and_conditions_link')
|
|
333
|
+
self.campaign_terms_and_conditions_link = attributes[:'campaign_terms_and_conditions_link']
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
if attributes.key?(:'campaign_usecase')
|
|
337
|
+
self.campaign_usecase = attributes[:'campaign_usecase']
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
if attributes.key?(:'scenario_id')
|
|
341
|
+
self.scenario_id = attributes[:'scenario_id']
|
|
342
|
+
else
|
|
343
|
+
self.scenario_id = nil
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
if attributes.key?(:'business_type')
|
|
347
|
+
self.business_type = attributes[:'business_type']
|
|
348
|
+
else
|
|
349
|
+
self.business_type = nil
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
if attributes.key?(:'legal_name')
|
|
353
|
+
self.legal_name = attributes[:'legal_name']
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
if attributes.key?(:'display_name')
|
|
357
|
+
self.display_name = attributes[:'display_name']
|
|
358
|
+
else
|
|
359
|
+
self.display_name = nil
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
if attributes.key?(:'first_name')
|
|
363
|
+
self.first_name = attributes[:'first_name']
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
if attributes.key?(:'last_name')
|
|
367
|
+
self.last_name = attributes[:'last_name']
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
if attributes.key?(:'tax_id')
|
|
371
|
+
self.tax_id = attributes[:'tax_id']
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
if attributes.key?(:'website')
|
|
375
|
+
self.website = attributes[:'website']
|
|
376
|
+
else
|
|
377
|
+
self.website = nil
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
if attributes.key?(:'country')
|
|
381
|
+
self.country = attributes[:'country']
|
|
382
|
+
else
|
|
383
|
+
self.country = nil
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
if attributes.key?(:'street')
|
|
387
|
+
self.street = attributes[:'street']
|
|
388
|
+
else
|
|
389
|
+
self.street = nil
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
if attributes.key?(:'city')
|
|
393
|
+
self.city = attributes[:'city']
|
|
394
|
+
else
|
|
395
|
+
self.city = nil
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
if attributes.key?(:'state')
|
|
399
|
+
self.state = attributes[:'state']
|
|
400
|
+
else
|
|
401
|
+
self.state = nil
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
if attributes.key?(:'postal_code')
|
|
405
|
+
self.postal_code = attributes[:'postal_code']
|
|
406
|
+
else
|
|
407
|
+
self.postal_code = nil
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
if attributes.key?(:'compliance_contact_email')
|
|
411
|
+
self.compliance_contact_email = attributes[:'compliance_contact_email']
|
|
412
|
+
else
|
|
413
|
+
self.compliance_contact_email = nil
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
if attributes.key?(:'compliance_contact_phone')
|
|
417
|
+
self.compliance_contact_phone = attributes[:'compliance_contact_phone']
|
|
418
|
+
else
|
|
419
|
+
self.compliance_contact_phone = nil
|
|
420
|
+
end
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
424
|
+
# @return Array for valid properties with the reasons
|
|
425
|
+
def list_invalid_properties
|
|
426
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
427
|
+
invalid_properties = Array.new
|
|
428
|
+
if @scenario_id.nil?
|
|
429
|
+
invalid_properties.push('invalid value for "scenario_id", scenario_id cannot be nil.')
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
if @business_type.nil?
|
|
433
|
+
invalid_properties.push('invalid value for "business_type", business_type cannot be nil.')
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
if @display_name.nil?
|
|
437
|
+
invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
if @website.nil?
|
|
441
|
+
invalid_properties.push('invalid value for "website", website cannot be nil.')
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
if @country.nil?
|
|
445
|
+
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
if @street.nil?
|
|
449
|
+
invalid_properties.push('invalid value for "street", street cannot be nil.')
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
if @city.nil?
|
|
453
|
+
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
if @state.nil?
|
|
457
|
+
invalid_properties.push('invalid value for "state", state cannot be nil.')
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
if @postal_code.nil?
|
|
461
|
+
invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.')
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
if @compliance_contact_email.nil?
|
|
465
|
+
invalid_properties.push('invalid value for "compliance_contact_email", compliance_contact_email cannot be nil.')
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
if @compliance_contact_phone.nil?
|
|
469
|
+
invalid_properties.push('invalid value for "compliance_contact_phone", compliance_contact_phone cannot be nil.')
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
invalid_properties
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
# Check to see if the all the properties in the model are valid
|
|
476
|
+
# @return true if the model is valid
|
|
477
|
+
def valid?
|
|
478
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
479
|
+
return false if @scenario_id.nil?
|
|
480
|
+
scenario_id_validator = EnumAttributeValidator.new('String', ["own_brand", "client_brand"])
|
|
481
|
+
return false unless scenario_id_validator.valid?(@scenario_id)
|
|
482
|
+
return false if @business_type.nil?
|
|
483
|
+
business_type_validator = EnumAttributeValidator.new('String', ["PRIVATE_PROFIT", "SOLE_PROPRIETOR", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT"])
|
|
484
|
+
return false unless business_type_validator.valid?(@business_type)
|
|
485
|
+
return false if @display_name.nil?
|
|
486
|
+
return false if @website.nil?
|
|
487
|
+
return false if @country.nil?
|
|
488
|
+
return false if @street.nil?
|
|
489
|
+
return false if @city.nil?
|
|
490
|
+
return false if @state.nil?
|
|
491
|
+
return false if @postal_code.nil?
|
|
492
|
+
return false if @compliance_contact_email.nil?
|
|
493
|
+
return false if @compliance_contact_phone.nil?
|
|
494
|
+
true
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
498
|
+
# @param [Object] scenario_id Object to be assigned
|
|
499
|
+
def scenario_id=(scenario_id)
|
|
500
|
+
validator = EnumAttributeValidator.new('String', ["own_brand", "client_brand"])
|
|
501
|
+
unless validator.valid?(scenario_id)
|
|
502
|
+
fail ArgumentError, "invalid value for \"scenario_id\", must be one of #{validator.allowable_values}."
|
|
503
|
+
end
|
|
504
|
+
@scenario_id = scenario_id
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
508
|
+
# @param [Object] business_type Object to be assigned
|
|
509
|
+
def business_type=(business_type)
|
|
510
|
+
validator = EnumAttributeValidator.new('String', ["PRIVATE_PROFIT", "SOLE_PROPRIETOR", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT"])
|
|
511
|
+
unless validator.valid?(business_type)
|
|
512
|
+
fail ArgumentError, "invalid value for \"business_type\", must be one of #{validator.allowable_values}."
|
|
513
|
+
end
|
|
514
|
+
@business_type = business_type
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
# Custom attribute writer method with validation
|
|
518
|
+
# @param [Object] display_name Value to be assigned
|
|
519
|
+
def display_name=(display_name)
|
|
520
|
+
if display_name.nil?
|
|
521
|
+
fail ArgumentError, 'display_name cannot be nil'
|
|
522
|
+
end
|
|
523
|
+
|
|
524
|
+
@display_name = display_name
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# Custom attribute writer method with validation
|
|
528
|
+
# @param [Object] website Value to be assigned
|
|
529
|
+
def website=(website)
|
|
530
|
+
if website.nil?
|
|
531
|
+
fail ArgumentError, 'website cannot be nil'
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
@website = website
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
# Custom attribute writer method with validation
|
|
538
|
+
# @param [Object] country Value to be assigned
|
|
539
|
+
def country=(country)
|
|
540
|
+
if country.nil?
|
|
541
|
+
fail ArgumentError, 'country cannot be nil'
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
@country = country
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# Custom attribute writer method with validation
|
|
548
|
+
# @param [Object] street Value to be assigned
|
|
549
|
+
def street=(street)
|
|
550
|
+
if street.nil?
|
|
551
|
+
fail ArgumentError, 'street cannot be nil'
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
@street = street
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# Custom attribute writer method with validation
|
|
558
|
+
# @param [Object] city Value to be assigned
|
|
559
|
+
def city=(city)
|
|
560
|
+
if city.nil?
|
|
561
|
+
fail ArgumentError, 'city cannot be nil'
|
|
562
|
+
end
|
|
563
|
+
|
|
564
|
+
@city = city
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
# Custom attribute writer method with validation
|
|
568
|
+
# @param [Object] state Value to be assigned
|
|
569
|
+
def state=(state)
|
|
570
|
+
if state.nil?
|
|
571
|
+
fail ArgumentError, 'state cannot be nil'
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
@state = state
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Custom attribute writer method with validation
|
|
578
|
+
# @param [Object] postal_code Value to be assigned
|
|
579
|
+
def postal_code=(postal_code)
|
|
580
|
+
if postal_code.nil?
|
|
581
|
+
fail ArgumentError, 'postal_code cannot be nil'
|
|
582
|
+
end
|
|
583
|
+
|
|
584
|
+
@postal_code = postal_code
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# Custom attribute writer method with validation
|
|
588
|
+
# @param [Object] compliance_contact_email Value to be assigned
|
|
589
|
+
def compliance_contact_email=(compliance_contact_email)
|
|
590
|
+
if compliance_contact_email.nil?
|
|
591
|
+
fail ArgumentError, 'compliance_contact_email cannot be nil'
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
@compliance_contact_email = compliance_contact_email
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
# Custom attribute writer method with validation
|
|
598
|
+
# @param [Object] compliance_contact_phone Value to be assigned
|
|
599
|
+
def compliance_contact_phone=(compliance_contact_phone)
|
|
600
|
+
if compliance_contact_phone.nil?
|
|
601
|
+
fail ArgumentError, 'compliance_contact_phone cannot be nil'
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
@compliance_contact_phone = compliance_contact_phone
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
# Checks equality by comparing each attribute.
|
|
608
|
+
# @param [Object] Object to be compared
|
|
609
|
+
def ==(o)
|
|
610
|
+
return true if self.equal?(o)
|
|
611
|
+
self.class == o.class &&
|
|
612
|
+
campaign_description == o.campaign_description &&
|
|
613
|
+
campaign_sample1 == o.campaign_sample1 &&
|
|
614
|
+
campaign_sample2 == o.campaign_sample2 &&
|
|
615
|
+
campaign_sample3 == o.campaign_sample3 &&
|
|
616
|
+
campaign_sample4 == o.campaign_sample4 &&
|
|
617
|
+
campaign_message_flow == o.campaign_message_flow &&
|
|
618
|
+
campaign_optin_keywords == o.campaign_optin_keywords &&
|
|
619
|
+
campaign_optin_message == o.campaign_optin_message &&
|
|
620
|
+
campaign_optout_keywords == o.campaign_optout_keywords &&
|
|
621
|
+
campaign_optout_message == o.campaign_optout_message &&
|
|
622
|
+
campaign_help_keywords == o.campaign_help_keywords &&
|
|
623
|
+
campaign_help_message == o.campaign_help_message &&
|
|
624
|
+
campaign_embedded_link == o.campaign_embedded_link &&
|
|
625
|
+
campaign_embedded_link_url == o.campaign_embedded_link_url &&
|
|
626
|
+
campaign_embedded_phone == o.campaign_embedded_phone &&
|
|
627
|
+
campaign_age_gated == o.campaign_age_gated &&
|
|
628
|
+
campaign_direct_lending == o.campaign_direct_lending &&
|
|
629
|
+
campaign_privacy_policy_link == o.campaign_privacy_policy_link &&
|
|
630
|
+
campaign_terms_and_conditions_link == o.campaign_terms_and_conditions_link &&
|
|
631
|
+
campaign_usecase == o.campaign_usecase &&
|
|
632
|
+
scenario_id == o.scenario_id &&
|
|
633
|
+
business_type == o.business_type &&
|
|
634
|
+
legal_name == o.legal_name &&
|
|
635
|
+
display_name == o.display_name &&
|
|
636
|
+
first_name == o.first_name &&
|
|
637
|
+
last_name == o.last_name &&
|
|
638
|
+
tax_id == o.tax_id &&
|
|
639
|
+
website == o.website &&
|
|
640
|
+
country == o.country &&
|
|
641
|
+
street == o.street &&
|
|
642
|
+
city == o.city &&
|
|
643
|
+
state == o.state &&
|
|
644
|
+
postal_code == o.postal_code &&
|
|
645
|
+
compliance_contact_email == o.compliance_contact_email &&
|
|
646
|
+
compliance_contact_phone == o.compliance_contact_phone
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# @see the `==` method
|
|
650
|
+
# @param [Object] Object to be compared
|
|
651
|
+
def eql?(o)
|
|
652
|
+
self == o
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
# Calculates hash code according to all attributes.
|
|
656
|
+
# @return [Integer] Hash code
|
|
657
|
+
def hash
|
|
658
|
+
[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, scenario_id, business_type, legal_name, display_name, first_name, last_name, tax_id, website, country, street, city, state, postal_code, compliance_contact_email, compliance_contact_phone].hash
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
# Builds the object from hash
|
|
662
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
663
|
+
# @return [Object] Returns the model itself
|
|
664
|
+
def self.build_from_hash(attributes)
|
|
665
|
+
return nil unless attributes.is_a?(Hash)
|
|
666
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
667
|
+
transformed_hash = {}
|
|
668
|
+
openapi_types.each_pair do |key, type|
|
|
669
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
670
|
+
transformed_hash["#{key}"] = nil
|
|
671
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
672
|
+
# check to ensure the input is an array given that the attribute
|
|
673
|
+
# is documented as an array but the input is not
|
|
674
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
675
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
676
|
+
end
|
|
677
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
678
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
679
|
+
end
|
|
680
|
+
end
|
|
681
|
+
new(transformed_hash)
|
|
682
|
+
end
|
|
683
|
+
|
|
684
|
+
# Returns the object in the form of hash
|
|
685
|
+
# @return [Hash] Returns the object in the form of hash
|
|
686
|
+
def to_hash
|
|
687
|
+
hash = {}
|
|
688
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
689
|
+
value = self.send(attr)
|
|
690
|
+
if value.nil?
|
|
691
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
692
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
hash[param] = _to_hash(value)
|
|
696
|
+
end
|
|
697
|
+
hash
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
end
|