pingram 1.0.19 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/lib/pingram/api/account_api.rb +70 -66
  4. data/lib/pingram/api/email_api.rb +61 -0
  5. data/lib/pingram/api/members_api.rb +2 -2
  6. data/lib/pingram/api_client.rb +1 -1
  7. data/lib/pingram/client_wrapper.rb +0 -10
  8. data/lib/pingram/models/{push_settings_fcm_response.rb → campaign_webhook_response.rb} +20 -19
  9. data/lib/pingram/models/create_account_request.rb +150 -0
  10. data/lib/pingram/models/create_account_response.rb +30 -30
  11. data/lib/pingram/models/{create_account_request_body.rb → create_personal_access_token_request.rb} +18 -7
  12. data/lib/pingram/models/create_personal_access_token_response.rb +313 -0
  13. data/lib/pingram/models/{apn_config.rb → delete_email_suppressions_response.rb} +36 -86
  14. data/lib/pingram/models/get_members_response_inner.rb +29 -1
  15. data/lib/pingram/models/intercom_webhook_data_item_any_of.rb +1 -0
  16. data/lib/pingram/models/list_invoices_response.rb +194 -0
  17. data/lib/pingram/models/list_invoices_response_invoices_inner.rb +389 -0
  18. data/lib/pingram/models/{push_settings_fcm_put_request.rb → list_personal_access_tokens_response.rb} +21 -19
  19. data/lib/pingram/models/list_personal_access_tokens_response_tokens_inner.rb +287 -0
  20. data/lib/pingram/models/member_update_request.rb +1 -0
  21. data/lib/pingram/models/sender_post_body.rb +1 -11
  22. data/lib/pingram/models/ten_dlc_brand_registration_details.rb +14 -14
  23. data/lib/pingram/models/ten_dlc_campaign_registration_details.rb +457 -0
  24. data/lib/pingram/models/ten_dlc_campaign_update_request.rb +363 -0
  25. data/lib/pingram/version.rb +1 -1
  26. data/lib/pingram.rb +11 -5
  27. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.2.gem +0 -0
  28. data/vendor/bundle/ruby/3.2.0/cache/reline-0.7.0.gem +0 -0
  29. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  30. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
  31. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.8.2 → io-console-0.9.2}/gem_make.out +15 -14
  32. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/io/console.so +0 -0
  33. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.8.2 → io-console-0.9.2}/mkmf.log +112 -109
  34. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  35. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/gem_make.out +5 -5
  36. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  37. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  38. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/Makefile +1 -1
  39. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/console.c +521 -28
  40. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/extconf.rb +13 -14
  41. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/ext/io/console/win32_vk.inc +313 -165
  42. data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
  43. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/ansi.rb +6 -4
  44. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/windows.rb +49 -23
  45. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io.rb +8 -2
  46. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/line_editor.rb +49 -21
  47. data/vendor/bundle/ruby/3.2.0/gems/reline-0.7.0/lib/reline/version.rb +3 -0
  48. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline.rb +10 -9
  49. data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.8.2.gemspec → io-console-0.9.2.gemspec} +3 -3
  50. data/vendor/bundle/ruby/3.2.0/specifications/{reline-0.6.3.gemspec → reline-0.7.0.gemspec} +2 -2
  51. metadata +55 -49
  52. data/lib/pingram/api/push_settings_api.rb +0 -374
  53. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.8.2.gem +0 -0
  54. data/vendor/bundle/ruby/3.2.0/cache/reline-0.6.3.gem +0 -0
  55. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/io/console.so +0 -0
  56. data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/lib/io/console.so +0 -0
  57. data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/version.rb +0 -3
  58. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.8.2 → io-console-0.9.2}/gem.build_complete +0 -0
  59. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/.document +0 -0
  60. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/BSDL +0 -0
  61. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/COPYING +0 -0
  62. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/README.md +0 -0
  63. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.8.2 → io-console-0.9.2}/lib/io/console/size.rb +0 -0
  64. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/BSDL +0 -0
  65. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/COPYING +0 -0
  66. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/README.md +0 -0
  67. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/config.rb +0 -0
  68. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/face.rb +0 -0
  69. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/history.rb +0 -0
  70. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/io/dumb.rb +0 -0
  71. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/base.rb +0 -0
  72. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/composite.rb +0 -0
  73. data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/emacs.rb +2 -2
  74. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/vi_command.rb +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor/vi_insert.rb +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_actor.rb +0 -0
  77. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/key_stroke.rb +0 -0
  78. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/kill_ring.rb +0 -0
  79. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/unicode/east_asian_width.rb +0 -0
  80. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/lib/reline/unicode.rb +0 -0
  81. /data/vendor/bundle/ruby/3.2.0/gems/{reline-0.6.3 → reline-0.7.0}/license_of_rb-readline +0 -0
