def valid?
      return false if @id.nil?
      return false if @category_group_id.nil?
      return false if @name.nil?
      return false if @hidden.nil?
      return false if @note.nil?
      return false if @budgeted.nil?
      return false if @activity.nil?
      return false if @balance.nil?
      return false if @goal_type.nil?
      goal_type_validator = EnumAttributeValidator.new('String', ['TB', 'TBD', 'MF'])
      return false unless goal_type_validator.valid?(@goal_type)
      return false if @goal_creation_month.nil?
      return false if @goal_target.nil?
      return false if @goal_target_month.nil?
      return false if @goal_percentage_complete.nil?
      return false if @deleted.nil?
      true
    end
def valid?
      return false if @id.nil?
      return false if @category_group_id.nil?
      return false if @name.nil?
      return false if @hidden.nil?
      return false if @note.nil?
      return false if @budgeted.nil?
      return false if @activity.nil?
      return false if @balance.nil?
      return false if @goal_type.nil?
      goal_type_validator = EnumAttributeValidator.new('String', ['TB', 'TBD', 'MF'])
      return false unless goal_type_validator.valid?(@goal_type)
      return false if @goal_creation_month.nil?
      return false if @goal_target.nil?
      return false if @goal_target_month.nil?
      return false if @goal_percentage_complete.nil?
      return false if @deleted.nil?
      true
    end
Check to see if the all the properties in the model are valid
 @return true if the model is valid