lib/hubspot/codegen/crm/timeline/models/timeline_event.rb in hubspot-api-client-11.2.0 vs lib/hubspot/codegen/crm/timeline/models/timeline_event.rb in hubspot-api-client-12.0.0
- old
+ new
@@ -151,22 +151,17 @@
if @tokens.nil?
invalid_properties.push('invalid value for "tokens", tokens cannot be nil.')
end
- if @id.nil?
- invalid_properties.push('invalid value for "id", id cannot be nil.')
- end
-
invalid_properties
end
# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
return false if @event_template_id.nil?
return false if @tokens.nil?
- return false if @id.nil?
true
end
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared