pingram 1.0.16 → 1.0.18
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 +2 -2
- data/lib/pingram/api/account_api.rb +95 -26
- data/lib/pingram/api/members_api.rb +10 -10
- data/lib/pingram/api/numbers_api.rb +2 -2
- data/lib/pingram/api/profile_api.rb +66 -0
- data/lib/pingram/api/voice_api.rb +733 -0
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +10 -10
- data/lib/pingram/models/account_get_response.rb +216 -29
- data/lib/pingram/models/api_error_body.rb +4 -24
- data/lib/pingram/models/auto_join_get_response.rb +16 -16
- data/lib/pingram/models/auto_join_post_response.rb +16 -16
- data/lib/pingram/models/billing_post_request_body.rb +2 -12
- data/lib/pingram/models/billing_post_response_body.rb +56 -68
- data/lib/pingram/models/bind_number_request.rb +164 -0
- data/lib/pingram/models/bind_number_response.rb +164 -0
- data/lib/pingram/models/bind_number_response_agent.rb +342 -0
- data/lib/pingram/models/bind_number_response_agent_spec.rb +376 -0
- data/lib/pingram/models/bind_number_response_agent_spec_compliance.rb +164 -0
- data/lib/pingram/models/bind_number_response_agent_spec_conversation.rb +328 -0
- data/lib/pingram/models/bind_number_response_agent_spec_inbound.rb +214 -0
- data/lib/pingram/models/bind_number_response_agent_spec_model.rb +105 -0
- data/lib/pingram/models/bind_number_response_agent_spec_outbound.rb +251 -0
- data/lib/pingram/models/bind_number_response_agent_spec_tools_inner.rb +107 -0
- data/lib/pingram/models/bind_number_response_agent_spec_variables_inner.rb +182 -0
- data/lib/pingram/models/brand_webhook_response.rb +165 -0
- data/lib/pingram/models/chained.rb +401 -0
- data/lib/pingram/models/channels_enum.rb +2 -1
- data/lib/pingram/models/create_voice_agent_request.rb +164 -0
- data/lib/pingram/models/create_voice_agent_response.rb +164 -0
- data/lib/pingram/models/custom.rb +278 -0
- data/lib/pingram/models/delete_account_request.rb +147 -0
- data/lib/pingram/models/delete_voice_agent_response.rb +164 -0
- data/lib/pingram/models/dtmf.rb +188 -0
- data/lib/pingram/models/get_members_response_inner.rb +1 -27
- data/lib/pingram/models/get_notifications_response_inner_options.rb +10 -1
- data/lib/pingram/models/get_senders_response_inner.rb +13 -4
- data/lib/pingram/models/get_senders_response_inner_verification_records.rb +184 -0
- data/lib/pingram/models/get_senders_response_inner_verification_records_dkim.rb +287 -0
- data/lib/pingram/models/get_usage_history_query.rb +1 -1
- data/lib/pingram/models/{organization_usage_history.rb → get_usage_history_response.rb} +5 -5
- data/lib/pingram/models/get_usage_history_response_items_inner.rb +192 -0
- data/lib/pingram/models/get_usage_history_response_items_inner_counts.rb +346 -0
- data/lib/pingram/models/{organization_usage.rb → get_usage_response.rb} +17 -163
- data/lib/pingram/models/get_usage_response_costs.rb +148 -0
- data/lib/pingram/models/get_usage_response_counts.rb +347 -0
- data/lib/pingram/models/get_voice_agent_response.rb +164 -0
- data/lib/pingram/models/get_voice_call_response.rb +164 -0
- data/lib/pingram/models/get_voice_call_response_call.rb +521 -0
- data/lib/pingram/models/{a2p_registration_update_request.rb → get_voice_call_response_call_cost.rb} +53 -80
- data/lib/pingram/models/get_voice_call_response_call_cost_lines_inner.rb +245 -0
- data/lib/pingram/models/get_voice_call_response_call_timeline_inner.rb +247 -0
- data/lib/pingram/models/get_voice_call_response_call_timeline_inner_latency.rb +191 -0
- data/lib/pingram/models/inbound_response_body_results_inner.rb +4 -4
- data/lib/pingram/models/knowledge.rb +216 -0
- data/lib/pingram/models/{create_organization_response.rb → knowledge_documents_inner.rb} +50 -49
- data/lib/pingram/models/list_phone_numbers_response_numbers_inner.rb +14 -4
- data/lib/pingram/models/list_voice_agents_response.rb +166 -0
- data/lib/pingram/models/list_voice_calls_response.rb +176 -0
- data/lib/pingram/models/list_voice_calls_response_calls_inner.rb +463 -0
- data/lib/pingram/models/logs_get_response_logs_inner.rb +4 -4
- data/lib/pingram/models/mcp.rb +223 -0
- data/lib/pingram/models/phone_verify_confirm_request.rb +16 -4
- data/lib/pingram/models/s2s.rb +295 -0
- data/lib/pingram/models/send_email_api_response_any_of1_error.rb +4 -24
- data/lib/pingram/models/send_email_request.rb +1 -1
- data/lib/pingram/models/send_sms_response_any_of1_error.rb +4 -24
- data/lib/pingram/models/sender_post_body_options_email.rb +5 -15
- data/lib/pingram/models/{a2p_registration_create_request.rb → ten_dlc_brand_create_request.rb} +56 -28
- data/lib/pingram/models/{a2p_registration.rb → ten_dlc_brand_registration.rb} +72 -22
- data/lib/pingram/models/ten_dlc_brand_registration_details.rb +599 -0
- data/lib/pingram/models/ten_dlc_brand_update_request.rb +338 -0
- data/lib/pingram/models/transfer.rb +251 -0
- data/lib/pingram/models/unbind_number_response.rb +164 -0
- data/lib/pingram/models/update_voice_agent_request.rb +164 -0
- data/lib/pingram/models/update_voice_agent_response.rb +164 -0
- data/lib/pingram/models/voice_browser_call_request.rb +186 -0
- data/lib/pingram/models/voice_browser_call_response.rb +216 -0
- data/lib/pingram/models/voice_call_request.rb +212 -0
- data/lib/pingram/models/voice_call_response.rb +217 -0
- data/lib/pingram/models/webhook_event.rb +2 -2
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +54 -9
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.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.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/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.4.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.11.1 → parser-3.3.12.0}/lib/parser/current.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.11.1.gemspec → parser-3.3.12.0.gemspec} +4 -4
- metadata +138 -93
- data/lib/pingram/api/organization_api.rb +0 -201
- data/lib/pingram/models/organization.rb +0 -442
- data/lib/pingram/models/organization_usage_history_items_inner.rb +0 -330
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.11.1.gem +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/macruby.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby31.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby32.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby33.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/ruby34.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/rubymotion.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.11.1 → parser-3.3.12.0}/parser.gemspec +0 -0
|
@@ -25,20 +25,12 @@ module Pingram
|
|
|
25
25
|
# Actionable hint for fixing the error.
|
|
26
26
|
attr_accessor :fix
|
|
27
27
|
|
|
28
|
-
# Provider that rejected the message (e.g. 'telnyx').
|
|
29
|
-
attr_accessor :provider
|
|
30
|
-
|
|
31
|
-
# Provider-specific error code.
|
|
32
|
-
attr_accessor :provider_code
|
|
33
|
-
|
|
34
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
29
|
def self.attribute_map
|
|
36
30
|
{
|
|
37
31
|
:'code' => :'code',
|
|
38
32
|
:'message' => :'message',
|
|
39
|
-
:'fix' => :'fix'
|
|
40
|
-
:'provider' => :'provider',
|
|
41
|
-
:'provider_code' => :'providerCode'
|
|
33
|
+
:'fix' => :'fix'
|
|
42
34
|
}
|
|
43
35
|
end
|
|
44
36
|
|
|
@@ -57,9 +49,7 @@ module Pingram
|
|
|
57
49
|
{
|
|
58
50
|
:'code' => :'String',
|
|
59
51
|
:'message' => :'String',
|
|
60
|
-
:'fix' => :'String'
|
|
61
|
-
:'provider' => :'String',
|
|
62
|
-
:'provider_code' => :'String'
|
|
52
|
+
:'fix' => :'String'
|
|
63
53
|
}
|
|
64
54
|
end
|
|
65
55
|
|
|
@@ -100,14 +90,6 @@ module Pingram
|
|
|
100
90
|
if attributes.key?(:'fix')
|
|
101
91
|
self.fix = attributes[:'fix']
|
|
102
92
|
end
|
|
103
|
-
|
|
104
|
-
if attributes.key?(:'provider')
|
|
105
|
-
self.provider = attributes[:'provider']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'provider_code')
|
|
109
|
-
self.provider_code = attributes[:'provider_code']
|
|
110
|
-
end
|
|
111
93
|
end
|
|
112
94
|
|
|
113
95
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -162,9 +144,7 @@ module Pingram
|
|
|
162
144
|
self.class == o.class &&
|
|
163
145
|
code == o.code &&
|
|
164
146
|
message == o.message &&
|
|
165
|
-
fix == o.fix
|
|
166
|
-
provider == o.provider &&
|
|
167
|
-
provider_code == o.provider_code
|
|
147
|
+
fix == o.fix
|
|
168
148
|
end
|
|
169
149
|
|
|
170
150
|
# @see the `==` method
|
|
@@ -176,7 +156,7 @@ module Pingram
|
|
|
176
156
|
# Calculates hash code according to all attributes.
|
|
177
157
|
# @return [Integer] Hash code
|
|
178
158
|
def hash
|
|
179
|
-
[code, message, fix
|
|
159
|
+
[code, message, fix].hash
|
|
180
160
|
end
|
|
181
161
|
|
|
182
162
|
# Builds the object from hash
|
|
@@ -31,12 +31,9 @@ module Pingram
|
|
|
31
31
|
# Override sender display name.
|
|
32
32
|
attr_accessor :from_name
|
|
33
33
|
|
|
34
|
-
# File attachments (by URL or inline base64 content).
|
|
34
|
+
# File attachments (by URL or inline base64 content). Inline `content`: ~4 MB raw per file (413 if exceeded). URL `url`: up to 20 MB per file.
|
|
35
35
|
attr_accessor :attachments
|
|
36
36
|
|
|
37
|
-
# Conditional expression for when to send (e.g. merge tag logic).
|
|
38
|
-
attr_accessor :condition
|
|
39
|
-
|
|
40
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
38
|
def self.attribute_map
|
|
42
39
|
{
|
|
@@ -45,8 +42,7 @@ module Pingram
|
|
|
45
42
|
:'bcc_addresses' => :'bccAddresses',
|
|
46
43
|
:'from_address' => :'fromAddress',
|
|
47
44
|
:'from_name' => :'fromName',
|
|
48
|
-
:'attachments' => :'attachments'
|
|
49
|
-
:'condition' => :'condition'
|
|
45
|
+
:'attachments' => :'attachments'
|
|
50
46
|
}
|
|
51
47
|
end
|
|
52
48
|
|
|
@@ -68,8 +64,7 @@ module Pingram
|
|
|
68
64
|
:'bcc_addresses' => :'Array<String>',
|
|
69
65
|
:'from_address' => :'String',
|
|
70
66
|
:'from_name' => :'String',
|
|
71
|
-
:'attachments' => :'Array<SenderPostBodyOptionsEmailAttachmentsInner>'
|
|
72
|
-
:'condition' => :'String'
|
|
67
|
+
:'attachments' => :'Array<SenderPostBodyOptionsEmailAttachmentsInner>'
|
|
73
68
|
}
|
|
74
69
|
end
|
|
75
70
|
|
|
@@ -126,10 +121,6 @@ module Pingram
|
|
|
126
121
|
self.attachments = value
|
|
127
122
|
end
|
|
128
123
|
end
|
|
129
|
-
|
|
130
|
-
if attributes.key?(:'condition')
|
|
131
|
-
self.condition = attributes[:'condition']
|
|
132
|
-
end
|
|
133
124
|
end
|
|
134
125
|
|
|
135
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -157,8 +148,7 @@ module Pingram
|
|
|
157
148
|
bcc_addresses == o.bcc_addresses &&
|
|
158
149
|
from_address == o.from_address &&
|
|
159
150
|
from_name == o.from_name &&
|
|
160
|
-
attachments == o.attachments
|
|
161
|
-
condition == o.condition
|
|
151
|
+
attachments == o.attachments
|
|
162
152
|
end
|
|
163
153
|
|
|
164
154
|
# @see the `==` method
|
|
@@ -170,7 +160,7 @@ module Pingram
|
|
|
170
160
|
# Calculates hash code according to all attributes.
|
|
171
161
|
# @return [Integer] Hash code
|
|
172
162
|
def hash
|
|
173
|
-
[reply_to_addresses, cc_addresses, bcc_addresses, from_address, from_name, attachments
|
|
163
|
+
[reply_to_addresses, cc_addresses, bcc_addresses, from_address, from_name, attachments].hash
|
|
174
164
|
end
|
|
175
165
|
|
|
176
166
|
# Builds the object from hash
|
data/lib/pingram/models/{a2p_registration_create_request.rb → ten_dlc_brand_create_request.rb}
RENAMED
|
@@ -14,21 +14,31 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Pingram
|
|
17
|
-
# Request body for POST /registrations/
|
|
18
|
-
class
|
|
17
|
+
# Request body for POST /registrations/us/10dlc/brand
|
|
18
|
+
class TenDlcBrandCreateRequest < ApiModelBase
|
|
19
19
|
attr_accessor :scenario_id
|
|
20
20
|
|
|
21
21
|
attr_accessor :business_type
|
|
22
22
|
|
|
23
23
|
attr_accessor :legal_name
|
|
24
24
|
|
|
25
|
+
attr_accessor :first_name
|
|
26
|
+
|
|
27
|
+
attr_accessor :last_name
|
|
28
|
+
|
|
25
29
|
attr_accessor :tax_id
|
|
26
30
|
|
|
27
31
|
attr_accessor :website
|
|
28
32
|
|
|
29
33
|
attr_accessor :country
|
|
30
34
|
|
|
31
|
-
attr_accessor :
|
|
35
|
+
attr_accessor :street
|
|
36
|
+
|
|
37
|
+
attr_accessor :city
|
|
38
|
+
|
|
39
|
+
attr_accessor :state
|
|
40
|
+
|
|
41
|
+
attr_accessor :postal_code
|
|
32
42
|
|
|
33
43
|
attr_accessor :compliance_contact_email
|
|
34
44
|
|
|
@@ -40,10 +50,15 @@ module Pingram
|
|
|
40
50
|
:'scenario_id' => :'scenarioId',
|
|
41
51
|
:'business_type' => :'businessType',
|
|
42
52
|
:'legal_name' => :'legalName',
|
|
53
|
+
:'first_name' => :'firstName',
|
|
54
|
+
:'last_name' => :'lastName',
|
|
43
55
|
:'tax_id' => :'taxId',
|
|
44
56
|
:'website' => :'website',
|
|
45
57
|
:'country' => :'country',
|
|
46
|
-
:'
|
|
58
|
+
:'street' => :'street',
|
|
59
|
+
:'city' => :'city',
|
|
60
|
+
:'state' => :'state',
|
|
61
|
+
:'postal_code' => :'postalCode',
|
|
47
62
|
:'compliance_contact_email' => :'complianceContactEmail',
|
|
48
63
|
:'compliance_contact_phone' => :'complianceContactPhone'
|
|
49
64
|
}
|
|
@@ -65,10 +80,15 @@ module Pingram
|
|
|
65
80
|
:'scenario_id' => :'String',
|
|
66
81
|
:'business_type' => :'String',
|
|
67
82
|
:'legal_name' => :'String',
|
|
83
|
+
:'first_name' => :'String',
|
|
84
|
+
:'last_name' => :'String',
|
|
68
85
|
:'tax_id' => :'String',
|
|
69
86
|
:'website' => :'String',
|
|
70
87
|
:'country' => :'String',
|
|
71
|
-
:'
|
|
88
|
+
:'street' => :'String',
|
|
89
|
+
:'city' => :'String',
|
|
90
|
+
:'state' => :'String',
|
|
91
|
+
:'postal_code' => :'String',
|
|
72
92
|
:'compliance_contact_email' => :'String',
|
|
73
93
|
:'compliance_contact_phone' => :'String'
|
|
74
94
|
}
|
|
@@ -84,14 +104,14 @@ module Pingram
|
|
|
84
104
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
85
105
|
def initialize(attributes = {})
|
|
86
106
|
if (!attributes.is_a?(Hash))
|
|
87
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::
|
|
107
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::TenDlcBrandCreateRequest` initialize method"
|
|
88
108
|
end
|
|
89
109
|
|
|
90
110
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
91
111
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
92
112
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
93
113
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
94
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::
|
|
114
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::TenDlcBrandCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
95
115
|
end
|
|
96
116
|
h[k.to_sym] = v
|
|
97
117
|
}
|
|
@@ -114,6 +134,14 @@ module Pingram
|
|
|
114
134
|
self.legal_name = nil
|
|
115
135
|
end
|
|
116
136
|
|
|
137
|
+
if attributes.key?(:'first_name')
|
|
138
|
+
self.first_name = attributes[:'first_name']
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'last_name')
|
|
142
|
+
self.last_name = attributes[:'last_name']
|
|
143
|
+
end
|
|
144
|
+
|
|
117
145
|
if attributes.key?(:'tax_id')
|
|
118
146
|
self.tax_id = attributes[:'tax_id']
|
|
119
147
|
end
|
|
@@ -130,10 +158,20 @@ module Pingram
|
|
|
130
158
|
self.country = nil
|
|
131
159
|
end
|
|
132
160
|
|
|
133
|
-
if attributes.key?(:'
|
|
134
|
-
self.
|
|
135
|
-
|
|
136
|
-
|
|
161
|
+
if attributes.key?(:'street')
|
|
162
|
+
self.street = attributes[:'street']
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
if attributes.key?(:'city')
|
|
166
|
+
self.city = attributes[:'city']
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if attributes.key?(:'state')
|
|
170
|
+
self.state = attributes[:'state']
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if attributes.key?(:'postal_code')
|
|
174
|
+
self.postal_code = attributes[:'postal_code']
|
|
137
175
|
end
|
|
138
176
|
|
|
139
177
|
if attributes.key?(:'compliance_contact_email')
|
|
@@ -174,10 +212,6 @@ module Pingram
|
|
|
174
212
|
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
175
213
|
end
|
|
176
214
|
|
|
177
|
-
if @full_address.nil?
|
|
178
|
-
invalid_properties.push('invalid value for "full_address", full_address cannot be nil.')
|
|
179
|
-
end
|
|
180
|
-
|
|
181
215
|
if @compliance_contact_email.nil?
|
|
182
216
|
invalid_properties.push('invalid value for "compliance_contact_email", compliance_contact_email cannot be nil.')
|
|
183
217
|
end
|
|
@@ -198,7 +232,6 @@ module Pingram
|
|
|
198
232
|
return false if @legal_name.nil?
|
|
199
233
|
return false if @website.nil?
|
|
200
234
|
return false if @country.nil?
|
|
201
|
-
return false if @full_address.nil?
|
|
202
235
|
return false if @compliance_contact_email.nil?
|
|
203
236
|
return false if @compliance_contact_phone.nil?
|
|
204
237
|
true
|
|
@@ -254,16 +287,6 @@ module Pingram
|
|
|
254
287
|
@country = country
|
|
255
288
|
end
|
|
256
289
|
|
|
257
|
-
# Custom attribute writer method with validation
|
|
258
|
-
# @param [Object] full_address Value to be assigned
|
|
259
|
-
def full_address=(full_address)
|
|
260
|
-
if full_address.nil?
|
|
261
|
-
fail ArgumentError, 'full_address cannot be nil'
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
@full_address = full_address
|
|
265
|
-
end
|
|
266
|
-
|
|
267
290
|
# Custom attribute writer method with validation
|
|
268
291
|
# @param [Object] compliance_contact_email Value to be assigned
|
|
269
292
|
def compliance_contact_email=(compliance_contact_email)
|
|
@@ -292,10 +315,15 @@ module Pingram
|
|
|
292
315
|
scenario_id == o.scenario_id &&
|
|
293
316
|
business_type == o.business_type &&
|
|
294
317
|
legal_name == o.legal_name &&
|
|
318
|
+
first_name == o.first_name &&
|
|
319
|
+
last_name == o.last_name &&
|
|
295
320
|
tax_id == o.tax_id &&
|
|
296
321
|
website == o.website &&
|
|
297
322
|
country == o.country &&
|
|
298
|
-
|
|
323
|
+
street == o.street &&
|
|
324
|
+
city == o.city &&
|
|
325
|
+
state == o.state &&
|
|
326
|
+
postal_code == o.postal_code &&
|
|
299
327
|
compliance_contact_email == o.compliance_contact_email &&
|
|
300
328
|
compliance_contact_phone == o.compliance_contact_phone
|
|
301
329
|
end
|
|
@@ -309,7 +337,7 @@ module Pingram
|
|
|
309
337
|
# Calculates hash code according to all attributes.
|
|
310
338
|
# @return [Integer] Hash code
|
|
311
339
|
def hash
|
|
312
|
-
[scenario_id, business_type, legal_name, tax_id, website, country,
|
|
340
|
+
[scenario_id, business_type, legal_name, first_name, last_name, tax_id, website, country, street, city, state, postal_code, compliance_contact_email, compliance_contact_phone].hash
|
|
313
341
|
end
|
|
314
342
|
|
|
315
343
|
# Builds the object from hash
|
|
@@ -14,8 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Pingram
|
|
17
|
-
# Public response type for
|
|
18
|
-
class
|
|
17
|
+
# Public response type for 10DLC brand registration
|
|
18
|
+
class TenDlcBrandRegistration < ApiModelBase
|
|
19
19
|
attr_accessor :account_id
|
|
20
20
|
|
|
21
21
|
attr_accessor :scenario_id
|
|
@@ -24,20 +24,38 @@ module Pingram
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :legal_name
|
|
26
26
|
|
|
27
|
+
# Brand display name (marketing/DBA); defaults to legalName on customer submit.
|
|
28
|
+
attr_accessor :display_name
|
|
29
|
+
|
|
30
|
+
attr_accessor :first_name
|
|
31
|
+
|
|
32
|
+
attr_accessor :last_name
|
|
33
|
+
|
|
27
34
|
attr_accessor :tax_id
|
|
28
35
|
|
|
29
36
|
attr_accessor :website
|
|
30
37
|
|
|
31
38
|
attr_accessor :country
|
|
32
39
|
|
|
40
|
+
attr_accessor :street
|
|
41
|
+
|
|
42
|
+
attr_accessor :city
|
|
43
|
+
|
|
44
|
+
attr_accessor :state
|
|
45
|
+
|
|
46
|
+
attr_accessor :postal_code
|
|
47
|
+
|
|
48
|
+
# Legacy records only; new submissions use structured address fields.
|
|
33
49
|
attr_accessor :full_address
|
|
34
50
|
|
|
35
51
|
attr_accessor :compliance_contact_email
|
|
36
52
|
|
|
37
53
|
attr_accessor :compliance_contact_phone
|
|
38
54
|
|
|
55
|
+
# Pingram-side brand registration workflow status. - 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
|
|
39
56
|
attr_accessor :brand_status
|
|
40
57
|
|
|
58
|
+
# Pingram-side brand registration workflow status. - 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
|
|
41
59
|
attr_accessor :campaign_status
|
|
42
60
|
|
|
43
61
|
attr_accessor :created_at
|
|
@@ -73,9 +91,16 @@ module Pingram
|
|
|
73
91
|
:'scenario_id' => :'scenarioId',
|
|
74
92
|
:'business_type' => :'businessType',
|
|
75
93
|
:'legal_name' => :'legalName',
|
|
94
|
+
:'display_name' => :'displayName',
|
|
95
|
+
:'first_name' => :'firstName',
|
|
96
|
+
:'last_name' => :'lastName',
|
|
76
97
|
:'tax_id' => :'taxId',
|
|
77
98
|
:'website' => :'website',
|
|
78
99
|
:'country' => :'country',
|
|
100
|
+
:'street' => :'street',
|
|
101
|
+
:'city' => :'city',
|
|
102
|
+
:'state' => :'state',
|
|
103
|
+
:'postal_code' => :'postalCode',
|
|
79
104
|
:'full_address' => :'fullAddress',
|
|
80
105
|
:'compliance_contact_email' => :'complianceContactEmail',
|
|
81
106
|
:'compliance_contact_phone' => :'complianceContactPhone',
|
|
@@ -103,9 +128,16 @@ module Pingram
|
|
|
103
128
|
:'scenario_id' => :'String',
|
|
104
129
|
:'business_type' => :'String',
|
|
105
130
|
:'legal_name' => :'String',
|
|
131
|
+
:'display_name' => :'String',
|
|
132
|
+
:'first_name' => :'String',
|
|
133
|
+
:'last_name' => :'String',
|
|
106
134
|
:'tax_id' => :'String',
|
|
107
135
|
:'website' => :'String',
|
|
108
136
|
:'country' => :'String',
|
|
137
|
+
:'street' => :'String',
|
|
138
|
+
:'city' => :'String',
|
|
139
|
+
:'state' => :'String',
|
|
140
|
+
:'postal_code' => :'String',
|
|
109
141
|
:'full_address' => :'String',
|
|
110
142
|
:'compliance_contact_email' => :'String',
|
|
111
143
|
:'compliance_contact_phone' => :'String',
|
|
@@ -126,14 +158,14 @@ module Pingram
|
|
|
126
158
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
127
159
|
def initialize(attributes = {})
|
|
128
160
|
if (!attributes.is_a?(Hash))
|
|
129
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::
|
|
161
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::TenDlcBrandRegistration` initialize method"
|
|
130
162
|
end
|
|
131
163
|
|
|
132
164
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
133
165
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
134
166
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
135
167
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
136
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::
|
|
168
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::TenDlcBrandRegistration`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
137
169
|
end
|
|
138
170
|
h[k.to_sym] = v
|
|
139
171
|
}
|
|
@@ -162,6 +194,18 @@ module Pingram
|
|
|
162
194
|
self.legal_name = nil
|
|
163
195
|
end
|
|
164
196
|
|
|
197
|
+
if attributes.key?(:'display_name')
|
|
198
|
+
self.display_name = attributes[:'display_name']
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
if attributes.key?(:'first_name')
|
|
202
|
+
self.first_name = attributes[:'first_name']
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'last_name')
|
|
206
|
+
self.last_name = attributes[:'last_name']
|
|
207
|
+
end
|
|
208
|
+
|
|
165
209
|
if attributes.key?(:'tax_id')
|
|
166
210
|
self.tax_id = attributes[:'tax_id']
|
|
167
211
|
end
|
|
@@ -178,10 +222,24 @@ module Pingram
|
|
|
178
222
|
self.country = nil
|
|
179
223
|
end
|
|
180
224
|
|
|
225
|
+
if attributes.key?(:'street')
|
|
226
|
+
self.street = attributes[:'street']
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
if attributes.key?(:'city')
|
|
230
|
+
self.city = attributes[:'city']
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'state')
|
|
234
|
+
self.state = attributes[:'state']
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
if attributes.key?(:'postal_code')
|
|
238
|
+
self.postal_code = attributes[:'postal_code']
|
|
239
|
+
end
|
|
240
|
+
|
|
181
241
|
if attributes.key?(:'full_address')
|
|
182
242
|
self.full_address = attributes[:'full_address']
|
|
183
|
-
else
|
|
184
|
-
self.full_address = nil
|
|
185
243
|
end
|
|
186
244
|
|
|
187
245
|
if attributes.key?(:'compliance_contact_email')
|
|
@@ -250,10 +308,6 @@ module Pingram
|
|
|
250
308
|
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
251
309
|
end
|
|
252
310
|
|
|
253
|
-
if @full_address.nil?
|
|
254
|
-
invalid_properties.push('invalid value for "full_address", full_address cannot be nil.')
|
|
255
|
-
end
|
|
256
|
-
|
|
257
311
|
if @compliance_contact_email.nil?
|
|
258
312
|
invalid_properties.push('invalid value for "compliance_contact_email", compliance_contact_email cannot be nil.')
|
|
259
313
|
end
|
|
@@ -291,7 +345,6 @@ module Pingram
|
|
|
291
345
|
return false if @legal_name.nil?
|
|
292
346
|
return false if @website.nil?
|
|
293
347
|
return false if @country.nil?
|
|
294
|
-
return false if @full_address.nil?
|
|
295
348
|
return false if @compliance_contact_email.nil?
|
|
296
349
|
return false if @compliance_contact_phone.nil?
|
|
297
350
|
return false if @brand_status.nil?
|
|
@@ -365,16 +418,6 @@ module Pingram
|
|
|
365
418
|
@country = country
|
|
366
419
|
end
|
|
367
420
|
|
|
368
|
-
# Custom attribute writer method with validation
|
|
369
|
-
# @param [Object] full_address Value to be assigned
|
|
370
|
-
def full_address=(full_address)
|
|
371
|
-
if full_address.nil?
|
|
372
|
-
fail ArgumentError, 'full_address cannot be nil'
|
|
373
|
-
end
|
|
374
|
-
|
|
375
|
-
@full_address = full_address
|
|
376
|
-
end
|
|
377
|
-
|
|
378
421
|
# Custom attribute writer method with validation
|
|
379
422
|
# @param [Object] compliance_contact_email Value to be assigned
|
|
380
423
|
def compliance_contact_email=(compliance_contact_email)
|
|
@@ -444,9 +487,16 @@ module Pingram
|
|
|
444
487
|
scenario_id == o.scenario_id &&
|
|
445
488
|
business_type == o.business_type &&
|
|
446
489
|
legal_name == o.legal_name &&
|
|
490
|
+
display_name == o.display_name &&
|
|
491
|
+
first_name == o.first_name &&
|
|
492
|
+
last_name == o.last_name &&
|
|
447
493
|
tax_id == o.tax_id &&
|
|
448
494
|
website == o.website &&
|
|
449
495
|
country == o.country &&
|
|
496
|
+
street == o.street &&
|
|
497
|
+
city == o.city &&
|
|
498
|
+
state == o.state &&
|
|
499
|
+
postal_code == o.postal_code &&
|
|
450
500
|
full_address == o.full_address &&
|
|
451
501
|
compliance_contact_email == o.compliance_contact_email &&
|
|
452
502
|
compliance_contact_phone == o.compliance_contact_phone &&
|
|
@@ -465,7 +515,7 @@ module Pingram
|
|
|
465
515
|
# Calculates hash code according to all attributes.
|
|
466
516
|
# @return [Integer] Hash code
|
|
467
517
|
def hash
|
|
468
|
-
[account_id, scenario_id, business_type, legal_name, tax_id, website, country, full_address, compliance_contact_email, compliance_contact_phone, brand_status, campaign_status, created_at, updated_at].hash
|
|
518
|
+
[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
|
|
469
519
|
end
|
|
470
520
|
|
|
471
521
|
# Builds the object from hash
|