Skip to content

Commit 764af99

Browse files
committed
Travis update: Jul 2024 (Build 776)
[skip ci]
1 parent c1a35e4 commit 764af99

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

docs/DeliveryResult.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
| **err** | [**ErrorCodeOmnichannelMachine**](ErrorCodeOmnichannelMachine.md) | | [optional] |
1212
| **timestamp** | **Time** | When this status was received by Omnichannel API | [optional] |
1313
| **price_info** | [**PriceInfo**](PriceInfo.md) | | [optional] |
14+
| **sender** | **String** | the sender of the message | [optional] |
1415

1516
## Example
1617

@@ -24,7 +25,8 @@ instance = MessenteApi::DeliveryResult.new(
2425
error: null,
2526
err: null,
2627
timestamp: null,
27-
price_info: null
28+
price_info: null,
29+
sender: null
2830
)
2931
```
3032

lib/messente_api/models/delivery_result.rb

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class DeliveryResult
3333

3434
attr_accessor :price_info
3535

36+
# the sender of the message
37+
attr_accessor :sender
38+
3639
class EnumAttributeValidator
3740
attr_reader :datatype
3841
attr_reader :allowable_values
@@ -64,7 +67,8 @@ def self.attribute_map
6467
:'error' => :'error',
6568
:'err' => :'err',
6669
:'timestamp' => :'timestamp',
67-
:'price_info' => :'price_info'
70+
:'price_info' => :'price_info',
71+
:'sender' => :'sender'
6872
}
6973
end
7074

@@ -82,7 +86,8 @@ def self.openapi_types
8286
:'error' => :'String',
8387
:'err' => :'ErrorCodeOmnichannelMachine',
8488
:'timestamp' => :'Time',
85-
:'price_info' => :'PriceInfo'
89+
:'price_info' => :'PriceInfo',
90+
:'sender' => :'String'
8691
}
8792
end
8893

@@ -135,6 +140,10 @@ def initialize(attributes = {})
135140
if attributes.key?(:'price_info')
136141
self.price_info = attributes[:'price_info']
137142
end
143+
144+
if attributes.key?(:'sender')
145+
self.sender = attributes[:'sender']
146+
end
138147
end
139148

140149
# Show invalid properties with the reasons. Usually used together with valid?
@@ -163,7 +172,8 @@ def ==(o)
163172
error == o.error &&
164173
err == o.err &&
165174
timestamp == o.timestamp &&
166-
price_info == o.price_info
175+
price_info == o.price_info &&
176+
sender == o.sender
167177
end
168178

169179
# @see the `==` method
@@ -175,7 +185,7 @@ def eql?(o)
175185
# Calculates hash code according to all attributes.
176186
# @return [Integer] Hash code
177187
def hash
178-
[status, channel, message_id, error, err, timestamp, price_info].hash
188+
[status, channel, message_id, error, err, timestamp, price_info, sender].hash
179189
end
180190

181191
# Builds the object from hash

0 commit comments

Comments
 (0)