lib/purecloudplatformclientv2/models/edge.rb in purecloudplatformclientv2-14.0.0 vs lib/purecloudplatformclientv2/models/edge.rb in purecloudplatformclientv2-14.1.0

- old
+ new

@@ -100,10 +100,13 @@ attr_accessor :conversation_count # Edge HTTP proxy configuration for the WAN port. The field can be a hostname, FQDN, IPv4 or IPv6 address. If port is not included, port 80 is assumed. attr_accessor :proxy + # True if the offline edge configuration endpoint has been called for this edge. + attr_accessor :offline_config_called + # The name provided by the operating system of the Edge. attr_accessor :os_name # The URI for this object attr_accessor :self_uri @@ -186,10 +189,12 @@ :'conversation_count' => :'conversationCount', :'proxy' => :'proxy', + :'offline_config_called' => :'offlineConfigCalled', + :'os_name' => :'osName', :'self_uri' => :'selfUri' } @@ -273,10 +278,12 @@ :'conversation_count' => :'Integer', :'proxy' => :'String', + :'offline_config_called' => :'BOOLEAN', + :'os_name' => :'String', :'self_uri' => :'String' } @@ -633,10 +640,19 @@ end + if attributes.has_key?(:'offlineConfigCalled') + + + self.offline_config_called = attributes[:'offlineConfigCalled'] + + + end + + if attributes.has_key?(:'osName') self.os_name = attributes[:'osName'] @@ -856,10 +872,14 @@ + + + + end @@ -1104,10 +1124,15 @@ + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -1147,10 +1172,11 @@ managed == o.managed && edge_deployment_type == o.edge_deployment_type && call_draining_state == o.call_draining_state && conversation_count == o.conversation_count && proxy == o.proxy && + offline_config_called == o.offline_config_called && os_name == o.os_name && self_uri == o.self_uri end # @see the `==` method @@ -1160,10 +1186,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, interfaces, make, model, api_version, software_version, software_version_timestamp, software_version_platform, software_version_configuration, full_software_version, pairing_id, fingerprint, fingerprint_hint, current_version, staged_version, patch, status_code, edge_group, site, software_status, online_status, serial_number, physical_edge, managed, edge_deployment_type, call_draining_state, conversation_count, proxy, os_name, self_uri].hash + [id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, interfaces, make, model, api_version, software_version, software_version_timestamp, software_version_platform, software_version_configuration, full_software_version, pairing_id, fingerprint, fingerprint_hint, current_version, staged_version, patch, status_code, edge_group, site, software_status, online_status, serial_number, physical_edge, managed, edge_deployment_type, call_draining_state, conversation_count, proxy, offline_config_called, os_name, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)