lib/docusign_esign/models/group.rb in docusign_esign-3.14.0.rc1 vs lib/docusign_esign/models/group.rb in docusign_esign-3.14.0
- old
+ new
@@ -11,10 +11,13 @@
require 'date'
module DocuSign_eSign
class Group
+ #
+ attr_accessor :ds_group_id
+
attr_accessor :error_details
# The DocuSign group ID for the group.
attr_accessor :group_id
@@ -34,10 +37,11 @@
attr_accessor :users_count
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
+ :'ds_group_id' => :'dsGroupId',
:'error_details' => :'errorDetails',
:'group_id' => :'groupId',
:'group_name' => :'groupName',
:'group_type' => :'groupType',
:'permission_profile_id' => :'permissionProfileId',
@@ -47,10 +51,11 @@
end
# Attribute type mapping.
def self.swagger_types
{
+ :'ds_group_id' => :'String',
:'error_details' => :'ErrorDetails',
:'group_id' => :'String',
:'group_name' => :'String',
:'group_type' => :'String',
:'permission_profile_id' => :'String',
@@ -65,10 +70,14 @@
return unless attributes.is_a?(Hash)
# convert string to symbol for hash key
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
+ if attributes.has_key?(:'dsGroupId')
+ self.ds_group_id = attributes[:'dsGroupId']
+ end
+
if attributes.has_key?(:'errorDetails')
self.error_details = attributes[:'errorDetails']
end
if attributes.has_key?(:'groupId')
@@ -114,10 +123,11 @@
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
+ ds_group_id == o.ds_group_id &&
error_details == o.error_details &&
group_id == o.group_id &&
group_name == o.group_name &&
group_type == o.group_type &&
permission_profile_id == o.permission_profile_id &&
@@ -132,10 +142,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [error_details, group_id, group_name, group_type, permission_profile_id, users, users_count].hash
+ [ds_group_id, error_details, group_id, group_name, group_type, permission_profile_id, users, users_count].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself