lib/purecloud/models/fax_send_request.rb in purecloud-0.46.1 vs lib/purecloud/models/fax_send_request.rb in purecloud-0.47.1

- old
+ new

@@ -36,10 +36,13 @@ attr_accessor :workspace # Data for coversheet generation. attr_accessor :cover_sheet + # Time zone offset minutes from GMT + attr_accessor :time_zone_offset_minutes + # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -57,10 +60,12 @@ :'workspace' => :'workspace', :'cover_sheet' => :'coverSheet', + :'time_zone_offset_minutes' => :'timeZoneOffsetMinutes', + :'self_uri' => :'selfUri' } end @@ -72,10 +77,11 @@ :'addresses' => :'Array<String>', :'document_id' => :'String', :'content_type' => :'String', :'workspace' => :'Workspace', :'cover_sheet' => :'CoverSheet', + :'time_zone_offset_minutes' => :'Integer', :'self_uri' => :'String' } end @@ -114,10 +120,14 @@ if attributes[:'coverSheet'] self.cover_sheet = attributes[:'coverSheet'] end + if attributes[:'timeZoneOffsetMinutes'] + self.time_zone_offset_minutes = attributes[:'timeZoneOffsetMinutes'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -140,20 +150,21 @@ addresses == o.addresses && document_id == o.document_id && content_type == o.content_type && workspace == o.workspace && cover_sheet == o.cover_sheet && + time_zone_offset_minutes == o.time_zone_offset_minutes && self_uri == o.self_uri end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [id, name, addresses, document_id, content_type, workspace, cover_sheet, self_uri].hash + [id, name, addresses, document_id, content_type, workspace, cover_sheet, time_zone_offset_minutes, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)