Method: PureCloud::Trunk#hash

Defined in:
lib/purecloudclient_v2a/models/trunk.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



604
605
606
# File 'lib/purecloudclient_v2a/models/trunk.rb', line 604

def hash
  [id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, trunk_type, edge, trunk_base, trunk_metabase, edge_group, in_service, enabled, self_uri].hash
end