@@ -0,0 +1,287 @@
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
+ # Public metadata returned by list/create (no tokenHash).
18
+ class ListPersonalAccessTokensResponseTokensInner < ApiModelBase
19
+ attr_accessor :id
20
+
21
+ attr_accessor :name
22
+
23
+ attr_accessor :token_prefix
24
+
25
+ attr_accessor :created_at
26
+
27
+ attr_accessor :expires_at
28
+
29
+ attr_accessor :last_used_at
30
+
31
+ attr_accessor :revoked
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'id' => :'id',
37
+ :'name' => :'name',
38
+ :'token_prefix' => :'tokenPrefix',
39
+ :'created_at' => :'createdAt',
40
+ :'expires_at' => :'expiresAt',
41
+ :'last_used_at' => :'lastUsedAt',
42
+ :'revoked' => :'revoked'
43
+ }
44
+ end
45
+
46
+ # Returns attribute mapping this model knows about
47
+ def self.acceptable_attribute_map
48
+ attribute_map
49
+ end
50
+
51
+ # Returns all the JSON keys this model knows about
52
+ def self.acceptable_attributes
53
+ acceptable_attribute_map.values
54
+ end
55
+
56
+ # Attribute type mapping.
57
+ def self.openapi_types
58
+ {
59
+ :'id' => :'String',
60
+ :'name' => :'String',
61
+ :'token_prefix' => :'String',
62
+ :'created_at' => :'String',
63
+ :'expires_at' => :'String',
64
+ :'last_used_at' => :'String',
65
+ :'revoked' => :'Boolean'
66
+ }
67
+ end
68
+
69
+ # List of attributes with nullable: true
70
+ def self.openapi_nullable
71
+ Set.new([
72
+ ])
73
+ end
74
+
75
+ # Initializes the object
76
+ # @param [Hash] attributes Model attributes in the form of hash
77
+ def initialize(attributes = {})
78
+ if (!attributes.is_a?(Hash))
79
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::ListPersonalAccessTokensResponseTokensInner` initialize method"
80
+ end
81
+
82
+ # check to see if the attribute exists and convert string to symbol for hash key
83
+ acceptable_attribute_map = self.class.acceptable_attribute_map
84
+ attributes = attributes.each_with_object({}) { |(k, v), h|
85
+ if (!acceptable_attribute_map.key?(k.to_sym))
86
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::ListPersonalAccessTokensResponseTokensInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
87
+ end
88
+ h[k.to_sym] = v
89
+ }
90
+
91
+ if attributes.key?(:'id')
92
+ self.id = attributes[:'id']
93
+ else
94
+ self.id = nil
95
+ end
96
+
97
+ if attributes.key?(:'name')
98
+ self.name = attributes[:'name']
99
+ else
100
+ self.name = nil
101
+ end
102
+
103
+ if attributes.key?(:'token_prefix')
104
+ self.token_prefix = attributes[:'token_prefix']
105
+ else
106
+ self.token_prefix = nil
107
+ end
108
+
109
+ if attributes.key?(:'created_at')
110
+ self.created_at = attributes[:'created_at']
111
+ else
112
+ self.created_at = nil
113
+ end
114
+
115
+ if attributes.key?(:'expires_at')
116
+ self.expires_at = attributes[:'expires_at']
117
+ end
118
+
119
+ if attributes.key?(:'last_used_at')
120
+ self.last_used_at = attributes[:'last_used_at']
121
+ end
122
+
123
+ if attributes.key?(:'revoked')
124
+ self.revoked = attributes[:'revoked']
125
+ else
126
+ self.revoked = nil
127
+ end
128
+ end
129
+
130
+ # Show invalid properties with the reasons. Usually used together with valid?
131
+ # @return Array for valid properties with the reasons
132
+ def list_invalid_properties
133
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
134
+ invalid_properties = Array.new
135
+ if @id.nil?
136
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
137
+ end
138
+
139
+ if @name.nil?
140
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
141
+ end
142
+
143
+ if @token_prefix.nil?
144
+ invalid_properties.push('invalid value for "token_prefix", token_prefix cannot be nil.')
145
+ end
146
+
147
+ if @created_at.nil?
148
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
149
+ end
150
+
151
+ if @revoked.nil?
152
+ invalid_properties.push('invalid value for "revoked", revoked cannot be nil.')
153
+ end
154
+
155
+ invalid_properties
156
+ end
157
+
158
+ # Check to see if the all the properties in the model are valid
159
+ # @return true if the model is valid
160
+ def valid?
161
+ warn '[DEPRECATED] the `valid?` method is obsolete'
162
+ return false if @id.nil?
163
+ return false if @name.nil?
164
+ return false if @token_prefix.nil?
165
+ return false if @created_at.nil?
166
+ return false if @revoked.nil?
167
+ true
168
+ end
169
+
170
+ # Custom attribute writer method with validation
171
+ # @param [Object] id Value to be assigned
172
+ def id=(id)
173
+ if id.nil?
174
+ fail ArgumentError, 'id cannot be nil'
175
+ end
176
+
177
+ @id = id
178
+ end
179
+
180
+ # Custom attribute writer method with validation
181
+ # @param [Object] name Value to be assigned
182
+ def name=(name)
183
+ if name.nil?
184
+ fail ArgumentError, 'name cannot be nil'
185
+ end
186
+
187
+ @name = name
188
+ end
189
+
190
+ # Custom attribute writer method with validation
191
+ # @param [Object] token_prefix Value to be assigned
192
+ def token_prefix=(token_prefix)
193
+ if token_prefix.nil?
194
+ fail ArgumentError, 'token_prefix cannot be nil'
195
+ end
196
+
197
+ @token_prefix = token_prefix
198
+ end
199
+
200
+ # Custom attribute writer method with validation
201
+ # @param [Object] created_at Value to be assigned
202
+ def created_at=(created_at)
203
+ if created_at.nil?
204
+ fail ArgumentError, 'created_at cannot be nil'
205
+ end
206
+
207
+ @created_at = created_at
208
+ end
209
+
210
+ # Custom attribute writer method with validation
211
+ # @param [Object] revoked Value to be assigned
212
+ def revoked=(revoked)
213
+ if revoked.nil?
214
+ fail ArgumentError, 'revoked cannot be nil'
215
+ end
216
+
217
+ @revoked = revoked
218
+ end
219
+
220
+ # Checks equality by comparing each attribute.
221
+ # @param [Object] Object to be compared
222
+ def ==(o)
223
+ return true if self.equal?(o)
224
+ self.class == o.class &&
225
+ id == o.id &&
226
+ name == o.name &&
227
+ token_prefix == o.token_prefix &&
228
+ created_at == o.created_at &&
229
+ expires_at == o.expires_at &&
230
+ last_used_at == o.last_used_at &&
231
+ revoked == o.revoked
232
+ end
233
+
234
+ # @see the `==` method
235
+ # @param [Object] Object to be compared
236
+ def eql?(o)
237
+ self == o
238
+ end
239
+
240
+ # Calculates hash code according to all attributes.
241
+ # @return [Integer] Hash code
242
+ def hash
243
+ [id, name, token_prefix, created_at, expires_at, last_used_at, revoked].hash
244
+ end
245
+
246
+ # Builds the object from hash
247
+ # @param [Hash] attributes Model attributes in the form of hash
248
+ # @return [Object] Returns the model itself
249
+ def self.build_from_hash(attributes)
250
+ return nil unless attributes.is_a?(Hash)
251
+ attributes = attributes.transform_keys(&:to_sym)
252
+ transformed_hash = {}
253
+ openapi_types.each_pair do |key, type|
254
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
255
+ transformed_hash["#{key}"] = nil
256
+ elsif type =~ /\AArray<(.*)>/i
257
+ # check to ensure the input is an array given that the attribute
258
+ # is documented as an array but the input is not
259
+ if attributes[attribute_map[key]].is_a?(Array)
260
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
261
+ end
262
+ elsif !attributes[attribute_map[key]].nil?
263
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
264
+ end
265
+ end
266
+ new(transformed_hash)
267
+ end
268
+
269
+ # Returns the object in the form of hash
270
+ # @return [Hash] Returns the object in the form of hash
271
+ def to_hash
272
+ hash = {}
273
+ self.class.attribute_map.each_pair do |attr, param|
274
+ value = self.send(attr)
275
+ if value.nil?
276
+ is_nullable = self.class.openapi_nullable.include?(attr)
277
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
278
+ end
279
+
280
+ hash[param] = _to_hash(value)
281
+ end
282
+ hash
283
+ end
284
+
285
+ end
286
+
287
+ end
@@ -15,6 +15,7 @@ require 'time'
15
15
 
16
16
  module Pingram
17
17
  class MemberUpdateRequest < ApiModelBase
18
+ # Account role ('owner' or 'admin'), or a Bluedrop Cognito group role.
18
19
  attr_accessor :role
19
20
 
20
21
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,9 +33,6 @@ module Pingram
33
33
  # Key-value pairs for template merge tags. Replaces placeholders like {{firstName}} in templates.
34
34
  attr_accessor :parameters
35
35
 
36
- # Optional sub-notification identifier for grouping or tracking.
37
- attr_accessor :secondary_id
38
-
39
36
  # Specific template ID to use. If omitted, uses the default template for each channel.
40
37
  attr_accessor :template_id
41
38
 
@@ -70,7 +67,6 @@ module Pingram
70
67
  :'to' => :'to',
71
68
  :'force_channels' => :'forceChannels',
72
69
  :'parameters' => :'parameters',
73
- :'secondary_id' => :'secondaryId',
74
70
  :'template_id' => :'templateId',
75
71
  :'sub_notification_id' => :'subNotificationId',
76
72
  :'options' => :'options',
@@ -105,7 +101,6 @@ module Pingram
105
101
  :'to' => :'SenderPostBodyTo',
106
102
  :'force_channels' => :'Array<ChannelsEnum>',
107
103
  :'parameters' => :'Hash<String, Object>',
108
- :'secondary_id' => :'String',
109
104
  :'template_id' => :'String',
110
105
  :'sub_notification_id' => :'String',
111
106
  :'options' => :'SenderPostBodyOptions',
@@ -174,10 +169,6 @@ module Pingram
174
169
  end
175
170
  end
176
171
 
177
- if attributes.key?(:'secondary_id')
178
- self.secondary_id = attributes[:'secondary_id']
179
- end
180
-
181
172
  if attributes.key?(:'template_id')
182
173
  self.template_id = attributes[:'template_id']
183
174
  end
@@ -250,7 +241,6 @@ module Pingram
250
241
  to == o.to &&
251
242
  force_channels == o.force_channels &&
252
243
  parameters == o.parameters &&
253
- secondary_id == o.secondary_id &&
254
244
  template_id == o.template_id &&
255
245
  sub_notification_id == o.sub_notification_id &&
256
246
  options == o.options &&
@@ -273,7 +263,7 @@ module Pingram
273
263
  # Calculates hash code according to all attributes.
274
264
  # @return [Integer] Hash code
275
265
  def hash
276
- [notification_id, user, merge_tags, type, to, force_channels, parameters, secondary_id, template_id, sub_notification_id, options, schedule, email, inapp, sms, call, web_push, mobile_push, slack].hash
266
+ [notification_id, user, merge_tags, type, to, force_channels, parameters, template_id, sub_notification_id, options, schedule, email, inapp, sms, call, web_push, mobile_push, slack].hash
277
267
  end
278
268
 
279
269
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- # System-access GET response; includes internal Telnyx provider IDs and admin-only fields.
17
+ # Admin GET response; includes carrier-assigned IDs and admin-only fields.
18
18
  class TenDlcBrandRegistrationDetails < ApiModelBase
19
19
  attr_accessor :account_id
20
20
 
@@ -67,9 +67,9 @@ module Pingram
67
67
  # Legacy only when businessType is Other.
68
68
  attr_accessor :entity_type
69
69
 
70
- attr_accessor :telnyx_profile_id
70
+ attr_accessor :profile_id
71
71
 
72
- attr_accessor :telnyx_brand_id
72
+ attr_accessor :brand_id
73
73
 
74
74
  class EnumAttributeValidator
75
75
  attr_reader :datatype
@@ -119,8 +119,8 @@ module Pingram
119
119
  :'updated_at' => :'updatedAt',
120
120
  :'vertical' => :'vertical',
121
121
  :'entity_type' => :'entityType',
122
- :'telnyx_profile_id' => :'telnyxProfileId',
123
- :'telnyx_brand_id' => :'telnyxBrandId'
122
+ :'profile_id' => :'profileId',
123
+ :'brand_id' => :'brandId'
124
124
  }
125
125
  end
126
126
 
@@ -160,8 +160,8 @@ module Pingram
160
160
  :'updated_at' => :'String',
161
161
  :'vertical' => :'String',
162
162
  :'entity_type' => :'String',
163
- :'telnyx_profile_id' => :'String',
164
- :'telnyx_brand_id' => :'String'
163
+ :'profile_id' => :'String',
164
+ :'brand_id' => :'String'
165
165
  }
166
166
  end
167
167
 
@@ -303,12 +303,12 @@ module Pingram
303
303
  self.entity_type = attributes[:'entity_type']
304
304
  end
305
305
 
306
- if attributes.key?(:'telnyx_profile_id')
307
- self.telnyx_profile_id = attributes[:'telnyx_profile_id']
306
+ if attributes.key?(:'profile_id')
307
+ self.profile_id = attributes[:'profile_id']
308
308
  end
309
309
 
310
- if attributes.key?(:'telnyx_brand_id')
311
- self.telnyx_brand_id = attributes[:'telnyx_brand_id']
310
+ if attributes.key?(:'brand_id')
311
+ self.brand_id = attributes[:'brand_id']
312
312
  end
313
313
  end
314
314
 
@@ -539,8 +539,8 @@ module Pingram
539
539
  updated_at == o.updated_at &&
540
540
  vertical == o.vertical &&
541
541
  entity_type == o.entity_type &&
542
- telnyx_profile_id == o.telnyx_profile_id &&
543
- telnyx_brand_id == o.telnyx_brand_id
542
+ profile_id == o.profile_id &&
543
+ brand_id == o.brand_id
544
544
  end
545
545
 
546
546
  # @see the `==` method
@@ -552,7 +552,7 @@ module Pingram
552
552
  # Calculates hash code according to all attributes.
553
553
  # @return [Integer] Hash code
554
554
  def hash
555
- [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, vertical, entity_type, telnyx_profile_id, telnyx_brand_id].hash
555
+ [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, vertical, entity_type, profile_id, brand_id].hash
556
556
  end
557
557
 
558
558
  # Builds the object from hash