lib/purecloud/models/domain_permission.rb in purecloud-0.27.0 vs lib/purecloud/models/domain_permission.rb in purecloud-0.28.0

- old
+ new

@@ -8,12 +8,10 @@ attr_accessor :action attr_accessor :label - attr_accessor :licenses - attr_accessor :allows_conditions # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -24,12 +22,10 @@ :'action' => :'action', :'label' => :'label', - :'licenses' => :'licenses', - :'allows_conditions' => :'allowsConditions' } end @@ -38,11 +34,10 @@ { :'domain' => :'String', :'entity_type' => :'String', :'action' => :'String', :'label' => :'String', - :'licenses' => :'Array<String>', :'allows_conditions' => :'BOOLEAN' } end @@ -67,16 +62,10 @@ if attributes[:'label'] self.label = attributes[:'label'] end - if attributes[:'licenses'] - if (value = attributes[:'licenses']).is_a?(Array) - self.licenses = value - end - end - if attributes[:'allowsConditions'] self.allows_conditions = attributes[:'allowsConditions'] else self.allows_conditions = false end @@ -89,21 +78,20 @@ self.class == o.class && domain == o.domain && entity_type == o.entity_type && action == o.action && label == o.label && - licenses == o.licenses && allows_conditions == o.allows_conditions end # @see the `==` method def eql?(o) self == o end # Calculate hash code according to all attributes. def hash - [domain, entity_type, action, label, licenses, allows_conditions].hash + [domain, entity_type, action, label, allows_conditions].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)